/* ═══════════════════════════════════════════════════════════════════
   fahrservice-rhein-neckar.de · site.css v2 — „Route & Festpreis“
   Generiert aus site/ — NICHT im Webroot editieren. Kanon: DESIGN-V2.md
   ═══════════════════════════════════════════════════════════════════ */

@layer tokens, base, components, sections, utilities;

@layer tokens {
:root {
  --paper: #f8f6f0;
  --surface: #ffffff;
  --sage: #eef1ea;
  --ink: #0e100f;
  --muted: #3d4a44;
  --line: #cdd4cc;
  --pine: #0b3d31;
  --pine-deep: #062e24;
  --pine-tint: #eaf0ea;
  --paper-on-deep: #f8f6f0;
  --wa: #128c4b;
  --err: #a6332d;
  --ok: #1e7a46;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --r-card: 14px;
  --r-btn: 10px;
  --r-chip: 100px;
  --r-panel: 18px;
  --ease: cubic-bezier(.25,.6,.3,1);
  --space-section: clamp(56px, 9vw, 104px);
  --fs-h1: clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 2.1rem);
  --fs-h3: 1.17rem;
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --wrap: 1100px;
}
}

@layer base {
  /* Fonts: self-hosted Variable-WOFF2 (DSGVO: keine Fremd-Hosts) */
  @font-face {
    font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-stretch: normal;
    font-display: swap; src: url("fonts/newsreader-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: "Newsreader"; font-style: normal; font-weight: 400 700;
    font-display: swap; src: url("fonts/newsreader-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: "Newsreader"; font-style: italic; font-weight: 400 700;
    font-display: swap; src: url("fonts/newsreader-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+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: "Newsreader"; font-style: italic; font-weight: 400 700;
    font-display: swap; src: url("fonts/newsreader-italic-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: "Instrument Sans"; font-style: normal; font-weight: 400 700;
    font-display: swap; src: url("fonts/instrument-sans-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: "Instrument Sans"; font-style: normal; font-weight: 400 700;
    font-display: swap; src: url("fonts/instrument-sans-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: "Instrument Sans"; font-style: italic; font-weight: 400 700;
    font-display: swap; src: url("fonts/instrument-sans-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    font-optical-sizing: auto;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    text-wrap: balance;
    margin: 0 0 .5em;
  }
  h1 { font-size: var(--fs-h1); letter-spacing: -.01em; }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: 600; }
  h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--pine); }
  p { margin: 0 0 1em; }
  a { color: var(--pine); text-underline-offset: 3px; }
  a:hover { color: var(--pine-deep); }
  img, svg { max-width: 100%; height: auto; vertical-align: middle; }
  strong { font-weight: 600; }
  :focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 2px; }
  ::selection { background: var(--pine-tint); color: var(--pine-deep); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }
}

@layer components {
  .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }

  /* ── Buttons ─────────────────────────────────────────── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 11px 22px;
    border-radius: var(--r-btn); border: 1px solid transparent;
    font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
    transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--pine); color: var(--paper-on-deep); }
  .btn-primary:hover { background: var(--pine-deep); color: var(--paper-on-deep); }
  .btn-secondary { background: transparent; color: var(--pine); border-color: color-mix(in srgb, var(--pine) 60%, var(--line)); }
  .btn-secondary:hover { border-color: var(--pine); background: var(--pine-tint); color: var(--pine-deep); }
  .btn-wa { background: var(--wa); color: #fff; }
  .btn-wa:hover { background: #0e7a3f; color: #fff; }
  .btn-lg { min-height: 52px; padding: 13px 28px; font-size: 1.05rem; }
  .btn-block { width: 100%; }

  /* ── Kicker & Section-Header ─────────────────────────── */
  .kicker {
    display: inline-block; margin-bottom: 14px;
    font: 500 .82rem var(--font-body); letter-spacing: .09em; text-transform: uppercase;
    color: var(--pine);
  }
  .sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
  .sec-head .lead, .lead { font-size: 1.13rem; color: var(--muted); }

  /* ── Navbar ──────────────────────────────────────────── */
  #navbar {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
  }
  #navbar.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); }
  .nav-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
  .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
  .brand svg { flex: 0 0 auto; }
  .brand-name { display: flex; flex-direction: column; line-height: 1.12; }
  .brand-name b { font: 600 1.14rem var(--font-display); letter-spacing: -.01em; }
  .brand-name span { font: 500 .68rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pine); }

  .nav-links { display: flex; align-items: center; gap: 4px; }
  .nav-link {
    padding: 9px 13px; border-radius: var(--r-btn);
    font: 500 .95rem var(--font-body); text-decoration: none; color: var(--ink);
  }
  .nav-link:hover { background: var(--pine-tint); color: var(--pine-deep); }
  .nav-link[aria-current="page"] { color: var(--pine); font-weight: 600; }
  .nav-cta { margin-left: 6px; }
  .nav-cta .btn { min-height: 40px; padding: 8px 16px; font-size: .93rem; }

  #nav-burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 10px;
    background: none; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer;
  }
  #nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
  #nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  #nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile-Menü */
  #mobile-menu {
    display: none; position: fixed; inset: 66px 0 0 0; z-index: 55;
    overflow-y: auto; background: var(--paper);
    padding: 10px clamp(18px, 4vw, 32px) 110px;
  }
  #mobile-menu.open { display: block; }
  .mm-link, .mm-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 15px 6px; border: 0; border-bottom: 1px solid var(--line); background: none;
    font: 500 1.05rem var(--font-body); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer;
  }
  .mm-toggle::after { content: "+"; font-size: 1.3rem; color: var(--pine); transition: transform .2s var(--ease); }
  .mm-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
  .mm-sub { display: none; padding: 4px 0 8px; }
  .mm-sub.open { display: block; }
  .mm-sub .mm-link { padding-left: 18px; font-weight: 400; border-bottom: 0; }
  .mm-actions { display: grid; gap: 10px; margin-top: 22px; }
  .mm-meta { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
  .mm-meta a { color: var(--muted); }

  /* ── Hero ────────────────────────────────────────────── */
  .hero { padding-block: clamp(40px, 7vw, 84px) var(--space-section); }
  .hero:has(.hero-center) { padding-block: clamp(14px, 2.2vw, 26px) var(--space-section); }
  .hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
  @media (min-width: 920px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
  .hero .lead { max-width: 34em; }
  .hero-sub {
    margin: 2px 0 14px;
    font: 500 clamp(1.15rem, 2vw, 1.35rem) var(--font-display); font-style: italic;
    color: var(--pine);
  }
  /* Home-Hero: zentrierte Einspalter-Bühne. Copy oben, Buchungs-Widget
     großflächig darunter (Konversionsfokus), Vertrauens-Copy darunter. */
  .hero .hero-grid { row-gap: 20px; }
  .hero .hero-center { grid-template-columns: minmax(0, 1fr); gap: 0; row-gap: 0; }
  @media (min-width: 920px) { .hero-center { grid-template-columns: minmax(0, 1fr); } }
  .hero-center > * { width: 100%; }
  .hero-center .hero-copy-top, .hero-center .hero-copy-more { text-align: center; }
  .hero-center .hero-copy-top h1 { max-width: 18ch; margin-inline: auto; }
  /* Copy kompakt halten — das Widget soll so früh wie möglich im Blickfeld sein */
  .hero-center .kicker { margin-bottom: 6px; }
  .hero-center .hero-copy-top h1 { margin-block: 0 4px; }
  .hero-center .hero-sub { margin-block: 0; }
  .hero-center > #booking-card { margin-top: clamp(18px, 2.2vw, 26px); }
  .hero-center .hero-copy-more { margin-top: clamp(24px, 3vw, 36px); }
  .hero-center .lead { max-width: 62ch; margin-inline: auto; }
  .hero-center .hero-ctas { justify-content: center; }
  .hero-center .hero-facts { justify-content: center; }
  /* Unterseiten-Hero mit Widget: Copy links, Buchung rechts im ersten Viewport.
     Gestauchtes Top-Padding wie bei .hero-center — sonst rutscht das Formular
     unter die Falz. Unter 920px stapelt hero-grid von selbst: H1 zuerst
     (bestätigt die Suchintention), Widget direkt darunter. */
  .hero:has(.hero-booking) { padding-block: clamp(20px, 3vw, 36px) var(--space-section); }
  @media (min-width: 920px) { .hero-booking { grid-template-columns: 6fr 5fr; } }
  .hero-booking .hero-copy { min-width: 0; }
  .hero-booking .lead { max-width: 32em; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; }
  .hero-facts li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
  .hero-facts li::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pine); flex: 0 0 auto;
  }

  /* Booking-Card: hellstes Element der Seite */
  .booking-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
    box-shadow: 0 18px 44px -22px rgba(20, 40, 34, .25);
    padding: clamp(16px, 2.4vw, 26px);
    container-type: inline-size;
    container-name: booking-card;
  }
  .booking-eyebrow { font: 600 .82rem var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--pine); margin-bottom: 10px; }
  #booking-root:empty { min-height: 380px; display: grid; place-items: center; }
  #booking-root:empty::after { content: "Buchung wird geladen …"; color: var(--muted); font-size: var(--fs-small); }

  .pay-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
  .pay-strip img { height: 20px; width: auto; opacity: .75; }
  .pay-strip span { font-size: .78rem; color: var(--muted); }

  /* ── Signatur: Festpreis-Tafel ───────────────────────── */
  .fare-board { border-top: 1px solid var(--ink); }
  .fare-row {
    display: flex; align-items: baseline; gap: 14px;
    padding: 16px 2px; border-bottom: 1px solid var(--line);
    text-decoration: none; color: var(--ink);
  }
  a.fare-row:hover { background: var(--pine-tint); color: var(--ink); }
  /* Prefill-Zeile: füllt das Widget derselben Seite. Der Hinweis erscheint erst
     bei Hover/Fokus, damit die Tafel im Ruhezustand ruhig bleibt. */
  .fare-row--book { position: relative; padding-right: 2px; }
  .fare-row--book .fare-price::after {
    content: " →"; color: var(--pine); opacity: 0;
    transition: opacity .18s var(--ease);
  }
  .fare-row--book:hover .fare-price::after, .fare-row--book:focus-visible .fare-price::after { opacity: 1; }
  .fare-route { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-weight: 500; }
  .fare-route .arrow { color: var(--pine); font-weight: 400; }
  .fare-meta { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
  .fare-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted color-mix(in srgb, var(--muted) 45%, transparent); transform: translateY(-4px); }
  .fare-price {
    font: 600 1.35rem var(--font-display); color: var(--pine-deep);
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .fare-note { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }

  /* ── Übergabe Buchungs-Widget → Seiteninhalt ─────────── */
  .bridge-note {
    max-width: var(--wrap); margin: 0 auto; padding: 22px 22px 0;
    display: flex; align-items: baseline; justify-content: center; gap: 10px;
    text-align: center; color: var(--muted); font-size: var(--fs-small);
  }
  .bridge-arrow { color: var(--pine); font-size: 1.05rem; line-height: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .bridge-arrow { animation: bridge-nudge 2.6s var(--ease) infinite; }
  }
  @keyframes bridge-nudge {
    0%, 72%, 100% { transform: translateY(0); }
    82% { transform: translateY(4px); }
  }

  /* ── Festpreis-Tafel mit Abfahrtsort-Reitern ─────────── */
  .fare-tabs-bar {
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 5px; margin-bottom: 22px;
    border: 1px solid var(--line); border-radius: var(--r-panel);
    background: var(--paper); width: fit-content; max-width: 100%;
  }
  .fare-tab {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    font: 600 .95rem var(--font-body); color: var(--muted);
    padding: 10px 20px; border-radius: calc(var(--r-panel) - 6px);
    transition: background .18s var(--ease), color .18s var(--ease);
  }
  .fare-tab:hover { color: var(--ink); background: var(--pine-tint); }
  .fare-tab[aria-selected="true"] { background: var(--pine); color: var(--paper-on-deep); }
  .fare-tab[aria-selected="true"]:hover { background: var(--pine-deep); color: var(--paper-on-deep); }

  .fare-panel {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel);
    padding: clamp(16px, 2.2vw, 26px);
    box-shadow: 0 20px 46px -34px rgba(20, 40, 34, .45);
  }
  .fare-panel-head { margin-bottom: 14px; }
  .fare-panel-title { font: 600 1.15rem var(--font-display); color: var(--ink); margin: 0; }
  .fare-panel-lead { margin: 4px 0 0; font-size: var(--fs-small); color: var(--muted); max-width: 62ch; }
  /* Panelwechsel: eine einzige gestaltete Bewegung auf dieser Seite */
  @media (prefers-reduced-motion: no-preference) {
    .fare-panel.is-entering { animation: fare-panel-in .34s var(--ease) both; }
  }
  @keyframes fare-panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }

  /* Tafel im Panel: Zeilen als eigene Flächen, Preis rechts als Anker */
  .fare-board--panel { border-top: 0; }
  .fare-board--panel .fare-row {
    padding: 15px 14px; border-bottom: 0; border-radius: 10px;
    background: var(--surface); margin-bottom: 8px;
    transition: box-shadow .18s var(--ease), transform .18s var(--ease);
  }
  .fare-board--panel .fare-row:last-child { margin-bottom: 0; }
  .fare-board--panel a.fare-row:hover {
    background: var(--surface);
    box-shadow: 0 10px 24px -16px rgba(6, 46, 36, .42);
    transform: translateX(2px);
  }
  .fare-board--panel .fare-price { font-size: 1.5rem; }
  .fare-badge {
    display: inline-block; font: 600 .72rem var(--font-body);
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--pine-deep); background: var(--pine-tint);
    border-radius: var(--r-chip); padding: 3px 9px; white-space: nowrap;
  }
  .fare-note--tabs { margin-top: 16px; }

  /* ── Tarif-Kacheln (Stadt- und Regionalfahrten) ──────── */
  .tariff-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
  .tariff-tile {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 22px 20px;
  }
  .tariff-tile-label {
    font: 600 .82rem var(--font-body); letter-spacing: .07em; text-transform: uppercase;
    color: var(--pine); margin-bottom: 12px;
  }
  .tariff-tile-value {
    font: 600 1.85rem var(--font-display); line-height: 1.1; color: var(--pine-deep);
    font-variant-numeric: tabular-nums;
  }
  .tariff-tile-value .op { color: var(--muted); font-weight: 400; margin-inline: 8px; }
  .tariff-tile-unit { font-size: var(--fs-small); color: var(--muted); margin-top: 6px; }
  .tariff-tile-note { margin: 14px 0 0; font-size: var(--fs-small); color: var(--muted); }

  .tariff-examples {
    display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    margin: 18px 0 0; padding: 16px 18px;
    background: var(--pine-tint); border-radius: var(--r-card);
  }
  .tariff-examples > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .tariff-examples dt { font-size: var(--fs-small); color: var(--muted); }
  .tariff-examples dd {
    margin: 0; font: 600 1.05rem var(--font-display); color: var(--pine-deep);
    font-variant-numeric: tabular-nums;
  }

  /* ── Festpreis-Karten (Home): Strecke + Dauer + Preis + Direkt-CTA ── */
  .fare-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
  .fare-card {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 22px 20px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  }
  .fare-card:hover { border-color: color-mix(in srgb, var(--pine) 38%, var(--line)); box-shadow: 0 14px 30px -18px rgba(6, 46, 36, .22); transform: translateY(-2px); }
  .fare-card-route { font: 600 1.05rem var(--font-body); color: var(--ink); }
  .fare-card-route .arrow { color: var(--pine); font-weight: 400; }
  /* Klarstellung, welcher Flughafen gemeint ist — sonst lesen sich FRA und HHN
     wie derselbe Ort zu zwei Preisen, und Baden-Airport wie Baden-Baden Stadt.
     Diese Zeile trägt die Unterscheidung und war als unauffälligste der Karte
     gesetzt; sie steht jetzt auf regulärer Textfarbe mit Tint-Hinterlegung. */
  .fare-card-hint {
    font-size: var(--fs-small); line-height: 1.4; color: var(--ink);
    margin-top: 6px; padding: 5px 9px; border-radius: 8px;
    background: var(--pine-tint);
  }
  .fare-card-meta { font-size: var(--fs-small); color: var(--muted); }
  .fare-card-price {
    margin-top: 10px;
    font: 600 2rem var(--font-display); line-height: 1.1; color: var(--pine-deep);
    font-variant-numeric: tabular-nums;
  }
  .fare-card-price small { display: block; font: 500 .78rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
  .fare-card .btn { margin-top: 14px; }
  .fare-card-link { font-size: .9rem; margin-top: 8px; text-align: center; }

  /* ── Foto (photoFigure) ──────────────────────────────── */
  .photo-figure { margin: 0; }
  .photo-figure img {
    display: block; width: 100%; height: auto;
    border-radius: var(--r-card); border: 1px solid var(--line);
    object-fit: cover;
  }
  .photo-figure figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }

  /* ── Routenlinie (Divider-Idiom) ─────────────────────── */
  .route-divider {
    display: flex; align-items: center; gap: 0;
    margin: 0 auto; max-width: 320px; padding-block: 6px;
  }
  .route-divider::before, .route-divider::after {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pine); flex: 0 0 auto;
  }
  .route-divider span { flex: 1; height: 2px; background: linear-gradient(90deg, var(--pine), color-mix(in srgb, var(--pine) 35%, var(--line)), var(--pine)); }

  /* ── Cards & Listen ──────────────────────────────────── */
  .card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }

  /* Feste Spaltenzahlen statt auto-fit, damit die letzte Reihe aufgeht.
     „feature": 5 Karten — die erste (Flughafentransfer, das Kerngeschäft) belegt
     zwei Spalten und füllt so das 3×2-Raster restlos. */
  .card-grid--feature, .card-grid--quad { grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 620px) {
    .card-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid--feature > .card:first-child { grid-column: span 2; }
    .card-grid--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 920px) {
    .card-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  /* Die breite Karte bekommt eigenes Gewicht statt nur mehr Fläche. */
  @media (min-width: 620px) {
    .card-grid--feature > .card:first-child { background: var(--pine-tint); border-color: color-mix(in srgb, var(--pine) 24%, var(--line)); }
    .card-grid--feature > .card:first-child h3 { font-size: 1.32rem; }
    .card-grid--feature > .card:first-child p { max-width: 46ch; }
  }

  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 24px 22px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  }
  .card:hover { border-color: color-mix(in srgb, var(--pine) 38%, var(--line)); box-shadow: 0 14px 30px -18px rgba(20, 40, 34, .22); transform: translateY(-2px); }
  .card h3 { margin-bottom: 8px; }
  .card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
  .card .card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .95rem; text-decoration: none; }
  .card .card-link::after { content: " →"; }
  .card-price { font: 600 1.1rem var(--font-display); color: var(--pine-deep); font-variant-numeric: tabular-nums; }

  .check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  .check-list li { display: flex; gap: 12px; align-items: flex-start; }
  .check-list li::before {
    content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px;
    background: var(--pine);
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M3.5 10.5l4.5 4.5 8.5-9"/></svg>') center/contain no-repeat;
  }

  /* ── FAQ ─────────────────────────────────────────────── */
  .faq-list { max-width: 760px; border-top: 1px solid var(--ink); }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
    padding: 18px 2px; border: 0; background: none; cursor: pointer; text-align: left;
    font: 500 1.05rem var(--font-body); color: var(--ink);
  }
  .faq-q:hover { color: var(--pine-deep); }
  /* Das „+“ im Markup wird als Glyph ausgeblendet und als Kreis-Button mit zwei
     gezeichneten Balken neu aufgebaut: der Glyph war zu klein und zu blass, um als
     Bedienelement gelesen zu werden. */
  .faq-q .faq-icon {
    position: relative; flex: 0 0 auto;
    width: 34px; height: 34px; font-size: 0; line-height: 0;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--pine) 42%, var(--line));
    background: var(--surface); color: var(--pine);
    transition: transform .22s var(--ease), background-color .22s var(--ease),
                border-color .22s var(--ease), color .22s var(--ease);
  }
  .faq-q .faq-icon::before, .faq-q .faq-icon::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    background: currentColor; border-radius: 1px;
  }
  .faq-q .faq-icon::before { width: 14px; height: 2px; }
  .faq-q .faq-icon::after { width: 2px; height: 14px; }
  .faq-q:hover .faq-icon { background: var(--pine-tint); border-color: var(--pine); }
  .faq-q[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--pine); border-color: var(--pine); color: var(--paper-on-deep);
  }
  .faq-q:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
  .faq-a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
  .faq-a-inner { padding: 0 2px 20px; color: var(--muted); max-width: 62ch; }

  /* ── CTA-Blöcke ──────────────────────────────────────── */
  .cta-block {
    background: var(--pine-tint); border: 1px solid color-mix(in srgb, var(--pine) 22%, var(--line));
    border-radius: var(--r-panel); padding: clamp(24px, 4vw, 40px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  }
  .cta-block h2, .cta-block h3 { margin-bottom: 6px; }
  .cta-block p { margin: 0; color: var(--muted); }
  .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

  #final-cta { background: var(--pine-deep); color: var(--paper-on-deep); padding-block: var(--space-section); }
  #final-cta h2 { color: var(--paper-on-deep); }
  #final-cta .lead { color: color-mix(in srgb, var(--paper-on-deep) 78%, transparent); }
  #final-cta .btn-secondary { color: var(--paper-on-deep); border-color: color-mix(in srgb, var(--paper-on-deep) 55%, transparent); }
  #final-cta .btn-secondary:hover { background: color-mix(in srgb, var(--paper-on-deep) 12%, transparent); border-color: var(--paper-on-deep); color: var(--paper-on-deep); }
  #final-cta .btn-primary { background: var(--paper-on-deep); color: var(--pine-deep); }
  #final-cta .btn-primary:hover { background: #fff; }

  /* ── Footer ──────────────────────────────────────────── */
  footer { background: var(--pine-deep); color: color-mix(in srgb, var(--paper-on-deep) 82%, transparent); font-size: .95rem; }
  .footer-grid { display: grid; gap: 34px; padding-block: clamp(44px, 6vw, 64px) 30px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
  .footer-brand b { font: 600 1.15rem var(--font-display); color: var(--paper-on-deep); display: block; margin-bottom: 8px; }
  footer h3 { font: 600 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--paper-on-deep) 72%, transparent); margin: 0 0 12px; }
  footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  footer a { color: color-mix(in srgb, var(--paper-on-deep) 85%, transparent); text-decoration: none; }
  footer a:hover { color: #fff; text-decoration: underline; }
  .footer-pay { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
  .footer-pay img { height: 18px; width: auto; opacity: .6; }
  /* Ortsseiten: beschriftete Spalten statt einer durchlaufenden Linkzeile.
     Die Leistung steht in der Überschrift, der Link trägt nur die Stadt. */
  .footer-local {
    border-top: 1px solid color-mix(in srgb, var(--paper-on-deep) 14%, transparent);
    padding-block: clamp(26px, 3.6vw, 38px);
  }
  .footer-local-head { margin-bottom: 18px; }
  .footer-local-grid {
    display: grid; gap: 24px 30px;
    grid-template-columns: repeat(auto-fit, minmax(min(158px, 100%), 1fr));
  }
  .footer-local-grid h4 {
    font: 600 .9rem var(--font-body); letter-spacing: 0; text-transform: none;
    color: var(--paper-on-deep); margin: 0 0 11px;
  }
  .footer-local ul { display: grid; gap: 9px; }
  .footer-local a { font-size: .92rem; color: color-mix(in srgb, var(--paper-on-deep) 88%, transparent); }
  .footer-bottom {
    display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
    border-top: 1px solid color-mix(in srgb, var(--paper-on-deep) 14%, transparent);
    padding-block: 20px calc(20px + env(safe-area-inset-bottom)); font-size: .86rem;
  }

  /* ── Mobile Bottom-Bar ───────────────────────────────── */
  #mob-bar {
    position: fixed; inset: auto 0 0 0; z-index: 50; display: none;
    grid-template-columns: 1fr 1fr 1fr; gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mb-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 54px; background: var(--surface);
    font: 600 .92rem var(--font-body); text-decoration: none; color: var(--ink);
  }
  .mb-btn.book { background: var(--pine); color: var(--paper-on-deep); }
  .mb-btn.wa { color: var(--wa); }

  #scroll-top {
    position: fixed; right: 18px; bottom: 76px; z-index: 49;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--pine);
    font-size: 1.1rem; cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease);
    box-shadow: 0 8px 22px -12px rgba(20, 40, 34, .35);
  }
  #scroll-top.show { opacity: 1; pointer-events: auto; }

  /* ── Breadcrumb ──────────────────────────────────────── */
  .breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: 22px; }
  .breadcrumb a { color: var(--muted); text-decoration: none; }
  .breadcrumb a:hover { color: var(--pine); text-decoration: underline; }
  .breadcrumb span[aria-current] { color: var(--ink); }

  /* ── Prose (Fließtext-Bereiche, Blog-Artikel) ────────── */
  .prose { max-width: 66ch; }
  .prose h2 { margin-top: 1.6em; }
  .prose h3 { margin-top: 1.4em; }
  .prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
  .prose li { margin-bottom: .4em; }
  .prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97rem; }
  .prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .prose th { font-weight: 600; border-bottom-color: var(--ink); }
  .prose td { font-variant-numeric: tabular-nums; }
  .prose blockquote { margin: 0 0 1.2em; padding: 6px 0 6px 18px; border-left: 3px solid var(--pine); color: var(--muted); font-family: var(--font-display); font-size: 1.1rem; }

  /* ── Tool-Panels (Rechner) ───────────────────────────── */
  .tool-panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
    padding: clamp(20px, 3vw, 30px); max-width: 720px;
  }
  .tool-panel .field { display: grid; gap: 6px; margin-bottom: 16px; }
  .tool-panel label { font: 500 .92rem var(--font-body); color: var(--ink); }
  .tool-panel input, .tool-panel select {
    font: inherit; color: var(--ink); background: var(--surface);
    border: 1px solid #7a827c; border-radius: var(--r-btn); padding: 11px 13px; width: 100%;
    min-height: 46px;
  }
  .tool-panel input:focus, .tool-panel select:focus { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
  .tool-check { display: flex; gap: 10px; align-items: center; }
  .tool-check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--pine); }
  .tool-result {
    margin-top: 18px; padding: 18px 20px; border-radius: var(--r-card);
    background: var(--pine-tint); border: 1px solid color-mix(in srgb, var(--pine) 22%, var(--line));
  }
  .tool-result .big { font: 600 1.9rem var(--font-display); color: var(--pine-deep); font-variant-numeric: tabular-nums; }
  .tool-result p { margin: 6px 0 0; font-size: var(--fs-small); color: var(--muted); }

  /* ── Blog ────────────────────────────────────────────── */
  .blog-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
  .blog-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; }
  .blog-card h2, .blog-card h3 { color: var(--pine-deep); margin: 0; }
  .blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .35s var(--ease); }
  .blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  /* Affordanz: die ganze Karte ist der Link, dieser Hinweis macht das sichtbar. */
  .blog-more {
    margin-top: auto; padding-top: 12px; font: 500 .9rem var(--font-body); color: var(--pine);
    opacity: .72; transition: opacity .18s var(--ease);
  }
  .blog-more span { display: inline-block; transition: transform .18s var(--ease); }
  .blog-card:hover, .blog-card:focus-visible {
    border-color: color-mix(in srgb, var(--pine) 55%, var(--line));
    box-shadow: 0 18px 36px -18px rgba(20, 40, 34, .3);
    transform: translateY(-3px);
  }
  .blog-card:hover img, .blog-card:focus-visible img { transform: scale(1.05); }
  .blog-card:hover .blog-more, .blog-card:focus-visible .blog-more { opacity: 1; }
  .blog-card:hover .blog-more span, .blog-card:focus-visible .blog-more span { transform: translateX(3px); }
  /* Nach dem Reveal setzt `.reveal.in` transform:none mit .5s — hier höher
     spezifisch zurückholen, sonst bliebe das Anheben aus bzw. wäre träge. */
  html.js-reveal .blog-card.reveal.in:hover,
  html.js-reveal .blog-card.reveal.in:focus-visible {
    transform: translateY(-3px);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  }

  /* Aufmacher: Bild links, Copy rechts — bricht das monotone Raster auf. */
  .blog-card--feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 22px; }
  .blog-card--feature img { height: 100%; aspect-ratio: 4/3; }
  .blog-card--feature .blog-card-body { padding: 30px 32px; justify-content: center; gap: 10px; }
  .blog-card--feature h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
  @media (max-width: 760px) {
    .blog-card--feature { grid-template-columns: 1fr; }
    .blog-card--feature img { aspect-ratio: 16/9; }
    .blog-card--feature .blog-card-body { padding: 20px 22px 24px; }
  }
  .blog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
  .blog-cat {
    display: inline-block; padding: 3px 11px; border-radius: var(--r-chip);
    background: var(--pine-tint); color: var(--pine-deep); font: 500 .78rem var(--font-body);
  }
  .blog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; align-items: center; }
  .blog-toolbar input[type="search"] {
    font: inherit; padding: 10px 14px; min-height: 44px; border: 1px solid #7a827c;
    border-radius: var(--r-btn); background: var(--surface); width: min(420px, 100%);
  }
  /* Eine Zeile, statt unruhig umzubrechen — auf schmalen Viewports horizontal scrollbar. */
  .blog-cats {
    display: flex; flex-wrap: nowrap; gap: 10px; margin-bottom: 26px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 2px; padding-bottom: 2px;
  }
  .blog-cats::-webkit-scrollbar { display: none; }
  .chip {
    flex: 0 0 auto; white-space: nowrap;
    padding: 8px 16px; min-height: 44px; border-radius: var(--r-chip); border: 1px solid var(--line);
    background: var(--surface); font: 500 .88rem var(--font-body); color: var(--ink); cursor: pointer;
    transition: border-color .18s var(--ease), background-color .18s var(--ease);
  }
  .chip:hover { border-color: color-mix(in srgb, var(--pine) 45%, var(--line)); background: var(--pine-tint); }
  .chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper-on-deep); }
  .chip[aria-pressed="true"]:hover { background: var(--pine-deep); border-color: var(--pine-deep); }
  .blog-article { max-width: 760px; }
  .blog-article .cover { border-radius: var(--r-card); margin-bottom: 26px; }
  .blog-toc {
    background: var(--sage); border: 1px solid var(--line); border-left: 3px solid var(--pine);
    border-radius: var(--r-card); padding: 18px 22px; margin-bottom: 26px; font-size: .95rem;
  }
  .blog-toc-head {
    display: flex; align-items: center; gap: 8px; margin: 0; color: var(--pine);
    text-transform: uppercase; letter-spacing: .06em; font-size: .78rem;
  }
  .blog-toc-head svg { flex: 0 0 auto; }
  /* Zeilenabstand + Mindesthöhe: die Links bleiben auf dem Smartphone antippbar. */
  .blog-toc ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 2px; }
  .blog-toc li { line-height: 1.45; }
  .blog-toc a { display: block; padding: 7px 0; }
  /* Volle 44 px nur dort, wo mit dem Finger getippt wird — am Desktop bliebe das zu luftig. */
  @media (pointer: coarse) { .blog-toc a { min-height: 44px; padding: 10px 0; } }
  .author-box {
    display: flex; gap: 16px; align-items: center; margin-top: 34px;
    border-top: 1px solid var(--line); padding-top: 22px; font-size: .93rem; color: var(--muted);
  }
  .author-photo {
    flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--sage);
  }
  .author-badge {
    flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--pine); color: var(--paper-on-deep); font: 600 .95rem var(--font-body); letter-spacing: .04em;
  }

  /* ── Hinweis-/Info-Boxen ─────────────────────────────── */
  .note {
    border-left: 3px solid var(--pine); background: var(--sage);
    border-radius: 0 var(--r-card) var(--r-card) 0; padding: 14px 18px; margin: 0 0 1.2em;
    font-size: .97rem;
  }
}

