/* ==========================================================================
   Die kleinen Grashüpfer – Stil: Boho (warm, erdig, handgemacht)
   Schriften lokal eingebunden, keine Verbindung zu Drittanbietern.
   ========================================================================== */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Erdtöne laut Stil */
  --sand: #F2CBD0;
  --caramel: #E3A9B1;
  --ochre: #D98E9A;
  --sage: #7D8A62;
  --brown: #9A6B6E;
  --rust: #9E4458;

  /* Flächen und Text */
  --paper: #F9EEEC;
  --paper-2: #F4DDDD;
  --paper-3: #FEF8F7;
  --line: #E8C4C6;
  --ink: #4A2E33;
  --ink-soft: #6E4F55;
  --kicker: #8E4F5C;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 26px;
  --arch: 999px 999px 26px 26px;
  --shadow: 0 1px 2px rgb(74 46 51 / .05), 0 18px 40px -20px rgb(74 46 51 / .28);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 10vw, 8rem);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0938rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--ink);
}
h2 em, h1 em { font-style: italic; color: var(--rust); font-weight: 500; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .2em; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 8px; }
/* Auf dunklen Flächen hellen Fokusrahmen zeigen */
.contact__box :focus-visible, .footer :focus-visible, .skip-link:focus-visible { outline-color: #F9EEEC; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #F9EEEC; outline-offset: 2px; }

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Typo-Bausteine
   -------------------------------------------------------------------------- */
.kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--kicker);
}
.kicker::before, .kicker::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rust);
}
.kicker--left { justify-content: flex-start; }
.kicker--left::after { display: none; }
.kicker--light { color: var(--sand); justify-content: flex-start; }
.kicker--light::after { display: none; }
.kicker--light::before { background: var(--sand); }

.section { padding-block: var(--section-space); position: relative; }

.section__header { max-width: 680px; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.section__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); margin-bottom: 1.5rem; }
.section__header .section__title { margin-bottom: 0; }
.section__lead {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: balance;
}

