/* =========================================================
   Fahrschule Paukner (Demo) — Frickingen am Bodensee
   Markenwelt: Navy (Leitfarbe) + Wiesengrün, Gelb/Orange als Akzente.
   Leitmotiv: "Die Route zum Führerschein" (gestrichelte Straßenlinie).
   Fonts lokal (DSGVO): Bricolage Grotesque (Display), Public Sans (Body)
   ========================================================= */

/* ---------- Fonts (lokal gehostet) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-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: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/publicsans-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: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/publicsans-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;
}

/* ---------- Palette + Tokens ---------- */
:root {
  /* Navy (Leitfarbe, aus dem Logo) */
  --navy:       #044D7E;
  --navy-700:   #063e64;
  --navy-900:   #042d49;   /* tiefes Navy, Flächen */
  --ink:        #0e2233;   /* fast schwarz, Navy-Tinte */
  --navy-100:   #d3e3ef;

  /* Wiesengrün (Sekundär) */
  --green:      #6f9a12;   /* abgedunkelt aus #8CBB19 fuer besseren Kontrast */
  --green-600:  #5d810f;
  --green-bright:#8CBB19;   /* original Logo-Gruen, nur als Flaeche/Icon */
  --green-soft: rgba(140, 187, 25, 0.12);

  /* Gelb (Highlight-Akzent, nie als Text auf Weiß) */
  --yellow:     #F7E741;
  --yellow-ink: #5a5302;   /* dunkles Gelb-Braun fuer Text auf Gelb */

  /* Orange (Akzent, sparsam) */
  --orange:     #D56138;
  --orange-600: #bb4f2a;

  /* Neutrale, warm */
  --bg:         #f7f6f2;   /* warmes Off-White */
  --bg-2:       #eef1f0;
  --surface:    #ffffff;
  --text:       #1A171C;   /* tiefes Anthrazit (Logo) */
  --muted:      #56616b;
  --hairline:   rgba(4, 77, 126, 0.16);
  --hairline-2: rgba(4, 77, 126, 0.08);

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.66;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  hyphens: manual;
}
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Marken-Emblem „P" ---------- */
.brand .mark { width: 44px; height: 44px; flex: none; }

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: var(--ink);
  color: #cfe0ee;
  font-size: 0.74rem;
  letter-spacing: 0.012em;
  text-align: center;
  padding: 0.55rem var(--pad);
  position: relative;
  z-index: 60;
}
.demo-bar strong { color: var(--yellow); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.2rem;
}
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 9px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--navy); background: rgba(4, 77, 126, 0.07); }
.nav-links a.active { color: var(--navy); }
.nav-cta {
  margin-left: 0.5rem;
  background: var(--green);
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.62rem 1.25rem !important;
  font-weight: 700 !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--green-600) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  background: transparent;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* Primärer CTA: Gelb-Highlight (Fahrschul-Welt), dunkler Text fuer Kontrast */
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 22px rgba(247,231,65,0.32); }
.btn-primary:hover { background: #ffee5a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(247,231,65,0.42); }
.btn-primary .pin {
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(14,34,51,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.btn-primary:hover .pin { transform: translateX(3px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(111,154,18,0.22); }
.btn-green:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-green .pin {
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.btn-green:hover .pin { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(4,77,126,0.05); }
.btn-outline-light { background: transparent; color: #eaf2f8; border-color: rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--navy);
}
.eyebrow .dot { width: 0.8em; height: 0.8em; flex: none; }
.eyebrow.on-dark { color: var(--yellow); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.15rem); margin-top: 0.9rem; }
.section-head p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; }
.tint { background: var(--bg-2); }

/* ---------- Leitmotiv: gestrichelte Route ---------- */
.route-rule {
  height: 3px;
  width: 100%;
  background-image: repeating-linear-gradient(to right,
    var(--yellow) 0 22px, transparent 22px 40px);
  border-radius: 3px;
  opacity: 0.9;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(115% 85% at 100% 0%, rgba(4,77,126,0.55), transparent 60%),
    radial-gradient(90% 80% at -5% 100%, rgba(140,187,25,0.18), transparent 55%),
    linear-gradient(155deg, var(--ink) 0%, var(--navy-900) 55%, var(--navy-700) 130%);
  color: #e8f0f7;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 58px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 80%, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 7rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.6vw, 4.7rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.0;
}
.hero h1 .accent { color: var(--yellow); }
.hero-lead {
  color: #c4d7e5;
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  margin-top: 1.5rem;
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem;
  margin-top: 2.8rem;
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust .item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-trust .k { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: 0.01em; }
.hero-trust .l { font-size: 0.82rem; color: #a6c1d4; letter-spacing: 0.02em; }

/* Hero-Karte: Emblem + Route-Grafik */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 26px;
  padding: 2.1rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
}
.hero-card .crest { width: 100%; height: auto; }
.hero-card .cap {
  margin-top: 1.5rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; color: #c4d7e5;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-card .cap b { color: #fff; font-weight: 600; }

/* ---------- Klassen-Band (Marquee-loses Trennband) ---------- */
.klassen-band { background: var(--surface); border-block: 1px solid var(--hairline-2); }
.klassen-band .wrap { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.klassen-chips {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.96rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(4,77,126,0.07); color: var(--navy);
}
.chip .tag {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.01em;
}
.chip.is-hot { background: var(--green-soft); color: var(--green-600); }

/* ---------- Schritte / Route zum Führerschein ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  position: relative;
}
.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hairline), 0 16px 36px rgba(14,34,51,0.10); }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  background: var(--navy); color: #fff;
  margin-bottom: 1.1rem;
}
.step:nth-child(2) .num { background: var(--green); }
.step:nth-child(3) .num { background: var(--orange); }
.step:nth-child(4) .num { background: var(--navy-900); }
.step:nth-child(4) .num::after {
  content: ""; position: absolute;
}
.step h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.96rem; }
.step .flag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  color: var(--yellow);
}

/* ---------- Karten-Grid (Klassen-Detail) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}
.k-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 1.9rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
  display: flex; flex-direction: column;
}
.k-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hairline), 0 16px 36px rgba(14,34,51,0.10); }
.k-card .badge {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.02em;
  padding: 0.35rem 0.8rem; border-radius: 10px;
  background: var(--navy); color: #fff;
  margin-bottom: 1rem;
}
.k-card.is-pkw .badge { background: var(--navy); }
.k-card.is-motorrad .badge { background: var(--orange); }
.k-card.is-sonstiges .badge { background: var(--green); }
.k-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.k-card p { color: var(--muted); font-size: 0.94rem; }
.k-card .meta {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.8rem; color: var(--navy); font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
}

/* ---------- Split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split.flip > :first-child { order: 2; }
.panel {
  background:
    radial-gradient(110% 110% at 0% 0%, rgba(4,77,126,0.55), transparent 60%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--ink) 100%);
  border-radius: 24px; padding: clamp(2rem, 4vw, 3rem);
  color: #e3eef6; position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -50px; bottom: -50px;
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,187,25,0.32), transparent 65%);
}
.panel .mark-lg { width: 86px; height: 86px; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.panel h3 { color: #fff; font-size: 1.55rem; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.panel p { color: #c4d7e5; position: relative; z-index: 1; }
.panel .quote {
  margin-top: 1.7rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.98rem; color: #a6c1d4; position: relative; z-index: 1;
}
.feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.95rem; }
.feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text); }
.feature-list .chk {
  width: 24px; height: 24px; flex: none; border-radius: 8px;
  background: var(--green-soft); color: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Highlight-Karten (Besonderheiten) ---------- */
.highlights {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.hl-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  position: relative;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.hl-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hairline), 0 16px 36px rgba(14,34,51,0.10); }
.hl-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(4,77,126,0.08); color: var(--navy);
  margin-bottom: 1.1rem;
}
.hl-card:nth-child(2) .ic { background: var(--green-soft); color: var(--green-600); }
.hl-card:nth-child(3) .ic { background: rgba(213,97,56,0.1); color: var(--orange); }
.hl-card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.hl-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(140,187,25,0.22), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, rgba(4,77,126,0.5), transparent 60%),
    linear-gradient(150deg, var(--ink), var(--navy-900));
  color: #e8f0f7; border-radius: 26px; overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.2rem);
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  align-items: center; justify-content: space-between;
  position: relative;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 22ch; }
.cta-band p { color: #c4d7e5; margin-top: 0.7rem; max-width: 46ch; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.info-list { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: rgba(4,77,126,0.08); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-list .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
.info-list a, .info-list span.val { font-weight: 500; color: var(--text); font-size: 1.02rem; }
.info-list a:hover { color: var(--navy); }

/* Theoriezeiten-Box */
.hours-box {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--hairline-2);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border-left: 3px solid var(--green);
}
.hours-box h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.hours-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px dashed var(--hairline);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { font-weight: 600; }
.hours-row .t { color: var(--muted); }
.hours-note { color: var(--muted); font-size: 0.88rem; margin-top: 1rem; }

/* Formular: Navy-Karte (kein weißer Standardkasten) */
.form-card {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--ink) 100%);
  border-radius: 22px;
  padding: clamp(1.7rem, 3.4vw, 2.7rem);
  color: #e3eef6;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background-image: repeating-linear-gradient(to right,
    var(--yellow) 0 18px, transparent 18px 34px);
}
.form-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.4rem; }
.form-card .hint { color: #aac6d6; font-size: 0.9rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #aac6d6; font-weight: 700; margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.82rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7e9dae; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255,255,255,0.11);
}
.field textarea { resize: vertical; min-height: 124px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.78rem; color: #87a4b4; margin-top: 1rem; line-height: 1.5; }

/* ---------- Map-Link ---------- */
.map-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem; color: var(--navy); font-weight: 700; font-size: 0.96rem;
  padding: 0.7rem 1.15rem; border: 1px solid var(--hairline); border-radius: 999px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.map-link:hover { border-color: var(--navy); background: rgba(4,77,126,0.05); }

/* ---------- Inhaltsseiten ---------- */
.page-hero {
  background:
    radial-gradient(90% 110% at 95% -20%, rgba(4,77,126,0.55), transparent 60%),
    radial-gradient(60% 80% at 0% 120%, rgba(140,187,25,0.16), transparent 55%),
    linear-gradient(155deg, var(--ink), var(--navy-900));
  color: #e8f0f7;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 60%, transparent);
  pointer-events: none;
}
.page-hero .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 20ch; }
.page-hero p { color: #c4d7e5; margin-top: 1.1rem; max-width: 56ch; font-size: 1.1rem; }
.breadcrumb { font-size: 0.82rem; color: #9bbace; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }

.prose { max-width: 720px; }
.prose p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.06rem; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }

.note-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  border-left: 3px solid var(--navy);
}
.note-box p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.note-box strong { color: var(--text); }
.note-box.warn { border-left-color: var(--orange); }

