/* Stern Saphirnacht 2.0 – gemeinsame Tokens und Bausteine
   Farbverhältnis: Weiß/Silber trägt die Flächen, Saphirblau setzt Akzente, Graphit statt Marine im Dunkelmodus. */
:root {
  --bg: #f7f8fb; --band: #eceff5; --surface: #ffffff; --surface-2: #f2f4f8;
  --fg: #111726; --muted: #5b6477; --line: #dbe0e9;
  --blue: #1d4fe3; --blue-hi: #3f6dff; --blue-soft: #e5ebff; --on-blue: #ffffff;
  --silver-1: #ffffff; --silver-2: #d4dae5; --silver-3: #8e98ab;
  --chrome: linear-gradient(100deg, #1d4fe3 0%, #5b7fff 38%, #9aa6bd 55%, #1d4fe3 100%);
  --metal: linear-gradient(180deg, #ffffff 0%, #e7ebf2 55%, #cfd6e2 100%);
  --glass: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .9);
  --shadow: 0 30px 60px -35px rgba(17, 23, 38, .35);
  /* Szene: Tag über der Riviera, Sterne bleiben als Silberfunkeln */
  --sky-1: #b9c9e6; --sky-2: #dfe7f3; --sky-3: #f6f8fc;
  --ridge-1: #b7c2d5; --ridge-2: #98a5bd; --ridge-3: #75839e; --ridge-4: #55627d;
  --haze: rgba(240, 244, 250, .9); --snow: #ffffff;
  --sea-1: #86c3df; --sea-2: #3f86c9; --sea-3: #1b4f9c; --road: #5b5f66; --road-line: rgba(255, 255, 255, .92);
  --curb: #d3d6db; --pole: #8a919b;
  --star: #5f78c2; --star-glow: rgba(255, 255, 255, .95); --star-alpha: .8; --dot-alpha: 0; --night: 0;
  --logo-l: block; --logo-d: none;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0f15; --band: #12161f; --surface: #161b25; --surface-2: #1c2230;
    --fg: #eef1f6; --muted: #9aa3b4; --line: #272e3c;
    --blue: #4a78ff; --blue-hi: #7b9cff; --blue-soft: #1a2442; --on-blue: #ffffff;
    --silver-1: #ffffff; --silver-2: #c9d0dc; --silver-3: #7d8697;
    --chrome: linear-gradient(100deg, #ffffff 0%, #c9d0dc 30%, #7f8aa0 50%, #ffffff 70%, #9db4ff 100%);
    --metal: linear-gradient(180deg, #232a37 0%, #1a1f2a 100%);
    --glass: rgba(18, 22, 31, .66); --glass-line: rgba(255, 255, 255, .12);
    --shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
    --sky-1: #04060b; --sky-2: #0b111d; --sky-3: #1b2847;
    --ridge-1: #273043; --ridge-2: #1b2231; --ridge-3: #131823; --ridge-4: #0b0e15;
    --haze: rgba(40, 60, 110, .45); --snow: #c8d3e8;
    --sea-1: #1d3559; --sea-2: #0f2140; --sea-3: #060b16; --road: #26292f; --road-line: rgba(236, 239, 245, .72);
  --curb: #3c4048; --pole: #4c525c;
    --star: #ffffff; --star-glow: rgba(140, 170, 255, .6); --star-alpha: 1; --dot-alpha: 1; --night: 1;
    --logo-l: none; --logo-d: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0f15; --band: #12161f; --surface: #161b25; --surface-2: #1c2230;
  --fg: #eef1f6; --muted: #9aa3b4; --line: #272e3c;
  --blue: #4a78ff; --blue-hi: #7b9cff; --blue-soft: #1a2442; --on-blue: #ffffff;
  --silver-1: #ffffff; --silver-2: #c9d0dc; --silver-3: #7d8697;
  --chrome: linear-gradient(100deg, #ffffff 0%, #c9d0dc 30%, #7f8aa0 50%, #ffffff 70%, #9db4ff 100%);
  --metal: linear-gradient(180deg, #232a37 0%, #1a1f2a 100%);
  --glass: rgba(18, 22, 31, .66); --glass-line: rgba(255, 255, 255, .12);
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  --sky-1: #04060b; --sky-2: #0b111d; --sky-3: #1b2847;
  --ridge-1: #273043; --ridge-2: #1b2231; --ridge-3: #131823; --ridge-4: #0b0e15;
  --haze: rgba(40, 60, 110, .45); --snow: #c8d3e8;
  --sea-1: #1d3559; --sea-2: #0f2140; --sea-3: #060b16; --road: #26292f; --road-line: rgba(236, 239, 245, .72);
  --curb: #3c4048; --pole: #4c525c;
  --star: #ffffff; --star-glow: rgba(140, 170, 255, .6); --star-alpha: 1; --dot-alpha: 1; --night: 1;
  --logo-l: none; --logo-d: block; color-scheme: dark;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { max-width: 100%; display: block }
a { color: inherit }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: .005em }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px }
/* Seitenbreite: Inhalt nutzt die ganze Fensterbreite, mit Rand, der mit dem Bildschirm wächst (20px am Handy, bis 88px auf großen Monitoren) */
:root { --gut: clamp(20px, 4.5vw, 88px) }
.wrap { max-width: none; margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)) }
.logo-l { display: var(--logo-l) } .logo-d { display: var(--logo-d) }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--blue) }
.eyebrow::before { content: "✦"; letter-spacing: 0; font-size: 13px; color: var(--silver-3) }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent }
.muted { color: var(--muted) }

