/* ============================================================
   Lokale Schriftarten (selbst gehostet, keine externen Aufrufe)
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Fahrschule J. Wagner – Stylesheet
   Farbwelt aus dem Logo: Petrol / Hellblau / Graublau
   ============================================================ */

:root {
  --ink:        #16263a;
  --ink-soft:   #3c4d61;
  --petrol:     #2c8a8f;
  --petrol-dark:#1f6b6f;
  --teal:       #56b6b8;
  --sky:        #9fbcd8;
  --steel:      #5d7798;
  --accent:      #5bc2c9; /* helles Logo-Cyan – nur für den primären CTA */
  --accent-deep: #3aa9b1; /* Hover */
  --cream:      #f4f8f9;
  --line:       #e2ebed;
  --white:      #ffffff;

  /* Textstufen */
  --ink-mute:   #5a6b7d;          /* Labels / Metatext */
  /* Dunkle Flächen */
  --ink-deep:   #0e1c2b;          /* tiefste dunkle Fläche (Footer / Button-Hover) */
  --on-dark:        rgba(255,255,255,.92);
  --on-dark-soft:   rgba(255,255,255,.78);
  --on-dark-mute:   rgba(255,255,255,.55);
  /* Funktionsfarben */
  --success:    #1c6b41; --success-bg: #e7f6ee; --success-line: #9bd9b6;
  --error:      #c0392b; --error-bg:   #fdecea; --error-line:   #f1b0a8;
  --star:       #e0a132;
  /* Layout / Abstände */
  --header-h:   104px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  /* Heading-Skala */
  --h2-size: clamp(2rem, 4.4vw, 2.9rem);

  --maxw: 1140px;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(22, 38, 58, .35);
  --shadow-sm: 0 8px 22px -12px rgba(22, 38, 58, .28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-head: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--ink); }
h2, h3 { line-height: 1.22; }
h3, h4 { font-family: var(--font-head); }
/* Große Aussagen: Poppins, kräftig und seriös */
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }

a { color: var(--petrol-dark); text-decoration: none; }
a:hover { color: var(--petrol); }
/* Telefonnummern nie umbrechen */
a[href^="tel:"] { white-space: nowrap; }

/* Sichtbare Tastatur-Fokus-Markierung (Accessibility) */
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .nlp :focus-visible, .contact-card :focus-visible { outline-color: #fff; }

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

img { display: block; max-width: 100%; }

/* ---------- Atmosphäre & Motiv ---------- */
/* Feines Filmkorn über der gesamten Seite */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal beim Scrollen (nur aktiv, wenn JS die Klasse setzt) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero-Einblendung beim Laden */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1, .hero p, .hero__actions { animation: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol-dark);
  margin-bottom: 16px;
}
/* Dreieck aus dem Logo als Marker */
.eyebrow::before {
  content: ""; width: 0; height: 0; flex: 0 0 auto;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 9px solid var(--teal);
}
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 { font-size: var(--h2-size); }
.section-head p { margin-top: 16px; font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s var(--ease-out), box-shadow .2s var(--ease-out), background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--primary { background: var(--accent); color: var(--ink); font-weight: 700; box-shadow: 0 12px 26px -12px rgba(91,194,201,.6); }
.btn--primary:hover { background: var(--accent-deep); color: var(--ink); box-shadow: 0 16px 32px -12px rgba(58,169,177,.65); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-deep); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.nav__logo img { height: 88px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink);
}
.nav__links a:hover { color: var(--petrol); }
.nav__links a.is-active { color: var(--petrol-dark); font-weight: 600; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s var(--ease-out), opacity .25s var(--ease-out); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: min(86vh, 720px);
  display: flex; align-items: center;
  background:
    radial-gradient(120% 80% at 12% 18%, rgba(86,182,184,.26), transparent 52%),
    linear-gradient(108deg, rgba(22,38,58,.88) 0%, rgba(22,38,58,.60) 46%, rgba(22,38,58,.38) 100%),
    linear-gradient(180deg, rgba(22,38,58,.18), rgba(22,38,58,.52)),
    url("../img/team-gruppe-2.jpg") center 28% / cover no-repeat;
}
.hero h1 { animation: rise .85s .10s both cubic-bezier(.2,.7,.2,1); }
.hero p { animation: rise .85s .28s both cubic-bezier(.2,.7,.2,1); }
.hero__actions { animation: rise .85s .46s both cubic-bezier(.2,.7,.2,1); }
.hero__inner { max-width: 760px; padding-block: 80px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); color: #fff; letter-spacing: -.01em; }
.hero h1 span { color: var(--teal); }
.hero p { margin-top: 20px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 600px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Vertrauensleiste / Kennzahlen ---------- */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 36px 18px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px;
  background: rgba(255,255,255,.16);
}
.stat__num {
  position: relative; padding-top: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 2.9rem);
  color: var(--teal); line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat__pre {
  position: absolute; top: 0; left: 0; right: 0;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-mute);
}
.stat__label { margin-top: 10px; font-size: .95rem; color: var(--on-dark-soft); }

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(3)::after, .stat:nth-child(4)::after {
    content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: rgba(255,255,255,.16);
  }
}

