/* ==========================================================================
   KFZ-Gutachten Messerschmidt – Designsystem
   Light, grün, modern. Keine Schatten, kein Glow, keine Verläufe.
   ========================================================================== */

/* ---------- Schrift: Geist (SIL OFL 1.1), selbst gehostet ---------- */
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
    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: "Geist";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
    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;
}
/* Unterschrift im „Über mich“-Bereich (SIL OFL, lokal eingebunden) */
@font-face {
    font-family: "Mrs Saint Delafield";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("../fonts/mrs-saint-delafield-latin-400.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
    /* Farben */
    --c-bg: #F5F5F5;
    --c-mint: #EFEFEF;
    --c-surface: #FFFFFF;
    --c-surface-2: #F3F3F3;
    --c-surface-3: #E8E8E8;
    --c-ink: #0A0A0A;
    --c-ink-soft: #474747;
    --c-ink-mute: #666666;
    --c-forest: #0A0A0A;
    --c-forest-2: #1C1C1C;
    --c-forest-3: #2B2B2B;
    --c-green: #0A0A0A;
    --c-lime: #FFFFFF;
    --c-lime-2: #E6E6E6;
    --c-lime-soft: #EDEDED;
    --c-sage: #CCCCCC;
    --c-on-forest: #F5F5F5;
    --c-on-forest-soft: #B0B0B0;
    --c-line: rgba(0, 0, 0, 0.1);
    --c-danger: #B8322A;
    --c-danger-soft: #FCEDEA;
    --c-star: #FBBC04;
    --c-whatsapp: #25D366;
    /* Grün der Häkchen (Leistungslisten, gültige Formularfelder) */
    --c-success: #1F9D55;
    --c-focus: var(--c-green);
    /* Text/Icons auf Flächen in --c-ink (ausgewählte Zustände, Primär-Buttons) */
    --c-on-ink: #FFFFFF;
    --c-ink-hover: #1C1C1C;
    --c-line-soft: rgba(0, 0, 0, 0.08);
    --c-scroll: #BDBDBD;
    --c-star-empty: #DEDEDE;

    /* Typografie */
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-display: clamp(2.5rem, 1.2rem + 4.1vw, 4.875rem);
    --fs-h2: clamp(2rem, 1rem + 2.5vw, 3.5rem);
    --fs-h3: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
    --fs-lead: clamp(1.0625rem, 0.99rem + 0.32vw, 1.3125rem);
    --fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
    --fs-small: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* Layout */
    --container-max: 1380px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --edge: max(var(--gutter), calc((100vw - var(--container-max)) / 2));
    --section-y: clamp(4.5rem, 2.8rem + 6.5vw, 9rem);
    /* Feste Header-Höhe (Topbar + Leiste): stimmt schon vor dem JS, damit beim Laden nichts springt */
    --header-h: 132px;
    --topbar-h: 36px;

    /* Radien */
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Bewegung */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur: 0.45s;

    /* HWM-Credit: vertikale Zentrierung am Schriftzug (Versalhöhe Geist) */
    --cap-height: 0.71;
}

/* Breiteres Layout auf großen Monitoren (Full HD → 27" / WQHD / 4K) */
@media (min-width: 1600px) { :root { --container-max: 1620px; --gutter: 3rem; } }
@media (min-width: 1920px) { :root { --container-max: 1820px; } }
@media (min-width: 2400px) { :root { --container-max: 2140px; --gutter: 4rem; } }

@media (min-width: 1140px) {
    :root { --header-h: 128px; }
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    background: var(--c-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--font);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.6;
    font-feature-settings: "ss01" on;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
p { text-wrap: pretty; }
/* Zwei Sätze, ab Tablet je eine eigene Zeile */
@media (min-width: 640px) { .site-footer__text span { display: block; } }

::selection { background: var(--c-ink); color: var(--c-on-ink); }
.topbar ::selection, .hero__card ::selection, .route-card ::selection,
.invite-card ::selection, .contact__panel ::selection, .consent ::selection, .toast ::selection { background: #fff; color: #000; }

:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--c-focus);
    outline-offset: 3px;
}

/* Lenis Smooth Scroll */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.lenis { scroll-behavior: auto; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
    background: var(--c-scroll);
    border: 3px solid var(--c-bg);
    border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-forest-3); }
@supports (-moz-appearance: none) {
    html { scrollbar-width: thin; scrollbar-color: var(--c-scroll) var(--c-bg); }
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container-max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    border-radius: var(--r-pill);
    background: var(--c-ink);
    color: var(--c-on-ink);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

.text-accent { color: var(--c-green); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Sektionen & Hintergründe ---------- */
.section { padding-block: var(--section-y); }
.section--ivory { background: var(--c-bg); }
.section--mint { background: var(--c-mint); }
.section--white { background: var(--c-surface); }
/* Gleiche Hintergründe direkt hintereinander → oberes Padding der zweiten Sektion entfällt */
.section--ivory + .section--ivory,
.section--mint + .section--mint { padding-top: 0; }
/* Übersicht → E-Auto-Karte → Vor-Ort-Service laufen auf Weiß ineinander */
.overview + .ev,
.ev + .onsite { padding-top: 0; }

main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
    --btn-h: 52px;
    --btn-px: 1.5rem;
    --btn-bg: var(--c-ink);
    --btn-fg: var(--c-on-ink);
    --btn-bg-hover: var(--c-ink-hover);
    --box-bg: var(--c-on-ink);
    --box-fg: var(--c-ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: var(--btn-h);
    padding: 0 var(--btn-px);
    border: 0;
    border-radius: 10px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 1rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: scale(0.98); }

.btn--sm { --btn-h: 44px; --btn-px: 1.125rem; font-size: var(--fs-small); gap: 0.5rem; }
.btn--lg { --btn-h: 60px; --btn-px: 1.75rem; font-size: 1.0625rem; }

.btn--secondary { --btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bg-hover: var(--c-lime-soft); }
.btn--lime { --btn-bg: var(--c-lime); --btn-fg: var(--c-forest); --btn-bg-hover: var(--c-lime-2); }
.btn--light { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; --btn-bg-hover: rgba(255, 255, 255, 0.18); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bg-hover: var(--c-mint); }
.btn--block { width: 100%; }
/* Volle Breite: Text links, Pfeil-Box rechts (sonst überdeckt die Füllebene die Box) */
.btn--block, .btn--block .btn__fill { justify-content: flex-start; }
.btn--block .btn__bubble { margin-left: auto; }

/* Text-Roll beim Hover */
.btn__label {
    display: inline-flex;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25;
}
.btn__text {
    position: relative;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.btn__icon { display: inline-flex; flex-shrink: 0; }
.btn__icon--start .brand-icon--google { background: #fff; border-radius: 50%; padding: 2px; box-sizing: content-box; }

/* Pfeil-Bubble mit Morph */
.btn--bubble { --bubble: calc(var(--btn-h) - 0.75rem); --box-ease: cubic-bezier(0.65, 0, 0.35, 1); --box-dur: 1.1s; padding-right: 0.375rem; }
.btn__bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--bubble);
    height: var(--bubble);
    margin-left: 0.375rem;
    flex-shrink: 0;
    color: var(--box-fg);
}
.btn--box::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0.375rem;
    right: 0.375rem;
    bottom: 0.375rem;
    width: var(--bubble);
    border-radius: 7px;
    background: var(--box-bg);
    transition: width var(--box-dur) var(--box-ease);
}
.btn--box:hover::before, .btn--box:focus-visible::before { width: calc(100% - 0.75rem); }
.btn__fill {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: inherit;
    padding: 0 0.375rem 0 var(--btn-px);
    color: var(--box-fg);
    pointer-events: none;
    clip-path: inset(0.375rem 0.375rem 0.375rem calc(100% - 0.375rem - var(--bubble)) round 7px);
    transition: clip-path var(--box-dur) var(--box-ease);
}
.btn__fill .btn__bubble { color: transparent; }
.btn--box:hover .btn__fill, .btn--box:focus-visible .btn__fill { clip-path: inset(0.375rem 0.375rem 0.375rem 0.375rem round 7px); }
.btn--lime { --box-bg: var(--c-forest); --box-fg: var(--c-lime); }
.btn--secondary { --box-bg: var(--c-lime); --box-fg: var(--c-forest); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 639px) {
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row .btn { width: 100%; }
    .btn-row--single .btn { width: 100%; }
}

/* Icon-Buttons */
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-surface);
    color: var(--c-ink);
    text-decoration: none;
    transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.icon-btn:hover { background: var(--c-lime-soft); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--primary { background: var(--c-ink); color: var(--c-on-ink); }
.icon-btn--primary:hover { background: var(--c-ink-hover); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn:disabled:hover { background: var(--c-surface); }
.icon-btn--primary:disabled:hover { background: var(--c-ink); }

/* Text-Link */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--c-ink);
    font-weight: 600;
    font-size: var(--fs-small);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--c-ink) 30%, transparent);
    transition: color 0.3s, text-decoration-color 0.3s;
}
.text-link:hover { color: var(--c-green); text-decoration-color: currentColor; }

/* ---------- Chips, Tags, Sterne ---------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.9375rem 0.4375rem 0.8125rem;
    border-radius: var(--r-pill);
    background: var(--c-surface);
    color: var(--c-ink-soft);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); flex-shrink: 0; }
.chip .icon { color: var(--c-green); flex-shrink: 0; }
.chip--forest { background: var(--c-forest); color: var(--c-lime); }
.chip--forest .icon { color: var(--c-lime); }
.chip--on-dark { background: rgba(255, 255, 255, 0.08); color: var(--c-lime); }
.chip--on-dark .chip__dot { background: var(--c-lime); }
.chip--on-dark .icon { color: #fff; }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.8125rem;
    border-radius: var(--r-pill);
    background: var(--c-mint);
    color: var(--c-ink-soft);
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.4;
}
.tag--lg { padding: 0.5rem 1rem; font-size: var(--fs-small); background: var(--c-surface); color: var(--c-ink); }
.tag--outline { background: var(--c-mint); }

.stars { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.stars__fg { fill: var(--c-star); }
.stars__bg { fill: var(--c-star-empty); }

/* ---------- Logo ---------- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--c-ink);
    text-decoration: none;
    flex-shrink: 0;
}
.logo__mark { flex-shrink: 0; transition: transform 0.6s var(--ease-out); }
/* Logo-Datei ist weiß auf transparent → im hellen Modus per Filter schwarz, im Dark-Mode weiß (siehe Dark-Theme) */
.logo__img { display: block; flex-shrink: 0; width: auto; height: 38px; filter: brightness(0); }
.site-footer__logo .logo__img { height: 48px; }
.logo__m { stroke: var(--c-lime); }
.logo__text { display: grid; line-height: 1.05; }
.logo__name {
    color: var(--c-ink);
    font-size: 1.1875rem;
    font-weight: 650;
    letter-spacing: -0.035em;
}
.logo__tagline {
    margin-top: 0.1875rem;
    color: var(--c-ink-mute);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ---------- Section-Heading ---------- */
.section-heading {
    display: grid;
    justify-items: start;
    gap: 1.5rem;
    max-width: 44rem;
}
.section-heading--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-heading__title { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.section-heading__lead {
    max-width: 26rem;
    color: var(--c-ink-soft);
    font-size: var(--fs-body);
    line-height: 1.55;
}
@media (min-width: 900px) and (max-width: 1199px) { .section-heading__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); } }
/* Ab Desktop: Lead so breit wie der Titel (trägt selbst keine Breite bei, füllt aber die Titelbreite). */
@media (min-width: 900px) {
    .section-heading--fit-lead { width: fit-content; }
    .section-heading--fit-lead .section-heading__lead { max-width: none; justify-self: stretch; contain: inline-size; }
}
.section-heading--on-dark .section-heading__title { color: #fff; }
.section-heading--on-dark .section-heading__lead { color: var(--c-on-forest-soft); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding-block: 0;
    /* Hintergrund wechselt sofort (kein Fade) – sonst schimmert der Hero beim Scrollen durch die Navbar */
    transition: transform 0.5s var(--ease-out);
}
.site-header.is-scrolled { background: var(--c-bg); }
.site-header.is-past-hero { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header__inner {
    height: calc(var(--header-h) - var(--topbar-h));
    padding-block: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
/* Desktop: Leiste wird beim Scrollen etwas flacher (mobil bleibt die Höhe konstant) */
@media (min-width: 1140px) {
    .site-header.is-scrolled {
        background: color-mix(in srgb, var(--c-bg) 94%, transparent);
        -webkit-backdrop-filter: blur(16px) saturate(1.4);
        backdrop-filter: blur(16px) saturate(1.4);
    }
    .site-header__inner { transition: height 0.5s var(--ease-out); }
    .site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - var(--topbar-h) - 0.75rem); }
}
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.site-header__call, .site-header__lang { display: none; }
/* Hell/Dunkel-Button erst ab Desktop, mobil steckt er im Menü (Selektor stärker als .theme-toggle weiter unten) */
.site-header__actions .site-header__theme { display: none; }

/* Sprachwechsler */
.lang { position: relative; }
.lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 44px;
    padding: 0 0.25rem;
    border: 0;
    background: none;
    color: var(--c-ink-soft);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s var(--ease-out);
}
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { color: var(--c-ink); }
.lang__flag { display: block; flex-shrink: 0; border-radius: 10% / 15%; overflow: hidden; }
.lang__chevron { display: inline-flex; transition: transform 0.4s var(--ease-out); }
.lang__toggle[aria-expanded="true"] .lang__chevron { transform: rotate(180deg); }
.lang__menu, .nav__menu {
    position: absolute;
    top: calc(100% + 0.375rem);
    right: 0;
    z-index: 70;
    min-width: 11rem;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    border-radius: var(--r-sm);
    border: 1px solid var(--c-line-soft);
    background: var(--c-surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.lang.is-open .lang__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.2s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s;
}
.lang__option, .nav__menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.25s var(--ease-out);
}
.lang__option:hover, .lang__option:focus-visible,
.nav__menu-link:hover, .nav__menu-link:focus-visible { background: var(--c-mint); }
.lang__option span:not(.lang__check) { flex: 1; }
.lang__check { display: inline-flex; opacity: 0; }
.lang__option.is-current .lang__check { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .lang__menu, .lang__chevron, .nav__menu, .nav__toggle .icon { transition-duration: 0.01s; transition-delay: 0s; }
}


.nav { position: relative; display: none; padding: 4px; }
.nav__list { position: relative; z-index: 1; display: flex; gap: 2px; }
.nav__link {
    display: block;
    padding: 0.625rem 0.875rem;
    border-radius: var(--r-pill);
    color: var(--c-ink-soft);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.nav__link { position: relative; }
.nav__link::after {
    content: "";
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0.375rem;
    height: 1px;
    border-radius: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--c-ink); }
.nav__link.is-active:hover { color: var(--c-green); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--c-green); background: transparent; }
.nav__indicator {
    display: none;
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 0;
    border-radius: var(--r-pill);
    background: var(--c-lime);
    opacity: 0;
    transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.3s;
}
.nav__indicator.is-visible { opacity: 1; }

/* Einträge mit Dropdown: Link zur Sektion + Chevron-Button; öffnet bei Hover oder Klick */
.nav__item--menu { position: relative; display: flex; align-items: center; }
.nav__item--menu .nav__link { padding-right: 0.25rem; }
.nav__item--menu .nav__link::after { right: 0.25rem; }
.nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 32px;
    margin-right: 0.375rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-ink-soft);
    cursor: pointer;
    transition: color 0.3s var(--ease-out);
}
.nav__toggle .icon { transition: transform 0.4s var(--ease-out); }
.nav__toggle[aria-expanded="true"] { color: var(--c-ink); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__menu {
    --menu-anchor: 48px;
    left: 0;
    right: auto;
    top: calc(100% + 0.8rem);
    min-width: 17rem;
    padding: 0.5rem;
    transform-origin: var(--menu-anchor) -12px;
    transform: translateY(-10px) scale(0.94);
    filter: blur(3px);
    transition: opacity 180ms ease-in, transform 260ms cubic-bezier(0.4, 0, 1, 1), filter 180ms ease-in, visibility 0s linear 260ms;
}
.nav__item--menu.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: opacity 180ms ease-out, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), filter 240ms ease-out, visibility 0s;
}
/* Unsichtbare Brücke über den Abstand, damit das Hover-Menü beim Hinbewegen offen bleibt */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.2rem; }
.nav__menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: var(--menu-anchor);
    width: 14px;
    height: 14px;
    background: var(--c-surface);
    border-top: 1px solid var(--c-line-soft);
    border-left: 1px solid var(--c-line-soft);
    transform: translate(-50%, -50%) rotate(45deg);
}
.nav__menu > li {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 100ms ease-in var(--exit-delay, 0ms), transform 160ms ease-in var(--exit-delay, 0ms);
}
.nav__item--menu.is-open .nav__menu > li {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 240ms ease-out var(--enter-delay, 0ms), transform 420ms cubic-bezier(0.16, 1, 0.3, 1) var(--enter-delay, 0ms);
}
.nav__menu-link { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .nav__menu, .nav__item--menu.is-open .nav__menu,
    .nav__menu > li, .nav__item--menu.is-open .nav__menu > li { transition: none; filter: none; transform: none; }
}

@media (min-width: 1140px) {
    .nav { display: block; }
    .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .site-header__logo { justify-self: start; }
    .site-header__call { display: inline-flex; }
    .site-header__lang { display: block; }
    .site-header__actions .site-header__theme { display: inline-grid; }
}