/* Sternen-Trenner zwischen Abschnitten, wie die Linien im Logo */
.star-rule { display: flex; align-items: center; gap: 16px; color: var(--silver-3); margin: 0 auto; max-width: none; padding-inline: max(var(--gut), env(safe-area-inset-left, 0px)) }
.star-rule::before, .star-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--blue) 50%, transparent) }
.star-rule svg { width: 22px; height: 22px; fill: var(--silver-3) }
/* Trenner neben ausgeblendeten Abschnitten (z. B. Bewertungen ohne Daten) nicht doppelt zeigen */
section[hidden] + .star-rule { display: none }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 700 16px var(--body); padding: 15px 26px; border-radius: 999px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s }
.btn-blue { background: var(--blue); color: var(--on-blue); box-shadow: 0 12px 30px -12px var(--blue) }
.btn-blue:hover { transform: translateY(-2px); background: var(--blue-hi) }
.btn-silver { background: var(--metal); color: var(--fg); border: 1px solid var(--line) }
.btn-silver:hover { border-color: var(--blue) }

/* Kopfzeile */
.site-head { position: absolute; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top, 0px) }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px }
.site-head img { height: 50px; width: auto }
.site-head nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600 }
.site-head nav a { text-decoration: none; opacity: .85 } .site-head nav a:hover { opacity: 1; color: var(--blue) }
.head-actions { display: flex; align-items: center; gap: 10px }
.theme-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--fg); font: 600 13px var(--body); cursor: pointer; backdrop-filter: blur(10px) }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8 }
.lang { font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 10px 12px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(10px) }

/* Buchungskarte */
.book { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 24px; padding: 26px; backdrop-filter: blur(20px) saturate(1.2); box-shadow: var(--shadow); display: grid; gap: 14px; min-width: 0 }
.book h3 { font-size: 24px }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.field { display: grid; gap: 6px; min-width: 0 }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 600 16px var(--body) }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line) }
.seg button { border: 0; background: none; padding: 9px; border-radius: 10px; font: 700 13px var(--body); color: var(--muted); cursor: pointer }
.seg button.on { background: var(--surface); color: var(--blue); box-shadow: 0 2px 8px rgba(0, 0, 0, .08) }
.quote { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line) }
.quote .sum { font-family: var(--display); font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums }
.quote small { color: var(--muted); font-size: 12px }

