/* =====================================================================
   GÖRTZ AUTOMATION – DESIGN-SYSTEM "TECH"
   =====================================================================
   Zwei Farbschemata: Dark Tech (Standard) und Light Tech (umschaltbar
   über den Mond-Knopf, Logik in assets/js/main.js).
   Schriften liegen lokal in assets/fonts/ (OFL-Lizenz) – keine externen Anfragen.

   INHALT
     1.  Schriften
     2.  Farben & Grundwerte (Variablen)  – Dark und Light
     3.  Grundlagen (Seite, Links, Bilder, Container)
     4.  Typografie (Überschriften, Label "eyebrow", Fließtext)
     5.  Buttons
     6.  Kopfzeile & Navigation
     7.  Mobiles Menü
     8.  Titelbereich (Hero) und Kurzprofil-Kasten
     9.  Laufband (Ticker)
    10.  Abschnitte & Abschnitts-Überschriften
    11.  Bausteine für Inhalte
           11.1 Karten (Leistungen)          11.6 Häkchen-Listen
           11.2 Bildkacheln (Arbeitsgebiete) 11.7 Feature-Raster & Vorteile
           11.3 Ablauf in Schritten          11.8 Kundengruppen-Blöcke
           11.4 Kundengruppen-Kacheln        11.9 Über mich (Foto, Zitat, Chips)
           11.5 Bild + Text nebeneinander   11.10 Aufklappbare Bereiche (FAQ)
    12.  Kontakt & Formulare
    13.  Rechtstexte & Link-Kacheln
    14.  Abschluss-Band (Terminbuchung)
    15.  Footer & WhatsApp-Knopf
    16.  Einblende-Effekt beim Scrollen
    17.  Handy & Tablet (Bildschirmbreiten)
    18.  Weniger Bewegung (Systemeinstellung)

   FARBEN ÄNDERN: nur in Abschnitt 2 – alle Bausteine nutzen die Variablen.
   ===================================================================== */


/* =====================================================================
   1. SCHRIFTEN
   Variable Schriften: eine Datei enthält alle Stärken (dünn bis fett).
   ===================================================================== */
@font-face { font-family: "Inter";          src: url("../fonts/inter-var.woff2") format("woff2");          font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk";  src: url("../fonts/space-grotesk-var.woff2") format("woff2");  font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }


/* =====================================================================
   2. FARBEN & GRUNDWERTE
   ===================================================================== */

/* --- Dark Tech (Standard) --- */
:root {
    color-scheme: dark;
    --bg: #070b14;                          /* Seitenhintergrund */
    --surface: #0d1422;                     /* Karten, Kästen */
    --surface-2: #121b2e;                   /* Hover-Fläche, Verläufe */
    --text: #e9eef6;                        /* Haupttext */
    --muted: #8e9ab0;                       /* Nebentext */
    --line: rgba(255, 255, 255, .08);       /* feine Linien, Rahmen */
    --line-strong: rgba(255, 255, 255, .22);
    --accent: #ff4d0d;                      /* Markenfarbe Orange */
    --accent-hover: #ff6a33;
    --accent-soft: rgba(255, 77, 13, .14);  /* zarter Orange-Hintergrund */
    --header-bg: rgba(7, 11, 20, .72);      /* Kopfzeile, durchscheinend */
    --glow: rgba(255, 77, 13, .20);         /* Lichtschein im Titelbild */
    --hero-overlay: linear-gradient(90deg, rgba(7, 11, 20, .96) 0%, rgba(7, 11, 20, .80) 45%, rgba(7, 11, 20, .30) 100%);
    --shadow: 0 30px 80px rgba(0, 0, 0, .45);
    --logo-filter: invert(1);               /* schwarzes Logo auf dunklem Grund weiß darstellen */
    --ok: #2fd47a;                          /* Erfolgsmeldung */
    --error: #ff6b6b;                       /* Fehlermeldung */

    --radius: 14px;                         /* Eckenrundung */
    --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --container: 1240px;                    /* maximale Inhaltsbreite */
    --header-h: 76px;                       /* Höhe der Kopfzeile */
}

/* --- Light Tech (vom Besucher wählbar) --- */
[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f6fa;
    --surface: #ffffff;
    --surface-2: #eef1f6;
    --text: #0b1220;
    --muted: #556075;
    --line: rgba(11, 18, 32, .09);
    --line-strong: rgba(11, 18, 32, .22);
    --accent: #f24400;
    --accent-hover: #d93d00;
    --accent-soft: rgba(242, 68, 0, .09);
    --header-bg: rgba(244, 246, 250, .80);
    --glow: rgba(242, 68, 0, .10);
    --hero-overlay: linear-gradient(90deg, rgba(244, 246, 250, .97) 0%, rgba(244, 246, 250, .86) 45%, rgba(244, 246, 250, .25) 100%);
    --shadow: 0 24px 60px rgba(11, 18, 32, .12);
    --logo-filter: none;
    --ok: #17924f;
    --error: #d03030;
}


/* =====================================================================
   3. GRUNDLAGEN
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);   /* Sprungziele nicht unter der Kopfzeile verstecken */
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color .35s ease, color .35s ease;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, ul { margin: 0; }
main, section, footer { position: relative; z-index: 1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Zentrierter Inhaltsbereich mit Rand links/rechts */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }

/* "Zum Inhalt springen" – nur bei Tastaturbedienung sichtbar */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }


/* =====================================================================
   4. TYPOGRAFIE
   ===================================================================== */
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

/* Kleines Label über Überschriften, z. B. "● LEISTUNGEN" */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }

.muted  { color: var(--muted); }                          /* Nebentext in Grau */
.accent { color: var(--accent); }                         /* Wort in Orange hervorheben */
.lead   { font-size: 1.18rem; color: var(--muted); max-width: 640px; }   /* Einleitungstext */


/* =====================================================================
   5. BUTTONS
   Verwendung: <a class="btn btn-primary" href="…">Text <span class="arrow">→</span></a>
   ===================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: var(--radius);
    font: 600 .98rem/1.2 var(--font-body); letter-spacing: .01em;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--accent); }   /* orange, Hauptaktion */
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }           /* nur Rahmen, Nebenaktion */
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }                    /* z. B. Termin vor Zustimmung */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }                                                 /* mehrere Buttons nebeneinander */


/* =====================================================================
   6. KOPFZEILE & NAVIGATION  (HTML in inc/kopf.php)
   ===================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line);
    transition: background-color .35s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }   /* Schatten, sobald gescrollt wird */
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo mit Schriftzug */
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: 1rem; line-height: 1.2; }
.brand img { width: 34px; height: 34px; filter: var(--logo-filter); }
.brand small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .6rem; letter-spacing: .2em; color: var(--muted); }

/* Menüpunkte mit orangem Unterstrich bei Hover und auf der aktuellen Seite */
.nav-links { display: flex; gap: 32px; font-size: .94rem; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Rechte Seite: Sprache, Hell/Dunkel, Termin-Button, Menü-Knopf */
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 18px; font-size: .9rem; }
.lang { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); padding: 6px 4px; }
.lang:hover { color: var(--text); }
.lang b { color: var(--text); font-weight: 400; }

/* Quadratische Symbol-Knöpfe (Hell/Dunkel, Menü) */
.icon-btn {
    width: 42px; height: 42px; display: inline-grid; place-items: center;
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
/* Mond im Dark-Modus, Sonne im Light-Modus */
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.burger { display: none; }   /* erst auf Handy/Tablet sichtbar (Abschnitt 17) */


/* =====================================================================
   7. MOBILES MENÜ  (Vollbild-Menü unter der Kopfzeile)
   ===================================================================== */
.mobile-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49;
    background: var(--bg); padding: 28px 24px 40px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { margin-top: 28px; width: 100%; font-family: var(--font-body); font-size: 1rem; border-bottom: 0; }


/* =====================================================================
   8. TITELBEREICH (HERO)
   Varianten: .hero-home (Startseite, volle Höhe), .hero-sub (Unterseiten),
              .hero-legal (Rechtsseiten, niedrig)
   Aufbau:    <section class="hero hero-sub"> <div class="hero-media"><img></div> <div class="container">…</div> </section>
   ===================================================================== */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 90px; }
