/* ==========================================================================
   STARTSEITE (index.html). Nur das, was nur diese Seite braucht.
   Farben, Reset, Menü und Footer stehen in basis.css (wird VOR dieser Datei geladen).
   Hier: Scroll-Kopf (Straße, Fenster, Büro), Leuchtpunkte, Kopf-Dreh-Bilder, Menü im Kopf, Tag/Nacht-Schalter im Kopf, Weiter-Block.
   Menü oben ("leiste") bleibt bis nach dem Kopf versteckt.
   Passendes Skript: js/startseite.js
   Achtung: .kopf heißt HIER der drehende Kopf im Büro (nicht der Kopf-Bereich wie auf anderen Seiten).
   ========================================================================== */
/* Startseite: Scroll-Kopf aus der Motion-Spielwiese (Straße → Fenster → Büro mit Hotspots und Bounce-Menü), danach Glasmenü und Footer wie auf allen Seiten */
/* ===== EIGENE TOPF-WERTE: Alias-Namen (pflaume = wein), Zustandsfarben (erfolg, hinweis, fehler), Schriften, Easing und Verläufe. Nur auf dieser Seite so. ===== */
:root{
  --pflaume-tief:var(--wein-tief);
  --pflaume:var(--wein);
  --brombeere:var(--weinrot);
  --erfolg:#5FCDB3;
  --hinweis:#E9D84E;
  --fehler:#D01F2B;
  --surface-2:#F6F6F8;
  --hair:rgba(42,11,24,.12);
  --glass-line:rgba(255,255,255,.75);
  --font-display:"Gloock",Georgia,"Times New Roman",serif;
  --font-sans:"Figtree",Arial,Helvetica,sans-serif;
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --verlauf:linear-gradient(160deg,var(--wein-tief) 0%,var(--wein-tief) 35%,var(--weinrot) 100%);
  --verlauf-tuerkis:linear-gradient(150deg in oklab,var(--lagune-tief) 0%,var(--tuerkis) 50%,var(--leucht-tuerkis) 100%);
  --verlauf-bogen:linear-gradient(180deg in oklab,var(--tuerkis) 0%,var(--lagune-tief) 34%,var(--tiefsee) 52%,var(--wein-tief) 74%,var(--weinrot) 100%);
  --bg-page:var(--verlauf-hell);
  --verlauf-hell:radial-gradient(110% 85% at 100% 0%,var(--tuerkis-licht) 0%,rgba(191,239,245,0) 58%),radial-gradient(90% 70% at 0% 100%,var(--beeren-glut) 0%,rgba(235,200,212,0) 55%),linear-gradient(180deg,var(--hellweiss),var(--hellweiss-2))
}
/* Nacht-Werte: einmal für "System ist dunkel und Mensch hat nichts gewählt", einmal für "Mensch hat Dunkel gewählt" (data-theme=dark). */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:var(--pflaume-tief);--bg-page:var(--pflaume-tief);--surface:var(--pflaume);--surface-2:#4A1A2C;--ink:var(--papierweiss);--ink-muted:#B7ABAF;--line:var(--leucht-tuerkis);--hair:rgba(243,239,234,.12);
  --accent:var(--beere-hell);--pointe:var(--leucht-tuerkis);--focus:var(--leucht-tuerkis);--glass:rgba(62,20,36,.55);--glass-line:rgba(168,218,220,.3);color-scheme:dark}}
:root[data-theme="dark"]{
  --bg-page:var(--pflaume-tief);
  --surface-2:#4A1A2C;
  --hair:rgba(243,239,234,.12);
  --glass-line:rgba(168,218,220,.3);
  color-scheme:dark
}
/* ===== GLAS IM KOPF: Milchglas für Menü, Schalter und Schilder. In Chrome (.refract) mit Brechungs-Filter #lg. ===== */
.scene .glass{position:relative;background:linear-gradient(135deg,rgba(255,255,255,.20),rgba(255,255,255,.05) 55%,rgba(255,255,255,.10));border:1px solid rgba(255,255,255,.30);
  -webkit-backdrop-filter:blur(10px) saturate(180%) brightness(1.05);backdrop-filter:blur(10px) saturate(180%) brightness(1.05);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(255,255,255,.15),inset 0 0 18px rgba(255,255,255,.10),0 12px 30px rgba(20,4,18,.45)}
