/* senzo. Webseite. Farben, Schrift und Maße nach docs/CI.md und docs/DESIGN.md.
   Alle Werte stehen als Variablen oben. Der Akzent ist genau ein Wert (--akzent). */

@font-face { font-family: "Sora"; font-weight: 300; font-style: normal; font-display: swap; src: url("/schrift/sora-light.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 400; font-style: normal; font-display: swap; src: url("/schrift/sora-regular.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("/schrift/sora-semibold.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-style: normal; font-display: swap; src: url("/schrift/sora-extrabold.woff2") format("woff2"); }

:root {
  /* Die Webseite gibt es nur dunkel (Entscheidung Maximilian, 10.11.2026), unabhängig von der Einstellung des Geräts. */
  color-scheme: dark;
  --akzent: #BEFF00;

  --grund: #070707;
  --grund-tief: #0E0E0E;
  --text: #F5F5F5;
  --leise: #9E9E9E;
  --linie: rgb(255 255 255 / 0.12);
  --glas: rgb(30 30 30 / 0.60);
  --glas-rand: rgb(255 255 255 / 0.09);
  --glas-saum: rgb(255 255 255 / 0.07);
  --kopf: rgb(7 7 7 / 0.72);
  --akzent-text: #BEFF00;
  --leuchten: rgb(190 255 0 / 0.17);
  /* Gedämpfte große Schrift vor dem Aufhellen, Kontrast mindestens 3 zu 1. */
  --gedimmt: #626262;
  --schatten-handy: 0 40px 90px -40px rgb(0 0 0 / 0.9);
  --knopf: #F5F5F5;
  --knopf-text: #121212;

  --schrift: "Sora", ui-sans-serif, system-ui, sans-serif;
  --rand: 16px;
  --breite: 1180px;
  --radius-klein: 16px;
  --radius: 24px;
  --radius-gross: 32px;
  --kopf-hoehe: 56px;
}

@media (min-width: 720px) { :root { --rand: 32px; } }
@media (min-width: 1100px) { :root { --rand: 48px; } }

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Weicher grüner Leuchtfleck links unten, wie in der App. */
body::before {
  content: "";
  position: fixed;
  left: -30vmax;
  bottom: -30vmax;
  width: 75vmax;
  height: 75vmax;
  background: radial-gradient(closest-side, var(--leuchten), transparent);
  pointer-events: none;
  z-index: -1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--akzent-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--akzent); color: #121212; }

/* Der Punkt im Namen senzo. ist immer #BEFF00 (docs/CI.md). */
.punkt { color: var(--akzent); }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.zum-inhalt {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--knopf); color: var(--knopf-text); padding: 12px 18px; border-radius: 999px; font-weight: 600;
}
.zum-inhalt:focus { top: 12px; }

.innen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

/* Kopfbereich: kein Balken, weicher Grund mit Weichzeichner, wie in der App. */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-hoehe);
  background: var(--kopf);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
}
.kopf .innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopf-marke { display: flex; align-items: center; min-height: 44px; }
.wortmarke { display: block; height: 22px; width: auto; }
.wortmarke .buchstaben { fill: var(--text); }
.wortmarke .marken-punkt { fill: var(--akzent); }
.kopf nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kopf nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 14px; color: var(--leise); text-decoration: none; border-radius: 999px;
}
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--text); }
@media (min-width: 720px) { .kopf nav a { font-size: 15px; padding: 0 14px; } }

main { display: block; }

