/* ==========================================================================
   FEMALEMETRIX SCORE — Einstiegsseite (check.html)
   --------------------------------------------------------------------------
   Gilt AUSSCHLIESSLICH für den Intro-Bereich (#checkIntro.sc-page). Fragebogen
   (#checkWizard) und Ergebnis (#checkResult) bleiben unberührt — keine Regel
   hier kann sie treffen.

   Keine neuen Farben, keine neuen Schriften: dieselben Tokens wie überall
   (--status-active, --hairline, --font-display/-body/-mono). Neu ist nur die
   Komposition: ein Instrument statt einer Kartenwand.

   Aufbau
     00  Rhythmus & Container
     01  Wiederaufnahme (letzter Score)
     02  Hero
     03  Ergebnis-Vorschau (Beispielauswertung)
     04  Listen-Ebene (was du bekommst, Methodik)
     05  Analysebereiche
     06  Editorial (Warum ein Score?)
     07  Abschluss-CTA & Abgrenzung
     08  Bewegung
   ========================================================================== */

/* --------------------------------------------------------------------------
   00 · RHYTHMUS & CONTAINER
   Drei Stufen statt überall gleich viel Luft. Der Hero steht dicht unter der
   Kopfleiste, damit der Startknopf auf dem Telefon ohne Scrollen erreichbar
   ist; erst darunter beginnt der ruhige Abschnittstakt.
   -------------------------------------------------------------------------- */
.sc-page { position: relative; }

/* Sichtbarer Tastaturfokus: dieselbe Marke wie auf den übrigen Seiten
   (2 px Cyan, 3 px Abstand) statt des voreingestellten Browser-Rings, der
   auf dunklem Grund kaum zu erkennen ist. */
.sc-page .btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.sc-hero {
  padding: calc(var(--header-h) + clamp(26px, 5vw, 68px)) 0 clamp(34px, 5vw, 60px);
  position: relative;
}

.sc-sec { padding: clamp(46px, 6vw, 88px) 0; border-top: 1px solid var(--hairline); }
.sc-sec-tight { padding: clamp(36px, 4.4vw, 60px) 0; }

/* Alle Abschnitte laufen im breiten Container, damit sie dieselbe linke Kante
   haben wie der Hero. Gelesen wird trotzdem in einer schmalen Spalte — sonst
   werden aus zwei Zeilen Fließtext eine über die halbe Bildschirmbreite. */
.sc-col { max-width: 900px; }

/* Ruhiger Flächenwechsel statt harter Kante — eine Stufe heller. */
/* War eine halbtransparente Dunkelfläche über dem Ambient — auf hellem Grund
   ergab das ein mittelgraues Band quer über die Seite. Jetzt Apples Bandton. */
.sc-band { background: var(--bg-1); }

/* Abschnittskopf: Mono-Kicker, Überschrift, optionaler Fließtext. */
/* Der Abschnittskopf ist kein Systemlabel, sondern Apples Eyebrow: derselbe
   Grad wie der Lead, blau, normal gesetzt, direkt über der Überschrift. */
.sc-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1875rem, 2vw, 1.3125rem);
  letter-spacing: -0.014em;
  color: var(--accent);
  margin-bottom: 6px;
}
.sc-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.4vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0;
}
.sc-sub {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: clamp(0.97rem, 2.4vw, 1.06rem);
  line-height: 1.62;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   01 · WIEDERAUFNAHME
   Wird nur eingeblendet, wenn ein vollständiges Ergebnis vorliegt (check.js
   entfernt dazu das inline gesetzte display:none). Erstbesucher sehen hier
   nichts — kein Status, keine Andeutung gespeicherter Daten.
   -------------------------------------------------------------------------- */
/* Struktur statt Karte: zwei Haarlinien, sonst nichts. Der Streifen darf den
   Einstieg nicht verdrängen — er meldet einen Zustand, er wirbt nicht. */
.sc-resume {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.6vw, 26px);
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.sc-resume-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.sc-resume [data-score] {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sc-resume [data-show] { margin-left: auto; }
/* check.js hängt bei fälligem Wiederholungs-Score einen Hinweis an. */
.sc-resume > p { flex-basis: 100%; }

/* Auf schmalen Geräten belegt die Wertzeile die volle Breite; der Knopf
   rutscht darunter — dort aber in seiner eigenen Breite, nicht über die
   ganze Zeile. Volle Breite ist auf dieser Seite dem Start vorbehalten. */
@media (max-width: 470px) {
  .sc-resume [data-show] { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   02 · HERO
   Reihenfolge = Wichtigkeit: Was ist das → Was finde ich heraus → Warum →
   Aufwand → Handlung. Alles darüber hinaus steht unterhalb.
   -------------------------------------------------------------------------- */
/* Bis Tablet eine Spalte, im Lesefluss: Text, Handlung, Vorschau. Erst wenn
   wirklich Platz ist, stellt sich die Vorschau daneben — dann steht das
   Versprechen (Text) und sein Beleg (Auswertung) nebeneinander im Blick. */
.sc-hero-inner { display: block; }
.sc-hero-copy { min-width: 0; }
.sc-hero .eyebrow { margin-bottom: 16px; }

@media (min-width: 1020px) {
  .sc-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(36px, 4vw, 62px);
    align-items: center;
  }
  .sc-hero .sc-preview { margin-top: 0; }
  .sc-h1 { font-size: clamp(2.6rem, 3.9vw, 3.6rem); max-width: none; }
}

.sc-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 7.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 15ch;
}

.sc-lead {
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  max-width: 56ch;
  font-size: clamp(1rem, 2.6vw, 1.14rem);
  line-height: 1.6;
  color: var(--muted);
}

/* Meta-Zeile: drei Fakten, getrennt durch Haarlinien statt durch Icons. */
.sc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}
.sc-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.sc-meta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--status-active);
  opacity: 0.75;
  flex-shrink: 0;
}

