/* sabines.at — Farben und Schriften wie im Gästeportal (hell = Seezeichen, dunkel = Weinkeller) */
@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Fraunces-400.ttf') format('truetype'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/Fraunces-600.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/nunito-v32-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/nunito-v32-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/nunito-v32-latin-700.woff2') format('woff2'); }

:root {
    --bg: #eee7db; --card: #faf7f2; --ink: #241c14; --muted: #5f5241; --line: #d9cebc;
    --heading: #002859; --link: #002859; --eyebrow: #7a5310; --btn: #002859; --btn-ink: #ffffff;
    --chip: rgba(168,116,19,.16); --chip-ink: #5c3f0c; --accent-line: #a87413;
    --band: #002859; --band-ink: #ffffff; --band-muted: #d7e1ee; --accent: #f0c77a;
    --footer: #001a3d; --footer-ink: #d7e1ee; --footer-link: #ffffff;
    --shadow: 0 22px 50px -30px rgba(0,40,89,.30);
    --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --body: 'Nunito', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #1c1509; --card: #26200f; --ink: #f0e4cf; --muted: #c4ae8a; --line: #3d3020;
    /* wie im Gästeportal (Weinkeller): Überschriften cremefarben, Gold nur für Knöpfe und feine Akzente */
    --heading: #f0e4cf; --link: #e6d5b8; --eyebrow: #b8955c; --btn: #d9a24c; --btn-ink: #1c1509;
    --chip: rgba(240,228,207,.07); --chip-ink: #dcc9a8; --accent-line: #8a6a3c;
    --band: #26200f; --band-ink: #f0e4cf; --band-muted: #c4ae8a; --accent: #b8955c;
    --footer: #140f06; --footer-ink: #c4ae8a; --footer-link: #f0e4cf;
    --shadow: 0 22px 50px -20px rgba(0,0,0,.7);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--card); color: var(--ink); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 10px; top: 10px; }
h1, h2, h3 { font-family: var(--display); color: var(--heading); line-height: 1.12; margin: 0; font-weight: 600; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 24px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.muted { color: var(--muted); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.section { padding: 64px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; background: var(--btn); color: var(--btn-ink); font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--chip); color: var(--chip-ink); border-radius: 6px; padding: 8px 14px; font-weight: 700; font-size: 14px; }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { width: 50px; height: 50px; }
.brand .wordmark { height: 38px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.nav a { text-decoration: none; padding: 10px 2px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle { min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--link); font: inherit; font-weight: 700; font-size: 14px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.theme-toggle svg { width: 18px; height: 18px; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: inline; }
:root[data-theme="dark"] .only-light { display: none; }

/* Startbereich */
.hero { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; padding: 44px 0 36px; }
.hero > div { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 500px; object-fit: cover; border-radius: 10px; }
/* [19.10.2026] Stimmungsbild über die volle Seitenbreite: Foto langsam heranzoomend, Logo + Schriftzug weich eingeblendet */
.stage { position: relative; height: min(78vh, 680px); min-height: 380px; overflow: hidden; background: #0d0a05; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
    animation: stageZoom 24s ease-in-out infinite alternate; }
.stage-shade { position: absolute; inset: 0; background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(8,6,3,.42), rgba(8,6,3,0) 72%),
    linear-gradient(to bottom, rgba(8,6,3,.25), rgba(8,6,3,0) 30%, rgba(8,6,3,0) 70%, rgba(8,6,3,.45)); }
.stage-title { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(86vw, 760px);
    display: flex; flex-direction: column; align-items: center; gap: 18px; pointer-events: none; }
.stage-logo { display: block; width: clamp(56px, 7vw, 84px); height: auto; opacity: 0;
    animation: stageIn 1.8s ease-out .3s forwards, logoSoftGlow 6s ease-in-out 3s infinite; }
/* [19.10.2026] Logo "S": nur ganz leichtes, ruhiges Leuchten (Münze/Lichtstreif/Lichtkranz auf Wunsch wieder entfernt) */
.stage-logo-wrap { display: block; }
@keyframes logoSoftGlow { 0%, 100% { filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
    50% { filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(246,214,150,.35)); } }
.stage-lettering { display: block; width: 100%; height: auto; opacity: 0; animation: stageIn 2.4s ease-out .8s forwards, stageGlow 6s ease-in-out 3.4s infinite; }
/* [19.10.2026] Schriftzug funkelt: ein Lichtstreif wandert über die Buchstaben von links nach rechts und wieder zurück
   (Lichtfläche per CSS-Maske auf die Form des Schriftzugs beschränkt) */
.stage-lettering-wrap { position: relative; display: block; width: 100%; }
.stage-lettering-wrap::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,244,214,.95) 49%, #fff 50%, rgba(255,226,160,.9) 51%, rgba(255,255,255,0) 58%);
    background-size: 300% 100%; background-position: 100% 0;
    -webkit-mask: url('img/saliterei_stage.svg?v=202610192331') center / 100% 100% no-repeat; mask: url('img/saliterei_stage.svg?v=202610192331') center / 100% 100% no-repeat;
    filter: drop-shadow(0 0 6px rgba(255,220,150,.8));
    animation: letterSweepIn .01s linear 3.6s forwards, letterSweep 4.5s ease-in-out 3.6s infinite alternate; }
