/* ===========================================================================
   Coaching- & Besprechungsraum Landshut
   Designsystem und Seitenstile

   Aufbau dieser Datei:
     1. Tokens (Farben, Typografie, Abstaende)
     2. Reset und Grundlagen
     3. Bausteine (Buttons, Karten, Formulare)
     4. Layout (Header, Footer, Sektionen)
     5. Seitenspezifische Bereiche
     6. Buchungsdialog
     7. Hilfsklassen und Media Queries
   ========================================================================= */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
    /* Beige- und Sandtoene */
    --sand-50:  #faf8f4;
    --sand-100: #f4efe7;
    --sand-200: #ebe3d6;
    --sand-300: #ded4c3;

    /* Grautoene */
    --white:    #ffffff;
    --grey-100: #f2f1ef;
    --grey-300: #d7d4ce;
    --grey-500: #8c8781;
    --grey-700: #5f5b56;

    /* Text */
    --ink:      #26241f;
    --ink-soft: #4a4642;
    --muted:    #6b6763;

    /* Akzent: gedecktes Dunkelrot */
    --accent:        #7b2c2c;
    --accent-dark:   #5f2020;
    --accent-light:  #9a4040;
    --accent-tint:   #f6ecea;

    --line:      #e4dccf;
    --line-soft: #efe9df;

    /* Typografie */
    --font: Helvetica, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;

    --fs-xs:   0.8125rem;
    --fs-sm:   0.9375rem;
    --fs-base: 1.0625rem;
    --fs-lg:   1.1875rem;
    --fs-xl:   clamp(1.25rem, 0.9rem + 1.1vw, 1.5rem);
    --fs-h3:   clamp(1.25rem, 1rem + 0.9vw, 1.5rem);
    --fs-h2:   clamp(1.65rem, 1.2rem + 1.9vw, 2.4rem);
    --fs-h1:   clamp(2.1rem, 1.35rem + 3.2vw, 3.6rem);

    /* Abstaende */
    --space-section: clamp(4rem, 8vw, 7.5rem);
    --space-gap:     clamp(1.5rem, 3vw, 2.75rem);

    --radius:    3px;
    --radius-lg: 6px;

    --shadow-sm: 0 1px 2px rgba(38, 36, 31, .06), 0 2px 8px rgba(38, 36, 31, .04);
    --shadow-md: 0 2px 6px rgba(38, 36, 31, .07), 0 12px 32px rgba(38, 36, 31, .08);
    --shadow-lg: 0 8px 24px rgba(38, 36, 31, .1), 0 32px 64px rgba(38, 36, 31, .12);

    --container: 1160px;
}

/* --- 2. Reset und Grundlagen --------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover { color: var(--accent-dark); }

img, picture, svg { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

strong { color: var(--ink); font-weight: 600; }

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: var(--space-gap) 0;
}

/* Sichtbarer Fokus - nie entfernen, nur gestalten */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--accent-tint); color: var(--accent-dark); }

/* --- 3. Bausteine --------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: 760px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    min-height: 50px;
    padding: .85em 1.7em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: .5;
    cursor: not-allowed;
}

.btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}
.btn--primary:hover:not(:disabled) {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn--outline:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
    min-height: 44px;
    padding: .6em 1em;
}
.btn--ghost:hover:not(:disabled) { color: var(--accent); }

.btn--on-dark {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}
.btn--on-dark:hover:not(:disabled) {
    background: var(--sand-100);
    border-color: var(--sand-100);
    color: var(--accent-dark);
}

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: var(--fs-base); padding: 1em 2.2em; }

/* Kleines Label ueber Ueberschriften */
.eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lead {
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: var(--ink-soft);
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* --- 4. Layout ------------------------------------------------------------ */

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: .75rem 1.25rem;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand { background: var(--sand-100); }
.section--sand-soft { background: var(--sand-50); }

.section__head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* --- 5. Seitenbereiche ---------------------------------------------------- */

/* Hero */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Voller Bildschirm; dvh beruecksichtigt ein- und ausblendende
       Browserleisten auf dem Handy, vh ist der Fallback */
    min-height: 100vh;
    min-height: 100dvh;
    padding-block: clamp(4rem, 12vw, 7rem);
    color: var(--white);
    background: var(--ink);
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(24, 22, 19, .5), transparent 22%),
        linear-gradient(to top, rgba(24, 22, 19, .82) 0%, rgba(24, 22, 19, .45) 42%, rgba(24, 22, 19, .18) 75%),
        linear-gradient(to right, rgba(24, 22, 19, .35), transparent 60%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; }

