/* Chasch KI? – Startseite, Richtung B «Hell und verspielt»
   Gesamtform: Kopf und «Lueg, so gahts» teilen eine Bühne. Das Handy rechts bleibt beim Scrollen stehen und spielt die
   drei Schritte vor (Video, Kommentar tippt sich ein, Direktnachricht kommt). Danach eine bündige Wand aus Werkzeug-Ausschnitten
   mit Aufklebern, gelbes Band @chaschki, dunkler Fuss mit roter Wortmarke.
   Schriftpaar: JetBrains Mono (Titel, Stichwörter, wie in den Videos) + Inter (Lesetext).
   Farbanker: Schweizer Rot #E4002B und Gelb #FFE14D als Flächen, Tinte #16121b, zwei weiche Kartenfarben.
   Alles lokal, keine fremden Dienste. Bewegung nur über transform und opacity. */

@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --grund: #f6f4f1;
  --weiss: #ffffff;
  --tinte: #16121b;
  --leise: #57525e;
  --rot: #e4002b;
  --rot-dunkel: #c00024;
  --gelb: #ffe14d;
  --rosa: #ffd9e0;
  --blau: #d6e9ff;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(20px, 2.6vw, 72px);
  --breite: min(100% - 2 * var(--rand), 96rem);
  --kurve: cubic-bezier(.23, 1, .32, 1);
  --feder: cubic-bezier(.34, 1.56, .64, 1);
  --ph: min(70svh, 44vw);
  --pw: calc(var(--ph) * .5625);
  --strich: 3px solid var(--tinte);
  --nummer: rgba(255, 255, 255, .17);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, calc(.55vw + 9px), 24px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--tinte) var(--grund); overflow-x: clip; }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--sans); font-size: 1rem; line-height: 1.55; overflow-x: clip; }
::selection { background: var(--gelb); color: var(--tinte); }
a { color: inherit; text-decoration-color: var(--rot); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 8px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--mono); font-weight: 700; margin: 0; letter-spacing: -.03em; }
p { margin: 0; }
.prompt { color: var(--rot); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--gelb); color: var(--tinte); padding: .5rem 1rem; z-index: 50; }
@keyframes blinken { 50% { opacity: 0; } }

/* ---------- Kopfzeile (gleiche Spalte wie der Inhalt) ---------- */
.kopf { position: relative; z-index: 5; }
.kopf-innen { width: var(--breite); margin-inline: auto; height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-weight: 700; font-size: 1.1rem; text-decoration: none; white-space: nowrap; min-height: 44px; }
.zeichen { width: 2.1rem; height: 2.1rem; flex: none; transition: transform .5s var(--feder); }
.logo:hover .zeichen { transform: rotate(-8deg) scale(1.08); }
.logo:hover .zeichen .punkt { animation: blinken 1.05s steps(1) infinite; }
.kopf nav { display: flex; gap: .4rem; }
.kopf nav a { font-family: var(--mono); font-weight: 700; font-size: .9rem; text-decoration: none; padding: .55rem 1rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; border: 2px solid transparent; transition: border-color .15s, background-color .15s; }
.kopf nav a:hover { border-color: var(--tinte); background: var(--weiss); }

/* ---------- Reise: Kopf + So gahts mit haftender Bühne ---------- */
.reise { width: var(--breite); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--pw) * 1.8); grid-template-areas: "held buehne" "sg buehne"; column-gap: clamp(32px, 5vw, 160px); position: relative; isolation: isolate; }
.held { grid-area: held; min-height: calc(100svh - 4.5rem); display: flex; align-items: center; padding: .5rem 0 2.5rem; }
.held-text { min-width: 0; }
.buehne-spalte { grid-area: buehne; position: relative; z-index: 2; }
.buehne { position: sticky; top: calc((100svh - var(--ph)) / 2 - 1.2rem); margin-top: calc((100svh - 4.5rem - var(--ph)) / 2 - 1.2rem); width: 100%; height: calc(var(--ph) + 3rem); }