/* Combobox Hotel/Ziel */
.cb { position: relative }
.cb input { padding-left: 40px !important }
.cb::before { content: "⌕"; position: absolute; left: 14px; top: 11px; font-size: 18px; color: var(--muted); pointer-events: none }
.cb [role=listbox] { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 340px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow) }
.cb.open [role=listbox] { display: block }
.cb-group { position: sticky; top: -6px; display: flex; justify-content: space-between; padding: 10px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--surface) }
.cb-group span { color: var(--muted); letter-spacing: 0 }
.cb-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; cursor: pointer }
.cb-item:hover, .cb-item.on { background: var(--blue-soft) }
.cb-ico { color: var(--silver-3); text-align: center }
.cb-item:not(.is-hotel) .cb-ico { color: var(--blue) }
.cb-txt { min-width: 0 } .cb-txt b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.cb-txt small { color: var(--muted); font-size: 13px }
.cb-price { font: 500 12px var(--mono); color: var(--muted); white-space: nowrap }
.cb-empty { padding: 14px; color: var(--muted); font-size: 14px }

/* Fahrzeugauswahl */
.veh-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.veh-opt { text-align: left; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; display: grid; gap: 1px }
.veh-opt b { font-size: 13px } .veh-opt small { font-size: 11px; color: var(--muted) }
.veh-opt span { font: 600 15px var(--mono); margin-top: 3px }
.veh-opt.on { border-color: var(--blue); background: var(--blue-soft) }

/* Abschnitte */
.section { padding-block: 100px }
.band { background: var(--band) }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; margin-top: 12px; max-width: 680px }
.sec-head p { margin: 0; max-width: 430px; color: var(--muted) }

/* Preistabelle */
.pt-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px }
.pt-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 9px 16px; border-radius: 99px; font: 600 14px var(--body); cursor: pointer }
.pt-tabs button.on { background: var(--blue); color: var(--on-blue); border-color: var(--blue) }
.pt-box { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px }
.pt { width: 100%; border-collapse: collapse; min-width: 620px; font-variant-numeric: tabular-nums }
.pt th, .pt td { padding: 16px 20px; text-align: right; border-bottom: 1px solid var(--line) }
.pt thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700 }
.pt th[scope=row], .pt thead th:first-child { text-align: left }
.pt th[scope=row] { font-family: var(--display); font-weight: 400; font-size: 19px }
.pt th[scope=row] small { display: block; font: 500 12px var(--body); color: var(--muted) }
.pt td { font: 500 16px var(--mono) }
.pt tbody tr:last-child > * { border-bottom: 0 }
.pt tbody tr:hover { background: var(--blue-soft) }
.src { font-size: 12px; color: var(--muted); margin-top: 14px }

/* Flotte */
.fleet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px }
.car { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.car canvas { width: 100%; height: 120px; display: block; background: var(--metal); border-radius: 14px }
.car .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue) }
.car h3 { font-size: 22px }
.car p { margin: 0; color: var(--muted); font-size: 15.5px }
.car .spec { display: flex; gap: 14px; font: 500 14px var(--mono); color: var(--muted); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line) }

