/* Haus Brecherspitzblick – Stylesheet
   ------------------------------------------------------------------------
   Gestaltung „Wanderkarte“: helles Himmelweiß, tiefes Seeblau, Almgrün und
   warmes Holz. Erkennungszeichen sind feine Höhenlinien im Hintergrund und
   der gezeichnete Bergkamm (wie im Logo) als Trennlinie zwischen den
   Abschnitten. Titel in Arimo (wie das Logo), Fließtext in Nunito Sans (beide lokal).

   Aufbau: 1 Token · 2 Basis · 3 Knöpfe · 4 Kopfzeile · 5 Hero · 6 Abschnitte
   und Bergkamm · 7 Das Haus · 8 Umgebung (Wegzeiten) · 9 Preise · 10 Anfahrt
   · 11 Bilder & Video · 12 Kontakt · 13 Fußzeile · 14 Lichtkasten
   · 15 Rechtstexte · 16 Bewegung · 17 Responsiv
   ------------------------------------------------------------------------ */

/* ------------------------------ 1 Token ------------------------------ */
:root {
    --himmel: #f5f8f7;          /* Seitenhintergrund */
    --papier: #ffffff;          /* Karten, Flächen */
    --nebel: #e4ebe9;           /* zarte Flächen, Linien */
    --see: #1f4e5e;             /* Hauptfarbe: Schliersee */
    --see-tief: #143643;
    --see-hell: #dfeaee;
    --alm: #5f7f5a;             /* Almgrün */
    --alm-hell: #e3ebdf;
    --holz: #b9814a;            /* Balkonholz, Akzent */
    --holz-hell: #f1dfc2;
    --tinte: #1c282c;
    --tinte-weich: #58696f;
    --linie: rgba(28, 40, 44, 0.12);

    --schrift-titel: "Arimo", Arial, Helvetica, sans-serif;   /* wie die Wortmarke im Logo */
    --schrift-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --breite: 1180px;
    --radius: 22px;
    --radius-klein: 12px;
    --schatten: 0 1px 2px rgba(28, 40, 44, 0.05), 0 24px 48px -28px rgba(28, 40, 44, 0.28);

    --aus: cubic-bezier(0.23, 1, 0.32, 1);
    --hinein-aus: cubic-bezier(0.77, 0, 0.175, 1);

    /* Höhenlinien als Hintergrundmuster (SVG, Seeblau, sehr zart) */
    --hoehenlinien: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='360' viewBox='0 0 520 360' fill='none' stroke='%231f4e5e' stroke-width='1'%3E%3Cpath d='M-20 300c60-40 110-30 160-70s70-90 140-100 120 30 180 10 70-60 90-80'/%3E%3Cpath d='M-20 330c70-40 130-30 180-80s60-100 130-110 130 30 190 0 60-50 80-70'/%3E%3Cpath d='M-20 360c80-40 150-40 200-90s50-110 120-120 140 40 200-10 50-40 60-60'/%3E%3Cpath d='M60 10c40 30 20 80 70 110s120 0 160 40 40 100 110 120 100-10 140-40'/%3E%3Cpath d='M30 0c50 30 40 90 90 130s130 0 170 50 30 100 100 120 110 0 150-30'/%3E%3Cpath d='M0-10c60 30 60 100 110 150s140 10 180 60 20 100 90 120 120 10 160-20'/%3E%3C/svg%3E");
}