.sc-cta { margin-top: clamp(22px, 3vw, 32px); }
/* Gesperrte Versalien waren die Handschrift des alten Standes; die
   Beschriftung läuft jetzt normal wie jede andere Handlung. */
.sc-cta .btn { letter-spacing: -0.012em; }
.sc-cta-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted-2);
}

@media (max-width: 600px) {
  /* Der Startknopf ist auf dem Telefon die Hauptfläche — volle Breite,
     sichere Tippgröße, kein Umbruch der Beschriftung nötig. */
  .sc-cta .btn { width: 100%; min-height: 54px; font-size: 1rem; }
  .sc-h1 { max-width: none; }
}

/* --------------------------------------------------------------------------
   03 · ERGEBNIS-VORSCHAU
   Zeigt vor dem Start, was nach dem Start entsteht: Gesamtwert, Einordnung,
   primärer Engpass, Folgeprioritäten. Ausdrücklich als Beispielauswertung
   gekennzeichnet — es werden keine Nutzerdaten vorgetäuscht.
   -------------------------------------------------------------------------- */
.sc-preview { margin: clamp(28px, 4vw, 44px) 0 0; }
.sc-pv {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.sc-pv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}
.sc-pv-head .sys { color: var(--status-active); }
/* Nicht .tag: die globale Klasse ist eine Pille mit Rahmen und Fläche —
   hier soll die Kennzeichnung eine stille Beschriftung bleiben. */
.sc-pv-head .mark { color: var(--muted-2); }

.sc-pv-body { padding: clamp(18px, 3.4vw, 26px); }

/* Kopfzeile der Auswertung: Ring + Wert + Einordnung. */
.sc-pv-score {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.4vw, 24px);
}
.sc-ring { width: clamp(78px, 20vw, 96px); height: clamp(78px, 20vw, 96px); flex-shrink: 0; }
.sc-ring circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.sc-ring .track { stroke: var(--line); }
/* Umfang bei r=52: 2π·52 = 326.7. Ziel 68 % → Rest 32 % = 104.5. */
.sc-ring .val { stroke: url(#scRingGrad); stroke-dasharray: 326.7; stroke-dashoffset: 104.5; }

.sc-pv-figures { min-width: 0; }
.sc-pv-figures .k {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}
.sc-pv-figures .v {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}
.sc-pv-figures .v small { font-size: 0.42em; font-weight: 600; color: var(--muted-2); letter-spacing: 0.04em; }
.sc-pv-figures .lvl {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--status-active);
}

/* Engpass-Zeile — gleiche Sprache wie das echte Ergebnis-Dashboard. */
.sc-pv-row { margin-top: clamp(18px, 3vw, 24px); padding-top: clamp(16px, 2.6vw, 20px); border-top: 1px solid var(--hairline); }
.sc-pv-row .k {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--status-attention);
}
.sc-pv-row .k em { font-style: normal; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.sc-pv-row .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  letter-spacing: -0.01em;
  margin: 5px 0 10px;
}
.sc-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sc-bar > span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--status-attention);
  transform-origin: left center;
}

