/* =========================================================
   Altes Schulhaus – styles.css
   Aufbau wie friesensteern.de, aber dunkel: Anthrazit und
   Grautöne wie die Wände im Haus, dazu Ziegelrot vom
   Backstein als Akzent. Vollbild-Einstieg, danach Wechsel
   aus Bild/Text und einzelnen Vollbild-Kapiteln.
   ========================================================= */

/*LOCAL_FONTS_START*/
/* Schriften lokal (DSGVO) – den Ordner fonts/ vom Friesensteern mitkopieren */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/inter-v20-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-v20-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-v20-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-v40-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/playfair-display-v40-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-v40-latin-italic.woff2") format("woff2"); }
/*LOCAL_FONTS_END*/

:root {
  /* Farben – dunkle Grautöne */
  --bg: #262626;          /* Grundfläche: Anthrazit wie die Wände */
  --paper: #2e2e2e;       /* zweite Fläche, etwas heller */
  --deep: #1d1d1d;        /* tiefer als Grund (Grundriss-Band) */
  --card: #323232;        /* Karten (Kalender, Buchen) */
  --ink: #f2eee7;         /* Überschriften */
  --text: #c9c5be;        /* Fließtext */
  --muted: #959089;       /* Nebentext */
  --line: #404040;
  --ziegel: #b5603f;      /* Akzent: Backstein */
  --ziegel-dunkel: #8f4529;
  --ziegel-hell: #e2a184; /* Akzent auf dunklem Grund (Eyebrows, Links) */
  --ziegel-soft: rgba(181, 96, 63, .16);
  --panel: #8f4a31;       /* Fläche „Alte Hülle“ (statt Petrol) */
  --stein: #48433f;       /* warmes Steingrau (statt Taupe) */
  --night: #151515;

  /* Schrift */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1rem, .96rem + .18vw, 1.08rem);
  --fs-lead: clamp(1.12rem, 1rem + .5vw, 1.4rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.6vw, 3.4rem);
  --fs-h2-big: clamp(2.3rem, 1.4rem + 4vw, 4.8rem);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(18px, 5vw, 64px);
  --space: clamp(72px, 9vw, 136px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-weight: 300; font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ziegel-hell); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
strong { font-weight: 500; color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ziegel-hell); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--night); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--space); }
.section--paper { background: var(--paper); }