.hero-home  { min-height: 100vh; min-height: 100svh; }
.hero-sub   { min-height: 62vh; padding-bottom: 70px; }
.hero-legal { min-height: 42vh; padding-bottom: 50px; }

/* Hintergrundbild mit Farbverlauf darüber, damit der Text lesbar bleibt */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
/* orangefarbener Lichtschein links */
.hero-media::before {
    content: ""; position: absolute; width: 760px; height: 760px; left: -220px; top: 5%; z-index: 1;
    background: radial-gradient(circle, var(--glow), transparent 65%);
}

.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin: 22px 0 26px; }
.hero-sub h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.hero .lead { margin-bottom: 38px; }

/* Kurzprofil-Kasten rechts im Titelbild der Startseite */
.hero-panel {
    justify-self: end; width: 100%; max-width: 360px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
    padding: 18px 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}
.panel-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.panel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-row span { color: var(--muted); font-size: .82rem; }
.panel-row strong { font-family: var(--font-head); font-size: 1rem; font-weight: 600; text-align: right; }


/* =====================================================================
   9. LAUFBAND (TICKER) – Stichworte laufen endlos durch
   Der Inhalt steht im HTML zweimal hintereinander, damit die Schleife nahtlos ist.
   ===================================================================== */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 20px 0; position: relative; z-index: 1; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 36s linear infinite; font-family: var(--font-mono); font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker-track span::before { content: "◆"; color: var(--accent); margin-right: 56px; font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }


/* =====================================================================
   10. ABSCHNITTE
   <section class="section">          normaler Abstand oben/unten
   <section class="section tight">    ohne Abstand oben (folgt direkt auf vorherigen Abschnitt)
   .section-head        Überschrift links, Einleitung rechts
   .section-head.center Überschrift zentriert
   ===================================================================== */
.section { padding: 120px 0; }
.section.tight { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.section-head h2 { margin-top: 16px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }


/* =====================================================================
   11. BAUSTEINE FÜR INHALTE
   ===================================================================== */

/* --- 11.1 Karten mit Bild (Leistungen auf der Startseite) --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 8px; }   /* "Mehr erfahren →" */
/* Kleines Etikett auf Bildern, z. B. "01" */
.tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: .76rem; background: var(--bg); color: var(--text); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); }

/* --- 11.2 Bildkacheln mit Text (Arbeitsgebiete) --- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 8, 16, .88) 0%, rgba(5, 8, 16, .1) 60%); }
.tile:hover img { transform: scale(1.06); }
.tile-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; }
.tile-text span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
.tile-text h3 { margin-top: 6px; }

/* --- 11.3 Ablauf in 5 Schritten (Vorgehen) --- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step { padding: 32px 24px; border-right: 1px solid var(--line); position: relative; transition: background-color .3s; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--surface-2); }
.step-no { font-family: var(--font-mono); color: var(--accent); font-size: .8rem; letter-spacing: .1em; }
.step h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .5s ease; }   /* orange Linie bei Hover */
.step:hover::before { width: 100%; }

/* --- 11.4 Kundengruppen-Kacheln mit Symbol (Startseite) --- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group {
    display: flex; flex-direction: column;
    padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
    transition: transform .4s ease, border-color .3s;
}
.group:hover { transform: translateY(-6px); border-color: var(--accent); }
.group svg { width: 44px; height: 44px; stroke: var(--accent); margin-bottom: 24px; }
.group h3 { margin-bottom: 10px; }
.group p { color: var(--muted); font-size: .97rem; margin-bottom: 20px; }
.group ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .92rem; margin-bottom: 24px; }
.group li::before { content: "→ "; color: var(--accent); }
.group .card-link { margin-top: auto; }

/* --- 11.5 Bild + Text nebeneinander (Leistungen); .reverse = Bild rechts --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); }
.split-media .tag { top: 20px; left: 20px; }
.split h2 { margin: 16px 0 22px; }
.split p + p { margin-top: 16px; }

/* --- 11.6 Listen mit Häkchen (.checks) oder Kreuz (.checks.x) --- */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 26px 0 34px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 6px; align-items: start; }
.checks li::before {
    content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px;
    border-radius: 6px; background: var(--accent-soft); color: var(--accent);
    font-size: .78rem; font-weight: 700; line-height: 1;
}
.checks.x li::before { content: "✕"; }
.checks strong { color: var(--text); }
.checks span { color: var(--muted); }

