/* Gruppenferienhaus Harz
   Farben nach dem Entwurf der Kundin, Schriften lokal (SIL OFL). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --wald: #23281f;
  --tanne: #2f4236;
  --tanne-hell: #3d5345;
  --creme: #faf7f2;
  --beige: #efe8de;
  --beige-dunkel: #e2d8ca;
  --holz: #8b6a4a;
  --holz-hell: #e1c39f;
  --kupfer: #c0854a;
  --kupfer-dunkel: #a86f37;
  --tinte: #2a2e26;
  --gedaempft: #5c574d;
  --platzhalter: #ffe45c;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;
  --text: 38rem;
  --abschnitt: clamp(4.5rem, 9vw, 7.5rem);
  --radius-bild: 4px;
  --radius-karte: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--tanne); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--holz); }

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

.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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--kupfer); color: var(--wald); padding: .6rem 1rem; font-weight: 800;
}
.skip:focus { top: 1rem; }

/* ---------- Typografie ---------- */

h1, h2, h3, .wortmarke {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 4.6vw + 1.1rem, 5rem); font-weight: 520; }
h2 { font-size: clamp(2rem, 2.6vw + 1.1rem, 3.25rem); }
h3 { font-size: clamp(1.35rem, .8vw + 1rem, 1.7rem); line-height: 1.2; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 420;
  color: var(--holz);
}

p { margin: 0 0 1.1em; max-width: var(--text); }
p:last-child { margin-bottom: 0; }

.ueberzeile {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--holz);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.12rem, .4vw + 1rem, 1.3rem); line-height: 1.6; }

/* gelb markierte Platzhalter */
.ph {
  background: var(--platzhalter);
  color: #1d1d1d;
  padding: .05em .35em;
  border-radius: 3px;
  font-weight: 700;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Hinweisband ---------- */

.band {
  background: var(--kupfer);
  color: var(--wald);
  font-size: .92rem;
  font-weight: 700;
}
.band[hidden] { display: none; }
.band__innen {
  max-width: var(--max); margin: 0 auto; padding: .5rem var(--gutter);
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
}
.band p { margin: 0; max-width: none; }
.band a { color: inherit; }
.band__zu {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin: -.5rem -.75rem -.5rem 0;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 50%;
}
.band__zu:hover { background: rgba(35, 40, 31, .12); }

/* ---------- Kopfzeile ---------- */

.kopf { background: var(--wald); color: var(--beige); position: relative; z-index: 20; }
.kopf__innen {
  max-width: var(--max); margin: 0 auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; gap: 1.25rem;
}
.wortmarke {
  margin: 0 auto 0 0;
  font-size: clamp(1.2rem, 1vw + .95rem, 1.55rem);
  font-weight: 540;
  letter-spacing: 0;
  color: var(--creme);
  text-decoration: none;
  white-space: nowrap;
}
.wortmarke:hover { color: var(--holz-hell); }

.sprache { display: flex; gap: .15rem; font-size: .85rem; font-weight: 800; letter-spacing: .08em; }
.sprache a, .sprache span {
  display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem;
  color: var(--beige); text-decoration: none; border-radius: 4px;
}
.sprache [aria-current] { color: var(--wald); background: var(--beige); min-height: 2rem; min-width: 2.4rem; align-self: center; }
.sprache a:hover { background: rgba(239, 232, 222, .12); color: var(--creme); }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.4rem;
  font: 800 1rem/1.2 var(--sans); letter-spacing: .01em;
  border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.knopf--kupfer { background: var(--kupfer); color: var(--wald); }
.knopf--kupfer:hover { background: var(--holz-hell); color: var(--wald); }
.knopf--tanne { background: var(--tanne); color: var(--creme); }
.knopf--tanne:hover { background: var(--wald); color: var(--creme); }
.knopf--rand { border-color: currentColor; color: inherit; background: transparent; }
.knopf--rand:hover { background: rgba(239, 232, 222, .12); color: inherit; }
.kopf .knopf { min-height: 2.75rem; padding: .55rem 1.1rem; }

.menue-knopf {
  display: none; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: 0 .9rem;
  background: none; color: var(--beige); border: 1px solid rgba(239, 232, 222, .35);
  border-radius: 6px; font: 800 .95rem var(--sans); cursor: pointer;
}
.menue-knopf svg { transition: transform .2s ease; }
.menue-knopf[aria-expanded="true"] svg { transform: rotate(90deg); }

.nav { border-top: 1px solid rgba(239, 232, 222, .12); }
.nav ul {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--max);
  display: flex; flex-wrap: wrap; gap: 0 1.6rem;
}
.nav a {
  display: block; padding: .8rem 0 .75rem;
  color: var(--beige); text-decoration: none; font-weight: 700; font-size: .97rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--creme); border-bottom-color: rgba(225, 195, 159, .5); }