/* ---------- Angebote / Klassen ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-6) var(--s-5); box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, background .18s ease;
}
.card:hover { border-color: var(--petrol); background: var(--cream); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--petrol)); color: #fff;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; }
.card .klasse { display: inline-block; margin-top: 4px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--petrol-dark); letter-spacing: .08em; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split__body h2 { font-size: var(--h2-size); }
.split__body p { margin-top: 16px; color: var(--ink-soft); max-width: 62ch; }
.lead { font-size: 1.125rem; }

/* Liste mit Häkchen */
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Theorie-Infobox ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-box h3 { font-size: 1.05rem; color: var(--petrol-dark); margin-bottom: 8px; }
.info-box p { color: var(--ink-soft); font-size: 1rem; }
.info-box strong { color: var(--ink); }

/* ---------- NLP ---------- */
.nlp { background: linear-gradient(135deg, var(--ink), #1c3a44); color: #fff; }
.nlp .eyebrow { color: var(--teal); }
.nlp h2 { color: #fff; }
.nlp .split__body p { color: var(--on-dark-soft); }
.nlp .checklist li { color: var(--on-dark); }
.nlp .split__media img { box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .18s ease; }
.member:hover { border-color: var(--petrol); }
.member__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member__body { padding: 22px 24px 26px; }
.member__body h3 { font-size: 1.3rem; }
.member__role { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink-mute); letter-spacing: .08em; margin-top: 2px; }
.member__body p { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; }
.is-placeholder { color: #b06a00 !important; background: #fff6e6; border: 1px dashed #e3b15a; border-radius: 8px; padding: 2px 8px; font-size: .82rem; }

/* ---------- Galerie / Einblicke ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item {
  padding: 0; border: 0; background: var(--cream); cursor: pointer;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; display: block; position: relative;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out); }
.gallery__item::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px;
  border-radius: 50%; pointer-events: none;
  background: rgba(22,38,58,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img { transform: scale(1.07); }
  .gallery__item:hover::after { background-color: var(--petrol); }
}
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 15, 24, .94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(12px, 4vw, 44px);
}
.lightbox.is-open { display: flex; animation: lb-fade .25s var(--ease-out); }
.lightbox.is-open .lightbox__img { animation: lb-img .28s var(--ease-out); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-img { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__img {
  display: block; width: auto; height: auto;
  max-width: min(94vw, 1200px); max-height: 88vh;
  border-radius: 10px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
}
.lightbox__cap {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.9); font-size: .95rem; padding: 0 24px;
}
.lightbox__count {
  position: absolute; top: 24px; left: 24px;
  color: var(--on-dark-soft); font-family: var(--font-head); font-weight: 500;
  font-size: .9rem; letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
  .lightbox__btn { width: 44px; height: 44px; }
}

/* ---------- Kundenstimmen ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .quotes:not(.is-carousel) { grid-template-columns: 1fr; } }

/* Slider-Modus (per JS aktiviert) */
.quotes.is-carousel { display: block; overflow: hidden; gap: 0; }
.quotes-track { display: flex; transition: transform .55s var(--ease-in-out); will-change: transform; }
.quotes-slide { flex: 0 0 100%; display: grid; gap: 24px; align-items: stretch; }
.quotes-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.quotes-dots { display: flex; justify-content: center; gap: 10px; }
.quotes-dots button {
  position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: background .2s ease, transform .2s ease;
}
/* unsichtbare Klickfläche auf ~44px vergrößern */
.quotes-dots button::after { content: ""; position: absolute; inset: -17px; }
.quotes-dots button:hover { background: var(--sky); }
.quotes-dots button[aria-current="true"] { background: var(--petrol); transform: scale(1.3); }
.quotes-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--petrol-dark); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s ease, color .2s ease;
}
.quotes-toggle:hover { border-color: var(--petrol); color: var(--petrol); }
.quotes-toggle svg { width: 16px; height: 16px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--star); }
.quote__stars svg { width: 16px; height: 16px; }
.quote__text { font-size: 1.05rem; color: var(--ink); line-height: 1.6; flex: 1; max-width: 60ch; }
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.quote__person { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.quote__meta { font-size: .9rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; gap: 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: 1.075rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b6f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--petrol-dark); }
.faq-answer { padding: 0 24px 22px; color: var(--ink-soft); max-width: 68ch; }
.faq-answer a { font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 8px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--cream); color: var(--petrol); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.contact-list a, .contact-list span.val { color: var(--ink); font-size: 1.05rem; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: var(--s-6); }
.contact-card h3 { color: #fff; font-size: 1.375rem; }
.contact-card p { margin-top: 12px; color: var(--on-dark-soft); }
.contact-card .btn { margin-top: var(--s-5); }
.contact-card .hours { margin-top: 22px; display: grid; gap: 8px; }
.contact-card .hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-card .hours span:last-child { color: var(--teal); font-weight: 600; }

.contact-aside { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Kontaktformular ---------- */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.375rem; margin-bottom: 6px; }
.contact-form .form-intro { color: var(--ink-soft); margin-bottom: 22px; font-size: 1rem; }
.form-row { margin-bottom: 18px; }
.field-error { color: var(--error); font-size: .85rem; margin-top: 6px; font-weight: 500; }
.contact-form label .opt { color: var(--ink-mute); font-weight: 400; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--error); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(44,138,143,.15);
}
.contact-form input:user-invalid,
.contact-form textarea:user-invalid { border-color: var(--error); }
.contact-form .has-error input,
.contact-form .has-error select,
.contact-form .has-error textarea { border-color: var(--error); }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-row input { width: auto; min-height: 0; margin-top: 4px; flex: 0 0 auto; }
.checkbox-row label { font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin: 0; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"] { margin-top: 8px; width: 100%; justify-content: center; }
.form-status { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 1rem; display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--success-bg); border: 1px solid var(--success-line); color: var(--success); }
.form-status--err { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error); }
@media (max-width: 860px) { .form-grid2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.7); padding: 54px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.site-footer img { height: 72px; }
.footer-links { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.8); font-family: var(--font-head); font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 56px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { margin: 0 0 10px 22px; }
.legal .back { display: inline-block; margin-bottom: 28px; font-family: var(--font-head); font-weight: 600; }
.legal__wrap { max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 22px 26px; gap: 6px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
  }
  .nav__links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .nav__cta a { border-bottom: 0; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__cta { margin: 10px 0 0; }
  .nav__toggle { display: block; }
}

@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