@layer sections {
  .section { padding-block: var(--space-section); }

  /* Flotten-Sektion: Bild breiter und edler inszeniert */
  @media (min-width: 920px) { #vehicle .hero-grid { grid-template-columns: 5fr 6fr; align-items: center; } }
  .vehicle-figure img {
    width: 100%; border-radius: var(--r-panel);
    box-shadow: 0 24px 56px -28px rgba(6, 46, 36, .45);
  }
  .section.alt { background: var(--sage); }
  .section.on-surface { background: var(--surface); border-block: 1px solid var(--line); }

  /* Booking-Sektion auf Unterseiten */
  .booking-section { background: var(--sage); padding-block: clamp(36px, 6vw, 64px); }
  .booking-section .booking-card { max-width: 880px; margin-inline: auto; }

  /* Booking-Fokus: „Fahrt buchen“ bringt die Karte in den ersten Viewport */
  body.booking-focus .hero .h1-full, body.booking-focus .hero .lead, body.booking-focus .hero .hero-sub { display: none; }
  body.booking-focus .hero .h1-short { display: block; }
  .hero .h1-short { display: none; font-size: clamp(1.6rem, 3vw, 2.2rem); }
  body.booking-focus .hero { padding-block: 22px 40px; }
}

@layer utilities {
  .visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 100;
    background: var(--pine-deep); color: var(--paper-on-deep);
    padding: 10px 16px; border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
    transition: top .15s var(--ease);
  }
  .skip-link:focus-visible { top: 0; color: var(--paper-on-deep); }

  /* Reveal-System: ohne JS immer sichtbar (Gate: html.js-reveal) */
  html.js-reveal .reveal { opacity: 0; transform: translateY(12px); }
  html.js-reveal .reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

  @media (max-width: 919px) {
    .nav-links { display: none; }
    #nav-burger { display: flex; }
    #mob-bar { display: grid; }
    body { padding-bottom: 0; }
    footer .footer-bottom { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  }
  @media (min-width: 920px) {
    #mobile-menu { display: none !important; }
  }
  @media (max-width: 540px) {
    .hero-ctas .btn { flex: 1 1 100%; }
    .fare-meta { display: none; }
    /* Panel-Tafel bleibt vollständig: Strecke oben, Dauer und Preis darunter —
       statt die Dauer wie in der schmalen Standardtafel ganz zu streichen. */
    .fare-board--panel .fare-row { flex-wrap: wrap; row-gap: 6px; align-items: baseline; }
    .fare-board--panel .fare-route { flex: 1 1 100%; flex-wrap: wrap; row-gap: 6px; }
    .fare-board--panel .fare-meta { display: block; order: 1; }
    .fare-board--panel .fare-dots { order: 2; }
    .fare-board--panel .fare-price { order: 3; }
    .fare-tab { flex: 1 1 auto; padding-inline: 14px; text-align: center; }
    .fare-tabs-bar { width: 100%; }
    .cta-block { flex-direction: column; align-items: flex-start; }
  }
}
