/* DM Sans (variabel, lokal gehostet – keine Verbindung zu Google) */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Max-Reger-Halle Weiden — Redesign
   Farben aus dem Bestand: Petrol, Navy, Teal, Sand.
   Eine Schriftfamilie (DM Sans), viel Weißraum, Haarlinien.
   Signatur: die Dachlinie aus dem Logo. */

:root {
  --white: #ffffff;
  --sand: #f3ece3;
  --sand-line: #e2d7c8;
  --petrol: #245f79;
  --petrol-deep: #1d4e64;
  --teal: #006885;
  --navy: #1b2a49;
  --ink: #1b2a49;
  --text: #2b313d;
  --muted: #59606d;
  --line: rgba(27, 42, 73, 0.14);
  --line-strong: rgba(27, 42, 73, 0.28);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.76);
  --line-dark: rgba(255, 255, 255, 0.22);

  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 5.25rem);

  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --max: 1360px;
  --header-h: 72px;
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;

  --z-sticky: 20;
  --z-header: 30;
  --z-menu: 40;
  --z-modal: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.08; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-dark :focus-visible, .site-header.is-over :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: var(--z-modal); background: var(--navy); color: #fff; padding: 0.75rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.bg-sand { background: var(--sand); }
.bg-petrol { background: var(--petrol); color: var(--on-dark); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

/* ---------- Type helpers ---------- */
.display { font-size: var(--fs-display); letter-spacing: -0.028em; line-height: 1.02; }
.h-xl { font-size: var(--fs-3xl); }
.h-lg { font-size: var(--fs-2xl); line-height: 1.12; }
.h-md { font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink); max-width: 38em; }
.on-dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--on-dark-muted); }
.prose { max-width: 40em; }
.prose p + p { margin-top: 0; }
.label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--petrol); margin-bottom: 1.25rem; letter-spacing: 0; }
.on-dark .label { color: var(--on-dark-muted); }
.tnum { font-variant-numeric: lining-nums; }

/* ---------- Links & buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--teal); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease), color 0.2s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.on-dark .link { color: #fff; }
.link .arrow { transition: transform 0.35s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.7rem 1.4rem;
  border: 1px solid var(--petrol); border-radius: var(--radius);
  background: var(--petrol); color: #fff;
  font-weight: 500; font-size: var(--fs-sm); text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.on-dark .btn { background: #fff; color: var(--navy); border-color: #fff; }
.on-dark .btn:hover { background: transparent; color: #fff; }
.btn--small { min-height: 40px; padding: 0.45rem 1rem; }

/* ---------- Roofline (Signatur) ---------- */
.roofline { display: block; width: 100%; height: auto; overflow: visible; }
.roofline path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.roofline.is-drawn path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 2.4s var(--ease) 0.3s forwards; animation-play-state: var(--draw-state, running); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), border-color 0.4s, color 0.4s;
  color: var(--ink);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-over { background: transparent; border-color: transparent; color: #fff; }
.brand { display: inline-flex; color: inherit; text-decoration: none; }
.brand svg { width: 132px; height: auto; }
.brand svg .st0 { fill: none; stroke: currentColor; stroke-width: 9px; }
.brand svg .st1 { fill: currentColor; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2.25rem); }
.nav a { text-decoration: none; font-size: var(--fs-sm); font-weight: 500; position: relative; padding-block: 0.4rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; margin-right: -0.5rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: calc(var(--z-menu) + 1); }
  .nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.25rem;
    padding: var(--header-h) var(--gutter) 3rem;
    background: var(--navy); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav a { font-size: var(--fs-2xl); letter-spacing: -0.02em; padding-block: 0.35rem; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: #fff; background: transparent; border-color: transparent; }
  .nav-open { overflow: hidden; }
}

main { display: block; }
.page-offset { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 42, 73, 0.55) 0%, rgba(27, 42, 73, 0) 28%, rgba(27, 42, 73, 0) 45%, rgba(27, 42, 73, 0.78) 100%); }
.hero .wrap { padding-bottom: clamp(2.5rem, 2rem + 4vw, 5rem); padding-top: calc(var(--header-h) + 4rem); }
.hero h1 { color: #fff; max-width: 12ch; }
.hero__foot { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.hero__foot p { max-width: 34em; color: rgba(255, 255, 255, 0.9); font-size: var(--fs-lg); line-height: 1.5; margin: 0; }
@media (max-width: 700px) { .hero__foot { grid-template-columns: 1fr; } }

.page-hero { position: relative; color: #fff; isolation: isolate; min-height: clamp(380px, 62svh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero__media img { object-position: center 55%; }
.page-hero--programm .hero__media img { object-position: center 62%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 42, 73, 0.5) 0%, rgba(27, 42, 73, 0) 30%, rgba(27, 42, 73, 0.72) 100%); }
.page-hero .wrap { padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem); padding-top: calc(var(--header-h) + 3rem); }
.page-hero h1 { color: #fff; }

.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* ---------- Grids ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 2.5rem; }
.split > .col-head { grid-column: 1 / span 5; }
.split > .col-body { grid-column: 7 / span 6; }
.split > .col-wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .split > .col-head, .split > .col-body { grid-column: 1 / -1; } }
.sticky-head { position: sticky; top: calc(var(--header-h) + var(--subnav-h, 0px) + 2rem); align-self: start; }
@media (max-width: 900px) { .sticky-head { position: static; } }