/* --- 11.7 Feature-Raster (Leistungen im Detail) und Vorteile --- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 30px 0; }
.feature { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.feature h4 { margin-bottom: 8px; }
.feature h4::before { content: "▸ "; color: var(--accent); }
.feature p { color: var(--muted); font-size: .94rem; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 26px; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.benefit h4 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .94rem; }

/* --- 11.8 Kundengruppen-Blöcke (Seite Kundengruppen) --- */
.audience { padding: 56px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface); }
.audience + .audience { margin-top: 32px; }
.audience-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-bottom: 10px; }
.audience-head h2 { margin-top: 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.audience-sub { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 36px 0 4px; }   /* Zwischenüberschrift */
.audience .btn { margin-top: 34px; }

/* --- 11.9 Über mich: Foto mit Rahmen und Erfahrungs-Plakette, Zitat, Stichwort-Chips --- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { position: relative; max-width: 460px; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; }   /* versetzter orangefarbener Rahmen */
.badge { position: absolute; right: -24px; bottom: 40px; background: var(--accent); color: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.badge span { font-size: .85rem; opacity: .92; }
blockquote { margin: 28px 0; padding-left: 24px; border-left: 3px solid var(--accent); font-family: var(--font-head); font-size: 1.4rem; line-height: 1.4; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 15px; font-size: .88rem; color: var(--muted); }

/* --- 11.10 Aufklappbare Bereiche (FAQ, Werdegang) – ohne JavaScript, mit <details> --- */
.accordion { display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.accordion details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s; }
.accordion details[open] { border-color: var(--line-strong); }
.accordion summary {
    list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent); transition: transform .3s ease; flex: none; }   /* "+" dreht sich zu "×" */
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding: 0 28px 26px; color: var(--muted); }
.accordion .answer h4 { color: var(--text); margin-bottom: 10px; }
.accordion .answer p + p { margin-top: 14px; }


/* =====================================================================
   12. KONTAKT & FORMULARE
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }

/* Kontaktdaten-Kärtchen mit Symbol (Telefon, E-Mail, Adresse) */
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s; }
a.info-card:hover { border-color: var(--accent); }
.info-card svg { width: 26px; height: 26px; stroke: var(--accent); flex: none; }
.info-card small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-card span { font-weight: 600; }

/* Großer Kasten (Terminbuchung, Formular) */
.panel { padding: 40px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface); box-shadow: var(--shadow); }
.panel h2 { font-size: 1.9rem; margin-bottom: 8px; }

/* Formularfelder: .field = Beschriftung + Eingabe; .full = über beide Spalten */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-strong);
    background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Zustimmungs-Checkbox mit Text */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Unsichtbares Fangfeld gegen Spam-Programme (nicht entfernen!) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Rückmeldungen nach dem Absenden */
.notice { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid; font-weight: 500; }
.notice.ok    { border-color: var(--ok);    color: var(--ok);    background: color-mix(in srgb, var(--ok) 10%, transparent); }
.notice.error { border-color: var(--error); color: var(--error); background: color-mix(in srgb, var(--error) 10%, transparent); }
.notice a { text-decoration: underline; }


/* =====================================================================
   13. RECHTSTEXTE & LINK-KACHELN
   ===================================================================== */
