/* ==========================================================================
   Martin-Luther-Haus Kulmbach
   Farben aus dem Gebäude: Putzfassade, blaue Türen, Ahornboden, Schieferdach
   ========================================================================== */

/* The @font-face rules live in fonts.css, which every page loads before this file. */

:root {
  --kalk: #f4f2ee;          /* Wandputz innen */
  --weiss: #ffffff;
  --schiefer: #22262b;      /* Dach, Text */
  --schiefer-2: #5a6068;    /* Nebentext */
  --linie: #dcd8d1;
  --putz: #c0705a;          /* Fassade */
  --putz-tief: #9e563f;
  --putz-hell: #f0d6c9;
  --tuer: #23507a;          /* Eingangstür */
  --tuer-tief: #183a5a;
  --tuer-hell: #dbe5ef;
  --ahorn: #d6b07a;         /* Holzboden */
  --nacht: #1b2733;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --space: clamp(72px, 9vw, 136px);

  --octo: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--kalk);
  color: var(--schiefer);
  font: 400 var(--step-0)/1.6 var(--f-text);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tuer); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tuer-tief); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--tuer); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--tuer); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 16px; color: #fff; }

/* Platzhalter – für den Kunden sichtbar markiert */
.ph {
  background: #fff1a8;
  color: #4a3c00;
  border-bottom: 1px dashed #a88a00;
  padding: 0 0.15em;
  border-radius: 2px;
  font-weight: inherit;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.h-display {
  font-family: var(--f-display);
  font-size: var(--step-4);
  font-weight: 600;
  font-stretch: 85%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.h-small {
  font-family: var(--f-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--schiefer); max-width: 38em; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: var(--step-0); line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--tuer); color: #fff; }
.btn--primary:hover { background: var(--tuer-tief); color: #fff; }
.btn--light { background: #fff; color: var(--schiefer); }
.btn--light:hover { background: var(--tuer-hell); color: var(--schiefer); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: inherit; }
.btn--ghost-dark { border-color: var(--schiefer); color: var(--schiefer); }
.btn--ghost-dark:hover { background: var(--schiefer); color: #fff; }
.btn--small { min-height: 42px; padding: 0.5em 1.1em; font-size: var(--step--1); }
.btn--block { width: 100%; }

/* Achteckiger Pfeil-Button – Form des Saaldachs */
.octo-arrow {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  background: #fff; color: var(--schiefer);
  clip-path: var(--octo);
  transition: background-color .2s, color .2s;
}
.octo-arrow--accent { background: var(--putz); color: #fff; }
.octo-arrow__icon { width: 26px; height: 26px; transition: transform .25s; }
a:hover .octo-arrow { background: var(--tuer); color: #fff; }
a:hover .octo-arrow__icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--kalk); border-bottom: 1px solid var(--linie); }
.site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.site-header--overlay { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.site-header--overlay.is-scrolled { background: var(--kalk); color: var(--schiefer); border-color: var(--linie); }

.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1; letter-spacing: -0.01em; }
.brand__text small { font-family: var(--f-text); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.01em; margin-top: 4px; opacity: .75; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a { color: inherit; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-color: currentColor; }
.site-nav__aside { display: flex; align-items: center; gap: 20px; }
.site-nav__phone { color: inherit; text-decoration: none; font-weight: 500; white-space: nowrap; }
.site-nav__phone:hover { color: inherit; text-decoration: underline; }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: inherit; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--kalk); color: var(--schiefer);
    border-bottom: 1px solid var(--linie);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .site-header--overlay { background: var(--kalk); color: var(--schiefer); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 10px 0; font-size: var(--step-2); font-family: var(--f-display); font-weight: 600; border: 0; }
  .site-nav__aside { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(620px, 100svh);
  display: grid; grid-template-rows: 1fr auto;
  color: #fff; overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,24,30,.55) 0%, rgba(20,24,30,.08) 42%, rgba(20,24,30,.05) 58%, rgba(20,24,30,.7) 100%);
}
.hero__title {
  align-self: start;
  padding: 104px max(var(--gutter), (100vw - var(--max)) / 2) 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3.4rem, 15.6vw, 15rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
}
.hero__line { display: block; }
.hero__line + .hero__line { padding-left: 0.62em; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.hero__intro { max-width: 30em; margin: 0; font-size: var(--step-1); line-height: 1.45; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero__link { color: #fff; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.3em; }
.hero__link:hover { color: var(--putz-hell); }

/* Einmalige Einblendung beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero__line + .hero__line { animation-delay: .12s; }
  .hero__img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.25em); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
}

@media (max-width: 700px) {
  .hero__title { padding-top: 112px; font-size: 18.5vw; }
  .hero__line + .hero__line { padding-left: 0; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__intro { font-size: var(--step-0); }
}

/* --------------------------------------------------------------------------
   Intro + Schnellanfrage
   -------------------------------------------------------------------------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  padding-block: var(--space);
}
.intro__text .lead { margin-top: 24px; color: var(--schiefer-2); }

.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 56px); margin: 40px 0; }
.facts__item { display: flex; flex-direction: column-reverse; }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-stretch: 85%; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; }
.facts dt { margin-top: 8px; font-size: var(--step--1); color: var(--schiefer-2); max-width: 12em; line-height: 1.35; }

.photo-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); aspect-ratio: 16 / 7;
  color: #fff; text-decoration: none;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,30,.6), rgba(20,24,30,0) 60%); }
.photo-card__label, .photo-card__meta { position: absolute; left: 24px; z-index: 1; }
.photo-card__label { bottom: 48px; font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1; }
.photo-card__meta { bottom: 20px; font-size: var(--step--1); opacity: .9; }
.photo-card .octo-arrow { position: absolute; right: 20px; bottom: 20px; z-index: 1; }
.photo-card:hover { color: #fff; }

.quick { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(20px, 3vw, 36px); display: flex; align-items: flex-end; min-height: 560px; }
.quick__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.quick__card { position: relative; width: 100%; background: var(--weiss); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); box-shadow: 0 18px 40px -18px rgba(20,24,30,.45); }
.quick__title { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.01em; }
.quick__hint { color: var(--schiefer-2); font-size: var(--step--1); margin: 6px 0 20px; }
.quick__alt { margin: 14px 0 0; font-size: var(--step--1); color: var(--schiefer-2); text-align: center; }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .quick { min-height: 0; padding-top: 180px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card { aspect-ratio: 4 / 3; }
}

/* Formfelder */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field__label { font-size: var(--step--1); font-weight: 600; color: var(--schiefer); }
.field__label abbr { text-decoration: none; color: var(--putz-tief); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--schiefer);
  background: var(--kalk); border: 1.5px solid var(--linie); border-radius: var(--r-sm);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bdb7ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tuer); background: #fff; box-shadow: 0 0 0 3px var(--tuer-hell); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: var(--step--1); }
.check--consent + .field__error { display: block; margin: -8px 0 16px; }

/* --------------------------------------------------------------------------
   Räume (Startseite)
   -------------------------------------------------------------------------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--schiefer-2); max-width: 32em; justify-self: end; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } .section-head p { justify-self: start; } }

.rooms { padding-bottom: var(--space); }
.room { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.room__visual {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); aspect-ratio: 16 / 9;
  color: #fff; text-decoration: none; background: var(--linie);
}
.room__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.room__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,24,30,.62), rgba(20,24,30,0) 45%); pointer-events: none; }
.room__visual:hover { color: #fff; }
.room__visual:hover img { transform: scale(1.025); }
.room__name {
  position: absolute; left: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 32px); z-index: 1;
  font-family: var(--f-display); font-weight: 600; font-stretch: 85%;
  font-size: clamp(1.75rem, 1rem + 3vw, 3.5rem); line-height: 1; letter-spacing: -0.02em;
}
.room__visual .octo-arrow { position: absolute; right: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vw, 28px); z-index: 1; }

.room__side { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.room__teaser { margin: 8px 0 0; color: var(--schiefer-2); font-size: var(--step--1); line-height: 1.55; }
.room__data { margin: 0; padding: 24px; border-radius: var(--r-md); background: var(--weiss); display: grid; gap: 18px; }
.room__data div { display: flex; flex-direction: column; gap: 2px; }
.room__data dt { font-size: 0.8125rem; color: var(--schiefer-2); }
.room__data dd { margin: 0; font-weight: 500; line-height: 1.35; }
.room__area dd { font-family: var(--f-display); font-weight: 500; font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; }
.room__data--dark { background: var(--tuer); color: #fff; }
.room__data--dark dt { color: var(--tuer-hell); }

.room--alt { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); }
.room--alt .room__visual { order: 2; }

@media (max-width: 800px) {
  .room, .room--alt { grid-template-columns: 1fr; }
  .room--alt .room__visual { order: 0; }
  .room__visual { aspect-ratio: 4 / 3; }
  .room__data { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room__area dd { font-size: var(--step-1); }
  .room__teaser { order: 2; }
}
@media (max-width: 480px) { .room__data { grid-template-columns: 1fr 1fr; } .room__data div:last-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Anlässe und Ausstattung – Fassadenfarbe als Fläche
   -------------------------------------------------------------------------- */
.uses { background: var(--putz); color: #fff; padding-block: var(--space); }
.uses__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.uses__head p { margin: 0; max-width: 32em; justify-self: end; color: #fff6f1; }
.uses__list { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(36px, 5vw, 56px) 0 clamp(56px, 7vw, 96px); }
.uses__list li {
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.55);
  font-family: var(--f-display); font-weight: 500; font-size: var(--step-1);
}
.uses__subtitle { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); margin-bottom: 24px; }
.equipment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid rgba(255,255,255,.4); }
.equipment__item { padding: 24px 24px 28px 0; border-bottom: 1.5px solid rgba(255,255,255,.4); }
.equipment dt { font-weight: 600; font-size: var(--step-1); margin-bottom: 6px; }
.equipment dd { margin: 0; color: #fff3ec; }
.uses .ph { background: #fff1a8; color: #4a3c00; }
@media (max-width: 800px) {
  .uses__head { grid-template-columns: 1fr; } .uses__head p { justify-self: start; }
  .equipment { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .equipment { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Rundgang
   -------------------------------------------------------------------------- */
.tour { padding-block: var(--space); }
.tour__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 240px);
}
.tour__item--1 { grid-column: span 2; grid-row: span 2; }
.tour__item--4 { grid-column: span 2; }
.tour__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--linie); }
.tour__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tour__btn:hover img { transform: scale(1.04); }
.tour__caption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92);
  font-size: 0.8125rem; font-weight: 500; text-align: left; color: var(--schiefer);
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.tour__btn:hover .tour__caption, .tour__btn:focus-visible .tour__caption { opacity: 1; transform: none; }
@media (max-width: 800px) {
  .tour__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .tour__item--1 { grid-row: span 1; }
  .tour__item--4 { grid-column: span 1; }
  .tour__caption { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Lage – große Aussage statt Kundenstimme
   -------------------------------------------------------------------------- */
.place { background: var(--nacht); color: #fff; padding-top: var(--space); overflow: hidden; }
.place__inner { text-align: center; }
.place__statement {
  max-width: 22em; margin: 0 auto 24px;
  font-family: var(--f-display); font-weight: 500; font-stretch: 90%;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.015em;
  text-wrap: balance;
}
.place__meta { color: #c3ccd6; margin-bottom: 32px; }
.place__strip {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 14px; align-items: end;
  width: min(100% - 2 * var(--gutter), var(--max)); margin: clamp(48px, 7vw, 88px) auto 0;
}
.place__strip img { width: 100%; object-fit: cover; border-radius: var(--r-md) var(--r-md) 0 0; }
.place__strip img:nth-child(1) { aspect-ratio: 4 / 3.4; }
.place__strip img:nth-child(2) { aspect-ratio: 4 / 2.6; }
.place__strip img:nth-child(3) { aspect-ratio: 4 / 3.8; }
@media (max-width: 600px) { .place__strip { grid-template-columns: 1fr 1fr; } .place__strip img:nth-child(3) { display: none; } }

/* --------------------------------------------------------------------------
   Ansprechpartner
   -------------------------------------------------------------------------- */
.people { padding-block: var(--space); }
.people__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--weiss); border-radius: var(--r-md); }
.person p { margin: 0; }
.person__mono {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px;
  clip-path: var(--octo); background: var(--putz-hell); color: var(--putz-tief);
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem;
}
.person__role { font-size: var(--step--1); color: var(--schiefer-2); }
.person__name { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); margin-top: 2px !important; }
.person__phone { display: inline-block; margin-top: 6px; font-weight: 500; }
@media (max-width: 900px) { .people__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Abschluss-Aufruf
   -------------------------------------------------------------------------- */
.cta { position: relative; isolation: isolate; min-height: clamp(460px, 60vw, 680px); display: grid; align-items: center; color: #fff; overflow: hidden; text-align: center; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: rgba(24,32,42,.55); }
.cta__content { padding-block: 64px; }
.cta__title {
  max-width: 10em; margin: 0 auto 20px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 80%;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem); line-height: 0.95; letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta__content p { max-width: 34em; margin: 0 auto 32px; font-size: var(--step-1); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------------------------
   Footer mit großer Wortmarke
   -------------------------------------------------------------------------- */
.site-footer { background: var(--schiefer); color: #d5d9de; padding-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--putz-hell); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px; font-size: var(--step--1); }
.site-footer__lead { color: #fff; font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); line-height: 1.3; margin-bottom: 12px; }
.site-footer__heading { font-size: var(--step--1); font-weight: 600; color: #fff; margin-bottom: 10px; }
.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; gap: 12px; }
.hours dt { min-width: 4.5em; }
.hours dd { margin: 0; }

.site-footer__wordmark {
  margin: clamp(48px, 7vw, 96px) 0 0; padding-inline: var(--gutter);
  color: #fff; white-space: nowrap; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  font-size: 15.8vw; line-height: 0.86; letter-spacing: -0.015em;
}
.site-footer__wordmark span { display: inline-block; padding-bottom: 0.04em; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.8125rem; color: #aab1b9; position: relative; background: var(--schiefer); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.page-head__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3.25rem, 1.5rem + 8vw, 9rem); line-height: 0.9; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.page-head .lead { color: var(--schiefer-2); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { padding: 8px 16px; border-radius: 999px; background: var(--weiss); color: var(--schiefer); text-decoration: none; font-weight: 500; border: 1.5px solid var(--linie); }
.jump a:hover { border-color: var(--tuer); color: var(--tuer); }

.room-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--linie); }
.room-detail__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.room-detail__img { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--linie); }
.room-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.room-detail__img--main { grid-column: 1 / -1; border-radius: var(--r-lg); }
.room-detail__body .lead { margin: 16px 0; }
.room-detail__body > p:not(.lead) { color: var(--schiefer-2); max-width: 36em; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0; border-top: 1px solid var(--linie); }
.spec div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--linie); }
.spec dt { font-size: 0.8125rem; color: var(--schiefer-2); }
.spec dd { margin: 2px 0 0; font-weight: 600; }
.ticks { display: grid; gap: 8px; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--putz); clip-path: var(--octo); }
@media (max-width: 860px) { .room-detail { grid-template-columns: 1fr; } }

.band { padding-block: clamp(40px, 6vw, 80px) var(--space); border-top: 1px solid var(--linie); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.band p { margin: 0; color: var(--schiefer-2); font-size: var(--step-1); }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }

/* Anfahrt */
.directions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-bottom: var(--space); }
.directions__info h2 { margin-top: 32px; }
.directions__info h2:first-child { margin-top: 0; }
.directions__info p { color: var(--schiefer-2); }
.directions__address { font-size: var(--step-1); margin-bottom: 16px; }
.parking { display: grid; border-top: 1px solid var(--linie); margin-bottom: 8px; }
.parking li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.parking li span:first-child { font-weight: 600; }
.parking li span:last-child { color: var(--schiefer-2); text-align: right; }
.map-consent { position: relative; height: 100%; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--linie); }
.map-consent__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.6); transform: scale(1.05); }
.map-consent__box { position: relative; max-width: 360px; margin: 20px; padding: 28px; background: #fff; border-radius: var(--r-md); text-align: center; display: grid; gap: 14px; justify-items: center; }
.map-consent__box p { margin: 0; color: var(--schiefer-2); font-size: var(--step--1); }
.map-consent__box strong { color: var(--schiefer); font-size: var(--step-0); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .directions { grid-template-columns: 1fr; } .map-consent { min-height: 380px; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-bottom: var(--space); align-items: start; }
.contact__form form { background: var(--weiss); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); }
.contact fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.contact legend { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); margin-bottom: 18px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.checks { margin-bottom: 18px; }
.checks .field__label { display: block; margin-bottom: 8px; }
.checks__list { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checks__list .check { padding: 10px 16px; border: 1.5px solid var(--linie); border-radius: 999px; background: var(--kalk); transition: border-color .2s, background-color .2s; }
.checks__list .check:has(input:checked) { border-color: var(--tuer); background: var(--tuer-hell); }
.checks__list .check:has(input:focus-visible) { outline: 3px solid var(--tuer); outline-offset: 2px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--tuer); flex: none; }
.check--consent { margin: 4px 0 20px; font-size: var(--step--1); color: var(--schiefer-2); }
.check--consent abbr { text-decoration: none; color: var(--putz-tief); }
.form-note { margin: 12px 0 0; font-size: 0.8125rem; color: var(--schiefer-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 20px 24px; border-radius: var(--r-md); margin-bottom: 20px; }
.notice p:last-child { margin: 0; }
.notice--error { background: #fbe7e5; color: #7a1a13; border: 1.5px solid #e9b4ae; }
.notice--ok { background: var(--weiss); border: 1.5px solid var(--linie); padding: 32px; }
.notice--ok .btn { margin-top: 12px; }
.contact__aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.contact__card { background: var(--tuer); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.contact__card a { color: #fff; }
.contact__card p { color: var(--tuer-hell); }
.contact__phone { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.1; text-decoration: none; margin: 4px 0 12px; letter-spacing: -0.01em; }
.contact__card .ph { color: #4a3c00; }
.people__list--stack { grid-template-columns: 1fr; gap: 12px; }
.people__list--stack .person { padding: 18px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }

/* Rechtliches */
.legal { max-width: 46em; padding-block: clamp(48px, 7vw, 96px) var(--space); }
.legal h2 { margin-top: 32px; }
.legal p, .legal li { color: var(--schiefer-2); }

/* Login, choosing a password and the 404 page */
.auth { max-width: 36em; padding-bottom: var(--space); }
.auth form, .auth__card { background: var(--weiss); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); }
.auth__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16,20,26,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 64px 72px; display: grid; gap: 12px; justify-items: center; max-height: 100vh; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); width: auto; border-radius: var(--r-sm); }
.lightbox figcaption { font-size: var(--step--1); color: #c3ccd6; }
.lightbox__btn, .lightbox__close {
  position: absolute; display: grid; place-items: center; width: 56px; height: 56px;
  border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  clip-path: var(--octo); font-size: 1.75rem; line-height: 1;
}
.lightbox__btn:hover, .lightbox__close:hover { background: var(--putz); }
.lightbox__btn--prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 12px; top: 12px; }
@media (max-width: 600px) { .lightbox figure { padding: 72px 12px; } .lightbox__btn { top: auto; bottom: 12px; translate: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
