/* JA Airport Service, Website-Neubau, Stylesheet des Mocks
   Farbwelten über data-theme am html-Element: "marine" (Standard) und "graphit". */

@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonDisplay-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonDisplay-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonText-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonText-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonText-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/LibreCaslonText-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/LibreCaslonText-700-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/LibreCaslonText-700-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 100 900; font-display: swap; src: url("../fonts/PublicSans-variable-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, 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: 100 900; font-display: swap; src: url("../fonts/PublicSans-variable-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/PublicSans-variable-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/PublicSans-variable-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* ---------- Farbwelten ----------
   Standard "ja": Farbschema der bisherigen ja-airport.com (Wortmarke Orange, Grau, Weiß).
   Varianten "marine" und "graphit" über data-theme am html-Element. */
:root {
  --ink: #373737;          /* Dunkelgrau der bisherigen Fußzeile: Startbereich, Fuß, Referenzen */
  --ink-2: #474747;        /* oberes Fußband der bisherigen Seite */
  --paper: #ffffff;
  --paper-2: #f6f6f6;      /* Grauband der bisherigen Startseite */
  --text: #2b2b2b;
  --text-2: #5a5d5e;       /* Fließtextgrau der bisherigen Seite */
  --text-inv: #ffffff;
  --text-inv-2: #d6d6d6;
  --brand: #d55530;         /* Rot-Orange des Logo-Swooshs */
  --accent: #c84b27;       /* Logo-Rot-Orange, abgedunkelt für Schaltflächen mit weißer Schrift */
  --accent-line: #d55530;  /* Logo-Rot-Orange für Linien */
  --accent-ink: #ffffff;
  --rule: #e2e0e0;         /* Linienfarbe der bisherigen Seite */
  --rule-inv: #5a5a5a;
  --focus: #1d4ed8;
  --error: #9b1c1c;
  --ok: #1f6b3a;
  --overlay: 55, 55, 55;
  --serif: "Libre Caslon Text", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", Arial, sans-serif;
  --wordmark: "Public Sans", "Segoe UI", Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 76px;
  --bar-h: 64px;           /* mobile Aktionsleiste */
}
html[data-theme="marine"] {
  --ink: #0e1b33;
  --ink-2: #16264a;
  --paper-2: #f1f3f6;
  --text: #1a1d24;
  --text-2: #5b6270;
  --text-inv-2: #c3c9d4;
  --brand: #1a1d24;
  --accent: #7d6336;
  --accent-line: #9c7f4e;
  --rule: #d8dce3;
  --rule-inv: #2c3b5c;
  --overlay: 14, 27, 51;
}
html[data-theme="graphit"] {
  --ink: #1e2126;
  --ink-2: #2a2e35;
  --paper-2: #f3f3f1;
  --text: #17181a;
  --text-2: #5f6368;
  --text-inv-2: #c9cbcf;
  --brand: #17181a;
  --accent: #6e1e2b;
  --accent-line: #6e1e2b;
  --rule: #dadad6;
  --rule-inv: #3a3f47;
  --overlay: 30, 33, 38;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
body { overflow-wrap: break-word; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-ink :focus-visible, .hero :focus-visible { outline-color: #fff; }
.nowrap { white-space: nowrap; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.005em; color: inherit; }
h1 { font-family: var(--display); font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { padding-left: 1.2em; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text-2); max-width: 58ch; }
.muted { color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 4vw + 32px, 96px) 0; }
.section-tight { padding: clamp(40px, 3vw + 20px, 64px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 3vw, 48px); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { margin-bottom: 0; }
.bg-2 { background: var(--paper-2); }
.on-ink { background: var(--ink); color: var(--text-inv); }
.on-ink .muted { color: var(--text-inv-2); }
.on-ink a:hover { color: #fff; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: var(--text); color: var(--paper); }
.on-ink .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.on-ink .btn-ghost:hover, .hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
html[data-theme="graphit"] .hero .btn-primary, html[data-theme="graphit"] .on-ink .btn-primary { border-color: rgba(255, 255, 255, 0.45); }
.hero .btn-primary:hover, .on-ink .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; flex: none; text-decoration: none; color: var(--text); line-height: 1.1; }
.brand-logo { display: block; height: 40px; width: auto; }
.site-footer .brand-logo { height: 31px; margin-bottom: 12px; }
.brand-sub { font-family: var(--wordmark); font-size: 0.9rem; color: #3b3b3b; margin-top: 4px; white-space: nowrap; }
html[data-theme="marine"] .brand-sub, html[data-theme="graphit"] .brand-sub { font-family: var(--sans); font-size: 0.8rem; color: var(--text-2); margin-top: 4px; }
@media (max-width: 1120px) and (min-width: 921px) { .brand-sub { display: none; } .phone-link span { display: none; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.975rem; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent-line); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link { text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.phone-link svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; }
.lang-link { text-decoration: none; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 7px 10px; line-height: 1; }
.lang-link:hover, .lang-link:focus-visible { color: var(--text); border-color: var(--accent-line); }

@media (max-width: 920px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--rule); color: var(--text); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .header-actions .btn, .header-actions .phone-link { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ----------
   Standard "geteilt": Text links auf Marineblau, Wagen rechts unverdeckt.
   Variante "ueberlagert" (data-hero-layout): Text über dem Bild mit Verlauf. */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--ink); color: #fff; }
.hero > * { min-width: 0; }
.hero-body { order: 1; display: flex; align-items: center; padding: 48px 40px 48px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero-media { order: 2; position: relative; min-height: 420px; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-body h1 { max-width: 16ch; margin-bottom: 0.4em; text-wrap: balance; }
.hero-body .lead { color: var(--text-inv-2); max-width: 44ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-portrait, .hero-landscape { display: none; }
.hero-staatsbesuch { display: block; }
html[data-hero="intercont"] .hero-staatsbesuch { display: none; }
html[data-hero="intercont"] .hero-landscape { display: block; }
html[data-hero="flaggen"] .hero-staatsbesuch { display: none; }
html[data-hero="flaggen"] .hero-portrait { display: block; }
html[data-hero="flaggen"] .hero-media img { object-position: 50% 50%; }
html[data-hero="staatsbesuch"] .hero-media img { object-position: 0% 55%; }

html[data-hero-layout="ueberlagert"] .hero { display: block; position: relative; min-height: 0; }
html[data-hero-layout="ueberlagert"] .hero-media { min-height: 0; }
html[data-hero-layout="ueberlagert"] .hero-media picture { position: static; }
html[data-hero-layout="ueberlagert"] .hero-media img { position: static; height: min(78vh, 720px); }
html[data-hero-layout="ueberlagert"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--overlay), 0) 15%, rgba(var(--overlay), 0.6) 55%, rgba(var(--overlay), 0.94) 100%); }
html[data-hero-layout="ueberlagert"] .hero-body { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 0 0 clamp(32px, 5vw, 72px); }
html[data-hero-layout="ueberlagert"] .hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

@media (max-width: 760px) {
  .hero, html[data-hero-layout="ueberlagert"] .hero { display: block; min-height: 0; }
  .hero-media { min-height: 0; }
  .hero-media picture { position: static; }
  .hero-media img, html[data-hero-layout="ueberlagert"] .hero-media img { position: static; height: auto; aspect-ratio: 16 / 10; }
  html[data-hero="flaggen"] .hero-media img { aspect-ratio: 4 / 5; }
  html[data-hero-layout="ueberlagert"] .hero-media::after { display: none; }
  .hero-body, html[data-hero-layout="ueberlagert"] .hero-body { position: static; display: block; padding: 28px var(--gutter) 36px; }
  .hero-body .lead { margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Faktenleiste ---------- */
.facts { border-bottom: 1px solid var(--rule); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { min-width: 0; padding: 18px 20px 18px 0; font-size: 0.95rem; color: var(--text-2); border-left: 1px solid var(--rule); padding-left: 20px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-weight: 500; color: var(--text); }
@media (max-width: 920px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .facts ul { grid-template-columns: 1fr; } .facts li { border-left: 0; padding: 12px 0; border-top: 1px solid var(--rule); } .facts li:first-child { border-top: 0; } }

/* ---------- Fuhrpark (Startseite) ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); }
.fleet-item .spec { grid-template-columns: max-content minmax(0, 1fr); }
.fleet-item .spec dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1199px) { .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fleet-item { min-width: 0; }
.fleet-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.fleet-item h3 { margin: 18px 0 2px; font-size: 1.45rem; }
.fleet-class { color: var(--text-2); margin: 0 0 12px; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 0; font-size: 0.95rem; }
.spec dt { color: var(--text-2); }
.spec dd { margin: 0; font-variant-numeric: tabular-nums; }
.fleet-item .more { display: inline-block; margin-top: 14px; font-weight: 500; }
@media (max-width: 600px) { .fleet-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.services > * { min-width: 0; }
.services h3 { margin-bottom: 0.4em; }
.services p { margin-bottom: 0.6em; }
.services .more { font-weight: 500; }
@media (max-width: 920px) { .services { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Referenzen ---------- */
.references .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px var(--gutter); align-items: start; }
.references .wrap > * { min-width: 0; }
.references h2 { margin-bottom: 0.4em; }
.references ul { list-style: none; margin: 0; padding: 0; }
.references li { padding: 14px 0; border-top: 1px solid var(--rule-inv); }
.references li:last-child { border-bottom: 1px solid var(--rule-inv); }
.references li span { display: block; color: var(--text-inv-2); font-size: 0.95rem; }
@media (max-width: 920px) { .references .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Kontaktblock ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px var(--gutter); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-card { border: 1px solid var(--rule); padding: 28px; }
.contact-card h3 { margin-bottom: 0.5em; }
.contact-card dl { margin: 0 0 20px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.contact-card dt { color: var(--text-2); }
.contact-card dd { margin: 0; }
.contact-card .btn { margin-right: 10px; margin-bottom: 10px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-card .btn { width: 100%; margin-right: 0; } }

/* ---------- Fuß ---------- */
.site-footer { padding: 56px 0 calc(32px + var(--bar-h)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); }
.footer-grid > * { min-width: 0; }
.site-footer .footer-title { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; margin-bottom: 8px; color: var(--text-inv-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { text-decoration: none; display: inline-block; padding: 7px 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule-inv); font-size: 0.875rem; color: var(--text-inv-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (min-width: 921px) { .site-footer { padding-bottom: 32px; } }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar { display: none; }
@media (max-width: 920px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); }
  .action-bar .btn { min-height: 48px; }
  body { padding-bottom: var(--bar-h); }
  html { scroll-padding-bottom: calc(var(--bar-h) + 16px); }
}

/* ---------- Unterseiten: Seitenkopf ---------- */
.page-head { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Fuhrpark-Detail ---------- */
.vehicle { padding: clamp(48px, 5vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.vehicle:last-of-type { border-bottom: 0; }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--gutter); align-items: start; }
.vehicle-grid > * { min-width: 0; }
.vehicle-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vehicle-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.vehicle-gallery picture:first-child { grid-column: 1 / -1; }
.vehicle-gallery picture:nth-child(2):last-child { grid-column: 1 / -1; }
.vehicle h2 { margin-bottom: 0.2em; }
.vehicle .fleet-class { margin-bottom: 20px; }
.vehicle .spec { font-size: 1rem; gap: 8px 22px; margin-bottom: 22px; }
.vehicle .equip { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle .equip li { font-size: 0.9rem; padding: 6px 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
@media (max-width: 920px) { .vehicle-grid { grid-template-columns: 1fr; } }

/* ---------- Textseiten ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.two-col { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px var(--gutter); align-items: start; }
.two-col > * { min-width: 0; }
.two-col img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.two-col picture.wide img { aspect-ratio: 16 / 9; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px var(--gutter); }
.service-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); }
.service-cards article { min-width: 0; }
.service-cards h2 { font-size: 1.45rem; margin-bottom: 0.4em; }
.service-cards p { margin-bottom: 14px; }
.service-cards .more { font-weight: 500; }
@media (max-width: 920px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-cards { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }
.def-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.975rem; }
.def-table th, .def-table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; hyphens: auto; }
.def-table th { font-weight: 500; color: var(--text-2); width: 36%; }
@media (max-width: 560px) {
  .def-table tr, .def-table th, .def-table td { display: block; width: auto; }
  .def-table th { padding: 12px 0 0; border-bottom: 0; }
  .def-table td { padding: 2px 0 12px; }
}
figure { margin: 0; }
figcaption { font-size: 0.875rem; color: var(--text-2); margin-top: 10px; }
details.law { margin-top: 2em; border-top: 1px solid var(--rule); padding-top: 1em; }
details.law summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Formular ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px var(--gutter); align-items: start; }
.form-layout > * { min-width: 0; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--rule); padding: 24px; font-size: 0.95rem; }
.form-aside h2 { font-size: 1.2rem; margin-bottom: 0.5em; }
.form-aside p:last-child { margin-bottom: 0; }
.form-aside ol, .form-aside ul { padding-left: 1.2em; margin: 0 0 1em; }
.form-aside li { margin-bottom: 6px; }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.5rem; padding: 0; margin-bottom: 4px; }
.legend-note { color: var(--text-2); margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 16px; }
.field { grid-column: span 12; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field.c6 { grid-column: span 6; }
.field.c4 { grid-column: span 4; }
.field.c3 { grid-column: span 3; }
.field.c8 { grid-column: span 8; }
@media (max-width: 640px) { .field.c6, .field.c4, .field.c8 { grid-column: span 12; } .field.c3 { grid-column: span 6; } }
label, .label { font-weight: 500; font-size: 0.95rem; }
.hint { font-size: 0.875rem; color: var(--text-2); }
.req::after { content: " *" / ""; color: var(--accent); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid #767e8b; border-radius: var(--radius); padding: 11px 12px; min-height: 48px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235b6270' stroke-width='1.5' d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.error-msg { display: none; color: var(--error); font-size: 0.9rem; }
.field.is-invalid .error-msg { display: block; }
.choice-list { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.choice input { margin: 4px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.choice span small { display: block; color: var(--text-2); font-size: 0.875rem; }
@media (max-width: 640px) { .choice-list { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--ink); }
.toggle-block { margin-top: 18px; padding: 20px; border: 1px solid var(--rule); background: var(--paper-2); }
.toggle-block[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 0.9rem; color: var(--text-2); max-width: 60ch; }
.form-status { margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--error); color: var(--error); background: #fff5f5; }
.form-status[hidden] { display: none; }
.summary { border: 1px solid var(--rule); padding: 28px; }
.summary h2 { margin-bottom: 0.3em; }
.summary[hidden] { display: none; }
.summary table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.975rem; }
.summary th, .summary td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); }
.summary th { font-weight: 500; color: var(--text-2); width: 38%; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