/* ------------------------------ 2 Basis ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--schrift-text);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--tinte);
    background: var(--himmel);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--see); text-decoration: none; }
a:hover { color: var(--see-tief); }
h1, h2, h3, h4 {
    font-family: var(--schrift-titel);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    color: var(--tinte);
}
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-family: var(--schrift-text); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.hinweis { color: var(--tinte-weich); font-size: 0.95rem; }
.container { width: min(100% - 40px, var(--breite)); margin: 0 auto; }
.vorzeile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--alm);
}
.vorzeile::before { content: ""; width: 26px; height: 2px; background: var(--holz); border-radius: 2px; }
em.betont { font-style: normal; font-family: var(--schrift-titel); font-weight: 600; color: var(--see); }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--holz);
    outline-offset: 3px;
    border-radius: 6px;
}
::selection { background: var(--holz-hell); }

/* ------------------------------ 3 Knöpfe ------------------------------ */
.knopf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.85em 1.5em;
    border: 0;
    border-radius: 999px;
    background: var(--see);
    color: #fff;
    font: 700 0.95rem/1 var(--schrift-text);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 300ms var(--aus), box-shadow 300ms var(--aus), background-color 200ms ease;
    box-shadow: 0 10px 24px -14px rgba(31, 78, 94, 0.7);
}
.knopf:hover { background: var(--see-tief); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(31, 78, 94, 0.8); }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf--holz { background: var(--holz); box-shadow: 0 10px 24px -14px rgba(185, 129, 74, 0.8); }
.knopf--holz:hover { background: #9d6a3a; }
.knopf--leicht { background: rgba(255, 255, 255, 0.92); color: var(--see); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.5); }
.knopf--leicht:hover { background: #fff; color: var(--see-tief); }
.knopf--rahmen { background: transparent; color: var(--see); box-shadow: inset 0 0 0 2px var(--see); }
.knopf--rahmen:hover { background: var(--see); color: #fff; }

/* ------------------------------ 4 Kopfzeile ------------------------------ */
.kopf {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 248, 247, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}
.kopf.ist-kompakt { border-color: var(--linie); box-shadow: 0 10px 30px -24px rgba(28, 40, 44, 0.4); }
.kopf__innen { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.kopf__logo img { height: 54px; width: auto; transition: height 300ms var(--aus); }
.kopf.ist-kompakt .kopf__logo img { height: 46px; }
.navi { display: flex; gap: 4px; margin-left: auto; }
.navi a {
    position: relative;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--tinte);
    border-radius: 999px;
}
.navi a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--holz);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms var(--aus);
}
.navi a:hover::after, .navi a.ist-aktiv::after { transform: scaleX(1); }
.kopf .knopf { padding: 0.7em 1.2em; font-size: 0.9rem; }
.menue-knopf {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--linie);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    place-items: center;
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
    display: block; width: 20px; height: 2px; background: var(--tinte); border-radius: 2px; position: relative;
    transition: transform 300ms var(--aus), opacity 200ms ease;
}
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -6px; }
.menue-knopf span::after { top: 6px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------ 5 Hero ------------------------------ */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero__bild {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
    transform: scale(1.06);
}
.hero::after {
    /* Verlauf von unten, damit Titel und Knöpfe lesbar sind */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 54, 67, 0.25) 0%, rgba(20, 54, 67, 0) 35%, rgba(20, 54, 67, 0.72) 100%);
}
.hero__innen { padding: 140px 0 150px; }
.hero__vorzeile { color: #fff; }
.hero__vorzeile::before { background: var(--holz-hell); }
.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6.6vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 0 0 0.3em;
}
.hero h1 em { font-style: normal; font-weight: 700; color: var(--holz-hell); }
.hero__text { max-width: 560px; font-size: 1.15rem; margin: 0 0 1.8em; color: rgba(255, 255, 255, 0.9); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
/* Bergkamm am unteren Rand des Heros, gezeichnet beim Laden */
.hero__kamm { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 90px; display: block; }
.hero__kamm path.fuellung { fill: var(--himmel); }
.hero__kamm path.linie { fill: none; stroke: var(--holz-hell); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------ 6 Abschnitte und Bergkamm ------------------------------ */
.abschnitt { padding: 96px 0; position: relative; }
.abschnitt--karte {
    background-color: var(--himmel);
    background-image: var(--hoehenlinien);
    background-size: 520px 360px;
    background-position: var(--hl-x, 0) var(--hl-y, 0);
}
.abschnitt--karte::before {
    /* weicher Schleier, damit die Linien nur andeuten */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 50% 50%, rgba(245, 248, 247, 0.55), rgba(245, 248, 247, 0.92));
    pointer-events: none;
}
.abschnitt--karte > .container { position: relative; }
.abschnitt--see { background: var(--see-tief); color: #fff; }
.abschnitt--see h2, .abschnitt--see h3 { color: #fff; }
.abschnitt--see .vorzeile { color: var(--holz-hell); }
.abschnitt--see .hinweis { color: rgba(255, 255, 255, 0.72); }
.abschnitt__kopf { max-width: 720px; margin-bottom: 48px; }
.abschnitt__kopf p { font-size: 1.12rem; color: var(--tinte-weich); }
.abschnitt--see .abschnitt__kopf p { color: rgba(255, 255, 255, 0.82); }

/* Bergkamm als Trennlinie: feine Linie, Füllung in der Farbe des folgenden Abschnitts */
.kamm { display: block; width: 100%; height: 72px; margin-bottom: -1px; }
.kamm path.linie { fill: none; stroke: var(--holz); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.kamm--himmel path.fuellung { fill: var(--himmel); }
.kamm--see path.fuellung { fill: var(--see-tief); }
.kamm--papier path.fuellung { fill: var(--papier); }

/* ------------------------------ 7 Das Haus ------------------------------ */
.haus { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.haus__text p { font-size: 1.08rem; }
.haus__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 18ch; }
.haus__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.haus__bild { position: relative; }
.haus__bild img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); }
.haus__bild figcaption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--see);
    backdrop-filter: blur(6px);
}
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.fakt { padding: 22px 22px 20px; border-radius: var(--radius-klein); background: var(--papier); border: 1px solid var(--linie); }
.fakt b { display: block; font-family: var(--schrift-titel); font-size: 1.8rem; font-weight: 700; color: var(--see); line-height: 1; margin-bottom: 8px; }
.fakt span { font-size: 0.92rem; color: var(--tinte-weich); }
.zitat {
    margin: 0;
    padding: 0;
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.4;
    max-width: 26ch;
    color: #fff;
}
.zitat__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zitat__bild img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }

/* ------------------------------ 8 Umgebung (Wegzeiten) ------------------------------ */
/* Wie ein Wegweiser: links die Zeit als große Zahl, rechts die Ziele im
   Fließtext, getrennt durch feine Linien – keine Kästen, keine Symbole */
.wegzeiten { border-top: 1px solid var(--linie); margin-top: 8px; }
.wegzeit {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px 48px;
    padding: 34px 0;
    border-bottom: 1px solid var(--linie);
}
.wegzeit__zeit { display: flex; align-items: baseline; gap: 12px; }
.wegzeit__zeit b {
    font-family: var(--schrift-titel);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--see);
    white-space: nowrap;
}
.wegzeit__zeit b i { font-style: normal; font-size: 0.5em; margin: 0 0.1em; color: var(--holz); }
.wegzeit__zeit span { font-size: 0.82rem; line-height: 1.3; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tinte-weich); }
.wegzeit--auto .wegzeit__zeit b { color: var(--holz); }
.wegzeit__ziele h3 { font-size: 1.25rem; margin-bottom: 8px; }
.wegzeit__ziele ul { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 1.02rem; color: var(--tinte-weich); max-width: 60ch; }
.wegzeit__ziele li { display: inline; }
.wegzeit__ziele li:not(:last-child)::after { content: "·"; margin: 0 0.55em; color: var(--holz); font-weight: 700; }
.umgebung__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 72px; }
.umgebung__text img { border-radius: var(--radius); box-shadow: var(--schatten); }
.umgebung__text p { font-size: 1.05rem; }

/* ------------------------------ 9 Preise ------------------------------ */
/* Ein Aushang wie eine Karte im Gasthaus: Papier, Doppellinie oben und
   unten, Punktlinien zwischen Posten und Betrag – ohne Kästen */