/* Preis-Hinweisleiste */
.price-disclaimer {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  font-size: 0.96rem;
  font-weight: 500;
}
.price-disclaimer .ic { flex: none; color: var(--ink); margin-top: 1px; }
.price-disclaimer strong { font-weight: 700; }

/* Preis-Tabellen / Karten */
.price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.6vw, 1.8rem);
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--hairline-2);
  overflow: hidden;
}
.price-card .head {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 1.3rem 1.6rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem;
}
.price-card.is-moto .head { background: linear-gradient(150deg, var(--orange) 0%, var(--orange-600) 100%); }
.price-card .head .t { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.price-card .head .s { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.price-card .body { padding: 0.4rem 1.6rem 1.4rem; }
.price-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--hairline-2);
}
.price-row:last-child { border-bottom: 0; }
.price-row .lab { color: var(--muted); font-size: 0.95rem; }
.price-row .val { font-weight: 700; white-space: nowrap; }
.price-row.total { margin-top: 0.3rem; }
.price-row.total .lab { color: var(--text); font-weight: 700; }
.price-row.total .val { color: var(--green-600); font-size: 1.05rem; }
.price-card .foot { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: 0.84rem; }

/* Ablauf-Liste (Anmelde-Unterlagen) */
.doc-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.doc-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text); }
.doc-list .chk {
  width: 24px; height: 24px; flex: none; border-radius: 8px;
  background: rgba(4,77,126,0.1); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.6vw, 1.8rem); }
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  display: flex; gap: 1.1rem; align-items: center;
}
.team-card .avatar {
  width: 60px; height: 60px; flex: none; border-radius: 50%;
  background: linear-gradient(150deg, var(--navy), var(--navy-900));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
}
.team-card:nth-child(2) .avatar { background: linear-gradient(150deg, var(--green), var(--green-600)); }
.team-card h3 { font-size: 1.18rem; }
.team-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }

/* Placeholder fuer eigene Fotos */
.photo-ph {
  background:
    repeating-linear-gradient(45deg, rgba(4,77,126,0.05) 0 14px, rgba(4,77,126,0.02) 14px 28px),
    var(--bg-2);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; color: var(--muted);
  padding: 1.5rem;
}
.photo-ph .ic { color: var(--navy); opacity: 0.7; }
.photo-ph .t { font-weight: 600; color: var(--text); }
.photo-ph .s { font-size: 0.85rem; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.42rem; margin-top: 2.6rem; margin-bottom: 0.7rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.4rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--navy); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.datenschutz-title { word-break: normal; }
.callout {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: 0 0 0 1px var(--hairline);
  border-left: 4px solid var(--orange);
  margin: 1.6rem 0;
}
.callout p { color: var(--text); margin-bottom: 0.5rem; }
.callout .tag {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700; color: var(--orange); margin-bottom: 0.6rem;
}
.placeholder-pill {
  display: inline-block;
  background: rgba(4,77,126,0.1);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aec6d6;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand .mark { width: 44px; height: 44px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #84b0c8; }
.footer-about { color: #8aa7b8; font-size: 0.95rem; max-width: 42ch; }
.footer-col h4 {
  font-family: var(--font-display); color: #fff; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a, .footer-col span { color: #aec6d6; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: 0.82rem; color: #7593a4;
}
.footer-bottom .legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Reveal-Animationen (CSS-only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: reveal 0.8s var(--ease) forwards;
    animation-delay: var(--d, 0s);
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}
@keyframes reveal { to { opacity: 1; transform: none; } }
.no-vt .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); animation: none; }
.no-vt .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Header darf keinen Containing-Block fuer das fixe Menue bilden */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(247, 246, 242, 0.98); }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    background: var(--bg);
    padding: 6rem 1.4rem 2rem;
    box-shadow: -20px 0 60px rgba(14,34,51,0.18);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--hairline);
    overflow-y: auto;
    z-index: 58;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 0.9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav-links a.active { background: rgba(4,77,126,0.06); }
  .nav-cta { margin: 0.6rem 0 0; text-align: center; justify-content: center; display: flex; }
  .nav-toggle { display: block; z-index: 59; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(14,34,51,0.45);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 40;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
}
