:root {
  --grund: #e2e3de;
  --papier: #eceee8;
  --tinte: #1b1c1e;
  --grau: #5c5d59;
  --linie: rgba(27, 28, 30, 0.16);
  --blau: #2b34e0;
  --blau-text: #eef0ea;
  --schrift: 'Host Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --serif: 'Name The', Georgia, 'Times New Roman', serif;
  --rand: clamp(16px, 3vw, 40px);
  --breite: 1320px;
  --klein: 0.8125rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; margin: 0; }

.kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 52px; padding: 0 var(--rand);
  background: var(--grund); border-bottom: 1px solid var(--linie);
  font-size: var(--klein);
}
.marke { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.marke i { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.kopf__hinweis { margin: 0; color: var(--grau); }

/* Held */
.held {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--rand) 28px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 32px 64px; align-items: end;
}
.held__titel { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.05em; max-width: 17ch; }
.held__lead { margin: 22px 0 0; max-width: 46ch; color: var(--grau); font-size: 1.1875rem; line-height: 1.42; letter-spacing: -0.01em; }
.fakten { margin: 0; border-top: 1px solid var(--tinte); }
.fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.fakten dt { color: var(--grau); }
.fakten dd { margin: 0; font-family: var(--mono); font-size: 0.9375rem; }

/* Vorher-Nachher */
.vergleich { position: relative; margin: 0; overflow: hidden; background: var(--papier); --pos: 50%; touch-action: pan-y; }
.vergleich img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.vergleich__nachher { position: absolute; inset: 0; height: 100%; clip-path: inset(0 0 0 var(--pos)); }
.vergleich__linie { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--blau-text); pointer-events: none; }
.vergleich__griff {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--blau); pointer-events: none;
  display: grid; place-items: center;
}
.vergleich__griff::before, .vergleich__griff::after { content: ''; position: absolute; width: 0; height: 0; border: 6px solid transparent; }
.vergleich__griff::before { border-right-color: var(--blau-text); left: 7px; }
.vergleich__griff::after { border-left-color: var(--blau-text); right: 7px; }
.vergleich__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vergleich__regler:focus-visible ~ .vergleich__griff { outline: 2px solid var(--blau-text); outline-offset: 3px; }
.vergleich__marke {
  position: absolute; bottom: 14px; padding: 5px 10px; font-size: var(--klein); line-height: 1.2;
  background: rgba(27, 28, 30, 0.72); color: var(--blau-text); pointer-events: none;
}
.vergleich__marke--vorher { left: 14px; }
.vergleich__marke--nachher { right: 14px; }
.vergleich--held { width: calc(100% - 2 * var(--rand)); max-width: calc(var(--breite) - 2 * var(--rand)); margin: 0 auto; }
.vergleich--held img { aspect-ratio: 16 / 9; max-height: 82vh; }

/* Ablauf */
.ablauf { max-width: var(--breite); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--rand) 40px; }
.ablauf__titel { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); letter-spacing: -0.04em; line-height: 1.05; max-width: 20ch; margin-bottom: clamp(40px, 6vw, 72px); }
.schritt {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px clamp(32px, 5vw, 80px);
  padding: 36px 0 clamp(56px, 7vw, 96px); border-top: 1px solid var(--tinte);
}
.schritt__text { position: sticky; top: 84px; align-self: start; }
.schritt__nr { display: block; font-family: var(--mono); font-size: var(--klein); color: var(--grau); margin-bottom: 14px; }
.schritt h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 14px; }
.schritt__text p { margin: 0 0 14px; color: var(--grau); max-width: 38ch; }
.link { color: var(--tinte); text-underline-offset: 3px; text-decoration-color: var(--linie); }
.link:hover { text-decoration-color: currentColor; }

.plan { width: 100%; background: #fbfbf9; border: 1px solid var(--linie); padding: clamp(8px, 2vw, 24px); }
.modell { display: block; width: 100%; height: min(78vh, 760px); border: 1px solid var(--linie); background: var(--grund); }

.schalter { display: inline-flex; border: 1px solid var(--tinte); border-radius: 999px; padding: 2px; margin-top: 6px; }
.schalter__knopf {
  appearance: none; font: inherit; font-size: var(--klein); color: var(--tinte); background: transparent;
  border: 0; border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.schalter__knopf[aria-pressed='true'] { background: var(--tinte); color: var(--grund); }

.stile { display: flex; width: fit-content; max-width: 100%; margin-top: 12px; }
.stile .schalter__knopf { white-space: nowrap; }
.vergleich__nachher { transition: opacity 0.3s; }
.vergleich__nachher.ist-wechsel { opacity: 0.4; }

.raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.raster figure { margin: 0; }
.raster img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--papier); transition: opacity 0.25s; }
.raster img.ist-wechsel { opacity: 0.35; }
.raster figcaption, .foto figcaption { margin-top: 8px; font-size: var(--klein); color: var(--grau); }

.stapel { display: grid; gap: 28px; }
.foto { margin: 0; }
.foto__einzeln { position: relative; }
.foto__einzeln img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.foto__offen {
  position: absolute; bottom: 14px; left: 14px; padding: 5px 10px; font-size: var(--klein);
  background: var(--grund); color: var(--tinte);
}

.expose { background: var(--papier); border: 1px solid var(--linie); padding: clamp(20px, 3vw, 36px); max-width: 68ch; }
.expose__titel { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.expose p { margin: 0 0 12px; }
.expose p:last-child { margin-bottom: 0; }

/* Preis */
.preis { background: var(--tinte); color: var(--grund); padding: clamp(56px, 8vw, 104px) var(--rand); }
.preis > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.preis h2 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); letter-spacing: -0.04em; margin-bottom: 28px; }
.preis table { width: 100%; border-collapse: collapse; }
.preis th { text-align: left; font-weight: 400; color: #9a9b96; font-size: var(--klein); padding: 0 0 10px; border-bottom: 1px solid var(--grund); }
.preis td { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(226, 227, 222, 0.2); vertical-align: top; }
.preis tfoot td { font-weight: 500; border-bottom: 0; padding-top: 18px; }
.zahl { text-align: right; font-family: var(--mono); font-size: 0.9375rem; white-space: nowrap; padding-right: 0 !important; }
th.zahl { font-family: var(--schrift); }
.preis__notiz { margin-top: 24px; color: #b9bab4; }

.fuss { max-width: var(--breite); margin: 0 auto; padding: 32px var(--rand) 48px; font-size: var(--klein); color: var(--grau); }
.fuss p { margin: 0 0 8px; max-width: 90ch; }

@media (max-width: 900px) {
  .held { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .schritt { grid-template-columns: minmax(0, 1fr); }
  .schritt__text { position: static; }
  .vergleich--held { width: 100%; }
  .vergleich--held img { aspect-ratio: 4 / 3; }
  .modell { height: 86vh; }
}
@media (max-width: 560px) {
  .stile .schalter__knopf { padding: 6px 11px; }
  .raster { grid-template-columns: minmax(0, 1fr); }
  .kopf__hinweis { font-size: 0.75rem; }
  .preis td.zahl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