.preise { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
.preisblatt {
    padding: 36px 40px 40px;
    background: #fffdf8;
    border-top: 3px double var(--see);
    border-bottom: 3px double var(--see);
    box-shadow: 0 30px 50px -40px rgba(28, 40, 44, 0.45);
}
.preisblatt__zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; }
.preisblatt__zahl b { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--see); }
.preisblatt__zahl span { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.1rem; color: var(--tinte-weich); }
.preisblatt__hinweis { color: var(--tinte-weich); max-width: 56ch; }
.preisblatt h4 {
    margin: 28px 0 10px;
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--alm);
}
.preisblatt__inklusive { columns: 2; column-gap: 32px; font-size: 1rem; }
.preisblatt__inklusive li { break-inside: avoid; padding: 4px 0; border-bottom: 1px dotted var(--linie); }
.punktlinien { margin: 0; display: grid; gap: 6px; }
.punktlinien div { display: flex; align-items: baseline; gap: 10px; }
.punktlinien dt { color: var(--tinte); }
.punktlinien div::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--linie); margin: 0 4px; min-width: 24px; transform: translateY(-5px); }
.punktlinien dd { order: 3; margin: 0; font-weight: 700; color: var(--see); white-space: nowrap; font-variant-numeric: tabular-nums; }
.preisblatt__klein { margin: 4px 0 0; color: var(--tinte-weich); font-size: 0.95rem; }
.preise__bild { position: relative; margin: 0; }
.preise__bild img { border-radius: var(--radius); box-shadow: var(--schatten); }
.preise__bild figcaption { margin-top: 12px; font-family: var(--schrift-titel); font-weight: 600; color: var(--tinte-weich); font-size: 0.98rem; }

/* ------------------------------ 10 Anfahrt ------------------------------ */
.anfahrt { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.wege { display: grid; gap: 14px; }
.wege article { padding: 22px 24px; border-radius: var(--radius-klein); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.wege h4 { margin: 0 0 8px; color: var(--holz-hell); display: flex; align-items: center; gap: 10px; }
.wege h4 svg { width: 20px; height: 20px; }
.wege p, .wege li { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 0.98rem; }
.wege ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.adresse { font-style: normal; line-height: 1.5; }
.adresse b { display: block; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.3rem; margin-bottom: 4px; }
.karte {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--see);
    background-image: var(--hoehenlinien);
    background-size: 520px 360px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte__platzhalter {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: rgba(20, 54, 67, 0.55);
}
.karte__platzhalter p { max-width: 36ch; margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.karte__pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--holz); transform: rotate(-45deg); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.6); }
.karte__pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }

/* ------------------------------ 11 Bilder & Video ------------------------------ */
.mediathek { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.mediathek__video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--see-tief); box-shadow: var(--schatten); }
.mediathek__video video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.mediathek__vier { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mediathek__vier figure, .galerie figure { margin: 0; }
.mediathek__vier button, .galerie button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius-klein);
    overflow: hidden;
    background: var(--nebel);
    cursor: zoom-in;
    box-shadow: var(--schatten);
}
.mediathek__vier img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 700ms var(--aus); }
.mediathek__vier button:hover img, .galerie button:hover img { transform: scale(1.04); }
.galerie { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 700ms var(--aus); }
.galerie figure.ist-versteckt { display: none; }
.galerie__mehr { display: flex; justify-content: center; margin-top: 32px; }