.divider {
  display: block;
  width: 96px; height: 10px;
  margin: 0 auto;
  background:
    radial-gradient(circle, var(--rust) 3.5px, transparent 4px) left center / 10px 10px no-repeat,
    radial-gradient(circle, var(--rust) 3.5px, transparent 4px) right center / 10px 10px no-repeat,
    linear-gradient(var(--rust), var(--rust)) center / 56px 1.5px no-repeat;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--rust);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.9rem;
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 .9375rem/1 var(--font-sans);
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgb(74 46 51 / .55); }
.btn--primary:hover { --btn-bg: #85374A; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--brown); }
.btn--ghost:hover { background: var(--paper-3); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--sm { min-height: 44px; padding: .65rem 1.4rem; font-size: .875rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* Unschärfe liegt auf einer eigenen Ebene: backdrop-filter direkt am Header
   würde das fest positionierte Handy-Menü auf die Header-Höhe einsperren. */
.header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgb(249 238 236 / .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(74 46 51 / .08);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; color: var(--rust); flex: none; }
.logo__text {
  display: flex; flex-direction: column;
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 600; line-height: 1;
  color: var(--ink);
}
.logo__text small {
  margin-top: .3rem;
  font-family: var(--font-sans);
  font-size: .625rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--kicker);
}

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.1875rem; font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: -8px;
  width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%;
  background: var(--rust);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scale(1); }

.nav-toggle {
  display: none; position: relative;
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: none; cursor: pointer; color: var(--ink);
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 13px;
  width: 22px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle__bar { top: 50%; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { transform: translateY(-7px); }
.nav-toggle__bar::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: var(--gutter);
    background: var(--paper);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 1.25rem; }
  .nav__link { font-size: 2.25rem; color: var(--ink); }
  .header.is-open { background: var(--paper); }
  /* Im aufgeklappten Menü keinen Punkt beim aktiven Abschnitt, nur beim Draufgehen */
  .nav__link.is-active::after { transform: scale(0); }
  .nav__link:hover::after, .nav__link:focus-visible::after { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Hero: symmetrisch, großer Torbogen
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  text-align: center;
}
.hero::before, .hero::after {
  content: "";
  position: absolute; z-index: -1;
  border-radius: 50%;
}
.hero::before { width: 300px; height: 220px; left: -110px; top: 22%; background: var(--sand); opacity: .55; }
.hero::after { width: 200px; height: 200px; right: -70px; top: 52%; background: var(--sage); opacity: .22; }

.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero .kicker { margin-bottom: 1.75rem; }
.kicker__main { display: contents; }

.hero__arch {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 400 / 420;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  padding: 12px;
  border: 1.5px solid var(--brown);
  border-radius: var(--arch);
}
.hero__scene {
  width: 100%; height: 100%;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
}
.hero__arch-sun {
  position: absolute; left: 50%; top: -30px;
  width: 52px; height: 52px; margin-left: -26px;
  padding: 4px;
  color: var(--rust);
  background: var(--paper);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(3rem, 1.6rem + 6vw, 6.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero__lead {
  max-width: 34ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.hero .divider { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1rem; }
.hero__note {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.75rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--kicker);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgb(125 138 98 / .25); }

.hero__grass { position: absolute; bottom: -10px; z-index: 0; pointer-events: none; }
.hero__grass--l { left: max(1vw, calc(50% - 640px)); width: 110px; height: 560px; transform: rotate(-6deg); transform-origin: bottom; }
.hero__grass--l2 { left: calc(max(1vw, calc(50% - 640px)) + 90px); width: 60px; height: 240px; transform: rotate(10deg); transform-origin: bottom; }
.hero__grass--r { right: max(1vw, calc(50% - 640px)); width: 110px; height: 560px; transform: scaleX(-1) rotate(-6deg); transform-origin: bottom; }
.hero__grass--r2 { right: calc(max(1vw, calc(50% - 640px)) + 90px); width: 60px; height: 240px; transform: scaleX(-1) rotate(10deg); transform-origin: bottom; }

@media (max-width: 860px) {
  .hero__grass--l, .hero__grass--r { width: 64px; height: 320px; }
  .hero__grass--l { left: -14px; }
  .hero__grass--r { right: -14px; }
  .hero__grass--l2, .hero__grass--r2 { display: none; }
  .hero::before, .hero::after { display: none; }
}
@media (max-width: 520px) {
  .hero__grass--l, .hero__grass--r { opacity: .55; }
}

/* --------------------------------------------------------------------------
   Kennzahlen
   -------------------------------------------------------------------------- */
.stats { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem);
  background: var(--paper-3);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stats__item { padding-inline: 1rem; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__item dt {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--kicker);
}
.stats__item dd { margin: .4rem 0 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.45; }
.stats__item strong {
  display: block; margin-bottom: .2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.625rem);
  font-weight: 600; line-height: 1.05;
  color: var(--rust);
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; border-radius: 34px; row-gap: 1.75rem; padding-block: 2rem; }
  .stats__item:nth-child(3) { border-left: 0; }
}

/* --------------------------------------------------------------------------
   Torbogen-Rahmen für Fotos
   -------------------------------------------------------------------------- */
.arch-frame {
  position: relative;
  padding: 10px;
  border: 1.5px solid var(--brown);
  border-radius: var(--arch);
}
.arch-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 18px 18px;
}
figure figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Über mich
   -------------------------------------------------------------------------- */
.about { background: var(--paper-2); }
.about__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}
.about__media { position: relative; margin: 0; }
.about__media::before {
  content: "";
  position: absolute; z-index: 0;
  left: -34px; bottom: 60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--sand);
}
.about__media .arch-frame { z-index: 1; background: var(--paper-2); }
.about__media img { object-position: center 25%; }
.about__content > p { color: var(--ink-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--paper-3);
  border-radius: var(--radius);
}
.facts dt {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--kicker);
}
.facts dd {
  margin: .3rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem);
  font-weight: 600; line-height: 1.2;
}
@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; width: 100%; margin-inline: auto; }
  .about__media::before { left: -16px; width: 100px; height: 100px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: .85rem; }
  .facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .facts dd { text-align: right; }
}

