/* Ferienwohnungen Balko – statische Seite 2027 */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/jost-var.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/almarai-700.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/almarai-800.woff2") format("woff2"); }

:root {
  --green: #669933;
  --green-dark: #4b7422;
  --green-soft: #eef4e4;
  --brown: #795136;
  --ink: #181c1b;
  --text: #454d49;
  --muted: #6c7570;
  --line: #e2e5df;
  --bg: #ffffff;
  --bg-alt: #f6f6f1;
  --dark: #222925;
  --darker: #181c1b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(24, 28, 27, .10);
  --wrap: 1180px;
  --header-h: 72px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Almarai", "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .1em; }
p { margin: 0 0 1em; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-family: var(--font); font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .8em; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 10px 26px; border: 2px solid var(--green-dark); border-radius: 999px; background: var(--green-dark); color: #fff; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: #3c5e1a; border-color: #3c5e1a; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green-dark); }
.btn--ghost:hover { background: var(--green-dark); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-soft); border-color: var(--green-soft); color: var(--ink); }

/* Header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; }
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .93); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(24, 28, 27, .06); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { flex: none; display: block; }
.header__logo img { width: clamp(190px, 22vw, 270px); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav__sub-toggle { display: block; padding: 10px 14px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 1rem var(--font); text-decoration: none; cursor: pointer; }
.nav__list a:hover, .nav__sub-toggle:hover, .nav__list a.is-active { color: var(--green-dark); background: var(--green-soft); }
.nav__has-sub { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub, .nav__has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.header__contact { display: flex; gap: 6px; }
.header__contact a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--green-dark); background: var(--green-soft); }
.header__contact a:hover { background: var(--green-dark); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--green-soft); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { margin: auto; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns-hero 26s ease-in-out infinite alternate both; }
@keyframes kenburns-hero { from { transform: scale(1.01); } to { transform: scale(1.14) translate(-1.5%, -2%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 28, 27, .05) 30%, rgba(24, 28, 27, .78) 100%); }
.hero__in { padding: calc(var(--header-h) + 40px) 0 clamp(70px, 12vh, 120px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero__claim { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 400; letter-spacing: .04em; margin: 0 0 1.4em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: 50%; animation: bob 2.2s ease-in-out infinite; }
.hero__scroll:hover { color: #fff; background: rgba(255, 255, 255, .15); }
@keyframes bob { 50% { transform: translateY(8px); } }

/* Sections */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #c9cfcb; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #a9d06c; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.welcome__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.welcome__imgs img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.claim { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--green-dark); margin: 1.2em 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.6em 0 0; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: var(--ink); font-size: .95rem; font-weight: 500; }
.facts .icon { color: var(--green-dark); }

/* Übersicht Wohnungen */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3 / 4; isolation: isolate; box-shadow: var(--shadow); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(24, 28, 27, .85)); }
.card:hover img { transform: scale(1.06); }
.card:hover { color: #fff; }
.card__body { position: absolute; inset: auto 0 0 0; padding: 18px; }
.card__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.2; display: block; }
.card__meta { font-size: .95rem; opacity: .9; }

