/* Recon EVO Webseite: weiss, grosse Typo, schwarze Flaechen als Kontrast. Kein JavaScript, keine Fremdquellen. */
:root {
  --bg: #ffffff; --text: #000000; --leise: #5c5c5c; --rand: #e4e4e4; --schwarz: #000000; --auf-schwarz: #ffffff;
  --leise-s: #9a9a9a; --ok: #1f7a4d; --warn: #a15c00;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --schmal: "Bahnschrift", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; }
.breite { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--leise); margin: 0; }
.mono { font-family: var(--mono); }
.disp { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; }
.klein { font-size: 14px; color: var(--leise); }

/* Kopf */
.kopf { background: var(--bg); position: sticky; top: 0; z-index: 10; }
.kopf .breite { display: flex; align-items: center; gap: 28px; min-height: 80px; flex-wrap: wrap; position: relative; }
.kopf .breite::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; border-bottom: 2px solid var(--text); }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800; letter-spacing: .36em; font-size: 16px; }
.marke img { width: 32px; height: 30px; }
.navi { margin-left: auto; display: flex; gap: 8px 36px; flex-wrap: wrap; }
.navi a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--leise); padding: 4px 0; }
.navi a:hover, .navi a.aktiv { color: var(--text); }
.navi a.aktiv { box-shadow: inset 0 -2px var(--text); }

/* Knoepfe */
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.knopf { display: inline-flex; gap: 14px; align-items: center; padding: 18px 28px; text-decoration: none; font-weight: 600;
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--text); color: var(--text); background: var(--bg); }
.knopf::after { content: "→"; letter-spacing: 0; font-size: 18px; }
.knopf.primaer { background: var(--schwarz); color: var(--auf-schwarz); }
.knopf:hover { background: var(--schwarz); color: var(--auf-schwarz); }

/* Hero: Film ueber die ganze Breite, Text weiss darueber */
.hero { position: relative; overflow: hidden; background: var(--schwarz); color: var(--auf-schwarz);
  min-height: min(calc(100vh - 80px), 960px); min-height: min(calc(100svh - 80px), 960px); display: flex; align-items: flex-end; }
section.hero { padding: 0; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%),
              linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 40%); }
