/* cuteworks · Entwurf A
   Farben strikt nach Marke: Ink, Cream, Signal Red (nur als Punkt). Keine Verläufe, keine Schatten, keine weiteren Töne. */

@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Nunito-600.woff2") format("woff2"); }

:root {
  --ink: #1A1A1A;
  --cream: #F6F2E9;
  --rot: #E2524A;
  --rand: 1.5px solid var(--ink);
  --radius: 28px;
  --gutter: 20px;
  --breite: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dauer: .7s;
  --font: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 96px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.innen { width: min(100% - 2 * var(--gutter), var(--breite)); margin-inline: auto; }

/* Punkt: der einzige Akzent */
.punkt { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--rot); margin-right: .55em; vertical-align: .08em; flex: none; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--cream);
  font-weight: 800; font-size: 1.0625rem;
  padding: .95em 1.5em; border-radius: 999px; border: var(--rand);
  transition: transform .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf-leer { background: transparent; color: var(--ink); }
.knopf-klein { padding: .6em 1.1em; font-size: .95rem; }
.knopf-gross { font-size: 1.2rem; padding: 1em 1.6em; }
.knopf:focus-visible, a:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Kopf */
/* Navigation als schwebende Pille (Emil 15.11. #165450). Die Tiefe kommt von einer harten Ink-Kante unten,
   ohne Unschärfe und ohne Verlauf, damit alles in der Palette bleibt. */
.kopf {
  /* Andocken: marke.js setzt --andock (0 = keine Lücke, 1 = Marke sitzt); daraus folgen Breite der Lücke
     und das Stück, um das die Pille wächst. Unter 720px bleibt der Platz weg (display: none unten). */
  --andock: 0; --andock-b: 30px; --andock-abstand: 7px;
  --platz: calc(var(--andock) * (var(--andock-b) + var(--andock-abstand)));
  position: relative; z-index: 10;            /* am Handy scrollt die Pille normal mit weg, ab 720px bleibt sie stehen */
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - 2 * var(--gutter), var(--breite)); margin: 10px auto 0;
  padding: 7px 7px 7px 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
}
/* Links in der Pille: normal nur der Schriftzug plus der Andockplatz, der erst beim Andocken aufgeht (Breite 0 bis
   --andock-b, dazu der Abstand zum Schriftzug) und in den die 3D-Marke fliegt. Ohne WebGL, bei reduzierter Bewegung
   oder ohne JS steht dort die komplette SVG-Wortmarke, ohne Lücke. */
.kopf-marke { display: flex; align-items: center; min-height: 30px; }
.kopf-wortmarke-voll { display: none; height: 30px; width: auto; }
.kopf-wortmarke-text { display: flex; align-items: center; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; padding-bottom: 2px; }
.andock { width: calc(var(--andock) * var(--andock-b)); height: var(--andock-b); margin-right: calc(var(--andock) * var(--andock-abstand)); flex: none; }
@media (max-width: 719.98px) { .andock { display: none; } }  /* am Handy dockt nichts an, also kein leerer Platz */
.no-js .kopf-wortmarke-voll, .fallback .kopf-wortmarke-voll, .ruhig .kopf-wortmarke-voll { display: block; }
.no-js .kopf-wortmarke-text, .fallback .kopf-wortmarke-text, .ruhig .kopf-wortmarke-text { display: none; }
.kopf-nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 800; font-size: .95rem; }
.kopf-nav > a:not(.knopf) { display: none; position: relative; }
.kopf-nav > a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.kopf-nav > a:not(.knopf):hover::after { transform: scaleX(1); }