/* --- Leiste ueber dem Hero: Logo rechts oben, daneben das Menue ---------- */

.hero-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;   /* Logo rechts oben */
    gap: clamp(.75rem, 2vw, 1.25rem);
    padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1.25rem, 4vw, 2.5rem);
}

/* Sobald die Rail sichtbar ist, endet das Logo buendig auf der Achse der
   Rail-Beschriftung (deren rechte Kante liegt 34px vor dem Fensterrand) -
   das "t" von "Landshut" steht damit exakt ueber den Sektionsnummern. */
@media (min-width: 980px) {
    .hero-top { padding-right: 34px; }
}

/* Logo - weisse Variante, harmoniert mit dem abgedunkelten Hero-Bild */

.logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--white);
}
.logo:hover { color: var(--white); }

.logo__mark {
    width: clamp(30px, 4vw, 40px);
    height: auto;
    flex: none;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}
.logo__roof { stroke: rgba(255, 255, 255, .75); }
.logo__win  { stroke: var(--white); }

.logo__text {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.logo__text strong { font-weight: 700; color: var(--white); }

/* --- Scroll-Rail (rechte Kante) -----------------------------------------
   Fortschrittslinie mit ziehbarem Balken; jede Sektion erscheint als
   Nummer mit Namen an ihrer relativen Position im Dokument.
   Die Elemente erzeugt assets/js/main.js aus [data-rail]. */

/* Die native Scrollleiste verschwindet - die Rail IST die Scrollleiste.
   Nur auf Seiten mit Rail (#rail existiert nur auf der Startseite) und nur
   ab 980px, darunter ist die Rail ausgeblendet. Browser ohne :has() zeigen
   schlicht weiter die normale Leiste - kein Schaden. */
@media (min-width: 980px) {
    html:has(#rail) { scrollbar-width: none; }               /* Firefox */
    html:has(#rail)::-webkit-scrollbar {                     /* Chrome/Safari */
        width: 0;
        height: 0;
        display: none;
    }
}

.rail {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 72px;
    z-index: 90;
    pointer-events: none;
}

.rail__track {
    position: absolute;
    right: 22px;
    top: 88px;
    bottom: 28px;
    width: 2px;
    border-radius: 8px;
    background: rgba(140, 135, 129, .3);
}

.rail__thumb {
    position: absolute;
    right: 12px;
    top: 88px;
    /* box-sizing: border-box gilt global - die 22px enthalten also die
       2 x 9px transparenten Griffraender, sichtbar bleibt ein 4px-Balken
       (background-clip: padding-box) mittig auf der Spurlinie. */
    width: 22px;
    height: 44px;
    border-radius: 8px;
    background: var(--accent);
    background-clip: padding-box;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
}

.rail__item {
    position: absolute;
    right: 34px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    text-align: right;
    text-decoration: none;
    pointer-events: auto;
    opacity: .5;
    transition: opacity .3s ease, transform .3s ease;
}
.rail__item:hover { opacity: .85; }

.rail__num {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1;
    color: var(--grey-500);
    font-variant-numeric: tabular-nums;
}

.rail__name {
    max-width: 130px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--grey-500);
    white-space: nowrap;
}

.rail__item[data-active="true"] {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
    transform-origin: right center;
}
.rail__item[data-active="true"] .rail__num,
.rail__item[data-active="true"] .rail__name { color: var(--accent); }

/* Solange die Rail ueber dem dunklen Hero-Bild liegt, ist die Beschriftung
   weiss - danach grau auf hellen Sektionen. Umgeschaltet per JS-Klasse. */
.rail--dark .rail__num,
.rail--dark .rail__name { color: rgba(255, 255, 255, .95); }
.rail--dark .rail__track { background: rgba(255, 255, 255, .35); }
/* Der Balken bleibt auch ueber dem Hero dunkelrot - nur Spur und
   Beschriftung wechseln auf hell */

/* Unter 980px uebernimmt der Sticky-CTA - Rail ausblenden */
@media (max-width: 979px) {
    .rail { display: none; }
}

.hero__content { max-width: 44rem; }

.hero h1 {
    color: var(--white);
    margin-bottom: .5em;
    text-wrap: balance;
    text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}

.hero__sub {
    max-width: 36rem;
    margin-bottom: 2rem;
    font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2.5rem;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero__fact {
    padding-right: clamp(1.5rem, 4vw, 3rem);
    margin-right: clamp(1.5rem, 4vw, 3rem);
    border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero__fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero__fact dt {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: .25rem;
}
.hero__fact dd {
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--white);
}

/* Raumvorstellung */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.split__media img { border-radius: var(--radius-lg); }
.split__media figcaption {
    margin-top: .75rem;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.feature-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}
.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .8rem;
    color: var(--ink-soft);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* "Geeignet fuer" - Bildkarten
   Symbolbild fuellt die Karte, Titel und Text liegen unten auf einem
   dunklen Verlauf. */

.use-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(.75rem, 1.5vw, 1.15rem);
}

.use-tile {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-sm);
}