/* Langer Fließtext (Impressum, Datenschutz) */
.prose { max-width: 860px; margin-inline: auto; color: var(--muted); overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin: 2.2em 0 .7em; }
.prose h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
/* Trennlinie "— ENGLISH VERSION —" zwischen deutschem und englischem Teil */
.lang-divider { text-align: center; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 70px 0 40px; display: flex; align-items: center; gap: 18px; }
.lang-divider::before, .lang-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Große Link-Kacheln mit Pfeil (Pflichtangaben) */
.link-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.link-tile { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; transition: border-color .3s, transform .3s; }
.link-tile:hover { border-color: var(--accent); transform: translateY(-4px); }
.link-tile::after { content: "→"; color: var(--accent); }


/* =====================================================================
   14. ABSCHLUSS-BAND: TERMINBUCHUNG  (HTML in inc/fuss.php)
   Bleibt in beiden Farbschemata dunkel, weil es auf einem Bild liegt.
   ===================================================================== */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: 90px 70px; isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 8, 16, .95) 25%, rgba(5, 8, 16, .55)); z-index: -1; }
.cta h2 { color: #fff; max-width: 760px; margin-top: 16px; }
.cta p { color: rgba(255, 255, 255, .78); max-width: 580px; margin: 18px 0 30px; font-size: 1.1rem; }
.cta .consent { color: rgba(255, 255, 255, .78); margin-bottom: 24px; max-width: 580px; }
.cta .consent a { color: #fff; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn-ghost:hover { border-color: #fff; }


/* =====================================================================
   15. FOOTER & WHATSAPP-KNOPF  (HTML in inc/fuss.php)
   ===================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 36px; margin-top: 120px; background: var(--surface); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 400; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.foot a:hover { color: var(--accent); }
.foot-claim { margin-top: 18px; font-size: .95rem; max-width: 320px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom a:hover { color: var(--accent); }

/* Schwebender WhatsApp-Knopf – nur auf Handy/Tablet (Abschnitt 17) */
.whatsapp { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }


/* =====================================================================
   16. EINBLENDE-EFFEKT BEIM SCROLLEN
   Elemente mit class="reveal" erscheinen sanft, sobald sie sichtbar werden.
   Nur aktiv, wenn JavaScript läuft (Klasse "js" am <html>), sonst sofort sichtbar.
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }


/* =====================================================================
   17. HANDY & TABLET
   ===================================================================== */

/* --- Tablet und kleiner (bis 1080 px Breite) --- */
@media (max-width: 1080px) {
    /* Kopfzeile: Menü-Knopf statt Menüpunkte */
    .nav-links, .nav-right .btn, .nav-right .lang { display: none; }
    .burger { display: inline-grid; }

    /* Zweispaltiges wird einspaltig */
    .hero .container, .section-head, .about, .split, .contact-grid, .audience-head { grid-template-columns: 1fr; }
    .hero .container { align-items: start; gap: 40px; }
    .hero-panel { justify-self: start; }
    .split.reverse > :first-child { order: 0; }
    .split, .about { gap: 50px; }

    /* Raster werden schmaler */
    .cards, .groups, .benefits, .link-tiles { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr; }
    .step { border-right: 0; border-bottom: 1px solid var(--line); }
    .step:last-child { border-bottom: 0; }
    .foot { grid-template-columns: 1fr 1fr; }
    .section { padding: 90px 0; }

    /* WhatsApp-Knopf einblenden und im Footer Platz dafür lassen */
    .whatsapp { display: block; }
    .site-footer { padding-bottom: 100px; }
    .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Handy (bis 640 px Breite) --- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .brand small { display: none; }
    .hero-home { min-height: auto; }
    .tiles { grid-template-columns: 1fr; }
    .tile { aspect-ratio: 16 / 10; }
    .form { grid-template-columns: 1fr; }
    .panel, .audience { padding: 28px 22px; }
    .cta { padding: 56px 24px; }
    .badge { right: 12px; }
    .about-photo::before { inset: 12px -12px -12px 12px; }
    .foot { grid-template-columns: 1fr; }
    .accordion summary { padding: 20px; font-size: 1.05rem; }
    .accordion .answer { padding: 0 20px 22px; }
}


/* =====================================================================
   18. WENIGER BEWEGUNG
   Wer im Betriebssystem "Bewegung reduzieren" eingestellt hat,
   bekommt keine Animationen und kein Laufband.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
