/* Verstehbar – Website, Designrichtung A „Leinwand“ (docs/website/2026-09-28-website-konzept.md).
   Kontraste (WCAG 2.2): Tinte/Papier 16,9:1 · Grau/Papier 6,8:1 · Blau/Papier 7,5:1 ·
   Weiß/Blau 8,1:1 · Gelb/Tinte 12,5:1 · Rahmen/Papier 4,4:1. Gelb nie auf Hell. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  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: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  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: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  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: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  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: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  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: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("/fonts/atkinson-hyperlegible-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #14161b;
  --paper: #f6f7f9;
  --white: #ffffff;
  --muted: #4f5766;
  --blue: #2340c4;
  --blue-dark: #1a3199;
  --yellow: #ffd23f;
  --on-dark-muted: #a9b0bd;
  --on-dark-text: #e6e9ee;
  --control: #6b7384;
  --line: #dde1e7;
  --pending: #c98a00;
  /* Hintergrund der warmen Filmfassung (video/src/film.css .warm --bg): Film geht ohne Kante in den Hero über. */
  --film-paper: #f1e7d8;
  --font-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
@media (min-width: 48rem) {
  body {
    font-size: 1.1875rem;
  }
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  hyphens: auto;
  margin: 0;
}
h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-stretch: 90%;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
}
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.375rem);
}
p,
ul,
ol,
dl {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.band-dark :focus-visible {
  outline-color: var(--yellow);
}
main:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
  outline-color: var(--yellow);
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.measure {
  max-width: 64ch;
}
.muted {
  color: var(--muted);
}
.plain {
  list-style: none;
  padding: 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead {
  font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
  max-width: 40ch;
}
.cursor {
  display: inline-block;
  width: 0.16em;
  height: 0.95em;
  margin-left: 0.06em;
  vertical-align: -0.12em;
  background: var(--blue);
  animation: blink 1.1s steps(1) 4;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.625rem 1.375rem;
  border-radius: 6px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--control);
}
.btn-secondary:hover {
  background: var(--white);
  border-color: var(--ink);
}
.btn-small {
  min-height: 2.75rem;
  padding: 0.375rem 1rem;
  font-size: 1rem;
}
.text-link {
  font-weight: 700;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Kopfzeile */
.site-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-stretch: 90%;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.wordmark-small {
  font-size: 1.25rem;
  min-height: 0;
}
.nav-desktop ul,
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  gap: 0.25rem 1.5rem;
}
.nav-desktop a,
.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.nav-desktop a:hover,
.nav-mobile a:hover {
  text-decoration: underline;
}
.head-cta {
  display: none;
}
/* Zwei Sprachlinks nebeneinander: schmaler, damit der Kopf auch bei 320 px passt (Ziel ≥ 24 px, WCAG 2.5.8). */
.lang-switch-group {
  display: inline-flex;
}
.lang-switch-group .lang-switch {
  min-width: 2.25rem;
}
.lang-switch {
  font-weight: 700;
  color: var(--ink);
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  border: 2px solid var(--control);
  border-radius: 6px;
  min-height: 2.75rem;
  padding: 0.3rem 0.9rem;
  display: inline-flex;
  align-items: center;
}
.nav-mobile summary::-webkit-details-marker {
  display: none;
}
.nav-mobile[open] summary {
  border-color: var(--ink);
}
.nav-mobile nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1rem;
}
.nav-mobile li + li {
  border-top: 1px solid var(--line);
}
.nav-mobile a {
  width: 100%;
  font-size: 1.125rem;
}
@media (min-width: 60rem) {
  .nav-desktop,
  .head-cta {
    display: flex;
  }
  .nav-mobile {
    display: none;
  }
  .wordmark {
    margin-right: 1rem;
  }
  .nav-desktop {
    margin-right: auto;
  }
}

