/* Kertan – Landingpage
   Schriften lokal eingebunden (kein Abruf von Google-Servern). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --chalk: #eceff1;
  --paper: #f9fafb;
  --ink: #16213a;
  --ink-soft: #4a5468;
  --line: #c9cfd8;
  --seal: #b4232c;
  --clear: #2c7a66;
  --scan: #3d8bff;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
}
.skip:focus { left: 0.5rem; }

/* Kopfzeile */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.brand svg { width: 1.9rem; height: 1.9rem; }
.head-link {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: 1.05fr 1fr; }
}
.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}
.hero .lede {
  font-size: clamp(1.15rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 2rem;
}
.launch {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #24345a; text-decoration: none; }

/* Beispielbericht */
.report {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(22, 33, 58, 0.45);
}
.report-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 5.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.report-head strong { color: var(--ink); font-weight: 500; }

.strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 0.5rem;
}
.frame {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background:
    radial-gradient(ellipse 38% 30% at 50% 40%, #c9b8a6 0 60%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #3b4a66 0 70%, transparent 72%),
    linear-gradient(#8e9bb0, #6c7a92);
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.frame:nth-child(2n) { filter: saturate(0.9) brightness(1.03); }
.frame.flag { outline-color: var(--seal); }
.strip-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.strip-note span { color: var(--seal); }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.checks .name { font-weight: 650; font-size: 0.98rem; }
.checks .finding { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-soft); }
.checks .value { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; }
.bar {
  grid-column: 1 / -1;
  height: 4px;
  background: #dde2e8;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.35rem;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--v);
  background: var(--seal);
  transform-origin: left;
}

.verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.verdict .label { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.verdict .result { font-size: 1.35rem; line-height: 1.2; font-weight: 750; letter-spacing: -0.015em; margin: 0.1rem 0 0; color: var(--seal); }
.verdict .pct { font-family: var(--mono); font-size: 2rem; font-weight: 500; color: var(--seal); white-space: nowrap; }

.report-foot {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.stamp {
  position: absolute;
  right: -1.6rem;
  top: -1.9rem;
  width: 7.5rem;
  height: 7.5rem;
  color: var(--seal);
  transform: rotate(-12deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (max-width: 40rem) {
  .stamp { right: -0.5rem; top: -2.4rem; width: 6rem; height: 6rem; }
}

/* Intro-Sequenz (gesteuert per JS in index.html, nur ohne "reduzierte Bewegung") */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 33, 58, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 33, 58, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 50% 65% at 74% 50%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 50% 65% at 74% 50%, #000 0%, transparent 78%);
  pointer-events: none;
}
@media (max-width: 60rem) {
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 75%, #000 0%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 40% at 50% 75%, #000 0%, transparent 80%);
  }
}

.report { transition: box-shadow 400ms ease; }
.report.scanning {
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.45), 0 18px 50px -24px rgba(61, 139, 255, 0.55);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: var(--ink);
}
.status b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
}
.report.scanning .status i,
html.anim .report:not(.done) .status i {
  background: var(--scan);
  box-shadow: 0 0 0 0 rgba(61, 139, 255, 0.6);
  animation: pulse 1.1s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 7px rgba(61, 139, 255, 0); } }

.strip { position: relative; }
.frame { position: relative; transition: outline-color 200ms ease; }
.frame.flag::after {
  content: "";
  position: absolute;
  inset: 16% 20% 36%;
  border: 1.5px solid var(--seal);
  border-radius: 1px;
  transition: opacity 200ms ease, transform 200ms ease;
}
.scan {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 0;
  width: 2px;
  background: var(--scan);
  box-shadow: 0 0 10px 2px rgba(61, 139, 255, 0.75);
  opacity: 0;
  pointer-events: none;
}
.scan::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 48px;
  background: linear-gradient(90deg, rgba(61, 139, 255, 0), rgba(61, 139, 255, 0.22));
}
.report.scanning .scan { opacity: 1; }

html.anim .frame.flag:not(.hit) { outline-color: transparent; }
html.anim .frame.flag:not(.hit)::after { opacity: 0; transform: scale(1.25); }

html.anim .strip-note { opacity: 0; transition: opacity 400ms ease; }
html.anim .strip-note.show { opacity: 1; }

html.anim .bar i { transform: scaleX(0); transition: transform 800ms cubic-bezier(.2, .7, .2, 1); }
html.anim .checks li.go .bar i { transform: scaleX(1); }

html.anim .verdict .result { opacity: 0; transform: translateY(4px); transition: opacity 400ms ease, transform 400ms ease; }
html.anim .verdict.show .result { opacity: 1; transform: none; }

html.anim .stamp { opacity: 0; }
html.anim .stamp.land { animation: stamp 420ms cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stamp {
  from { opacity: 0; transform: rotate(-4deg) scale(1.6); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}

/* Abschnitte */
.section {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.section-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) {
  .section-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.section h2,
.waitlist h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin: 0;
  max-width: 14ch;
}
.section .intro {
  color: var(--ink-soft);
  max-width: 24rem;
  margin: 1rem 0 0;
}

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1;
  color: var(--ink);
}
.steps h3 { font-size: 1.15rem; margin: 0 0 0.35rem; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-soft); max-width: var(--measure); }

.note {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
  max-width: var(--measure);
}

.audiences { margin: 0; display: grid; gap: 0; }
@media (min-width: 40rem) {
  .audiences { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}
.audiences div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.audiences dt { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.audiences dd { margin: 0; color: var(--ink-soft); }

/* Name */
.name-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.1rem;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
.name-eq .op { color: var(--ink-soft); font-weight: 400; }
.name-eq .part { display: inline-flex; flex-direction: column; }
.name-eq .part small {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}
.section p.body { max-width: var(--measure); margin: 0; }

.promises { list-style: none; margin: 0; padding: 0; }
.promises li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.promises strong { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.promises span { color: var(--ink-soft); }

/* Warteliste */
.waitlist {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
  display: grid;
  gap: 2rem;
}
@media (min-width: 60rem) {
  .waitlist { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
.waitlist h2 { color: var(--paper); max-width: 12ch; }
.waitlist .intro { color: #c3cad8; }
.waitlist a { color: var(--paper); }

.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.field .opt { font-weight: 400; color: #aab3c5; }
.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.75rem 0.85rem;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316213a' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.75rem; padding-right: 2.5rem; }
.field input:focus-visible,
.field select:focus-visible,
.consent input:focus-visible { outline: 3px solid #8fb3ff; outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9rem;
  color: #c3cad8;
}
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--paper); }

.form .button { background: var(--paper); color: var(--ink); justify-self: start; }
.form .button:hover { background: #ffffff; }
.form-msg { min-height: 1.5rem; margin: 0; font-size: 0.95rem; }
.form-msg.error { color: #ffb3b3; }
.form-msg.ok { color: #9fe0c9; }

.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Fußzeile */
.site-foot {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-foot nav { display: flex; gap: 1.5rem; }

/* Rechtstexte */
.legal {
  max-width: 46rem;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.25rem 0 0.6rem; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { max-width: 40rem; }
.legal .todo { background: #fff3c4; padding: 0 0.25rem; border-radius: 2px; }

/* Gründungsmitglied-Seite */
.founder-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 60rem) { .founder-hero { grid-template-columns: 1.3fr 1fr; } }
.founder-hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.5rem;
  max-width: 13ch;
}
.founder-hero .lede { font-size: clamp(1.15rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; margin: 0; }
.founder-seal { justify-self: center; width: min(19rem, 70vw); color: var(--ink); }
.founder-seal svg { width: 100%; height: auto; display: block; transform: rotate(-8deg); }
.founder-seal figcaption { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .founder-seal svg { animation: seal-in 520ms cubic-bezier(.3,1.5,.5,1) 250ms both; }
}
@keyframes seal-in {
  from { opacity: 0; transform: rotate(4deg) scale(1.35); }
  to { opacity: 1; transform: rotate(-8deg) scale(1); }
}

.tiers { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 56rem) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.tier.featured { border: 2px solid var(--ink); }
.tier h3 { font-size: 1.3rem; letter-spacing: -0.015em; margin: 0; }
.tier .badge-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0.2rem 0 0; min-height: 1.3rem; }
.tier .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 1.25rem 0 0.35rem; }
.tier .price-note { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 1.25rem; }
.tier ul { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; }
.tier li { padding: 0.55rem 0 0.55rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.tier li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--clear);
  border-bottom: 2px solid var(--clear);
  transform: rotate(-45deg);
}
.tier .button { text-align: center; }
.tier.featured .button { background: var(--ink); }
.tier:not(.featured) .button { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tier:not(.featured) .button:hover { background: #e3e7ec; }
.tier-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4rem; color: var(--seal); }
.tiers-foot { color: var(--ink-soft); font-size: 0.9rem; margin: 1.25rem 0 0; max-width: 46rem; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-weight: 650;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 1.3rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: var(--measure); }

.founder-teaser {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 60rem) { .founder-teaser { grid-template-columns: 1fr 2fr; gap: 4rem; } }
.founder-teaser p { margin: 0 0 1.25rem; max-width: var(--measure); color: var(--ink-soft); }

/* Helfer-Programm */
.helper-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 60rem) { .helper-hero { grid-template-columns: 1fr 1.05fr; } }
.helper-hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.5rem;
  max-width: 12ch;
}
.helper-hero .lede { font-size: clamp(1.15rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; margin: 0 0 2rem; }

.task {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(22, 33, 58, 0.45);
}
.task-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.35rem; }
.task-head strong { font-size: 1.05rem; }
.task-head span { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }
.task p.q { margin: 0 0 1rem; color: var(--ink-soft); }
.pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 1rem; }
@media (min-width: 30rem) { .pick { grid-template-columns: repeat(8, 1fr); gap: 6px; } }
.pick button {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  border-radius: 3px;
  cursor: pointer;
  background:
    radial-gradient(ellipse 38% 30% at 50% 40%, #c9b8a6 0 60%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #3b4a66 0 70%, transparent 72%),
    linear-gradient(#8e9bb0, #6c7a92);
  outline: 2px solid transparent;
  outline-offset: 2px;
  overflow: hidden;
}
.pick button:nth-child(2n) { filter: brightness(1.03); }
/* Artefakt: verschobene Mundpartie in manipulierten Frames */
.pick button.fake::before {
  content: "";
  position: absolute;
  left: 30%;
  width: 40%;
  top: 44%;
  height: 9%;
  background: #d6a892;
  transform: translateX(9%);
  filter: blur(0.4px);
}
.pick button span {
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #fff;
  opacity: 0.85;
}
.pick button[aria-pressed="true"] { outline-color: var(--ink); }
.pick button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px var(--paper);
  border-radius: 3px;
}
.pick button.right { outline-color: var(--clear); }
.pick button.wrong { outline-color: var(--seal); }
.pick button.missed { outline: 2px dashed var(--seal); }
.task-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.task-result { margin: 1rem 0 0; min-height: 1.5rem; }
.task-result strong { display: block; }
.task-result .credit { font-family: var(--mono); color: var(--clear); font-weight: 500; }
.task-note { font-size: 0.8rem; color: var(--ink-soft); margin: 1rem 0 0; }

.task-types { list-style: none; margin: 0; padding: 0; }
.task-types li { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.task-types li:first-child { border-top: 1px solid var(--line); }
.task-types strong { font-size: 1.1rem; }
.task-types .val { font-family: var(--mono); font-weight: 500; text-align: right; white-space: nowrap; }
.task-types .desc { color: var(--ink-soft); grid-column: 1 / -1; }

.levels { display: grid; gap: 0; }
@media (min-width: 48rem) { .levels { grid-template-columns: repeat(4, 1fr); } }
.level { padding: 1.1rem 1.25rem 1.1rem 0; border-top: 3px solid var(--line); }
@media (min-width: 48rem) { .level { padding-right: 1.25rem; } }
.level:nth-child(2) { border-top-color: #8e9bb0; }
.level:nth-child(3) { border-top-color: #4a5468; }
.level:nth-child(4) { border-top-color: var(--ink); }
.level h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.level .req { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 0.5rem; }
.level .perk { font-weight: 650; margin: 0; }
.button.secondary-link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.secondary-link:hover { background: #e3e7ec; }

[hidden] { display: none !important; }

/* Gründerliste */
.roll-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; padding-top: clamp(1.5rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3rem); }
.roll-intro h1 { font-size: clamp(2.5rem, 5.8vw, 4.75rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 1.25rem; max-width: 12ch; }
.roll-intro .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; margin: 0; }
.roll-count { text-align: right; }
.roll-count strong { display: block; font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.roll-count span { color: var(--ink-soft); }
.roll { border-top: 1px solid var(--line); padding-top: 2rem; padding-bottom: 2.5rem; }
.roll h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin: 0 0 1.25rem; display: flex; align-items: baseline; gap: 0.75rem; }
.roll h2 small { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.founders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); column-gap: 2rem; }
.founders li { display: flex; gap: 0.85rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.founders .no { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }
.partner .founders li { font-weight: 700; font-size: 1.1rem; }
.roll-empty { color: var(--ink-soft); margin: 0; }
.roll-cta { padding-bottom: clamp(3rem, 7vw, 5rem); }

/* =====================================================================
   Dunkles Design und Logo-Intro
   Steht bewusst am Ende: Die geschützten Regeln oben (Beispielbericht,
   Intro-Sequenz, .scan, .status, .stamp) bleiben unverändert und werden
   im dunklen Modus nur ergänzt bzw. überschrieben.
   Aktiv über <html data-theme="dark">, gesetzt von theme.js.
   ===================================================================== */

:root { --grid: rgba(22, 33, 58, 0.07); color-scheme: light; }

:root[data-theme="dark"] {
  --chalk: #0f1626;
  --paper: #182134;
  --ink: #e6eaf0;
  --ink-soft: #a3adbf;
  --line: #2c3850;
  --seal: #ef5a62;
  --clear: #4fbf9f;
  --scan: #5aa0ff;
  --grid: rgba(230, 234, 240, 0.06);
  color-scheme: dark;
}
:root[data-theme="dark"] .button:hover { background: #ffffff; }
:root[data-theme="dark"] .report,
:root[data-theme="dark"] .task { box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(0, 0, 0, 0.7); }
:root[data-theme="dark"] .bar { background: var(--line); }
:root[data-theme="dark"] .stamp { mix-blend-mode: normal; }
:root[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
}
/* Warteliste bleibt ein dunkles Feld mit hellen Eingabefeldern */
:root[data-theme="dark"] .waitlist { background: #1d2a44; color: #f2f4f8; }
:root[data-theme="dark"] .waitlist h2,
:root[data-theme="dark"] .waitlist a { color: #f2f4f8; }
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select { color: #16213a; background-color: #f9fafb; color-scheme: light; }
:root[data-theme="dark"] .consent input { accent-color: #f2f4f8; }
:root[data-theme="dark"] .form .button { background: #f2f4f8; color: #16213a; }
:root[data-theme="dark"] .legal .todo { background: #5a4a12; }
:root[data-theme="dark"] .tier:not(.featured) .button:hover,
:root[data-theme="dark"] .button.secondary-link:hover { background: var(--line); }
:root[data-theme="dark"] .level:nth-child(2) { border-top-color: #4a5468; }
:root[data-theme="dark"] .level:nth-child(3) { border-top-color: #8e9bb0; }

/* Umschalter Hell/Dunkel in der Kopfzeile */
.head-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--ink-soft); }
.theme-toggle svg { width: 1.2rem; height: 1.2rem; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }

/* Logo-Intro der Startseite (Skript in index.html): Logo zeichnet sich,
   wird geprüft und verifiziert, fliegt in die Kopfzeile. Danach startet
   die Bericht-Animation. Bei "Bewegung reduzieren" entfällt es ganz. */
.intro-screen { display: none; }
html.intro { overflow: hidden; }
html.intro .intro-screen {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  cursor: pointer;
}
.intro-bg { position: absolute; inset: 0; background: var(--chalk); }
.intro-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 45%);
          mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 45%);
}
.intro-logo {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  transform-origin: 0 0;
  white-space: nowrap;
  will-change: transform;
}
html.intro .intro-logo { left: 50%; top: 50%; translate: -50% -50%; }
html.intro .intro-logo[style] { translate: none; }
.intro-logo svg { overflow: visible; }
.im-eye, .im-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.im-dot, .im-ring { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.im-ring { stroke: var(--scan); opacity: 0; }
.im-ring-ok { stroke: var(--clear); stroke-width: 0.6; }
.intro-word { display: inline-block; clip-path: inset(0 100% 0 0); opacity: 0; }

.intro-scan { position: absolute; opacity: 0; pointer-events: none; }
.intro-scan i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--scan);
  box-shadow: 0 0 12px 2px rgba(61, 139, 255, 0.7);
}
.intro-scan i::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 72px;
  background: linear-gradient(90deg, rgba(61, 139, 255, 0), rgba(61, 139, 255, 0.22));
}
.intro-status {
  position: absolute;
  left: 50%;
  top: 60%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink-soft);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px);
}
.intro-status b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.intro-status.ok { color: var(--clear); font-weight: 500; }
.is-icon { position: relative; width: 1.25rem; height: 1.25rem; display: inline-grid; place-items: center; }
.is-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--scan);
  animation: pulse 1.1s ease-out infinite;
}
.is-check { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(0); }
.is-check circle { fill: var(--clear); }
.is-check path { stroke: var(--chalk); stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Seite hinter dem Intro: Kopfzeilen-Logo wird vom fliegenden Logo ersetzt, der Rest blendet ein */
html.intro .site-head .brand { visibility: hidden; }
html.intro .head-actions,
html.intro #inhalt,
html.intro .site-foot { opacity: 0; transform: translateY(14px); }
html.intro-out .head-actions,
html.intro-out #inhalt,
html.intro-out .site-foot {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
}
html.intro-out #inhalt { transition-delay: 80ms; }

/* Kopfzeile mit mehreren Links: auf schmalen Bildschirmen umbrechen statt überlaufen */
.head-actions { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 40rem) {
  /* Handy: oben Logo und Umschalter, darunter die Links */
  .site-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.9rem 1rem; padding-bottom: 1rem; }
  .head-actions { display: contents; }
  .site-head .brand { grid-column: 1; grid-row: 1; }
  .theme-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .head-link { grid-row: 2; font-size: 0.9rem; white-space: nowrap; }
  .head-link + .head-link { grid-column: 2; justify-self: end; }
}
/* Intro: auch die einzelnen Kopfzeilen-Elemente einblenden (auf dem Handy hat .head-actions keine eigene Box) */
html.intro .head-actions > * { opacity: 0; }
html.intro-out .head-actions > * { opacity: 1; transition: opacity 650ms ease; }
/* Fußzeilen-Links umbrechen (vorher wurde die Seite auf dem Handy durch die Link-Reihe zu breit) */
.site-foot nav { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
/* Gründerliste: das lange Wort "Gründungsmitglieder" passt sonst auf schmalen Handys nicht in die Zeile */
@media (max-width: 40rem) {
  .roll-intro h1 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); max-width: none; }
  .roll-count { text-align: left; }
}
/* Startseite auf dem Handy (abgestimmt, Ablauf der Bericht-Animation unverändert):
   - Das Hintergrundraster (.hero::before) ragt bis in den Seitenrand: am Hero abschneiden,
     sonst wird die Seite breiter als der Bildschirm. Sichtbar bleibt es bis zum Rand.
   - Hero-Spalten dürfen schmaler werden als ihr breitester Inhalt.
   - Der Bericht nutzt auf dem Handy die volle Breite (statt 40 px Standardrand von <figure>),
     damit die Statuszeile während des Scans hineinpasst. */
/* nur solange der Inhalt die ganze Breite füllt (Inhalt max. 72rem + Seitenrand); auf dem Desktop bleibt das Raster unverändert */
@media (max-width: 78rem) {
  .hero { overflow-x: clip; }
}
.hero > * { min-width: 0; }
@media (max-width: 40rem) {
  .hero .report { margin-left: 0; margin-right: 0; }
}

/* Große Überschriften mit langen Wörtern (z. B. "Gründungsmitglied") auf kleinen Handys */
@media (max-width: 40rem) {
  .founder-hero h1, .helper-hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); }
}
@media (max-width: 22rem) {
  .head-link { font-size: 0.82rem; }
}
.founder-hero > *, .helper-hero > * { min-width: 0; }
@media (max-width: 40rem) {
  .legal h1 { font-size: clamp(1.8rem, 8.5vw, 2.2rem); }
  .founder-seal { margin-left: 0; margin-right: 0; }
}
.legal { overflow-wrap: break-word; }
/* Trennstellen (&shy;) in langen Überschriften nur auf dem Handy nutzen, auf größeren Bildschirmen bleibt das Wort am Stück */
.founder-hero h1, .legal h1, .roll-intro h1 { hyphens: none; }
@media (max-width: 40rem) {
  .founder-hero h1, .legal h1, .roll-intro h1 { hyphens: manual; }
}

/* 404-Seite */
.error-code { font-family: var(--mono); font-size: clamp(3.5rem, 12vw, 6rem); font-weight: 500; line-height: 1; color: var(--seal); margin: 0 0 1rem; }