.zeile-oben { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .9rem; background: var(--tinte); color: var(--weiss); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.zeile-oben .prompt { color: var(--gelb); }
.held h1 { font-size: min(11.5vw, 21svh); line-height: .84; letter-spacing: -.055em; margin-left: -.04em; }
.held h1 .z1, .held h1 .z2 { display: block; overflow: hidden; padding: 0 .02em .1em; margin-bottom: -.1em; white-space: nowrap; }
.held h1 .z2 { color: var(--rot); }
.held h1 .z1 > span, .held h1 .z2 > span { display: inline-block; animation: hupfen .9s var(--feder) both; }
.held h1 span > span:nth-child(2) { animation-delay: .05s; } .held h1 span > span:nth-child(3) { animation-delay: .1s; }
.held h1 span > span:nth-child(4) { animation-delay: .15s; } .held h1 span > span:nth-child(5) { animation-delay: .2s; }
.held h1 span > span:nth-child(6) { animation-delay: .25s; }
.held h1 .z2 > span { animation-delay: .32s; } .held h1 .z2 > span:nth-child(2) { animation-delay: .37s; } .held h1 .z2 > span:nth-child(3) { animation-delay: .42s; }
@keyframes hupfen { from { transform: translateY(110%) rotate(8deg); } }
@media (hover: hover) {
  .held h1 span > span { transition: transform .4s var(--feder), color .2s; }
  .held h1 span > span:hover { transform: translateY(-.08em) rotate(-6deg); color: var(--rot); }
  .held h1 .z2 > span:hover { color: var(--tinte); }
}
.cursor { display: inline-block; width: .34em; height: .74em; margin-left: .1em; background: var(--gelb); box-shadow: inset 0 0 0 .04em var(--tinte); vertical-align: baseline; animation: blinken 1.05s steps(1) infinite; }
.unter { margin-top: 1.3rem; }
.lead { font-size: 1.3rem; line-height: 1.45; max-width: 34ch; text-wrap: pretty; }

/* Finder */
.finder { margin-top: 1.5rem; max-width: 46rem; }
.finder label { display: block; font-family: var(--mono); font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.eingabe { display: flex; align-items: center; gap: .6rem; background: var(--weiss); border: var(--strich); border-radius: 999px; padding: .4rem .4rem .4rem 1.3rem; box-shadow: 6px 6px 0 var(--tinte); transition: box-shadow .2s var(--kurve), transform .2s var(--kurve); }
.eingabe:focus-within { box-shadow: 9px 9px 0 var(--rot); transform: translate(-2px, -2px); }
.finder.kein-treffer .eingabe { box-shadow: 9px 9px 0 var(--gelb); }
.eingabe .prompt { font-family: var(--mono); font-weight: 700; font-size: 1.7rem; }
.eingabe input { flex: 1; min-width: 0; font-family: var(--mono); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; color: var(--tinte); background: transparent; border: 0; padding: .35rem 0; caret-color: var(--rot); }
.eingabe input::placeholder { color: #8d8794; text-transform: none; font-weight: 400; }
.eingabe input:focus { outline: none; }
.eingabe button { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--weiss); background: var(--rot); border: 0; border-radius: 999px; padding: 0 1.5rem; min-height: 3.2rem; cursor: pointer; transition: transform .2s var(--feder), background-color .15s; }
.eingabe button:hover { background: var(--rot-dunkel); }
.eingabe button:active { transform: scale(.94); }
.treffer { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; min-height: 3.4rem; padding-top: .9rem; }
.treffer .hinweis { color: var(--leise); font-size: .95rem; }
.treffer.nichts .hinweis { color: var(--tinte); background: var(--gelb); padding: .5rem .9rem; border-radius: 16px; border: 2px solid var(--tinte); }
.treffer-link { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; padding: .4rem .5rem .4rem .4rem; border-radius: 999px; background: var(--weiss); border: 2px solid var(--tinte); animation: plopp .45s var(--feder); max-width: 100%; }
.treffer-link:hover { background: var(--gelb); }
.treffer-w { font-family: var(--mono); font-weight: 700; background: var(--rot); color: var(--weiss); padding: .3rem .8rem; border-radius: 999px; }
.treffer-t { font-weight: 600; min-width: 0; }
.treffer-los { font-family: var(--mono); font-size: .85rem; padding-right: .6rem; white-space: nowrap; }
.treffer .auch { font-size: .9rem; color: var(--leise); }
.treffer .auch a { font-family: var(--mono); font-weight: 700; color: var(--tinte); }
@keyframes plopp { from { opacity: 0; transform: scale(.85) rotate(-3deg); } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; max-width: 52rem; }
.chips a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .95rem; font-family: var(--mono); font-weight: 700; font-size: .85rem; text-decoration: none; border: 2px solid var(--tinte); border-radius: 999px; background: var(--weiss); transition: transform .35s var(--feder), background-color .15s; }
.chips a:nth-child(4n+1) { background: var(--gelb); } .chips a:nth-child(4n+2) { background: var(--rosa); } .chips a:nth-child(4n+3) { background: var(--blau); }
.chips a span { font-family: var(--sans); font-weight: 400; }
.chips a:hover, .chips a.ist { transform: rotate(-4deg) scale(1.06); background: var(--tinte); color: var(--weiss); }
.chips a:active { transform: scale(.95); }

/* Handys */
.handy { position: absolute; top: 0; width: var(--pw); height: var(--ph); margin: 0; border-radius: calc(var(--pw) * .13); background: var(--tinte); overflow: hidden; border: calc(var(--pw) * .035) solid var(--tinte); }
.handy img, .handy video { width: 100%; height: 100%; object-fit: cover; }
.handy-vorne { left: calc(var(--pw) * .4); z-index: 2; overflow: visible; background: transparent; border: 0; transform: rotate(3deg); transition: transform .8s var(--feder); }
.handy-vorne video { border-radius: calc(var(--pw) * .13); background: var(--tinte); border: calc(var(--pw) * .035) solid var(--tinte); box-shadow: 14px 16px 0 var(--rot); transition: opacity .25s; }
.handy-vorne video.wechsel { opacity: .4; }
.handy-hinten { transition: transform .7s var(--feder), opacity .4s; }
.handy-hinten.h1 { left: calc(var(--pw) * .02); transform: rotate(-11deg) scale(.8); transform-origin: 50% 90%; box-shadow: 10px 10px 0 var(--gelb); }
.handy-hinten.h2 { left: calc(var(--pw) * .78); transform: rotate(10deg) scale(.8); transform-origin: 50% 90%; box-shadow: 10px 10px 0 var(--blau); }
@media (hover: hover) {
  .reise[data-phase="0"] .buehne:hover .h1 { transform: rotate(-16deg) scale(.82) translateX(-6%); }
  .reise[data-phase="0"] .buehne:hover .h2 { transform: rotate(15deg) scale(.82) translateX(6%); }
}
/* Zwei Aufkleber, beide über den hinteren Handys (deren Oberkante liegt tiefer) */
.kleber { position: absolute; z-index: 4; font-family: var(--mono); font-weight: 700; font-size: clamp(.85rem, calc(var(--pw) * .07), 1.6rem); padding: .35em .8em; border-radius: 999px; border: 2px solid var(--tinte); white-space: nowrap; animation: schweben 5s ease-in-out infinite; pointer-events: none; transition: opacity .35s; }
.kleber.k1 { left: 0; top: calc(var(--ph) * -.05); background: var(--gelb); rotate: -7deg; }
.kleber.k2 { right: 0; top: calc(var(--ph) * .045); background: var(--tinte); color: var(--gelb); rotate: 8deg; animation-delay: -2.2s; }
@keyframes schweben { 50% { translate: 0 -8px; } }
.pause { position: absolute; z-index: 5; width: 30px; height: 30px; left: calc(var(--pw) * .08); top: calc(var(--ph) - 30px - var(--pw) * .08); border-radius: 50%; border: 2px solid var(--tinte); background: var(--weiss); cursor: pointer; display: grid; place-items: center; }
.pause::before { content: ""; position: absolute; inset: -8px; }
.pause span { width: 10px; height: 11px; border-left: 3px solid var(--tinte); border-right: 3px solid var(--tinte); }
.pause[data-z="steht"] span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--tinte); margin-left: 3px; }
.etikett { position: absolute; left: 50%; top: calc(var(--ph) + 1.2rem); translate: -50% 0; max-width: 135%; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: rotate(-3deg); background: var(--weiss); color: var(--tinte); border: 2px solid var(--tinte); border-radius: 999px; padding: .2rem .8rem .2rem .25rem; }
.etikett b { font-family: var(--mono); background: var(--gelb); color: var(--tinte); border: 2px solid var(--tinte); border-radius: 999px; padding: .05rem .5rem; margin-right: .35rem; }