.use-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.use-tile:hover img { transform: scale(1.045); }

/* Verlauf, damit der Text immer lesbar ist */
.use-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(22, 20, 17, .88) 0%,
        rgba(22, 20, 17, .55) 34%,
        rgba(22, 20, 17, .08) 62%,
        transparent 78%
    );
}

.use-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: clamp(1rem, 2.5vw, 1.35rem);
}
.use-tile__body h3 {
    margin: 0 0 .3rem;
    font-size: var(--fs-lg);
    color: var(--white);
    letter-spacing: -.01em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
    /* Lange Komposita ("Bewerbungsgespräche") in schmalen Karten trennen */
    hyphens: auto;
    overflow-wrap: break-word;
}
.use-tile__body p {
    margin: 0;
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
}

.use-cards__note {
    margin: 1.25rem 0 0;
    font-size: var(--fs-xs);
    color: var(--muted);
}

/* Vertiefende Textbloecke zu den vier Kernnutzungen */
.use-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}
.use-detail h3 {
    font-size: var(--fs-lg);
    margin-bottom: .5em;
}
.use-detail p {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    margin: 0;
}
@media (min-width: 760px) {
    .use-detail { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 480px) {
    .use-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
    .use-cards { grid-template-columns: repeat(3, 1fr); }
    /* 10 Karten: die ersten beiden doppelt breit -> 2+2+3+3 statt 3+3+3+1 */
    .use-tile:nth-child(-n+2) { grid-column: span 1; }
}
@media (min-width: 1000px) {
    .use-cards { grid-template-columns: repeat(4, 1fr); }
    /* 10 Karten in 4 Spalten: zwei Karten breiter ziehen, damit kein Loch bleibt */
    .use-tile:nth-child(1),
    .use-tile:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
}

/* Galerie */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(.6rem, 1.5vw, 1rem);
}

.gallery__item {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--sand-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.gallery__item:hover img { transform: scale(1.035); }

.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery__item--tall { aspect-ratio: 3 / 4; }

/* Video-Kachel: Play-Symbol ueber dem Poster */

.gallery__item--video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(22, 20, 17, .22);
    transition: background-color .2s ease;
}
.gallery__item--video:hover::after { background: rgba(22, 20, 17, .1); }

.gallery__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    color: var(--accent);
    box-shadow: var(--shadow-md);
    transition: transform .2s ease;
}
.gallery__item--video:hover .gallery__play { transform: translate(-50%, -50%) scale(1.08); }
.gallery__play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Lightbox */