/* ---------- Typografie ---------- */
.eyebrow { font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ziegel-hell); margin-bottom: 14px; }
.eyebrow--light { color: rgba(255,255,255,.88); }
.h2 { font-family: var(--f-serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; color: var(--ink); text-wrap: balance; hyphens: manual; }
.h2--light { color: #fff; }
.h2--big { font-size: var(--fs-h2-big); }
.h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: #f1e3dc; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: #fff; color: var(--night); }
.btn--accent { background: var(--ziegel); color: #fff; }
.btn--accent:hover { background: var(--ziegel-dunkel); }
.btn--line { color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }

/* =========================================================
   HEADER
   ========================================================= */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));
  color: #fff; pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-family: var(--f-serif); font-size: 1.3rem; letter-spacing: .02em; transition: opacity .35s var(--ease), visibility .35s; }
.brand__star { width: 28px; height: 28px; transition: transform .9s var(--ease); }
.brand:hover .brand__star { transform: rotate(90deg); }
.top.is-solid .brand { opacity: 0; visibility: hidden; }

.nav { margin-left: auto; position: relative; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav__list a { color: inherit; text-decoration: none; font-size: .92rem; letter-spacing: .03em; padding: 8px 0; position: relative; }
.nav__list a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: 8px 18px !important; transition: background .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: #fff; color: var(--night); border-color: #fff; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: #fff; padding: 0; place-items: center;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
}
.nav__lines { display: grid; gap: 5px; width: 26px; }
.nav__lines span { height: 3px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.top.is-open .nav__lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.top.is-open .nav__lines span:nth-child(2) { opacity: 0; }
.top.is-open .nav__lines span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.top.is-solid .nav__toggle { background: rgba(21,21,21,.92); box-shadow: 0 8px 24px -6px rgba(0,0,0,.5); }

.top.is-compact .nav__toggle { display: grid; }
.top.is-compact .nav__list {
  position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 32px));
  flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 16px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.top.is-compact.is-open .nav__list { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.top.is-compact .nav__list a { display: block; padding: 11px 22px; font-size: 1rem; }
.top.is-compact .nav__list a:not(.nav__cta)::after { left: 22px; right: 22px; bottom: 6px; }
.top.is-compact .nav__cta-item { padding: 8px 16px 0; }
.top.is-compact .nav__cta { display: block; text-align: center; background: var(--ziegel); color: #fff; border-color: var(--ziegel); }
.top.is-compact .nav__cta:hover { background: var(--ziegel-dunkel); border-color: var(--ziegel-dunkel); }
.top.is-switching .nav__list { transition: none !important; }

.wa-top {
  display: none; width: 48px; height: 48px; border-radius: 50%; margin-left: -8px;
  background: #25d366; color: #fff; place-items: center; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .3s;
}
.wa-top svg { width: 26px; height: 26px; }
.wa-top:hover { transform: scale(1.06); background: #1fbd5a; }
.top.is-compact .wa-top { display: grid; }

/* =========================================================
   VOLLBILD-FLÄCHEN (Hero + Kapitel)
   ========================================================= */
.hero, .chapter { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.hero__media, .chapter__media { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.hero__media { inset: 0; }
.chapter__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shade--left { background: linear-gradient(to right, rgba(14,14,14,.72) 0%, rgba(14,14,14,.36) 45%, rgba(14,14,14,0) 75%); }
.shade--left.shade--strong { background: linear-gradient(to right, rgba(14,14,14,.84) 0%, rgba(14,14,14,.5) 50%, rgba(14,14,14,.05) 85%); }
.shade--edges { background: linear-gradient(to bottom, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 30%, rgba(14,14,14,0) 62%, rgba(14,14,14,.68) 100%); }
.shade--hero { background: linear-gradient(to top, rgba(14,14,14,.6) 0%, rgba(14,14,14,.18) 40%, rgba(14,14,14,0) 62%); }
@media (max-width: 760px) {
  .shade--left, .shade--left.shade--strong { background: linear-gradient(to top, rgba(14,14,14,.84) 0%, rgba(14,14,14,.36) 55%, rgba(14,14,14,.08) 100%); }
}

/* ---------- Hero: Fotos blenden langsam ineinander ---------- */
.hero { min-height: max(620px, 100svh); display: flex; align-items: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 2.4s ease-in-out, transform 9s linear; }
.hero__img.is-on { opacity: 1; transform: scale(1); }
.hero__inner { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; display: grid; justify-items: start; gap: 14px; padding: 140px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(clamp(56px, 7vh, 88px) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.hero__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 1.4rem + 7vw, 8rem); line-height: .95; letter-spacing: -.015em; animation: rise 1.3s var(--ease) both; }
.hero__claim { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem, .9rem + 1.3vw, 2.1rem); line-height: 1.3; animation: rise 1.2s var(--ease) .5s both; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; animation: rise 1.2s var(--ease) .7s both; }
@media (min-width: 700px) { .hero__claim { white-space: nowrap; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__cue { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 14px; }
.hero__cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@media (max-width: 640px) { .hero__cue { display: none; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Kapitel ---------- */
.chapter { min-height: max(560px, 92svh); display: flex; }
.chapter--short { min-height: max(540px, 80svh); }
.chapter__text { display: grid; gap: 16px; align-content: center; justify-items: start; padding-block: clamp(100px, 12vw, 160px); }
.chapter__text > * { max-width: 560px; }
.chapter__text > p:not(.eyebrow) { color: rgba(255,255,255,.92); font-size: var(--fs-lead); line-height: 1.55; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.chapter__text .eyebrow { margin-bottom: 0; }
.chapter__text .btn { margin-top: 10px; }
.chapter__text--split { grid-template-rows: auto 1fr; align-content: stretch; gap: 0; padding-block: calc(96px + env(safe-area-inset-top, 0px)) clamp(48px, 7vw, 88px); }
.chapter__text--split > p { align-self: end; }
.chapter__head { display: grid; gap: 14px; }
.chapter__text--center { justify-items: center; text-align: center; }
.chapter__text--center > * { max-width: 760px; }
.chapter__text--split.chapter__text--center > p { justify-self: center; }
@media (max-width: 760px) {
  .chapter__text { align-content: end; justify-items: start; text-align: left; }
  .chapter__text--split { align-content: stretch; }
  .chapter__text--center { align-content: center; justify-items: center; text-align: center; }
}

/* =========================================================
   BILD/TEXT-WECHSEL
   ========================================================= */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split__text { display: grid; gap: 16px; align-content: start; max-width: 54ch; min-width: 0; }
.split__text .h2 { margin-top: -.12em; margin-bottom: 6px; }
.split__text > :last-child { margin-bottom: -.35em; }
.split__media { position: relative; min-width: 0; }
@media (min-width: 960px) { .split__media { min-height: 360px; } .split__main { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; } }
.split__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--paper); }

/* ---------- Fakten ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 104px); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li { border-top: 1px solid var(--ink); padding: 18px 12px 24px 0; display: grid; gap: 4px; align-content: start; min-width: 0; }
@media (min-width: 1080px) {
  .facts { display: flex; justify-content: space-between; background: linear-gradient(var(--ink), var(--ink)) top / 100% 1px no-repeat; background-origin: content-box; background-clip: content-box; }
  .facts li { border-top: 0; padding-right: 0; }
}
.facts__num { font-family: var(--f-serif); font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.8rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.facts__label { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* =========================================================
   RANDLOSE BILD-PANELS + BILDSTREIFEN
   ========================================================= */
.bleed { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bg); }
@media (min-width: 960px) {
  .bleed { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(520px, 74svh); }
  .bleed--flip .bleed__media { order: 2; }
}
.bleed__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--paper); }
@media (min-width: 960px) { .bleed__media { aspect-ratio: auto; min-height: 420px; } }
.bleed__panel { position: relative; overflow: hidden; display: flex; align-items: center; }
.bleed__text {
  position: relative; z-index: 1; display: grid; gap: 16px;
  padding: clamp(48px, 7vw, 112px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 112px) clamp(28px, 6vw, 96px);
}
@media (max-width: 959px) { .bleed__text { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); } }
.bleed--flip .bleed__panel { justify-content: flex-end; }
.bleed--flip .bleed__text { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: clamp(28px, 6vw, 96px); }
.bleed__text > * { max-width: 34rem; }
@media (min-width: 960px) { .bleed:not(.bleed--flip) .bleed__text { padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); } }
.bleed .h2 { margin-bottom: 6px; }
.bleed__star {
  position: absolute; right: -12%; bottom: -18%; width: min(68%, 460px); height: auto; opacity: .14;
  animation: spin 90s linear infinite; pointer-events: none;
}

/* Ziegel-Fläche (Alte Hülle) */
.bleed--ziegel .bleed__panel { background: var(--panel); color: #fff; }
.bleed--ziegel .bleed__text p { font-weight: 400; color: rgba(255,255,255,.92); }
.bleed--ziegel .bleed__text { padding-block: clamp(40px, 5vw, 72px); }
.bleed--ziegel .bleed__text > * { max-width: 36rem; }

/* Steingrau-Fläche (Terrasse) */
.bleed--stein .bleed__panel { background: var(--stein); color: #fff; }
.bleed--stein .bleed__text p { font-weight: 400; color: rgba(255,255,255,.9); }
@media (min-width: 960px) {
  .bleed--wide.bleed--flip .bleed__panel { justify-content: flex-start; }
  .bleed--wide .bleed__text { padding-left: clamp(28px, 5vw, 88px); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
}
.bleed__star--terr { right: auto; left: -14%; bottom: -22%; opacity: .16; animation-direction: reverse; }

/* Bildstreifen, die sich beim Darüberfahren verbreitern */
.bleed__media--strips { background: var(--panel); border-bottom: 1.5px solid var(--bg); }
@media (min-width: 960px) { .bleed__media--strips { border-bottom: 0; border-right: 1.5px solid var(--bg); } }
.bleed--stein .bleed__media--strips { background: var(--stein); }
.strips { position: absolute; inset: 0; display: flex; gap: 0; }
.strip { flex: 1 1 0; min-width: 0; overflow: hidden; position: relative; transition: flex-grow .8s var(--ease); }
.strip .zoom { height: 100%; position: relative; }
.strip .zoom img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: grayscale(1) contrast(1.15) brightness(1.05); transition: transform 1.4s var(--ease), filter .9s var(--ease); }
/* Duotone: Graustufen + Ziegel-Einfärbung, farbig beim Darüberfahren */
.strip .zoom::before, .strip .zoom::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .9s var(--ease); z-index: 1; }
.strip .zoom::before { background: rgb(48, 20, 12); mix-blend-mode: lighten; }
.strip .zoom::after { background: var(--panel); mix-blend-mode: multiply; }
.strips:hover .strip { flex-grow: .45; }
.strips .strip:hover, .strips .strip:focus-within, .strips.has-active .strip.is-active { flex-grow: 7; }
.strips .strip:hover .zoom img, .strips .strip:focus-within .zoom img, .strips .strip.is-active .zoom img { transform: scale(1); filter: none; }
.strips .strip:hover .zoom::before, .strips .strip:hover .zoom::after,
.strips .strip:focus-within .zoom::before, .strips .strip:focus-within .zoom::after,
.strips .strip.is-active .zoom::before, .strips .strip.is-active .zoom::after { opacity: 0; }
.strips.has-active:not(:hover) .strip:not(.is-active) { flex-grow: .45; }
.strip__hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.55); transition: transform .4s var(--ease), opacity .4s;
  animation: hintPulse 3.2s var(--ease) infinite;
}
.strip__hint::before, .strip__hint::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--panel); border-radius: 1px; }
.strip__hint::before { width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; }
.strip__hint::after { width: 1.5px; height: 10px; margin: -5px 0 0 -.75px; }
.strip:hover .strip__hint, .strip.is-active .strip__hint { background: #fff; transform: scale(1.12); }
.strip:nth-child(2) .strip__hint { animation-delay: .3s; } .strip:nth-child(3) .strip__hint { animation-delay: .6s; } .strip:nth-child(4) .strip__hint { animation-delay: .9s; }
@keyframes hintPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
@media (max-width: 600px) { .strip__hint { right: 8px; bottom: 8px; width: 20px; height: 20px; } }

/* Terrasse: Duotone in Steingrau, erstes Bild groß und farbig */
.strips--terr .strip .zoom::before { background: rgb(30, 27, 25); }
.strips--terr .strip .zoom::after { background: var(--stein); }
.strips--terr .strip__hint::before, .strips--terr .strip__hint::after { background: var(--stein); }
.strips--terr:hover .strip.is-active:not(:hover) { flex-grow: .45; }
.strips--terr:hover .strip.is-active:not(:hover) .zoom img { filter: grayscale(1) contrast(1.15) brightness(1.05); transform: scale(1.04); }
.strips--terr:hover .strip.is-active:not(:hover) .zoom::before, .strips--terr:hover .strip.is-active:not(:hover) .zoom::after { opacity: 1; }

/* =========================================================
   LEITSÄTZE (Band mit wechselnden Zitaten)
   ========================================================= */
.bg-star { position: absolute; z-index: -1; height: auto; pointer-events: none; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.voice { position: relative; overflow: hidden; isolation: isolate; background: var(--stein); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.voice .eyebrow { margin: 0; color: #eadfd6; }
.bg-star--voice { width: clamp(340px, 46vw, 680px); left: -10%; top: 50%; margin-top: calc(clamp(340px, 46vw, 680px) / -2); opacity: .08; animation-direction: reverse; }
.press__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.quotes { display: grid; max-width: 760px; width: 100%; }
.quote { grid-area: 1 / 1; display: grid; gap: 18px; align-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 0s linear 1s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 0s; }
.quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, .9rem + 1.9vw, 2.4rem); line-height: 1.3; text-wrap: balance; }
.quote figcaption { font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #eadfd6; }
.quotes__dots { display: flex; gap: 2px; }
.quotes__dots button { width: 30px; height: 30px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.quotes__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .3s, transform .3s; }
.quotes__dots button[aria-current="true"]::before { background: #fff; transform: scale(1.3); }

/* =========================================================
   RÄUME
   ========================================================= */
.sechead { display: grid; gap: 14px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .sechead { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.sechead > p { color: var(--muted); max-width: 48ch; }
.rooms { padding-bottom: 0; }
.rooms__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
@media (min-width: 640px) { .rooms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .rooms__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.room { display: grid; gap: 8px; align-content: start; }
@media (max-width: 639px) {
  .rooms__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .rooms__grid::-webkit-scrollbar { display: none; }
  .room { scroll-snap-align: start; }
  .rooms .sechead > p::after { content: " Wischen für mehr →"; color: var(--ziegel-hell); white-space: nowrap; }
}
.room__img { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; margin-bottom: 8px; background: var(--paper); }
.room__pic--alt { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.room__pic--alt.is-on { opacity: 1; }
.room__count {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 3px 10px; border-radius: 999px;
  background: rgba(21,21,21,.85); color: #fff; font-size: .75rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.room h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); line-height: 1.25; }
.room p { color: var(--muted); font-size: .95rem; }

.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.zoom:hover img { transform: scale(1.05); }

/* =========================================================
   INTERAKTIVER GRUNDRISS
   ========================================================= */
.plan { margin-top: clamp(64px, 8vw, 112px); background: var(--deep); box-shadow: 0 0 0 100vmax var(--deep); clip-path: inset(0 -100vmax); padding-block: clamp(40px, 5vw, 64px); }
.plan__head { display: grid; gap: 4px; margin-bottom: 20px; }
.plan__head p { color: var(--muted); font-size: .92rem; }
.plan__grid { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 960px) { .plan__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.plan__map { position: relative; background: #1e1e1e; border: 1px solid var(--line); border-radius: 6px; padding: clamp(8px, 1.5vw, 20px); }
.plan__map img { display: block; width: 100%; height: auto; filter: invert(.88); }
.plan__map svg { position: absolute; inset: clamp(8px, 1.5vw, 20px); width: calc(100% - 2 * clamp(8px, 1.5vw, 20px)); height: calc(100% - 2 * clamp(8px, 1.5vw, 20px)); }
.plan__room { cursor: pointer; outline: none; }
.plan__room path { fill: var(--ziegel); fill-opacity: 0; stroke: var(--ziegel); stroke-width: 0; stroke-linejoin: round; transition: fill-opacity .3s, stroke-width .3s; }
.plan__room:hover path, .plan__room:focus-visible path { fill-opacity: .18; stroke-width: 2.5; }
.plan__room.is-on path { fill-opacity: .32; stroke-width: 3.5; }
.plan__side { position: relative; }
.plan__info { display: none; gap: 10px; }
.plan__info.is-on { display: grid; animation: fadeIn .4s var(--ease); }
.plan__info figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--paper); }
.plan__info img { width: 100%; height: 100%; object-fit: cover; }
.plan__info h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; color: var(--ink); margin-top: 6px; }
.plan__info p { color: var(--muted); font-size: .95rem; }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery__head { margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .gallery__title { white-space: nowrap; } }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 20vw, 280px); gap: clamp(8px, 1vw, 14px); grid-auto-flow: dense; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mosaic li { overflow: hidden; border-radius: 4px; background: var(--paper); min-width: 0; }
.mosaic .zoom { height: 100%; }
.m-wide { grid-column: span 2; }
.m-tall { grid-row: span 2; }

/* =========================================================
   UMGEBUNG
   ========================================================= */
.around { background: var(--paper); }
.tips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
@media (min-width: 640px) { .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .tips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tips li { border-top: 1px solid var(--line); padding: 22px 0 28px; display: grid; gap: 6px; align-content: start; }
.tips__tag { justify-self: start; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ziegel-hell); background: var(--ziegel-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }
.tips h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); }
.tips p { color: var(--muted); font-size: .95rem; }

/* =========================================================
   PREISE
   ========================================================= */
.prices { position: relative; overflow: hidden; isolation: isolate; }
.bg-star--prices { width: clamp(320px, 40vw, 600px); left: -10%; top: -6%; opacity: .05; }
.prices__title { margin-bottom: clamp(20px, 3vw, 32px); }
@media (min-width: 700px) { .prices__title { white-space: nowrap; } }
.prices__text { display: grid; gap: 1em; max-width: 72ch; margin-bottom: clamp(32px, 4vw, 48px); }
.prices__text a { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 13px 18px 13px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.ptable thead th { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.ptable tbody th { font-family: var(--f-serif); font-weight: 400; font-size: 1.12rem; color: var(--ink); }
.ptable .num { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable td.num { color: var(--ink); font-weight: 500; }
.ptable td.num + td.num { padding-left: 18px; }
.ptable tbody tr { transition: background .2s; }
.ptable tbody tr:hover { background: var(--paper); }
.ptable tr.is-now { background: var(--ziegel-soft); }
.ptable tr.is-now th::after { content: "aktuell"; margin-left: 10px; font-family: var(--f-sans); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; background: var(--ziegel); color: #fff; padding: 3px 9px; border-radius: 999px; vertical-align: 3px; }
.ptable__extra th, .ptable__extra td { border-bottom: 0; padding-top: 22px; }

/* =========================================================
   BELEGUNGSKALENDER
   ========================================================= */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 36px); margin-bottom: clamp(40px, 5vw, 64px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.7); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cal__nav { display: flex; gap: 8px; }
.cal__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.cal__btn:hover:not([disabled]) { background: var(--ziegel-soft); border-color: var(--ziegel); }
.cal__btn[disabled] { opacity: .35; cursor: default; }
.cal__btn svg, .lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal__months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 56px); }
@media (min-width: 700px) { .cal__months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cal__months { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cal__month h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); margin-bottom: 10px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__dow { font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 4px; }
.cal__day {
  --free: #3d3d3d;
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 3px;
  font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--free); overflow: hidden;
}
.cal__day span { position: relative; z-index: 1; }
.cal__day.is-booked { background: var(--ziegel); color: #fff; }
.cal__day.is-arr { background: linear-gradient(to bottom right, var(--free) 0 50%, var(--ziegel) 50% 100%); }
.cal__day.is-dep { background: linear-gradient(to bottom right, var(--ziegel) 0 50%, var(--free) 50% 100%); }
.cal__day.is-arr span, .cal__day.is-dep span { text-shadow: 0 0 4px #000, 0 0 2px #000; }
.cal__day.is-past { opacity: .35; }
.cal__day.is-today { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal__day.is-empty { background: none; }
.cal__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 20px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--muted); }
.cal__legend li { display: flex; align-items: center; gap: 8px; }
.cal__legend i { width: 16px; height: 16px; border-radius: 3px; }
.d-free { background: #3d3d3d; }
.d-booked { background: var(--ziegel); }
.d-arr { background: linear-gradient(to bottom right, #3d3d3d 0 50%, var(--ziegel) 50% 100%); }
.d-dep { background: linear-gradient(to bottom right, var(--ziegel) 0 50%, #3d3d3d 50% 100%); }
.cal__status { font-size: .85rem; color: var(--muted); }

/* =========================================================
   BUCHEN + KONTAKT
   ========================================================= */
.book__inner { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .book__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.book__side { display: grid; gap: 18px; justify-items: start; }
.book__side .h2 { margin-bottom: 6px; }
.contact { display: grid; width: 100%; margin-top: 6px; }
.contact > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.contact > div:last-child { border-bottom: 1px solid var(--line); }
.contact dt { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact dd { color: var(--ink); overflow-wrap: anywhere; }
.contact a { color: var(--ink); text-decoration: none; }
.contact a:hover { color: var(--ziegel-hell); text-decoration: underline; }
.book__form { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 16px; justify-items: start; min-width: 0; box-shadow: 0 30px 60px -40px rgba(0,0,0,.7); }
.book__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   GASTGEBER
   ========================================================= */
.hosts { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); border-top: 1px solid var(--line); }
.hosts__inner { display: grid; gap: clamp(28px, 5vw, 80px); }
.hosts__photo { margin: 0; }
.hosts__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 50%; }
.hosts__text { display: grid; gap: 16px; max-width: 46ch; align-content: start; }
.hosts__text .h2 { margin-bottom: 6px; }
.hosts__sign { font-family: var(--f-serif); font-style: italic; color: var(--ink); font-size: 1.15rem; }
@media (min-width: 860px) {
  .hosts__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: stretch; }
  .hosts__photo { position: relative; }
  .hosts__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hosts__text .h2 { line-height: 1; margin-top: -.08em; }
}
.bg-star--hosts { width: clamp(320px, 38vw, 560px); right: -10%; top: 50%; margin-top: calc(clamp(320px, 38vw, 560px) / -2); opacity: .05; }

/* =========================================================
   LAGE / KARTE
   ========================================================= */
.map { background: var(--bg); }
.map__strip { background: var(--stein); color: #fff; padding-block: 18px; }
.map__title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
@media (min-width: 700px) { .map__title { white-space: nowrap; } }
.map__figure { position: relative; margin: 0; min-width: 0; }
.map__stage { display: block; width: 100%; height: clamp(420px, 72vh, 820px); padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: none; }
.map__stage[aria-pressed="true"] { cursor: zoom-out; }
.map__svg { display: block; width: 100%; height: 100%; }
/* Farben der Karte (dunkel) */
.map__svg .ek6 { fill: #2b3437; }                                  /* Meer, Wasser */
.map__svg .ek8, .map__svg .ek2 { fill: #3e3d3b; }                   /* Land */
.map__svg .ek2 { stroke: #3e3d3b; stroke-miterlimit: 10; stroke-width: 5px; }
.map__svg .ek0, .map__svg .ek1, .map__svg .ek2 { font-family: var(--f-sans); }
.map__svg .ek0, .map__svg .ek2 { font-size: 18px; }
.map__svg .ek0 { fill: #e9e4dc; }
.map__svg .ek1 { font-family: var(--f-serif); font-style: italic; fill: #7f9196; font-size: 40px; }
.map__svg .ek3, .map__svg .ek4, .map__svg .ek5 { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__svg .ek3, .map__svg .ek5 { stroke: #6a6966; stroke-width: 1.6px; }
.map__svg .ek4 { stroke: #a89887; stroke-width: 2.8px; }
.map__svg .ek7 { fill: #ef6a43; }
.map__zoom { transform-box: view-box; transform-origin: 1087px 590px; transition: transform 1.4s var(--ease); }
.map__stage:hover .map__zoom, .map__stage[aria-pressed="true"] .map__zoom { transform: translate(-87px, -32px) scale(2.2); }
.map__pulse { fill: #ef6a43; fill-opacity: .3; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.4s ease-out infinite; }
@keyframes mapPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.map__home-zoom { font-family: var(--f-serif); font-size: 15px; fill: #ef6a43; opacity: 0; transition: opacity .6s var(--ease); }
.map__stage:hover .map__home-zoom, .map__stage[aria-pressed="true"] .map__home-zoom { opacity: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--night); color: #9d9890; padding-top: clamp(56px, 7vw, 88px); font-size: .92rem; }
.foot a { color: #ddd8d0; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; gap: 32px; padding-bottom: 44px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot__grid > div { display: grid; gap: 10px; align-content: start; }
.foot__logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-size: 1.6rem; color: #fff; margin-bottom: 4px; }
.foot__logo img { width: 40px; height: 40px; }
.foot__h { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #807a72; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: .8rem; color: #78736c; }
.foot__bottom nav { display: flex; gap: 20px; }

/* =========================================================
   BILDANSICHT
   ========================================================= */
.lightbox { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s var(--ease); }
.lightbox::backdrop { background: rgba(10,10,10,.95); }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 90px); width: auto; height: auto; object-fit: contain; }
.lightbox__count { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; color: #aaa49c; font-size: .85rem; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.15); }
.lb-btn svg { width: 22px; height: 22px; stroke-width: 1.6; }
.lb-btn--close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-btn--prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-btn--next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 170px); }
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: calc(52px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-btn--prev { left: calc(50% - 64px); }
  .lb-btn--next { right: calc(50% - 64px); }
}
@keyframes fadeIn { from { opacity: 0; } }

/* =========================================================
   BILDER BLÄTTERN (Wohnküche) + ÜBERBLENDEN (Abend)
   ========================================================= */
.hs { background: var(--night); }
.hs__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.hs__img.is-on { opacity: 1; }
[data-autofade] .hs__img { transition: opacity 2.5s ease-in-out; }
.hs__nav {
  position: absolute; z-index: 2; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(28px, 4vw, 48px);
  display: flex; align-items: center; gap: 10px; color: #fff;
}
.hs__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(21,21,21,.3); color: #fff; display: grid; place-items: center; transition: background .25s; }
.hs__btn:hover { background: rgba(255,255,255,.2); }
.hs__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hs__count { font-size: .8rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: center; }
@media (max-width: 760px) { .hs__nav { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* ---------- Einblenden beim Scrollen (nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Fußzeile wie bei der Alten Meierei: Anschrift, Kontakt, weitere Häuser */
@media (min-width: 980px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1.2fr .8fr; } }
.foot__dl { display: grid; gap: 10px; margin: 0; }
.foot__dl dt { font-size: .8rem; color: #807a72; }
.foot__dl dd { margin: 0; }

/* Wohnküche: unten kräftiger abdunkeln, damit der Text gut lesbar ist */
.shade--edges.shade--deep { background: linear-gradient(to bottom, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 28%, rgba(14,14,14,0) 42%, rgba(14,14,14,.55) 66%, rgba(14,14,14,.88) 100%); }
@media (max-width: 760px) { .shade--edges.shade--deep { background: linear-gradient(to bottom, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 26%, rgba(14,14,14,.35) 50%, rgba(14,14,14,.9) 100%); } }

/* Pressezitate: Band etwa 20 % niedriger */
.voice { padding-block: clamp(38px, 4.8vw, 64px); }
.voice .press__inner { gap: 14px; }

/* Alte Hülle: weiße Trennlinie zwischen Bildstreifen und Textfläche */
.bleed--ziegel .bleed__media--strips { border-bottom: 2px solid #fff; }
@media (min-width: 960px) { .bleed--ziegel .bleed__media--strips { border-bottom: 0; border-right: 2px solid #fff; } }

/* Einstieg: Leitsatz als große Überschrift */
.hero__title--claim { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.6rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }

/* Gleich nebenan: Überschrift oben, Text unten, nur unten abgedunkelt */
.shade--bottom { background: linear-gradient(to top, rgba(14,14,14,.86) 0%, rgba(14,14,14,.5) 28%, rgba(14,14,14,0) 55%); }
.chapter__text--sib > * { max-width: 600px; }
.chapter__foot { align-self: end; display: grid; gap: 14px; justify-items: start; }
.chapter__foot p { color: rgba(255,255,255,.92); font-size: var(--fs-lead); line-height: 1.55; }

/* Einstieg: Bildausschnitt so wählen, dass das Haus auch auf schmalen Bildschirmen zu sehen ist */
.hero__img[src*="hero_abend"] { object-position: 74% 50%; }
.hero__img[src*="hero_garten"] { object-position: 72% 50%; }
.hero__img[src*="hero_front"] { object-position: 52% 50%; }

/* Kleinerer Fließtext: Intro, Wohnküche, Friesensteern */
.intro .split__text p { font-size: 16px; line-height: 1.65; }
.intro .split__text { gap: 14px; }
.chapter .chapter__text--split > p:not(.eyebrow), .chapter .chapter__foot p { font-size: 16px; line-height: 1.6; }
.chapter__text--sib > * { max-width: 520px; }
.chapter__text--split > p { max-width: 520px; }

/* Alte Hülle + Terrasse: Fließtext in der leichten Schnittstärke */
.bleed--ziegel .bleed__text p, .bleed--stein .bleed__text p:not(.eyebrow) { font-weight: 300; }

/* Intro: Foto quadratisch */
.intro .split { align-items: start; }
@media (min-width: 960px) { .intro .split { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .intro .split__media { min-height: 0; } }
.intro .split__main, .intro .split__media .split__main { position: static; width: 100%; height: auto; aspect-ratio: 1 / 1 !important; object-fit: cover; }

/* Intro: zwei quadratische Fotos im Wechsel */
.intro .split__media[data-autofade] .split__main { transition: opacity 1.2s ease-in-out; }
.intro .split__media[data-autofade] .split__main:not(:first-child) { position: absolute; inset: 0; height: 100%; }
.intro .split__media[data-autofade] .split__main:not(.is-on) { opacity: 0; }