/* Einblendungen im Handy (Phasen 2 und 3) */
.ov { position: absolute; z-index: 4; left: 7%; right: 7%; opacity: 0; pointer-events: none; font-family: var(--mono); color: var(--tinte); transition: opacity .35s, transform .6s var(--feder); }
.ov-dm { top: 31%; display: flex; flex-direction: column; gap: .35em; background: var(--weiss); border: 3px solid var(--tinte); border-radius: calc(var(--pw) * .07); padding: .75em .8em; font-size: calc(var(--pw) * .042); box-shadow: 6px 6px 0 var(--tinte); transform: translateY(35%) scale(.85) rotate(-3deg); }
.ov-dm .ov-kopf { font-size: .95em; } .ov-dm .ov-kopf i { font-style: normal; color: var(--leise); float: right; }
.ov-dm .ov-link { font-weight: 700; color: var(--rot-dunkel); text-decoration: underline; white-space: nowrap; }
.ov-kommentar { bottom: 16%; display: flex; align-items: center; gap: .5em; background: var(--weiss); border: 3px solid var(--tinte); border-radius: 999px; padding: .35em .4em; font-size: calc(var(--pw) * .07); transform: translateY(60%) scale(.85); }
.ov-du { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--gelb); border: 2px solid var(--tinte); font-size: .6em; font-weight: 700; flex: none; }
.ov-text { flex: 1; font-weight: 700; }
.ov-senden { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--rot); color: var(--weiss); font-weight: 700; flex: none; }
.tipp { display: inline-block; width: 6ch; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.schreibmarke { display: inline-block; width: .08em; height: .9em; margin-left: .06em; background: currentColor; vertical-align: -.1em; opacity: 0; }
.reise[data-phase="2"] .ov-kommentar, .reise[data-phase="3"] .ov-kommentar { opacity: 1; transform: none; }
.reise[data-phase="2"] .ov-kommentar .tipp, .reise[data-phase="3"] .ov-kommentar .tipp { animation: tippen 1s .35s steps(6) both; }
.reise[data-phase="2"] .ov-kommentar .schreibmarke { animation: blinken .5s steps(1) infinite; opacity: 1; }
.reise[data-phase="3"] .ov-dm { opacity: 1; transform: none; }
.reise[data-phase="3"] .ov-kommentar { transform: translateY(-.4em) scale(.92); }
.reise:not([data-phase="0"]) .handy-hinten.h1 { opacity: 0; transform: rotate(-20deg) scale(.6) translateX(-30%); }
.reise:not([data-phase="0"]) .handy-hinten.h2 { opacity: 0; transform: rotate(20deg) scale(.6) translateX(30%); }
.reise:not([data-phase="0"]) .kleber { opacity: 0; }
.reise:not([data-phase="0"]) .handy-vorne { transform: rotate(-2deg) scale(1.04); }
@keyframes tippen { from { width: 0; } }

/* So gahts: rotes Band über die ganze Breite, hinter Text und Handy */
.so-gahts { grid-area: sg; position: relative; color: var(--weiss); padding: 6rem 0 5rem; }
.so-gahts::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw; background: var(--rot); }
.so-gahts h2 { font-size: clamp(2.6rem, 6vw, 7.5rem); line-height: .9; letter-spacing: -.055em; }
.schritte { list-style: none; margin: 0; padding: 0; }
.schritte li { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; gap: 1rem; max-width: 40rem; transition: opacity .45s, transform .6s var(--kurve); }
.schritte h3 { font-size: clamp(2rem, 3.4vw, 4.4rem); line-height: 1; display: flex; align-items: center; gap: .5em; }
.schritte .n { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--gelb); color: var(--tinte); font-size: .75em; flex: none; border: 3px solid var(--tinte); }
.schritte p { font-size: 1.25rem; max-width: 34ch; }
.schritte p a { color: var(--weiss); text-decoration-color: var(--gelb); text-decoration-thickness: 2px; }
@media (min-width: 960px) {
  .figur .schritte li { opacity: .35; transform: translateX(-1rem); }
  .figur .schritte li.ist { opacity: 1; transform: none; }
}
@media (min-width: 960px) {
  .schritte li { position: relative; max-width: none; }
  .schritte li > * { position: relative; z-index: 1; max-width: 40rem; }
  .schritte li::after { content: "0" attr(data-schritt); position: absolute; z-index: 0; right: 0; top: 50%; translate: 0 -50%; font-family: var(--mono); font-weight: 700; font-size: clamp(9rem, 17vw, 22rem); line-height: 1; letter-spacing: -.06em; color: var(--nummer); pointer-events: none; transition: opacity .45s; }
  .figur .schritte li:not(.ist)::after { opacity: .35; }
}
.szene { display: none; }