/* Ein <dialog> ohne [open] blendet der Browser selbst aus. Diese Regel darf
   das nicht ueberschreiben - sonst liegt die Lightbox dauerhaft ueber der
   Seite. Deshalb wird display erst gesetzt, wenn der Dialog geoeffnet ist. */
.lightbox { display: none; }

.lightbox[open] {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(22, 20, 17, .94);
    border: 0;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
}
.lightbox::backdrop { background: rgba(22, 20, 17, .94); }
.lightbox img,
.lightbox video {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox img[hidden],
.lightbox video[hidden] { display: none; }
.lightbox__video { margin-inline: auto; }
.lightbox__caption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, .75);
    font-size: var(--fs-sm);
    text-align: center;
}
.lightbox__figure { margin: 0; }

.lightbox__btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background-color .16s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }

/* Preis */

.price-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}

.price-tag { text-align: left; }
.price-tag__amount {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    font-size: clamp(3rem, 2rem + 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
}
.price-tag__unit {
    font-size: var(--fs-lg);
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0;
}
.price-tag__note {
    margin-top: .75rem;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.price-breakdown {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}
.price-breakdown th,
.price-breakdown td {
    padding: .7rem 0;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    font-weight: 400;
    color: var(--muted);
}
.price-breakdown td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-breakdown tr:last-child th,
.price-breakdown tr:last-child td {
    border-bottom: 0;
    padding-top: 1rem;
    font-weight: 600;
    color: var(--ink);
    font-size: var(--fs-base);
}

/* Preis-Karten (klassische Pricing Cards)
   Drei gleich hohe Karten; die mittlere ("Pro Tag") ist als beliebteste
   Variante in Akzentfarbe hervorgehoben und leicht angehoben. */

.pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: stretch;
}

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 3vw, 2.1rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sand-300);
}

/* Hervorgehobene Karte */
.pcard--featured {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
    .pcard--featured { transform: translateY(-12px); }
    .pcard--featured:hover { transform: translateY(-15px); }
}

.pcard__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: .32rem .9rem;
    background: var(--white);
    color: var(--accent);
    border-radius: 100px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.pcard__name {
    margin: 0 0 .35rem;
    font-size: var(--fs-xl);
    letter-spacing: -.02em;
}
.pcard--featured .pcard__name { color: var(--white); }

.pcard__tagline {
    margin: 0 0 1.4rem;
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--muted);
    min-height: 2.9em;
}
.pcard--featured .pcard__tagline { color: rgba(255, 255, 255, .85); }

.pcard__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .3rem;
}
.pcard__amount {
    font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.pcard--featured .pcard__amount { color: var(--white); }
.pcard__unit {
    font-size: var(--fs-sm);
    color: var(--muted);
}
.pcard--featured .pcard__unit { color: rgba(255, 255, 255, .85); }

.pcard__vat {
    margin: 0 0 1.4rem;
    font-size: var(--fs-xs);
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.pcard--featured .pcard__vat { color: rgba(255, 255, 255, .75); }

.pcard__features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1;
}
.pcard--featured .pcard__features { border-top-color: rgba(255, 255, 255, .22); }

.pcard__features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.4;
    color: var(--ink-soft);
}
.pcard--featured .pcard__features li { color: rgba(255, 255, 255, .92); }

.pcard__features svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--accent);
}
.pcard--featured .pcard__features svg { color: var(--white); }

.pcard__cta { margin-top: auto; }

@media (min-width: 720px) {
    .pricing { grid-template-columns: repeat(3, 1fr); }
}

.price-examples-box {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--line);
}
.price-examples-box__title {
    margin: 0;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.price-examples {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}
.price-examples li {
    margin: 0;
    padding: .45rem .9rem;
    background: var(--sand-100);
    border-radius: 100px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

/* Standort */

.location-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.address-block {
    font-size: var(--fs-lg);
    line-height: 1.7;
    color: var(--ink);
    font-style: normal;
}

.address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.5rem;
}

/* Karte in voller Fensterbreite */
.map-full {
    width: 100%;
    height: clamp(360px, 55vh, 560px);
}
.map-full > div { width: 100%; height: 100%; }

.map-consent {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 2rem;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, var(--sand-100) 0 12px, var(--sand-50) 12px 24px);
    border-block: 1px solid var(--line);
}
.map-consent p {
    max-width: 34rem;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-block: 1px solid var(--line);
}