/* Held */
.held { position: relative; min-height: calc(100svh - 84px); display: flex; align-items: center; overflow: hidden; }
.marken-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.marken-canvas.fest { position: fixed; z-index: 20; }
.no-js .marken-canvas, .fallback .marken-canvas, .ruhig .marken-canvas { display: none; }
.held-innen {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), 900px); margin-inline: auto;
  text-align: center;
  padding: 12px 0 64px;
}
.buehne {
  position: relative;
  width: clamp(200px, 56vw, 330px); aspect-ratio: 1;
  margin: 0 auto 28px;
  z-index: 3;
}
.buehne-fallback { width: 100%; height: 100%; opacity: 0; }
.no-js .buehne-fallback, .fallback .buehne-fallback { opacity: 1; animation: schweben 5s ease-in-out infinite; }
.ruhig .buehne-fallback { animation: none; }
@keyframes schweben { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.held-titel { font-size: clamp(2.5rem, 4.6vw + 1.4rem, 5.2rem); line-height: 1.0; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 14ch; }
.held-titel .wort { display: inline-block; white-space: pre; }
.held-text { font-size: clamp(1.1rem, 1vw + .8rem, 1.35rem); max-width: 34ch; margin: 0 auto 30px; line-height: 1.45; }
.held-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Lade-Animation: Elemente warten unsichtbar, bis app.js "los" setzt */
[data-intro] { opacity: 0; transform: translateY(16px); }
.los [data-intro] { opacity: 1; transform: none; transition: opacity var(--dauer) var(--ease), transform var(--dauer) var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
.held-titel .wort { opacity: 0; transform: translateY(.35em) rotate(1.5deg); transform-origin: left bottom; }
.los .held-titel .wort { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--w, 0) * 80ms + 240ms); }
.no-js [data-intro], .no-js .held-titel .wort, .ruhig [data-intro], .ruhig .held-titel .wort { opacity: 1; transform: none; transition: none; }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 10vw, 128px) 0; }
.abschnitt-eng { padding-top: 0; }
.abschnitt h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.1rem); margin-bottom: 40px; max-width: 24ch; }
.abschnitt h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hinweis { display: inline-flex; align-items: baseline; margin: -22px 0 26px; font-size: .95rem; }

/* Karten */
.karten { display: grid; gap: 16px; }
/* Karten mit Hervorhebung (Runde 4, Emils Wunsch): die Karte unter dem Zeiger (oder mit Tastaturfokus, am Handy die in
   der Bildschirmmitte, Klasse .aktiv per app.js) hebt sich mit weichem Ink-Schatten, die anderen treten minimal zurück;
   das Icon macht dabei eine kleine Bewegung (Stift wackelt, Fenster ploppt, Funkeln dreht sich). */
.karte { border: var(--rand); border-radius: var(--radius); padding: 28px 26px 30px; background: var(--cream); transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out; outline: none; }
.karte:hover, .karte:focus-visible, .karte.aktiv { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(26, 26, 26, .13), 0 2px 0 var(--ink); border-color: var(--ink); }
.karten:hover .karte:not(:hover), .karten:has(.karte:focus-visible) .karte:not(:focus-visible), .karten.beruehrt .karte:not(.aktiv) { opacity: .7; transform: scale(.985); }
.karten:hover .karte:hover, .karten:has(.karte:focus-visible) .karte:focus-visible, .karten.beruehrt .karte.aktiv { opacity: 1; }
.karte-icon { width: 54px; height: 54px; border: var(--rand); border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; }
.karte-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 50%; }
.karte:hover .karte-icon svg, .karte:focus-visible .karte-icon svg, .karte.aktiv .karte-icon svg { animation: var(--icon-anim, wackeln) .6s cubic-bezier(.3, .6, .3, 1) 1; }
.karte:nth-child(1) { --icon-anim: wackeln; }
.karte:nth-child(2) { --icon-anim: ploppen; }
.karte:nth-child(3) { --icon-anim: drehen; }
@keyframes wackeln { 0% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 55% { transform: rotate(11deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@keyframes ploppen { 0% { transform: scale(1, 1); } 30% { transform: scale(1.18, .82); } 60% { transform: scale(.9, 1.1); } 85% { transform: scale(1.04, .97); } 100% { transform: scale(1, 1); } }
@keyframes drehen { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.12); } 100% { transform: rotate(360deg) scale(1); } }

/* Ablauf: Zahnrad-Pfad (pfad.js). Am Handy läuft die Linie links senkrecht herunter, Texte rechts, Szene darunter;
   ab 720px schlängelt sie sich senkrecht, die Schritte wechseln die Seite (Text innen am Punkt, Szene gegenüber).
   Alle Lagen sind CSS-Variablen, damit pfad.js und der No-JS-Fall dieselben Maße benutzen. */
.pfad { --punkt: 28px; --emblem: 44px; --spalte: 56px; --pfad-oben: 72px; position: relative; padding: var(--pfad-oben) 0 40px; }
.pfad-linie { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; position: relative; }
.schritt { display: grid; grid-template-columns: var(--spalte) minmax(0, 1fr); grid-template-areas: "punkt text" ". szene"; column-gap: 8px; row-gap: 22px; align-items: start; }
.schritt-punkt { grid-area: punkt; justify-self: center; margin-top: 2px; width: var(--punkt); height: var(--punkt); border-radius: 50%; background: var(--ink); color: var(--cream); box-shadow: 0 0 0 5px var(--cream); display: grid; place-items: center; font-weight: 800; font-size: .95rem; line-height: 1; transition: transform .35s var(--ease); }
.schritt-text { grid-area: text; max-width: 38ch; }
.schritt-text h3 { margin: 0 0 8px; }
.szene { grid-area: szene; width: min(100%, 260px); aspect-ratio: 8 / 5; }
.szene svg { width: 100%; height: 100%; display: block; overflow: visible; }
.schritt-text, .szene { transition: opacity .45s var(--ease); }
/* Abschluss "Und danach?": wie ein Schritt, aber ohne Nummer; dort endet die Linie und das Rad kommt zur Ruhe */
.schritt-ende { margin-top: 56px; }
.ende-punkt { grid-area: punkt; justify-self: center; margin-top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--cream); }