/* --------------------------------------------------------------------------
   Betreuung: Karten mit Bogen oben
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.card {
  padding: clamp(2.5rem, 4vw, 3.25rem) clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 3vw, 2.5rem);
  background: var(--paper-3);
  border-radius: 220px 220px var(--radius) var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card p { color: var(--ink-soft); font-size: .9688rem; }
.card__icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown);
}
.card:nth-child(2) .card__icon { background: #F6D3D8; color: var(--rust); }
.card:nth-child(3) .card__icon { background: #D3D7C0; color: #5E6A46; }
.card__icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.card__title { font-size: 1.75rem; margin-bottom: .75rem; }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Zuhause
   -------------------------------------------------------------------------- */
.home { background: var(--paper-2); }
.home__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.home__content > p { color: var(--ink-soft); }
.checklist { display: grid; gap: 1.1rem; margin-top: 2rem; }
.checklist li { position: relative; padding-left: 2.4rem; color: var(--ink-soft); font-size: .9688rem; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 1.5rem; height: 1.5rem;
  background: var(--rust);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='11'/%3E%3Cg stroke='%23000' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M32 6v8M32 50v8M6 32h8M50 32h8M13.6 13.6l5.7 5.7M44.7 44.7l5.7 5.7M13.6 50.4l5.7-5.7M44.7 19.3l5.7-5.7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='11'/%3E%3Cg stroke='%23000' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M32 6v8M32 50v8M6 32h8M50 32h8M13.6 13.6l5.7 5.7M44.7 44.7l5.7 5.7M13.6 50.4l5.7-5.7M44.7 19.3l5.7-5.7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 600; line-height: 1.3;
  color: var(--ink);
}

.home__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
.home__photo { margin: 0; }
.home__photo--b { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 860px) {
  .home__inner { grid-template-columns: 1fr; }
}