/* ---------- Upcoming list (Home) ---------- */
.upcoming { border-top: 1px solid var(--line-strong); }
.upcoming__row { position: relative; isolation: isolate; display: grid; grid-template-columns: 7rem 1fr auto; gap: 1.5rem; align-items: center; padding-block: 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
/* Hover-Fläche ragt über den Text hinaus, damit die Schrift nicht an der Kante klebt */
.upcoming__row::before { content: ""; position: absolute; inset: 0 -1.25rem; z-index: -1; background: rgba(243, 236, 227, 0.7); opacity: 0; transition: opacity 0.3s; }
.upcoming__row:hover::before, .upcoming__row:focus-visible::before { opacity: 1; }
@media (max-width: 900px) { .upcoming__row::before { inset-inline: calc(-1 * var(--gutter)); } }
.upcoming__date { font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.upcoming__date strong { display: block; font-size: var(--fs-lg); color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.upcoming__title { font-size: var(--fs-lg); color: var(--ink); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.upcoming__meta { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 0.25rem; letter-spacing: 0; }
.upcoming__arrow { color: var(--petrol); transition: transform 0.35s var(--ease); }
.upcoming__row:hover .upcoming__arrow { transform: translateX(4px); }
@media (max-width: 640px) { .upcoming__row { grid-template-columns: 1fr auto; } .upcoming__date { grid-column: 1 / -1; } .upcoming__date strong { display: inline; font-size: var(--fs-base); margin-right: 0.4em; } }

/* ---------- Facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); margin-top: 3rem; }
.facts div { padding: 1.25rem 1.5rem 0 0; }
.facts div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts dt { font-size: var(--fs-2xl); color: var(--petrol); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.facts dd { margin: 0.35rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .facts div { padding-bottom: 1rem; } }

/* Catering: rein typografisch, wie eine Menükarte */
.menu-card { list-style: none; margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand-line); }
.menu-card li { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) var(--gutter) 0 0; }
.menu-card li + li { padding-left: var(--gutter); border-left: 1px solid var(--sand-line); }
.menu-card h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.menu-card p { margin-top: 0.75rem; max-width: 30ch; font-size: var(--fs-sm); line-height: 1.6; }
.catering__foot { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-top: 1px solid var(--sand-line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.25rem 3rem; }
.catering__foot p { max-width: 62ch; }
@media (max-width: 760px) {
  .menu-card { grid-template-columns: 1fr; }
  .menu-card li, .menu-card li + li { padding: 1.25rem 0; border-left: 0; }
  .menu-card li + li { border-top: 1px solid var(--sand-line); }
}
.duo { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gutter); align-items: end; margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.duo .px { aspect-ratio: 16 / 10; }
.duo .px:last-child { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } .duo .px:last-child { aspect-ratio: 16 / 10; } }

/* ---------- Rooms index (Home) ---------- */
.rooms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gutter); margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.rooms__list { list-style: none; border-top: 1px solid var(--line-strong); }
.rooms__item { border-bottom: 1px solid var(--line); }
.rooms__btn { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.05rem 0; background: none; border: 0; text-align: left; cursor: pointer; font-size: var(--fs-xl); letter-spacing: -0.015em; color: var(--muted); transition: color 0.3s, padding 0.45s var(--ease); }
.rooms__btn small { font-size: var(--fs-sm); letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.rooms__btn:hover, .rooms__item.is-active .rooms__btn { color: var(--ink); padding-left: 0.75rem; }
.rooms__item.is-active .rooms__btn small { color: var(--petrol); }
.rooms__panel { display: none; }
.rooms__stage { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.rooms__figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.rooms__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.rooms__figure img.is-active { opacity: 1; transform: scale(1); }
.rooms__text { margin-top: 1.5rem; min-height: 9.5em; max-width: 36em; }
.rooms__text p { color: var(--text); }
@media (max-width: 900px) {
  .rooms { grid-template-columns: 1fr; }
  .rooms__stage { display: none; }
  .rooms__btn small { display: none; }
  .rooms__btn::after { content: "+"; font-size: 1.25em; line-height: 1; color: var(--petrol); transition: transform 0.35s var(--ease); }
  .rooms__item.is-active .rooms__btn::after { transform: rotate(45deg); }
  /* Akkordeon: Höhe über grid-template-rows (0fr -> 1fr) weich animieren */
  .rooms__panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.6s var(--ease), opacity 0.45s var(--ease), visibility 0s linear 0.6s; }
  .rooms__item.is-active .rooms__panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 0.6s var(--ease), opacity 0.5s var(--ease) 0.1s, visibility 0s; }
  .rooms__inner { min-height: 0; overflow: hidden; }
  .rooms__pic { position: relative; overflow: hidden; margin-bottom: 1rem; }
  .rooms__panel img { display: block; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transform: scale(1.04); transition: transform 0.9s var(--ease); }
  .rooms__item.is-active .rooms__panel img { transform: none; }
  .rooms__copy { padding-bottom: 1.5rem; }
  .rooms__btn:hover, .rooms__item.is-active .rooms__btn { padding-left: 0; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .rooms__panel, .rooms__item.is-active .rooms__panel, .rooms__panel img { transition: none; }
}

/* ---------- Two doors (Besuch / Veranstaltung) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.door { display: flex; flex-direction: column; text-decoration: none; border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
.door__img { overflow: hidden; aspect-ratio: 3 / 2; }
.door:hover .door__img img { --ps: 1.18; }
.door__body { padding-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.door__body p { color: var(--text); max-width: 34em; }
.door__body .link { margin-top: auto; padding-top: 0.5rem; align-self: flex-start; }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Contact band ---------- */
.contact-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.contact-list { list-style: none; border-top: 1px solid var(--line-dark); }
.contact-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-size: var(--fs-lg); transition: padding 0.45s var(--ease); }
.contact-list a span:last-child { color: var(--on-dark-muted); font-size: var(--fs-sm); text-align: right; }
.contact-list a:hover { padding-left: 0.5rem; }
@media (max-width: 800px) { .contact-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vtext { margin: 0; }
.vtext span { display: inline-block; font-size: clamp(2.25rem, 1rem + 5.4vw, 6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; padding-bottom: 0.1em; color: #4a7a96;
  background: linear-gradient(100deg, #2b3f66 0%, #3f7391 22%, #6f9bb3 38%, #2f5d7a 55%, #2b3f66 72%, #4f86a3 88%, #2b3f66 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: vflow 18s linear infinite; }
@keyframes vflow { to { background-position: 150% 0; } }
.vtext:not(.is-on) span { animation-play-state: paused; }
.site-footer { padding-top: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.footer__roof { color: rgba(255, 255, 255, 0.35); padding-top: clamp(3rem, 2rem + 4vw, 5rem); width: min(100%, 420px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem var(--gutter); padding-block: 2.5rem 3rem; }
.footer__grid h2 { font-size: var(--fs-sm); color: #fff; font-weight: 500; letter-spacing: 0; margin-bottom: 0.9rem; }
.footer__grid ul { list-style: none; display: grid; gap: 0.45rem; }
.footer__claim { color: #fff; font-size: var(--fs-xl); letter-spacing: -0.015em; line-height: 1.25; max-width: 14em; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); padding-block: 1.5rem 2rem; }
.footer__base ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; }
.footer__base button { background: none; border: 0; padding: 0; color: #fff; cursor: pointer; font-size: inherit; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid > :last-child { grid-column: 1 / -1; } }
.footer__grid a[href^="tel"] { white-space: nowrap; }

/* ---------- Anchor sub-nav ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: var(--z-sticky); background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 1.75rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; flex: none; padding-block: 1rem; font-size: var(--fs-sm); text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.subnav a:hover, .subnav a.is-current { color: var(--ink); border-color: var(--ink); }

/* ---------- Info blocks ---------- */
.info-row { padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--line); }
.info-row:first-child { border-top: 0; }
.ways { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.way { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.way h3 { font-size: var(--fs-base); letter-spacing: 0; color: var(--petrol); line-height: 1.6; }
@media (max-width: 560px) { .way { grid-template-columns: 1fr; gap: 0.35rem; } }
.address { font-size: var(--fs-xl); color: var(--ink); letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 1.75rem; }
.numbers { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-block: 1.5rem 2rem; }
.numbers div { border-top: 1px solid var(--line-strong); padding-top: 0.75rem; min-width: 9rem; }
.numbers strong { display: block; font-size: var(--fs-2xl); font-weight: 500; color: var(--petrol); letter-spacing: -0.02em; line-height: 1.1; }
.numbers span { font-size: var(--fs-sm); color: var(--muted); }
.hotels { list-style: none; border-top: 1px solid var(--line-strong); margin-block: 0.5rem 1.5rem; }
.hotels li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.hotels a { font-weight: 500; color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hotels a:hover { color: var(--teal); }
.hotels p { margin: 0.2rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.subhead { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; margin-top: 1.5rem; }
.checklist { list-style: none; border-top: 1px solid var(--line-strong); margin-block: 1.5rem; }
.checklist li { position: relative; padding: 0.95rem 0 0.95rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0.15rem; top: 1.5rem; width: 0.85rem; height: 1px; background: var(--petrol); }
.tip { background: var(--sand); padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.tip strong { color: var(--ink); font-weight: 500; }

.figure-wide { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--space-section); }
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .figure-wide img { aspect-ratio: 4 / 3; } }

/* ---------- Veranstalter ---------- */
.fbento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 4px; }
.fcard--intro { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.fcard--intro h2 { color: #fff; font-size: var(--fs-2xl); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.08; max-width: 14ch; }
.fcard--intro p { font-size: var(--fs-lg); line-height: 1.55; max-width: 34em; margin: 0; }
.fcard--intro .link { color: #fff; align-self: flex-start; }
.fcard { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); padding-top: calc(clamp(1.25rem, 1rem + 0.8vw, 1.75rem) + 2.25rem); overflow: hidden; isolation: isolate; background: var(--sand); color: var(--text); outline-offset: -3px; transition: background-color 0.6s var(--ease); }
.fcard h3 { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3; color: var(--ink); margin-bottom: 0.5rem; transition: color 0.5s var(--ease); }
.fcard p { font-size: var(--fs-sm); line-height: 1.55; margin: 0; transition: color 0.5s var(--ease); }
.fcard::after { content: ""; position: absolute; left: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); top: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); width: 28px; height: 2px; background: var(--petrol); transition: width 0.6s var(--ease), background-color 0.5s; }
.fcard img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; transform: scale(1.06); transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.fcard:hover, .fcard:focus-visible { background: var(--navy); }
.fcard:hover img, .fcard:focus-visible img { opacity: 0.32; transform: scale(1); }
.fcard:hover h3, .fcard:focus-visible h3 { color: #fff; }
.fcard:hover p, .fcard:focus-visible p { color: rgba(255, 255, 255, 0.9); }
.fcard:hover::after, .fcard:focus-visible::after { width: 56px; background: #fff; }
.fbento .reveal { transform: translateY(22px) scale(0.985); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.fbento .reveal.is-in { transform: none; }
@media (max-width: 1000px) { .fbento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcard--intro { grid-row: auto; } }
@media (max-width: 560px) { .fbento { grid-template-columns: 1fr; grid-auto-rows: auto; } .fcard--intro { grid-column: auto; } .fcard { min-height: 200px; } }

.ads { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ads figure { margin: 0 0 1.5rem; aspect-ratio: 3 / 2; overflow: hidden; }
.ads figure img { width: 100%; height: 100%; object-fit: cover; }
.ads h3 { font-size: var(--fs-xl); margin-bottom: 0.75rem; letter-spacing: -0.015em; }
@media (max-width: 760px) { .ads { grid-template-columns: 1fr; } }

/* ---------- Das Haus ---------- */
.timeline { list-style: none; border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.5rem var(--gutter); padding-block: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-bottom: 1px solid var(--line); }
.timeline__year { font-size: var(--fs-sm); color: var(--petrol); font-weight: 600; letter-spacing: 0.02em; line-height: 1.6; white-space: nowrap; padding-top: 0.15rem; }
.timeline h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.4rem; }
.timeline p { max-width: 42em; font-size: var(--fs-sm); line-height: 1.65; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 0.5rem; } }

.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); gap: 0.6rem; }
.mosaic button { padding: 0; border: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic button:hover img { transform: scale(1.03); }
.mosaic .w2 { grid-column: span 2; } .mosaic .w3 { grid-column: span 3; } .mosaic .w4 { grid-column: span 4; } .mosaic .h2 { grid-row: span 2; }
/* Bildlaufband (Das Haus) */
.reel { overflow: hidden; }
.reel__track { display: flex; gap: 0.75rem; width: max-content; will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.reel.is-dragging .reel__track { cursor: grabbing; }
.reel__item { flex: none; height: clamp(320px, 22rem + 18vw, 660px); aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; }
.reel__item.is-wide { aspect-ratio: 3 / 2; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: transform 1.2s var(--ease); }
.reel__item:hover img { transform: scale(1.03); }
.reel.is-dragging .reel__item img { transform: none; }
.reel__ctrl { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.25rem; }
.reel__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.reel__btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.reel__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reel__btn .i-play { display: none; fill: currentColor; stroke: none; }
.reel__btn[aria-pressed="true"] .i-play { display: block; }
.reel__btn[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 700px) { .reel__item { height: 58vh; max-height: 460px; } .reel__track { gap: 0.5rem; } }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .mosaic .w2, .mosaic .w3, .mosaic .w4 { grid-column: span 1; } .mosaic .wide-m { grid-column: span 2; } }

.portrait { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 2rem; align-items: center; }
.portrait figure { margin: 0; grid-column: 1 / span 6; }
.portrait figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portrait figcaption { margin-top: 0.85rem; font-size: var(--fs-sm); color: var(--muted); }
.portrait figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: var(--fs-base); }
.portrait > div { grid-column: 8 / span 5; }
.portrait.is-flipped figure { grid-column: 7 / span 6; grid-row: 1; }
.portrait.is-flipped > div { grid-column: 1 / span 5; grid-row: 1; }
@media (max-width: 900px) { .portrait figure, .portrait > div, .portrait.is-flipped figure, .portrait.is-flipped > div { grid-column: 1 / -1; grid-row: auto; } }

.format-cloud { display: flex; flex-wrap: wrap; gap: 0.2em 0; list-style: none; font-size: var(--fs-2xl); letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin-top: 2rem; }
.format-cloud li:not(:last-child)::after { content: "/"; color: var(--petrol); margin-inline: 0.45em; font-weight: 300; }

/* ---------- Legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--fs-xl); letter-spacing: -0.015em; margin: 2.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; margin: 2rem 0 0.75rem; }
.legal h4 { font-size: var(--fs-base); letter-spacing: 0; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { font-size: var(--fs-sm); line-height: 1.7; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal a { color: var(--teal); overflow-wrap: anywhere; }
.legal > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 28, 46, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox__bar { position: fixed; inset: auto 0 0 0; display: flex; justify-content: center; align-items: center; gap: 1rem; padding: 1.25rem; color: #fff; font-size: var(--fs-sm); }
.lightbox button { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { border-color: #fff; }
.lightbox .lightbox__close { position: fixed; top: 1rem; right: 1rem; }

/* ---------- Reveal (verstärkt nur, versteckt nie dauerhaft) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .display, .hero__foot, .page-hero h1, .page-hero .lead { animation: rise 1.1s var(--ease) both; }
.hero__foot, .page-hero .lead { animation-delay: 0.15s; }
/* Startseite: Parallax, Bild-Reveal, Wort-Stagger */
.px, .door__img { overflow: hidden; }
.px img, .door__img img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); scale: var(--ps, 1.14); transition: scale 1.2s var(--ease); will-change: translate; }
.js .reveal.clip { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.clip img { --ps: 1.3; }
.js .reveal.clip.is-in { clip-path: inset(0 0 0 0); }
.js .reveal.clip.is-in img { --ps: 1.14; transition: scale 1.8s var(--ease); }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 0.07s); }
.is-in .split-w > span, .split-go .split-w > span { transform: none; }
.hero__media { will-change: transform; }
.hero__media img { animation: heroZoom 2.8s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); opacity: 0.4; } }
.hero .display { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.clip { clip-path: none; }
  .split-w > span { transform: none; }
  .hero__media img { animation: none; }
  .vtext span { animation: none; }
  .roofline.is-drawn path { stroke-dashoffset: 0; }
}

/* ---------- Räume als Bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 0.75rem; background: var(--white); border: 1px solid var(--sand-line); border-radius: 0; padding: 0.75rem; }
.bento-card { background: var(--sand); border-radius: 0; }
.bento-specs { display: flex; flex-direction: column; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); min-width: 0; }
.bento-title { font-size: var(--fs-2xl); letter-spacing: -0.025em; margin-bottom: 1.1rem; }
.bento-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.bento-tab { flex: none; border: 0; border-radius: 0; background: rgba(27, 42, 73, 0.07); color: var(--ink); font-size: var(--fs-xs); font-weight: 500; padding: 0.45rem 0.85rem; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.bento-tab:hover { background: rgba(27, 42, 73, 0.13); }
.bento-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.bento-panels { flex: 1; margin-top: 1.5rem; }
.bento-panel[hidden] { display: none; }
.bento-panel { animation: fadeIn 0.45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
.spec-group { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0 1.25rem; border-top: 1px solid var(--sand-line); padding-block: 0.15rem; }
.spec-group:first-child { border-top: 0; }
.spec-group h3 { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--ink); padding-top: 0.7rem; line-height: 1.4; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--sand-line); font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.spec-row:last-child { border-bottom: 0; }
.spec-row strong { color: var(--ink); font-weight: 500; white-space: nowrap; text-align: right; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; padding-block: 0.65rem; }
.spec-tags li { font-size: var(--fs-xs); padding: 0.2rem 0.6rem; border-radius: 0; background: var(--white); color: var(--ink); }
.spec-text { font-size: var(--fs-sm); line-height: 1.6; color: var(--text); padding-top: 0.65rem; margin-bottom: 0.6rem; }
.spec-note { font-size: var(--fs-xs); color: var(--muted); padding-bottom: 0.65rem; }
.bento-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.5rem; }
.bento-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; padding: 0.6rem 1rem; border-radius: 0; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; text-align: center; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.bento-btn:hover { border-color: var(--ink); }
.bento-btn--primary { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.bento-btn--primary:hover { background: var(--navy); border-color: var(--navy); }
.bento-side { display: flex; min-width: 0; }
.bento-media { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.bento-media[hidden] { display: none; }
.bento-stage { position: relative; margin: 0; flex: 1; min-height: 340px; border-radius: 0; overflow: hidden; background: var(--sand); }
.bento-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s var(--ease); }
.bento-stage img.is-swapping { opacity: 0.2; }
.bento-zoom { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; border-radius: 0; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; cursor: zoom-in; transition: background-color 0.2s; }
.bento-zoom:hover { background: #fff; }
.bento-count { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.2rem 0.65rem; border-radius: 0; background: rgba(27, 42, 73, 0.72); color: #fff; font-size: var(--fs-xs); }
.bento-thumbs[hidden] { display: none; }
.bento-thumbs { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; background: var(--sand); border-radius: 0; padding: 0.4rem; }
.bento-thumbs::-webkit-scrollbar { display: none; }
.bento-thumb { flex: 0 0 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 0; overflow: hidden; background: none; cursor: pointer; opacity: 0.72; transition: opacity 0.2s, border-color 0.2s; }
.bento-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bento-thumb:hover { opacity: 1; }
.bento-thumb.is-active { border-color: var(--navy); opacity: 1; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .bento-side { order: -1; }
  .bento-stage { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
}
@media (max-width: 520px) {
  .spec-group { grid-template-columns: 1fr; }
  .spec-group h3 { padding-top: 0.9rem; color: var(--petrol); }
  .bento-actions { grid-template-columns: 1fr; }
}

/* ---------- Smooth Scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Seitenübergänge (View Transitions, Chrome/Edge/Safari) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.32s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease) 0.08s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Startseite: Intro wie WP-Vorlage – Text links, Bildpaar bis zum rechten Rand */
.intro { display: grid; grid-template-columns: 2fr 1fr; align-items: center; background: var(--white); max-width: var(--max); margin-inline: auto; padding: clamp(5rem, 11.9vw, 11rem) var(--gutter) clamp(3rem, 5.9vw, 6rem); overflow: hidden; }
.intro__text { padding-right: clamp(2rem, 1rem + 5vw, 6rem); max-width: calc(723px + 6rem); }
.intro__kicker { display: block; font-size: 1.125rem; letter-spacing: 0.05em; line-height: 1.65; color: var(--ink); margin-bottom: 0.5rem; }
.intro__title { font-size: clamp(2rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.intro__body { margin-top: 1.75rem; }
.intro__body p { font-size: 1rem; line-height: 1.7; color: var(--ink); max-width: 46em; }
.intro__body p + p { margin-top: 1.1rem; }
.intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 11.5rem)); margin: 3.25rem 0 0; }
.intro__facts dt { font-size: clamp(1.6rem, 1.3rem + 0.6vw, 1.8rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.intro__facts dd { margin: 0.6rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink); max-width: 9em; }
.intro__media { position: relative; height: clamp(520px, 0.5625 * min(100vw, var(--max)), 780px); }
.intro__media .px { position: absolute; overflow: hidden; }
.intro__back { top: 0; bottom: 0; left: 20.6%; right: 0; }
.intro__card { left: 0; top: 50%; width: 60%; height: 55.5%; transform: translate3d(0, calc(-50% + var(--fy, 0px)), 0); z-index: 1; box-shadow: 0 60px 135px rgba(0, 0, 0, 0.14), 0 15px 65px rgba(0, 0, 0, 0.14); }
.js .intro__card.reveal.clip { transform: translate3d(0, calc(-50% + var(--fy, 0px)), 0); }
.js .intro__card.reveal.clip.is-in { clip-path: inset(-200px); } /* Schatten nicht abschneiden */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; padding-top: 0; }
  .intro__media { order: -1; height: clamp(360px, 95vw, 640px); margin-bottom: clamp(3rem, 10vw, 5rem); }
  .intro__back { left: 28%; }
  .intro__card { left: 0; width: 52%; height: 62%; }
  .intro__text { padding-right: 0; }
}
@media (max-width: 520px) { .intro__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }

/* Startseite mobil: Räume als Bento-Kacheln (HOME_BENTO in build.py) */
.rb { display: none; }
@media (max-width: 900px) {
  .rooms--bento { display: none; }
  .rb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; list-style: none; margin: clamp(2rem, 1.5rem + 3vw, 3rem) 0 0; padding: 0.5rem; background: var(--white); border: 1px solid var(--sand-line); border-radius: 0; }
  .rb-tile { position: relative; aspect-ratio: 1; border-radius: 0; overflow: hidden; background: var(--sand); }
  .rb-tile:first-child { grid-column: span 2; aspect-ratio: 16 / 11; }
  .rb-tile:nth-child(2), .rb-tile:nth-child(3) { aspect-ratio: 3 / 4; }
  .rb-tile a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0.9rem; color: #fff; text-decoration: none; }
  .rb-tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 27, 48, 0.85), rgba(17, 27, 48, 0.25) 55%, rgba(17, 27, 48, 0) 75%); }
  .rb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
  .rb-tile a:hover img, .rb-tile a:focus-visible img { transform: scale(1.04); }
  .rb-tile__name, .rb-tile__meta { position: relative; z-index: 1; }
  .rb-tile__name { font-size: var(--fs-lg); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
  .rb-tile:first-child .rb-tile__name { font-size: var(--fs-2xl); }
  .rb-tile__meta { margin-top: 0.25rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.82); }
}
@media (min-width: 640px) and (max-width: 900px) {
  .rb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .rb-tile, .rb-tile:nth-child(2), .rb-tile:nth-child(3) { aspect-ratio: 1; }
  .rb-tile:last-child { grid-column: span 3; aspect-ratio: 21 / 8; }
}