/* Hero */
.hero {
  padding-block: 2.5rem 3.5rem;
  background: var(--film-paper);
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.hero-text .actions {
  margin-top: 0.5rem;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  border: 2px solid var(--control);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.status-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pending);
  flex: none;
}
@media (max-width: 29.99rem) {
  .hero-text .btn {
    width: 100%;
  }
}
.film {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--film-paper);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(75, 47, 27, 0.14),
    0 18px 48px rgba(75, 47, 27, 0.14);
}
.film-frame {
  position: relative;
}
.film-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 5rem;
  height: 5rem;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 22, 27, 0.25);
}
.film-play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.9rem 0 0.9rem 1.5rem;
  border-color: transparent transparent transparent currentColor;
  transform: translateX(0.2rem);
}
.film-play:hover {
  background: var(--blue-dark);
}
.film-play[hidden] {
  display: none;
}
.film figcaption {
  font-size: 0.9375rem;
  color: var(--muted);
}
.film-transcript {
  font-size: 0.9375rem;
}
.film-transcript summary {
  cursor: pointer;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.film-transcript p {
  margin-top: 0.5rem;
  max-width: 60ch;
}
.lane {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  padding-top: 0.45em;
}
@media (min-width: 60rem) {
  .hero {
    padding-block: 4rem 5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 3.5rem;
  }
}
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.controls span {
  border: 1.5px solid var(--control);
  border-radius: 5px;
  padding: 0 0.4rem;
  font-weight: 700;
  font-size: 0.8em;
}

/* Abschnitte */
.band {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .band {
    padding-block: 4.5rem;
  }
}
.grid-3,
.grid-2 {
  display: grid;
  gap: 1.5rem;
}
.grid-3 > *,
.grid-2 > * {
  min-width: 0;
}
.grid-3 li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 48rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .grid-2-wide {
    gap: 3.5rem;
  }
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
}
.steps li > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.step-num {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
}
@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    left: 2.75rem;
    right: 12%;
    top: 1.375rem;
    border-top: 2px solid var(--ink);
  }
  .steps li {
    grid-template-columns: 1fr;
    position: relative;
  }
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.schem-stage {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.schem-stage p {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.4rem;
}
.schem-stage .lane {
  padding-top: 0.2em;
}
.schem-stage .hc {
  color: var(--yellow);
}
.schem-phone {
  align-self: flex-start;
  max-width: 15rem;
  border: 2px solid var(--ink);
  border-radius: 1.25rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.back-live {
  align-self: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 0.1rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
}
.bullets {
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.facts {
  display: grid;
  gap: 1rem;
}
@media (min-width: 36rem) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}
.facts div {
  border-left: 3px solid var(--ink);
  padding-left: 0.85rem;
}
.facts dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}
.facts dd {
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  border: 2px solid var(--control);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  background: var(--white);
}
.chips .chip-tested {
  border-color: var(--ink);
  font-weight: 700;
}
.band-dark {
  background: var(--ink);
  color: var(--on-dark-text);
  border-top: 0;
}
.band-dark h2 {
  color: var(--white);
}
.band-dark .eyebrow {
  color: var(--yellow);
}
.band-dark a {
  color: var(--white);
}

/* Kontakt */
.contact {
  background: var(--white);
  padding-block: 3.5rem 4rem;
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 48rem;
}
.mail {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  overflow-wrap: anywhere;
}
.copy-status:empty {
  display: none;
}
@media (min-width: 48rem) {
  .contact-inner {
    align-items: center;
    text-align: center;
  }
  .actions-center {
    justify-content: center;
  }
}
@media (max-width: 29.99rem) {
  .contact .btn {
    width: 100%;
  }
}

/* Unterseiten */
.page {
  padding-block: 3rem 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: calc(46rem + 2 * var(--gutter));
}
.page .lead {
  max-width: none;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 1.5rem;
}
.text-section h3 {
  margin-top: 0.5rem;
}
.text-section ul {
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.5rem;
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.faq-item h3 {
  font-size: 1.25rem;
}
.anchor {
  margin-left: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0;
}
.faq-item h3:hover .anchor {
  opacity: 1;
}
.faq-more {
  padding-top: 1rem;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2rem 2.5rem;
  font-size: 1rem;
  color: var(--muted);
}
.foot-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.foot-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.foot-links a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
@media (min-width: 48rem) {
  .foot-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .film video,
  .film-play,
  .schem-stage,
  .panel,
  .btn,
  .status-pill,
  .chips li {
    border: 2px solid CanvasText;
  }
}
@media print {
  .site-head,
  .site-foot,
  .skip-link {
    display: none;
  }
}