/* ---------- Wand ---------- */
.anleitungen { width: var(--breite); margin-inline: auto; padding: 7rem 0 7rem; }
.abschnitt-kopf { display: grid; grid-template-columns: auto minmax(0, 28rem); align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 3.5rem; }
.abschnitt-kopf h2 { font-size: clamp(2.6rem, 6vw, 7.5rem); line-height: .9; letter-spacing: -.055em; }
.abschnitt-kopf p { color: var(--leise); font-size: 1.05rem; }
.nur-touch { display: none; }
@media (hover: none) { .nur-zeiger { display: none; } .nur-touch { display: inline; } }
.wand { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 3.6vw, 90px) clamp(22px, 2.4vw, 60px); }
.wand a { display: block; text-decoration: none; height: 100%; }
.wand .bild { display: block; position: relative; aspect-ratio: 720 / 496; isolation: isolate; transition: rotate .5s var(--feder), transform .5s var(--feder); }
.wand .bild img, .wand .bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; border: 3px solid var(--tinte); background: var(--tinte); }
.wand .bild video { opacity: 0; transition: opacity .3s; }
.wand .spielt .bild video { opacity: 1; }
.wand .bild::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 26px; translate: 10px 10px; background: var(--gelb); border: 3px solid var(--tinte); transition: translate .4s var(--feder); }
.wand li:nth-child(4n+2) .bild::after { background: var(--rosa); } .wand li:nth-child(4n+3) .bild::after { background: var(--blau); } .wand li:nth-child(4n) .bild::after { background: var(--rot); }
.wand li:nth-child(3n+1) .bild { rotate: -1.6deg; } .wand li:nth-child(3n+2) .bild { rotate: 1.8deg; } .wand li:nth-child(3n) .bild { rotate: -.8deg; }
@media (hover: hover) { .wand a:hover .bild { rotate: 0deg; transform: translateY(-6px); } .wand a:hover .bild::after { translate: 16px 16px; } }
.wand a.spielt .bild { rotate: 0deg; }
.wand .w { position: relative; z-index: 3; display: inline-block; margin: .9rem 0 0 .4rem; font-family: var(--mono); font-weight: 700; font-size: clamp(1.1rem, 1.5vw, 2rem); line-height: 1; padding: .35em .7em; border-radius: 999px; border: 3px solid var(--tinte); background: var(--weiss); rotate: -5deg; transition: rotate .4s var(--feder); }
.wand li:nth-child(even) .w { background: var(--tinte); color: var(--weiss); rotate: 4deg; }
.wand a:hover .w { rotate: 0deg; }
.wand .t { display: block; font-weight: 600; font-size: 1.25rem; line-height: 1.25; margin-top: .55rem; }
.wand .k { display: block; font-size: .95rem; color: #3e3a44; margin-top: .3rem; max-width: 38ch; }
.wand .m { display: block; font-family: var(--mono); font-weight: 700; font-size: .8rem; margin-top: .55rem; }
.wand .m::after { content: "  →"; color: var(--rot); }
@media (min-width: 960px) { .wand li:nth-child(3n+2) { translate: 0 2.5rem; } .anleitungen { padding-bottom: 9rem; } }

/* ---------- Folgen (gelbes Band) ---------- */
.folgen { background: var(--gelb); padding: 6rem 0 5.5rem; text-align: center; }
.folgen-innen { width: var(--breite); margin-inline: auto; }
.folgen .vor { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 1rem; background: var(--weiss); border: 2px solid var(--tinte); border-radius: 999px; padding: .4rem 1rem; rotate: -2deg; }
.folgen h2 { font-size: clamp(3.4rem, 15vw, 20rem); line-height: .85; letter-spacing: -.065em; margin: 1.5rem 0 2.5rem; }
.folgen .at { color: var(--rot); display: inline-block; transition: rotate .6s var(--feder); }
.folgen h2:hover .at { rotate: -20deg; }
.profile { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.profile a { display: inline-flex; align-items: center; min-height: 3.6rem; padding: 0 1.8rem; border-radius: 999px; background: var(--tinte); color: var(--weiss); border: 3px solid var(--tinte); font-family: var(--mono); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: transform .35s var(--feder), background-color .15s, color .15s; }
.profile a:hover { background: var(--weiss); color: var(--tinte); }
@media (hover: hover) { .profile li:nth-child(odd) a:hover { transform: translateY(-4px) rotate(-4deg); } .profile li:nth-child(even) a:hover { transform: translateY(-4px) rotate(4deg); } }
.profile a:focus-visible { outline-color: var(--tinte); }
.bald { margin-top: 2rem; font-family: var(--mono); font-weight: 700; font-size: 1rem; }
.bald::before { content: "✉  "; color: var(--rot); }

/* ---------- Fuss ---------- */
.fuss { background: var(--tinte); color: var(--weiss); padding: 3.5rem 0 2rem; overflow: hidden; border-radius: 48px 48px 0 0; margin-top: -2.5rem; position: relative; }
.fuss-innen { width: var(--breite); margin-inline: auto; }
.wortmarke { font-family: var(--mono); font-weight: 700; font-size: min(12.2vw, 15rem); line-height: .9; letter-spacing: -.06em; white-space: nowrap; color: var(--rot); margin-left: -.04em; }
.wortmarke .prompt { color: var(--weiss); }
.wortmarke .cursor { box-shadow: none; }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; color: #cfcad4; font-size: .95rem; }
.fuss-zeile nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.fuss-zeile a { text-decoration: none; padding: .6rem .9rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 2px solid transparent; }
.fuss-zeile a:hover { border-color: var(--weiss); color: var(--weiss); }
.fuss :focus-visible { outline-color: var(--gelb); }

/* ---------- Kleine Fenster (Höhe) und Breiten ---------- */
@media (min-width: 960px) and (max-height: 1300px) { .chips a span { display: none; } }
@media (min-width: 960px) and (max-height: 920px) {
  .zeile-oben { margin-bottom: .7rem; }
  .held h1 { font-size: min(11.5vw, 19svh); }
  .unter { margin-top: .9rem; }
  .lead { font-size: 1.15rem; }
  .finder { margin-top: 1rem; }
  .treffer { min-height: 2.7rem; padding-top: .55rem; }
  .chips { gap: .4rem; }
  .chips a { min-height: 40px; padding: .35rem .8rem; font-size: .8rem; }
}
@media (max-width: 1100px) {
  :root { --ph: min(64svh, 50vw); }
  .reise { grid-template-columns: minmax(0, 1fr) calc(var(--pw) * 1.5); }
  .handy-hinten.h2 { display: none; }
  .handy-vorne { left: calc(var(--pw) * .42); }
  .kleber.k2 { right: auto; left: calc(var(--pw) * .9); }
}
@media (max-width: 959px) {
  :root { --pw: 45vw; --ph: calc(45vw * 16 / 9); }
  .reise { grid-template-columns: minmax(0, 1fr) var(--pw); grid-template-areas: "oben oben" "titel titel" "lead lead" "finder finder" "chips handy" "sg sg"; column-gap: 14px; align-items: start; }
  .held, .held-text { display: contents; }
  .zeile-oben { grid-area: oben; justify-self: start; font-size: .78rem; margin: .5rem 0 .4rem; padding: .25rem .7rem; }
  .held h1 { grid-area: titel; font-size: 19vw; }
  .unter { grid-area: lead; margin-top: .7rem; }
  .lead { font-size: 1rem; max-width: none; }
  .buehne-spalte { grid-area: handy; }
  .buehne { position: relative; top: auto; margin-top: .3rem; width: var(--pw); height: var(--ph); }
  .handy-hinten, .kleber, .etikett, .ov { display: none; }
  .handy-vorne { left: 0; transform: rotate(3deg); }
  .handy-vorne video { box-shadow: 6px 7px 0 var(--rot); }
  .pause { left: 7px; top: calc(var(--ph) - 37px); }
  .finder { grid-area: finder; margin-top: .9rem; }
  .eingabe { padding-left: .9rem; box-shadow: 4px 4px 0 var(--tinte); }
  .eingabe .prompt, .eingabe input { font-size: 1.3rem; }
  .eingabe button { padding: 0 1rem; min-height: 2.9rem; font-size: .95rem; }
  .treffer { min-height: 2.6rem; padding-top: .5rem; }
  .treffer .hinweis { font-size: .85rem; }
  .treffer-los { display: none; }
  .chips { grid-area: chips; gap: 6px; margin-top: .3rem; align-content: start; }
  .chips a { padding: .3rem .55rem; font-size: .75rem; }
  .chips a span { display: none; }
  .nur-breit { display: none !important; }

  /* So gahts am Handy: ein Kasten haftet kurz, darin spielen die drei Szenen nacheinander (ohne JS: drei Kästen untereinander) */
  .so-gahts { margin-top: 2rem; padding: 3.5rem 0 3rem; }
  .so-gahts::before { border-radius: 32px 32px 0 0; }
  .so-gahts h2 { margin-bottom: 1.5rem; }
  .szenen { display: grid; gap: 1rem; margin-bottom: 2rem; }
  .szene { display: flex; height: 14rem; border-radius: 32px; background: var(--weiss); color: var(--tinte); border: var(--strich); flex-direction: column; align-items: center; justify-content: center; gap: .7rem; position: relative; overflow: hidden; }
  .szene-kommentar { background: var(--gelb); } .szene-dm { background: var(--blau); }
  .szenen-an .szenen { display: block; position: sticky; top: .8rem; z-index: 3; height: 14rem; margin-bottom: 0; }
  .szenen-an .szene { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
  .szenen-an .szene.an { opacity: 1; }
  .szenen-an .schritte li { min-height: 44svh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 1.2rem; }
  .schritte li { margin-bottom: 1.4rem; }
  .schritte h3 { font-size: 1.6rem; }
  .schritte p { font-size: 1rem; }
  .szene .mini { position: relative; height: 84%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 3px solid var(--tinte); transform: rotate(-5deg); background: var(--tinte); }
  .szene .mini img, .szene .mini video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .szene .mini video { opacity: 0; }
  .szene-video.spielt .mini video { opacity: 1; }
  .szene-video .uhr { position: absolute; right: 12%; bottom: 14%; font-family: var(--mono); font-weight: 700; font-size: 1.3rem; background: var(--rot); color: var(--weiss); padding: .3rem .8rem; border-radius: 999px; border: 2px solid var(--tinte); transform: rotate(6deg); }
  .szene .name { font-family: var(--mono); font-weight: 700; font-size: .85rem; }
  .szene-kommentar .blase { font-family: var(--mono); font-weight: 700; font-size: 2.2rem; background: var(--weiss); padding: .3em .7em; border-radius: 30px 30px 30px 8px; border: var(--strich); box-shadow: 6px 6px 0 var(--tinte); }
  .szene .gesendet { font-family: var(--mono); font-size: .85rem; }
  .szene-dm .blase { font-family: var(--mono); font-weight: 700; font-size: .8rem; white-space: nowrap; background: var(--tinte); color: var(--weiss); padding: .9em 1em; border-radius: 30px 30px 8px 30px; text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: .2em; }
  .szene .neu { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; font-size: .75rem; margin-left: .3rem; background: var(--rot); color: var(--weiss); border: 2px solid var(--tinte); }
  .szenen-an .szene:not(.los) * { animation: none !important; }
  .szenen-an .szene:not(.los) .mini { transform: translateY(18%) rotate(-16deg); }
  .szenen-an .szene:not(.los) .uhr, .szenen-an .szene:not(.los) .gesendet, .szenen-an .szene:not(.los) .neu { opacity: 0; }
  .szenen-an .szene:not(.los) .tipp { width: 0; }
  .szenen-an .szene-dm:not(.los) .blase { transform: translateX(80%); }
  .los .mini { animation: kippen .8s var(--kurve) both; }
  .los .uhr { animation: ploppen .5s .7s var(--feder) both; }
  .los .tipp { animation: tippen 1.1s .3s steps(6) both; }
  .los .schreibmarke { animation: blinken .5s .1s steps(1) 4 both; opacity: 1; }
  .los .gesendet { animation: rein2 .4s 1.6s ease-out both; }
  .szene-dm.los .blase { animation: reinflug .7s .35s var(--feder) both; }
  .los .neu { animation: ploppen .4s .2s var(--feder) both; }

  .anleitungen { padding: 4.5rem 0 5rem; }
  .abschnitt-kopf { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .wand li.gross { grid-column: span 2; }
  .wand .bild img, .wand .bild video, .wand .bild::after { border-radius: 16px; }
  .wand .bild::after { translate: 6px 6px; }
  .wand .w { font-size: .95rem; margin-left: .4rem; }
  .wand li.gross .w { font-size: 1.3rem; }
  .wand .t { font-size: 1rem; margin-top: .6rem; }
  .wand .k { display: none; }
  .wand li.gross .k { display: block; }
  .wand .m { font-size: .72rem; }
  .folgen { padding: 4.5rem 0; }
  .profile a { min-height: 3.2rem; padding: 0 1.3rem; font-size: 1rem; }
  .fuss { border-radius: 32px 32px 0 0; }
}
@keyframes kippen { from { transform: translateY(18%) rotate(-16deg); } }
@keyframes ploppen { from { opacity: 0; scale: 0; } }
@keyframes rein2 { from { opacity: 0; translate: 0 .5rem; } }
@keyframes reinflug { from { transform: translateX(80%); } }

/* ---------- Weniger Bewegung: nur rein dekorative Bewegung aus. Videos, Figur, Szenen und Cursor laufen weiter. ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .held h1 .z1 > span, .held h1 .z2 > span, .kleber, .treffer-link { animation: none; }
}