/* Key-Facts als kleine Kästchen auf den Raumbildern (Startseite) */
.room-facts { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 2; display: flex; flex-wrap: wrap; gap: 0.375rem; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.room-facts li { display: flex; flex-direction: column; min-width: 5.5rem; padding: 0.55rem 0.75rem 0.5rem; background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: 0 2px 10px rgba(17, 27, 48, 0.12); }
.room-facts strong { font-size: var(--fs-lg); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.room-facts span { margin-top: 0.15rem; font-size: var(--fs-xs); line-height: 1.3; color: var(--muted); }
.rooms__figure .room-facts li { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.rooms__figure .room-facts.is-active li { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--n, 0) * 0.07s); }
.room-facts li:nth-child(2) { --n: 1; }
.room-facts li:nth-child(3) { --n: 2; }
@media (max-width: 900px) {
  .room-facts { left: 0.6rem; bottom: 0.6rem; right: 0.6rem; gap: 0.3rem; }
  .room-facts li { min-width: 0; padding: 0.4rem 0.55rem 0.35rem; }
  .room-facts strong { font-size: var(--fs-base); }
  .room-facts span { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) { .rooms__figure .room-facts li { transition: none; } }

/* Bildpaar mit Parallax (Besucher*innen) – wie das Intro der Startseite, ohne Text */
.pair { position: relative; height: clamp(520px, 60vw, 880px); margin-block: clamp(3rem, 2rem + 4vw, 6rem); }
.pair .px { position: absolute; overflow: hidden; }
.pair__back { top: 0; bottom: 0; right: 0; width: 58%; }
.pair__card { left: 12%; top: 50%; width: 34%; height: 62%; z-index: 1; transform: translate3d(0, calc(-38% + var(--fy, 0px)), 0); box-shadow: 0 60px 135px rgba(0, 0, 0, 0.14), 0 15px 65px rgba(0, 0, 0, 0.14); }
.js .pair__card.reveal.clip { transform: translate3d(0, calc(-38% + var(--fy, 0px)), 0); }
.js .pair__card.reveal.clip.is-in { clip-path: inset(-200px); }
@media (max-width: 700px) {
  .pair { height: clamp(420px, 135vw, 640px); }
  .pair__back { width: 72%; }
  .pair__card { left: 0; width: 50%; height: 46%; }
}

/* Trenner zwischen Intro und „Die Räume“: Haarlinie mit Dachlinie der Halle */
.divider { display: flex; align-items: center; gap: clamp(1rem, 0.5rem + 2vw, 2rem); color: var(--petrol); }
.divider span { flex: 1; height: 1px; background: var(--line-strong); }
.divider .roofline { flex: none; width: clamp(64px, 5vw + 40px, 96px); }
.section--after-divider { padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.pair__card img { object-position: center 30%; }

/* Catering: Rundum-Betreuung für Firmenveranstaltungen als Tagesablauf */
.allday { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 3vw, 4rem); margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding: clamp(1.75rem, 1rem + 2.5vw, 3.25rem); background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.allday__kicker { display: block; font-size: var(--fs-sm); font-weight: 500; color: #e3b53a; margin-bottom: 0.9rem; }
.allday__title { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: #fff; text-wrap: balance; }
.allday__intro p { margin-top: 1rem; font-size: var(--fs-sm); line-height: 1.65; max-width: 36ch; }
.allday__day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; align-self: center; }
.allday__day::before { content: ""; position: absolute; left: 0; right: 0; top: 0.42rem; height: 1px; background: rgba(255, 255, 255, 0.28); }
.allday__day li { position: relative; padding-top: 1.75rem; }
.allday__day li::before { content: ""; position: absolute; left: 0; top: 0; width: 0.85rem; height: 0.85rem; background: #e3b53a; }
.allday__time { display: block; font-size: var(--fs-xs); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.allday__day strong { display: block; margin-top: 0.35rem; font-size: var(--fs-lg); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; color: #fff; }
.allday__day p { margin-top: 0.5rem; font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 900px) { .allday { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .allday__day { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 1.75rem; }
  .allday__day::before { left: 0.42rem; right: auto; top: 0.4rem; bottom: 0.4rem; width: 1px; height: auto; }
  .allday__day li { padding-top: 0; }
  .allday__day li::before { left: -1.75rem; top: 0.15rem; }
}

/* Catering: Bildpaar über dem Einleitungstext – Service-Foto groß mit Parallax, Bankett dahinter */
.cpair { position: relative; width: 100%; aspect-ratio: 10 / 7.4; margin: 0; }
.cpair > div { position: absolute; overflow: hidden; }
.cpair__back { top: 0; right: 0; width: 62%; height: 64%; }
.cpair__back img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpair__card { left: 0; bottom: 0; width: 56%; aspect-ratio: 1; z-index: 1; transform: translate3d(0, var(--fy, 0px), 0); box-shadow: 0 50px 110px rgba(0, 0, 0, 0.18), 0 14px 50px rgba(0, 0, 0, 0.14); }
.cpair__card img { object-position: 70% center; }
.js .cpair__card.reveal.clip { transform: translate3d(0, var(--fy, 0px), 0); }
.js .cpair__card.reveal.clip.is-in { clip-path: inset(-200px); }
@media (max-width: 900px) { .cpair { width: min(100%, 640px); } }

/* „Rundum versorgt“: Inhalte blenden beim Scrollen nacheinander ein, die Zeitleiste zieht sich von links auf */
.js .allday.reveal { opacity: 1; transform: none; }
.js .allday.reveal .allday__intro > *, .js .allday.reveal .allday__day li { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js .allday.reveal .allday__day::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.35s; }
.js .allday.reveal.is-in .allday__intro > *, .js .allday.reveal.is-in .allday__day li { opacity: 1; transform: none; }
.js .allday.reveal.is-in .allday__day::before { transform: none; }
.js .allday.reveal.is-in .allday__intro > :nth-child(2) { transition-delay: 0.08s; }
.js .allday.reveal.is-in .allday__intro > :nth-child(3) { transition-delay: 0.16s; }
.js .allday.reveal.is-in .allday__day li:nth-child(1) { transition-delay: 0.4s; }
.js .allday.reveal.is-in .allday__day li:nth-child(2) { transition-delay: 0.6s; }
.js .allday.reveal.is-in .allday__day li:nth-child(3) { transition-delay: 0.8s; }
@media (max-width: 600px) { .js .allday.reveal .allday__day::before { transform: scaleY(0); transform-origin: top; } }
@media (prefers-reduced-motion: reduce) { .js .allday.reveal .allday__intro > *, .js .allday.reveal .allday__day li, .js .allday.reveal .allday__day::before { opacity: 1; transform: none; transition: none; } }
.intro.intro--after-divider { padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (max-width: 900px) { .intro.intro--after-divider { padding-top: clamp(2.5rem, 2rem + 3vw, 3.5rem); } }