/* FAQ */

.faq { max-width: 780px; }
.faq__item {
    border-bottom: 1px solid var(--line);
}
.faq__item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    flex: none;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--accent);
    transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding-bottom: 1.5rem; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* Abschluss-CTA */

.cta-band {
    background: var(--ink);
    color: var(--white);
    text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 34rem; margin-inline: auto; }
.cta-band .btn { margin-top: 1.75rem; }

/* Footer */

.site-footer {
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    background: var(--sand-100);
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.site-footer h2,
.site-footer h3 {
    font-size: var(--fs-xs);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: var(--fs-xs);
}

/* Mobiler Sticky-CTA */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: none;
    gap: .75rem;
    align-items: center;
    padding: .7rem clamp(1rem, 4vw, 1.25rem);
    padding-bottom: calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .25s ease;
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta__price {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}
.sticky-cta__price strong { display: block; font-size: var(--fs-base); }
.sticky-cta__price span { font-size: var(--fs-xs); color: var(--muted); }
.sticky-cta .btn { flex: none; }


/* --- 6. Buchungsdialog (Modal) --------------------------------------------
   Aufbau nach dem Vorbild gaengiger Terminbuchungsdienste:
   linke Seitenspalte mit Eckdaten, rechts Kalender und Uhrzeitenliste.
   ------------------------------------------------------------------------- */

/* Seitenscrollen sperren, solange das Modal offen ist */
html.bk-open,
html.bk-open body { overflow: hidden; }

/* Ein <dialog> ohne [open] blendet der Browser selbst aus. Deshalb wird
   display erst gesetzt, wenn der Dialog tatsaechlich geoeffnet ist. */
.bk { display: none; }

.bk[open] {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: auto;
    overscroll-behavior: contain;
}

.bk::backdrop {
    background: rgba(28, 25, 21, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.bk__frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: min(1060px, 100%);
    min-height: 100%;
    margin-inline: auto;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.bk__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease;
}
.bk__close:hover { border-color: var(--accent); color: var(--accent); }
.bk__close svg { width: 18px; height: 18px; }

/* --- Seitenspalte ---------------------------------------------------------- */

.bk__aside {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    padding-right: 4rem;   /* Platz fuer den Schliessen-Knopf */
    background: var(--sand-50);
    border-bottom: 1px solid var(--line);
}

.bk__brand {
    margin: 0 0 .2rem;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.bk__title {
    margin: 0 0 1.25rem;
    font-size: var(--fs-xl);
    letter-spacing: -.02em;
}

.bk__meta { margin: 0 0 1.5rem; }

.bk__meta-row {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: .6rem;
}
.bk__meta-row dt { flex: none; margin-top: 1px; }
.bk__meta-row dt svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--grey-500);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bk__meta-row dd {
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.45;
    color: var(--ink-soft);
}
#bk-meta-duration,
#bk-meta-price { font-weight: 600; color: var(--ink); }

.bk__label {
    display: block;
    margin-bottom: .6rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Tarif-Kacheln (Schritt 1) */

.bk-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}

.bk-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: 1.4rem 1.4rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.bk-tile:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.bk-tile:active { transform: translateY(0); }
.bk-tile[aria-pressed="true"] { border-color: var(--accent); box-shadow: var(--shadow-md); }

.bk-tile--featured {
    border-color: var(--accent);
    background: linear-gradient(to bottom, var(--accent-tint), var(--white) 55%);
}

.bk-tile__badge {
    position: absolute;
    top: -10px;
    left: 1.25rem;
    padding: .2rem .7rem;
    background: var(--accent);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
}

.bk-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: .4rem;
    background: var(--accent-tint);
    border-radius: 50%;
}
.bk-tile__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bk-tile__name {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

.bk-tile__desc {
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: var(--muted);
    min-height: 2.4em;
}

.bk-tile__price {
    margin-top: .5rem;
    font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem);
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}
.bk-tile__price small {
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0;
}

.bk-tile__cta {
    align-self: stretch;
    margin-top: .85rem;
    padding: .65rem 1rem;
    background: var(--accent);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--white);
    text-align: center;
    transition: background-color .16s ease;
}
.bk-tile:hover .bk-tile__cta { background: var(--accent-dark); }