/* Topbar */
.topbar {
    height: var(--topbar-h);
    background: var(--c-forest);
    color: var(--c-on-forest);
    font-size: var(--fs-xs);
}
.topbar__ticker { height: var(--topbar-h); overflow: hidden; }
.topbar__ticker .topbar__address { display: flex; height: var(--topbar-h); }
/* Rollanimation: Adresse und Hinweis wechseln sich ab */
@media (prefers-reduced-motion: no-preference) {
    .topbar__track { animation: topbar-roll 8s cubic-bezier(0.76, 0, 0.24, 1) infinite; }
}
@keyframes topbar-roll {
    0%, 42% { transform: translateY(0); }
    50%, 92% { transform: translateY(calc(var(--topbar-h) * -1)); }
    100% { transform: translateY(calc(var(--topbar-h) * -2)); }
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.topbar__address, .topbar__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--c-on-forest); text-decoration: none; }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; }
.topbar__link { font-weight: 600; color: #fff; }
.topbar__link { position: relative; }
.topbar__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    border-radius: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-out);
}
.topbar__link:hover, .topbar__link:focus-visible { color: var(--c-lime); }
.topbar__link:hover::after, .topbar__link:focus-visible::after { transform: scaleX(1); }
/* Mobil: ein Ticker rollt Adresse → Termine → Telefon → WhatsApp durch (Desktop unverändert) */
.topbar__ticker--mobile { display: none; }
.topbar__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: var(--topbar-h);
    color: var(--c-on-forest);
    text-decoration: none;
    white-space: nowrap;
}
.topbar__item--link { color: #fff; font-weight: 600; }
@media (max-width: 639px) {
    .topbar__ticker:not(.topbar__ticker--mobile), .topbar__links { display: none; }
    .topbar__ticker--mobile { display: block; flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
    .topbar__track--mobile { animation: topbar-roll-4 14s cubic-bezier(0.76, 0, 0.24, 1) infinite; }
}
@keyframes topbar-roll-4 {
    0%, 21% { transform: translateY(0); }
    25%, 46% { transform: translateY(calc(var(--topbar-h) * -1)); }
    50%, 71% { transform: translateY(calc(var(--topbar-h) * -2)); }
    75%, 96% { transform: translateY(calc(var(--topbar-h) * -3)); }
    100% { transform: translateY(calc(var(--topbar-h) * -4)); }
}

/* Hamburger mit Morph */
.burger {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-ink);
}
.burger__line {
    position: absolute;
    /* bündig mit der rechten Containerkante (kein Kreis mehr dahinter) */
    right: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    translate: 0 0;
    rotate: 0deg;
    transition: translate 0.25s var(--ease-out) 0.2s, rotate 0.25s var(--ease-out) 0s, width 0.3s var(--ease-out);
}
.burger__line:nth-child(1) { top: 19px; }
.burger__line:nth-child(2) { top: 27px; width: 14px; }
.burger:hover .burger__line:nth-child(2) { width: 20px; }
.burger[aria-expanded="true"] .burger__line {
    width: 20px;
    transition: translate 0.25s var(--ease-out) 0s, rotate 0.3s var(--ease-out) 0.2s, width 0.3s var(--ease-out);
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { translate: 0 4px; rotate: 45deg; }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { translate: 0 -4px; rotate: -45deg; }

@media (min-width: 1140px) {
    .burger { display: none; }
}

/* Mobiles Menü */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-bg);
    padding-top: calc(var(--header-h) + 0.5rem);
    padding-bottom: 2rem;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
}
.mobile-menu.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0s;
}
/* Header nach dem Hero ohne Kontaktleiste: Links rücken direkt darunter */
.site-header.is-past-hero ~ .mobile-menu { padding-top: calc(var(--header-h) - var(--topbar-h) + 0.5rem); }
.mobile-menu__inner { display: flex; flex-direction: column; min-height: 100%; gap: 2rem; }
.mobile-menu__list { display: grid; }
.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    color: var(--c-ink);
    font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-decoration: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.mobile-menu__link .icon { color: var(--c-green); transition: transform 0.4s var(--ease-out); }
.mobile-menu__link:hover { color: var(--c-green); }

.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__item:nth-child(1) .mobile-menu__link { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) .mobile-menu__link { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) .mobile-menu__link { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) .mobile-menu__link { transition-delay: 0.33s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(5) .mobile-menu__link { transition-delay: 0.38s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(6) .mobile-menu__link { transition-delay: 0.43s; }
.mobile-menu__contact {
    display: grid;
    gap: 0.625rem;
    margin-top: auto;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__contact { opacity: 1; transition-delay: 0.45s; }
/* Sprache + Hell/Dunkel untereinander, Abstand zu den Kontakt-Buttons */
.mobile-menu__prefs { display: grid; gap: 0.5rem; margin-bottom: 0.875rem; }
.mobile-menu__prefs .lang-switch { height: 48px; padding: 0.3125rem; }
.mobile-menu__prefs .lang-switch__thumb { top: 0.3125rem; bottom: 0.3125rem; left: 0.3125rem; width: calc((100% - 0.625rem) / var(--count)); }
.mobile-menu__prefs .lang-switch__option { font-size: 1rem; }
.mobile-menu__note { color: var(--c-ink-mute); font-size: var(--fs-xs); }
/* Buttons im Menü: Text links, Pfeil-Box rechts */
.mobile-menu__contact .btn,
.mobile-menu__contact .btn__fill { justify-content: flex-start; }
.mobile-menu__contact .btn__bubble { margin-left: auto; }

/* Gutachten/Service: Zeile mit Link + Chevron, darunter ausklappbarer Slider der Unterseiten */
.mobile-menu__row { padding: 0; }
.mobile-menu__row-link { flex: 1; min-width: 0; padding: 0.875rem 0; color: inherit; text-decoration: none; }
.mobile-menu__toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin-right: -11px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--c-green);
    cursor: pointer;
}
.mobile-menu__toggle .icon { transition: transform 0.45s var(--ease-out); }
.mobile-menu__item--group.is-expanded .mobile-menu__toggle .icon { transform: rotate(180deg); }
.mobile-menu__sub {
    display: grid;
    grid-template-rows: 0fr;
    margin-inline: calc(-1 * var(--gutter));
    transition: grid-template-rows 0.5s var(--ease-in-out);
}
.mobile-menu__item--group.is-expanded .mobile-menu__sub { grid-template-rows: 1fr; }
.mobile-menu__sub-inner { min-height: 0; overflow: hidden; }
.mobile-menu__viewport { overflow: hidden; padding: 0.25rem var(--gutter) 1rem; }
.mobile-menu__viewport.is-draggable { cursor: grab; }
.mobile-menu__viewport.is-dragging { cursor: grabbing; }
.mobile-menu__track { display: flex; gap: 0.625rem; margin: 0; padding: 0; list-style: none; touch-action: pan-y pinch-zoom; }
.mobile-menu__slide { flex: 0 0 auto; max-width: 78%; min-width: 0; }
.mobile-menu__card {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    height: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--c-surface);
    color: var(--c-ink);
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s;
}
.mobile-menu__item--group.is-expanded .mobile-menu__card { opacity: 1; transform: none; }
.mobile-menu__item--group.is-expanded .mobile-menu__slide:nth-child(2) .mobile-menu__card { transition-delay: 0.05s, 0.05s, 0s, 0s; }
.mobile-menu__item--group.is-expanded .mobile-menu__slide:nth-child(3) .mobile-menu__card { transition-delay: 0.1s, 0.1s, 0s, 0s; }
.mobile-menu__item--group.is-expanded .mobile-menu__slide:nth-child(4) .mobile-menu__card { transition-delay: 0.15s, 0.15s, 0s, 0s; }
.mobile-menu__card:hover, .mobile-menu__card.is-active { background: var(--c-ink); color: var(--c-on-ink); }
.mobile-menu__card-label { overflow: hidden; font-size: var(--fs-small); font-weight: 500; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.mobile-menu__card .icon { flex: none; }
@media (prefers-reduced-motion: reduce) {
    .mobile-menu__sub, .mobile-menu__card, .mobile-menu__toggle .icon { transition: none; }
}

/* Sprach-Umschalter: Segmente in Button-Höhe, schwarzer Indikator gleitet zur gewählten Sprache */
.lang-switch {
    --count: 2;
    --index: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--count), minmax(0, 1fr));
    height: 60px;
    padding: 0.375rem;
    border-radius: 10px;
    background: var(--c-surface);
}
.lang-switch__thumb {
    position: absolute;
    top: 0.375rem;
    bottom: 0.375rem;
    left: 0.375rem;
    width: calc((100% - 0.75rem) / var(--count));
    border-radius: 7px;
    background: var(--c-ink);
    transform: translateX(calc(100% * var(--index)));
    transition: transform 0.45s var(--ease-out);
}
.lang-switch__option {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0 0.875rem;
    color: var(--c-ink);
    font-size: 1.0625rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.35s var(--ease-out);
}
.lang-switch__option.is-current { color: var(--c-on-ink); }
.lang-switch[data-index="1"] { --index: 1; }
@media (prefers-reduced-motion: reduce) { .lang-switch__thumb { transition: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-offset, var(--header-h)) + 0.5rem);
    padding-bottom: 0;
    background: var(--c-surface);
}
/* Card: liegt technisch randlos über die volle Breite und wird per clip-path auf Containerbreite
   beschnitten. Beim Scrollen fährt --hero-progress von 0 auf 1: Inset und Radius gehen auf 0 (GPU, kein Layout). */
.hero__card {
    --hero-progress: 0;
    --hero-radius: 14px;
    --hero-inset: calc(var(--hero-edge, var(--edge)) * (1 - var(--hero-progress)));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: clamp(32rem, calc(100svh - var(--header-offset, var(--header-h)) - 2rem), 60rem);
    padding-block: clamp(1.5rem, 0.75rem + 3.5vw, 4.5rem);
    background: #05070d url("../img/hero-crash-poster.webp") 70% 50% / cover no-repeat;
    color: #fff;
    clip-path: inset(0 var(--hero-inset) round calc(var(--hero-radius) * (1 - var(--hero-progress))));
}
/* Tagsüber: Standbild der Autobahn-Luftaufnahme */
.hero__card--day { background-image: url("../img/hero-day-poster.webp"); }
/* Eigenes Hero-Bild aus dem Admin-Bereich: nur das Video-Standbild zeigen, nicht kurz das Standardbild */
.hero__card--custom { background-image: none; }
.hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
    /* Etwas mehr Kontrast/Sättigung lässt das komprimierte Video knackiger wirken */
    filter: contrast(1.06) saturate(1.08);
}
/* Feines Filmkorn kaschiert Kompressionsartefakte (Inline-SVG-Noise, kein Extra-Request) */
.hero__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.09;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Lesbarkeit: Verlauf von links und von unten hinter dem Text, rechts bleibt das Video frei */
.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.12) 65%, rgba(0, 0, 0, 0) 80%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
}
@media (max-width: 767px) {
    .hero__shade { background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.15) 80%, rgba(0, 0, 0, 0) 100%); }
}
.hero__content { position: relative; width: 100%; }

/* Bewertung, Titel und Text als Block; der Text übernimmt exakt die Breite des Titels */
.hero__copy {
    --hero-pad: clamp(1.5rem, 0.75rem + 3.5vw, 4.5rem);
    position: relative;
    display: grid;
    justify-items: start;
    width: fit-content;
    max-width: calc(100% - 2 * var(--hero-pad));
    margin-left: var(--hero-pad);
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}
.hero__rating { margin-bottom: clamp(1rem, 2vw, 1.5rem); color: #fff; }
.hero__rating .rating-chip__value { color: #fff; }
.hero__rating .rating-chip__label { color: rgba(255, 255, 255, 0.78); }
.hero__title {
    position: relative;
    color: #fff;
    font-size: clamp(2.5rem, 1rem + 4.4vw, 5.75rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.055em;
    text-wrap: initial;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line-inner { display: inline-block; white-space: nowrap; }
.hero__lead {
    justify-self: stretch;
    contain: inline-size;
    margin-top: clamp(1.25rem, 2vw, 2rem);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-body);
    line-height: 1.55;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: clamp(1.5rem, 2.5vw, 2.25rem); text-shadow: none; }

/* Nächster freier Termin: Glasfläche in Höhe, Radius und Innenabstand der Buttons (.btn), Porträt links */
.next-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}
.next-slot:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.35); }
.next-slot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Porträt so hoch wie die beiden Textzeilen daneben; Status-Punkt unten rechts wie bei Discord.
   Der Spalt um den Punkt ist aus dem Bild ausgestanzt (Maske), damit er auch auf der Glasfläche durchsichtig ist. */
.next-slot__avatar { --dot: 10px; --gap: 2px; position: relative; flex: none; width: var(--next-slot-text-h); height: var(--next-slot-text-h); }
.next-slot__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    -webkit-mask: radial-gradient(circle at calc(100% - var(--dot) / 2) calc(100% - var(--dot) / 2), transparent calc(var(--dot) / 2 + var(--gap)), #000 calc(var(--dot) / 2 + var(--gap) + 0.5px));
    mask: radial-gradient(circle at calc(100% - var(--dot) / 2) calc(100% - var(--dot) / 2), transparent calc(var(--dot) / 2 + var(--gap)), #000 calc(var(--dot) / 2 + var(--gap) + 0.5px));
}
.next-slot__status { position: absolute; right: 0; bottom: 0; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--c-success); }
.next-slot__text { display: grid; gap: 0.0625rem; line-height: 1.25; }
.next-slot__label { color: rgba(255, 255, 255, 0.72); font-size: 0.75rem; }
.next-slot__when { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
/* Zwei Zeilen: 0.75rem und 0.9375rem bei Zeilenhöhe 1.25 plus Zeilenabstand */
.next-slot { --next-slot-text-h: calc((0.75rem + 0.9375rem) * 1.25 + 0.0625rem); }
/* Handy: Text und Button nutzen die volle Card-Breite, Innenabstand kompakter */
@media (max-width: 767px) {
    /* Inhalt mittig: Abstand Navigation → Bewertung = Abstand Button → Unterkante.
       Unten kommt die Lücke zwischen Navigation und Card (0.5rem, siehe .hero) hinzu. */
    .hero__card { --hero-progress: 1; align-items: center; padding-block: calc(var(--gutter) + 1.25rem) calc(var(--gutter) + 1.75rem); }
    /* Text auf voller Containerbreite wie in den übrigen Sections */
    .hero__copy { --hero-pad: 0px; width: auto; flex: 1; }
    .hero__actions { justify-self: stretch; }
    .hero__actions .btn, .hero__actions .next-slot { width: 100%; }
    .hero__actions .btn, .hero__actions .btn__fill { justify-content: flex-start; }
    .hero__actions .btn__bubble { margin-left: auto; }
}

@media (prefers-reduced-motion: no-preference) {
    html.js .hero__card { animation: hero-card-in 1.2s var(--ease-out) both; }
}
@keyframes hero-card-in { from { opacity: 0; } }

.rating-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--c-ink);
    font-size: var(--fs-small);
    text-decoration: none;
}
.rating-chip:hover .rating-chip__label { text-decoration: underline; }
.rating-chip__value { font-weight: 650; }
.rating-chip__label { color: var(--c-ink-mute); }

/* Routen-Karte */
.route-card {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-xl);
    background: var(--c-forest);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
@media (max-width: 1023px) { .route-card { aspect-ratio: 1 / 1; max-height: 640px; width: 100%; } }
@media (max-width: 479px) { .route-card { aspect-ratio: 5 / 6; } }

.route-card__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-card__streets path { fill: none; stroke: var(--c-forest-2); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.route-card__river { fill: none; stroke: #2A2A2A; stroke-width: 24; stroke-linecap: round; }
.route-card__rail { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5; stroke-dasharray: 3 7; }
.route-card__route-base { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.5 11; }
.route-card__route { fill: none; stroke: var(--c-lime); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.route-card__office circle:first-child { fill: var(--c-forest); stroke: var(--c-lime); stroke-width: 3; }
.route-card__office-dot { fill: var(--c-lime); }
.route-card__label rect { fill: #fff; }
.route-card__label text { fill: var(--c-forest); font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.route-card__label--light rect { fill: var(--c-lime); }
.route-card__label--light text { fill: var(--c-forest); }
.route-card__pin { fill: var(--c-lime); }
.route-card__pin-dot { fill: var(--c-forest); }
.route-card__pulse {
    fill: none;
    stroke: var(--c-lime);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
}
.route-card__car circle { fill: var(--c-lime); }
.route-card__bolt { fill: var(--c-forest); }

.route-card__chip {
    position: absolute;
    top: 1.125rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.5rem 0.875rem 0.5rem 0.75rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.3;
}
.route-card__chip .icon { color: var(--c-lime); }
.route-card__chip--top { left: 1.125rem; }
.route-card__chip--area { right: 1.125rem; }
@container (max-width: 400px) { .route-card__chip--area { display: none; } }

.route-card__status {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem 1rem;
    border-radius: 22px;
    background: var(--c-surface);
    color: var(--c-ink);
}
.route-card__status-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--c-lime);
    color: var(--c-forest);
}
.route-card__status-text { display: grid; line-height: 1.35; }
.route-card__status-text strong { font-size: var(--fs-small); font-weight: 650; }
.route-card__status-text span { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.route-card__progress {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: var(--r-pill);
    background: var(--c-surface-3);
    overflow: hidden;
}
.route-card__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--c-green);
    transform-origin: left center;
    transform: scaleX(1);
}

/* ==========================================================================
   E-Fahrzeug-Hinweis
   ========================================================================== */
/* The overview supplies the top gap; this section supplies the bottom gap. */
.ev { padding-top: 0; padding-bottom: var(--section-y); }
.ev__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 64rem;
    margin-inline: auto;
    text-align: center;
}
.ev__portrait {
    display: block;
    width: clamp(7rem, 12vw, 10rem);
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 1.75rem;
    border-radius: 50%;
    object-fit: cover;
}
.ev__text {
    max-width: 36em;
    margin-top: 1rem;
    font-size: clamp(1.25rem, 1.1rem + 1.1vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--c-ink);
    text-wrap: balance;
}
.ev__info { color: var(--c-ink-mute); }
@media (min-width: 768px) {
    .ev__line { display: block; white-space: nowrap; }
}


/* ==========================================================================
   Vor-Ort-Service
   ========================================================================== */
.onsite__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 1024px) {
    .onsite__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
    .onsite__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.onsite__text { margin-top: 1.25rem; max-width: 34rem; color: var(--c-ink-soft); }

.places { display: grid; }
@media (min-width: 640px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.place-card {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    padding: clamp(1.5rem, 2.4vw, 2.25rem);
    border: 0 solid var(--c-line, rgba(0, 0, 0, 0.16));
}
.place-card:not(:last-child) { border-bottom-width: 1px; }
@media (max-width: 639px) { .place-card { padding-inline: 0; } .place-card__text { text-wrap: wrap; } }
@media (min-width: 640px) {
    .place-card:not(:last-child) { border-bottom-width: 0; }
    .place-card:nth-child(odd) { border-right-width: 1px; }
    .place-card:nth-child(-n+2) { border-bottom-width: 1px; }
    .place-card:nth-child(odd) { padding-left: 0; }
    .place-card:nth-child(even) { padding-right: 0; }
    .place-card:nth-child(-n+2) { padding-top: 0; }
    .place-card:nth-child(n+3) { padding-bottom: 0; }
}
.place-card__icon { display: inline-flex; margin-bottom: 0.5rem; color: var(--c-ink); }
.place-card__title { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-h3); letter-spacing: -0.025em; }
/* Icon oben an der ersten Zeile ausrichten, auch wenn der Titel umbricht */
.place-card__title .cost-item__check { margin-top: calc((1lh - 22px) / 2); }
.place-card__text { color: var(--c-ink-soft); font-size: var(--fs-small); }

.appointment {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1.25rem;
    color: var(--c-ink-mute);
    font-size: var(--fs-small);
}
.appointment .icon { flex-shrink: 0; margin-top: 0.2em; color: currentColor; }

/* ==========================================================================
   Leistungen (Bento)
   ========================================================================== */
.services__top { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__heading { max-width: 36rem; }
.services__benefits { display: grid; gap: 0.75rem; }
.services__benefits li { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--c-ink); font-size: var(--fs-small); font-weight: 500; }
.services__benefits .icon { margin-top: 0.1em; }
@media (min-width: 900px) {
    .services__top { grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); }
}

.services { overflow-x: clip; }
.services__top { margin-bottom: clamp(2rem, 4vw, 3rem); }
.services__line { display: block; }
@media (min-width: 1100px) {
    .services__heading { max-width: none; }
    .services__heading .section-heading__title { font-size: min(2.6vw, 2.5rem); }
    .services__line { white-space: nowrap; }
}

/* ==========================================================================
   Kosten / Ihre Rechte
   ========================================================================== */
