:root {
    --accent: #ff7a00;   /* passend zu PED/Orange */
    --dark: #111827;
    --gray: #4b5563;
    --light-bg: #f3f4f6;
    --border: #e5e7eb;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark);
    background: #ffffff;
    line-height: 1.6;
    padding-bottom: 70px; /* Platz für fixen Footer */
}

/* Header / Hero */
header {
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at top left, #fff7ed, #ffffff);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 42px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.brand-domain {
    font-size: 0.8rem;
    color: var(--gray);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 3.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 122, 0, 0.05);
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.hero-badge span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0 0 0.75rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--gray);
    background: #ffffffaa;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    border-radius: 999px;
    border: 1px dashed var(--border);
    background: transparent;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--gray);
}

.hero-meta {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.hero-card {
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    background: #ffffffd9;
    padding: 1.4rem 1.4rem 1.2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    font-size: 0.9rem;
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}

.hero-card li {
    margin-bottom: 0.35rem;
}

.hero-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.4rem;
}

.hero-location {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Sections */
main {
    background: #ffffff;
}

section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

section h2 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

section p.section-subtitle {
    margin-top: 0;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    color: var(--gray);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
}

@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* exakt 4 Spalten */
    }
}

.card {
    border-radius: 1rem;
    border: 1px solid var(--border);
    padding: 1.25rem 1.3rem 1.3rem;
    background: var(--light-bg);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin: -1.25rem -1.3rem 0.9rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 122, 0, 0.08);
}

.card-icon {
    font-size: 1.3rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

/* leicht unterschiedliche Header-Töne */
.card-it .card-header {
    background: linear-gradient(90deg, rgba(255,122,0,0.1), rgba(255,122,0,0.03));
}

.card-cloud .card-header {
    background: linear-gradient(90deg, rgba(96,165,250,0.18), rgba(255,255,255,0.3));
}

.card-auto .card-header {
    background: linear-gradient(90deg, rgba(52,211,153,0.18), rgba(255,255,255,0.3));
}

.card-3d .card-header {
    background: linear-gradient(90deg, rgba(248,113,113,0.18), rgba(255,255,255,0.3));
}

.card p {
    margin: 0.2rem 0 0.6rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
}

.card ul li {
    margin-bottom: 0.25rem;
}

.card ul li::before {
    content: "›";
    color: var(--accent);
    margin-right: 0.3rem;
}

/* About + USP */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.list-check {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list-check li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.list-check li::before {
    content: "✔";
    color: var(--accent);
    margin-right: 0.35rem;
}

.muted {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.contact-label {
    font-weight: 600;
}

/* Links allgemein */
a {
    color: var(--accent);
}


/* Fixer heller Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f3f4f6;          /* hellgrau */
    border-top: 3px solid #000000;;
    padding: 0.6rem 1.2rem;
    z-index: 999;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray);           /* dunkles Grau für Text */
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo {
    height: 24px;
    width: auto;
    border-radius: 4px;
}

.footer-nav {
    display: flex;
    gap: 1rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--accent);         /* dein Orange als Akzent */
    font-weight: 500;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}





/* Back-to-top Button */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 4.5rem; /* etwas über dem Footer */
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: #f97316;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.back-to-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-card {
        order: -1;
    }
    .nav-links {
        display: none;
    }
    .two-col,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}


/* Sprachumschalter */
/* Sprachumschalter mit Flaggen */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.lang-switch a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-switch a span.flag {
    font-size: 1rem; /* Flagge etwas größer */
}

.lang-switch a.active {
    color: var(--accent);
}

.lang-switch span.sep {
    color: var(--border);
    padding: 0 0.1rem;
}
