:root { --g: #ffffff; --g2: #8a8a8a; --mint: #e6e6e6; --bg: #050505; --panel: #0d0d0d; --rand: #2a2a2a; --leise: #8a8a8a; }   /* ganz weiss seit 09.11.2026, vorher Phosphorgrün (Sicherung in ../_sicherungen) */
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--mint); font: 400 16px/1.6 "JetBrains Mono", ui-monospace, Menlo, monospace; overflow-x: hidden; }
  a { color: var(--g); text-decoration: none; }
  a:hover { text-decoration: underline; }
  /* Röhrenmonitor: feine Zeilen über allem */
  body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
    background: repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 2px, transparent 2px 4px); }
  #regen { position: fixed; inset: 0; z-index: 0; opacity: .5; }
  main, header, footer { position: relative; z-index: 1; }
  .w { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
  .glow { text-shadow: 0 0 8px rgba(57,255,106,.6), 0 0 22px rgba(57,255,106,.35); }

  /* Kopf */
  nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
  nav .logo { display: flex; align-items: center; gap: 10px; color: var(--g); font-weight: 700; }
  nav .logo svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(57,255,106,.6)); }
  nav .links { display: flex; gap: 18px; font-size: 14px; }
  nav .links a { color: var(--leise); }
  nav .links a:hover { color: var(--g); text-decoration: none; }

  /* Hero */
  .hero { min-height: 86vh; display: grid; place-items: center; text-align: center; padding: 40px 0 70px; }
  .hase { width: 132px; height: 132px; color: var(--g); filter: drop-shadow(0 0 10px rgba(57,255,106,.7)) drop-shadow(0 0 30px rgba(57,255,106,.35)); }
  .hase path { fill: currentColor; }
  .hase .auge { animation: blinzeln 5s infinite; transform-box: fill-box; transform-origin: center; transform: scaleY(0); }
  @keyframes blinzeln { 0%, 93%, 99%, 100% { transform: scaleY(0); } 95%, 97% { transform: scaleY(1); } }   /* Lid schliesst kurz: Lücke wird grün */
  .prompt { margin: 26px 0 6px; font-size: clamp(15px, 2.4vw, 20px); color: var(--g); opacity: .85; min-height: 1.6em; }
  .cursor { display: inline-block; width: .6em; height: 1.05em; background: var(--g); vertical-align: -.15em; margin-left: 2px; animation: blink 1.06s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  h1 { margin: 0; font-weight: 800; font-size: clamp(28px, 6.6vw, 84px); overflow-wrap: anywhere; line-height: 1.05; color: var(--g); letter-spacing: -.01em; }
  .zeile { margin: 18px auto 0; font-size: clamp(15px, 2.2vw, 19px); color: var(--mint); max-width: 34em; }
  .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
  .k { border: 1px solid var(--g2); padding: 11px 18px; border-radius: 4px; color: var(--g); background: rgba(8,17,11,.7); font-size: 14px; transition: background .15s, box-shadow .15s; }
  .k:hover { background: rgba(57,255,106,.1); box-shadow: 0 0 18px rgba(57,255,106,.25); text-decoration: none; }
  .k.voll { background: var(--g); color: #021006; font-weight: 700; border-color: var(--g); }
  .k.voll:hover { background: #6bff90; }
  .runter { margin-top: 44px; color: var(--leise); font-size: 13px; }

  section { padding: 90px 0; border-top: 1px solid var(--rand); }
  .kap { color: var(--leise); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
  h2 { margin: 6px 0 22px; color: var(--g); font-size: clamp(26px, 4.4vw, 44px); line-height: 1.15; }
  p { max-width: 42em; }

  /* Episode */
  .episode { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: center; }
  .poster { position: relative; border: 1px solid var(--rand); border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 2.39 / 1; }
  .poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .6s; }
  .poster .badge { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.65); color: var(--g); padding: 4px 9px; font-size: 12px; border-radius: 3px; letter-spacing: .1em; }
  .poster .bald { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); color: var(--mint); padding: 6px 10px; font-size: 12px; border-radius: 3px; }
  .stills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
  .stills button { padding: 0; border: 1px solid var(--rand); border-radius: 3px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 2.39 / 1; opacity: .55; transition: opacity .2s, border-color .2s; }
  .stills button.an, .stills button:hover { opacity: 1; border-color: var(--g2); }
  .stills img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* Zahlen */
  .zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
  .zahl { background: var(--panel); border: 1px solid var(--rand); border-radius: 6px; padding: 22px 18px; }
  .zahl b { display: block; color: var(--g); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; }
  .zahl span { color: var(--leise); font-size: 13px; }

  /* Terminal-Log */
  .term { background: #020503; border: 1px solid var(--rand); border-radius: 6px; overflow: hidden; margin-top: 30px; }
  .term .leiste { display: flex; gap: 7px; padding: 10px 12px; border-bottom: 1px solid var(--rand); }
  .term .leiste i { width: 11px; height: 11px; border-radius: 50%; background: #1c2a20; }
  .term pre { margin: 0; padding: 18px 20px 22px; font: inherit; font-size: 14px; line-height: 1.75; white-space: pre-wrap; color: var(--mint); min-height: 18em; }
  .term .p { color: var(--g); } .term .l { color: var(--leise); }

  /* Kanäle */
  .kanaele { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
  .kanal { display: block; background: var(--panel); border: 1px solid var(--rand); border-radius: 6px; padding: 20px; color: var(--mint); transition: border-color .2s, transform .2s; }
  .kanal:hover { border-color: var(--g2); transform: translateY(-2px); text-decoration: none; }
  .kanal b { display: block; color: var(--g); font-size: 18px; margin-bottom: 4px; }
  .kanal span { color: var(--leise); font-size: 13px; }

  footer { border-top: 1px solid var(--rand); padding: 34px 0 50px; color: var(--leise); font-size: 13px; }
  footer .w { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

  @media (max-width: 820px) {
    .episode { grid-template-columns: 1fr; }
    .zahlen, .kanaele { grid-template-columns: repeat(2, 1fr); }
    nav .links a.weg { display: none; }
    .stills { grid-template-columns: repeat(3, 1fr); }
    section { padding: 64px 0; }
  }
  @media (prefers-reduced-motion: reduce) { #regen { display: none; } .cursor, .hase .auge { animation: none; } }

  /* Kaninchenbau: beim Scrollen durch einen Tunnel fallen (Startseite) */
  .bau { position: relative; height: 700vh; border-top: 0; padding: 0; }
  .bau .halt { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
  .bau canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .bau .text { position: relative; z-index: 2; text-align: center; pointer-events: none; padding: 0 20px; }
  .bau .text div { position: absolute; left: 50%; top: 74%; width: min(90vw, 760px); transform: translate(-50%, -50%); opacity: 0; transition: opacity .35s; font-size: clamp(20px, 3.4vw, 34px); color: var(--g); font-weight: 700; }
  .bau .text div.an { opacity: 1; }
  .bau .faller { position: absolute; z-index: 3; width: 64px; height: 64px; left: 50%; top: 50%; color: var(--g); filter: drop-shadow(0 0 10px rgba(57,255,106,.8)); will-change: transform; }
  .bau .faller path { fill: currentColor; }

  /* Projekte */
  .projekte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
  .projekt { display: block; background: var(--panel); border: 1px solid var(--rand); border-radius: 8px; overflow: hidden; color: var(--mint); transition: border-color .2s, transform .2s; }
  .projekt:hover { border-color: var(--g2); transform: translateY(-3px); text-decoration: none; }
  .projekt .bild { aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; border-bottom: 1px solid var(--rand); position: relative; }
  .projekt .bild span { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.7); color: var(--g); font-size: 11px; padding: 3px 8px; border-radius: 3px; letter-spacing: .1em; }
  .projekt .txt { padding: 16px 18px 20px; }
  .projekt b { display: block; color: var(--g); font-size: 19px; margin-bottom: 6px; }
  .projekt p { margin: 0; font-size: 14px; color: var(--mint); }
  .projekt.bald { opacity: .55; pointer-events: none; }
  .projekt.bald .bild { display: grid; place-items: center; color: var(--leise); font-size: 40px; }
  @media (max-width: 820px) { .projekte { grid-template-columns: 1fr; } }

/* Weisser Hase mit weissem Schein (Olivier, 09.11.2026), Schrift bleibt grün */
.hase, nav .logo svg, .bau .faller { color: #f3fff6; }
.hase { filter: drop-shadow(0 0 10px rgba(255,255,255,.55)) drop-shadow(0 0 30px rgba(255,255,255,.25)); }
nav .logo svg { filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
.bau .faller { filter: drop-shadow(0 0 10px rgba(255,255,255,.7)); }
.hase .auge { fill: #f3fff6; }

/* Klick: das Kaninchen frisst eine Karotte */
.hasenbox { position: relative; display: inline-block; }
.hase { cursor: pointer; }
.hase:focus { outline: none; }
.hase:focus-visible { outline: 2px solid #f3fff6; outline-offset: 6px; }
.hase .mund { fill: #050505; opacity: 0; transform-box: fill-box; transform-origin: 50% 45%; transform: scale(.42, .3); }   /* startet so gross wie der normale Mund */
.hase.isst .mund { opacity: 1; transform: scale(1, 1); transition: transform .6s cubic-bezier(.55,0,.85,.45); }   /* wächst, während die Karotte kommt */
.hase.isst.kaut .mund { transform: scale(1, .12); transition: transform .06s steps(2); }   /* zu */
.hase.isst.weit .mund { transform: scale(1.12, 1.15); transition: transform .06s steps(2); }   /* ganz weit auf */
.hase.isst { transition: transform .07s steps(2); }
.hase.isst.wackel { transform: translateY(3px) rotate(-4deg); }
.hase.isst.kaut:not(.wackel) { transform: translateY(-2px) rotate(2deg); }
.futter { position: absolute; left: 50%; top: 80%; width: 170px; height: 36px; overflow: hidden; pointer-events: none; visibility: hidden; transform: translateY(-50%); }
.futter.da { visibility: visible; }
.futter svg { display: block; width: 94px; height: 36px; filter: drop-shadow(0 0 8px rgba(255,138,31,.5)); }
.futter .ruebe, .futter .rille, .futter .kraut { fill: #39ff6a; }   /* grüne Matrix-Karotte (Olivier, 09.11.2026) */
.kruemel { position: absolute; left: 50%; top: 86%; width: 6px; height: 6px; background: #39ff6a; pointer-events: none; animation: kruemel .8s ease-in forwards; }
@keyframes kruemel { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(var(--dx), 46px); opacity: 0; } }
.hase.hopp { animation: hopp .5s ease-out; }
@keyframes hopp { 0% { transform: translateY(0); } 40% { transform: translateY(-16px) scale(1.06); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hase.hopp, .kruemel { animation: none; } }

/* Pfeil nach unten in den Kaninchenbau (statt Menü oben, Olivier 09.11.2026) */
.runter { cursor: default; user-select: none; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 46px; color: #f3fff6; text-decoration: none; font-size: 14px; letter-spacing: .08em; opacity: .85; }
.runter svg { width: 50px; height: 50px; fill: currentColor; filter: drop-shadow(0 0 8px rgba(255,255,255,.55)); animation: runter 1.6s ease-in-out infinite; }
@keyframes runter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .runter svg { animation: none; } }

/* Ganz weiss, ohne Schatten und ohne Flimmerlinien (Olivier, 09.11.2026) */
body::after { display: none; }
.glow, h1 { text-shadow: none; }
.hase, nav .logo svg, .bau .faller, .runter svg, .futter svg { filter: none; }
.hase.ist-karotte { filter: none; }
.k:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.k.voll { color: #050505; }
.k.voll:hover { background: #d9d9d9; }

/* Hell oder dunkel nach Einstellung von Browser oder System (Olivier, 09.11.2026): hell = invertiert, schwarzer Hase auf Weiss */
@media (prefers-color-scheme: light) {
  :root { --g: #0a0a0a; --g2: #9a9a9a; --mint: #1c1c1c; --bg: #fafafa; --panel: #f0f0f0; --rand: #d6d6d6; --leise: #6b6b6b; color-scheme: light; }
  .hase, nav .logo svg, .bau .faller { color: #0a0a0a; }
  .hase .auge { fill: #0a0a0a; }
  .hase .mund { fill: #fafafa; }
  .k { background: rgba(250,250,250,.8); }
  .k:hover { background: rgba(0,0,0,.06); }
  .k.voll { color: #fafafa; }
  .k.voll:hover { background: #333; }
  .runter { color: #0a0a0a; }
}

/* Nach dem Fressen der grünen Karotte wird die ganze Seite grün (Matrix), nochmals füttern macht sie wieder schwarz-weiss */
body { transition: background-color .8s, color .8s; }
body.gruen { --g: #39ff6a; --g2: #1fae45; --mint: #c8f5d2; --bg: #050806; --panel: #08110b; --rand: #163a20; --leise: #6f9c7a; background: var(--bg); color: var(--mint); color-scheme: dark; }
body.gruen .hase, body.gruen nav .logo svg, body.gruen .bau .faller, body.gruen .runter { color: #39ff6a; }
body.gruen .hase .auge { fill: #39ff6a; }
body.gruen .hase .mund { fill: #050806; }
body.gruen .k { background: rgba(8,17,11,.7); }
body.gruen .k:hover { background: rgba(57,255,106,.1); }
body.gruen .k.voll { color: #021006; background: var(--g); border-color: var(--g); }
body.gruen .k.voll:hover { background: #6bff90; }
body.gruen .glow, body.gruen h1 { text-shadow: 0 0 8px rgba(57,255,106,.45); }
/* Im grünen Modus ist die Rübe weiss (Olivier, 09.11.2026) */
body.gruen .futter .ruebe, body.gruen .futter .rille, body.gruen .futter .kraut { fill: #ffffff; }
body.gruen .kruemel { background: #ffffff; }