.costs__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 1024px) {
    .costs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
    .costs__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.costs__note {
    display: flex;
    gap: 0.625rem;
    max-width: 30rem;
    margin-top: 2rem;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
}
.costs__note .icon { flex-shrink: 0; margin-top: 0.15em; }
.costs__list { display: grid; gap: 1rem; }
.cost-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: clamp(1.375rem, 2.2vw, 1.875rem);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}
.cost-item__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--c-lime);
    color: var(--c-forest);
}
.cost-item__check { flex-shrink: 0; margin-top: 0.1em; color: var(--c-success); }
.cost-item__check circle { fill: currentColor; }
.cost-item__check path { stroke: #fff; stroke-width: 2; }
.cost-item__title { font-size: 1.25rem; letter-spacing: -0.02em; }
.cost-item__text { margin-top: 0.375rem; max-width: 30rem; color: var(--c-ink-soft); font-size: var(--fs-body); }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps { position: relative; }
.steps__list { display: grid; gap: 2.5rem; }
.steps__track {
    position: absolute;
    left: 31px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--c-ink) 12%, transparent);
}
.steps__progress {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--c-ink);
    transform-origin: top center;
    transform: scaleY(1);
}
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
.step__icon {
    position: relative;
    z-index: 1;
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-bg);
    color: var(--c-ink);
    transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.step.is-active .step__icon { background: var(--c-ink); color: var(--c-on-ink); }
.step__title { padding-top: 0.875rem; font-size: var(--fs-h3); letter-spacing: -0.025em; }
.step__text { margin-top: 0.5rem; color: var(--c-ink-soft); font-size: var(--fs-body); max-width: 24rem; }

.process { overflow-x: clip; padding-top: 0; }
.process__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.process__content { min-width: 0; }
.process .steps { margin-top: clamp(2rem, 3vw, 3rem); }
.process .steps__list { gap: 1.75rem; }
.process .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 1.25rem; }
.process .step__icon { width: 48px; height: 48px; }
.process .step__number { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.process .step__title { padding-top: 0.5rem; }
.process .steps__track { left: 23px; top: 24px; bottom: 24px; }
.process__media {
    position: relative;
    align-self: center;
    margin: 0 calc(-1 * var(--gutter));
    overflow: hidden;
    background: var(--c-surface-3);
    aspect-ratio: 1;
}
.process__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 900px) {
    .process__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
    .process__media { margin: 0 0 0 calc(-1 * var(--edge)); }
}

/* ==========================================================================
   Motto
   ========================================================================== */
.motto__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(2.5rem, 6vw, 5rem);
    background: var(--c-forest);
    text-align: center;
}
.motto__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}
.motto__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.62);
}
.motto__text {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    text-wrap: balance;
}
.motto__text .text-accent { color: var(--c-lime); }
.motto__footer { margin-top: 0.75rem; }
.motto__sub { color: rgba(255, 255, 255, 0.75); font-size: var(--fs-small); }

/* ==========================================================================
   Bewertungen
   ========================================================================== */
.reviews { overflow-x: clip; }
.reviews__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.carousel-controls { display: flex; gap: 0.5rem; }
.reviews__grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
    .reviews__grid { grid-template-columns: 360px minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
}

.rating-card {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    border-radius: var(--r-xl);
    background: var(--c-bg);
}
.rating-card__profile {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    align-self: flex-start;
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
}
.rating-card__profile img { width: 44px; height: 44px; }
.rating-card__profile .icon { color: var(--c-ink-mute); transition: transform 0.4s var(--ease-out), color 0.3s; }
.rating-card__profile:hover .icon { color: var(--c-green); }
.rating-card__score { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 1.25rem; }
.rating-card__value {
    font-size: clamp(4rem, 3rem + 3vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
}
.rating-card__max { color: var(--c-ink-mute); font-size: 1.25rem; font-weight: 500; }
.rating-card__count { color: var(--c-ink-mute); font-size: var(--fs-small); }
.rating-card__actions { display: grid; gap: 0.625rem; margin-top: auto; padding-top: 1.25rem; }
.rating-card .btn--secondary { --btn-bg: var(--c-mint); --btn-bg-hover: var(--c-lime-soft); }

.reviews__carousel { min-width: 0; }
.embla__viewport { overflow: hidden; margin-right: calc(-1 * var(--edge)); padding-right: var(--edge); }
.embla__container { display: flex; touch-action: pan-y pinch-zoom; margin-left: -1rem; }
.embla__slide { flex: 0 0 86%; min-width: 0; padding-left: 1rem; }
@media (min-width: 640px) { .embla__slide { flex-basis: 58%; } }
@media (min-width: 1024px) { .embla__slide { flex-basis: 400px; } }
.embla.is-draggable .embla__viewport { cursor: grab; }
.embla.is-dragging .embla__viewport { cursor: grabbing; }

.review-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: clamp(1.5rem, 2.4vw, 2rem);
    border-radius: var(--r-lg);
    background: var(--c-bg);
}
.review-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.875rem; }
.review-card__avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--c-forest);
    color: var(--c-lime);
    font-size: var(--fs-small);
    font-weight: 600;
}
.review-card__author { font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-card__time { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.review-card__text {
    color: var(--c-ink-soft);
    font-size: var(--fs-small);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
}
.review-card.is-expanded .review-card__text { -webkit-line-clamp: unset; line-clamp: unset; }
.review-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    align-self: flex-start;
    padding: 0.25rem 0;
    border: 0;
    background: none;
    color: var(--c-ink);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.review-card__more .icon { transition: transform 0.4s var(--ease-out); }
.review-card.is-expanded .review-card__more .icon { transform: rotate(180deg); }
.review-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
}
.review-card__link:hover { color: var(--c-green); }

.carousel-dots { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--c-ink) 20%, transparent);
    transition: width 0.45s var(--ease-out), background-color 0.3s;
}
.carousel-dot.is-selected { width: 28px; background: var(--c-ink); }
.reviews__excerpt { margin-top: 1rem; color: var(--c-ink-mute); font-size: var(--fs-xs); }

.invite-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.125rem;
    padding: clamp(1.75rem, 4vw, 3.5rem);
    border-radius: var(--r-xl);
    background: var(--c-forest);
    color: var(--c-on-forest);
    overflow: hidden;
    --c-focus: var(--c-lime);
}
.invite-card__quote { color: var(--c-lime); }
.invite-card__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); letter-spacing: -0.04em; }
.invite-card__text { max-width: 34rem; color: var(--c-on-forest-soft); font-size: var(--fs-lead); }
.invite-card__stars { margin-block: 0.5rem 0.75rem; }
.invite-card .btn-row { margin-top: 0.25rem; }

.reviews__notice {
    display: flex;
    gap: 0.5rem;
    max-width: 56rem;
    margin-top: 2rem;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
}
.reviews__notice .icon { flex-shrink: 0; margin-top: 0.2em; }

/* ==========================================================================
   Einzugsgebiet & Karte
   ========================================================================== */
.area { overflow-x: clip; padding-block: 0; }
.marquee { display: flex; overflow: hidden; margin-bottom: clamp(3rem, 6vw, 5.5rem); user-select: none; }
.marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
    animation: marquee 48s linear infinite;
}
.marquee__item {
    color: var(--c-ink);
    font-size: clamp(2.5rem, 1.4rem + 4.4vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.1;
    white-space: nowrap;
}
.marquee__item--alt { color: var(--c-green); }
.marquee__sep { display: grid; color: var(--c-green); }
.marquee:hover .marquee__group { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.area__grid { display: grid; gap: 0; }
.area__content { padding-block: var(--section-y); }
.area__list { display: grid; margin-top: 2.5rem; max-width: 34rem; }
.area__row { border-bottom: 1px solid var(--c-line); }
.area__row:last-child { border-bottom: 0; }
.area__summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.125rem 0; color: var(--c-ink); font-size: var(--fs-body); font-weight: 500; cursor: pointer; list-style: none; }
.area__summary::-webkit-details-marker { display: none; }
.area__summary:hover { color: var(--c-ink-soft); }
.area__places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem 1rem; margin: 0; padding: 0.25rem 0 1.25rem; list-style: none; color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.4; }
.area__places li { padding: 0.625rem 0.75rem; border-radius: 0.5rem; background: color-mix(in srgb, var(--c-surface) 70%, transparent); overflow-wrap: anywhere; }
.area__toggle { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.area__toggle::before, .area__toggle::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor; }
.area__toggle::after { transform: rotate(90deg); }
.area__media { margin: 0 calc(-1 * var(--gutter)); min-height: 22rem; border-radius: 0; overflow: hidden; background: var(--c-surface-3); }
.area__media img, .area__placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
    .area__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: stretch; }
    .area__media { margin: 0 calc(-1 * var(--edge)) 0 0; border-radius: 0; min-height: 0; }
}
.area__note {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 2rem;
    color: var(--c-ink-soft);
}
.area__note .icon { flex-shrink: 0; margin-top: 0.2em; color: var(--c-green); }
.area__note a { color: var(--c-ink); font-weight: 600; white-space: nowrap; }

.map {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-xl);
    background: var(--c-mint);
    overflow: hidden;
    isolation: isolate;
}
@media (min-width: 640px) { .map { aspect-ratio: 5 / 4.4; } }
.map-section { margin-top: 0; }
.map-section .map { aspect-ratio: auto; height: clamp(320px, 38vw, 460px); border-radius: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Dunkler, farbloser Kartenstil passend zu den schwarzen Akzenten (Hero, Topbar, Buttons):
   Farben invertieren → Graustufen → Kontrast leicht gedämpft */
.map iframe { filter: invert(0.92) grayscale(1) contrast(0.92) brightness(1.05); }
.map.is-loaded { background: #1a1a1a; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__art-road { fill: none; stroke: var(--c-surface); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.map__art-road--minor { stroke-width: 7; }
.map__art-river { fill: none; stroke: #D6D6D6; stroke-width: 28; stroke-linecap: round; }
.map__consent {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 0.875rem;
    width: min(100%, 23rem);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}
.map__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: transparent;
    color: var(--c-ink);
}
.map__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.map__text { color: var(--c-ink-soft); font-size: var(--fs-xs); }
.map__remember { margin-top: 0.125rem; }
.map__privacy { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.map__privacy:hover { color: var(--c-green); }
.map__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.map__address { display: flex; gap: 0.5rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.map__address .icon { flex-shrink: 0; margin-top: 0.2em; color: var(--c-green); }
.map__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.map.is-loaded .map__placeholder { display: none; }

/* ==========================================================================
   Kontakt & Formular
   ========================================================================== */
.contact__panel {
    display: grid;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.25rem, 0.5rem + 4vw, 5rem);
    border-radius: clamp(24px, 3vw, 40px);
    background: var(--c-forest);
    color: var(--c-on-forest);
    --c-focus: var(--c-lime);
}
@media (min-width: 1100px) {
    .contact__panel { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
}
@media (max-width: 639px) {
    .contact__info { padding: 0.5rem 0.25rem 0; }
}
.contact__phone-block { margin-top: 2.5rem; }
.contact__phone-hint { color: var(--c-on-forest-soft); font-size: var(--fs-small); }
.contact__phone {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--c-lime);
    font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: color 0.35s var(--ease-out);
}
.contact__phone:hover { color: #fff; }
.contact__copy {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    padding: 0.25rem 0;
    border: 0;
    background: none;
    color: var(--c-on-forest-soft);
    font-size: var(--fs-xs);
    font-weight: 500;
    transition: color 0.3s;
}
.contact__copy:hover { color: #fff; }

.contact__channels { display: grid; gap: 0.625rem; margin-top: 2.25rem; }
.channel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.125rem 0.875rem 0.875rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.35s var(--ease-out);
}
.channel:hover { background: rgba(255, 255, 255, 0.12); }
.channel__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 0;
    background: transparent;
    color: var(--c-lime);
}
.channel__icon--wa { background: transparent; }
.channel__text { display: grid; min-width: 0; line-height: 1.35; }
.channel__label { color: var(--c-on-forest-soft); font-size: var(--fs-xs); }
.channel__value { font-weight: 600; overflow-wrap: anywhere; }
.channel__arrow { color: var(--c-on-forest-soft); transition: transform 0.4s var(--ease-out), color 0.3s; }
.channel:hover .channel__arrow { transform: translateX(4px); color: var(--c-lime); }

.form {
    position: relative;
    padding: clamp(1.375rem, 3vw, 2.5rem);
    border-radius: var(--r-xl);
    background: var(--c-surface);
    color: var(--c-ink);
    --c-focus: var(--c-green);
}
.form__title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); letter-spacing: -0.035em; }
.form__text { margin-top: 0.375rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.form__grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) {
    .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form__full { grid-column: 1 / -1; }
}
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form__required { color: var(--c-ink-mute); font-size: var(--fs-xs); }
@media (max-width: 639px) { .form__submit { width: 100%; } }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-small);
}
.form__status .icon { flex-shrink: 0; margin-top: 0.1em; }
.form__status--success { background: var(--c-lime-soft); color: var(--c-ink); }
.form__status--error { background: var(--c-danger-soft); color: var(--c-danger); }
.form.is-sending .form__submit { pointer-events: none; opacity: 0.75; }

/* Felder mit Floating Labels */
.field { position: relative; min-width: 0; }
.field__control {
    display: block;
    width: 100%;
    height: 62px;
    padding: 1.5rem 3rem 0.5rem 1.125rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    background: var(--c-surface-2);
    color: var(--c-ink);
    font-size: 1rem;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.field__control:hover { background: var(--c-surface-3); }
.field__control:focus,
.field__control:focus-visible { outline: none; border-color: var(--c-ink); background: var(--c-surface); }
.field__control--textarea { height: auto; min-height: 148px; padding-top: 1.875rem; padding-bottom: 2rem; resize: vertical; }
.field__label {
    position: absolute;
    top: 1.1875rem;
    left: 1.125rem;
    right: 3rem;
    color: var(--c-ink-mute);
    font-size: 1rem;
    line-height: 1.5rem;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left top;
    transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.field__control:focus ~ .field__label,
input.field__control:not(:placeholder-shown) ~ .field__label,
textarea.field__control:not(:placeholder-shown) ~ .field__label,
.field--select:not(.is-enhanced) .select__native:valid ~ .field__label,
.field.is-filled .field__label,
.field.is-open .field__label {
    transform: translateY(-0.6875rem) scale(0.76);
    color: var(--c-ink-soft);
}
.field__control:focus ~ .field__label { color: var(--c-ink); }
.field__req { margin-left: 0.125rem; color: var(--c-green); }
.field__optional { margin-left: 0.375rem; color: var(--c-ink-mute); font-size: 0.875em; }

.field__status { position: absolute; top: 1.3125rem; right: 1rem; display: flex; pointer-events: none; }
.field__status .icon { display: none; }
/* Gültig: grün gefülltes Häkchen wie in den Listen der Landingpage */
.field.is-valid .field__status-valid { display: block; color: var(--c-success); }
.field.is-valid .field__status-valid circle { fill: currentColor; }
.field.is-valid .field__status-valid path { stroke: #fff; stroke-width: 2; }
.field.is-invalid .field__status-invalid { display: block; color: var(--c-danger); }
.field.is-invalid .field__control { border-color: var(--c-danger); background: #FFF7F5; }
.field__message { margin-top: 0.375rem; padding-left: 0.25rem; color: var(--c-danger); font-size: var(--fs-xs); line-height: 1.4; }
.field__message:empty { display: none; }
.field__counter {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    color: var(--c-ink-mute);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.field--textarea .field__status { top: 1.3125rem; }
.field--textarea.has-message .field__counter { bottom: calc(0.75rem + 1.5rem); }

/* Dropdown (Custom Select) */
.field--select .select__native { padding-right: 3rem; cursor: pointer; }
.select__chevron {
    position: absolute;
    top: 1.3125rem;
    right: 1rem;
    display: flex;
    color: var(--c-ink-soft);
    pointer-events: none;
    transition: transform 0.4s var(--ease-out);
}
.field--select.is-enhanced .select__native { display: none; }
.field--select .field__status { right: 2.75rem; }
.field.is-open .select__chevron { transform: rotate(180deg); }
.select__trigger { text-align: left; cursor: pointer; }
.select__value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 288px;
    padding: 0.375rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-surface);
    animation: dropdown-in 0.3s var(--ease-out);
}
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-6px); } }
.dropdown__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6875rem 0.75rem;
    border-radius: 10px;
    color: var(--c-ink);
    font-size: var(--fs-small);
    line-height: 1.35;
    cursor: pointer;
    user-select: none;
}
.dropdown__option:hover,
.dropdown__option.is-active { background: var(--c-surface-2); }
.dropdown__option[aria-selected="true"] { font-weight: 600; }
.dropdown__option-label { flex: 1; min-width: 0; }
.dropdown__option-meta { color: var(--c-ink-mute); font-variant-numeric: tabular-nums; }
.dropdown__check { visibility: hidden; color: var(--c-green); flex-shrink: 0; }
.dropdown__option[aria-selected="true"] .dropdown__check { visibility: visible; }

