/* Großformat: jede Frage füllt den Bildschirm. Handy: Bild als Hintergrund, Inhalt unten.
   Ab 900 px: Bild links, Inhalt rechts. */
:root {
  --rot: #981919;
  --grund: #121212;
  --text: #f4f2ef;
  --text-leise: rgba(244, 242, 239, .72);
  --linie: rgba(244, 242, 239, .22);
  --kachel: rgba(255, 255, 255, .08);
  --kachel-hover: rgba(255, 255, 255, .16);
  --weiss: #fff;
  --schrift-titel: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --schrift: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { background: var(--grund); }
body { margin: 0; font-family: var(--schrift); color: var(--text); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--weiss); outline-offset: 3px; }

/* Kopf liegt über dem Bild */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 16px; pointer-events: none; }
.logo { display: inline-block; background: var(--weiss); border-radius: 8px; padding: 6px 10px; pointer-events: auto; }
.logo img { height: 28px; width: auto; }

/* Bühne */
.buehne { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.buehne-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buehne::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,18,18,.1) 0%, rgba(18,18,18,.25) 30%, rgba(18,18,18,.92) 62%, var(--grund) 80%);
}
.buehne-inhalt { position: relative; z-index: 2; width: 100%; max-width: 640px; padding: 120px 20px 40px; }
/* Im Ergebnis soll das Futon auf dem Handy ganz zu sehen sein: Bild oben, Inhalt darunter. */
.buehne-produkt { justify-content: flex-start; }
.buehne-produkt .buehne-bild { position: relative; height: 56vh; height: 56svh; background: #f3f1ed; }
.buehne-produkt::before { inset: 0 0 auto; height: 56vh; height: 56svh; background: linear-gradient(180deg, rgba(18,18,18,.25) 0%, transparent 25%, transparent 60%, var(--grund) 100%); }
.buehne-produkt .buehne-inhalt { margin-top: -72px; padding-top: 0; }

h1, h2, h3 { font-family: var(--schrift-titel); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; margin-bottom: 14px; }
h2 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
p { margin: 0 0 12px; }
.leise { color: var(--text-leise); }

/* Fortschritt */
.fortschritt { display: flex; gap: 6px; margin-bottom: 10px; }
.fortschritt i { flex: 1; height: 3px; border-radius: 2px; background: var(--linie); }
.fortschritt i.an { background: var(--weiss); }
.schritt { font-size: .85rem; color: var(--text-leise); margin-bottom: 10px; letter-spacing: .02em; }

/* Knöpfe */
.knopf {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--weiss); color: var(--grund); font: inherit; font-weight: 700;
  padding: 15px 30px; text-decoration: none; text-align: center;
}
.knopf:hover { background: #e9e6e1; }
.knopf.breit { display: block; width: 100%; }
.knopf.zweit { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf.zweit:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.textlink { background: none; border: 0; color: var(--text-leise); font: inherit; cursor: pointer; padding: 10px 0; text-decoration: underline; }
.zurueck-oben { position: absolute; top: 18px; right: 16px; z-index: 3; color: var(--weiss); text-shadow: 0 1px 3px rgba(0,0,0,.6); padding: 6px 4px; }

/* Antworten */
.optionen { display: grid; gap: 10px; margin: 18px 0 8px; }
.optionen.bilder { grid-template-columns: repeat(2, 1fr); }
.option {
  position: relative; overflow: hidden; border: 1.5px solid transparent; border-radius: 14px;
  background: var(--kachel); color: var(--text); font: inherit; text-align: left; cursor: pointer; padding: 18px;
}
.option:hover { background: var(--kachel-hover); }
.option[aria-pressed="true"] { border-color: var(--weiss); }
.option strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.optionen.bilder .option { min-height: 120px; padding: 0; display: flex; align-items: flex-end; }
.optionen.bilder .option img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.optionen.bilder .option::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.optionen.bilder .option strong { position: relative; z-index: 1; padding: 10px 12px; font-size: .95rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* Gewicht */
.gewicht { margin: 8px 0 20px; }
.gewicht-wert { font-family: var(--schrift-titel); font-size: clamp(4.5rem, 20vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.gewicht-wert small { font-size: 1.4rem; font-weight: 400; letter-spacing: 0; margin-left: 6px; color: var(--text-leise); }
.gewicht-zeile { display: flex; gap: 14px; align-items: center; margin: 18px 0 12px; }
.gewicht input[type="range"] { flex: 1; accent-color: var(--weiss); }
.gewicht input[type="number"] {
  width: 90px; font: inherit; padding: 8px 10px; color: var(--text); background: var(--kachel);
  border: 1px solid var(--linie); border-radius: 8px;
}

/* Ergebnis */
.marke { display: inline-block; background: var(--rot); color: var(--weiss); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.antworten { font-size: .9rem; color: var(--text-leise); margin-bottom: 10px; }
.fakten { color: var(--text-leise); font-size: .95rem; margin: 4px 0 18px; }
.alternativen { display: grid; gap: 10px; margin: 28px 0 8px; }
.alternativen h2 { font-size: .8rem; font-family: var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); margin: 0; }
.alternative { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; background: var(--kachel); border-radius: 14px; padding: 10px; text-decoration: none; }
.alternative:hover { background: var(--kachel-hover); }
.alternative img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #f3f1ed; }
.alternative h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.alternative p { font-size: .88rem; color: var(--text-leise); margin: 0 0 4px; }
.alternative .preis { font-size: .85rem; }

.hinweis { border-left: 2px solid var(--rot); padding: 6px 0 6px 14px; margin: 16px 0; color: var(--text-leise); }
.warum { border-top: 1px solid var(--linie); margin-top: 24px; padding-top: 14px; }
.warum summary { cursor: pointer; font-weight: 600; }
.warum p { color: var(--text-leise); margin-top: 10px; }
.beratung { margin-top: 28px; padding: 20px; border-radius: 14px; background: var(--kachel); }
.beratung p { color: var(--text-leise); }

/* Breite Bildschirme: Bild links, Inhalt rechts */
@media (min-width: 900px) {
  .buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .buehne::before { display: none; }
  .buehne-bild { position: sticky; top: 0; height: 100vh; }
  .buehne-inhalt { padding: 100px 56px 56px; max-width: 620px; }
  .buehne-produkt { align-items: start; }
  .buehne-produkt .buehne-bild { height: 100vh; object-fit: contain; }
  .buehne-produkt .buehne-inhalt { margin-top: 0; padding-top: 100px; }
  .zurueck-oben { right: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .buehne-inhalt { animation: herein .35s ease-out; }
  @keyframes herein { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