/* Wohnungen als Story-Kapitel: Bildbühne bleibt stehen, Text scrollt vorbei */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); border-top: 1px solid var(--line); background: var(--bg); }
.story--flip { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); background: var(--bg-alt); }
.story__stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--darker); }
.story__steps { grid-column: 1; grid-row: 1; }
.story--flip .story__stage { grid-column: 1; }
.story--flip .story__steps { grid-column: 2; }
.story__fig { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.story__fig.is-active { opacity: 1; }
.story__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.story__fig.is-active .story__img { animation: kenburns-a 18s ease-out both; }
.story__fig:nth-child(even).is-active .story__img { animation-name: kenburns-b; }
.story__fig:nth-child(3n).is-active .story__img { animation-name: kenburns-c; }
@keyframes kenburns-a { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-2.2%, -1.6%); } }
@keyframes kenburns-b { from { transform: scale(1.16) translate(2.2%, 1.2%); } to { transform: scale(1.02); } }
@keyframes kenburns-c { from { transform: scale(1.04) translate(-1.5%, 1.5%); } to { transform: scale(1.15) translate(1.8%, -1%); } }
.story__count { position: absolute; left: 18px; bottom: 18px; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(24, 28, 27, .6); color: #fff; font-size: .85rem; letter-spacing: .06em; }
.story__zoom { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: zoom-in; box-shadow: var(--shadow); }
.story__zoom:hover { background: var(--green-dark); color: #fff; }
.step { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--header-h) + 30px) clamp(24px, 5vw, 72px) 40px; }
.step__card { max-width: 580px; opacity: .22; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.story--flip .step__card { margin-left: auto; }
.step.is-active .step__card, .no-js .step__card { opacity: 1; transform: none; }
.step__card h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.story__tag { color: var(--muted); margin: 0; }
@media (min-width: 1021px) {
  /* Textkarte ragt ins Bild hinein */
  .story__steps { position: relative; z-index: 3; }
  .step { padding-right: 0; }
  .story--flip .step { padding-right: clamp(24px, 5vw, 72px); padding-left: 0; }
  .step__card { max-width: 640px; margin-left: auto; margin-right: calc(-1 * clamp(70px, 9vw, 170px)); padding: clamp(28px, 3vw, 46px); background: rgba(255, 255, 255, .96); border-radius: 18px; box-shadow: 0 34px 80px rgba(15, 18, 17, .38), 0 10px 24px rgba(15, 18, 17, .20); }
  .story--flip .step__card { margin-right: auto; margin-left: calc(-1 * clamp(70px, 9vw, 170px)); }
  .step__card > :last-child { margin-bottom: 0; }
  .step__card .features { border: 0; padding: 0; box-shadow: none; background: none; }
  .step:not(.is-active) .step__card { opacity: .35; }
  .step__card > p { font-size: clamp(1.25rem, 1.5vw, 1.6rem); line-height: 1.6; color: #2f3633; }
  .step__card > p.story__tag { font-size: clamp(1.15rem, 1.3vw, 1.4rem); color: var(--muted); }
  .step__card > .apt__price { font-size: 1.15rem; color: var(--muted); }
  .step__card > .apt__price strong { font-size: 1.9rem; }
  .step__card .eyebrow { font-size: .9rem; margin-bottom: 1.1em; }
  .step__card h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  .features h4 { font-size: 1.15rem; }
  .features li p { font-size: 1.05rem; }
  .features h4.features__title { font-size: 1.5rem; }
  .features__sub { font-size: 1.08rem; }
}
.apt__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.apt__price { font-size: 1rem; color: var(--muted); margin-top: 1em; }
.apt__price strong { color: var(--ink); font-size: 1.25rem; }
.features { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 4px 18px rgba(24, 28, 27, .05); }
.features h4.features__title { font-size: 1.25rem; font-weight: 800; margin-bottom: .2em; }
.features__sub { color: var(--muted); font-size: .98rem; margin-bottom: 1.1em; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features li .icon { width: 30px; height: 30px; color: var(--green-dark); margin-top: 2px; }
.features li p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.4; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(24, 28, 27, .05); }
.price__kind { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin: 0 0 .5em; }
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--green-dark); margin: 0; }
.price__unit { font-size: .95rem; color: var(--muted); margin: .4em 0 1em; }
.price ul { list-style: none; margin: 0 0 1.4em; padding: 0; font-size: .98rem; }
.price li { padding: 9px 0; border-top: 1px solid var(--line); }
.price .btn { margin-top: auto; }
.price--wide { grid-column: span 2; }
.subhead { margin-top: clamp(40px, 6vw, 70px); }
.note { font-size: .98rem; color: var(--muted); max-width: 80ch; margin-top: 1.4em; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 18px; }