.hero-text { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.hero .label { color: #bdbdbd; }
h1 { font-size: clamp(48px, 7.4vw, 120px); line-height: .94; margin: 24px 0 32px; }
/* Editorial: schmale Grossschrift fuer die grossen Zeilen, Zeilen in Masken */
.spruch .disp, .block h2 { font-family: var(--schmal); font-stretch: 75%; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.01em; }
.maske { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.maske > span { display: block; }
.unter { font-size: 20px; color: #d6d6d6; max-width: 600px; margin: 0 0 44px; }
.hero .knopf { border-color: var(--auf-schwarz); color: var(--auf-schwarz); background: transparent; }
.hero .knopf.primaer, .hero .knopf:hover { background: var(--auf-schwarz); color: var(--schwarz); }

/* Spruch und Plattform-Tabelle */
.spruch { padding: 140px 0 100px; display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.spruch .disp { font-size: clamp(56px, 9vw, 150px); line-height: .88; margin: 0; }
.spruch em { font-style: normal; color: var(--leise-s); }
.tabelle { border-top: 2px solid var(--text); margin-bottom: 140px; }
.zeile { display: grid; grid-template-columns: 280px 1fr 1.2fr; gap: 48px; padding: 34px 0; border-bottom: 1px solid var(--rand); align-items: baseline; }
.zeile .nr { font-size: 14px; color: var(--leise); }
.zeile h3 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; }
.zeile p { margin: 0; color: var(--leise); }

/* Schwarzer Block Zugang */
.block { background: var(--schwarz); color: var(--auf-schwarz); padding: 120px 0; }
.block .label { color: var(--leise-s); }
.block h2 { font-size: clamp(52px, 8vw, 130px); line-height: .88; margin: 20px 0 80px; max-width: 12ch; }
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #444; }
.schritte li { padding: 28px 28px 0 0; }
.schritte .mono { color: var(--leise-s); font-size: 13px; }
.schritte strong { display: block; font-size: 20px; margin: 10px 0 6px; }
.schritte li > span:last-child { color: #bdbdbd; font-size: 15px; }

/* Voraussetzungen */
.voraus { display: grid; grid-template-columns: 280px repeat(3, 1fr); gap: 24px 48px; padding: 100px 0; margin: 0; }
.voraus dt { font-size: 12px; color: var(--leise); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.voraus dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }

/* Unterseiten (Download, Status, Recht) */
section { padding: 96px 0; }
section.hero { padding: 0; }
.text { max-width: 880px; }
.text h1 { font-size: clamp(40px, 6vw, 80px); line-height: .98; margin: 20px 0 24px; }
.text h1:first-child { margin-top: 0; font-family: var(--display); letter-spacing: -.03em; }
.text h2 { font-size: 22px; margin: 48px 0 12px; letter-spacing: -.01em; }
.einleitung { color: var(--leise); font-size: 20px; margin: 0 0 40px; }
.liste { padding: 0; margin: 0; list-style: none; counter-reset: s; border-top: 2px solid var(--text); }
.liste li { counter-increment: s; padding: 20px 0 20px 64px; border-bottom: 1px solid var(--rand); position: relative; }
.liste li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--mono); font-size: 13px; color: var(--leise); }
.hinweis { border-left: 3px solid var(--warn); padding: 4px 0 4px 14px; color: var(--leise); }
.zeilen { display: grid; grid-template-columns: max-content 1fr; gap: 0 32px; border-top: 2px solid var(--text); margin: 32px 0; }
.zeilen dt, .zeilen dd { padding: 14px 0; border-bottom: 1px solid var(--rand); margin: 0; }
.zeilen dt { color: var(--leise); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.zeilen dd { font-weight: 600; }
.status { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; }
.punkt { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--ok); }
.punkt.warn { background: var(--warn); }

/* Fuss */
.fuss .breite { display: flex; gap: 10px 28px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 48px; font-size: 13px; color: var(--leise); position: relative; }
.fuss .breite::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; border-top: 2px solid var(--text); }
.fuss a { text-decoration: none; } .fuss a:hover { color: var(--text); }
.fuss .rechts { margin-left: auto; }

@media (max-width: 900px) {
  .breite { padding: 0 16px; }
  .kopf .breite::after, .fuss .breite::before { left: 16px; right: 16px; }
  .kopf .breite { min-height: 0; gap: 0; padding-top: max(26px, env(safe-area-inset-top)); }
  .marke { font-size: 14px; letter-spacing: .3em; gap: 10px; }
  .marke img { width: 28px; height: 26px; }
  .navi { margin-left: 0; width: 100%; gap: 0 18px; padding: 10px 0 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .navi a { font-size: 11px; white-space: nowrap; }
  .hero { min-height: calc(100svh - 120px); }
  .hero-text { padding-top: 96px; padding-bottom: 56px; }
  .spruch .disp { font-size: clamp(48px, 15vw, 88px); }
  .block h2 { font-size: clamp(48px, 15vw, 88px); }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.45) 100%); }
  .spruch { grid-template-columns: 1fr; gap: 12px; }
  .zeile { grid-template-columns: 36px 1fr; gap: 4px 12px; }
  .zeile p { grid-column: 2; font-size: 15px; }
  .zeile:hover h3 { transform: none; }
  .voraus { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .voraus > .label { grid-column: 1 / -1; }
  .voraus dd { font-size: 15px; }
  h1 { font-size: clamp(46px, 13vw, 64px); }
  .unter { font-size: 17px; margin-bottom: 32px; }
  .fuss .breite { gap: 8px 18px; padding-bottom: 32px; }
  .fuss .breite > span:first-child { width: 100%; }
  .spruch { padding: 80px 0 56px; }
  .tabelle { margin-bottom: 80px; }
  .zeile { padding: 24px 0; }
  .block { padding: 80px 0; }
  .block h2 { margin-bottom: 48px; }
  .schritte { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .voraus { padding: 64px 0; }
  section { padding: 64px 0; }
  .fuss .rechts { margin-left: 0; }
  .knopf { width: 100%; justify-content: space-between; }
}

/* Bewegung: nur CSS (kein JavaScript). Scroll-Animationen nur, wo der Browser sie kann; aus bei reduzierter Bewegung. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .knopf { transition: background .25s ease, color .25s ease; }
  .knopf::after { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .knopf:hover::after { transform: translateX(6px); }
  .navi a { transition: color .2s ease, box-shadow .3s ease; }
  .navi a:hover { box-shadow: inset 0 -2px var(--text); }
  .zeile { transition: border-color .3s ease; }
  .zeile h3 { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .zeile .nr { transition: color .3s ease; }
  .zeile:hover { border-bottom-color: var(--text); }
  .zeile:hover h3 { transform: translateX(14px); }
  .zeile:hover .nr { color: var(--text); }

  /* Kopf der Startseite: Text faehrt beim Laden gestaffelt ein */
  @keyframes rein { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  .hero-text > :not(h1) { animation: rein 1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes zeile-hoch { from { transform: translateY(110%) skewY(5deg); } to { transform: none; } }
  .hero .maske > span { animation: zeile-hoch 1.2s cubic-bezier(.2, .8, .1, 1) both; }
  .hero .maske:nth-child(1) > span { animation-delay: .15s; }
  .hero .maske:nth-child(2) > span { animation-delay: .28s; }
  .hero-text > :nth-child(2) { animation-delay: .12s; }
  .hero-text > :nth-child(3) { animation-delay: .26s; }
  .hero-text > :nth-child(4) { animation-delay: .4s; }
  .hero-text > :nth-child(5) { animation-delay: .52s; }
  .hero-film { animation: rein-film 1.6s ease both; }
  @keyframes rein-film { from { opacity: 0; } to { opacity: 1; } }

  @supports (animation-timeline: view()) {
    @keyframes auftauchen { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
    @keyframes einfaerben { from { color: var(--rand); } to { color: var(--leise-s); } }
    @keyframes linie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes weg { to { opacity: 0; transform: translateY(-80px); } }
    @keyframes film-zurueck { to { transform: scale(1.12); filter: brightness(.5); } }

    /* Kopf: beim Wegscrollen hebt sich der Text ab, der Film zoomt langsam und wird dunkler */
    .hero-text { animation: weg linear both; animation-timeline: scroll(root); animation-range: 15vh 85vh; }
    .hero-film { animation: rein-film 1.6s ease both, film-zurueck linear both; animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh; }

    .spruch .maske, .block .maske { view-timeline: --zeile; }
    .spruch .maske > span, .block .maske > span { animation: zeile-hoch linear both; animation-timeline: --zeile;
      animation-range: entry 0% entry 100%; }
    .zeile, .schritte li, .voraus > div {
      animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .spruch em { animation: einfaerben linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .tabelle { position: relative; border-top-color: transparent; }
    .tabelle::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--text);
      transform-origin: left; animation: linie linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .schritte li:nth-child(2) { animation-range: entry 5% cover 33%; }
    .schritte li:nth-child(3) { animation-range: entry 10% cover 38%; }
    .schritte li:nth-child(4) { animation-range: entry 15% cover 43%; }
  }
}