.sc-pv-next {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--muted);
}
.sc-pv-next b {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

/* Steht bewusst UNTER der Karte, nicht darin: eine Bildunterschrift ist eine
   Aussage über die Darstellung, kein Teil der dargestellten Auswertung. */
.sc-pv-note {
  margin: 12px 2px 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   04 · LISTEN-EBENE
   Struktur statt Karten: nummerierte Zeilen auf Haarlinien. Auf dem Telefon
   eine Spalte, ab Tablet zwei — nichts wird zur Kachelwand.
   -------------------------------------------------------------------------- */
.sc-list { margin: clamp(24px, 3.4vw, 34px) 0 0; padding: 0; list-style: none; }
.sc-list > li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 3px 12px;
  padding: 15px 0;
  border-top: 1px solid var(--hairline);
}
.sc-list > li:last-child { border-bottom: 1px solid var(--hairline); }
.sc-list .i {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--status-active);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.sc-list h3 {
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  min-width: 0;
}
.sc-list p {
  grid-column: 2;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
  min-width: 0;
}

/* Ab Tablet läuft die Zeile durch: Index · Bezeichnung · Erklärung. Das liest
   sich wie ein Messprotokoll und spart gegenüber gestapelten Blöcken Höhe. */
@media (min-width: 780px) {
  .sc-list > li { grid-template-columns: 40px minmax(190px, 15vw) 1fr; align-items: baseline; column-gap: clamp(16px, 2.4vw, 28px); }
  .sc-list p { grid-column: 3; }
}

/* --------------------------------------------------------------------------
   05 · ANALYSEBEREICHE
   Zwölf Bereiche als kompakte Matrix — keine zwölf Boxen. Mono-Index links,
   Bezeichnung rechts, nur Haarlinien dazwischen.
   -------------------------------------------------------------------------- */
.sc-matrix {
  display: grid;
  /* Feste Spaltenzahl statt auto-fill: zwölf Bereiche sollen immer volle
     Reihen bilden — 6×2, 4×3, 2×6. Eine angebrochene Reihe sähe aus, als
     fehle etwas. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(16px, 3vw, 32px);
  margin: clamp(24px, 3.4vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}
.sc-matrix li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
  overflow-wrap: break-word;
}
.sc-matrix li span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

@media (min-width: 620px) { .sc-matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sc-matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sc-note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   06 · EDITORIAL
   „Setup grau → Auflösung hell": derselbe typografische Griff wie auf der
   Über-Seite, damit die Marke eine Handschrift behält.
   -------------------------------------------------------------------------- */
.sc-say {
  max-width: 46ch;
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--muted-2);
}
.sc-say b { color: var(--text); font-weight: 700; }

.sc-body { max-width: 58ch; margin: clamp(18px, 2.6vw, 24px) 0 0; font-size: clamp(0.97rem, 2.4vw, 1.04rem); line-height: 1.68; color: var(--muted); }
.sc-body + .sc-body { margin-top: 14px; }

/* --------------------------------------------------------------------------
   07 · ABSCHLUSS-CTA & ABGRENZUNG
   Genau eine Handlung. Keine zweite Spur, kein Newsletter, kein Shop.
   -------------------------------------------------------------------------- */
.sc-close { text-align: center; }
.sc-close .sc-col { margin-left: auto; margin-right: auto; }
.sc-close .sc-h2 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.sc-close .sc-meta { justify-content: center; }
.sc-close .sc-cta .btn { min-width: 260px; }

@media (max-width: 600px) {
  .sc-close .sc-cta .btn { min-width: 0; }
}

/* Der global vor dem Footer eingehängte Lead-Magnet (js/main.js) ist auf der
   Einstiegsseite eine zweite, konkurrierende Handlung — genau das, was diese
   Seite nicht haben darf. Er verschwindet nur hier und nur solange der
   Einstieg sichtbar ist; auf dem Ergebnis (data-score-view="checkResult")
   steht er unverändert. */
html[data-score-view="checkIntro"] #leadBand { display: none; }

.sc-legal {
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  max-width: 66ch;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted-2);
  text-align: left;
}

/* --------------------------------------------------------------------------
   08 · BEWEGUNG
   Nur zwei Gesten: ein einmaliges Eintreten im Hero (CSS, damit sie nicht an
   JavaScript hängt) und das Zeichnen der Vorschau. Alles Weitere übernimmt
   die globale .reveal-Mechanik. Bei prefers-reduce-motion steht alles still.
   -------------------------------------------------------------------------- */
@keyframes scIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes scRing { from { stroke-dashoffset: 326.7; } to { stroke-dashoffset: 104.5; } }
@keyframes scBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sc-hero .eyebrow,
.sc-h1, .sc-lead, .sc-meta, .sc-cta, .sc-preview {
  animation: scIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sc-h1 { animation-delay: 0.05s; }
.sc-lead { animation-delay: 0.1s; }
.sc-meta { animation-delay: 0.15s; }
.sc-cta { animation-delay: 0.2s; }
.sc-preview { animation-delay: 0.26s; }

.sc-ring .val { animation: scRing 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.sc-bar > span { animation: scBar 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both; }

@media (prefers-reduced-motion: reduce) {
  .sc-hero .eyebrow, .sc-h1, .sc-lead, .sc-meta, .sc-cta, .sc-preview,
  .sc-ring .val, .sc-bar > span { animation: none; }
}