/* Szenen zu den Schritten (Markensprache): mit JavaScript spielt szenen.js (GSAP) Zeitachsen ab, sobald eine Szene
   im Bild ist, danach Endlosschleifen; die Figuren werden dann aus dem Symbol in echte Elemente aufgelöst. Ohne JS
   und bei reduzierter Bewegung (html.statisch) zeigt die CSS unten ein ruhiges Endbild; nur dort setzen Regeln
   Transformationen, damit sie GSAP nicht in die Quere kommen. */
.szene svg { font-family: var(--font); font-weight: 800; --cream2: #ECE7DC; }
.szene .strich { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.szene .flaeche { fill: var(--cream); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.szene .fl2 { fill: var(--cream2); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.szene .duenn { stroke-width: 2; }
.szene .voll { fill: var(--ink); }
.szene .rot { fill: var(--rot); }
.szene .streifen { fill: var(--cream2); }
/* das Männle (Symbol, per <use> eingesetzt): Arme drehen um die Schulter, Bäckchen in Rot mit geringer Deckkraft,
   Leerlauf: Nicken und Blinzeln (laufen nur, wenn die Szene fertig ist) */
.maennle { overflow: visible; }
/* im <use>-Schattenbaum greifen nur Selektoren, die innerhalb des Symbols beginnen, deshalb hier noch einmal */
.maennle .flaeche { fill: var(--cream); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.maennle .fl2 { fill: var(--cream2, #ECE7DC); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.maennle .voll { fill: var(--ink); }
.maennle .arm { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; }
.maennle .mund { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.maennle .mund-o { fill: none; stroke: var(--ink); stroke-width: 2.2; opacity: 0; }
.maennle .mund-lach { fill: var(--ink); opacity: 0; }
.maennle .zunge { fill: var(--rot); opacity: 0; }
.maennle .augen-zu { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.maennle .wange { fill: var(--rot); opacity: .32; }
.szene-2 .zeile { stroke-width: 2.5; stroke-dasharray: calc(var(--len) * 1px); }
.szene-2 .code { stroke-width: 2; }
.szene-2 .taste { opacity: .3; }
.szene-2 .trenner { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .5; }
.szene-2 .flieger, .szene-2 .blase { opacity: 0; }
.szene-1 .offen, .szene-3 .offen { font-size: 6.4px; fill: var(--ink); }
.szene-3 .tipp { font-size: 8.6px; fill: var(--ink); }
.szene-3 .meldung { font-size: 7.8px; }
.szene-3 .meldung text { fill: var(--ink); }
.szene-4 .handy-adresse { font-size: 5.6px; fill: var(--cream); }
.szene-4 .handy-titel { font-size: 6px; fill: var(--ink); opacity: .7; }
.szene-4 .handy-zeile { font-size: 5.9px; fill: var(--ink); }
.szene-4 .rot-text { fill: var(--rot); }
.szene-4 .frage { font-size: 13px; fill: var(--ink); }
.szene-4 .taste { opacity: .3; }
.szene-4 .trenner { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .5; }
.szene-4 .hoerer-e, .szene-4 .hoerer-i, .szene-4 .blase-e, .szene-4 .blase-i, .szene-4 .denk, .szene-4 .birne, .szene-4 .flieger, .szene-4 .herz, .szene-4 .schall, .szene-4 .zeiten-alt, .szene-4 .karte-neu, .szene-4 .foto-neu { opacity: 0; }
.szene-3 .trenner { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .5; }
.szene-3 .wellen, .szene-3 .funken, .szene-3 .konfetti { opacity: 0; }
/* ruhiges Endbild ohne JS und bei reduzierter Bewegung (html.statisch): Arme in Endpose, Funke, Daumen, Blöcke,
   Meldung sichtbar, Striche gezeichnet, Jubel mit Armen hoch */
/* (die Arm-Regeln ohne .statisch-Präfix, weil im <use>-Schattenbaum nur Selektoren ab dem Symbol greifen; szenen.js
   benennt die Klassen seiner aufgelösten Figuren um (data-arm), damit GSAP die Transformation allein bestimmt) */
.maennle .arm-l { transform: translate(-12px, -33px) rotate(var(--arm-l, 18deg)); }
.maennle .arm-r { transform: translate(12px, -33px) rotate(var(--arm-r, -18deg)); }
.statisch .szene-1 .figur-l { --arm-r: -80deg; }
.statisch .szene-1 .figur-r { --arm-l: 80deg; }
.statisch .szene-2 .figur-e { --arm-r: -75deg; --arm-l: -62deg; }
.statisch .szene-2 .figur-k { --arm-l: 62deg; --arm-r: -138deg; }
.statisch .szene-3 .figur-e3 { --arm-l: -20deg; --arm-r: -103deg; }
.statisch .szene-3 .figur-i { --arm-l: 140deg; --arm-r: -140deg; }
.statisch .szene-3 .figur-p1, .statisch .szene-3 .figur-p2 { --arm-l: 70deg; }
.statisch .szene-3 .meldung { transform: translate(262px, 112px); }
.statisch .szene-4 .figur-e4 { --arm-l: -20deg; --arm-r: -72deg; }
.statisch .szene-4 .figur-i4 { --arm-l: 60deg; --arm-r: -138deg; }
.statisch .szene-4 .daumen { opacity: 1; }

/* das SVG-Emblem auf dem Pfad: Gefühle über CSS-Variablen (pfad.js), Zahnrad dreht, Gesicht bleibt aufrecht */
.pfad-emblem { --lid: 1; --froh: 0; --o: 0; --wangen: 0; --weit: 0; --bx: 0; --by: 0; position: absolute; left: 0; top: 0; width: var(--emblem); height: var(--emblem); transform-origin: center; will-change: transform; pointer-events: none; overflow: visible; }
.emblem-zahnrad { transform-origin: 256px 256px; }
.emblem-auge { transform-box: fill-box; transform-origin: center; transform: translate(calc(var(--bx) * 22px), calc(var(--by) * 18px)) scale(calc(1 + .12 * var(--weit)), calc(var(--lid) * (1 + .25 * var(--weit)) * max(0.001, 1 - 2 * var(--froh)))); opacity: clamp(0, 1 - 2 * var(--froh), 1); }
.emblem-auge-froh { transform-box: fill-box; transform-origin: center; transform: translate(calc(var(--bx) * 22px), calc(var(--by) * 18px)) scale(var(--froh)); opacity: clamp(0, calc(var(--froh) * 3), 1); }
.emblem-mund { transform-box: fill-box; transform-origin: center; transform: translate(calc(var(--bx) * 22px), calc(var(--by) * 18px)) scale(calc((1 + .3 * var(--froh)) * (1 - var(--o))), calc((1 + .45 * var(--froh)) * (1 - var(--o)))); }
.emblem-o { transform-box: fill-box; transform-origin: center; transform: translate(calc(var(--bx) * 22px), calc(var(--by) * 18px)) scale(var(--o)); opacity: clamp(0, calc(var(--o) * 3), 1); }
.emblem-wange { opacity: calc(.5 * var(--wangen)); }
/* mit JS: Schritte, die das Rad noch nicht erreicht hat, treten zurück; der erreichte Punkt wächst kurz */
.pfad.aktiv .schritt:not(.erreicht) .schritt-text { opacity: .55; }
.pfad.aktiv .schritt.erreicht .schritt-punkt { transform: scale(1.12); }
/* ohne JS: gerade Linie links, Emblem ruhig am ersten Punkt, alles sichtbar */
.no-js .pfad-linie { display: none; }
.no-js .pfad::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--spalte) / 2 - 1px); width: 2px; background: var(--ink); }
.no-js .pfad-emblem { transform: translate(calc(var(--spalte) / 2 - var(--emblem) / 2), calc(var(--pfad-oben) + 2px + var(--punkt) / 2 - var(--emblem) / 2)); }

/* Beispiel-Mock, komplett in CSS */
.mock { border: var(--rand); border-radius: 22px; overflow: hidden; background: var(--cream); max-width: 920px; }
.mock-leiste { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: var(--rand); }
.mock-leiste span { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-leiste span:first-child { background: var(--rot); border-color: var(--rot); }
.mock-leiste i { font-style: normal; font-size: .8rem; margin-left: auto; margin-right: auto; padding: 3px 14px; border: var(--rand); border-radius: 999px; }
.mock-seite { padding: 18px 18px 22px; }
.mock-nav { display: flex; align-items: center; gap: 14px; font-size: .85rem; padding-bottom: 14px; }
.mock-nav b { margin-right: auto; font-weight: 800; }
.mock-held { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 28px 22px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mock-held h4 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.mock-knopf { display: inline-block; background: var(--cream); color: var(--ink); border-radius: 999px; padding: .55em 1.1em; font-size: .9rem; font-weight: 800; }
.mock-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mock-raster > div { border: var(--rand); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.mock-raster i { display: block; aspect-ratio: 4/3; background: var(--ink); border-radius: 9px; margin-bottom: 6px; }
.mock-raster b { font-weight: 800; }
.mock-fuss { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: .78rem; padding-top: 12px; border-top: var(--rand); }

/* Über uns: Cream auf Ink */
.abschnitt-ink { background: var(--ink); color: var(--cream); }
.ueber { display: grid; gap: 36px; align-items: center; }
.ueber-bild { width: clamp(160px, 52vw, 260px); }
.ueber-bild img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--cream); background: var(--ink); }
.ueber-text p { max-width: 56ch; }
.ueber-text p + p { margin-top: 16px; }
.ueber-text h2 { margin-bottom: 0; }
/* Emils Foto (16.11.): rund, dünner Cream-Ring, am Handy über der Überschrift, groß daneben */
.ueber-kopf { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.ueber-signatur { font-weight: 800; }
.abschnitt-ink .knopf, .abschnitt-ink .karte { border-color: var(--cream); }

/* Kontakt */
.kontakt-innen { text-align: center; }
.kontakt h2 { margin-inline: auto; margin-bottom: 20px; }
.kontakt-innen > p { max-width: 44ch; margin: 0 auto 30px; }

/* Fuß */
.fuss { background: var(--ink); color: var(--cream); padding: 44px 0 max(28px, env(safe-area-inset-bottom)); }
.fuss-innen { display: grid; gap: 18px; justify-items: start; }
.fuss-marke { height: 26px; width: auto; }
.fuss-klein { font-size: .85rem; opacity: 1; }
.fuss-nav { display: flex; gap: 20px; font-weight: 800; font-size: .9rem; }
.fuss-nav a { border-bottom: 1.5px solid var(--cream); }

/* Scroll-Reveal: nur transform und opacity */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].sichtbar { opacity: 1; transform: none; }
.no-js [data-reveal], .ruhig [data-reveal] { opacity: 1; transform: none; transition: none; }

/* Größere Bildschirme */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .kopf {
    --andock-b: 34px; --andock-abstand: 8px;
    position: sticky; top: 14px; margin-top: 14px; padding: 8px 8px 8px 26px;
    /* beim Andocken wächst die Pille um den Platz der Lücke, notfalls in den Seitenabstand hinein (mindestens 16px bleiben) */
    width: min(100% - 32px, 100% - 2 * var(--gutter) + var(--platz), var(--breite) + var(--platz));
  }
  .kopf-wortmarke-voll { height: 34px; }
  .kopf-wortmarke-text { font-size: 1.7rem; }
  .kopf-nav > a:not(.knopf) { display: inline-block; }
  .karten { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pfad { --punkt: 30px; --emblem: 60px; --spalte: 88px; --pfad-oben: 96px; padding-bottom: 72px; }
  .schritte { gap: 128px; }
  /* Punkt abwechselnd bei 40 % und 60 % der Breite, Text innen am Punkt, Szene gegenüber */
  .schritt { grid-template-columns: minmax(0, 4fr) var(--spalte) minmax(0, 6fr); grid-template-areas: "text punkt szene"; column-gap: 0; align-items: center; }
  .schritt:nth-child(even) { grid-template-columns: minmax(0, 6fr) var(--spalte) minmax(0, 4fr); grid-template-areas: "szene punkt text"; }
  .schritt-punkt { margin-top: 0; font-size: 1rem; }
  .schritt-text { max-width: 36ch; justify-self: end; padding-right: 20px; }
  .schritt:nth-child(even) .schritt-text { justify-self: start; padding-left: 20px; padding-right: 0; }
  .szene { width: 320px; justify-self: start; margin-left: 24px; }
  .schritt:nth-child(even) .szene { justify-self: end; margin-left: 0; margin-right: 24px; }
  /* Abschluss wie eine gerade Zeile: Punkt bei 60 %, Text rechts */
  .schritt-ende { margin-top: 128px; grid-template-columns: minmax(0, 6fr) var(--spalte) minmax(0, 4fr); grid-template-areas: "szene punkt text"; }
  .schritt-ende .schritt-text { justify-self: start; padding-left: 20px; padding-right: 0; }
  .ende-punkt { margin-top: 0; }
  /* ohne JS auch groß das Handy-Layout (gerade Linie links) */
  .no-js .schritt, .no-js .schritt:nth-child(even), .no-js .schritt-ende { grid-template-columns: var(--spalte) minmax(0, 1fr); grid-template-areas: "punkt text" ". szene"; align-items: start; }
  .no-js .schritt-text, .no-js .schritt:nth-child(even) .schritt-text, .no-js .schritt-ende .schritt-text { justify-self: start; padding: 0; }
  .no-js .ende-punkt { margin-top: 7px; }
  .no-js .szene, .no-js .schritt:nth-child(even) .szene { justify-self: start; margin: 0; }
  .mock-seite { padding: 26px 26px 30px; }
  .mock-held { padding: 44px 36px; }
  .ueber { grid-template-columns: 1fr 2fr; gap: 56px; }
  .ueber-bild { width: min(100%, 300px); margin-inline: auto; }
  .ueber-kopf { flex-direction: row; align-items: center; gap: 28px; margin-bottom: 28px; }
  .fuss-innen { grid-template-columns: auto 1fr auto; align-items: center; }
  .fuss-klein { text-align: center; }
  .held-innen { padding: 0 0 72px; }
}
@media (min-width: 1100px) {
  .buehne { width: 300px; margin-bottom: 36px; }
  .held-titel { font-size: clamp(2.5rem, 4.2vw + 1.2rem, 4.8rem); }
}

/* Barrierefreiheit: wer wenig Bewegung will, bekommt alles ruhig und sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-intro], .held-titel .wort, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .buehne-fallback { animation: none !important; }
  .knopf, .karte { transition: none; }
  /* Karten: nur Rand und Schatten, keine Bewegung */
  .karte:hover, .karte:focus-visible, .karte.aktiv, .karten:hover .karte:not(:hover), .karten:has(.karte:focus-visible) .karte:not(:focus-visible), .karten.beruehrt .karte:not(.aktiv) { transform: none; opacity: 1; }
  .karte .karte-icon svg { animation: none !important; }
}

/* Rechtliche Seiten (Impressum, Datenschutz), 16.11.2026 */
.rechts-kopf { padding: 22px 0; border-bottom: 1.5px solid var(--ink); }
.rechts-kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rechts-marke { height: 28px; width: auto; display: block; }
.rechtstext { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); max-width: min(100% - 2 * var(--gutter), 760px); }
.rechtstext h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 28px; }
.rechtstext h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.rechtstext p { line-height: 1.65; max-width: 68ch; }
.rechtstext p + p { margin-top: 12px; }
.rechtstext a { border-bottom: 1.5px solid currentColor; }
.rechtstext .stand { opacity: .7; font-size: .95rem; }