/* Telefonfeld */
/* Versatz = tatsächliche Breite des Länder-Buttons (per JS gesetzt) */
.field--phone .field__control { padding-left: var(--phone-offset, 7.5rem); }
.field--phone .field__label { left: var(--phone-offset, 7.5rem); right: 2.75rem; }
.phone__country {
    position: absolute;
    top: 0.4375rem;
    left: 0.4375rem;
    bottom: auto;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 48px;
    padding: 0 0.5rem 0 0.625rem;
    border: 0;
    border-radius: 12px;
    background: var(--c-surface);
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 550;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.3s var(--ease-out);
}
.phone__country:hover { background: var(--c-lime-soft); }
.phone__country .phone__chevron { color: var(--c-ink-mute); transition: transform 0.4s var(--ease-out); }
.field.is-open .phone__chevron { transform: rotate(180deg); }
.phone__dial { min-width: 2.125rem; text-align: left; }
.flag {
    display: inline-flex;
    width: 24px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    overflow: hidden;
}
.flag svg { width: 100%; height: 100%; }
/* Durchsuchbares Dropdown-Panel (Ländervorwahl) */
.dropdown__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.375rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-surface);
    animation: dropdown-in 0.3s var(--ease-out);
}
.dropdown__panel .dropdown__list { position: static; max-height: 280px; margin-top: 0.375rem; padding: 0; border: 0; border-radius: 0; animation: none; }
.dropdown__search { display: flex; align-items: center; gap: 0.5rem; height: 44px; padding: 0 0.75rem; border-radius: 10px; background: var(--c-surface-2); color: var(--c-ink-mute); transition: background-color 0.3s, box-shadow 0.3s; }
.dropdown__search:focus-within { background: var(--c-surface); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.dropdown__search .icon { flex-shrink: 0; }
.dropdown__search-input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--c-ink); font-size: 1rem; outline: none; }
.dropdown__search-input::-webkit-search-cancel-button { cursor: pointer; }
.dropdown__group { padding: 0.75rem 0.75rem 0.375rem; color: var(--c-ink-mute); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; }
.address-suggest { max-height: 340px; }
.address-suggest__text { display: grid; gap: 0.125rem; min-width: 0; }
.address-suggest__label { overflow: hidden; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.address-suggest__detail { overflow: hidden; color: var(--c-ink-mute); font-size: var(--fs-xs); text-overflow: ellipsis; white-space: nowrap; }
.address-suggest__source { padding: 0.5rem 0.75rem 0.25rem; color: var(--c-ink-mute); font-size: 0.6875rem; text-align: right; }
.dropdown__empty { padding: 1rem 0.75rem; color: var(--c-ink-mute); font-size: var(--fs-small); text-align: center; }
/* Länder ohne hinterlegte Flagge: ISO-Kürzel */
.flag--code { align-items: center; justify-content: center; border-color: transparent; background: var(--c-surface-3); color: var(--c-ink-soft); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1; }

/* Checkbox */
.checkbox { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; }
.checkbox__input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.checkbox__box {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--c-ink) 28%, transparent);
    border-radius: 7px;
    background: var(--c-surface);
    transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.checkbox__tick {
    fill: none;
    stroke: var(--c-on-ink);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    transition: stroke-dashoffset 0.4s var(--ease-out) 0.05s;
}
.checkbox__input:checked + .checkbox__box { background: var(--c-ink); border-color: var(--c-ink); }
.checkbox__input:checked + .checkbox__box .checkbox__tick { stroke-dashoffset: 0; }
.checkbox__input:hover + .checkbox__box { border-color: var(--c-ink); }
.checkbox__input:focus-visible + .checkbox__box { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.field.is-invalid .checkbox__box { border-color: var(--c-danger); background: #FFF7F5; }
.checkbox__label { padding-top: 0.0625rem; color: var(--c-ink-soft); font-size: var(--fs-xs); line-height: 1.5; cursor: pointer; }
.checkbox__label a { color: var(--c-ink); font-weight: 600; }

/* Schalter (Consent) */
.switch { position: relative; display: inline-flex; flex-shrink: 0; }
.switch__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.18);
    transition: background-color 0.3s var(--ease-out);
}
.switch__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.switch__input:checked + .switch__track { background: var(--c-lime); }
.switch__input:checked + .switch__track .switch__thumb { transform: translateX(20px); background: var(--c-forest); }
.switch__input:focus-visible + .switch__track { outline: 2px solid var(--c-lime); outline-offset: 2px; }

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */
.legal { padding-top: calc(var(--header-offset, var(--header-h)) + var(--section-y)); padding-bottom: var(--section-y); background: var(--c-surface); }
/* Zentrierte Lesespalte, Titel und Text untereinander; Gliederung über Abstände statt Trennlinien */
.legal__inner { max-width: calc(60rem + 2 * var(--gutter)); }
.legal__title { margin-top: 1.5rem; font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.legal__note { margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.legal__body { display: grid; gap: clamp(2.25rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.legal__section h2 { margin-bottom: 0.75rem; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.legal__content p { color: var(--c-ink-soft); line-height: 1.7; }
.legal__content > * + * { margin-top: 0.75rem; }
/* Links wie in Navigation und Footer: Unterstrich wächst beim Hover von links ein */
.legal a:not(.legal__credit-logo):not(.breadcrumb__link),
.legal__inline-button {
    color: var(--c-ink);
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
    transition: color 0.3s, background-size 0.4s var(--ease-out);
}
.legal a:not(.legal__credit-logo):not(.breadcrumb__link):hover,
.legal a:not(.legal__credit-logo):not(.breadcrumb__link):focus-visible,
.legal__inline-button:hover,
.legal__inline-button:focus-visible { color: var(--c-green); background-size: 100% 1px; }
/* Button im Fließtext (öffnet die Cookie-Einstellungen), sieht aus wie ein Link */
.legal__inline-button { padding: 0; border: 0; font: inherit; cursor: pointer; background-color: transparent; }
.legal__section strong { color: var(--c-ink); font-weight: 600; }
.legal__facts { display: grid; gap: 0.375rem; margin: 0; }
.legal__facts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; }
.legal__facts dt { color: var(--c-ink-mute); }
.legal__facts dd { margin: 0; overflow-wrap: anywhere; }
.legal__facts--wide { gap: 0.75rem; }
.legal__facts--wide div { grid-template-columns: 7.5rem minmax(0, 1fr); }
.legal__facts--wide dt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; color: var(--c-ink); }
.legal__facts--wide dd { color: var(--c-ink-soft); line-height: 1.6; }
@media (max-width: 479px) { .legal__facts--wide div { grid-template-columns: 1fr; gap: 0.125rem; } }
.legal__list { display: grid; gap: 0.375rem; margin-left: 0; padding-left: 1.25rem; color: var(--c-ink-soft); line-height: 1.6; list-style: disc; }
/* Fehlende Angaben: deutlich markiert, bis sie ersetzt sind */
.legal__placeholder { padding: 0.1em 0.35em; border-radius: 4px; background: #FFF1A8; color: var(--c-ink); font-size: 0.95em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Webdesign & Entwicklung: graue Card am Ende der Spalte */
.legal__credit {
    display: grid;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--r-lg);
    background: var(--c-mint);
}
/* Logo links, vertikal mittig zur rechten Spalte (Titel, Name, Kontakt) */
@media (min-width: 640px) {
    .legal__credit { grid-template-columns: max-content 1px minmax(0, 1fr); gap: 2rem; align-items: center; }
    .legal__credit-logo { grid-column: 1; grid-row: 1; }
    .legal__credit::before { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--c-line); }
    .legal__credit-body { grid-column: 3; grid-row: 1; }
}
.legal__credit h2 { margin-bottom: 0.75rem; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.legal__credit-logo { display: inline-block; justify-self: start; }
.legal__credit-logo img { display: block; width: auto; height: clamp(40px, 4vw, 56px); }
.legal__credit-body > * + * { margin-top: 1.25rem; }
/* Der Trennstrich hat durch die eigene Grid-Spalte beidseitig exakt denselben Abstand. */
.legal__credit-body h2 + p { margin-top: 0; }
.legal__credit p { color: var(--c-ink-soft); line-height: 1.65; }
.legal__credit strong { color: var(--c-ink); font-weight: 600; }

.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-xs); }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 0.25rem; }
.breadcrumb__link { color: var(--c-ink-mute); text-decoration: none; transition: color 0.3s; }
.breadcrumb__link:hover, .breadcrumb__link:focus-visible { color: var(--c-ink); }
.breadcrumb__sep { color: var(--c-ink-mute); }
.breadcrumb__current { color: var(--c-ink); }

/* ==========================================================================
   Kontakt & Terminbuchung
   ========================================================================== */