.bk-tiles__note {
    margin: 1.25rem 0 0;
    font-size: var(--fs-xs);
    color: var(--muted);
    text-align: center;
}

/* Dauerwahl in Schritt 2 (nur Stundentarif) */

.bk-hours { margin-bottom: 1.5rem; }
.bk-hours[hidden] { display: none; }

#bk-hours-box[hidden] { display: none; }

.bk__stay-note {
    margin: 0 0 1.5rem;
    font-size: var(--fs-xs);
    line-height: 1.55;
    color: var(--ink-soft);
    padding: .75rem .85rem;
    background: var(--accent-tint);
    border-radius: var(--radius);
}
.bk__stay-note[hidden] { display: none; }

.bk__selection-checkout {
    margin: .2rem 0 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
}
.bk__selection-checkout[hidden] { display: none; }

.bk__pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.bk-pill {
    min-width: 46px;
    min-height: 40px;
    padding: .4rem .7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color .14s ease, background-color .14s ease, color .14s ease;
}
.bk-pill:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.bk-pill[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-weight: 600;
}
.bk-pill:disabled {
    background: var(--grey-100);
    border-color: transparent;
    color: var(--grey-300);
    cursor: not-allowed;
}

/* Kleiner Punkt markiert die Pille, die dem Tagestarif entspricht */
.bk-pill[data-tariff="day"] {
    position: relative;
}
.bk-pill[data-tariff="day"]::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.bk-pill[data-tariff="day"][aria-pressed="true"]::after { background: var(--white); }

/* Gewaehlter Termin */

.bk__selection {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.bk__selection[hidden] { display: none; }
.bk__selection-date,
.bk__selection-time {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
}
.bk__selection-time { color: var(--accent); font-variant-numeric: tabular-nums; }

.bk__note {
    margin: 1.5rem 0 0;
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: var(--muted);
}

/* --- Hauptbereich ----------------------------------------------------------- */

.bk__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bk__head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
    padding-right: 4rem;
    border-bottom: 1px solid var(--line-soft);
}

.bk__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    margin-left: -8px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease;
}
.bk__back:hover { background: var(--sand-100); color: var(--accent); }
.bk__back[hidden] { display: none; }
.bk__back svg { width: 18px; height: 18px; }

.bk__step-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: var(--fs-lg);
    letter-spacing: -.01em;
}
.bk__step-title:focus { outline: none; }
.bk__step-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.bk__step-count {
    flex: none;
    font-size: var(--fs-xs);
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.bk__body {
    flex: 1;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
}

.bk__panel[hidden] { display: none; }

.bk__foot {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1.1rem clamp(1.25rem, 3vw, 2rem);
    border-top: 1px solid var(--line-soft);
    background: var(--sand-50);
}
.bk__foot[hidden] { display: none; }

/* --- Kalender und Uhrzeiten --------------------------------------------------- */

.bk__picker {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.bk-cal { position: relative; min-width: 0; }

.bk-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1rem;
}

.bk-cal__month {
    flex: 1;
    text-align: center;
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--ink);
}

.bk-cal__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--accent);
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease;
}
.bk-cal__nav:hover:not(:disabled) { background: var(--accent-tint); }
.bk-cal__nav:disabled { color: var(--grey-300); cursor: not-allowed; }
.bk-cal__nav svg { width: 16px; height: 16px; }

.bk-cal__weekdays,
.bk-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.bk-cal__weekdays {
    margin-bottom: 4px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--muted);
    text-align: center;
}
.bk-cal__weekdays span { padding: .35rem 0; }