@keyframes letterSweepIn { to { opacity: .9; } }
@keyframes letterSweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .stage-lettering-wrap::after { animation: none; opacity: 0; } }
/* [19.10.2026] Sonnen im Stimmungsbild: erscheinen nach dem Schriftzug und "brennen" dann wie echte Sonnen —
   langsam drehend, Strahlenglanz pulsiert abwechselnd, leichtes Flackern. */
/* rechtsbündig über "haus": beginnt über dem a nach dem h (81 % der Schriftzugbreite, aus den Pushkin-Laufweiten berechnet) */
.stage-suns { position: absolute; right: 1.5%; top: 3%; transform: translateY(100%); display: flex; gap: clamp(5px, .75vw, 9px); justify-content: flex-end; align-items: center; pointer-events: auto; cursor: help; outline: none; }
.stage-suns img { width: clamp(8px, .95vw, 12.5px); height: auto; opacity: 0;
    animation: stageSunIn 1s cubic-bezier(.3,1.5,.5,1) forwards, sunBurnSmall 4s ease-in-out infinite, sunSpin 12s linear infinite; }
.stage-suns img:nth-child(1) { animation-delay: 2.4s, 3.4s, 2.4s; }
.stage-suns img:nth-child(2) { animation-delay: 2.6s, 5s, 2.6s; }
.stage-suns img:nth-child(3) { animation-delay: 2.8s, 3.9s, 2.8s; }
.stage-suns img:nth-child(4) { animation-delay: 3s, 5.5s, 3s; }
.stage-suns img:nth-child(5) { animation-delay: 3.2s, 4.4s, 3.2s; }
.stage-suns:focus-visible { outline: 2px solid rgba(251,244,230,.6); outline-offset: 6px; border-radius: 8px; }
@keyframes stageSunIn { from { opacity: 0; transform: scale(.2); } to { opacity: .95; } }
@keyframes sunSpin { to { rotate: 360deg; } }
/* kleine Sonnen im Stimmungsbild: sichtbar drehend und etwas kräftiger leuchtend */
@keyframes sunBurnSmall {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(246,196,83,.6)); scale: 1; }
    50% { filter: drop-shadow(0 0 6px rgba(246,196,83,.95)) drop-shadow(0 0 12px rgba(255,170,40,.55)) brightness(1.15); scale: 1.1; } }
@keyframes sunBurn {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(246,196,83,.45)); scale: 1; }
    50% { filter: drop-shadow(0 0 7px rgba(246,196,83,.8)) drop-shadow(0 0 14px rgba(255,170,40,.4)) brightness(1.08); scale: 1.06; } }