/* Vorteile */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px }
.perk { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line) }
.perk svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.6; margin-bottom: 14px }
.perk h3 { font-size: 20px; margin-bottom: 6px } .perk p { margin: 0; color: var(--muted); font-size: 15.5px }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0 }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-size: 22px }
.faq summary::after { content: "✦"; color: var(--blue); transition: transform .3s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq p { margin: 10px 0 0; color: var(--muted); max-width: 70ch }

/* Fußzeile */
.site-foot { border-top: 1px solid var(--line); padding-block: 56px 36px; font-size: 15px; color: var(--muted); background: var(--surface) }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px }
.site-foot img { height: 58px; width: auto; margin-bottom: 12px }
.site-foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg) }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px }
.legal a { color: inherit; text-decoration: none } .legal a:hover, .legal a[aria-current] { color: var(--blue) }
.wa { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3) }
.wa svg { width: 28px; height: 28px; fill: #fff }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important } }
@media (max-width: 1000px) {
  .site-head nav { display: none }
  .fleet, .perks { grid-template-columns: 1fr 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 560px) {
  .fleet, .perks, .foot-grid { grid-template-columns: 1fr }
  .row2, .veh-opts { grid-template-columns: 1fr 1fr }
  .lang { display: none }
  .section { padding-block: 72px }
  .book { padding: 20px }
}

/* Tarih/Uhrzeit (stern-picker.js): Knopf im Feldstil, Kalender als schwebende Karte, auf dem Handy als Blatt von unten */
.pk-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; clip-path: inset(50%) }
.pk-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 600 16px var(--body); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s }
.pk-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.pk-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums }
.pk-btn.empty span { color: var(--muted); font-weight: 500 }
.pk-btn:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)) }
.pk-btn:focus-visible, .pk-btn[aria-expanded="true"] { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft) }
.field.err .pk-btn { border-color: #d33a3a }

.pk-pop { position: absolute; z-index: 90; width: 316px; padding: 14px; border-radius: 20px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(10, 16, 32, .45), 0 2px 8px rgba(10, 16, 32, .08); font-family: var(--body); animation: pk-in .16s ease-out }
.pk-pop[data-kind="time"] { width: 296px }
.pk-pop.combo { width: 340px }
.pk-step[data-step="date"] { flex: 1.7 }
/* Gemeinsames Feld: ein Knopf für Datum und Uhrzeit */
.dt[data-pk-combo] > .pk-btn:not(.pk-combo) { display: none }
.pk-combo { justify-content: flex-start }
.pk-combo .pk-cd { flex: 0 1 auto; min-width: 0 }
.pk-combo .pk-ct { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding-left: 12px; border-left: 1px solid var(--line); flex: none; overflow: visible }
.pk-combo .pk-ct svg { width: 16px; height: 16px }
.pk-combo.empty .pk-ct { display: none }
.pk-combo.no-time .pk-ct span { color: var(--muted); font-weight: 500 }
/* Schritte im gemeinsamen Fenster */
.pk-steps { display: flex; align-items: center; gap: 8px; margin: -2px -2px 12px; padding: 4px; border-radius: 16px; background: var(--surface-2) }
.pk-step { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px 10px; border: 0; border-radius: 12px; background: none; text-align: left; transition: background .2s }
.pk-step i { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font: 800 12px var(--body); font-style: normal; color: var(--muted) }
.pk-step span { display: grid; min-width: 0; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.pk-step small { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums }
.pk-step.cur { background: var(--surface); box-shadow: 0 4px 14px -8px rgba(10,16,32,.5) }
.pk-step.cur i { border-color: var(--blue); background: var(--blue); color: var(--on-blue) }
.pk-step.done:not(.cur) i { border-color: var(--blue); color: var(--blue) }
.pk-step:disabled { opacity: .45; cursor: default }
.pk-steps-line { width: 10px; height: 1.5px; flex: none; background: var(--line) }
@keyframes pk-in { from { opacity: 0; transform: translateY(-4px) scale(.98) } }
.pk-pop button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent }
.pk-pop button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px }
.pk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px }
.pk-head b { font: 400 19px var(--display); letter-spacing: .02em }
.pk-nav { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2) }
.pk-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.pk-nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue) }
.pk-nav:disabled { opacity: .3; cursor: default }
.pk-week, .pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px }
.pk-week span { padding: 6px 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.pk-d { position: relative; aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font-size: 14px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; transition: background .15s, color .15s }
.pk-d:hover:not(:disabled):not(.on) { background: var(--blue-soft); color: var(--blue) }
.pk-d.out { color: var(--muted) !important; opacity: .55 }
.pk-d.today { box-shadow: inset 0 0 0 1.5px var(--blue) }
.pk-d.ref::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue) }
.pk-d.on { background: var(--blue); color: var(--on-blue) !important; box-shadow: 0 6px 16px -6px var(--blue) }
.pk-d.on::after { background: var(--on-blue) }
.pk-d:disabled { color: var(--muted) !important; opacity: .3; cursor: default; text-decoration: line-through; text-decoration-thickness: 1px }
.pk-foot { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line) }
.pk-chip { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px !important; font-weight: 700 !important }
.pk-chip:hover { border-color: var(--blue); color: var(--blue) }
.pk-close { margin-left: auto; padding: 7px 10px; border: 0; border-radius: 10px; background: none; color: var(--muted) !important; font-size: 13px !important; font-weight: 700 !important }
.pk-close:hover { color: var(--fg) !important }