/* Bewertungen */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 26px; }
.rating__word { font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; color: #fff; }
.stars { display: inline-flex; gap: 2px; color: #f6bb06; }
.stars .icon { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.reviews { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto 18px; padding: 0; list-style: none; }
.review { flex: 1 1 300px; max-width: 380px; min-width: 0; background: #2c3530; border: 1px solid #39443e; border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.review .stars .icon { width: 17px; height: 17px; }
.review blockquote { margin: 0; color: #dfe4e0; font-size: .92rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.review.is-open blockquote { display: block; -webkit-line-clamp: none; line-clamp: none; }
.review__more { align-self: flex-start; padding: 0; border: 0; background: none; color: #b7de68; font: 500 .85rem var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-weight: 600; font-size: .92rem; padding-top: 4px; }
.review footer span { font-weight: 400; font-size: .85rem; color: #9aa59f; text-align: right; }
.reviews__note { font-size: .88rem; color: #9aa59f; margin-top: .4em; }
.section--dark a { color: #b7de68; }

/* Aktivitäten */
.activities { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; list-style: none; padding: 0; margin: 1.6em 0 0; }
.partners a { display: block; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.partners a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partners img { max-height: 84px; width: auto; }
.activities__img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.tip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-width: 560px; text-decoration: none; color: var(--ink); }
.tip img { width: 190px; }
.tip span { font-weight: 500; }

/* Kontakt */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; text-decoration: none; }
.contact__list a:hover { border-color: var(--green); color: var(--green-dark); }
.contact__list .icon { color: var(--green-dark); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9cec8; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem var(--font); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(102, 153, 51, .35); border-color: var(--green-dark); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.form__hint { font-size: .88rem; color: var(--muted); margin: 0; flex: 1 1 260px; }
.form__status { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status.is-ok { background: var(--green-soft); color: #2f4a13; }
.form__status.is-err { background: #fdecea; color: #8a1f17; }

/* Anfahrt */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.place { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.place .icon { width: 34px; height: 34px; color: var(--green-dark); }
.place h3 { font-size: 1.15rem; margin-bottom: .3em; }
.place address { font-style: normal; margin-bottom: .5em; }
.map { position: relative; height: clamp(340px, 60vh, 520px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #e7eedb, #f6f6f1); }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.map__consent p { max-width: 52ch; margin: 0; font-size: .98rem; }
.map__canvas { position: absolute; inset: 0; }
.map__canvas[hidden] { display: none; }

/* Footer */
.footer { background: var(--darker); color: #8d9691; padding: 46px 0 34px; font-size: .98rem; }
.footer__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer p { margin: 0; }
.footer img { width: 150px; background: #fff; border-radius: 12px; padding: 10px; }
.footer a, .footer__settings { color: #fff; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer a:hover, .footer__settings:hover { color: #b7de68; text-decoration: underline; }
.footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer address { font-style: normal; line-height: 1.5; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { color: #fff; background: #3c5e1a; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 18, 17, .96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 18, 17, .96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 56px 12px 8px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 6px; }
.lightbox__cap { text-align: center; padding: 6px 20px 18px; font-size: .98rem; color: #cfd5d1; margin: 0; }
.lightbox button { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: var(--green-dark); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }

/* Rechtstexte */
.legal { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); overflow-wrap: anywhere; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.5em; }
.legal h4 { font-size: 1.05rem; margin-top: 1.2em; }
.legal { overflow-wrap: break-word; }

/* Stetic-Abfrage (dezent, unten links – wie g-ds.de) */
.privacy-dialog { position: fixed; inset: auto 16px 14px auto; margin: 0; width: min(350px, calc(100% - 32px)); max-height: calc(100dvh - 28px); padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(24, 28, 27, .16); font-size: .84rem; line-height: 1.5; z-index: 95; }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: transparent; }
.privacy-dialog h2 { flex: none; margin: 0 0 6px; font-size: .98rem; letter-spacing: 0; }
.privacy-dialog p { margin: 0 0 8px; }
.privacy-dialog__body { flex: 1 1 auto; min-height: 0; padding: 3px; overflow-y: auto; overscroll-behavior: contain; }
.privacy-dialog__body p:last-child { margin-bottom: 0; }
.privacy-dialog__actions { flex: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.privacy-dialog__actions .btn { flex: 1 1 0; min-height: 38px; padding: 6px 10px; font-size: .84rem; white-space: normal; background: #fff; color: var(--green-dark); }
.privacy-dialog__actions .btn:hover { background: var(--green-dark); color: #fff; transform: none; }
.privacy-dialog__links { flex: none; margin: 8px 0 0; display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: .78rem; }
.privacy-dialog__links a { min-height: 32px; display: inline-flex; align-items: center; }

/* Scroll-Animationen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .header__contact { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); margin: 0; padding: 20px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a, .nav__sub-toggle { width: 100%; text-align: left; padding: 14px 16px; font-size: 1.15rem; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 18px; }
  .cards, .prices { grid-template-columns: 1fr 1fr; }
  .welcome, .activities, .contact { grid-template-columns: 1fr; }
  .story, .story--flip { display: block; }
  .story__stage { top: var(--header-h); height: 46vh; height: 46svh; z-index: 2; }
  .step { min-height: 64vh; min-height: 64svh; align-content: start; padding: 34px 20px; }
  .step__card, .story--flip .step__card { max-width: none; margin: 0; opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prices, .extras, .places, .form__grid, .features ul { grid-template-columns: 1fr; }
  .price--wide { grid-column: auto; }
  .privacy-dialog { inset: auto 10px 10px 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .progress, .to-top, .privacy-dialog, .hero__scroll, .map { display: none !important; }
  .hero { min-height: 0; color: var(--ink); } .hero h1 { color: var(--ink); text-shadow: none; }
  .reveal { opacity: 1; transform: none; }
}
