/* Farben und Schriften wie in der App, ergänzt um die Töne der Illustration. */
:root {
  --bg: #f6f1ea;
  --flaeche: #fffdf9;
  --flaeche-2: #efe8df;
  --tinte: #1f1b18;
  --leise: #6b625b;
  --linie: #e2d9ce;
  --akzent: #a3584a;
  --akzent-text: #ffffff;
  --akzent-zart: #f3e2dc;
  --schatten: 0 1px 2px rgb(31 27 24 / 6%), 0 8px 24px rgb(31 27 24 / 8%);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /* Illustration */
  --rahmen: #1f1b18;
  --haut: #d8b49b;
  --haar: #3b2a22;
  --oberteil: #e9e1d6;
  --jeans: #6c82a1;
  --kleid: #b4695a;
  --kleid-schatten: #9a5547;
  --spiegel: #efe8df;
  --wahl: #fffdf9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171513;
    --flaeche: #221f1c;
    --flaeche-2: #2c2825;
    --tinte: #f3ede6;
    --leise: #b3a89d;
    --linie: #3a3531;
    --akzent: #e0907e;
    --akzent-text: #171513;
    --akzent-zart: #3a2a25;
    --schatten: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
    --rahmen: #3a3531;
    --oberteil: #d9d0c4;
    --jeans: #7d93b2;
    --kleid: #c97563;
    --kleid-schatten: #a95f50;
    --haar: #110b08;
    --spiegel: #3d3733;
    --wahl: #4a433d;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinte);
  font: 17px/1.55 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--akzent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(34px, 8.4vw, 58px); line-height: 1.06; }
h2 { font-size: clamp(27px, 5.6vw, 40px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.2; }
p { margin: 0; }
.leise { color: var(--leise); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.sprung {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--tinte); color: var(--bg); padding: 12px 16px; border-radius: 12px;
}
.sprung:focus { top: 12px; }

.innen { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .innen { padding: 0 24px; } }

/* Knöpfe: mindestens 44 px hoch, Text bricht nie um */
.knopf, .knopf-zweit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; white-space: nowrap;
  font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; -webkit-tap-highlight-color: transparent;
}
.knopf { background: var(--akzent); color: var(--akzent-text); box-shadow: var(--schatten); }
.knopf:hover { filter: brightness(1.06); }
.knopf-zweit { background: var(--flaeche); color: var(--tinte); border-color: var(--linie); }
.knopf:active, .knopf-zweit:active { transform: scale(0.98); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.marke {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--tinte); text-decoration: none;
  font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em;
}
.marke img { width: 34px; height: 34px; border-radius: 9px; }

/* Einstieg */
.held { padding: 20px 0 56px; }
.held .innen { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .held { padding: 40px 0 80px; }
  .held .innen { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.vorzeile { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--akzent); margin-bottom: 10px; }
.held h1 { max-width: 15ch; }
.einleitung { font-size: 19px; margin-top: 18px; max-width: 34ch; }
.aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.aktion .hinweis { font-size: 15px; color: var(--leise); }

/* Vorher/Nachher ohne JavaScript: zwei Radio-Knöpfe steuern die Illustration */
.vergleich { border: 0; margin: 0 auto; padding: 0; min-width: 0; width: min(320px, 100%); display: grid; gap: 14px; justify-items: center; }
.umschalter {
  display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px;
  background: var(--flaeche-2); border-radius: 999px;
}
.umschalter label {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px;
  border-radius: 999px; font: 600 15px/1 var(--sans); color: var(--leise); cursor: pointer; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
#ansicht-vorher:checked ~ .umschalter label[for="ansicht-vorher"],
#ansicht-nachher:checked ~ .umschalter label[for="ansicht-nachher"] { background: var(--wahl); color: var(--tinte); box-shadow: var(--schatten); }
#ansicht-vorher:focus-visible ~ .umschalter label[for="ansicht-vorher"],
#ansicht-nachher:focus-visible ~ .umschalter label[for="ansicht-nachher"] { outline: 3px solid var(--akzent); outline-offset: 2px; }
.telefon { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgb(31 27 24 / 18%)); }

.look-a, .look-b { transition: opacity 0.5s ease; }
.look-a { opacity: 0; }
#ansicht-vorher:checked ~ .telefon .look-a { opacity: 1; }
#ansicht-vorher:checked ~ .telefon .look-b { opacity: 0; }

.t-rahmen { fill: var(--rahmen); }
.t-schirm { fill: var(--bg); }
.t-spiegel { fill: var(--spiegel); }
.t-insel { fill: var(--rahmen); }
.t-haut { fill: var(--haut); }
.t-haar { fill: var(--haar); }
.t-oberteil { fill: var(--oberteil); }
.t-jeans { fill: var(--jeans); }
.t-kleid { fill: var(--kleid); }
.t-kleid-schatten { fill: var(--kleid-schatten); }
.t-schuh { fill: var(--haar); }
.t-titel { font-family: var(--serif); font-size: 21px; font-weight: 600; fill: var(--tinte); }
.t-chip { fill: var(--flaeche); stroke: var(--linie); }
.t-text { font-family: var(--sans); font-size: 13px; fill: var(--tinte); }
.t-text-fett { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--tinte); }
.t-leise { font-family: var(--sans); font-size: 12px; fill: var(--leise); }
.t-akzent { fill: var(--akzent); }
.t-saum { stroke: var(--akzent); stroke-width: 2; stroke-dasharray: 5 4; fill: none; }
.t-knopf-text { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--akzent-text); }
.t-heim { fill: var(--leise); opacity: 0.5; }
.t-plakette { fill: var(--tinte); }
.t-plakette-text { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--bg); }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt-hell { background: var(--flaeche); }
@media (min-width: 900px) { .abschnitt { padding: 88px 0; } }
.abschnitt .unterzeile { font-size: 19px; color: var(--leise); margin-top: 12px; max-width: 46ch; }

.karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 22px;
  padding: 22px; box-shadow: var(--schatten);
}
.abschnitt-hell .karte { background: var(--bg); }
.karte h3 { margin-bottom: 6px; }
.karte p { color: var(--leise); }

.schritte { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: start; align-content: start; }
.schritte li::before {
  content: counter(schritt); grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--akzent); color: var(--akzent-text); font: 600 19px/1 var(--serif);
}
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(3, 1fr); } }

.karten { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .karten { grid-template-columns: 1fr 1fr; } }
.symbol {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center; background: var(--akzent-zart); color: var(--akzent);
}
.symbol svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Passform */
.passform { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .passform { grid-template-columns: 1fr 1fr; gap: 56px; } }
.passform p + p { margin-top: 14px; }
.passform figure { margin: 0; }
.raster { width: min(420px, 100%); height: auto; margin: 0 auto; }
.r-linie { stroke: var(--linie); stroke-width: 1.5; }
.r-achse { stroke: var(--leise); stroke-width: 2; stroke-linecap: round; }
.r-text { font-family: var(--sans); font-size: 14px; fill: var(--leise); }
.r-saum { stroke: var(--akzent); stroke-width: 3; stroke-linecap: round; }
.r-saum-text { font-family: var(--sans); font-size: 14px; font-weight: 600; fill: var(--akzent-text); }
.r-plakette { fill: var(--akzent); }
.r-kleid { fill: var(--kleid); opacity: 0.85; }

/* Vertrauen */
.liste { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .liste { grid-template-columns: 1fr 1fr; } }
.liste li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.liste svg { width: 28px; height: 28px; fill: none; stroke: var(--akzent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.liste strong { display: block; margin-bottom: 2px; }
.liste span { color: var(--leise); }

/* Mitmachen */
.hinweis-unten { margin-top: 20px; color: var(--leise); }

/* Fragen */
.fragen { margin-top: 24px; max-width: 760px; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  min-height: 60px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 18px; cursor: pointer; list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: none; font: 400 28px/1 var(--sans); color: var(--akzent); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 0 18px; color: var(--leise); max-width: 62ch; }

/* Schluss und Fuß */
.schluss { background: var(--akzent-zart); text-align: center; }
.schluss p { margin: 12px auto 28px; max-width: 40ch; color: var(--leise); font-size: 19px; }
.fuss { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--leise); font-size: 15px; }
.fuss .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fuss a { color: var(--leise); min-height: 44px; display: inline-flex; align-items: center; }

/* Unterseiten (Impressum, 404 …) */
.seite { padding: 32px 0 72px; }
.seite .innen > * + * { margin-top: 16px; }
.seite h2 { font-size: 24px; margin-top: 32px; }
.platzhalter { background: var(--akzent-zart); border-radius: 6px; padding: 0 4px; }
.text-seite { max-width: 760px; }
.text-seite h2 { font-size: 22px; margin-top: 36px; }
.text-seite h3 { font-size: 18px; margin-top: 24px; }
.text-seite p, .text-seite li { max-width: 70ch; }
.text-seite ul { padding-left: 22px; margin: 8px 0 0; }
.text-seite li + li { margin-top: 6px; }
.text-seite .stand { color: var(--leise); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .look-a, .look-b { transition: none; }
  .knopf:active, .knopf-zweit:active { transform: none; }
}