/* Uhrzeit: zwei rollbare Spalten (Stunde | Minute) */
.pk-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px }
.pk-colw { display: grid; gap: 6px; min-width: 0 }
.pk-sub { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.pk-colon { align-self: center; margin-top: 18px; font: 400 26px var(--display); color: var(--muted) }
.pk-col { position: relative; display: grid; gap: 4px; height: 232px; padding: 4px; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y proximity; scrollbar-width: thin; border-radius: 14px; background: var(--surface-2) }
.pk-t { scroll-snap-align: center; padding: 9px 0; border: 0; border-radius: 10px; background: none; font-size: 17px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; transition: background .15s, color .15s }
.pk-t:hover:not(.on):not(:disabled) { background: var(--blue-soft); color: var(--blue) }
.pk-t.on { background: var(--blue); color: var(--on-blue) !important; box-shadow: 0 6px 16px -8px var(--blue) }
.pk-t:disabled { opacity: .28; cursor: default; text-decoration: line-through; text-decoration-thickness: 1px }
.pk-now { font: 400 22px var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em }
.pk-pop.sheet .pk-col { height: 260px }

.pk-scrim { position: fixed; inset: 0; z-index: 89; background: rgba(6, 10, 20, .45); backdrop-filter: blur(2px); animation: pk-fade .2s }
@keyframes pk-fade { from { opacity: 0 } }
.pk-pop.sheet { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; animation: pk-up .22s ease-out }
.pk-pop.sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: -6px auto 12px; border-radius: 4px; background: var(--line) }
.pk-pop.sheet .pk-grid { gap: 4px }
.pk-pop.sheet .pk-d { font-size: 16px !important }
@keyframes pk-up { from { transform: translateY(100%) } }
html.pk-lock { overflow: hidden }
@media (prefers-reduced-motion: reduce) { .pk-pop, .pk-scrim { animation: none } }