/* Runde Tagesflaechen - freie Tage sind farblich hinterlegt und fett */
.bk-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
    color: var(--grey-300);
    cursor: default;
    transition: background-color .14s ease, color .14s ease, transform .14s ease;
}

.bk-day[data-state="free"] {
    background: var(--accent-tint);
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
}
.bk-day[data-state="free"]:hover {
    background: var(--accent);
    color: var(--white);
}
.bk-day[aria-pressed="true"] {
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
}
.bk-day:disabled { cursor: not-allowed; }

/* Punkt unter dem heutigen Tag */
.bk-day[data-today="true"]::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.bk-day--empty { visibility: hidden; }

.bk-cal__loading {
    position: absolute;
    inset: 52px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .72);
}
.bk-cal__loading[hidden] { display: none; }

/* Uhrzeitenliste */

.bk-times { min-width: 0; }
.bk-times[hidden] { display: none; }

.bk-times__head {
    margin: 0 0 .85rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
}

.bk-times__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-height: 340px;
    overflow-y: auto;
    /* Platz fuer die Bildlaufleiste, damit nichts unter ihr klebt */
    padding-right: .35rem;
    scrollbar-width: thin;
}

.bk-slot-row { display: flex; gap: .4rem; }

.bk-slot {
    flex: 1;
    min-height: 48px;
    padding: .7rem;
    background: var(--white);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--fs-base);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease;
}
.bk-slot:hover { background: var(--accent-tint); }

.bk-slot-row[data-selected="true"] .bk-slot {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
    cursor: default;
}

.bk-slot-confirm {
    flex: 1;
    min-height: 48px;
    padding: .7rem;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: background-color .14s ease;
}
.bk-slot-confirm:hover { background: var(--accent-dark); }
.bk-slot-confirm[hidden] { display: none; }

.bk-times__empty {
    padding: 1rem 0;
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: 1.5;
}

.bk-picker__hint {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--muted);
}
.bk-picker__hint[hidden] { display: none; }

/* --- Zusammenfassung im Zahlungsschritt ---------------------------------------- */

.bk-summary {
    padding: clamp(1.1rem, 3vw, 1.5rem);
    background: var(--sand-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.bk-summary dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .55rem 1.25rem;
    margin: 0;
}
.bk-summary dt { font-size: var(--fs-sm); color: var(--muted); }
.bk-summary dd {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}
.bk-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--ink);
}
.bk-summary__total strong {
    font-size: var(--fs-xl);
    font-variant-numeric: tabular-nums;
}
.bk-summary__vat {
    margin: .5rem 0 0;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.hold-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    background: var(--accent-tint);
    border-radius: var(--radius);
    font-size: var(--fs-xs);
    color: var(--accent-dark);
    line-height: 1.5;
}

#paypal-button-container { margin-top: 1.5rem; min-height: 52px; }

.payment-note {
    margin-top: 1rem;
    font-size: var(--fs-xs);
    color: var(--muted);
    line-height: 1.55;
}

/* --- Abschnitt "So funktioniert die Buchung" ------------------------------------ */

.booking-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.steps-list {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}
.steps-list li {
    position: relative;
    counter-increment: step;
    padding-left: 3rem;
    margin-bottom: 1.35rem;
}
.steps-list li:last-child { margin-bottom: 0; }
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-tint);
    border-radius: 50%;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--accent);
}
.steps-list strong { display: block; color: var(--ink); }
.steps-list span { font-size: var(--fs-sm); color: var(--muted); }

/* --- Groessere Bildschirme -------------------------------------------------------- */