/* ------------------------------ 12 Kontakt ------------------------------ */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kontakt__karte {
    padding: 36px 40px;
    border-radius: var(--radius);
    background: var(--papier);
    border: 1px solid var(--linie);
    box-shadow: var(--schatten);
}
.kontakt__karte .adresse b { font-size: 1.6rem; }
.kontakt__zeilen { display: grid; gap: 14px; margin-top: 22px; }
.kontakt__zeilen a { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--tinte); }
.kontakt__zeilen a:hover { color: var(--see); }
.kontakt__zeilen a > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--see-hell); color: var(--see); flex: none; }
.kontakt__zeilen svg { width: 18px; height: 18px; }
.kontakt__zeilen small { display: block; font-weight: 400; color: var(--tinte-weich); font-size: 0.85rem; }
.kontakt__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------ 13 Fußzeile ------------------------------ */
.fuss { padding: 48px 0 32px; background: var(--see-tief); color: rgba(255, 255, 255, 0.8); }
.fuss__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.fuss__logo img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.fuss a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.fuss a:hover { color: var(--holz-hell); }
.fuss__unten { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.fuss__unten p { margin: 0; }

/* ------------------------------ 14 Lichtkasten ------------------------------ */
.lichtkasten {
    width: min(96vw, 1200px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: #fff;
    overflow: visible;
}
.lichtkasten::backdrop { background: rgba(20, 54, 67, 0.9); backdrop-filter: blur(6px); }
.lichtkasten__innen { position: relative; display: grid; place-items: center; }
.lichtkasten img { max-height: 84vh; width: auto; max-width: 100%; border-radius: var(--radius-klein); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.lichtkasten figcaption { margin-top: 14px; text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.lichtkasten__zu, .lichtkasten__pfeil {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background-color 200ms ease;
}
.lichtkasten__zu:hover, .lichtkasten__pfeil:hover { background: rgba(255, 255, 255, 0.3); }
.lichtkasten__zu { top: -56px; right: 0; }
.lichtkasten__pfeil { top: 50%; transform: translateY(-50%); }
.lichtkasten__pfeil--zurueck { left: -8px; }
.lichtkasten__pfeil--vor { right: -8px; }
.lichtkasten svg { width: 22px; height: 22px; }

/* ------------------------------ 15 Rechtstexte ------------------------------ */
.rechtskopf { padding: 72px 0 40px; }
.rechtskopf h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.2em; }
.rechtstext { max-width: 760px; padding-bottom: 96px; }
.rechtstext h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; }
.rechtstext h3 { font-size: 1.15rem; font-family: var(--schrift-text); font-weight: 700; margin: 1.6em 0 0.4em; }
.rechtstext p, .rechtstext li { color: var(--tinte-weich); overflow-wrap: anywhere; }
.rechtstext ul { list-style: disc; padding-left: 22px; display: grid; gap: 4px; }
.rechtstext address { font-style: normal; color: var(--tinte); }
.rechtstext a { font-weight: 600; }
.rechtstext .stand { font-size: 0.9rem; }

/* ------------------------------ 16 Bewegung ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--aus), transform 1000ms var(--aus); transition-delay: var(--d, 0ms); }
    .reveal.ist-sichtbar { opacity: 1; transform: none; }

    /* Ladesequenz im Hero: Bild fährt langsam heran, Zeilen steigen auf, Kamm zeichnet sich */
    .hero__bild { animation: hero-bild 2400ms var(--aus) both; }
    /* Maske etwas größer als die Zeile, damit Unterlängen nicht abgeschnitten werden */
    .hero .zeile { display: block; overflow: hidden; padding: 0.06em 0.3em 0.22em 0; margin: -0.06em 0 -0.22em; }
    .hero .zeile > span { display: block; animation: zeile-auf 1100ms var(--aus) both; animation-delay: var(--d, 0ms); }
    .hero__kamm path.linie { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: kamm-zeichnen 2600ms var(--hinein-aus) 400ms forwards; }
    .kamm path.linie { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2400ms var(--hinein-aus); }
    .kamm.ist-sichtbar path.linie { stroke-dashoffset: 0; }

    @keyframes hero-bild { from { transform: scale(1.14); } to { transform: scale(1.06); } }
    @keyframes zeile-auf { from { transform: translateY(110%); } to { transform: none; } }
    @keyframes kamm-zeichnen { to { stroke-dashoffset: 0; } }

    .lichtkasten[open] { animation: kasten-auf 320ms var(--aus); }
    .lichtkasten.schliesst { animation: kasten-zu 200ms ease forwards; }
    @keyframes kasten-auf { from { opacity: 0; transform: scale(0.96); } }
    @keyframes kasten-zu { to { opacity: 0; transform: scale(0.97); } }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero .zeile > span { transform: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------ Datenschutzhinweis ------------------------------ */
.datenschutz-hinweis {
    position: fixed;
    inset: auto 16px 16px auto;
    width: min(420px, calc(100vw - 32px));
    margin: 0;
    padding: 22px 24px;
    border: 0;
    border-radius: 18px;
    background: var(--see-tief);
    color: #fff;
    font-size: 0.93rem;
    line-height: 1.55;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    z-index: 100;
    transition: opacity 400ms ease, transform 500ms var(--aus);
}
.datenschutz-hinweis p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.datenschutz-hinweis a { color: var(--holz-hell); font-weight: 600; }
.datenschutz-hinweis .knopf { margin-top: 14px; padding: 0.65em 1.3em; font-size: 0.88rem; }
.datenschutz-hinweis:popover-open { opacity: 1; transform: none; }
@starting-style { .datenschutz-hinweis:popover-open { opacity: 0; transform: translateY(16px); } }

/* Scroll-Faden am rechten Rand (js/main.js) */
#scroll-faden { position: fixed; top: 0; right: 7px; width: 3px; border-radius: 2px; background: var(--holz); z-index: 90; opacity: 0; transition: opacity 400ms ease; pointer-events: none; will-change: transform; }
#scroll-faden.ist-aktiv { opacity: 0.9; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

/* ------------------------------ 17 Responsiv ------------------------------ */
@media (max-width: 1000px) {
    .fakten { grid-template-columns: repeat(2, 1fr); }
    .galerie { grid-template-columns: repeat(3, 1fr); }
    .mediathek { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .navi {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: grid;
        gap: 2px;
        padding: 12px 16px 18px;
        background: var(--himmel);
        border-bottom: 1px solid var(--linie);
        box-shadow: 0 30px 40px -30px rgba(28, 40, 44, 0.4);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms ease, transform 400ms var(--aus), visibility 0s 300ms;
    }
    .navi.ist-offen { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
    .navi a { padding: 12px 14px; font-size: 1.05rem; }
    .kopf .knopf { display: none; }
    .menue-knopf { display: grid; }
    .kopf__innen { min-height: 72px; position: relative; }
    .kopf__logo img { height: 46px; }
    .hero { min-height: 78vh; }
    .hero__innen { padding: 110px 0 110px; }
    .hero__kamm { height: 56px; }
    .kamm { height: 44px; }
    .abschnitt { padding: 72px 0; }
    .haus, .zitat__innen, .umgebung__text, .preise, .anfahrt, .kontakt { grid-template-columns: 1fr; gap: 32px; }
    .zitat__innen { gap: 28px; }
    .preisblatt { padding: 28px 22px 30px; }
    .preisblatt__inklusive { columns: 1; }
    .wegzeit { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
    .kontakt__karte { padding: 28px 24px; }
}
@media (max-width: 560px) {
    body { font-size: 1rem; }
    .container { width: min(100% - 32px, var(--breite)); }
    .fakten { grid-template-columns: 1fr 1fr; gap: 10px; }
    .fakt { padding: 16px; }
    .fakt b { font-size: 1.5rem; }
    .wegzeit__zeit b { font-size: 3rem; }
    .galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mediathek__vier { gap: 10px; }
    .karte { min-height: 320px; }
    .lichtkasten__zu { top: -52px; right: 4px; }
    .lichtkasten__pfeil { width: 40px; height: 40px; }
    .lichtkasten__pfeil--zurueck { left: 4px; }
    .lichtkasten__pfeil--vor { right: 4px; }
    .fuss__links { margin-left: 0; }
}