.nav a[aria-current="page"] { color: var(--holz-hell); border-bottom-color: var(--kupfer); }

@media (max-width: 1080px) {
  .menue-knopf { display: inline-flex; }
  .kopf__innen { flex-wrap: wrap; }
  .nav { display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding-bottom: 1rem; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid rgba(239, 232, 222, .1); font-size: 1.08rem; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(239, 232, 222, .1); }
}
@media (max-width: 560px) {
  .kopf__innen { gap: .5rem; padding-block: .75rem; }
  .wortmarke { flex-basis: 100%; margin-bottom: .25rem; font-size: 1.3rem; }
  .kopf .knopf { margin-left: auto; }
}

/* ---------- Kopfbild ---------- */

.held {
  position: relative; isolation: isolate;
  min-height: min(84vh, 52rem);
  display: flex; align-items: flex-end;
  color: var(--creme); background: var(--wald);
}
.held--unterseite { min-height: min(66vh, 40rem); }
.held__bild { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; }
.held::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(35, 40, 31, .9) 0%, rgba(35, 40, 31, .62) 28%, rgba(35, 40, 31, .12) 55%, rgba(35, 40, 31, 0) 72%),
    linear-gradient(to right, rgba(35, 40, 31, .35), rgba(35, 40, 31, 0) 55%);
}
.held__innen {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 8rem var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}
.held h1 { max-width: 14ch; margin-bottom: .35em; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.held h1 em { color: var(--holz-hell); }
.held .ueberzeile { color: var(--holz-hell); }
.held p { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); max-width: 34rem; color: #f3eee6; }
.held__aktionen { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.75rem; }
.held .kennung { top: 1rem; right: 1rem; bottom: auto; left: auto; }

.kopfband { background: var(--wald) url("../img/hoehenlinien.svg") center / cover; color: var(--creme); }
.kopfband__innen { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.kopfband h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 4rem); margin-bottom: .3em; }
.kopfband h1 em { color: var(--holz-hell); }
.kopfband .ueberzeile { color: var(--holz-hell); }
.kopfband p { color: #f3eee6; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--beige { background: var(--beige); }
/* gleichfarbige Abschnitte direkt hintereinander teilen sich einen Abstand */
.abschnitt:not([class*="abschnitt--"]):not(.fakten) + .abschnitt:not([class*="abschnitt--"]):not(.fakten) { padding-top: 0; }
.abschnitt--beige + .abschnitt--beige { padding-top: 0; }
.innen { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.innen--schmal { max-width: calc(var(--text) + 2 * var(--gutter) + 8rem); }

.kopfzeile { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }

.zweispaltig {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 860px) { .zweispaltig { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* Inhaltskarten: Bild und Text im Wechsel */
.karten { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.karte {
  display: grid; grid-template-columns: minmax(0, 1fr);
  background: var(--beige); border-radius: var(--radius-karte); overflow: hidden;
}
.abschnitt--beige .karte { background: var(--creme); }
.karte__bild { margin: 0; position: relative; min-height: 16rem; }
.karte__bild img, .karte__bild .bald { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.karte__bild .bald { border-radius: 0; }
.karte__text { padding: clamp(1.75rem, 4vw, 3.25rem); align-self: center; }
.karte__text h3 { margin-bottom: .6em; }
@media (min-width: 860px) {
  .karte { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 25rem; }
  .karte:nth-child(even) .karte__bild { order: 2; }
}
@media (max-width: 859px) { .karte__bild { aspect-ratio: 3 / 2; min-height: 0; } }

.liste { list-style: none; padding: 0; margin: 1rem 0 0; max-width: var(--text); }
.liste li { position: relative; padding: .4rem 0 .4rem 1.6rem; border-bottom: 1px solid var(--beige-dunkel); }
.liste li:last-child { border-bottom: 0; }
.liste li::before {
  content: ""; position: absolute; left: .1rem; top: 1.05em;
  width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--holz);
}
.liste--spalten { max-width: none; columns: 2 16rem; column-gap: 3rem; }
.liste--spalten li { break-inside: avoid; }

.weiter { display: inline-flex; gap: .4rem; align-items: center; font-weight: 800; color: var(--tanne); margin-top: 1.25rem; }

/* ---------- Bilder und Kennzeichnungen ---------- */

.bild { margin: 0; position: relative; }
.bild img { border-radius: var(--radius-bild); width: 100%; }
.zweispaltig > .bild img { max-height: 36rem; object-fit: cover; }
.bild figcaption { font-size: .92rem; color: var(--gedaempft); margin-top: .6rem; }

.kennung {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  max-width: calc(100% - 1.5rem);
  padding: .35rem .65rem .35rem .55rem;
  font: 800 .78rem/1.25 var(--sans); letter-spacing: .02em;
  border-radius: 4px;
  background: rgba(250, 247, 242, .95); color: var(--wald);
  box-shadow: 0 1px 2px rgba(35, 40, 31, .25);
}
.kennung svg { flex: none; }
.kennung--bau { background: rgba(35, 40, 31, .9); color: var(--creme); }
.kennung--echt { background: rgba(47, 66, 54, .92); color: var(--creme); }

/* Bald zu sehen */
.bald {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: .4rem; padding: 1.5rem;
  background: var(--beige-dunkel); color: var(--tanne);
  border-radius: var(--radius-bild);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(139, 106, 74, .06) 14px 15px);
}
.bald svg { width: min(9rem, 50%); height: auto; color: var(--holz); margin-bottom: .5rem; }
.bald strong { font: 800 .74rem var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--holz); }
.bald span { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; color: var(--wald); }
.bald small { font-size: .88rem; color: var(--gedaempft); }
.bald--frei { aspect-ratio: 4 / 3; }

/* Vorher / So wird es */
.paare { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.paar h3 { margin-bottom: .9rem; }
.paar__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.5rem, 1.5vw, 1rem); }
.paar__bilder .bild { aspect-ratio: 4 / 3; }
.paar__bilder img { height: 100%; object-fit: cover; }
.paar p { margin-top: .9rem; color: var(--gedaempft); font-size: .98rem; }
@media (max-width: 520px) { .paar__bilder { grid-template-columns: 1fr; } }

.baustand { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); }
.baustand img { aspect-ratio: 4 / 5; object-fit: cover; }
/* bei Bildunterschrift sitzt die Kennung oben, damit sie nichts verdeckt */
.bild:has(figcaption) .kennung { bottom: auto; top: .75rem; }

/* ---------- Startseite ---------- */

.anlaesse { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.anlass {
  position: relative; display: flex; flex-direction: column;
  background: var(--beige); border-radius: var(--radius-karte); overflow: hidden;
  text-decoration: none; color: var(--tinte);
  transition: background-color .2s ease;
}
.anlass:hover { background: var(--beige-dunkel); color: var(--tinte); }
.anlass .bild { aspect-ratio: 4 / 3; }
.anlass .bild img { height: 100%; object-fit: cover; border-radius: 0; }
.anlass__text { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.anlass h3 { font-size: 1.45rem; margin-bottom: .4em; }
.anlass p { font-size: .98rem; color: var(--gedaempft); }
.anlass .weiter { margin-top: auto; padding-top: 1rem; }

.fakten { background: var(--tanne) url("../img/hoehenlinien.svg") center / cover; color: var(--creme); }
.fakten h2 em { color: var(--holz-hell); }
.fakten .ueberzeile { color: var(--holz-hell); }
.fakten dl {
  margin: 0; display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(239, 232, 222, .2);
}
@media (min-width: 540px) { .fakten dl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fakten dl { grid-template-columns: repeat(3, 1fr); } }
.fakten dl > div { padding: 1.4rem 1.5rem 1.5rem 0; border-bottom: 1px solid rgba(239, 232, 222, .2); }
.fakten dt { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--holz-hell); margin-bottom: .35rem; }
.fakten dd { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem); line-height: 1.2; }

.eroeffnung {
  display: grid; gap: 1.5rem 3rem; align-items: center;
  border: 2px solid var(--kupfer); border-radius: var(--radius-karte);
  padding: clamp(1.75rem, 4vw, 3rem);
}
@media (min-width: 860px) { .eroeffnung { grid-template-columns: 1fr auto; } }
.eroeffnung h2 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.5rem); margin-bottom: .35em; }