@media (min-width: 720px) {
    .bk-tiles { grid-template-columns: repeat(3, 1fr); }
    .bk__picker { grid-template-columns: minmax(0, 1fr) 190px; }
    .bk-times__list { max-height: 300px; }
    .bk-picker__hint { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
    .bk[open] { display: flex; align-items: center; padding: 1.5rem; }

    .bk__frame {
        grid-template-columns: 300px minmax(0, 1fr);
        min-height: 0;
        max-height: calc(100dvh - 3rem);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .bk__aside {
        border-bottom: 0;
        border-right: 1px solid var(--line);
        padding-right: clamp(1.5rem, 3vw, 2.25rem);
        overflow-y: auto;
    }

    .bk__body { overflow-y: auto; }
    .bk__close { top: 1rem; right: 1rem; }
    .bk-times__list { max-height: 336px; }

    .booking-cta { grid-template-columns: 1.1fr 1fr; }
}
/* Meldungen */

.alert {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    line-height: 1.55;
}
.alert--error {
    background: var(--accent-tint);
    border: 1px solid #e6cdc9;
    color: var(--accent-dark);
}
.alert--info {
    background: var(--sand-100);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}
.alert--success {
    background: #eef3ec;
    border: 1px solid #cfdfca;
    color: #33552c;
}
.alert[hidden] { display: none; }

.loading {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 2rem 0;
    color: var(--muted);
    font-size: var(--fs-sm);
}
.spinner {
    width: 18px;
    height: 18px;
    flex: none;
    border: 2px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Bestaetigungsseite */

.confirm-hero {
    padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
    background: var(--sand-100);
    border-bottom: 1px solid var(--line);
}
.confirm-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .9rem;
    margin-bottom: 1.25rem;
    background: #eef3ec;
    border: 1px solid #cfdfca;
    border-radius: 100px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #33552c;
}
.confirm-badge svg { width: 15px; height: 15px; }

.confirm-ref {
    display: inline-block;
    padding: .5rem 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: var(--fs-lg);
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--ink);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.detail-table th,
.detail-table td {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
.detail-table th {
    width: 40%;
    font-weight: 400;
    font-size: var(--fs-sm);
    color: var(--muted);
}
.detail-table td { font-weight: 600; color: var(--ink); }
.detail-table tr:last-child th,
.detail-table tr:last-child td { border-bottom: 0; }

/* Rechtstexte */

.legal-page { padding-block: clamp(3rem, 6vw, 5rem); }

.back-home {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    font-size: var(--fs-sm);
    color: var(--muted);
    text-decoration: none;
}
.back-home:hover { color: var(--accent); }
.back-home svg { width: 15px; height: 15px; }
.legal-page h2 { margin-top: 2.5em; font-size: var(--fs-xl); }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { margin-top: 1.8em; font-size: var(--fs-lg); }
.placeholder-note {
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    background: var(--accent-tint);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--fs-sm);
    color: var(--accent-dark);
}
mark.ph {
    background: var(--accent-tint);
    color: var(--accent-dark);
    padding: 0 .25em;
    font-weight: 600;
    border-radius: 2px;
}

/* --- 7. Hilfsklassen ------------------------------------------------------ */

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

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }

/* --- Media Queries -------------------------------------------------------- */

@media (min-width: 560px) {
    .field-row { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery__item--wide { grid-column: span 2; }
}

@media (min-width: 800px) {
    .split { grid-template-columns: 1.05fr 1fr; }
    .split--reverse .split__media { order: 2; }
    .price-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
    .location-grid { grid-template-columns: .9fr 1.1fr; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .gallery { grid-template-columns: repeat(4, 1fr); }
    .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 767px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 0; }

    .hero__fact {
        padding-right: 1.25rem;
        margin-right: 1.25rem;
        margin-bottom: .75rem;
    }

    .summary dl { grid-template-columns: 1fr auto; }
}

/* Auf sehr schmalen Geraeten den Innenabstand verringern, damit die
   Kalenderfelder gross genug zum Antippen bleiben. */
@media (max-width: 420px) {
    .booking__body { padding: 1.15rem .8rem; }
    .booking__steps { padding-inline: .5rem; }
    .booking__step { padding-inline: .7rem; }

    .calendar__weekdays,
    .calendar__grid { gap: 3px; }
    .calendar__weekdays { font-size: 11px; }
    .calendar__day { font-size: var(--fs-sm); }

    .slot-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
    .duration-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

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

/* Druckausgabe (z. B. Buchungsbestaetigung) */
@media print {
    .site-footer,
    .sticky-cta,
    .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .card, .summary { border-color: #ccc; box-shadow: none; }
}