/* Einblicke: Galerie der Räume */
.rooms { margin-top: clamp(4rem, 9vw, 7rem); }
.rooms__header { margin-bottom: clamp(2rem, 4vw, 3rem); }
.rooms__title {
  margin: .5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 600; line-height: 1.1;
  color: var(--ink);
}
.rooms__title em { font-style: italic; font-weight: 500; color: var(--rust); }
/* Endlos laufendes Fotoband: zwei gleiche Sätze, Band wandert um genau einen Satz weiter */
.home { overflow-x: clip; }
.rooms__marquee {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-block: .75rem 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rooms__track { display: flex; width: max-content; animation: fotoband 30s linear infinite; }
/* Mit JavaScript steuert main.js das Band (läuft durch, Pfeile springen weiter) */
.js .rooms__track { animation: none; will-change: transform; }
.js .rooms__marquee { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.js .rooms__marquee.is-dragging { cursor: grabbing; }
.rooms__marquee img { -webkit-user-drag: none; pointer-events: none; }
.rooms__controls { display: none; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.js .rooms__controls { display: flex; }
.rooms__btn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1.5px solid var(--brown); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.rooms__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rooms__btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.rooms__btn:active { transform: scale(.94); }
.rooms__btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.rooms__set { display: flex; gap: var(--rooms-gap); padding-right: var(--rooms-gap); }
.rooms { --rooms-gap: clamp(1.25rem, 2.4vw, 2rem); }
.rooms__item { margin: 0; flex: none; width: 320px; }
.rooms__item:nth-child(even) { margin-top: 2.25rem; }
.rooms__item figcaption { font-size: 1.125rem; }
@media (min-width: 1500px) { .rooms__item { width: 360px; } }
@keyframes fotoband { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .rooms__item { width: 260px; }
  .rooms__item:nth-child(even) { margin-top: 1.5rem; }
  .rooms__track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.js) .rooms__track { animation: none; }
  html:not(.js) .rooms__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  html:not(.js) .rooms__set[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   Tagesablauf
   -------------------------------------------------------------------------- */
.day__inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.day__intro > p { color: var(--ink-soft); }
.timeline {
  list-style: none;
  margin: 0;
  padding: clamp(5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper-3);
  border-radius: 260px 260px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1.25rem;
  padding-block: .85rem;
}
.timeline li + li { border-top: 1px dashed var(--line); }
.timeline time {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--rust);
}
.timeline span { align-self: center; color: var(--ink-soft); }
@media (max-width: 860px) {
  .day__inner { grid-template-columns: 1fr; }
  .timeline { border-radius: 160px 160px var(--radius) var(--radius); padding-top: 5rem; }
}

/* --------------------------------------------------------------------------
   Ablauf: Halbbögen als Nummern
   -------------------------------------------------------------------------- */
.steps { background: var(--paper-2); }
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.step {
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}
.step__num {
  display: grid;
  place-items: end center;
  width: 112px; height: 56px;
  margin: 0 auto 1.5rem;
  padding-bottom: .1rem;
  border-radius: 112px 112px 0 0;
  background: var(--sand);
  border-bottom: 2px solid var(--brown);
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 600; line-height: 1;
  color: var(--ink);
}
.step:nth-child(2) .step__num { background: #F2C4CB; }
.step:nth-child(3) .step__num { background: #E8A9B2; }
.step:nth-child(4) .step__num { background: #C5CBB0; }
.step__title { font-size: 1.625rem; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .9375rem; }
@media (max-width: 1024px) { .steps__list { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 560px) { .steps__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Gut zu wissen
   -------------------------------------------------------------------------- */
.faq__inner {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq__hint { color: var(--ink-soft); max-width: 30ch; }
.faq__hint a { color: var(--rust); font-weight: 600; white-space: nowrap; }
.faq__list {
  padding: .5rem clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq__list details + details { border-top: 1px dashed var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.3rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  font-weight: 600; line-height: 1.25;
  cursor: pointer; list-style: none;
  transition: color .25s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.25rem; font-weight: 400;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--caramel); }
.faq__list summary:hover { color: var(--rust); }
.faq__list details p { max-width: 62ch; padding-bottom: 1.4rem; color: var(--ink-soft); font-size: .9688rem; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { padding-top: 0; }
.contact__box {
  position: relative;
  padding: clamp(5rem, 9vw, 7rem) clamp(1.25rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  background: #7B4A55;
  color: var(--paper);
  border-radius: min(520px, 50vw) min(520px, 50vw) var(--radius) var(--radius);
}
.contact__intro { max-width: 620px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.contact__intro .kicker { justify-content: center; }
.contact__intro .kicker::after { display: block; background: var(--sand); }
.contact__intro .section__title { color: var(--paper); margin-bottom: 1.25rem; }
.contact__intro .section__title em { color: #F2B8C1; }
.contact__intro p { color: #F9EEEC; margin-inline: auto; max-width: 46ch; }

.contact__grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

/* Formular */
.form {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: rgb(249 238 236 / .08);
  border: 1px solid rgb(249 238 236 / .16);
  border-radius: var(--radius);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field__label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #F9EEEC;
}
.field__label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--paper-3);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-sans);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--paper-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A2E33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #7A6166; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #F2B8C1;
  box-shadow: 0 0 0 4px rgb(242 184 193 / .35);
}
.form.was-validated :invalid { border-color: #F7A1AE; border-width: 3px; }
.field__error { font-size: .875rem; font-weight: 600; color: #FFE3E8; }
.field__error:empty { display: none; }
.field__error, .field__hint { margin: 0; }
label.field__label { display: block; }
.check .field__error { grid-column: 2; }
.check label { cursor: pointer; }
.field__hint { font-size: .8125rem; color: #F9EEEC; }
.check {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  font-size: .875rem; line-height: 1.55;
  color: #F9EEEC;
}
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: #F2B8C1; }
.check a { color: #fff; }
.form.was-validated .check input:invalid { outline: 2px solid #F7A1AE; outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin-top: .25rem; }
.form__note { margin: 0; font-size: .8125rem; color: #F9EEEC; }
.form .btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.form__status {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--paper-3);
  color: var(--ink);
  font-size: .9375rem;
}
.form__status.is-error { background: #F6D3D8; }
.form__status a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* Kontaktdaten */
.contact__list { display: grid; gap: .75rem; }
.contact__list li {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem;
  background: rgb(249 238 236 / .08);
  border: 1px solid rgb(249 238 236 / .14);
  border-radius: 22px;
  min-width: 0;
  transition: background-color .3s;
}
.contact__list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact__list li:hover { background: rgb(249 238 236 / .14); }
.contact__list small {
  display: block;
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #F9EEEC;
}
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__icon {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sand);
  color: #7B4A55;
}
.contact__icon svg {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact__box { border-radius: 50vw 50vw var(--radius) var(--radius); padding-top: 4.5rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__intro .section__title { font-size: 2.125rem; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  margin-top: var(--section-space);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  background: #4A2C33;
  color: #EBDADA;
  font-size: .9375rem;
  line-height: 1.65;
}
.contact + .footer, main + .footer { margin-top: 0; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer p { margin-bottom: .9rem; }
.footer .logo__mark { color: #F2B8C1; }
.footer .logo__text { color: var(--paper); }
.footer .logo__text small { color: #E3C9CC; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr .8fr;
  gap: 2.5rem 3rem;
}
.footer__brand p { max-width: 32ch; margin-top: 1.25rem; }
.footer__title {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand);
}
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.footer__copy {
  position: relative;
  margin-top: 3rem; padding-top: 1.5rem;
  font-size: .8125rem;
  color: #E3C9CC;
}
.footer__copy::before {
  content: "";
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid rgb(249 238 236 / .12);
}
/* Unterseiten: einfacher Footer */
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.footer__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--paper); }
.footer__inner .footer__nav { flex-direction: row; gap: 1.75rem; }
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Unterseiten (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.legal { max-width: 760px; padding-top: calc(var(--header-h) + 4rem); padding-bottom: var(--section-space); }
.legal h1 { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-style: italic; margin-bottom: 2rem; }
.legal h2 { font-size: 1.75rem; margin: 2.5rem 0 .75rem; }
.legal p { color: var(--ink-soft); }
.legal .notice { padding: 1.25rem 1.5rem; background: var(--paper-2); border-radius: var(--radius); color: var(--ink); }
.legal .notice + h2 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Scroll-Animationen
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 600px) {
  .hero .kicker { display: block; max-width: none; margin-inline: auto; padding-left: .2em; text-align: center; text-wrap: balance; font-size: .8125rem; letter-spacing: .2em; line-height: 1.7; }
  .hero .kicker::before, .hero .kicker::after { display: none; }
  .hero .kicker__main { display: block; }
}
.link-arrow { white-space: nowrap; font-size: .9375rem; font-weight: 600; color: var(--rust); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 420px) { .header .logo__text { font-size: 1.25rem; } }
.footer p, .footer__meta { overflow-wrap: anywhere; }
.legal h1, .legal h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 360px) { .legal h1 { font-size: 2.125rem; } }

/* --------------------------------------------------------------------------
   Logo (Grashüpfer)
   -------------------------------------------------------------------------- */
.logo__img { display: block; height: 52px; width: auto; }
@media (max-width: 420px) { .header .logo__img { height: 44px; } }
.logo--card {
  padding: .9rem 1.25rem;
  background: var(--paper);
  border-radius: 18px;
}
.logo--card .logo__img { height: auto; width: 240px; max-width: 100%; }
.hero__title--logo { margin-inline: auto; line-height: 0; }
.hero__title--logo img { display: block; width: min(620px, 90vw); height: auto; }
.nowrap { white-space: nowrap; }
.facts__note {
  display: block; margin-top: .4rem;
  font-family: var(--font-sans); font-size: .8125rem; font-weight: 500; line-height: 1.4;
  color: var(--ink-soft);
}
.facts { column-gap: 1.75rem; }
.caps { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink); }

/* Foto Spiel- und Leseecke im Alltag */
.day__photo { margin: 2.25rem 0 0; }
.arch-frame--wide { border-radius: 220px 220px 26px 26px; }
.arch-frame--wide img { aspect-ratio: 3 / 2; border-radius: 210px 210px 18px 18px; }
@media (max-width: 600px) {
  .arch-frame--wide { border-radius: 140px 140px 26px 26px; }
  .arch-frame--wide img { border-radius: 130px 130px 18px 18px; }
}

/* --------------------------------------------------------------------------
   Foto-Animationen: sanft hineinzoomen beim Einblenden, Bewegung bei Hover
   -------------------------------------------------------------------------- */
.arch-frame { --img-radius: 999px 999px 18px 18px; transition: border-color .4s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.arch-frame--wide { --img-radius: 210px 210px 18px 18px; }
@media (max-width: 600px) { .arch-frame--wide { --img-radius: 130px 130px 18px 18px; } }
.arch-frame picture {
  display: block;
  overflow: hidden;
  border-radius: var(--img-radius);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.arch-frame img {
  display: block;
  transform-origin: 50% 60%;
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}
/* Einblenden: Bild startet leicht vergrößert und etwas blasser, gleitet dann an seinen Platz */
.js .reveal .arch-frame img { transform: scale(1.14); filter: saturate(.75) brightness(1.04); }
.js .reveal.is-visible .arch-frame img { transform: scale(1); filter: none; transition-delay: calc(var(--delay, 0s) + .1s); }
/* Hover (Maus): Rahmen hebt sich, Bild zoomt langsam */
@media (hover: hover) {
  figure:hover .arch-frame {
    border-color: var(--rust);
    transform: translateY(-6px);
    box-shadow: 0 18px 34px -22px rgb(74 46 51 / .45);
  }
  .js .reveal.is-visible:hover .arch-frame img,
  figure:hover .arch-frame img { transform: scale(1.06); transition-duration: 1.2s; transition-delay: 0s; }
  figure figcaption { transition: color .4s var(--ease); }
  figure:hover figcaption { color: var(--rust); }
}
/* Durchgehende, ruhige Bewegung (Ken-Burns): jedes Foto zoomt und wandert langsam hin und her.
   Nutzt scale/translate statt transform, damit Einblenden und Hover unabhängig bleiben. */
@keyframes foto-drift {
  0%   { scale: 1;    translate: 0 0; }
  50%  { scale: 1.07; translate: -1.6% -1.2%; }
  100% { scale: 1.04; translate: 1.4% .8%; }
}
.arch-frame img {
  animation: foto-drift 18s ease-in-out infinite alternate;
  will-change: scale, translate;
}
.home__photo--b img { animation-duration: 21s; animation-delay: -6s; }
.day__photo img { animation-duration: 16s; animation-delay: -3s; animation-direction: alternate-reverse; }
.about__media img { animation-duration: 19s; animation-delay: -12s; animation-direction: alternate-reverse; }
/* Rahmen schweben ganz leicht */
@keyframes rahmen-schweben { from { translate: 0 0; } to { translate: 0 -5px; } }
.home__photo .arch-frame { animation: rahmen-schweben 5s ease-in-out infinite alternate; }
.home__photo--b .arch-frame { animation-delay: -2.5s; }
.rooms__item .arch-frame img { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .arch-frame img, .arch-frame { animation: none !important; }
  .js .reveal .arch-frame img, .arch-frame img, figure:hover .arch-frame img, .js .reveal.is-visible:hover .arch-frame img { transform: none !important; filter: none !important; }
  figure:hover .arch-frame { transform: none; }
}
