/* Ruhige Unterseiten (Anfrage, Impressum, Datenschutz): hell wie Papier. */

@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-variabel.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --papier: #f6f2ea;
  --flaeche: #ece5d9;
  --tinte: #2b2722;
  --tinte-leise: #6f665c;
  --rot: #9b3326;        /* Falunrot aus dem Haus */
  --licht: #b0712a;
  --rand: color-mix(in oklab, var(--tinte) 16%, transparent);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --rand-seite: clamp(1rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }

.kopf { display: flex; align-items: center; gap: 1rem; padding: 1.25rem var(--rand-seite); }
.marke { display: flex; align-items: baseline; gap: 0.5rem; color: var(--tinte); text-decoration: none; margin-right: auto; }
.marke__wort { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.02em; }
.marke__zusatz { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinte-leise); }
.kopf__zurueck { color: var(--tinte); font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }

.inhalt { max-width: 44rem; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--rand-seite) 4rem; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin: 2.5rem 0 0.75rem; }
p { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }
a { color: var(--rot); }
.leise { color: var(--tinte-leise); }
.fuss { padding: 2rem var(--rand-seite) 3rem; font-size: 0.85rem; color: var(--tinte-leise); border-top: 1px solid var(--rand); }
.fuss a { color: var(--tinte); }

/* Frage für Frage */
.fortschritt { height: 4px; background: var(--flaeche); border-radius: 999px; overflow: hidden; margin: 0 0 2.5rem; }
.fortschritt span { display: block; height: 100%; width: 0; background: var(--licht); transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.schritt { display: none; }
.schritt.ist-aktiv { display: block; animation: rein 0.45s cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.schritt legend { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.5rem; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wahl { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.wahl button {
  min-height: 64px; padding: 1rem 1.25rem; text-align: left;
  font: inherit; color: var(--tinte); background: #fff;
  border: 1px solid var(--rand); border-radius: 14px; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.wahl button:hover { border-color: var(--licht); box-shadow: 0 4px 14px rgb(43 39 34 / 0.08); }
.wahl button:active { transform: scale(0.98); }
.wahl button[aria-pressed="true"] { border-color: var(--licht); box-shadow: inset 0 0 0 1px var(--licht); }
label { display: block; font-weight: 600; margin: 0 0 0.35rem; }
input, textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 1rem; font: inherit; color: var(--tinte);
  background: #fff; border: 1px solid var(--rand); border-radius: 12px;
}
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--licht); outline-offset: 2px; }
.feld { margin-bottom: 1.25rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem;
  border: 0; border-radius: 999px; background: var(--tinte); color: var(--papier);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.knopf:hover { background: #3d3731; }
.knopf--leise { background: transparent; color: var(--tinte); border: 1px solid var(--rand); }
.knopf--leise:hover { background: var(--flaeche); }
.hinweis { font-size: 0.85rem; color: var(--tinte-leise); margin-top: 1rem; }
.fehler { color: var(--rot); font-size: 0.9rem; min-height: 1.4em; margin: 0.5rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  .schritt.ist-aktiv { animation: none; }
  .fortschritt span { transition: none; }
}