.geschichte { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .geschichte { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; } }
.geschichte .bild { max-width: 15rem; }

/* ---------- Anfrage-Einladung am Seitenende ---------- */

.einladung { background: var(--tanne) url("../img/hoehenlinien.svg") center / cover; color: var(--creme); padding-block: var(--abschnitt); }
.einladung h2 { max-width: 18ch; }
.einladung h2 em { color: var(--holz-hell); }
.einladung .ueberzeile { color: var(--holz-hell); }
.einladung p { color: #f0ebe2; }
.einladung__aktionen { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }
.einladung__aktionen a:not(.knopf) { color: var(--creme); font-weight: 800; }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--beige-dunkel); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--serif); font-size: clamp(1.15rem, .5vw + 1rem, 1.35rem); font-weight: 520; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem; margin-right: .35rem;
  border-right: 2px solid var(--holz); border-bottom: 2px solid var(--holz);
  transform: translateY(-25%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(15%) rotate(225deg); }
.faq summary:hover { color: var(--holz); }
.faq .antwort { padding: 0 0 1.5rem; }

.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: s; }
.schritte li { counter-increment: s; background: var(--beige); border-radius: var(--radius-karte); padding: 1.75rem 1.5rem; }
.abschnitt--beige .schritte li { background: var(--creme); }
.schritte li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--kupfer-dunkel); margin-bottom: .75rem; }
.schritte h3 { font-size: 1.3rem; margin-bottom: .35em; }