/* Fotogalerie (stern-gallery.js) */
.gl { position: relative; display: block; width: 100%; height: 100%; overflow: hidden }
.gl-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain }
.gl-track::-webkit-scrollbar { display: none }
.gl-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; scroll-snap-align: start }
.gl-nav { position: absolute; z-index: 2; inset: 50% 6px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .2s }
.gl:hover .gl-nav, .gl:focus-within .gl-nav { opacity: 1 }
@media (hover: none) { .gl-nav { opacity: 1 } }
.gl-btn { pointer-events: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(8, 12, 22, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s }
.gl-btn:hover { background: rgba(8, 12, 22, .8) }
.gl-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none }
.gl-dots > span { pointer-events: auto; width: 6px; height: 6px; border-radius: 3px; cursor: pointer; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: width .25s, background .25s }
.gl-dots > span.on { width: 16px; background: #fff }
.gl-zoom { position: absolute; z-index: 2; top: 8px; right: 8px; opacity: 0; transition: opacity .2s, background .2s }
.gl:hover .gl-zoom, .gl-zoom:focus-visible { opacity: 1 }
@media (hover: none) { .gl-zoom { opacity: 1 } }
.gl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px }
/* Vollbildansicht */
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 0; overflow: hidden; overscroll-behavior: contain; background: rgba(4, 7, 14, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: lbFade .2s ease-out }
.lb[hidden] { display: none }
/* Größe an der Bildschirmfläche messen, nicht am Rasterfeld: so passt jedes Hoch- und Querformat ohne Überlauf mittig hinein */
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 144px) }
.lb img { display: block; width: auto; height: auto; max-width: calc(100vw - 144px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); user-select: none; -webkit-user-drag: none }
.lb img.lb-in { animation: lbIn .28s cubic-bezier(.2, .7, .2, 1) }
.lb-cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; color: rgba(255, 255, 255, .9); font-size: 15px; text-align: center }
.lb-cap:empty { display: none }
.lb-cap small { color: rgba(255, 255, 255, .62); font-size: 13px; letter-spacing: .02em }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s }
.lb button:hover { background: rgba(255, 255, 255, .22) }
.lb button:focus-visible { outline: 2px solid #fff; outline-offset: 2px }
.lb button[hidden] { display: none }
.lb-x { top: 16px; right: 16px }
.lb-p { left: 16px; top: 50%; transform: translateY(-50%) }
.lb-n { right: 16px; top: 50%; transform: translateY(-50%) }
.lb-count { position: absolute; top: 30px; left: 22px; color: rgba(255, 255, 255, .75); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em }
html.lb-open { overflow: hidden }
@keyframes lbFade { from { opacity: 0 } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97) } }
@media (prefers-reduced-motion: reduce) { .lb, .lb img.lb-in { animation: none } }
@media (max-width: 560px) {
  .lb-fig { max-width: calc(100vw - 16px) }
  .lb img { max-width: calc(100vw - 16px); max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); border-radius: 8px }
  .lb-p, .lb-n { top: auto; bottom: 16px; transform: none }
  .lb-p { left: calc(50% - 60px) } .lb-n { right: calc(50% - 60px) }
}
/* Vorschau ?galeri=ornek */
.gl-demo .car-photo .gl:not(.first) ~ figcaption { opacity: 1 }
.gl-note { position: fixed; z-index: 999; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 999px; background: #f2b632; color: #1a1300; font: 600 12.5px/1.3 var(--body); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); text-align: center }

/* Fahrzeug-Etiketten und Ausstattung (stern-equip.js): Flottenkarten und Fahrzeugwahl */
.vbadges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px }
.vb { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg); font: 700 11px/1.25 var(--body); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap }
.vb svg { width: 11px; height: 11px }
.vb-vip { border-color: transparent; background: linear-gradient(135deg, #f7e2a0, #c9962e); color: #2b1d00 }
.vb-best { border-color: color-mix(in srgb, #1f9d63 40%, transparent); background: color-mix(in srgb, #1f9d63 13%, transparent); color: #17804f }
.vb-fit, .vb-groups { border-color: color-mix(in srgb, var(--blue) 35%, transparent); background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue) }
.vb-premium { border-color: color-mix(in srgb, #c9962e 55%, transparent); background: color-mix(in srgb, #c9962e 12%, transparent); color: #9a6f1c }
.vb-big { border-color: color-mix(in srgb, #7b5bd6 40%, transparent); background: color-mix(in srgb, #7b5bd6 13%, transparent); color: #6243c4 }
:root[data-theme="dark"] .vb-best { color: #55d6a0 }
:root[data-theme="dark"] .vb-premium { color: #ecc86e }
:root[data-theme="dark"] .vb-big { color: #ad98f2 }
.equip-w { display: grid; gap: 10px }
.equip-h { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fg) }
.equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; font-size: 14px; line-height: 1.3; color: var(--fg) }
.equip > span { display: flex; align-items: center; gap: 8px; min-width: 0 }
.equip svg { flex: none; width: 17px; height: 17px; color: var(--blue) }
.equip .eq-free { order: 99; grid-column: 1 / -1; align-items: flex-start; padding: 8px 11px; border-radius: 12px; background: color-mix(in srgb, #1f9d63 12%, transparent); font-size: 13.5px }
.equip .eq-free svg { color: #1f9d63; margin-top: 1px }
:root[data-theme="dark"] .equip .eq-free svg { color: #55d6a0 }
@media (max-width: 380px) { .equip { grid-template-columns: 1fr } }