/* Schrift */
.marke-zeile {
  margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--akzent-text);
}
.riesig {
  margin: 0; font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  font-size: clamp(44px, 9.2vw, 118px);
  text-wrap: balance;
}
.gross {
  margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(36px, 6vw, 76px);
  text-wrap: balance;
}
.mittel {
  margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(28px, 3.4vw, 44px);
  text-wrap: balance;
}
.leit {
  margin: 0; color: var(--leise); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 34em;
  text-wrap: pretty;
}
.leit strong { color: var(--text); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* Einstieg */
.einstieg { padding-top: calc(var(--kopf-hoehe) + clamp(56px, 10vw, 120px)); text-align: center; overflow: hidden; }
.einstieg .riesig { max-width: 11em; margin: 0 auto; }
.einstieg .leit { margin: 28px auto 0; max-width: 30em; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.stores--links { justify-content: flex-start; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; min-height: 56px;
  padding: 8px 22px; border-radius: 14px; text-align: left;
  border: 1px solid var(--linie); background: var(--glas);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.store-klein { font-size: 12px; line-height: 1.3; color: var(--leise); }
.store-gross { font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.store-hinweis { margin: 14px 0 0; font-size: 14px; color: var(--leise); }

/* Bühne mit drei Handys */
.buehne {
  position: relative; margin: clamp(56px, 8vw, 96px) auto 0;
  width: clamp(250px, 29vw, 390px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.buehne .handy--seite {
  position: absolute; top: 9%; width: 84%; z-index: -1; opacity: 0.55;
}
.buehne .handy--links { right: 62%; }
.buehne .handy--rechts { left: 62%; }

/* Handy: schlichter, selbst gezeichneter Rahmen */
.handy {
  position: relative; margin: 0;
  aspect-ratio: 393 / 852;
  padding: 2.6%;
  border-radius: 15% / 7%;
  background: #0B0B0B;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 0 1px rgb(0 0 0 / 0.5), var(--schatten-handy);
}
.handy picture, .handy img { width: 100%; height: 100%; }
.handy img { border-radius: 12.6% / 5.9%; object-fit: cover; background: var(--grund); }
.handy::after {
  content: ""; position: absolute; top: 4.1%; left: 50%; transform: translateX(-50%);
  width: 29%; height: 3.5%; border-radius: 999px; background: #000;
}

/* Abschnitte */
.abschnitt { padding: clamp(88px, 12vw, 168px) 0; }
.abschnitt--eng { padding-top: clamp(48px, 6vw, 80px); }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 0; }

.kapitel {
  display: grid; gap: clamp(40px, 6vw, 96px); align-items: center;
  grid-template-columns: 1fr;
}
.kapitel-text { max-width: 520px; }
.kapitel-text .mittel { margin-bottom: 20px; }
.kapitel-text p { color: var(--leise); font-size: 18px; }
.kapitel-text p strong { color: var(--text); font-weight: 600; }
.kapitel-bild { display: flex; justify-content: center; align-items: flex-start; position: relative; }
.kapitel-bild .handy { flex: none; width: clamp(230px, 66vw, 340px); }
.kapitel-bild--paar .handy { width: min(300px, 54%); }
.kapitel-bild--paar .handy + .handy { margin-left: -8%; margin-top: 16%; }
.kapitel-bild--paar .handy:first-child { z-index: 1; }

@media (min-width: 900px) {
  .kapitel { grid-template-columns: 5fr 6fr; }
  .kapitel--rechts { grid-template-columns: 6fr 5fr; }
  .kapitel--rechts .kapitel-text { order: 2; }
  .kapitel--rechts .kapitel-bild { order: 1; }
}

.fakten { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.fakten li { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.fakten li > span:first-child { font-weight: 600; }
.fakten li > span:last-child { color: var(--leise); }
@media (min-width: 560px) {
  .fakten li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; }
  .fakten li > span:last-child { text-align: right; }
}

.premium-marke {
  display: inline-block; vertical-align: 0.2em; margin-left: 6px; padding: 2px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--akzent-text); color: var(--akzent-text); border-radius: 999px;
}

/* Funktionen: Überschrift */
.funktionen-kopf { max-width: 900px; margin-bottom: clamp(72px, 10vw, 140px); }
.funktionen-kopf .leit { margin-top: 24px; }
.kapitel + .kapitel { margin-top: clamp(120px, 16vw, 220px); }

/* Plangenerator: ruhige große Fläche */
.flaeche {
  border-radius: var(--radius-gross);
  background: var(--glas);
  border: 1px solid var(--glas-rand);
  box-shadow: inset 0 1px 0 var(--glas-saum);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  text-align: center;
}
.flaeche .gross { max-width: 13em; margin: 0 auto; }
.flaeche .leit { margin: 24px auto 0; }
.flaeche .handy { width: clamp(220px, 30vw, 330px); margin: clamp(48px, 6vw, 72px) auto 0; transform: translateY(12%); }
.zahlen {
  display: grid; grid-template-columns: 1fr; gap: 0; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0; list-style: none;
  max-width: 900px; text-align: left;
}
.zahlen li { padding: 18px 0; border-top: 1px solid var(--linie); }
.zahl { display: block; white-space: nowrap; font-weight: 300; font-size: clamp(38px, 4.2vw, 54px); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums lining-nums; }
.zahl-text { display: block; margin-top: 6px; color: var(--leise); font-size: 16px; }
@media (min-width: 720px) {
  .zahlen { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Leitsatz */
.leitsatz { padding: clamp(120px, 18vw, 240px) 0 clamp(88px, 12vw, 168px); }
.leitsatz .riesig { max-width: 9.5em; }
.leitsatz-unten { margin-top: clamp(64px, 9vw, 120px); }

/* Datenschutz */
.versprechen { display: grid; grid-template-columns: 1fr; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.versprechen li { padding: 28px 0; border-bottom: 1px solid var(--linie); }
.versprechen strong { display: block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.versprechen span { display: block; margin-top: 8px; color: var(--leise); }
@media (min-width: 820px) {
  .versprechen { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* Preise */
.preise { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 820px) { .preise { grid-template-columns: 1fr 1fr; gap: 24px; } }
.preis {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  background: var(--glas); border: 1px solid var(--glas-rand); box-shadow: inset 0 1px 0 var(--glas-saum);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
}
.preis--premium { box-shadow: inset 0 1px 0 var(--glas-saum), 0 0 0 1px var(--akzent-text); border-color: transparent; }
.preis h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.preis-betrag { margin: 18px 0 0; font-weight: 300; font-size: clamp(48px, 6vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }
.preis-betrag small { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--leise); margin-left: 6px; }
.preis-zusatz { margin: 12px 0 0; color: var(--leise); font-size: 16px; }
.preis ul { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.preis li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--linie); position: relative; font-size: 16px; }
.preis li::before {
  content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--leise);
}
.preis--premium li::before { background: var(--akzent-text); }
.preis-test { margin: 24px 0 0; font-weight: 600; }
.kleingedruckt { margin-top: 24px; font-size: 14px; color: var(--leise); max-width: 60em; }

/* Häufige Fragen */
.fragen { margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 18px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary > span { flex: 1; }
.fragen summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--text), var(--text)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 14px no-repeat;
  transition: transform 200ms ease;
}
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen .antwort { padding: 0 0 24px; color: var(--leise); max-width: 46em; }
.fragen .antwort p:last-child { margin-bottom: 0; }
.mehr-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-weight: 600; }

/* Schluss */
.schluss { text-align: center; padding: clamp(120px, 16vw, 220px) 0 clamp(96px, 12vw, 160px); }
.schluss .wortmarke { height: clamp(56px, 9vw, 104px); margin: 0 auto; }
.schluss .leit { margin: 28px auto 0; }

/* Unterseiten */
.unterseite { padding-top: calc(var(--kopf-hoehe) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(80px, 10vw, 140px); }
.unterseite .innen { max-width: calc(820px + 2 * var(--rand)); }
.unterseite .gross { margin-bottom: 20px; }
.unterseite .leit { margin-bottom: 40px; }
.unterseite .mittel { margin: clamp(56px, 7vw, 88px) 0 0; }
.unterseite .fragen + .text { margin-top: clamp(56px, 7vw, 88px); }
.unterseite .mail { margin-top: -16px; }
.unterseite .stand { color: var(--leise); font-size: 15px; margin: 0 0 40px; }
.text h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 48px 0 12px; }
.text h2:first-child { margin-top: 0; }
.text h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.text p, .text li { color: var(--leise); }
.text p strong, .text li strong { color: var(--text); font-weight: 600; }
.text ul, .text ol { margin: 0 0 1em; padding-left: 22px; }
.text li { margin-bottom: 8px; }
.text li::marker { color: var(--leise); }
.text a { color: var(--text); }
.karte {
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  background: var(--glas); border: 1px solid var(--glas-rand); box-shadow: inset 0 1px 0 var(--glas-saum);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  margin: 0 0 24px;
}
.karte > :last-child { margin-bottom: 0; }
.schritte { counter-reset: schritt; list-style: none; padding: 0 !important; }
.schritte li { counter-increment: schritt; position: relative; padding-left: 44px; margin-bottom: 16px; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--linie); color: var(--text); font-size: 14px; font-weight: 600; display: grid; place-items: center;
}
.mail { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.mail:hover { text-decoration: underline; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 48px 0 40px; font-size: 14px; color: var(--leise); }
.fuss-oben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.fuss .wortmarke { height: 20px; }
.fuss nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 15px; }
.fuss nav a:hover { text-decoration: underline; }
.fuss-text { margin-top: 32px; max-width: 64em; }
.fuss-text p { margin: 0 0 8px; font-size: 13px; line-height: 1.55; }

/* Bewegung: wenige, bewusste Effekte, nur mit CSS. Bei "Bewegung reduzieren" gar keine. */
@media (prefers-reduced-motion: no-preference) {
  .einstieg-text > * { animation: auftauchen 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .einstieg-text > *:nth-child(2) { animation-delay: 80ms; }
  .einstieg-text > *:nth-child(3) { animation-delay: 160ms; }
  .buehne { animation: auftauchen 1200ms 200ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  @supports (animation-timeline: view()) {
    /* Die beiden äußeren Handys gleiten beim Scrollen nach außen. */
    .buehne .handy--links { animation: nach-links linear both; animation-timeline: view(); animation-range: exit -40% exit 60%; }
    .buehne .handy--rechts { animation: nach-rechts linear both; animation-timeline: view(); animation-range: exit -40% exit 60%; }

    /* Der Leitsatz hellt sich Wort für Wort auf. */
    .enthuellen .wort { animation: aufhellen linear both; animation-timeline: view(); }
    .enthuellen .wort:nth-child(1) { animation-range: entry 60% cover 30%; }
    .enthuellen .wort:nth-child(2) { animation-range: entry 75% cover 34%; }
    .enthuellen .wort:nth-child(3) { animation-range: entry 90% cover 38%; }
    .enthuellen .wort:nth-child(4) { animation-range: cover 22% cover 42%; }
    .enthuellen .wort:nth-child(5) { animation-range: cover 26% cover 46%; }

    /* Handys in den Kapiteln steigen leicht auf. */
    .steigt { animation: steigen linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}

@keyframes auftauchen { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nach-links { to { transform: translateX(-14%) rotate(-2deg); } }
@keyframes nach-rechts { to { transform: translateX(14%) rotate(2deg); } }
@keyframes aufhellen { from { color: var(--gedimmt); } to { color: var(--text); } }
@keyframes steigen { from { transform: translateY(64px); } to { transform: none; } }

@media (forced-colors: active) {
  .handy { border: 1px solid CanvasText; }
  .punkt { color: CanvasText; }
}