/* Admin-Login: offene, schmale Spalte mit denselben Formular-Bausteinen. */
/* Admin-App: eigene Seitenleiste (mobil als Schublade) und Topbar statt Website-Header/-Footer */
/* Weißer Hintergrund; Bereiche über Abstände und Haarlinien gegliedert statt über Karten */
.admin-app { --admin-sidebar: 264px; --admin-bg: #fff; --admin-fill: #f2f2f2; --admin-line: #ececec; min-height: 100dvh; background: var(--admin-bg); }
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    padding: 1.25rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-right: 1px solid var(--admin-line);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .35s var(--ease-out), visibility 0s linear .35s;
}
.admin-app.is-nav-open .admin-sidebar { transform: none; visibility: visible; transition: transform .35s var(--ease-out); }
.admin-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.admin-app.is-nav-open .admin-scrim { opacity: 1; pointer-events: auto; }
html.admin-nav-open { overflow: hidden; }
.admin-sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .25rem 1.75rem .5rem; }
.admin-sidebar__logo { min-width: 0; }
.admin-sidebar__logo .logo__img { height: 30px; }
.admin-sidebar__logo .logo__name { font-size: 0.9375rem; }
.admin-sidebar__logo .logo__tagline { font-size: 0.6875rem; }
/* Mobile Schublade: Logo und „Schließen“ nebeneinander */
@media (max-width: 1023px) {
    .admin-sidebar { padding-inline: .75rem; }
    .admin-sidebar__logo .logo__img { height: 26px; }
    .admin-sidebar__logo .logo__name { font-size: 0.875rem; }
    .admin-sidebar__close { padding-inline: .625rem; }
}
.admin-nav { display: grid; gap: .25rem; }
.admin-nav__item { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 44px; padding: .625rem .75rem; border: 0; border-radius: .75rem; background: none; color: var(--c-ink-soft); font-size: .9375rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.admin-nav__item:hover { background: #f3f3f3; color: var(--c-ink); }
.admin-nav__item[aria-current] { background: var(--c-ink); color: #fff; }
.admin-nav__badge { margin-left: auto; min-width: 1.5rem; padding: .125rem .5rem; border-radius: 999px; background: #e8e8e8; color: var(--c-ink); font-size: .75rem; text-align: center; }
.admin-nav__item[aria-current] .admin-nav__badge { background: #fff; }
.admin-sidebar__foot { display: grid; gap: .5rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid #eee; }
.admin-sidebar__logout { width: 100%; }
/* Linksbündig (die allgemeine .credit-Regel schiebt sonst nach rechts) */
.credit.admin-credit { justify-self: start; margin: .5rem 0 0; padding-inline: .75rem; color: var(--c-ink-mute); }
.admin-text-button { flex: none; min-height: 44px; padding: 0 .875rem; border: 0; border-radius: .75rem; background: var(--admin-fill); color: var(--c-ink); font-size: .875rem; font-weight: 500; cursor: pointer; }
.admin-text-button:hover { background: #e6e6e6; }
.admin-main { min-width: 0; }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; padding: .75rem var(--gutter); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-topbar__title { flex: 1; min-width: 0; }
.admin-topbar h1 { overflow: hidden; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.admin-content { padding: .5rem var(--gutter) 4rem; }
.admin-content:focus { outline: none; }
.admin-content__lead { margin-bottom: 1.25rem; color: var(--c-ink-soft); font-size: .9375rem; }
.admin-content .admin-stats { margin-bottom: 1.5rem; }

/* Dashboard-Statistik: eine Kennzahl pro Diagramm, Säulen in Tinte, Raster als Haarlinie */
.admin-insights { margin-bottom: 1.5rem; }
.admin-insights__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.admin-insights__head h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; }
.admin-segmented { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: .875rem; background: var(--admin-fill); }
.admin-segmented button { min-height: 36px; padding: 0 .875rem; border: 0; border-radius: .625rem; background: none; color: var(--c-ink-soft); font: inherit; font-size: .8125rem; font-weight: 500; cursor: pointer; }
.admin-segmented button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }
.admin-insights__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .admin-insights__grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.5rem; } }
.admin-chart { margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--admin-line); }
.admin-chart__head { display: grid; gap: .125rem; margin-bottom: 1.5rem; }
.admin-chart__title { color: var(--c-ink-soft); font-size: .875rem; }
.admin-chart__total { font-size: clamp(2.5rem, 5vw, 3.25rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.admin-chart__delta { color: var(--c-ink-mute); font-size: .8125rem; }
.admin-chart__note { color: var(--c-ink-mute); font-size: .75rem; }
.admin-chart__plot { --plot: 168px; position: relative; height: calc(var(--plot) + 1.75rem); padding-left: 1.75rem; }
.admin-chart__grid { position: absolute; inset: 0 0 1.75rem; pointer-events: none; }
.admin-chart__tick { position: absolute; left: 0; right: 0; bottom: calc(var(--y, 0) * 100%); height: 1px; background: #ececec; }
.admin-chart__tick em { position: absolute; left: 0; bottom: 0; transform: translateY(50%); color: var(--c-ink-mute); font-size: .6875rem; font-style: normal; font-variant-numeric: tabular-nums; line-height: 1; background: #fff; padding-right: .25rem; }
.admin-chart__columns { position: relative; display: flex; height: 100%; }
.admin-chart__column { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; height: 100%; padding: 0 0 1.75rem; border: 0; background: none; cursor: default; }
.admin-chart__column::before { content: ""; position: absolute; inset: 0 1px 1.75rem; border-radius: .375rem; background: transparent; transition: background-color .15s; }
.admin-chart__column.is-active::before { background: #f4f4f4; }
.admin-chart__column:focus-visible { outline: none; }
.admin-chart__column:focus-visible::before { box-shadow: inset 0 0 0 2px var(--c-ink); }
.admin-chart__bar { position: relative; width: min(24px, 64%); height: calc(var(--h, 0) * var(--plot)); border-radius: 4px 4px 0 0; background: var(--c-ink); transition: height .5s var(--ease-out); }
.admin-chart__x { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); color: var(--c-ink-mute); font-size: .6875rem; line-height: 1.75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-chart__tooltip { position: absolute; bottom: calc(1.75rem + var(--plot) + .25rem); left: calc(1.75rem + var(--x, .5) * (100% - 1.75rem)); z-index: 2; display: grid; gap: .125rem; padding: .5rem .75rem; border-radius: .625rem; background: var(--c-ink); color: #fff; font-size: .75rem; white-space: nowrap; transform: translateX(var(--tx, -50%)); pointer-events: none; }
.admin-chart__tooltip span { color: #cfcfcf; }
.admin-chart__tooltip strong { font-weight: 500; }
.admin-insights__table { margin-top: .75rem; }
.admin-insights__table summary { display: inline-block; padding: .5rem 0; color: var(--c-ink-soft); font-size: .8125rem; cursor: pointer; }
.admin-table-scroll { overflow-x: auto; margin-top: .5rem; border-top: 1px solid var(--admin-line); }
.admin-insights__table table { width: 100%; border-collapse: collapse; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.admin-insights__table th, .admin-insights__table td { padding: .625rem 1rem; border-bottom: 1px solid #f0f0f0; text-align: left; font-weight: 400; white-space: nowrap; }
.admin-insights__table thead th { color: var(--c-ink-mute); }
.admin-insights__table td { text-align: right; }
.admin-insights__table thead th + th { text-align: right; }
@media (prefers-reduced-motion: reduce) { .admin-chart__bar { transition: none; } }
@media (min-width: 1024px) {
    .admin-app { display: grid; grid-template-columns: var(--admin-sidebar) minmax(0, 1fr); }
    .admin-sidebar { position: sticky; top: 0; width: auto; height: 100dvh; transform: none; visibility: visible; transition: none; }
    .admin-sidebar__close, .admin-topbar__menu, .admin-scrim { display: none; }
    .admin-topbar { padding: 1.25rem 2.5rem; }
    .admin-content { padding: .75rem 2.5rem 4rem; }
}
@media (prefers-reduced-motion: reduce) { .admin-sidebar, .admin-scrim { transition: none; } }
.admin-dashboard__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-mute); margin-bottom: .875rem; }
.admin-dashboard__account { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .875rem; overflow-wrap: anywhere; }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stats > div { padding: 1rem 0 0; border-top: 1px solid var(--admin-line); }
.admin-stats span { color: var(--c-ink-soft); font-size: .875rem; }
.admin-stats strong { display: block; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.05em; font-weight: 500; margin-top: .75rem; }
.admin-dashboard__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: .25rem; flex-wrap: wrap; }
.admin-tabs button { padding: .875rem 1.25rem; border-radius: 999px; color: var(--c-ink-soft); font-size: .875rem; }
.admin-tabs button[aria-current] { background: var(--c-ink); color: #fff; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: .75rem; padding: .75rem 1rem; background: var(--admin-fill, #f2f2f2); color: #0a0a0a; font-size: .8125rem; font-weight: 500; min-height: 44px; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
.admin-button:hover:not(:disabled) { background: #e6e6e6; }
.admin-button:disabled { opacity: .45; cursor: wait; }
.admin-button--primary { background: #0a0a0a; color: #fff; }
.admin-button--primary:hover:not(:disabled) { background: #333; }
.admin-button--danger { background: #a11c1c; color: #fff; }
.admin-button--danger:hover:not(:disabled) { background: #861515; }
.admin-feedback { font-size: .875rem; min-height: 0; margin-block: .5rem; }
.admin-feedback--error { color: #a11c1c; font-size: .875rem; }
.admin-panel { min-width: 0; }
.admin-panel h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; }
.admin-filters { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.admin-filters--availability { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-block: 1.25rem; }
.admin-label { margin-top: 1rem; }
/* Website-Felder im Admin: Dropdown klappt bei Platzmangel nach oben, deaktiviert gedimmt */
.admin-app .field.is-up .dropdown__list { top: auto; bottom: calc(100% + 6px); }
.admin-app .field.is-disabled .select__trigger { opacity: .55; cursor: not-allowed; }
.admin-app .select__trigger { font: inherit; font-size: 1rem; }
.admin-app .field__control[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
/* Liste bleibt beim Filtern stehen und wird nur kurz gedimmt */
.admin-requests { margin-top: 2rem; }
.admin-requests .admin-request-list { transition: opacity .2s; }
.admin-requests.is-loading .admin-request-list { opacity: .45; }
.admin-topbar__refresh[aria-busy="true"] { opacity: .55; }
.admin-request { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto; align-items: center; gap: 1.25rem; text-align: left; padding: 1.25rem .75rem; margin-inline: -.75rem; width: calc(100% + 1.5rem); border: 0; border-bottom: 1px solid #eee; border-radius: .75rem .75rem 0 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: background-color .2s; }
.admin-request:hover { background: #f7f7f7; }
.admin-request:hover { background: #fafafa; }
.admin-request__identity, .admin-request__date { display: grid; gap: .35rem; font-size: .875rem; overflow-wrap: anywhere; }
.admin-request__identity strong { font-size: 1rem; font-weight: 500; }
.admin-request__identity > span, .admin-request small { color: var(--c-ink-soft); font-size: .8125rem; }
.admin-status { display: inline-flex; width: fit-content; border-radius: 999px; background: #f0f0f0; padding: .4rem .75rem; font-size: .75rem; white-space: nowrap; }
.admin-status--new { background: #fff0d2; color: #795208; }
.admin-status--confirmed { background: #e3f3eb; color: #236146; }
.admin-status--cancelled { background: #f9e7e7; color: #932a2a; }
.admin-empty { padding: 2rem 0; color: var(--c-ink-soft); font-size: .875rem; }
.admin-empty h2 { margin-bottom: .5rem; color: var(--c-ink); }

/* Admin: Website-Bilder – Seite wählen, Live-Vorschau der echten Seite, Bilder direkt darin austauschen */
.admin-images { display: grid; gap: 1.25rem; padding-bottom: 5rem; }
.admin-images__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.admin-images__page { flex: 0 1 22rem; min-width: min(100%, 16rem); }
.admin-images__body { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1200px) { .admin-images__body { grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; } }

.admin-preview { min-width: 0; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 14px; background: #fff; }
.admin-preview__bar { display: flex; align-items: center; gap: .75rem; height: 44px; padding: 0 .5rem 0 1rem; border-bottom: 1px solid var(--admin-line); background: #fafafa; }
.admin-preview__dots { display: flex; flex: none; gap: 6px; }
.admin-preview__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcdc; }
.admin-preview__url { flex: 1; min-width: 0; overflow: hidden; color: var(--c-ink-soft); font-size: .8125rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-preview__reload { flex: none; min-height: 32px; padding: 0 .75rem; border: 0; border-radius: .5rem; background: none; color: var(--c-ink-soft); font: inherit; font-size: .8125rem; cursor: pointer; }
.admin-preview__reload:hover { background: #efefef; color: var(--c-ink); }
.admin-preview__stage { position: relative; height: clamp(26rem, calc(100dvh - 15rem), 62rem); overflow: hidden; background: #fff; }
.admin-preview__stage.is-mobile { background: #f4f4f4; }
.admin-preview__stage iframe { position: absolute; top: 0; display: block; max-width: none; border: 0; background: #fff; transform-origin: 0 0; transition: opacity .3s; }
.admin-preview__stage.is-mobile iframe { box-shadow: 0 0 0 1px var(--admin-line); }
.admin-preview__stage.is-loading iframe { opacity: 0; }
.admin-preview__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-ink-mute); font-size: .875rem; pointer-events: none; }
.admin-preview__loading:empty { display: none; }

/* Vorschaubild beim Teilen: nachgebaute Link-Vorschau eines Messengers */
.admin-share { display: grid; justify-items: center; gap: 1.25rem; padding: clamp(1.5rem, 5vw, 3.5rem) 1rem; background: #f4f4f4; }
.admin-share__bubble { width: min(100%, 26rem); overflow: hidden; border-radius: 14px; background: #fff; }
.admin-share__image { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ececec; cursor: pointer; }
.admin-share__image img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.admin-share__hint { position: absolute; top: .625rem; left: .625rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(10, 10, 10, .8); color: #fff; font-size: .75rem; font-weight: 500; }
.admin-share__image.is-pending .admin-share__hint { background: #1d6b34; }
.admin-share__image:hover img, .admin-share__image.is-drop img { opacity: .8; }
.admin-share__image:focus-visible { outline: 2px solid var(--c-ink); outline-offset: -2px; }
.admin-share__text { display: grid; gap: .125rem; padding: .75rem 1rem; font-size: .875rem; }
.admin-share__text span { color: var(--c-ink-mute); font-size: .75rem; }
.admin-share__note { max-width: 26rem; color: var(--c-ink-soft); font-size: .75rem; line-height: 1.6; text-align: center; }

/* Bildliste neben der Vorschau: Zeilen mit Haarlinien statt Karten */
.admin-images__side { min-width: 0; }
@media (min-width: 1200px) { .admin-images__side { position: sticky; top: 6rem; } }
.admin-images__side h2 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; }
.admin-images__hint { margin-top: .375rem; color: var(--c-ink-soft); font-size: .8125rem; line-height: 1.55; }
@media (hover: none) { .admin-images__hint-pointer { display: none; } }
.admin-image-list { display: grid; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--admin-line); list-style: none; }
.admin-image-row { display: grid; gap: .25rem; padding: .625rem 0; border-bottom: 1px solid var(--admin-line); transition: background-color .15s; }
.admin-image-row.is-drop { background: #f2f2f2; }
.admin-image-row__main { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .25rem; border: 0; border-radius: .625rem; background: none; color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; }
.admin-image-row__main:hover { background: #f6f6f6; }
.admin-image-row.is-selected .admin-image-row__main img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c-ink); }
.admin-image-row__main img { flex: none; width: 64px; height: 44px; border-radius: .375rem; object-fit: cover; background: #ececec; transition: box-shadow .2s; }
/* Logo wie auf der Website schwarz einfärben – ohne eigenen Hintergrund, sonst färbt der Filter ihn mit */
.admin-image-row__main img.is-logo { padding: 6px; object-fit: contain; background: transparent; filter: brightness(0); }
.admin-image-row__text { display: grid; gap: .125rem; min-width: 0; }
.admin-image-row__text strong { font-size: .875rem; font-weight: 500; line-height: 1.3; }
.admin-image-row__text span { color: var(--c-ink-mute); font-size: .75rem; }
.admin-image-row__text em { color: #8a5a00; font-size: .75rem; font-style: normal; }
.admin-image-row__actions { display: flex; gap: 1rem; padding-left: calc(64px + 1rem); }
.admin-text-link { padding: .25rem 0; border: 0; background: none; color: var(--c-ink); font: inherit; font-size: .8125rem; font-weight: 500; text-decoration: underline; text-decoration-color: #c8c8c8; text-underline-offset: .2em; cursor: pointer; }
.admin-text-link:hover:not(:disabled) { text-decoration-color: currentColor; }
.admin-text-link:disabled { opacity: .45; cursor: wait; }


/* Leiste zum Veröffentlichen: schwebt unten, solange es ungespeicherte Vorschau-Änderungen gibt */
.admin-publish { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; width: min(40rem, calc(100% - 2rem)); padding: .75rem .75rem .75rem 1.25rem; border-radius: 16px; background: #0a0a0a; color: #fff; transform: translateX(-50%); animation: admin-publish-in .4s var(--ease-out); }
@media (min-width: 1024px) { .admin-publish { left: calc(50% + var(--admin-sidebar) / 2); width: min(40rem, calc(100% - var(--admin-sidebar) - 4rem)); } }
@keyframes admin-publish-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.admin-publish__text { display: grid; flex: 1 1 14rem; gap: .125rem; min-width: 0; }
.admin-publish__text strong { font-size: .9375rem; font-weight: 500; }
.admin-publish__text span { color: #b0b0b0; font-size: .75rem; }
.admin-publish__progress { order: 3; flex: 1 0 100%; height: 4px; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .2); -webkit-appearance: none; appearance: none; }
.admin-publish__progress::-webkit-progress-bar { background: rgba(255, 255, 255, .2); }
.admin-publish__progress::-webkit-progress-value { background: #fff; transition: width .2s; }
.admin-publish__progress::-moz-progress-bar { background: #fff; }
.admin-publish__actions { display: flex; gap: .5rem; }
.admin-publish .admin-button { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-publish .admin-button:hover:not(:disabled) { background: rgba(255, 255, 255, .2); }
.admin-publish .admin-button--primary { background: #fff; color: #0a0a0a; }
.admin-publish .admin-button--primary:hover:not(:disabled) { background: #e6e6e6; }
@media (max-width: 599px) { .admin-publish__actions { flex: 1 0 100%; } .admin-publish__actions .admin-button { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .admin-publish { animation: none; } }
.admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: .8125rem; }
.admin-pagination > div { display: flex; gap: .5rem; }
.admin-calendar-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.admin-calendar__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.admin-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .375rem; }
.admin-calendar__weekday { text-align: center; font-size: .75rem; color: var(--c-ink-soft); padding-bottom: .5rem; }
.admin-calendar__day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 56px; padding: 0; border: 1px solid transparent; border-radius: .75rem; background: none; color: inherit; font: inherit; font-size: .875rem; cursor: pointer; transition: background-color .15s; }
.admin-calendar__day strong { font-weight: 500; }
.admin-calendar__day:hover { background: #f2f2f2; }
.admin-calendar__day.is-today { border-color: #aaa; }
.admin-calendar__day.is-selected { background: #0a0a0a; color: #fff; }
.admin-calendar__day > span { display: flex; gap: .25rem; min-height: 6px; }
.admin-calendar__day i { display: block; width: 6px; height: 6px; border-radius: 50%; }
.admin-calendar__booked { background: #c88914; }
.admin-calendar__free { background: #469673; }
.admin-calendar__legend { margin-top: 1rem; color: var(--c-ink-soft); font-size: .6875rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.admin-slot-list { margin-block: 1rem; max-height: 28rem; overflow: auto; }
.admin-slot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid #eee; font-size: .875rem; }
.admin-slot strong { font-weight: 500; }
.admin-slot p { color: var(--c-ink-soft); margin-top: .25rem; }
.admin-slot__actions { display: flex; gap: .375rem; flex-wrap: wrap; justify-content: end; }
.admin-availability { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--admin-line); }
.admin-availability > p { margin-top: .75rem; font-size: .875rem; color: var(--c-ink-soft); }
.admin-weekdays { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; border: 0; }
.admin-weekdays legend { font-size: .8125rem; margin-bottom: .75rem; }
/* Wochentage als Umschalt-Chips */
.admin-weekdays label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 3.25rem; min-height: 44px; padding: 0 .875rem; border-radius: 999px; background: var(--c-surface-2); color: var(--c-ink); font-size: .875rem; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.admin-weekdays label:has(input:checked) { background: var(--c-ink); color: #fff; }
.admin-weekdays label:has(input:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.admin-weekdays input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.admin-hint { color: var(--c-ink-soft); font-size: .75rem; line-height: 1.6; margin-block: .75rem; }
.admin-dialog { width: min(42rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 1.25rem; background: #fff; color: var(--c-ink); margin: auto; overflow: auto; }
.admin-dialog::backdrop { background: rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.admin-dialog__body { padding: clamp(1.25rem,4vw,2.5rem); }
.admin-dialog header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-dialog h2 { font-size: 1.75rem; font-weight: 500; letter-spacing: -.04em; overflow-wrap: anywhere; }
.admin-details > div { display: grid; grid-template-columns: 7rem minmax(0,1fr); gap: 1rem; padding-block: .75rem; border-bottom: 1px solid #eee; font-size: .875rem; }
.admin-details dt { color: var(--c-ink-soft); }
.admin-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-detail-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.5rem; }
.admin-mail-status { padding-top: 1rem; border-top: 1px solid var(--admin-line); font-size: .8125rem; }
.admin-mail-status p { margin-top: .4rem; }
.admin-mail-status button { margin-top: .75rem; }
/* Hinweis bei abgesagten Terminen im Anfrage-Dialog */
.admin-cancelled { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .75rem; background: #f9e7e7; color: #932a2a; font-size: .8125rem; line-height: 1.5; }
/* Bewertungsanfrage im Anfrage-Dialog */
.admin-review { display: grid; gap: .625rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--admin-line); font-size: .8125rem; line-height: 1.55; }
.admin-review p { color: var(--c-ink-soft); }
.admin-review .admin-button { justify-self: start; }
.admin-check { display: flex; align-items: flex-start; gap: .625rem; cursor: pointer; }
.admin-check input { flex: none; width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--c-ink); }
.admin-reschedule { margin-bottom: 1.5rem; }
.admin-reschedule > button { margin-top: .75rem; }
.admin-dialog footer { display: flex; justify-content: end; gap: .75rem; margin-top: 1.5rem; }
.admin-dialog__delete { margin-right: auto; color: #a11c1c; }
.admin-delete-confirm { display: grid; gap: 1rem; margin-top: 1.5rem; padding: 1rem; border-radius: .75rem; background: #f9e7e7; color: #932a2a; font-size: .8125rem; line-height: 1.5; }
.admin-delete-confirm strong { display: block; margin-bottom: .25rem; font-size: .9375rem; }
.admin-delete-confirm div { display: flex; flex-wrap: wrap; justify-content: end; gap: .75rem; }
@media (max-width: 767px) {
    .admin-stats { gap: .5rem; }
    .admin-stats > div { padding: .75rem 0 0; }
    .admin-stats span { font-size: .6875rem; }
    .admin-stats strong { font-size: 2rem; }
    .admin-tabs button { padding-inline: .875rem; }
    .admin-filters, .admin-calendar-layout { grid-template-columns: 1fr; }
    .admin-request { grid-template-columns: minmax(0,1fr) auto; gap: .75rem; }
    .admin-request__date { grid-column: 1; grid-row: 2; }
    .admin-request .admin-status { grid-column: 2; grid-row: 1; }
    .admin-request > span:last-child { grid-column: 2; grid-row: 2; justify-self: end; }
    .admin-details > div { grid-template-columns: 1fr; gap: .25rem; }
}
.admin-login { padding-top: calc(var(--header-offset, var(--header-h)) + var(--section-y)); padding-bottom: var(--section-y); background: #fff; }
.admin-login__inner { max-width: calc(28rem + 2 * var(--gutter)); }
.admin-login__title { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 400; letter-spacing: -0.055em; line-height: 1.05; }
.admin-login__lead { margin-top: 1rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.admin-login__form { display: grid; gap: 1rem; margin-top: 2rem; }
.admin-login__form .btn { margin-top: 0.5rem; }
/* Passwort anzeigen/verbergen: Auge rechts im Feld, Status-Icon rückt davor */
.field--password .field__control { padding-right: 5.75rem; }
.field--password .field__status { right: 3.5rem; }
.field__reveal { position: absolute; top: 9px; right: 0.5rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--c-ink-mute); cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.field__reveal:hover { color: var(--c-ink); background: rgba(0, 0, 0, 0.05); }
.field__reveal:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 0; color: var(--c-ink); }
.field__reveal-hide, .field__reveal[aria-pressed="true"] .field__reveal-show { display: none; }
.field__reveal[aria-pressed="true"] .field__reveal-hide { display: block; }
.admin-login__form .btn:disabled { cursor: default; opacity: 0.6; }
.admin-login__status, .admin-login__note { color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.6; }
.admin-login__status:empty { display: none; }
.admin-login__note { margin-top: 1.25rem; }

.booking-page { padding-top: calc(var(--header-offset, var(--header-h)) + var(--section-y)); padding-bottom: var(--section-y); background: var(--c-surface); }
.booking-page__head { display: grid; gap: 2.5rem; align-items: center; margin-top: 1.5rem; }
.booking-page__intro { min-width: 0; }
.booking-expert { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: stretch; width: 100%; overflow: hidden; border-radius: 1rem; background: var(--c-surface-3); text-align: left; }
.booking-expert__portrait { display: block; width: 100%; height: 100%; min-height: 11rem; border-radius: 0; object-fit: cover; border: 0; outline: 0; box-shadow: none; }
.booking-expert__copy { min-width: 0; align-self: center; padding: clamp(1.25rem, 2.5vw, 2rem); }
.booking-expert .stars { gap: 4px; }
.booking-expert__name { margin-top: 0.625rem; font-size: var(--fs-small); font-weight: 600; letter-spacing: -0.025em; }
.booking-expert__role { margin-top: 0.125rem; font-size: var(--fs-xs); color: var(--c-ink-soft); }
.booking-expert__experience { margin-top: 0.5rem; font-size: var(--fs-xs); font-weight: 500; color: var(--c-green); }
@media (min-width: 900px) {
    .booking-page__head { grid-template-columns: minmax(0, 1fr) 25rem; gap: clamp(2.5rem, 5vw, 5rem); }
}
.inquiry-switch { display: inline-flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 3rem; padding: 0.375rem; border-radius: 0.875rem; background: var(--c-surface-3); }
.inquiry-switch__button { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 0.875rem 1.125rem; border: 0; border-radius: 0.625rem; background: transparent; color: var(--c-ink-soft); font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: background-color 180ms, color 180ms; }
.inquiry-switch__button.is-active { background: var(--c-ink); color: var(--c-on-ink); }
.inquiry-switch__button:hover:not(.is-active) { background: var(--c-surface); color: var(--c-ink); }
.booking-page [data-inquiry-panel] { margin-top: 1.75rem; }
.general-inquiry__submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem; }
@media (max-width: 599px) {
    .inquiry-switch { display: flex; }
    .inquiry-switch__button { width: 100%; }
}
.booking-page__title { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.booking-page__lead { max-width: 40rem; margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--fs-body); text-wrap: pretty; }
.booking-page__facts { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.booking-page__facts li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-ink); font-size: var(--fs-xs); font-weight: 500; }
.booking-page__facts .icon { color: var(--c-ink-mute); flex-shrink: 0; }

/* Formular: ohne Card, direkt auf der Seite */
.booking { margin-top: clamp(3rem, 6vw, 4.5rem); --c-focus: var(--c-green); }
.booking__step { margin-top: clamp(2rem, 4vw, 2.75rem); }
/* Schrittwechsel: Inhalte gleiten gestaffelt aus der Laufrichtung herein */
.booking[data-dir] .booking__step.is-active :is(.booking__step-head, .booking__fields > *, .booking__grid > *, .booking__review > *, .booking__privacy, .booking__review-consent) {
    animation: step-in-next 0.7s var(--ease-out) both;
    animation-delay: calc(min(var(--i, 0), 8) * 55ms);
}
.booking[data-dir="prev"] .booking__step.is-active :is(.booking__step-head, .booking__fields > *, .booking__grid > *, .booking__review > *, .booking__privacy, .booking__review-consent) { animation-name: step-in-prev; }
@keyframes step-in-next { from { opacity: 0; transform: translateX(32px); } }
@keyframes step-in-prev { from { opacity: 0; transform: translateX(-32px); } }
.booking__step-head { margin-bottom: 1.5rem; }
.booking__step-title { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; outline: none; }
.booking__step-text { margin-top: 0.375rem; color: var(--c-ink-soft); font-size: var(--fs-small); }
.booking__fields { display: grid; gap: 1.75rem; }
.booking__grid { margin-top: 0; }
.booking__hint { display: flex; align-items: center; gap: 0.625rem; padding: 0 0.25rem; color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.45; }
.booking__hint .icon { flex-shrink: 0; }
.booking__privacy { margin-top: 1.5rem; }
.booking__review-consent { margin-top: 0.75rem; }
.booking__review-consent .checkbox__label { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.booking__required { margin-top: 1rem; }

/* Stepper: Punkte mit Verbindungslinie, erledigte Schritte mit Haken */
.stepper { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.stepper__item { display: flex; align-items: center; gap: 0.625rem; min-width: 0; color: var(--c-ink-mute); font-size: var(--fs-small); font-weight: 500; }
.stepper__item:not(:last-child) { flex: 1; }
.stepper__item:not(:last-child)::after {
    content: "";
    flex: 1;
    min-width: 1rem;
    height: 2px;
    margin-inline: 0.5rem 0.75rem;
    border-radius: 2px;
    background: linear-gradient(var(--c-ink), var(--c-ink)) no-repeat 0 0 / 0 100%, var(--c-line);
    transition: background-size 0.6s var(--ease-out);
}
.stepper__item.is-done::after { background-size: 100% 100%, auto; }
.stepper__dot {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-surface);
    font-variant-numeric: tabular-nums;
    transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.stepper__check { position: absolute; opacity: 0; transform: scale(0.5); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.stepper__item.is-current { color: var(--c-ink); }
.stepper__item.is-current .stepper__dot { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-on-ink); }
.stepper__item.is-done { color: var(--c-ink); cursor: pointer; }
.stepper__item.is-done .stepper__dot { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-on-ink); }
.stepper__item.is-done .stepper__num { opacity: 0; }
.stepper__item.is-done .stepper__check { opacity: 1; transform: scale(1); }
.stepper__label { white-space: nowrap; }
@media (max-width: 559px) { .stepper__item:not(.is-current) .stepper__label { display: none; } }

/* Auswahl-Kacheln */
.choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice__legend { display: block; margin-bottom: 0.75rem; padding: 0; color: var(--c-ink); font-size: var(--fs-small); font-weight: 600; }
.choice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.625rem; }
.choice__tile {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    background: var(--c-surface-2);
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.choice__tile:hover { background: var(--c-surface-3); }
.choice__tile:active { transform: scale(0.98); }
.choice__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice__tile:has(.choice__input:checked) { border-color: var(--c-ink); background: var(--c-surface); }
.choice__tile:has(.choice__input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.choice__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-surface); color: var(--c-ink); transition: background-color 0.3s, color 0.3s; }
.choice__tile:has(.choice__input:checked) .choice__icon { background: var(--c-ink); color: var(--c-on-ink); }
.choice__body { display: grid; gap: 0.125rem; }
.choice__title { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.choice__text { color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.4; }
.choice__check { position: absolute; top: 0.875rem; right: 0.875rem; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.choice__tile:has(.choice__input:checked) .choice__check { opacity: 1; transform: scale(1); }
.choice.is-invalid .choice__tile { border-color: rgba(184, 50, 42, 0.35); }

/* Tages- und Uhrzeitwahl */
.slots__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.slots__head .choice__legend { margin-bottom: 0; }
.slots__nav { display: flex; gap: 0.375rem; }
.slots__arrow { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); transition: background-color 0.3s, opacity 0.3s; }
.slots__arrow:hover:not(:disabled) { background: var(--c-surface-3); }
.slots__arrow:disabled { opacity: 0.35; cursor: default; }
.slots__nav.is-hidden { visibility: hidden; }
.slots__days {
    display: flex;
    gap: 0.5rem;
    margin-inline: -0.25rem;
    padding: 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.slots__days::-webkit-scrollbar { display: none; }
.day {
    position: relative;
    display: grid;
    justify-items: center;
    /* Wächst mit, damit die Tage die ganze Breite füllen; scrollt erst, wenn sie nicht mehr passen. */
    flex: 1 0 72px;
    padding: 0.75rem 0.25rem 0.625rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    background: var(--c-surface-2);
    scroll-snap-align: start;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.day:hover:not(.is-full) { background: var(--c-surface-3); }
.day:active:not(.is-full) { transform: scale(0.96); }
.day__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.day__weekday { color: var(--c-ink-mute); font-size: var(--fs-xs); font-weight: 500; }
.day__num { margin-top: 0.125rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.day__month { color: var(--c-ink-soft); font-size: var(--fs-xs); }
.day__free { margin-top: 0.5rem; padding: 0.125rem 0.5rem; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-ink-soft); font-size: 0.6875rem; font-weight: 500; white-space: nowrap; }
.day:has(.day__input:checked) { background: var(--c-ink); color: var(--c-on-ink); }
.day:has(.day__input:checked) .day__weekday,
.day:has(.day__input:checked) .day__month { color: color-mix(in srgb, var(--c-on-ink) 70%, transparent); }
.day:has(.day__input:checked) .day__free { background: color-mix(in srgb, var(--c-on-ink) 14%, transparent); color: var(--c-on-ink); }
.day:has(.day__input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.day.is-full { cursor: not-allowed; opacity: 0.45; }
.day.is-full .day__input { cursor: not-allowed; }
.day.is-full .day__num { text-decoration: line-through; text-decoration-thickness: 1.5px; }

.slots__times { margin-top: 1rem; }
.slots__placeholder { display: flex; align-items: center; gap: 0.625rem; padding: 1.125rem 1.25rem; border: 1.5px dashed var(--c-line); border-radius: var(--r-md); color: var(--c-ink-mute); font-size: var(--fs-small); }
.slots__placeholder .icon { flex-shrink: 0; }
.slots__panel.is-entering { animation: step-in 0.4s var(--ease-out); }
.slots__group { margin: 0 0 0.5rem; color: var(--c-ink-mute); font-size: var(--fs-xs); font-weight: 500; }
.slots__group:not(:first-child) { margin-top: 1rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.5rem; }
.slot { position: relative; display: grid; place-items: center; height: 48px; border-radius: 12px; background: var(--c-surface-2); cursor: pointer; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.slot:hover:not(:has(:disabled)) { background: var(--c-surface-3); }
.slot:active:not(:has(:disabled)) { transform: scale(0.96); }
.slot__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.slot__time { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.slot:has(.slot__input:checked) { background: var(--c-ink); color: var(--c-on-ink); }
.slot:has(.slot__input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.slot:has(.slot__input:disabled) { background: transparent; color: var(--c-ink-mute); cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--c-line); }
.slot:has(.slot__input:disabled) .slot__time { text-decoration: line-through; font-weight: 500; }
.slot__input:disabled { cursor: not-allowed; }

.slots__callback { margin-top: 1rem; }
.slots__callback-btn { display: inline-flex; align-items: flex-start; gap: 0.625rem; padding: 0.25rem 0; border: 0; background: none; color: var(--c-ink-soft); font-size: var(--fs-small); text-align: left; line-height: 1.45; cursor: pointer; }
.slots__callback-btn:hover { color: var(--c-ink); }
.slots__callback-box { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.05em; border: 1.5px solid var(--c-sage); border-radius: 6px; color: transparent; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.slots__callback-btn[aria-pressed="true"] { color: var(--c-ink); font-weight: 500; }
.slots__callback-btn[aria-pressed="true"] .slots__callback-box { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-on-ink); }
.slots__callback-note { display: flex; align-items: center; gap: 0.625rem; margin-top: 0.75rem; padding: 0.875rem 1rem; border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-ink); font-size: var(--fs-small); animation: step-in 0.4s var(--ease-out); }
.slots__callback-note .icon { flex-shrink: 0; }
.slots.is-callback .slots__days,
.slots.is-callback .slots__times { opacity: 0.5; transition: opacity 0.3s; }
.slots .field__message { margin-top: 0.625rem; }

/* Zusammenfassung */
.summary { margin: 0; }
.summary__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.75rem; padding: 0.625rem 0; }
.summary__row + .summary__row { border-top: 1px solid var(--c-line); }
.summary__label { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.summary__value { margin: 0; color: var(--c-ink); font-size: var(--fs-small); font-weight: 500; overflow-wrap: anywhere; white-space: pre-line; }
.summary__row.is-empty .summary__value { color: var(--c-ink-mute); font-weight: 400; }
.summary__edit { margin: 0; }
.summary__edit-btn { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.5rem; border: 0; border-radius: 8px; background: none; color: var(--c-ink-mute); font-size: var(--fs-xs); transition: background-color 0.3s, color 0.3s; }
.summary__edit-btn:hover, .summary__edit-btn:focus-visible { background: var(--c-surface-2); color: var(--c-ink); }
.booking__review { display: grid; gap: 0.75rem; }
.booking__review { gap: 1.75rem; }
.booking__review-block { padding: 0; }
.booking__review-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; font-size: var(--fs-small); font-weight: 600; }
.booking__review-title .icon { color: var(--c-ink-mute); }
.summary--review .summary__row { grid-template-columns: 7rem minmax(0, 1fr) auto; }
@media (max-width: 479px) { .summary--review .summary__row { grid-template-columns: minmax(0, 1fr) auto; } .summary--review .summary__label { grid-column: 1 / -1; margin-bottom: -0.5rem; } }

/* Navigation zwischen den Schritten */
.booking__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2.5rem; }
.booking__back { display: inline-flex; align-items: center; gap: 0.5rem; height: 52px; padding: 0 1rem 0 0.75rem; border: 0; border-radius: 10px; background: var(--c-surface-2); color: var(--c-ink); font-size: 1rem; font-weight: 550; transition: background-color 0.3s; }
.booking__back:hover { background: var(--c-surface-3); }
.booking__back .icon { transition: transform 0.4s var(--ease-out); }
.booking__back:hover .icon { transform: translateX(-3px); }
.booking__count { margin-right: auto; color: var(--c-ink-mute); font-size: var(--fs-xs); }
.booking.is-sending .booking__submit { pointer-events: none; opacity: 0.75; }
@media (max-width: 559px) {
    .booking__count { display: none; }
    .booking__next, .booking__submit { flex: 1; }
    .booking__next, .booking__next .btn__fill,
    .booking__submit, .booking__submit .btn__fill { justify-content: flex-start; }
    .booking__next .btn__bubble, .booking__submit .btn__bubble { margin-left: auto; }
}

/* Hinweis unter dem Formular */
.booking__note { display: flex; gap: 0.5rem; margin-top: 0.5rem; color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.45; }
.booking__note .icon { flex-shrink: 0; }

/* Direkte Kontaktwege: offene Liste statt Card */
.booking-direct { display: grid; gap: 1.75rem; margin-top: clamp(4.5rem, 10vw, 7rem); }
.booking-direct__title { color: var(--c-ink-mute); font-size: var(--fs-small); font-weight: 500; }
.booking-direct__phone { display: inline-block; margin-top: 0.5rem; color: var(--c-ink); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 500; letter-spacing: -0.04em; text-decoration: none; font-variant-numeric: tabular-nums; }
.booking-direct__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.booking-direct__hint { margin-top: 0.25rem; color: var(--c-ink-mute); font-size: var(--fs-xs); }
.booking-direct__channels { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.booking-direct .channel { padding: 0.625rem 0; border-radius: 0; background: none; color: var(--c-ink); }
.booking-direct .channel__icon { width: 40px; height: 40px; color: var(--c-ink); }
.booking-direct .channel__label { color: var(--c-ink-mute); }
.booking-direct .channel__value { font-size: var(--fs-small); }
.booking-direct .channel__arrow { color: var(--c-ink-mute); }
.booking-direct .channel:hover .channel__arrow { color: var(--c-ink); }

/* Modal (Bestätigung) */
.modal {
    width: min(30rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--c-ink);
    overflow: visible;
}
.modal::backdrop { background: rgba(10, 10, 10, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: modal-fade 0.3s var(--ease-out); }
.modal[open] .modal__card { animation: modal-in 0.45s var(--ease-out); }
.modal.is-closing .modal__card { animation: modal-out 0.25s ease-in forwards; }
.modal.is-closing::backdrop { animation: modal-fade 0.25s ease-in reverse forwards; }
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
.modal__card { position: relative; max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 4vw, 2.25rem); overflow-y: auto; border-radius: var(--r-xl); background: var(--c-surface); text-align: center; }
.modal__close { position: absolute; top: 0.875rem; right: 0.875rem; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); transition: background-color 0.3s; }
.modal__close:hover { background: var(--c-surface-3); }
.modal__title { margin-top: 1rem; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.modal__text { margin-top: 0.625rem; color: var(--c-ink-soft); font-size: var(--fs-small); text-wrap: pretty; }
.summary--modal { margin-top: 1.5rem; padding: 0.25rem 1rem; border-radius: var(--r-md); background: var(--c-surface-2); text-align: left; }
.summary--modal .summary__row { grid-template-columns: 5.5rem minmax(0, 1fr); }
.modal__actions { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.modal__link { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 48px; border: 0; border-radius: 10px; background: var(--c-surface-2); color: var(--c-ink); font-size: var(--fs-small); font-weight: 550; transition: background-color 0.3s; }
.modal__link:hover { background: var(--c-surface-3); }
html.has-modal { overflow: hidden; }

/* Animierter Erfolgs-Haken */
.success-mark { display: flex; justify-content: center; }
.success-mark svg { overflow: visible; }
.success-mark__circle { fill: none; stroke: #1F9D55; stroke-width: 3; stroke-dasharray: 183; stroke-dashoffset: 183; transform: rotate(-90deg); transform-origin: center; }
.success-mark__tick { fill: none; stroke: #1F9D55; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.modal[open] .success-mark__circle { animation: draw 0.7s var(--ease-out) 0.15s forwards; }
.modal[open] .success-mark__tick { animation: draw 0.45s var(--ease-out) 0.7s forwards; }
.modal[open] .success-mark svg { animation: pop 0.5s var(--ease-out) 0.95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
    .success-mark__circle, .success-mark__tick { stroke-dashoffset: 0; animation: none !important; }
    .booking__step *, .slots__panel.is-entering, .modal[open] .modal__card { animation: none !important; }
}

/* ==========================================================================
   404 – rollender Reifen als Null; Gutachten – Auto unter der Lupe
   ========================================================================== */
.err {
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding-top: calc(var(--header-offset, var(--header-h)) + clamp(2rem, 5vw, 4rem));
    padding-bottom: var(--section-y);
    background: var(--c-surface);
    text-align: center;
}
.err__inner { display: flex; flex-direction: column; align-items: center; }
.err__code {
    display: flex;
    align-items: center;
    gap: 0.04em;
    font-size: clamp(6rem, 3rem + 14vw, 12rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.9;
}
.err__tire { width: 0.78em; height: 0.78em; margin-inline: 0.04em; overflow: visible; animation: err-roll-in 1.4s var(--ease-out) both; }
.err__tire-spin { transform-box: fill-box; transform-origin: center; animation: err-rock 3.2s ease-in-out 1.4s infinite; }
.appraisal-car { display: block; width: min(100%, 10rem); height: auto; margin-bottom: 1.5rem; overflow: visible; }
.appraisal-car__body { fill: #0A0A0A; }
.appraisal-car__car { transform-box: fill-box; transform-origin: 50% 100%; animation: appraisal-car-hiccup 4s ease-in-out infinite; }
.appraisal-car__wheel { transform-box: fill-box; transform-origin: center; }
.appraisal-car__steam circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: appraisal-car-steam 2.4s ease-out infinite; }
.appraisal-car__steam circle:nth-child(2) { animation-delay: 0.8s; }
.appraisal-car__steam circle:nth-child(3) { animation-delay: 1.6s; }
.appraisal-car__pupil { animation: appraisal-car-look 5s ease-in-out infinite; }
.appraisal-car__eye { transform-box: fill-box; transform-origin: center; animation: appraisal-car-blink 5s infinite; }
.appraisal-car__plaster { animation: none; }
.appraisal-car__lens { animation: appraisal-car-scan 5.5s ease-in-out infinite; }
.err__title { margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.055em; line-height: 1; text-wrap: balance; }
.err__text { max-width: 34rem; margin-top: 1rem; color: var(--c-ink-soft); text-wrap: pretty; }
.err__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
/* Mobil: Buttons in voller Breite, Text links und Pfeil-Box rechts (wie im Hero) */
@media (max-width: 479px) {
    .err__actions { flex-direction: column; align-self: stretch; }
    .err__actions .btn { width: 100%; }
    .err__actions .btn, .err__actions .btn__fill { justify-content: flex-start; }
    .err__actions .btn__bubble { margin-left: auto; }
}

@keyframes err-roll-in {
    0% { transform: translateX(60vw) rotate(540deg); }
    70% { transform: translateX(-0.06em) rotate(-12deg); }
    100% { transform: translateX(0) rotate(0); }
}
@keyframes err-rock { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes appraisal-car-hiccup {
    0%, 70%, 100% { transform: translateY(0) rotate(0); }
    76% { transform: translateY(-6px) rotate(-1.5deg); }
    82% { transform: translateY(0) rotate(0.6deg); }
    88% { transform: translateY(-2px) rotate(0); }
}
@keyframes appraisal-car-steam {
    0% { opacity: 0; transform: translateY(0) scale(0.6); }
    25% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-34px) scale(1.4); }
}
@keyframes appraisal-car-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(0.1); } }
@keyframes appraisal-car-look { 0%, 30%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(-2px, -2px); } }
@keyframes appraisal-car-scan {
    0%, 100% { transform: translate(318px, 118px) rotate(0); }
    30% { transform: translate(340px, 132px) rotate(8deg); }
    55% { transform: translate(326px, 140px) rotate(-4deg); }
    80% { transform: translate(312px, 124px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
    .err *, .err__tire, .appraisal-car * { animation: none !important; }
    .appraisal-car__lens { transform: translate(326px, 126px); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding-top: var(--section-y);
    padding-bottom: 1.5rem;
    background: var(--c-mint);
    overflow: hidden;
}
.site-footer__top { display: grid; gap: 3.5rem; }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5rem; } }
.site-footer__tagline { margin-top: 1.75rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.site-footer__text { max-width: 34rem; margin-top: 0.75rem; color: var(--c-ink-soft); font-size: var(--fs-small); text-wrap: pretty; }

.site-footer__contact { display: grid; margin: 1.75rem 0 0; max-width: 34rem; }
.site-footer__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.875rem 0; font-size: var(--fs-small); line-height: 1.5; }
.site-footer__row + .site-footer__row { border-top: 1px solid var(--c-line); }
.site-footer__row:first-child { padding-top: 0; }
.site-footer__row:last-child { padding-bottom: 0; }
.site-footer__row dt { color: var(--c-ink-mute); font-size: var(--fs-xs); padding-top: 0.15em; }
.site-footer__row dd { margin: 0; color: var(--c-ink); }
@media (max-width: 639px) {
    .site-footer__row { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
}

/* Kontakt-Icons | Google-Unternehmensprofil in einer Zeile */
.site-footer__reach { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.site-footer__icons { display: flex; gap: 0.25rem; }
.site-footer__icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--c-ink);
    transition: color 0.3s var(--ease-out);
}
.site-footer__icon svg { display: block; }
.site-footer__icon:hover, .site-footer__icon:focus-visible { color: var(--c-green); }
.site-footer__divider { width: 1px; height: 1.5rem; background: var(--c-line); }
/* Zu schmal für eine Zeile: Profil bricht um, Trennstrich entfällt */
@media (max-width: 419px) { .site-footer__divider { display: none; } }
.gbp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
}
.gbp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gbp-link__logo { width: 20px; height: 20px; }

/* Sitemap: ab Tablet rechtsbündig mit gleichen Abständen – letzte Spalte endet an der rechten Containerkante */
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; align-content: start; }
.site-footer__col:first-child { grid-column: 1 / -1; }
@media (max-width: 639px) { .site-footer__cols { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) {
    .site-footer__cols { display: flex; justify-content: flex-end; align-items: flex-start; gap: clamp(2.5rem, 5vw, 5rem); }
}
.site-footer__title { margin-bottom: 1rem; color: var(--c-ink-mute); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.01em; }
.site-footer__list { display: grid; gap: 0.625rem; }
.site-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-ink);
    font-size: var(--fs-small);
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.3s;
}
.site-footer__link .icon { flex-shrink: 0; color: var(--c-green); }
.site-footer__link {
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
    transition: color 0.3s, background-size 0.4s var(--ease-out);
}
.site-footer__link:hover, .site-footer__link:focus-visible { color: var(--c-green); background-size: 100% 1px; }
.site-footer__link--block { display: block; }
.site-footer__address { display: grid; gap: 0.75rem; }
.site-footer__hint { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-ink-soft); font-size: var(--fs-xs); }
.site-footer__hint .icon { color: var(--c-green); flex-shrink: 0; }

.site-footer__wordmark {
    margin-top: clamp(3rem, 6vw, 5rem);
    color: var(--c-surface);
    /* Breite der Wortmarke ≈ 6,71 × Schriftgröße (Geist 700) → füllt die Containerbreite exakt */
    font-size: calc((min(100vw, var(--container-max) + 2 * var(--gutter)) - 2 * var(--gutter)) / 6.95);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.8;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    margin-top: clamp(3rem, 5vw, 4.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-line);
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
}

/* Build With ♡ by HWM – Logo am Schriftzug „HWM" auf Versalhöhe zentriert (Swooshes ausgenommen) */
.credit {
    --credit-heart: 1.1em;
    --credit-logo: 1.2em;
    margin-left: auto;
    color: var(--c-ink-soft);
    font-size: var(--fs-xs);
    line-height: 2;
    white-space: nowrap;
}
.credit__heart {
    display: inline-block;
    width: var(--credit-heart);
    height: var(--credit-heart);
    margin-inline: 0.3em;
    color: #CE181E;
    /* Herz-Mitte (≈ 47,8 % über Unterkante) auf halbe Versalhöhe legen */
    vertical-align: calc(var(--cap-height) * 0.5em - var(--credit-heart) * 0.478);
}
.credit__link { display: inline-block; margin-left: 0.35em; border-radius: 4px; }
.credit__logo {
    display: inline-block;
    width: auto;
    height: var(--credit-logo);
    /* Mitte der Buchstaben „HWM" liegt 87,99/238 über der SVG-Unterkante */
    vertical-align: calc(var(--cap-height) * 0.5em - var(--credit-logo) * 0.3697);
    transition: transform 0.4s var(--ease-out);
}
@media (max-width: 639px) {
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .credit { margin-left: 0; }
}

/* ==========================================================================
   Consent-Banner
   ========================================================================== */
.consent {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 60;
    width: min(440px, calc(100% - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    border-radius: var(--r-lg);
    background: var(--c-forest);
    color: var(--c-on-forest);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35);
    --c-focus: var(--c-lime);
    animation: consent-in 0.6s var(--ease-out);
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 24px)); } }
@media (min-width: 640px) { .consent { padding: 2rem; } }
.consent__title { color: #fff; font-size: 1.25rem; letter-spacing: -0.02em; }
.consent__text { margin-top: 0.75rem; color: var(--c-on-forest-soft); font-size: var(--fs-xs); line-height: 1.55; }
.consent__details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s var(--ease-out), opacity 0.35s var(--ease-out);
}
.consent__details.is-open { grid-template-rows: 1fr; opacity: 1; }
.consent__details-inner { display: grid; gap: 0.5rem; min-height: 0; overflow: hidden; padding-top: 1rem; }
.consent__save-row { margin-top: 0.25rem; }
.consent__save-row .btn { width: 100%; }
.consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
}
.consent__option-title { color: #fff; font-size: var(--fs-small); font-weight: 600; }
.consent__option-desc { margin-top: 0.125rem; color: var(--c-on-forest-soft); font-size: 0.75rem; line-height: 1.45; }
.consent__always { color: var(--c-lime); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.consent__actions { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.consent__actions .btn,
.consent__save-row .btn { justify-content: space-between; }
.consent__actions .btn { width: 100%; }
.consent__actions .btn__fill,
.consent__save-row .btn__fill { justify-content: space-between; }
.consent__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 1rem; font-size: 0.75rem; }
.consent__links a,
.consent__settings { color: var(--c-on-forest-soft); text-decoration: underline; text-underline-offset: 0.2em; }
.consent__settings {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0;
    border: 0;
    background: none;
    text-decoration: none;
    font-weight: 600;
    color: var(--c-lime);
}
.consent__links a:hover { color: #fff; }

/* ==========================================================================
   Datenschutz-Sheet (Bottom-Sheet im Stil des Consent-Banners)
   ========================================================================== */
.sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--c-on-forest);
    overflow: visible;
    --c-focus: var(--c-lime);
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: modal-fade 0.35s var(--ease-out); }
.sheet.is-closing::backdrop { animation: modal-fade 0.32s ease-in reverse forwards; }
.sheet__panel {
    display: flex;
    flex-direction: column;
    height: min(92dvh, calc(100dvh - 1.5rem));
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: var(--c-forest);
    transform: translateY(var(--sheet-y, 0px));
    transition: transform 0.45s var(--ease-out);
    will-change: transform;
}
.sheet[open] .sheet__panel { animation: sheet-in 0.55s var(--ease-out); }
.sheet.is-dragging .sheet__panel { transition: none; }
.sheet.is-closing .sheet__panel { transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.4, 0, 1, 1); }
@keyframes sheet-in { from { transform: translateY(100%); } }

.sheet__head {
    flex: none;
    padding: 0.75rem var(--gutter) 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    touch-action: none;
    cursor: grab;
    user-select: none;
}
.sheet.is-dragging .sheet__head { cursor: grabbing; }
.sheet__handle { display: block; width: 44px; height: 5px; margin: 0 auto 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.28); transition: background-color 0.3s; }
.sheet__head:hover .sheet__handle,
.sheet.is-dragging .sheet__handle { background: rgba(255, 255, 255, 0.5); }
.sheet__bar { display: flex; align-items: center; gap: 1rem; max-width: 60rem; margin: 0 auto; }
.sheet__title { flex: 1; min-width: 0; color: #fff; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.sheet__page-link { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--c-on-forest-soft); font-size: 0.75rem; font-weight: 600; white-space: nowrap; transition: color 0.3s; }
.sheet__page-link:hover { color: #fff; }
.sheet__close { display: grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; transition: background-color 0.3s; }
.sheet__close:hover { background: rgba(255, 255, 255, 0.16); }
@media (max-width: 479px) { .sheet__page-link { display: none; } }

.sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet__inner { max-width: 60rem; margin: 0 auto; padding: 1.5rem var(--gutter) calc(3rem + env(safe-area-inset-bottom)); }

/* Rechtstext auf dunklem Grund */
.legal--sheet { padding: 0; background: transparent; }
.legal--sheet .legal__note { margin-top: 0; color: var(--c-on-forest-soft); }
.legal--sheet .legal__body { margin-top: 0.5rem; gap: 2.25rem; }
.legal--sheet .legal__note + .legal__body { margin-top: 2rem; }
.legal--sheet .legal__section h2 { color: #fff; font-size: 1.125rem; }
.legal--sheet .legal__content p,
.legal--sheet .legal__list,
.legal--sheet .legal__facts dd,
.legal--sheet .legal__facts--wide dd { color: var(--c-on-forest-soft); font-size: var(--fs-small); }
.legal--sheet .legal__section strong,
.legal--sheet .legal__facts--wide dt { color: #fff; }
.legal--sheet .legal__facts dt { color: rgba(255, 255, 255, 0.5); font-size: var(--fs-small); }
.legal.legal--sheet a:not(.legal__credit-logo):not(.breadcrumb__link),
.legal.legal--sheet a:not(.legal__credit-logo):not(.breadcrumb__link):hover,
.legal.legal--sheet a:not(.legal__credit-logo):not(.breadcrumb__link):focus-visible { color: #fff; }
.legal--sheet ::selection { background: #fff; color: #000; }
@media (prefers-reduced-motion: reduce) {
    .sheet[open] .sheet__panel { animation: none; }
    .sheet__panel, .sheet.is-closing .sheet__panel { transition: none; }
}

/* ==========================================================================
   Toaster
   ========================================================================== */
.toaster {
    position: fixed;
    top: calc(var(--header-h) + 0.5rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 70;
    display: grid;
    gap: 0.5rem;
    pointer-events: none;
}
@media (min-width: 640px) { .toaster { top: auto; bottom: 1.5rem; left: auto; right: 1.5rem; width: 400px; } }
.toast {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.875rem;
    padding: 1rem 0.75rem 1.125rem 1rem;
    border-radius: var(--r-md);
    background: var(--c-forest);
    color: #fff;
    overflow: hidden;
    pointer-events: auto;
    animation: toast-in 0.55s var(--ease-out);
    --c-focus: var(--c-lime);
}
.toast.is-leaving { animation: toast-out 0.4s var(--ease-in-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
.toast__icon > span { display: none; }
.toast--success .toast__icon-success { display: block; color: var(--c-lime); }
.toast--error .toast__icon-error { display: block; color: #FF9B8C; }
.toast--info .toast__icon-info { display: block; color: var(--c-on-forest-soft); }
.toast__title { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.toast__text { margin-top: 0.125rem; color: var(--c-on-forest-soft); font-size: var(--fs-xs); line-height: 1.5; }
.toast__text:empty { display: none; }
.toast__close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: -0.25rem 0 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--c-on-forest-soft);
    transition: background-color 0.3s, color 0.3s;
}
.toast__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.toast__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--c-lime);
    transform-origin: left center;
    animation: toast-progress var(--toast-duration, 6s) linear forwards;
}
.toast:hover .toast__progress { animation-play-state: paused; }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* Admin: Toaster als Popover (oberste Ebene, auch über Dialogen); Handy oben volle Breite, ab 640px oben rechts */
.toaster--admin { top: max(0.75rem, env(safe-area-inset-top)); bottom: auto; left: 0.75rem; right: 0.75rem; width: auto; }
.toaster--admin[popover] { inset: auto; top: max(0.75rem, env(safe-area-inset-top)); left: 0.75rem; right: 0.75rem; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.toaster--admin[popover]:popover-open { display: grid; }
@media (min-width: 640px) { .toaster--admin, .toaster--admin[popover] { top: 1.25rem; left: auto; right: 1.25rem; width: 400px; } }
@keyframes toast-in-top { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }
.toaster--admin .toast:not(.is-leaving) { animation-name: toast-in-top; }
@media (prefers-reduced-motion: reduce) { .toaster--admin .toast, .toaster--admin .toast__progress { animation: none; } }

/* ==========================================================================
   Scroll-Animationen: Ausgangszustände (nur mit JS & ohne reduzierte Bewegung)
   ========================================================================== */
html.js:not(.reduced-motion) [data-hero-item],
html.js:not(.reduced-motion) [data-reveal],
html.js:not(.reduced-motion) [data-stagger-item],
html.js:not(.reduced-motion) [data-bento-item] { opacity: 0; }
html.js:not(.reduced-motion) [data-hero-line] { transform: translateY(105%); }
html.js:not(.reduced-motion) [data-hero-visual] { opacity: 0; }
html.js:not(.reduced-motion) [data-split] { visibility: hidden; }

html.anim-fallback [data-hero-item],
html.anim-fallback [data-reveal],
html.anim-fallback [data-stagger-item],
html.anim-fallback [data-bento-item],
html.anim-fallback [data-hero-visual] { opacity: 1 !important; transform: none !important; }
html.anim-fallback [data-hero-line] { transform: none !important; }
html.anim-fallback [data-split] { visibility: visible !important; }

.split-line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
/* Zeilen-Masken der Überschriften (SplitText): Luft für Umlaut-Punkte und Unterlängen (Ü, g), ohne das Layout zu verschieben */
.split-line-inner-mask { padding-block: 0.15em; margin-block: -0.15em; }

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .marquee__group { animation: none; }
    .ev__text { transform: none !important; }
}
.reduced-motion .ev__text { transform: none !important; }

/* ==========================================================================
   Druck
   ========================================================================== */
@media print {
    .site-header, .mobile-menu, .consent, .toaster, .marquee, .map, .route-card { display: none !important; }
    body { background: #fff; }
    .section { padding-block: 2rem; }
    [data-reveal], [data-stagger-item], [data-bento-item], [data-hero-item] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Leistungsübersicht
   ========================================================================== */
.overview__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.overview__heading { max-width: none; }
.overview__lead { color: var(--c-ink-soft); font-size: var(--fs-body); line-height: 1.55; }
.overview__grid { display: grid; gap: 0.75rem; }
/* Tablet: Gutachten-Karte volle Breite, darunter zwei Karten. Desktop: Gutachten links über zwei Reihen, rechts gestapelt. */
@media (min-width: 640px) {
    .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .overview-card--reports { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .overview__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; }
    .overview-card--reports { grid-column: 1; grid-row: span 2; }
}
.overview-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.5rem, 2.2vw, 2.25rem);
    border-radius: 14px;
    background: var(--c-bg);
}
.overview-card__title { font-size: var(--fs-h3); font-weight: 550; letter-spacing: -0.025em; line-height: 1.2; }
.overview-card__text { max-width: 34rem; color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.55; }
/* Inhalt der Gutachten-Karte: Arten und Fragen ab Desktop nebeneinander → deutlich flachere Karte */
.overview-card__body { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .overview-card__body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
.overview-card__label {
    margin-bottom: 0.75rem;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
/* Gutachtenarten */
.overview-card__types { display: grid; gap: 0.875rem; }
.overview-type { display: flex; align-items: flex-start; gap: 0.625rem; }
.overview-type__title { display: block; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.overview-type__text { display: block; margin-top: 0.125rem; color: var(--c-ink-soft); font-size: var(--fs-xs); line-height: 1.5; }
/* Verlinkte Fragen: Trennlinien nur zwischen den Einträgen */
.overview-card__links li + li { border-top: 1px solid var(--c-line-soft); }
.overview-card__link,
.overview-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
}
.overview-card__links li:first-child .overview-card__link { padding-top: 0; }
.overview-card__links li:last-child .overview-card__link { padding-bottom: 0; }
.overview-card__more { justify-content: flex-start; gap: 0.3rem; margin-top: auto; padding: 1rem 0 0; }
.overview-card__link .icon, .overview-card__more .icon { flex-shrink: 0; }
/* Hover-Unterstrich wie bei den Navbar-Links */
.overview-card__link-text { position: relative; }
.overview-card__link-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    border-radius: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-out);
}
.overview-card__link:hover .overview-card__link-text::after,
.overview-card__link:focus-visible .overview-card__link-text::after,
.overview-card__more:hover .overview-card__link-text::after,
.overview-card__more:focus-visible .overview-card__link-text::after { transform: scaleX(1); }

/* ==========================================================================
   Über mich
   ========================================================================== */
.about { overflow-x: clip; padding-block: 0; }
.about__grid { display: grid; gap: 0; }
.about__content { padding-block: var(--section-y); }
.about__text { display: grid; gap: 1rem; max-width: 34rem; margin-top: 2rem; color: var(--c-ink-soft); font-size: var(--fs-body); line-height: 1.65; }
.about__signature { display: grid; justify-items: start; gap: 0.25rem; margin-top: 2.5rem; }
/* Handschriftliche Unterschrift; Clip-Pfad wird beim Scrollen aufgezogen (siehe animations.js) */
.about__sign {
    display: inline-block;
    padding: 0 0.5em 0.1em 0.1em;
    color: var(--c-ink);
    font-family: "Mrs Saint Delafield", cursive;
    font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
}
.about__role { margin-top: -0.75rem; color: var(--c-ink-mute); font-size: var(--fs-small); }
/* Foto läuft bis in das obere und untere Sektions-Padding sowie bis an den rechten Rand */
.about__media { margin: 0 calc(-1 * var(--gutter)); min-height: 22rem; overflow: hidden; background: var(--c-surface-3); }
.about__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
@media (min-width: 900px) {
    .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: stretch; }
    /* Text-Spalte vertikal mittig zum Foto */
    .about__content { align-self: center; }
    .about__media { margin: 0 calc(-1 * var(--edge)) 0 0; min-height: clamp(34rem, 48vw, 48rem); }
}

/* ---------- WhatsApp-Button (sticky, rechts unten auf allen Geräten, gleicher Randabstand wie Back-to-top links) ---------- */
.wa-fab {
    position: fixed;
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: calc(clamp(0.75rem, 2vw, 1.5rem) + env(safe-area-inset-bottom));
    z-index: 39;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--c-forest);
    color: #fff;
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
}
.wa-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wa-fab__ring rect {
    fill: none;
    stroke: var(--c-lime);
    stroke-width: 2;
    /* Lücke > Pfadlänge: im Ruhezustand liegt keine Dash-Kante am Pfadanfang (sonst feiner Strich sichtbar) */
    stroke-dasharray: 100 110;
    stroke-dashoffset: 105;
    transition: stroke-dashoffset 0.9s var(--ease-out);
}
.wa-fab:hover .wa-fab__ring rect, .wa-fab:focus-visible .wa-fab__ring rect { stroke-dashoffset: 0; }
@media (max-width: 1023px) { .wa-fab { width: 44px; height: 44px; } }
@media print { .wa-fab { display: none !important; } }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    left: clamp(0.75rem, 2vw, 1.5rem);
    bottom: calc(clamp(0.75rem, 2vw, 1.5rem) + env(safe-area-inset-bottom));
    z-index: 39;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--c-forest);
    color: var(--c-lime);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0.4s, color 0.4s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.to-top__ring rect {
    fill: none;
    stroke: var(--c-lime);
    stroke-width: 2;
    /* Lücke > Pfadlänge: im Ruhezustand liegt keine Dash-Kante am Pfadanfang (sonst feiner Strich sichtbar) */
    stroke-dasharray: 100 110;
    stroke-dashoffset: 105;
    transition: stroke-dashoffset 0.9s var(--ease-out);
}
.to-top:hover .to-top__ring rect, .to-top:focus-visible .to-top__ring rect { stroke-dashoffset: 0; }
@media (max-width: 1023px) {
    .to-top { width: 44px; height: 44px; }
}
@media print { .to-top { display: none !important; } }

/* Hinweis im Vor-Ort-Abschnitt auf Desktop einzeilig */
@media (min-width: 1024px) { .appointment p { white-space: nowrap; } }

/* ---------- Bewertungen (schlicht, Zitat-Slider) ---------- */
.reviews__layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1024px) {
    .reviews__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
}
.reviews__card { display: grid; gap: 1.5rem; max-width: 26rem; margin-top: 2rem; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--r-lg); background: var(--c-surface-2); }
.reviews__score { display: flex; align-items: center; gap: 1.25rem; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reviews__value { font-size: clamp(2.25rem, 2rem + 1vw, 2.75rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--c-ink); }
.reviews__count { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.375rem; color: var(--c-ink-mute); font-size: var(--fs-xs); }
.reviews__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem; font-size: var(--fs-small); }

.reviews__quotes { min-width: 0; }
.reviews__embla .embla__viewport { margin-right: 0; padding-right: 0; overflow: hidden; }
.reviews__embla .embla__container { margin-left: 0; }
.quote.embla__slide { flex: 0 0 100%; padding-left: 0; padding-right: 0; }
.quote { display: grid; gap: 1.25rem; margin: 0; }
.quote__text { margin: 0; color: var(--c-ink); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.3; }
.quote__author { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-small); }
.quote__author strong { display: block; color: var(--c-ink); font-weight: 600; }
.quote__time { display: block; color: var(--c-ink-mute); font-size: var(--fs-xs); }
.quote__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-mint); color: var(--c-ink); font-size: var(--fs-xs); font-weight: 600; }
.quote--empty .icon { color: var(--c-green); }

.reviews__dots { margin-top: 2rem; }
.reviews__dots .carousel-dot { position: relative; cursor: pointer; }
.reviews__dots .carousel-dot::before { content: ""; position: absolute; inset: -10px -4px; }
.reviews__dots .carousel-dot:not(.is-selected):hover { background: color-mix(in srgb, var(--c-ink) 40%, transparent); }
.reviews__google { flex-shrink: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
    .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
    .faq__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq__item + .faq__item { border-top: 1px solid var(--c-line); }
.faq__item:first-child .faq__question { padding-top: 0; }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.375rem 0;
    color: var(--c-ink);
    font-size: var(--fs-h3);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.25;
    cursor: pointer;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__toggle { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__question:hover { color: var(--c-ink-soft); }
.faq__answer { max-width: 34rem; padding-bottom: 1.5rem; color: var(--c-ink-soft); font-size: var(--fs-body); }
.faq__link-wrap { margin-top: -0.5rem; padding-bottom: 1.5rem; }
.faq__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-ink); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.faq__link .icon { transition: transform 0.35s var(--ease-out); }
.faq__link:hover .icon { transform: translateX(4px); }

/* Kompakter Ratgeber: Hero, Fakten und Kontakt. */
.report-guide__hero { padding-top: var(--header-offset, var(--header-h)); background: var(--c-surface); overflow-x: clip; }
.report-guide__hero-grid { display: grid; align-items: stretch; gap: 0; }
.report-guide__intro { align-self: center; padding-block: var(--section-y); }
.report-guide__title { margin-top: 1.25rem; max-width: 10ch; font-size: clamp(2.75rem, 5vw, 5.25rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 400; }
.report-guide__title--wide { max-width: none; text-wrap: balance; }
.report-guide__lead { max-width: 34rem; margin-block: 1.5rem; color: var(--c-ink-soft); font-size: var(--fs-body); text-wrap: pretty; }
.report-guide__image { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; background: var(--c-surface-3); }
.report-guide__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.report-guide__main-grid { display: grid; align-items: start; gap: 2.5rem; }
.report-guide__main .section-heading__title { font-size: clamp(2rem, 3vw, 3rem); }
.report-guide__purpose { max-width: none; margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--fs-body); }
.report-guide__points { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
/* Content remains readable while the page animations initialize. */
html.js:not(.reduced-motion) .report-guide [data-reveal],
html.js:not(.reduced-motion) .report-guide [data-stagger-item] { opacity: 1; visibility: visible; }
html.js:not(.reduced-motion) .report-guide [data-split] { visibility: visible; }
.report-guide__contact { padding-top: 0; padding-bottom: var(--section-y); background: var(--c-surface); }
.report-guide__cta { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: 1.5rem; background: var(--c-forest); color: #fff; }
.report-guide__cta-label { margin-bottom: 0.875rem; color: #ccc; font-size: var(--fs-xs); }
.report-guide__cta h2 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.045em; }
.report-guide__cta-text { max-width: 35rem; margin-top: 1rem; color: #ccc; font-size: var(--fs-small); }
.report-guide__actions { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; }
.report-guide__actions .btn { --btn-bg: #fff; --btn-fg: var(--c-forest); --btn-bg-hover: #fff; --box-bg: var(--c-forest); --box-fg: #fff; }
.report-guide__phone { color: #fff; font-size: var(--fs-small); font-weight: 500; }

/* ==========================================================================
   Termin absagen (/termin-absagen)
   ========================================================================== */
.cancel-page { padding-top: calc(var(--header-offset, var(--header-h)) + clamp(2rem, 5vw, 4rem)); padding-bottom: var(--section-y); background: var(--c-surface); }
.cancel-page__inner { max-width: calc(38rem + 2 * var(--gutter)); }
.cancel-card { padding: clamp(1.5rem, 4.5vw, 3rem); border-radius: var(--r-lg); background: var(--c-surface-2); }
.cancel-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); }
.cancel-card.is-done .cancel-card__icon { background: var(--c-success); color: #fff; }
.cancel-card.is-invalid .cancel-card__icon, .cancel-card.is-error .cancel-card__icon { color: var(--c-danger); }
.cancel-card__title { margin-top: 1.25rem; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; text-wrap: balance; }
.cancel-card__text { margin-top: 0.75rem; color: var(--c-ink-soft); line-height: 1.6; text-wrap: pretty; }
.cancel-card.is-error .cancel-card__text { color: var(--c-danger); }
.cancel-card__details { display: grid; margin: 1.5rem 0 0; border-top: 1px solid var(--c-line); }
.cancel-card__details > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); }
.cancel-card__details dt { color: var(--c-ink-mute); }
.cancel-card__details dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.cancel-card__details dd.is-struck { color: var(--c-ink-mute); text-decoration: line-through; }
@media (max-width: 479px) { .cancel-card__details > div { grid-template-columns: 1fr; gap: 0.125rem; } }
.cancel-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.cancel-card__keep { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--c-ink); font-size: var(--fs-small); font-weight: 550; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c-ink) 25%, transparent); text-underline-offset: 0.25em; }
.cancel-card__keep:hover { text-decoration-color: currentColor; }
.cancel-card__note { margin-top: 1rem; color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.55; }

/* ==========================================================================
   Schnell-Check „Gutachten oder Kostenvoranschlag?“ (/gutachten-check)
   ========================================================================== */
.check-page__hero { padding-top: calc(var(--header-offset, var(--header-h)) + var(--section-y)); background: var(--c-surface); }
.check-page__intro { min-width: 0; max-width: 48rem; }
.check-page__title { font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; text-wrap: balance; }
.check-page__lead { max-width: 38rem; margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--fs-lead); text-wrap: pretty; }
.check-page__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--c-ink-soft); font-size: var(--fs-small); }
.check-page__facts li { display: inline-flex; align-items: center; gap: 0.375rem; }
.check-page__facts .icon { color: var(--c-success); }
.check-page__main { padding-block: clamp(2rem, 4vw, 3.5rem) var(--section-y); background: var(--c-surface); }

/* Check-Fläche: graue Bühne, weiße Antwortkarten */
.check { min-width: 0; padding: clamp(1.25rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); background: var(--c-surface-2); scroll-margin-top: calc(var(--header-h) + 1rem); }
.check:focus { outline: none; }
.check__head { display: grid; gap: 0.75rem; }
.check__count { color: var(--c-ink-mute); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.check__progress { display: flex; gap: 6px; }
.check__segment { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 10%, transparent); }
.check__segment::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.check__segment.is-current::after { transform: scaleX(0.15); }
.check__segment.is-done::after { transform: scaleX(1); }

.check__steps { display: grid; gap: 2.5rem; }
html.js .check__step:not(.is-active) { display: none; }
.check__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.check__question { float: left; width: 100%; margin: clamp(1.5rem, 3vw, 2.25rem) 0 1.25rem; padding: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; text-wrap: balance; }
.check__options { clear: both; display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .check__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.check-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 88px;
    padding: 1rem 3rem 1rem 1rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    background: var(--c-surface);
    cursor: pointer;
    transition: border-color 0.3s;
}
@media (max-width: 559px) { .check-option { min-height: 72px; padding-block: 0.75rem; } .check-option__icon { width: 44px; height: 44px; } }
.check-option:active { transform: scale(0.985); }
.check-option__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check-option:has(.check-option__input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.check-option:has(.check-option__input:checked) { border-color: var(--c-ink); transform: none; }
.check-option__icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-surface-2); color: var(--c-ink); transition: background-color 0.35s, color 0.35s; }
.check-option:has(.check-option__input:checked) .check-option__icon { background: var(--c-ink); color: var(--c-on-ink); }
.check-option__body { display: grid; gap: 0.125rem; min-width: 0; }
.check-option__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.check-option__text { color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.4; }
.check-option__mark { position: absolute; top: 50%; right: 1rem; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px; border: 1.5px solid var(--c-surface-3); border-radius: 50%; color: transparent; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.check-option:has(.check-option__input:checked) .check-option__mark { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-on-ink); }

.check__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.check__back { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.25rem; border: 0; background: none; color: var(--c-ink-soft); font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: color 0.2s; }
.check__back:hover { color: var(--c-ink); }
.check__back[hidden] { display: inline-flex; visibility: hidden; }
.check__next { margin-left: auto; }
.check.is-enhanced .check__next:not(.is-ready) { opacity: 0.45; }

/* Ergebnis */
.check:not(.is-result) .check__results, .check.is-result .check__form { display: none; }
.check-result { padding-top: 0.25rem; }
.check-result:focus { outline: none; }
.check-result__eyebrow { display: flex; align-items: center; gap: 0.5rem; color: var(--c-ink-mute); font-size: var(--fs-xs); font-weight: 600; }
.check-result__icon { flex: none; color: var(--c-ink); }
.check-result__title { margin-top: 0.5rem; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
.check-result__text { max-width: 44rem; margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--fs-body); line-height: 1.65; text-wrap: pretty; }
.check-result__payer { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; padding: 0.625rem 1rem; border-radius: var(--r-sm); background: var(--c-surface); font-size: var(--fs-small); font-weight: 550; }
.check-result__subtitle { margin-top: 2rem; font-size: var(--fs-small); font-weight: 600; }
.check-result__points { display: grid; gap: 0.75rem; margin: 0.875rem 0 0; padding: 0; list-style: none; }
.check-result__points li { display: flex; gap: 0.75rem; color: var(--c-ink-soft); line-height: 1.55; }
.check-result__points .icon { flex: none; margin-top: 0.1em; }
.check-result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.check-result__more { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--c-ink); font-size: var(--fs-small); font-weight: 550; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c-ink) 25%, transparent); text-underline-offset: 0.25em; transition: text-decoration-color 0.2s; }
.check-result__more:hover { text-decoration-color: currentColor; }
.check__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.check__answers { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.check__answers-label { color: var(--c-ink-mute); font-size: var(--fs-xs); }
.check__chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.check__chip { padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--c-surface); color: var(--c-ink); font-size: var(--fs-xs); font-weight: 550; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.check__chip:hover { background: var(--c-ink); color: var(--c-on-ink); }
.check__summary-actions { display: flex; gap: 1.25rem; }
.check__text-button { color: var(--c-ink-soft); font-size: var(--fs-xs); font-weight: 550; text-decoration: underline; text-underline-offset: 0.2em; }
.check__text-button:hover { color: var(--c-ink); }
.check__disclaimer { display: flex; gap: 0.5rem; margin-top: 1rem; color: var(--c-ink-mute); font-size: var(--fs-xs); line-height: 1.55; }
.check__disclaimer .icon { flex: none; margin-top: 0.15em; }

/* Teaser auf der Startseite: dunkles Band mit der ersten Frage */
.check-teaser__panel { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.75rem, 4.5vw, 4rem); border-radius: 1.5rem; background: var(--c-forest); color: #fff; }
@media (min-width: 1024px) { .check-teaser__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.check-teaser__eyebrow { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: var(--fs-xs); font-weight: 600; }
.check-teaser__title { margin-top: 1.25rem; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; text-wrap: balance; }
.check-teaser__lead { max-width: 30rem; margin-top: 1rem; color: #c4c4c4; font-size: var(--fs-small); line-height: 1.6; }
.check-teaser__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: #fff; font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.check-teaser__link .icon { transition: transform 0.35s var(--ease-out); }
.check-teaser__link:hover .icon { transform: translateX(4px); }
.check-teaser__q { margin-bottom: 0.875rem; color: #bdbdbd; font-size: var(--fs-small); font-weight: 550; }
.check-teaser__options { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .check-teaser__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-teaser__option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    height: 100%;
    padding: 1rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.35s, transform 0.4s var(--ease-out);
}
.check-teaser__option:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.check-teaser__option:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.check-teaser__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); transition: background-color 0.35s, color 0.35s; }
.check-teaser__option:hover .check-teaser__icon { background: #fff; color: var(--c-forest); }
.check-teaser__text { display: grid; gap: 0.125rem; min-width: 0; }
.check-teaser__text strong { font-size: 1rem; font-weight: 600; }
.check-teaser__text span { color: #a8a8a8; font-size: var(--fs-xs); }
.check-teaser__arrow { margin-left: auto; opacity: 0.4; transform: translateX(-4px); transition: opacity 0.35s, transform 0.35s var(--ease-out); }
.check-teaser__option:hover .check-teaser__arrow { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .check-option, .check-teaser__option, .check__segment::after { transition: none; }
    .check-teaser__option:hover { transform: none; }
}
/* Handy: allein stehende Buttons über die volle Breite, Text links, Pfeil-Box rechts */
@media (max-width: 767px) {
    .report-guide__actions { align-items: stretch; }
    .report-guide__phone { align-self: flex-start; }
    .report-guide__intro > .btn, .report-guide__actions .btn, .reviews__actions .btn { width: 100%; }
    .report-guide__intro > .btn, .report-guide__intro > .btn .btn__fill,
    .report-guide__actions .btn, .report-guide__actions .btn .btn__fill { justify-content: flex-start; }
    .report-guide__intro > .btn .btn__bubble, .report-guide__actions .btn .btn__bubble { margin-left: auto; }
}
@media (min-width: 900px) {
    .report-guide__hero-grid, .report-guide__main-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); }
    /* Punkte-Raster rechts immer mittig zur Textspalte */
    .report-guide__main-grid { align-items: center; }
    .report-guide__cta { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
    .report-guide__image { position: relative; margin: 0 calc(-1 * var(--edge)) 0 0; aspect-ratio: auto; min-height: clamp(28rem, 40vw, 38rem); }
    .report-guide__image img { position: absolute; inset: 0; }
    /* Textspalte auf allen Unterseiten gleich breit (unabhängig von der Länge der Überschrift) */
    .report-guide__copy { display: grid; width: 100%; max-width: 44rem; }
    .report-guide__copy .section-heading__lead, .report-guide__purpose { width: 100%; max-width: none; contain: inline-size; }
}
@media (min-width: 640px) {
    .report-guide__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-guide__points .place-card:last-child { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
}

/* Einheitliche, ruhige Bewegung für Gebietslisten und FAQ. */
[data-disclosure-content] { display: flow-root; }
[data-disclosure] :is(.area__toggle, .faq__toggle)::after { transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
[data-disclosure][open]:not([data-disclosure-enhanced]) :is(.area__toggle, .faq__toggle)::after,
[data-disclosure].is-expanded :is(.area__toggle, .faq__toggle)::after { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
    [data-disclosure] :is(.area__toggle, .faq__toggle)::after { transition: none; }
}

/* ==========================================================================
   Dark-Theme: html[data-theme="dark"], gesetzt vom Boot-Skript (Systemeinstellung
   oder Umschalter im Footer). Flächen in --c-forest bleiben dunkel, --c-ink kehrt sich um.
   Der Admin-Bereich bleibt immer hell.
   ========================================================================== */
:root[data-theme="dark"] {
    color-scheme: dark;
    --c-bg: #121212;
    --c-mint: #101010;
    --c-surface: #181818;
    --c-surface-2: #1E1E1E;
    --c-surface-3: #262626;
    --c-ink: #F2F2F2;
    --c-ink-soft: #BDBDBD;
    --c-ink-mute: #8F8F8F;
    /* Dunkle Bänder (Kontaktleiste, Footer, Schnell-Check …) im selben Schwarz wie im Light-Mode */
    --c-forest: #0A0A0A;
    --c-forest-2: #1C1C1C;
    --c-forest-3: #2B2B2B;
    --c-green: #F2F2F2;
    --c-lime-soft: #242424;
    --c-sage: #444444;
    --c-line: rgba(255, 255, 255, 0.12);
    --c-line-soft: rgba(255, 255, 255, 0.1);
    --c-danger: #F2786B;
    --c-danger-soft: #3B1B18;
    --c-on-ink: #0A0A0A;
    --c-ink-hover: #D4D4D8;
    --c-scroll: #3A3A3A;
    --c-star-empty: #3A3A3A;
}
/* Logo-Datei ist weiß: im Dark-Mode ohne Einfärbung */
:root[data-theme="dark"] .logo__img { filter: none; }
:root[data-theme="dark"] .nav__indicator { background: var(--c-surface-2); }
:root[data-theme="dark"] .field.is-invalid .field__control,
:root[data-theme="dark"] .field.is-invalid .checkbox__box { background: var(--c-danger-soft); }
:root[data-theme="dark"] .flag { border-color: rgba(255, 255, 255, 0.15); }
:root[data-theme="dark"] .map__art-river { stroke: #222222; }
:root[data-theme="dark"] .legal__placeholder { color: #0A0A0A; }
/* HWM-Logo hat dunkle Schrift: aufhellen, Farbtöne bleiben erhalten */
:root[data-theme="dark"] :is(.credit__logo, .legal__credit-logo img) { filter: invert(1) hue-rotate(180deg); }
/* Illustrationen (Gutachten-Check, 404): schwarze Teile auf dunklem Grund sichtbar halten */
:root[data-theme="dark"] .appraisal-car__body { fill: #444444; }
:root[data-theme="dark"] .appraisal-car__lens :is(line, circle) { stroke: #E6E6E6; }
:root[data-theme="dark"] .err__tire-spin > circle:first-child { fill: #262626; }
:root[data-theme="dark"] .err__tire-spin > circle:nth-child(2) { stroke: #444444; }
/* Sanfter Wechsel beim Umschalten (nur kurz aktiv, siehe theme.js) */
html.theme-switching, html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after {
    transition: background-color 0.6s var(--ease-in-out), color 0.6s var(--ease-in-out), border-color 0.6s var(--ease-in-out), fill 0.6s var(--ease-in-out) !important;
}
/* Mobiles Menü (fest positioniert, mit clip-path): Farben sofort wechseln – mobile Browser zeichnen
   Übergänge darin nicht zuverlässig neu, der Inhalt bliebe sonst im alten Modus stehen */
html.theme-switching .mobile-menu, html.theme-switching .mobile-menu *, html.theme-switching .mobile-menu *::before, html.theme-switching .mobile-menu *::after {
    transition: none !important;
}

/* Hell/Dunkel-Umschalter im Footer */
.theme-switch {
    --count: 2;
    --pad: 0.25rem;
    --radius: var(--r-pill);
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(var(--count), minmax(0, 1fr));
    padding: var(--pad);
    border-radius: var(--radius);
    background: var(--c-surface);
}
.theme-switch__thumb {
    position: absolute;
    top: var(--pad);
    bottom: var(--pad);
    left: var(--pad);
    width: calc((100% - 2 * var(--pad)) / var(--count));
    border-radius: calc(var(--radius) - 3px);
    background: var(--c-ink);
    transition: transform 0.45s var(--ease-out), background-color 0.35s var(--ease-out);
}
:root[data-theme="dark"] .theme-switch__thumb { transform: translateX(100%); }
/* Beim Klick (data-switch-to, gesetzt von theme.js): Daumen dehnt sich in Laufrichtung, schießt über und federt zurück */
.theme-switch[data-switch-to="dark"] .theme-switch__thumb { animation: theme-thumb-to-dark 0.8s both; }
.theme-switch[data-switch-to="light"] .theme-switch__thumb { animation: theme-thumb-to-light 0.8s both; }
@keyframes theme-thumb-to-dark {
    0% { transform: translateX(0) scaleX(1); transform-origin: left; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
    30% { transform: translateX(0) scaleX(1.55); transform-origin: left; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
    62% { transform: translateX(106%) scaleX(0.9); transform-origin: left; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    80% { transform: translateX(98%) scaleX(1.03); transform-origin: left; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    100% { transform: translateX(100%) scaleX(1); transform-origin: left; }
}
@keyframes theme-thumb-to-light {
    0% { transform: translateX(100%) scaleX(1); transform-origin: right; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
    30% { transform: translateX(100%) scaleX(1.55); transform-origin: right; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
    62% { transform: translateX(-6%) scaleX(0.9); transform-origin: right; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    80% { transform: translateX(2%) scaleX(1.03); transform-origin: right; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    100% { transform: translateX(0) scaleX(1); transform-origin: right; }
}
/* Icon der neuen Wahl dreht sich mit kleinem Sprung ein */
.theme-switch[data-switch-to="dark"] [data-theme-value="dark"] svg,
.theme-switch[data-switch-to="light"] [data-theme-value="light"] svg { animation: theme-icon-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes theme-icon-in {
    0%, 25% { transform: rotate(-90deg) scale(0.6); }
    100% { transform: none; }
}
.theme-switch__option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 38px;
    min-height: 32px;
    padding: 0 0.6875rem;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--c-ink-soft);
    font-size: var(--fs-xs);
    font-weight: 550;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.4s var(--ease-in-out) 0.15s;
}
.theme-switch__option:hover { color: var(--c-ink); }
:root:not([data-theme="dark"]) .theme-switch__option[data-theme-value="light"],
:root[data-theme="dark"] .theme-switch__option[data-theme-value="dark"] { color: var(--c-on-ink); }
.theme-switch__option svg { flex-shrink: 0; }
/* Mobiles Menü: gleiche Optik wie der Sprach-Umschalter darüber */
.theme-switch--lg { --pad: 0.3125rem; --radius: 10px; display: grid; height: 48px; }
.theme-switch--lg .theme-switch__option { justify-content: flex-start; gap: 0.625rem; color: var(--c-ink); font-size: 1rem; letter-spacing: -0.01em; }

/* Navbar: Icon-Button neben dem Sprachwechsler, zeigt das Ziel (Mond im hellen, Sonne im dunklen Modus) */
.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-ink-soft);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s var(--ease-out);
}
.theme-toggle:hover { color: var(--c-ink); }
.theme-toggle__icon {
    grid-area: 1 / 1;
    display: grid;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s var(--ease-out);
}
.theme-toggle__icon--sun,
:root[data-theme="dark"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
:root[data-theme="dark"] .theme-toggle__icon--sun { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .theme-switch__thumb { transition: none; }
    .theme-switch[data-switch-to] :is(.theme-switch__thumb, svg) { animation: none; }
    .theme-toggle__icon { transition: none; }
}