.stage-suns .sun-tip { bottom: calc(100% + 10px); top: auto; left: auto; right: 0; transform: translate(0, 4px); }
.stage-suns:hover .sun-tip, .stage-suns:focus-visible .sun-tip, .stage-suns.open .sun-tip { opacity: 1; transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) { .stage-suns img { animation: none; opacity: .95; filter: drop-shadow(0 0 6px #f6c453); } }
.stage .stage-badge { left: auto; right: max(20px, calc((100vw - 1200px) / 2 + 20px)); bottom: 22px; }
/* halbtransparent über dem Foto, Hintergrund leicht verschwommen */
.stage .stage-badge { background: rgba(20,15,7,.45); color: #f0e4cf; border: 1px solid rgba(240,228,207,.18);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.stage .stage-badge strong { color: #fbf4e6; }
.stage .stage-badge .muted { color: #e6d5b8; }
@keyframes stageZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes stageIn { from { opacity: 0; filter: blur(14px); transform: translateY(12px) scale(1.04); }
    to { opacity: .82; filter: blur(.6px) drop-shadow(0 2px 14px rgba(0,0,0,.6)); transform: none; } }
@keyframes stageGlow { 0%, 100% { filter: blur(.6px) drop-shadow(0 2px 14px rgba(0,0,0,.6)); }
    50% { filter: blur(.4px) drop-shadow(0 0 22px rgba(240,199,122,.45)) drop-shadow(0 2px 14px rgba(0,0,0,.6)); } }
@media (prefers-reduced-motion: reduce) { .stage-img, .stage-logo, .stage-lettering { animation: none; opacity: .82; } }
.hero-text { padding-top: 40px; }
.hero-text > div { max-width: 820px; }
.badge { position: absolute; left: 18px; bottom: 18px; background: var(--card); border-radius: 8px; padding: 12px 16px; box-shadow: var(--shadow); }
.badge strong { color: var(--heading); display: block; }

/* Bänder */
.band { background: var(--band); color: var(--band-ink); }
.band h2 { color: var(--band-ink); }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 24px; }
/* hell: Knopf auf dem Navy-Band hell absetzen (Standardknopf ist selbst Navy) */
:root:not([data-theme="dark"]) .band .btn { background: var(--accent); color: #001a3d; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { border-top: 2px solid var(--accent); padding-top: 14px; }
.feature .big { font-family: var(--display); font-size: 32px; color: var(--accent); }
.feature .t { font-weight: 700; font-size: 18px; }
.feature .d { color: var(--band-muted); }

/* Unterkünfte */
.unit-row { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; margin-top: 56px; position: relative; }
/* [19.10.2026] deutliche Trennung zwischen den Unterkünften: auslaufende Linie mit Sonne in der Mitte */
.unit-row + .unit-row { margin-top: 40px; padding-top: 76px; }
.unit-row + .unit-row::before { content: ''; position: absolute; top: 18px; left: 6%; right: 6%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-line) 25%, var(--accent-line) 75%, transparent); opacity: .8; }
.unit-row + .unit-row::after { content: ''; position: absolute; top: 4px; left: 50%; width: 30px; height: 30px; margin-left: -15px;
    border-radius: 50%; background: var(--bg) url('img/sonne_hell.svg?v=202610192331') center / 22px 22px no-repeat; box-shadow: 0 0 0 8px var(--bg); }
.unit-row:nth-of-type(even) { flex-direction: row-reverse; }
.unit-row .photo { flex: 1 1 420px; min-width: 0; }
.unit-row .photo img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; }
.unit-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.unit-photos a { display: block; position: relative; border-radius: 6px; overflow: hidden; }
.unit-photos .main { grid-column: 1 / -1; }
.unit-photos .rest { display: none; }
.unit-row .unit-photos .thumb img { height: 84px; border-radius: 6px; transition: transform .3s; }
.unit-photos a:hover img { transform: scale(1.03); }
.unit-photos .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12,9,4,.55); color: #f0e4cf; font-weight: 700; font-size: 18px; }
.unit-row .info .unit-badge { max-width: none; }
.unit-row .gallery .main img { height: 340px; }
.unit-row .gallery-strip a, .unit-row .gallery-strip img { width: 96px; }
.unit-row .gallery-strip img { height: 72px; }
.facts-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.unit-row .info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lettering { height: 52px; width: auto; max-width: 100%; }
.lettering.big { height: 74px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card h3 { font-family: var(--body); font-size: 18px; font-weight: 700; }

/* Unterkunfts-Kärtchen (wie die bisherigen Einheiten-Logos) */
@font-face { font-family: 'Mulish'; font-weight: 200 900; font-style: normal; font-display: swap; src: url('fonts/Mulish-VariableFont_wght.ttf') format('truetype'); }
.unit-badge { max-width: 460px; width: 100%; color: var(--muted); }
.ub-rule { display: flex; align-items: center; gap: 12px; }
.ub-rule::before, .ub-rule::after { content: ''; flex: 1 1 auto; height: 2px; background: currentColor; opacity: .55; }
.ub-brand { height: 34px; width: auto; max-width: 70%; }
.ub-sub { text-align: center; font-family: 'Mulish', var(--body); font-weight: 400; letter-spacing: .32em; text-transform: uppercase; font-size: 13px; margin: 2px 0 0; }
.ub-name { font-family: 'Mulish', var(--body); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; text-align: center; color: var(--heading); font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; margin: 6px 0 4px; }
.ub-suns { margin: 2px 0 10px; }
.ub-sun { width: 22px; height: 22px; }
.ub-icons { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ub-beds { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.ub-bed { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.ub-heads { display: flex; align-items: flex-end; }
.ub-head { width: 15px; height: 17px; margin: 0 1px; }
.ub-bedimg { width: 37px; height: 24px; }
.ub-opt { opacity: .8; }
.ub-opt small { font-size: 11px; line-height: 1; }
.ub-fits { display: flex; gap: 6px; }
.ub-fit { width: 38px; height: 33px; }
/* "Smartphone" mit (i): Hinweis ohne App/Download erst beim Darüberfahren, per Klick/Antippen fest geöffnet */
.info-tip { position: relative; display: inline-flex; align-items: center; gap: 3px; cursor: help; white-space: nowrap;
    text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-thickness: 1px; outline: none; }
.info-tip .info-i { color: var(--eyebrow); flex: 0 0 auto; }
.info-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 0; transform: translateY(4px);
    background: var(--ink); color: var(--bg); font-family: var(--body); font-size: 13px; font-weight: 600; line-height: 1.35;
    white-space: normal; width: max-content; max-width: 240px; padding: 7px 10px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 30; text-align: left; }
.info-tip:hover::after, .info-tip:focus-visible::after, .info-tip.open::after { opacity: 1; transform: translateY(0); }
.info-tip:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-radius: 4px; }
/* [19.10.2026] Unterkunfts-Kärtchen animiert beim Hineinscrollen (site.js setzt .anim-ready, dann .in-view):
   Linien wachsen aus der Mitte, Schriftzug und Name blenden aus der Unschärfe ein, Sonnen erscheinen nacheinander. */
.unit-badge.anim-ready .ub-brand, .unit-badge.anim-ready .ub-sub, .unit-badge.anim-ready .ub-name,
.unit-badge.anim-ready .ub-sun, .unit-badge.anim-ready .ub-icons { opacity: 0; }
.unit-badge.anim-ready .ub-rule::before, .unit-badge.anim-ready .ub-rule::after { transform: scaleX(0); }
.unit-badge.anim-ready .ub-rule::before { transform-origin: right center; }
.unit-badge.anim-ready .ub-rule::after { transform-origin: left center; }
.unit-badge.in-view .ub-rule::before, .unit-badge.in-view .ub-rule::after { transform: scaleX(1); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .15s; }
.unit-badge.in-view .ub-brand { animation: badgeIn 1.4s ease-out .2s forwards; }
.unit-badge.in-view .ub-sub { animation: badgeIn 1.2s ease-out .55s forwards; }
.unit-badge.in-view .ub-name { animation: nameIn 1.6s cubic-bezier(.2,.7,.2,1) .7s forwards; }
.unit-badge.in-view .ub-sun { animation: sunIn .7s cubic-bezier(.3,1.6,.5,1) forwards; }
.unit-badge.in-view .ub-sun:nth-child(1) { animation-delay: 1.3s; }
.unit-badge.in-view .ub-sun:nth-child(2) { animation-delay: 1.45s; }
.unit-badge.in-view .ub-sun:nth-child(3) { animation-delay: 1.6s; }
.unit-badge.in-view .ub-sun:nth-child(4) { animation-delay: 1.75s; }
.unit-badge.in-view .ub-sun:nth-child(5) { animation-delay: 1.9s; }
.unit-badge.in-view .ub-icons { animation: badgeIn 1s ease-out 1.9s forwards; }
@keyframes badgeIn { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes nameIn { from { opacity: 0; filter: blur(10px); letter-spacing: .32em; } to { opacity: 1; filter: none; letter-spacing: .06em; } }
@keyframes sunIn { from { opacity: 0; transform: scale(.3) rotate(-90deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .unit-badge.anim-ready .ub-brand, .unit-badge.anim-ready .ub-sub, .unit-badge.anim-ready .ub-name,
    .unit-badge.anim-ready .ub-sun, .unit-badge.anim-ready .ub-icons { opacity: 1; animation: none; }
    .unit-badge.anim-ready .ub-rule::before, .unit-badge.anim-ready .ub-rule::after { transform: none; }
}
/* [19.10.2026] Sonnen: beim Darüberfahren/Antippen leuchten sie abwechselnd, darüber der Hinweis zur Zertifizierung */
.ub-suns { position: relative; cursor: help; outline: none; }
.ub-suns:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 4px; border-radius: 6px; }
/* gleich wie die Sonnen im Stimmungsbild: brennen (Glanz pulsiert flackernd) und drehen sich, je Sonne zeitversetzt */
.unit-badge .ub-suns:hover .ub-sun, .unit-badge .ub-suns:focus-visible .ub-sun, .unit-badge .ub-suns.open .ub-sun { opacity: 1; animation: sunBurn 4s ease-in-out infinite, sunSpin 28s linear infinite; }
.unit-badge .ub-suns:hover .ub-sun:nth-child(1), .unit-badge .ub-suns.open .ub-sun:nth-child(1), .unit-badge .ub-suns:focus-visible .ub-sun:nth-child(1) { animation-delay: 0s, 0s; }
.unit-badge .ub-suns:hover .ub-sun:nth-child(2), .unit-badge .ub-suns.open .ub-sun:nth-child(2), .unit-badge .ub-suns:focus-visible .ub-sun:nth-child(2) { animation-delay: .9s, -3s; }
.unit-badge .ub-suns:hover .ub-sun:nth-child(3), .unit-badge .ub-suns.open .ub-sun:nth-child(3), .unit-badge .ub-suns:focus-visible .ub-sun:nth-child(3) { animation-delay: .4s, -6s; }
.unit-badge .ub-suns:hover .ub-sun:nth-child(4), .unit-badge .ub-suns.open .ub-sun:nth-child(4), .unit-badge .ub-suns:focus-visible .ub-sun:nth-child(4) { animation-delay: 1.3s, -9s; }
.unit-badge .ub-suns:hover .ub-sun:nth-child(5), .unit-badge .ub-suns.open .ub-sun:nth-child(5), .unit-badge .ub-suns:focus-visible .ub-sun:nth-child(5) { animation-delay: .7s, -11s; }
@keyframes sunGlow { 0%, 100% { transform: scale(1); filter: none; }
    50% { transform: scale(1.22); filter: drop-shadow(0 0 6px #f6c453) drop-shadow(0 0 14px rgba(246,196,83,.7)) brightness(1.15); } }
.sun-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); background: var(--ink); color: var(--bg);
    font-family: var(--body); font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none; white-space: normal;
    width: max-content; max-width: 260px; text-align: center; padding: 7px 11px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 30; }
.ub-suns:hover .sun-tip, .ub-suns:focus-visible .sun-tip, .ub-suns.open .sun-tip { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ub-suns:hover .ub-sun, .ub-suns.open .ub-sun, .ub-suns:focus-visible .ub-sun { animation: none; filter: drop-shadow(0 0 6px #f6c453); } }
/* Info beim Darüberfahren bzw. Antippen: Symbol leuchtet auf, kleine Erklärung darüber */
.ub-tip { position: relative; display: inline-flex; flex-direction: column; align-items: center; cursor: help; border-radius: 8px; outline: none;
    transition: transform .18s ease, filter .18s ease; }
.ub-tip:hover, .ub-tip:focus-visible { transform: translateY(-2px) scale(1.08); }
.ub-tip:hover img, .ub-tip:focus-visible img { filter: drop-shadow(0 0 5px var(--accent)) brightness(1.2); }
.ub-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px);
    background: var(--ink); color: var(--bg); font-family: var(--body); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: normal; width: max-content; max-width: 230px; text-align: left;
    padding: 6px 10px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease; z-index: 5; }
.ub-tip:hover::after, .ub-tip:focus::after { opacity: 1; transform: translate(-50%, 0); }
/* Erklärung nie über den Rand: Betten links bündig, Rad/Kind rechts bündig */
.ub-beds .ub-tip::after { left: 0; transform: translate(0, 4px); }
.ub-fits .ub-tip::after { left: auto; right: 0; transform: translate(0, 4px); }
.ub-beds .ub-tip:hover::after, .ub-beds .ub-tip:focus::after, .ub-fits .ub-tip:hover::after, .ub-fits .ub-tip:focus::after { transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) { .ub-tip, .ub-tip::after { transition: none; } .ub-tip:hover, .ub-tip:focus-visible { transform: none; } }
.ub-head-wrap { margin: 6px 0 18px; }
.ub-head-wrap .unit-badge { max-width: none; }

/* Live-Hinweise */
.teaser { border: 1.5px solid var(--accent-line); background: var(--card); border-radius: 8px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.teaser[hidden] { display: none; }
.teaser .teaser-line strong { color: var(--eyebrow); }
.teaser s { color: var(--muted); }
.teaser b { font-family: var(--display); font-size: 21px; color: var(--heading); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* Fragen */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; }
details[open] summary::after { content: '–'; }

/* Unterkunftsseite */
.gallery { display: flex; flex-direction: column; gap: 6px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.gallery .main img { width: 100%; height: min(60vw, 520px); object-fit: cover; }
.gallery-main { position: relative; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(0,0,0,.45); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.gallery-nav:hover { background: rgba(0,0,0,.65); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
/* Vorschaustreifen wie im Buchungswidget: wischbar, einrastend */
.gallery-strip { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    scrollbar-width: thin; scrollbar-color: var(--accent-line) var(--line); }
.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-track { background: var(--line); border-radius: 8px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--accent-line); border-radius: 8px; }
.gallery-strip a { flex: 0 0 auto; width: 128px; border-radius: 6px; scroll-snap-align: start; cursor: pointer; opacity: .75; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s; }
.gallery-strip a:hover, .gallery-strip a.active { opacity: 1; }
.gallery-strip a.active { outline-color: var(--btn); }
.gallery-strip img { width: 128px; height: 96px; object-fit: cover; }
@media (max-width: 700px) { .gallery-strip a, .gallery-strip img { width: 96px; } .gallery-strip img { height: 72px; } }
/* Foto-Popup wie im Buchungswidget */
.slider { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(10,10,15,.55); padding: 24px; }
.slider.open { display: flex; }
html.slider-lock, html.slider-lock body { overflow: hidden; }
.slider-popup { position: relative; background: #151217; border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.45); padding: 8px; max-width: min(70vw, 1100px); }
.slider-popup img { display: block; max-width: 100%; max-height: min(80vh, 950px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.slider-close { position: absolute; top: -14px; right: -14px; width: 30px; height: 30px; border-radius: 50%; background: #151217; border: 2px solid #fff; color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-count { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 12px; opacity: .85; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slider.single .slider-nav, .slider.single .slider-count { display: none; }
@media (max-width: 700px) { .slider-popup { max-width: 92vw; } .slider-popup img { max-height: 70vh; } }
.amenities { columns: 2 220px; padding-left: 20px; }
/* Buchungsmodul: kein eigener Rahmen — das Modul zeichnet seine Karten im Stil dieser Seite (embed.js data-embed="site") */
.booking-frame { min-height: 540px; }
.booking-frame iframe { display: block; background: transparent; }

/* Rechtstexte */
.legal { max-width: 860px; }
.legal h1 { margin-bottom: 18px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal h3 { font-size: 20px; margin: 22px 0 8px; }
.legal table { border-collapse: collapse; width: 100%; margin: 14px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* Fuß */
.site-footer { background: var(--footer); color: var(--footer-ink); margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 44px; padding-bottom: 110px; }
.site-footer a { color: var(--footer-link); }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; }
.site-footer .wordmark { height: 34px; width: auto; align-self: flex-start; }

/* mitlaufende Buchungsleiste */
.sticky-cta { position: sticky; bottom: 14px; z-index: 20; margin: 24px auto 0; max-width: 760px; padding: 0 14px 14px; }
.sticky-cta .inner { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow); font-weight: 700; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero > div, .unit-row .photo, .unit-row .info { flex-basis: 100%; }
    .hero-photo img { height: 300px; }
    .stage { height: 58vh; min-height: 320px; }
    .stage .stage-badge { left: 14px; right: 14px; bottom: 14px; }
    .unit-row .photo img { height: 240px; }
    .unit-row .gallery .main img { height: 240px; }
    .unit-row .gallery-strip img { height: 72px; }
    .nav { order: 3; width: 100%; gap: 12px; }
    .sticky-cta .inner { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Merkmal nur an einem Standort */
.card .flag { display: inline-block; margin-bottom: 10px; background: var(--chip); color: var(--chip-ink); border-radius: 6px; padding: 4px 12px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }

.plain-list { list-style: none; margin: 0; padding: 0; }