/* ---------- Galerie ---------- */

.reiter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.reiter button {
  min-height: 2.9rem; padding: .55rem 1.15rem;
  font: 800 .98rem var(--sans); color: var(--tanne);
  background: transparent; border: 2px solid var(--beige-dunkel); border-radius: 6px; cursor: pointer;
}
.reiter button:hover { border-color: var(--tanne); }
.reiter button[aria-selected="true"] { background: var(--tanne); border-color: var(--tanne); color: var(--creme); }
.reiter-hinweis { color: var(--gedaempft); margin-bottom: 1.75rem; }

.raster { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.raster .bild { aspect-ratio: 4 / 3; }
.raster button { all: unset; display: block; cursor: zoom-in; height: 100%; border-radius: var(--radius-bild); }
.raster button:focus-visible { outline: 3px solid var(--kupfer); outline-offset: 3px; }
.raster img { height: 100%; object-fit: cover; transition: filter .2s ease; }
.raster button:hover img { filter: brightness(1.06); }
.raster .bald { height: 100%; }

.leuchtkasten {
  width: min(96vw, 80rem); max-height: 94vh; padding: 0; border: 0; border-radius: 6px;
  background: var(--wald); color: var(--creme);
}
.leuchtkasten::backdrop { background: rgba(20, 23, 18, .88); }
.leuchtkasten figure { margin: 0; position: relative; }
.leuchtkasten img { max-height: 80vh; width: 100%; object-fit: contain; background: #151813; }
.leuchtkasten .kennung { top: .75rem; bottom: auto; }
.leuchtkasten figcaption { padding: .9rem 1.25rem 1.1rem; font-size: .95rem; }
.leuchtkasten__leiste { position: absolute; top: .5rem; right: .5rem; display: flex; gap: .5rem; z-index: 3; }
.leuchtkasten__leiste button, .leuchtkasten__pfeil {
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  background: rgba(35, 40, 31, .85); color: var(--creme); border: 0; border-radius: 50%; cursor: pointer;
}
.leuchtkasten__pfeil { position: absolute; top: 40%; z-index: 3; }
.leuchtkasten__pfeil--zurueck { left: .5rem; }
.leuchtkasten__pfeil--vor { right: .5rem; }
.leuchtkasten button:hover { background: var(--tanne-hell); }

/* ---------- Formular ---------- */

.anfrage { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .anfrage { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.anfrage__einladung .bild { margin-top: 2rem; aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .anfrage__einladung .bild { display: none; } }
.anfrage__einladung .bild img { height: 100%; object-fit: cover; }
.kontaktwege { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.kontaktwege li { display: flex; gap: .65rem; align-items: baseline; }
.kontaktwege strong { min-width: 5.5rem; font-size: .9rem; color: var(--gedaempft); font-weight: 700; }

.formular {
  background: var(--beige); border-radius: var(--radius-karte);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid; gap: 1.25rem 1rem; grid-template-columns: 1fr 1fr;
}
.formular .ganz { grid-column: 1 / -1; }
@media (max-width: 560px) { .formular { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.feld label, .feld legend { font-weight: 800; font-size: .95rem; }
.feld .pflicht { color: var(--kupfer-dunkel); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--tinte);
  background: var(--creme); border: 1.5px solid #c9bcaa; border-radius: 6px;
}
.feld textarea { min-height: 8rem; resize: vertical; }
.feld select {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b6a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--holz); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--kupfer); outline-offset: 1px; border-color: var(--tanne); }
.feld input[type="date"] { min-height: 3rem; }
.feld .hilfe { font-size: .86rem; color: var(--gedaempft); }
.feld .fehler { font-size: .88rem; color: #9b2c1f; font-weight: 700; }
.feld .fehler:empty { display: none; }
.feld [aria-invalid="true"] { border-color: #9b2c1f; background: #fff7f5; }
.haekchen { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.haekchen label { font-weight: 500; font-size: .95rem; }
.haekchen input { width: 1.4rem; height: 1.4rem; min-height: 0; margin: .15rem 0 0; accent-color: var(--tanne); flex: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; }
.formular__status { font-weight: 700; }
.formular__status:empty { display: none; }

.danke {
  display: none;
  background: var(--tanne) url("../img/hoehenlinien.svg") center / cover; color: var(--creme);
  border-radius: var(--radius-karte); padding: clamp(2rem, 5vw, 3.25rem);
}
.danke:target, .danke.sichtbar { display: block; }
.danke h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
.danke h2 em, .danke .ueberzeile { color: var(--holz-hell); }
.danke a:not(.knopf) { color: var(--creme); }
.danke p { color: #f0ebe2; }
.danke .ph { color: #1d1d1d; }
.formular.versteckt { display: none; }

/* ---------- Rechtstexte ---------- */

.rechtstext h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin-top: 2.2em; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.6em; }

/* ---------- Übersetzungshinweis ---------- */

.entwurf { background: var(--platzhalter); color: #1d1d1d; font-weight: 700; font-size: .92rem; }
.entwurf .innen { padding-block: .5rem; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--wald); color: #d9d1c4; font-size: .97rem; }
.fuss__innen {
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem;
  display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.fuss .wortmarke { display: inline-block; margin-bottom: .75rem; font-size: 1.5rem; white-space: normal; }
@media (min-width: 1000px) { .fuss__innen { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.fuss h2 { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--holz-hell); margin-bottom: 1rem; }
.fuss a { color: var(--creme); }
.fuss a:hover { color: var(--holz-hell); }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.fuss address { font-style: normal; }
.fuss .ph { color: #1d1d1d; }
.fuss__unten {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--gutter) 2rem;
  border-top: 1px solid rgba(239, 232, 222, .14);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .9rem;
}
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.schwester { color: #bfb6a8; }

/* ---------- Bewegung ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* ein einziger Moment: das Startbild setzt sich beim Laden langsam */
  .held--start .held__bild img { animation: ankommen 2.4s cubic-bezier(.2, .6, .2, 1) both; }
  @keyframes ankommen { from { transform: scale(1.06); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .band, .kopf, .einladung, .fuss { display: none; }
}