.scene .glass::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 70% at 20% 0%,rgba(255,255,255,.35),transparent 45%);mix-blend-mode:screen;opacity:.7}
html.refract .scene .glass{-webkit-backdrop-filter:url(#lg) blur(6px) saturate(180%) brightness(1.05);backdrop-filter:url(#lg) blur(6px) saturate(180%) brightness(1.05)}
/* ===== KOPF-MENÜ (.gnav): Reihe aus Knöpfen mit Icon und Text. Aktiver Knopf: gefülltes Icon. Linse (.lens) gleitet zum aktiven Knopf. Bounce: Icon hüpft beim Klick. ===== */
.scene .gnav{position:relative;display:flex;padding:6px;border-radius:999px}
.scene .gnav button{position:relative;z-index:2;width:62px;height:52px;border:none;background:none;color:#fff;display:grid;place-items:center;cursor:pointer;font-size:10px;font-weight:600;gap:1px;text-shadow:0 1px 6px rgba(0,0,0,.5);opacity:.85;transition:opacity .3s,transform .4s var(--ease-spring)}
.scene .gnav button[aria-current="true"]{opacity:1;font-weight:800}
.scene .gnav svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.scene .gnav.liquid{background:rgba(42,11,24,.62)!important;box-shadow:0 8px 24px rgba(20,4,18,.22)!important;border-color:rgba(255,255,255,.18)!important}
.scene .gnav.liquid::after{display:none}
.scene .gnav.liquid .lens{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-theme="light"] .scene .gnav.liquid .lens{background:rgba(42,11,24,.08);border-color:rgba(42,11,24,.16)}
:root[data-theme="light"] .scene .gnav.liquid{border-color:rgba(42,11,24,.12)!important}
.scene .gnav.liquid button{text-shadow:none;opacity:1}
:root[data-theme="light"] .scene .gnav.liquid{background:rgba(255,255,255,.78)!important}
:root[data-theme="light"] .scene .gnav.liquid button{color:var(--pflaume-tief)}
.scene .lens{position:absolute;z-index:3;top:6px;left:6px;width:62px;height:52px;border-radius:999px;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter:blur(1.5px) saturate(220%) brightness(1.25) contrast(1.05);backdrop-filter:blur(1.5px) saturate(220%) brightness(1.25) contrast(1.05);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.6),0 4px 12px rgba(0,0,0,.18);transition:transform .6s var(--ease-spring),width .22s var(--ease-out)}
.scene .gnav.bounce button::before{content:"";position:absolute;left:50%;top:42%;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,0) 52%,rgba(255,255,255,.10) 70%,rgba(255,255,255,.28) 100%);-webkit-backdrop-filter:blur(.6px) brightness(1.15) saturate(1.4);backdrop-filter:blur(.6px) brightness(1.15) saturate(1.4);box-shadow:inset 0 3px 6px rgba(255,255,255,.35),inset 0 -6px 10px rgba(0,0,0,.18),0 6px 14px rgba(0,0,0,.22);transform:scale(0);transition:transform .45s var(--ease-spring);z-index:-1}
.scene .gnav.bounce button[aria-current="true"] svg{transform:scale(1.18)}
.scene .gnav.bounce button[aria-current="true"]::before{transform:scale(1)}
.scene .gnav.bounce button[aria-current="true"]{color:#fff}
@keyframes jump{0%{transform:none}30%{transform:translateY(-16px) scale(.92,1.12)}55%{transform:translateY(0) scale(1.15,.85)}75%{transform:translateY(-4px) scale(.97,1.04)}100%{transform:none}}
/* ===== KURVEN-MENÜ (.men): Leiste mit Kurve (SVG-Kante) und Leuchtfleck darunter. ===== */
.scene .men{position:relative;width:min(100%,540px);height:112px;z-index:1}
.scene .men .barbg{position:absolute;left:0;right:0;top:0;height:80px;background:linear-gradient(0deg,rgba(62,20,36,.55),rgba(42,11,24,.72))!important;border:none!important;box-shadow:none!important}
.scene .men svg.edge{position:absolute;left:0;top:0;width:100%;height:80px;overflow:visible;pointer-events:none}
.scene .men svg.edge path{fill:none;stroke:rgba(255,255,255,.5);stroke-width:1.4}
.scene .men .glow{position:absolute;top:62px;left:0;width:90px;height:60px;margin-left:-45px;border-radius:50%;filter:blur(22px);opacity:.7;background:var(--tuerkis)}
/* ===== SCHALTER (.sw): runder Knopf auf einer Schiene. Varianten: icon, liquid, theme (Sonne dreht sich zum Mond: Strahlen weg, Kreis voll, Maske schneidet die Sichel). ===== */
.scene .sw{position:relative;width:76px;height:40px;border-radius:999px;border:none;background:var(--hair);cursor:pointer;transition:background .35s}
.scene .sw .k{position:absolute;top:4px;left:4px;width:32px;height:32px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:left .45s var(--ease-spring),transform .45s var(--ease-spring)}
.scene .sw[aria-checked="true"]{background:var(--tuerkis)}
.scene .sw[aria-checked="true"] .k{left:40px}
.scene .sw.icon .k svg{width:16px;height:16px;transition:transform .45s var(--ease-out)}
.scene .sw.icon .k path{stroke:var(--beere);stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:d .4s var(--ease-out),stroke .3s}
.scene .sw.icon[aria-checked="true"] .k svg{transform:rotate(360deg)}
.scene .sw.icon[aria-checked="true"] .k path{stroke:var(--pflaume-tief)}
.scene .sw.liquid .k{transition:left .42s var(--ease-spring),width .16s var(--ease-out)}
.scene .sw.liquid.moving .k{width:40px;border-radius:20px}
.scene .swrow{display:flex;align-items:center;gap:14px;font-weight:600}
.scene .swrow .opt{font-size:14px;color:var(--ink-muted);transition:color .3s}
.scene .swrow .opt.on{color:var(--ink)}
.scene .sw.theme[aria-checked="true"]{background:var(--brombeere)}
.scene .sw.theme .k{color:var(--pflaume)}
.scene .sw.theme[aria-checked="true"] .k{color:var(--leucht-tuerkis);background:var(--pflaume-tief)}
.scene .sw.theme svg{width:20px;height:20px;overflow:visible}
.scene .sw.theme .rays{transform-origin:12px 12px;transition:transform .5s var(--ease-spring),opacity .3s}
.scene .sw.theme .core{fill:transparent;stroke:currentColor;stroke-width:2.2;transition:r .45s var(--ease-spring),fill .3s,stroke-width .3s}
.scene .sw.theme[aria-checked="true"] .core{fill:currentColor;stroke-width:0}
.scene .sw.theme .cut{transition:cx .45s var(--ease-out),cy .45s var(--ease-out)}
.scene .sw.theme[aria-checked="true"] .rays{transform:rotate(90deg) scale(.4);opacity:0}
.scene .sw.theme[aria-checked="true"] .core{r:8.5px}
.scene .sw.theme[aria-checked="true"] .cut{cx:17px;cy:7px}
/* ===== SCROLL-KOPF: .scrolly ist die lange Strecke (340vh). .scene klebt oben und zeigt Straße und Büro. .street und .office liegen übereinander. ===== */
.scrolly{position:relative;height:340vh;border-radius:28px;margin-inline:0}
.scene{position:sticky;top:env(safe-area-inset-top,0px);height:min(100vh,860px);border-radius:28px;overflow:hidden;background:var(--pflaume-tief);color:var(--papierweiss);isolation:isolate;touch-action:pan-y}
.street,.office{position:absolute;inset:0;overflow:hidden}
.street img,.office img{position:absolute;left:50%;top:50%;width:auto;height:auto;max-width:none;transform-origin:0 0;will-change:transform;-webkit-user-select:none;user-select:none;pointer-events:none}
.street img{opacity:0;transition:opacity .5s}
.street img.on{opacity:1}
.office{will-change:clip-path}
.office::after{content:"";position:absolute;inset:0;background:radial-gradient(90% 70% at 50% 40%,transparent 50%,rgba(42,11,24,.55));pointer-events:none}
.glow-win{position:absolute;pointer-events:none;border-radius:50% 50% 4px 4px/40% 40% 4px 4px;box-shadow:0 0 40px 10px rgba(255,236,210,.35);opacity:var(--gw,1)}
/* ===== INTRO-BOX und SCROLL-HINWEIS: Text unten links, Maus-Symbol unten Mitte. ===== */
.intro{position:absolute;z-index:5;left:clamp(16px,4vw,48px);bottom:clamp(20px,6vh,56px);max-width:min(440px,calc(100% - 32px));padding:22px 24px;border-radius:24px;will-change:transform,opacity}
.intro .kicker{font:700 12px/1 var(--font-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--leucht-tuerkis)}
.intro h1{font-size:clamp(36px,5.4vw,64px);line-height:.98;margin:10px 0 12px}
.intro h1 em{font-style:normal;color:var(--pointe)}
.intro p{margin:0;font-size:15px;opacity:.92}
.hint{position:absolute;z-index:5;left:50%;bottom:14px;translate:-50% 0;font:600 12px/1 var(--font-sans);letter-spacing:.14em;text-transform:uppercase;display:grid;justify-items:center;gap:6px;opacity:.9;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.hint i{width:20px;height:32px;border:2px solid currentColor;border-radius:12px;position:relative}
.hint i::after{content:"";position:absolute;left:50%;top:6px;width:4px;height:6px;margin-left:-2px;border-radius:2px;background:currentColor;animation:wheelh 1.6s var(--ease-out) infinite}
@keyframes wheelh{0%{transform:translateY(0);opacity:1}100%{transform:translateY(10px);opacity:0}}
.office img{opacity:0;transition:opacity .6s}
/* ===== MONITORE im Büro: zwei Flächen (.scrL, .scrR), per matrix3d genau auf die Bildschirme im Foto gelegt. Darin wechseln Folien (.slide). ===== */
.screens{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0;pointer-events:none;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.scr{position:absolute;overflow:hidden;background:#EEF1F4}
.scrL,.scrR{left:0;top:0;width:210px;height:126px;transform-origin:0 0}
.scrL{transform:matrix3d(1.36223,0.119084,0,0.00025641,0,1.0873,0,0,0,0,1,0,1144,347,0,1)}
.scrR{transform:matrix3d(0.731162,-0.0891457,0,-0.00017507,0,1.03968,0,0,0,0,1,0,1378,352,0,1)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .8s}
.slide.on{opacity:1}
.plan{width:100%;height:100%}
/* Folie "Projekte": Raster aus sechs Kacheln, die nacheinander aufleuchten. */
.scene .pf{position:absolute;inset:8px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.scene .pf i{border-radius:40% 40% 3px 3px/30% 30% 3px 3px;background:linear-gradient(180deg in oklab,#00AFC4,#0B7E9E 34%,#0B2A38 52%,#2A0B18 74%,#5A1A33);animation:pfh 6s infinite}
.scene .pf i:nth-child(2n){background:linear-gradient(150deg in oklab,#0B7E9E,#00AFC4 50%,#A8DADC)}
.scene .pf i:nth-child(1){animation-delay:0s}
.scene .pf i:nth-child(2){animation-delay:1s}
.scene .pf i:nth-child(3){animation-delay:2s}
.scene .pf i:nth-child(4){animation-delay:3s}
.scene .pf i:nth-child(5){animation-delay:4s}
.scene .pf i:nth-child(6){animation-delay:5s}
@keyframes pfh{0%,12%{transform:none;filter:none}5%{transform:translateY(-3px);filter:brightness(1.25)}}
/* Folie "Grundriss" (.plan), "Exposé" (.expo), "Zeichnen" (.draw), "Blog" (.blogcard): kleine Fake-Bildschirme aus HTML. */
.plan .w{fill:none;stroke:#2A0B18;stroke-width:3}
.plan .d{fill:none;stroke:#0AA2B8;stroke-width:1.5}
.plan .f{fill:#EBC8D4;stroke:#5A1A33;stroke-width:1}
.plan text{font:600 9px/1 Figtree,Arial,sans-serif;fill:#5A1A33}
.expo{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;height:100%}
.eimg{border-radius:40% 40% 4px 4px/30% 30% 4px 4px;background:linear-gradient(180deg in oklab,#00AFC4,#0B7E9E 34%,#0B2A38 52%,#2A0B18 74%,#5A1A33)}
.etx{display:grid;align-content:center;gap:6px;font:500 9px/1.2 Figtree,Arial,sans-serif;color:#2A0B18}
.etx b{font:400 14px/1.05 Gloock,Georgia,serif}
.etx i{display:block;height:5px;border-radius:3px;background:#D5D7DD}
.etx i.s{width:60%}
.etx span{color:#C8174F;font-weight:700}
.draw{position:absolute;inset:0;background:#F6F6F8}
.draw img{position:absolute;left:46px;top:6px;height:120px;filter:grayscale(1) contrast(1.6) brightness(1.15);clip-path:inset(0 0 var(--rev,0%) 0);animation:rev 4s linear infinite}
@keyframes rev{0%{clip-path:inset(0 0 100% 0)}70%,100%{clip-path:inset(0 0 0 0)}}
.draw .tools{position:absolute;left:6px;top:8px;display:grid;gap:6px}
.draw .tools i{display:block;width:14px;height:14px;border-radius:4px;background:#D5D7DD}
.draw .tools i:first-child{background:#00AFC4}
.draw .cursor{position:absolute;width:8px;height:8px;border-radius:50%;background:#C8174F;animation:pen 4s linear infinite}
@keyframes pen{0%{left:90px;top:12px}20%{left:140px;top:30px}40%{left:96px;top:60px}60%{left:150px;top:90px}70%,100%{left:120px;top:118px}}
.blogcard{position:absolute;inset:10px;border-radius:10px;background:#fff;padding:12px;display:grid;align-content:center;gap:5px;box-shadow:0 4px 12px rgba(42,11,24,.12)}
.blogcard small{font:700 8px/1 Figtree,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#C8174F}
.blogcard b{font:400 20px/1 Gloock,Georgia,serif;color:#2A0B18}
.blogcard span{font:400 10px/1.3 Figtree,Arial,sans-serif;color:#6A4F58}
/* ===== TAG-FARBEN im Kopf: Schrift und Zeilen-Titel helleren Hintergrund anpassen. ===== */
:root[data-theme="light"] .scene{--sc-ink:var(--pflaume-tief);--sc-kick:var(--brombeere)}
.scene{--sc-ink:var(--papierweiss);--sc-kick:var(--leucht-tuerkis)}
:root[data-theme="light"] .scene .glass{background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.5));border-color:rgba(255,255,255,.85)}
.scene .intro .kicker{color:var(--sc-kick)}
:root[data-theme="light"] .scene .intro h1 em{color:var(--lagune-tief)}
/* ===== MENÜ UNTEN (.hmenu): Reihe aus Knöpfen im Büro, wischbar wenn zu breit. ===== */
.hmenu{max-width:calc(100% - 24px);overflow-x:auto;scrollbar-width:none}
.hmenu::-webkit-scrollbar{display:none}
.hmenu button{flex:none}
/* Menü-Namen nie umbrechen: "Über mich" hat ein Leerzeichen und sprang sonst am Handy in zwei Zeilen */
.hmenu button span{white-space:nowrap}
.scene .hint{padding:8px 12px;border-radius:999px}
:root[data-theme="light"] .scene .hint{background:rgba(255,255,255,.7)}
.spot .lab small{color:var(--leucht-tuerkis)}
:root[data-theme="light"] .spot .lab{background:rgba(255,255,255,.94)!important;color:var(--pflaume-tief);border-color:rgba(42,11,24,.15)!important}
:root[data-theme="light"] .spot .lab small{color:var(--beere)}
.hmenu button small{display:block;font:600 9px/1 var(--font-sans);opacity:.7;margin-top:3px}
.office img.on{opacity:1}
/* ===== LEUCHTPUNKTE (.spot): Punkt mit Ring und Schild. Hover, Fokus oder .hl zeigt das Schild. .off = am Rand weggeschnitten. ===== */
.spots{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0}
.spot{position:absolute;pointer-events:auto;translate:-50% -50%;border:none;background:none;padding:0;cursor:pointer;display:grid;justify-items:center;gap:8px;color:#fff}
.spot .dot{position:relative;width:18px;height:18px;border-radius:50%;background:var(--leucht-tuerkis);box-shadow:0 0 0 4px rgba(168,218,220,.3),0 0 18px rgba(168,218,220,.8);transition:transform .4s var(--ease-spring)}
.spot .dot::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:2px solid var(--leucht-tuerkis);animation:ring 1.8s var(--ease-out) infinite}
.spot .lab{font:600 14px/1 var(--font-sans);padding:9px 14px;background:rgba(42,11,24,.88)!important;color:var(--papierweiss);border:1px solid rgba(168,218,220,.5)!important;border-radius:999px;white-space:nowrap;opacity:.0;transform:translateY(-4px) scale(.92);transition:opacity .3s,transform .4s var(--ease-spring)}
.spot .lab small{display:block;font:700 9px/1.2 var(--font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--leucht-tuerkis);margin-bottom:3px}
.spot.off{opacity:0;pointer-events:none!important}
.spot:hover .dot,.spot.hl .dot,.spot:focus-visible .dot{transform:scale(1.35)}
.spot:hover .lab,.spot.hl .lab,.spot:focus-visible .lab{opacity:1;transform:none}
.spotglow{position:absolute;z-index:3;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(168,218,220,.28),rgba(168,218,220,0));opacity:0;transition:opacity .35s,left .35s var(--ease-out),top .35s var(--ease-out),width .35s,height .35s;translate:-50% -50%}
/* Menü unten: Platz und Glas-Look. */
.hmenu{position:absolute;z-index:6;left:50%;bottom:16px;translate:-50% 0;display:flex;gap:2px;padding:5px;border-radius:999px;opacity:0}
.hmenu button{border:none;background:transparent;color:#fff;font:600 11px/1 var(--font-sans);padding:6px 12px;border-radius:999px;cursor:pointer;text-shadow:0 1px 4px rgba(0,0,0,.45);transition:background .3s,color .3s}
.hmenu button.hl{color:var(--leucht-tuerkis)}
:root[data-theme="light"] .hmenu button.hl{color:var(--brombeere)}
/* Satz unten ("Tipp auf die Dinge im Raum"). Schmal: Scroll-Strecke kürzer. */
.scene .note{position:absolute;z-index:5;left:50%;bottom:76px;translate:-50% 0;white-space:nowrap;font:600 12px/1.3 var(--font-sans);padding:7px 12px;border-radius:999px;opacity:0;transition:opacity .4s}
@media (max-width:700px){.scrolly{height:300vh}.scene{height:min(100svh,720px)}.hmenu button{padding:9px 10px;font-size:12px}.hmenu button small{display:none}.hmenu{left:12px;right:12px;translate:none;max-width:none}}
/* Straße wird dunkler, während man ins Büro fährt. */
.streetdim{position:absolute;inset:0;background:var(--pflaume-tief);opacity:0;pointer-events:none}
/* ===== DREHENDER KOPF (.kopf): freigestellter Kopf aus dem Video. Hintergrund bleibt das Standbild. Pro Zeile ein Bild-Blatt (.kh), dazu Augenlider (.bb, .bs, .bc). .zu = Auge zu. ===== */
/* Kopfdrehung: freigestellter Kopf aus dem Seedance-Video, Hintergrund bleibt das Standbild */
.kopf{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0;pointer-events:none}
.kopf i{position:absolute;background-repeat:no-repeat;opacity:0;transition:opacity .5s}
.kopf .kp,.kopf .kh{left:790px;top:190px;width:360px;height:520px}
.kopf .kp,.kopf .kh{transition:none}
.kopf .kh{background-size:4320px 5200px}
.kopf .bb{left:722px;top:548px;width:100px;height:56px;transition:none}
.kopf .bs{left:1512px;top:402px;width:64px;height:32px;transition:none}
.kopf .bc{left:912px;top:338px;width:120px;height:50px;transition:none}
.kopf .bb.zu,.kopf .bs.zu,.kopf .bc.zu{opacity:1}
/* ===== NACHBESSERUNGEN: Fokus-Ring nur per Tastatur, Tag/Nacht-Schalter im Kopf (/* Runde 7 */
button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}
.scene .intro{background:rgba(42,11,24,.78)!important;border-color:rgba(168,218,220,.28)!important;-webkit-backdrop-filter:blur(18px) saturate(120%);backdrop-filter:blur(18px) saturate(120%)}
.scene .intro .kicker{color:var(--leucht-tuerkis)}
.scene .intro h1,.scene .intro p{color:var(--papierweiss)}
.scene .intro em{color:var(--leucht-tuerkis)}
:root[data-theme="light"] .scene .intro{background:rgba(255,255,255,.86)!important;border-color:rgba(42,11,24,.12)!important}
:root[data-theme="light"] .scene .intro .kicker{color:var(--brombeere)}
:root[data-theme="light"] .scene .intro h1,:root[data-theme="light"] .scene .intro p{color:var(--pflaume-tief)}
:root[data-theme="light"] .scene .intro em{color:var(--lagune-tief)}
/* Wisch-Pfeile links/rechts am Menü unten. Nur auf schmalen Geräten. Pfeil wackelt leise. */
.hmore{display:none;position:absolute;z-index:7;bottom:16px;width:46px;border:none;padding:0;cursor:pointer;color:var(--papierweiss);align-items:center;opacity:0;pointer-events:none;transition:opacity .3s}
.hmore svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hmore.r{right:12px;border-radius:0 999px 999px 0;justify-content:flex-end;padding-right:10px;background:linear-gradient(90deg,rgba(42,11,24,0),rgba(42,11,24,.92) 60%)}
.hmore.l{left:12px;border-radius:999px 0 0 999px;justify-content:flex-start;padding-left:10px;background:linear-gradient(270deg,rgba(42,11,24,0),rgba(42,11,24,.92) 60%)}
.hmore.r svg{animation:nudgeR 1.6s var(--ease-out) infinite}
.hmore.l svg{animation:nudgeL 1.6s var(--ease-out) infinite}
@keyframes nudgeR{0%,100%{transform:none}40%{transform:translateX(4px)}}
@keyframes nudgeL{0%,100%{transform:none}40%{transform:translateX(-4px)}}
:root[data-theme="light"] .hmore{color:var(--pflaume-tief)}
:root[data-theme="light"] .hmore.r{background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.95) 60%)}
:root[data-theme="light"] .hmore.l{background:linear-gradient(270deg,rgba(255,255,255,0),rgba(255,255,255,.95) 60%)}
.hmore.show{opacity:1;pointer-events:auto}
@media (max-width:700px){.hmore{display:flex}}
/* ===== SEITE: Kopf über die volle Fläche (keine runden Ecken, volle Höhe). Dazu der Weiter-Block (.next). ===== */
/* Startseite: Kopf über die volle Fläche */
body{background:var(--bg-page,var(--bg));color:var(--ink);font-family:var(--font-sans)}
.scrolly,.scene{border-radius:0}
.scene{height:100svh}
.scene h1,.scene h2{font-family:var(--font-display);font-weight:400}
.next{background:var(--bg);padding:clamp(56px,8vw,96px) 16px}
.next .wrap{max-width:1200px;margin:0 auto}
.next.verlauf{background:var(--verlauf-hell)}
:root[data-theme="dark"] .next.verlauf{background:linear-gradient(160deg in oklab,#0B2A38 0%,#2A0B18 70%,#3E1424 100%)}   /* nachts dunkler Verlauf wie auf den anderen Seiten */
.next h2{font:400 clamp(1.6rem,1.4rem + .8vw,2.1rem)/1.15 var(--font-display);color:var(--pointe);margin:0 0 10px}
.next p{max-width:68ch;line-height:1.6;margin:0}
/* Absicherung: Glas-Elemente im Kopf bleiben absolut positioniert, auch wenn eine allgemeine Glas-Regel position:relative setzt. */
/* Positionen der Glas-Elemente im Kopf gegen die allgemeinen Glas-Regeln absichern */
.scene .intro,.scene .hmenu,.scene .note{position:absolute}
/* ===== MENÜ OBEN (.leiste) auf der Startseite:
   Tag/Nacht-Schalter = IMMER da, klebt oben (sticky), von Anfang an. Nur einer auf der ganzen Seite.
   Glasmenü daneben = kommt erst, wenn der Kopf vorbei ist (startseite.js setzt .show). Es gleitet von oben rein. ===== */
.leiste{animation:none!important}
.leiste .gnav{transform:translateY(-160%);opacity:0;pointer-events:none;transition:transform .55s var(--ease-spring),opacity .35s}
.leiste.show .gnav{transform:none;opacity:1;pointer-events:auto}
/* Handy: Burger und Schalter von Anfang an oben. Glasmenü gibt es am Handy eh nur im Burger. */
@media (max-width:820px){.leiste .gnav{transform:none;opacity:1;pointer-events:auto}}
/* Handy: Namensbox über den Scroll-Hinweis heben, damit sie sich nicht überlappen. */
/* Handy: Namensbox über den Scroll-Hinweis heben, damit sich beide nicht überlappen */
@media (max-width:1000px){.scene .intro{bottom:84px}}

/* ===== TAG-MODUS: Menü unten, Hinweis "Fahr über..." und "Scrollen" in Wein-Dunkel statt Weiß.
   Grund: Weiß auf hellem Milchglas = Auge sieht nix. Jetzt gleiche Farbe wie das Glasmenü oben (--nav-ink Tag = #2A0B18). Nacht bleibt Weiß. ===== */
:root[data-theme="light"] .hmenu button,
:root[data-theme="light"] .scene .note,
:root[data-theme="light"] .scene .hint{color:#2A0B18;text-shadow:0 1px 2px rgba(255,255,255,.6)}
:root[data-theme="light"] .hmenu button small{opacity:.8}
:root[data-theme="light"] .hmenu button.hl{color:var(--brombeere)}
/* Tag: aktiver Knopf im Büro-Menü ("Start") auch Wein-Dunkel. Sonst weiß auf weißer Glasblase = unsichtbar. */
:root[data-theme="light"] .scene .gnav.bounce button[aria-current="true"]{color:#2A0B18}

/* ===== KOPF-MENÜ-ICONS: gleiche Icons wie die Glasleiste (Regeln in basis.css). --loch = Farbe der Aussparungen über dem Büro-Bild. ===== */
.scene{--loch:rgba(42,11,24,.72)}
:root[data-theme="light"] .scene{--loch:rgba(255,255,255,.88)}

/* ===== FLÜSSIG-GLAS (.flg): Menü im Büro, Glas-Blase, Scroll-Hinweis =====
   Caveman: Glas = fast durchsichtig. Kein Milch-Schleier. Hintergrund bleibt scharf,
   nur am Rand wird er verbogen (Filter aus glas.js, steckt in Variable --lg).
   Lichtkante = dünne helle Linie oben links (Licht kommt von dort), schwächer unten rechts.
   Safari/Firefox (.lg-echt fehlt): etwas mehr Weichzeichner, damit Schrift lesbar bleibt. */
.scene .flg{
  background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.02) 45%,rgba(255,255,255,.06))!important;
  border:none!important;
  -webkit-backdrop-filter:blur(7px) saturate(170%) brightness(1.04);backdrop-filter:blur(7px) saturate(170%) brightness(1.04);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgba(255,255,255,.80),   /* Lichtkante oben links */
    inset -1.5px -1.5px 0 -.5px rgba(255,255,255,.35), /* Gegenlicht unten rechts */
    inset 0 0 0 1px rgba(255,255,255,.10),             /* ganz feiner Rand rundum */
    inset 0 -10px 22px -12px rgba(255,255,255,.25),    /* Licht sammelt sich unten im Glas */
    0 10px 28px rgba(20,4,18,.30)!important}           /* Schatten unterm Glas */
html.refract .scene .flg.lg-echt{-webkit-backdrop-filter:var(--lg) blur(1.4px) saturate(165%) brightness(1.06);backdrop-filter:var(--lg) blur(1.4px) saturate(165%) brightness(1.06)}
:root[data-theme="light"] .scene .flg{background:linear-gradient(160deg,rgba(255,255,255,.42),rgba(255,255,255,.22) 50%,rgba(255,255,255,.32))!important}
.scene .hmenu.flg::after{background:linear-gradient(115deg,rgba(255,255,255,.22),transparent 30%);opacity:.6}

/* Knöpfe: so breit wie Icon + Name (nicht mehr starr 62 px). Dann passt die Blase um beides. */
.scene .hmenu button{width:auto;min-width:62px;padding:0 14px}
@media (max-width:700px){.scene .hmenu button{padding:0 12px;min-width:56px}}
/* Alte Blase pro Knopf (::before) aus. Jetzt gibt es EINE Blase (.blase), die rutscht. */
.scene .gnav.bounce.hmenu button::before{display:none}
/* Die rutschende Glas-Pille. Liegt hinter den Knöpfen (z-index 1, Knöpfe 2). */
.scene .hmenu .blase{position:absolute;left:0;top:0;z-index:1;border-radius:999px;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.24),rgba(255,255,255,.05) 50%,rgba(255,255,255,.14))!important;
  box-shadow:inset 1.5px 1.5px 0 -.5px rgba(255,255,255,.95),inset -1.5px -1.5px 0 -.5px rgba(255,255,255,.5),inset 0 0 12px rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.2)!important;
  transition:transform .55s var(--ease-spring),width .4s var(--ease-spring),scale .42s var(--ease-out)}
.scene .hmenu .blase.still{transition:none}
/* Beim Losrutschen wird die Pille kurz flacher und länger, wie ein Tropfen. */
.scene .hmenu .blase.zieht{animation:tropfen .42s var(--ease-out)}
@keyframes tropfen{0%{scale:1 1}35%{scale:1.12 .86}70%{scale:.97 1.05}100%{scale:1 1}}
:root[data-theme="light"] .scene .hmenu .blase{background:linear-gradient(160deg,rgba(255,255,255,.6),rgba(255,255,255,.3) 50%,rgba(255,255,255,.45))!important}

/* Scroll-Hinweis als Glas-Pille. Schrift und Maus-Symbol bleiben wie gehabt. */
.scene .hint.flg{padding:11px 18px 10px;border-radius:999px}
:root[data-theme="light"] .scene .hint.flg{background:linear-gradient(160deg,rgba(255,255,255,.5),rgba(255,255,255,.28) 50%,rgba(255,255,255,.4))!important}
/* Wisch-Pfeile am Handy: kein dicker Farbverlauf mehr über dem klaren Glas. Stattdessen kleine Glas-Kugel mit Pfeil. */
.hmore.r,.hmore.l,:root[data-theme="light"] .hmore.r,:root[data-theme="light"] .hmore.l{background:none}
.hmore.r{right:16px;padding-right:0;justify-content:flex-end}.hmore.l{left:16px;padding-left:0}
.hmore::before{content:"";position:absolute;top:50%;width:30px;height:30px;margin-top:-15px;border-radius:50%;
  background:rgba(42,11,24,.55);-webkit-backdrop-filter:blur(6px) saturate(160%);backdrop-filter:blur(6px) saturate(160%);
  box-shadow:inset 1px 1px 0 -.3px rgba(255,255,255,.7),inset -1px -1px 0 -.3px rgba(255,255,255,.3),0 3px 8px rgba(0,0,0,.25)}
.hmore.r::before{right:4px}.hmore.l::before{left:4px}
.hmore svg{position:relative;width:16px;height:16px}
.hmore.r svg{margin-right:11px}.hmore.l svg{margin-left:11px}
:root[data-theme="light"] .hmore::before{background:rgba(255,255,255,.7)}

/* Handy-Menü: angeschnittene Knöpfe (unter einem Pfeil) blass. Wischen bleibt frei, aber der Rand ist sauber. */
.scene .hmenu button{transition:opacity .25s,background .3s,color .3s}
.scene .hmenu button.halb{opacity:.28}
.hmenu{overscroll-behavior-x:contain}
/* ===== SCHILDER an den Leuchtpunkten =====
   Versteckt = wirklich weg (visibility). Vorher blieb vom unsichtbaren Glas ein Rand-Kreis stehen, wo man getippt hatte.
   Kein Brechungs-Filter mehr auf den Schildern (der alte #lg-Filter machte den Geister-Rand). Nur Milchglas. */
.spot .lab{visibility:hidden;transition:opacity .3s,transform .4s var(--ease-spring),visibility 0s .3s}
.spot:hover .lab,.spot.hl .lab,.spot:focus-visible .lab{visibility:visible;transition:opacity .3s,transform .4s var(--ease-spring),visibility 0s}
html.refract .scene .spot .lab.glass,.scene .spot .lab.glass{-webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%)}
/* Tag: Milchglas statt fast deckend weiß. Schrift bleibt Wein-Dunkel. */
:root[data-theme="light"] .spot .lab{background:rgba(255,255,255,.58)!important;border-color:rgba(255,255,255,.75)!important;
  box-shadow:inset 1px 1px 0 -.3px rgba(255,255,255,.95),inset -1px -1px 0 -.3px rgba(255,255,255,.5),0 8px 22px rgba(42,11,24,.18)!important}
/* Am Handy klebt :hover nach dem Tippen. Dort zählt nur .hl (gehaltener Punkt). */
@media (hover:none){.spot:hover:not(.hl) .lab{opacity:0;visibility:hidden}.spot:hover:not(.hl) .dot{transform:none}}
/* ===== NAMENSBOX (.intro) =====
   Tag: echtes Milchglas (weiß halb durchsichtig + starker Weichzeichner) statt fast deckend weiß.
   Kein alter Brechungs-Filter (#lg) mehr, nur Weichzeichner. Handy: genug Abstand über der Scroll-Pille. */
html.refract .scene .intro,.scene .intro{-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}
:root[data-theme="light"] .scene .intro{background:rgba(255,255,255,.55)!important;border-color:rgba(255,255,255,.7)!important;
  -webkit-backdrop-filter:blur(20px) saturate(160%) brightness(1.04);backdrop-filter:blur(20px) saturate(160%) brightness(1.04);
  box-shadow:inset 1.5px 1.5px 0 -.5px rgba(255,255,255,.95),inset -1px -1px 0 -.3px rgba(255,255,255,.5),0 14px 34px rgba(42,11,24,.18)!important}
/* Scroll-Pille ist ca. 72 px hoch und sitzt 14 px über dem Rand. Namensbox also ab 108 px, dann bleiben gut 20 px Luft. */
@media (max-width:1000px){.scene .intro{bottom:108px}}
.scene .hmenu button.weg{opacity:0;pointer-events:none}

/* ===== LEUCHTPUNKTE FÜHREN WEITER =====
   1) Punkt wird beim Drüberfahren (oder angetippt) größer, Pfeil gleitet von links rein.
   2) Schild hat rechts einen runden Pfeil-Chip. Drüberfahren: Pfeil stupst 2x nach rechts.
   3) Klick: alles drückt sich kurz ein (.drueck), dann wächst ein Leucht-Kreis über den Schirm (.portal). */
/* Punkt: wird beim Drüberfahren nur größer (Pfeil sitzt NUR im Schild, sonst doppelt). */
.spot .chip svg{width:14px;height:14px;fill:none;stroke:var(--wein-tief);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
/* Schild: Text links, Chip rechts */
.spot .lab{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 14px;text-align:left}
.spot .lab .lt{display:block}
.spot .chip{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;flex:none;background:var(--leucht-tuerkis);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 2px 6px rgba(0,0,0,.2)}
:root[data-theme="light"] .spot .chip{background:var(--tuerkis)}
:root[data-theme="light"] .spot .chip svg{stroke:#fff}
.spot:hover .chip svg,.spot.hl .chip svg{animation:stups 1.1s var(--ease-out) .25s 2}
@keyframes stups{0%,100%{transform:none}30%{transform:translateX(4px)}55%{transform:translateX(-1px)}}
/* Eindrücken beim Klick */
.spot.drueck .lab{transform:scale(.93)!important;transition:transform .12s ease-out}
.spot.drueck .dot{transform:scale(.82)!important;transition:transform .12s ease-out}
/* 4) Eigener Zeiger (nur Desktop): Glaskreis mit "Öffnen", rastet am Punkt ein. Echter Mauszeiger bleibt, nur über dem Punkt weg. */
.zeiger{position:fixed;left:0;top:0;z-index:60;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;pointer-events:none;
  border:1.5px solid rgba(255,255,255,.75);background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(2px) saturate(160%);backdrop-filter:blur(2px) saturate(160%);
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.6),0 6px 18px rgba(0,0,0,.18);opacity:0;scale:.4;transition:opacity .25s,scale .4s var(--ease-spring)}
.zeiger span{position:absolute;left:calc(100% + 8px);top:50%;translate:0 -50%;font:700 10px/1 var(--font-sans);letter-spacing:.14em;text-transform:uppercase;color:#fff;
  background:rgba(42,11,24,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:6px 9px;border-radius:999px;white-space:nowrap;opacity:0;transition:opacity .25s .1s}
.zeiger.an{opacity:1;scale:1}.zeiger.an span{opacity:1}
.zeiger.klick{scale:.82;transition:scale .12s}
:root[data-theme="light"] .zeiger{border-color:rgba(42,11,24,.45)}
:root[data-theme="light"] .zeiger span{background:rgba(255,255,255,.7);color:var(--wein-tief)}
body.zeiger-an .spot{cursor:none}
/* Schild würde mit dem "Öffnen"-Etikett rechts kollidieren? Schild sitzt unter dem Punkt, Etikett rechts daneben: passt. */

/* Offenes Schild liegt IMMER über den anderen Punkten (vorher deckte der Kontakt-Punkt das Über-mich-Schild zu).
   Andere Punkte treten dabei leicht zurück. */
.spot{z-index:1}.spot.hl,.spot:hover,.spot:focus-visible{z-index:3}
.spots.offen .spot:not(.hl):not(:hover){opacity:.45;transition:opacity .3s}
.spots.offen .spot.off{opacity:0}
/* Schild-Text: Eyebrow und Titel exakt linksbündig */
.spot .lab .lt{text-align:left}.spot .lab small{text-indent:0;margin-left:0;padding:0}


/* ===== DESKTOP-KANTEN + BURGER IM KOPF (Carmen-Wunsch)
   1) Namensbox steht an derselben linken Kante wie alle Inhalte weiter unten:
      Inhalt ist max. 1200 px breit und mittig → Abstand links = (Breite - 1200) / 2, nie weniger als vorher.
   2) Solange man im Kopf (Büro) ist, gibt es auch am Desktop den Burger links oben (gleiche Kante).
      Ist der Kopf vorbei, rutscht der Burger weg und die normale Menüleiste kommt (Klasse .show, setzt startseite.js). */
@media (min-width:1001px){
  .scene .intro{left:max(clamp(16px,4vw,48px),calc((100% - 1200px) / 2))}
}
@media (min-width:821px){
  .leiste .burger{display:block;position:absolute;left:max(16px,calc((100% - 1200px) / 2));top:0;bottom:0;margin:auto 0;
    pointer-events:auto;transition:opacity .35s,transform .55s var(--ease-spring),background .4s}
  .leiste.show .burger{opacity:0;transform:translateX(-30px) scale(.8);pointer-events:none}
  .vmen{display:block;left:max(16px,calc((100% - 1200px) / 2))}
  .vmen{top:calc(env(safe-area-inset-top,0px) + 88px)}
}
