/* von Lipinski · Portal
   Calm dark space theme: one serif voice for headlines, Inter for everything else. */
@font-face{font-family:"Inter";src:url(fonts/inter-var.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(fonts/instrument-serif.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(fonts/instrument-serif-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}

:root{
  color-scheme:dark;
  --bg:#070a12;--bg-raise:#0b101c;--surface:#0e1422;--surface-2:#131a2b;
  --line:rgba(255,255,255,.07);--line-strong:rgba(255,255,255,.13);
  --ink:#eef1f7;--ink-2:#c4cbd8;--muted:#8d97ab;--subtle:#626d82;
  --bio:#5fe0c1;--bio-deep:#1f6f63;--chem:#a99bff;--chem-deep:#4a3f99;
  --accent:#5fe0c1;
  --radius:18px;--radius-sm:12px;
  --serif:"Instrument Serif",ui-serif,Georgia,"Times New Roman",serif;
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.6 var(--sans);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ol,dl,dd{margin:0}
ol{padding:0;list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
button:disabled{cursor:default;opacity:.5}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
::selection{background:#5fe0c155;color:#fff}
[hidden]{display:none!important}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:12px;left:12px;background:var(--ink);color:var(--bg);padding:10px 14px;border-radius:10px;z-index:100}
.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}

/* Background: stars stay behind everything; two soft glows give depth. */
#stars{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-3}
.glows{position:absolute;top:0;left:0;right:0;height:1600px;overflow:hidden;pointer-events:none;z-index:-2}
.glow{position:absolute;pointer-events:none;z-index:-2;border-radius:50%}
.glow-a{top:-120px;right:-260px;width:900px;height:900px;background:radial-gradient(closest-side,#1d4b5a3a,transparent)}
.glow-b{top:520px;left:-340px;width:800px;height:800px;background:radial-gradient(closest-side,#2c2a6a2c,transparent)}
.space-animal{position:fixed;top:0;left:0;width:clamp(36px,4vw,60px);height:auto;pointer-events:none;user-select:none;z-index:-1;will-change:transform,opacity}

/* Shared atoms */
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex:none}
.dot.bio{background:var(--bio);box-shadow:0 0 0 3px #5fe0c11f}
.dot.chem{background:var(--chem);box-shadow:0 0 0 3px #a99bff1f}
.kicker{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:550;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.kicker-dot{width:6px;height:6px;border-radius:50%;background:var(--bio);box-shadow:0 0 0 4px #5fe0c11a,0 0 14px #5fe0c1aa}
h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.02}
h1 em,h2 em{font-style:italic;color:var(--ink-2)}
.section-sub{color:var(--muted);font-size:15px;line-height:1.65;max-width:440px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:46px;padding:0 20px;border-radius:999px;font-size:14px;font-weight:550;letter-spacing:-.005em;transition:background .2s var(--ease),border-color .2s,transform .2s var(--ease),color .2s;white-space:nowrap}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s var(--ease)}
.btn-primary{background:var(--ink);color:#0a0e17}
.btn-primary:hover{background:#fff}
.btn-primary:hover svg{transform:translateX(3px)}
.btn-ghost{border:1px solid var(--line-strong);color:var(--ink)}
.btn-ghost:hover{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.22)}
.btn:active{transform:translateY(1px)}

/* Header */
.site-header{position:sticky;top:0;z-index:20;height:72px;background:rgba(7,10,18,.72);backdrop-filter:saturate(140%) blur(16px);-webkit-backdrop-filter:saturate(140%) blur(16px);border-bottom:1px solid transparent;transition:border-color .3s}
body.scrolled .site-header{border-bottom-color:var(--line)}
.header-inner{width:min(1280px,calc(100% - 48px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:600;letter-spacing:-.02em}
.brand-mark{width:26px;height:26px;fill:none;stroke:var(--ink);stroke-width:1.5}
.brand-mark circle:first-child{fill:var(--bio);stroke:none}
.brand-mark .brand-moon{fill:var(--chem);stroke:none}
.site-nav{display:flex;gap:6px;font-size:14px;color:var(--muted)}
.site-nav a{padding:8px 14px;border-radius:999px;transition:color .2s,background .2s}
.site-nav a:hover{color:var(--ink);background:rgba(255,255,255,.04)}
.header-cta{font-size:13px;font-weight:550;padding:9px 16px;border:1px solid var(--line-strong);border-radius:999px;transition:background .2s}
.header-cta:hover{background:rgba(255,255,255,.06)}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:40px;padding:64px 0 88px;min-height:min(calc(100svh - 72px),860px)}
.hero h1{font-size:clamp(56px,6.3vw,94px);margin:26px 0 26px}
.hero-lead{font-size:18px;line-height:1.65;color:var(--ink-2);max-width:500px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:60px;padding-top:26px;border-top:1px solid var(--line);max-width:540px}
.hero-facts dt{font-family:var(--serif);font-size:32px;line-height:1;color:var(--ink)}
.hero-facts dd{margin-top:8px;font-size:13px;line-height:1.45;color:var(--muted)}
.hero-visual{position:relative;aspect-ratio:1;max-width:560px;width:100%;justify-self:end}
.orrery{width:100%;height:100%;overflow:visible}
.orbit{transform-origin:280px 280px}
.orbit-1{animation:orbit 60s linear infinite}
.orbit-2{animation:orbit 44s linear infinite reverse}
.molecule{transform-origin:280px 280px;animation:float 9s ease-in-out infinite}
@keyframes orbit{to{transform:rotate(360deg)}}
@keyframes float{50%{transform:translateY(-8px) rotate(2deg)}}
.hero-badge{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 16px 10px 14px;border:1px solid var(--line-strong);border-radius:999px;background:rgba(14,20,34,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:13px;font-weight:550}
.hero-badge small{color:var(--muted);font-weight:450;font-size:12px}
.hero-badge-bio{left:2%;bottom:22%}
.hero-badge-chem{right:0;top:18%}

/* Section heads */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:28px}
.section-head h2{font-size:clamp(40px,4.6vw,60px);margin-top:14px}

/* Catalog toolbar */
.catalog{padding:48px 0 40px}
.toolbar{position:sticky;top:72px;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;background:linear-gradient(var(--bg) 75%,transparent)}
.toolbar-groups{display:flex;gap:10px;flex-wrap:wrap}
.segmented{display:inline-flex;flex:none;padding:4px;gap:2px;border:1px solid var(--line);border-radius:999px;background:rgba(14,20,34,.85)}
.segmented button{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;color:var(--muted);transition:color .2s,background .2s;white-space:nowrap}
.segmented button:hover{color:var(--ink)}
.segmented button[aria-pressed=true]{background:rgba(255,255,255,.09);color:var(--ink)}
.seg-count{font-size:11px;color:var(--subtle);font-variant-numeric:tabular-nums}
.search{position:relative;flex:0 1 320px}
.search svg{position:absolute;left:15px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:var(--muted);stroke-width:1.7;pointer-events:none}
.search input{width:100%;height:44px;padding:0 40px 0 42px;border:1px solid var(--line);border-radius:999px;background:rgba(14,20,34,.85);font-size:14px;transition:border-color .2s,background .2s}
.search input::placeholder{color:var(--subtle)}
.search input:focus{outline:none;border-color:#5fe0c166;background:var(--surface)}
.search input::-webkit-search-cancel-button{display:none}
.search button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;color:var(--muted);font-size:18px;line-height:1}
.search button:hover{background:rgba(255,255,255,.07);color:var(--ink)}
.result-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 26px}
.result-count{font-size:13px;color:var(--muted)}
.view-toggle{display:inline-flex;gap:4px}
.view-toggle button{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:999px;font-size:13px;color:var(--muted);transition:color .2s,background .2s}
.view-toggle button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.view-toggle button:hover{color:var(--ink)}
.view-toggle button[aria-pressed=true]{color:var(--ink);background:rgba(255,255,255,.07)}

/* Cards, grouped by topic (the star map's constellations) */
.cards{display:grid;grid-template-columns:minmax(0,1fr);gap:36px}
.group-nav{min-width:0;margin-bottom:-8px}
.group-nav ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.group-chip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:rgba(14,20,34,.85);font-size:13px;font-weight:500;color:var(--ink-2);white-space:nowrap;transition:color .2s,border-color .2s,background .2s}
.group-chip:hover{color:var(--ink);border-color:var(--line-strong);background:rgba(255,255,255,.05)}
.group-chip span{font-size:11px;color:var(--subtle);font-variant-numeric:tabular-nums}
.group-all{color:var(--ink);border-color:var(--line-strong);background:transparent}
.card-group-head{margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.card-group-head h3{font:inherit;margin:0}
.group-toggle{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:center;column-gap:12px;width:100%;min-height:44px;padding:0;text-align:left;color:var(--ink);border-radius:10px}
.group-title{font-family:var(--serif);font-weight:400;font-size:28px;letter-spacing:-.01em;line-height:1.05}
.group-note{font-size:13px;color:var(--muted);line-height:1.35}
.group-count{font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.group-chevron{width:30px;height:30px;flex:none;padding:6px;border:1px solid var(--line-strong);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--muted);transition:transform .25s var(--ease),color .2s}
.group-toggle:hover .group-chevron{color:var(--ink)}
.group-toggle[aria-expanded=false] .group-chevron{transform:rotate(-90deg)}
.card-grid[hidden]{display:none}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sim-card{--tint:var(--bio);position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.008));overflow:hidden;transition:border-color .3s var(--ease),transform .3s var(--ease),background .3s}
.sim-card.chemistry{--tint:var(--chem)}
.sim-card:hover{border-color:color-mix(in srgb,var(--tint) 35%,transparent);transform:translateY(-3px);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.01))}
.card-open{display:flex;flex-direction:column;flex:1;text-align:left;width:100%}
.card-open:focus-visible{outline-offset:-3px;border-radius:var(--radius)}
.card-art{position:relative;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(ellipse 75% 85% at 50% 45%,color-mix(in srgb,var(--tint) 9%,transparent),transparent 72%),linear-gradient(180deg,#0c1221,#070b15);border-bottom:1px solid var(--line);isolation:isolate}
.card-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.035),transparent 28%,transparent 72%,rgba(7,10,18,.4));box-shadow:inset 0 1px 0 rgba(255,255,255,.05);pointer-events:none}
.card-shot{object-fit:cover;object-position:center;background:#eef2f7}
.preview-art{position:absolute;inset:0;width:100%;height:100%;display:block;transition:transform .9s var(--ease),filter .6s var(--ease)}
.sim-card:hover .preview-art{transform:scale(1.045);filter:brightness(1.08) saturate(1.06)}
.card-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;flex:1}
.card-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.card-meta .sep{color:var(--subtle)}
.card-body h4{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.25;color:var(--ink)}
.card-question{font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.3;color:var(--ink-2)}
.card-desc{font-size:14px;line-height:1.55;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;font-size:13px;font-weight:550;color:var(--ink)}
.card-foot svg{width:18px;height:18px;fill:none;stroke:var(--tint);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.sim-card:hover .card-foot svg{transform:translateX(4px)}
.card-badge{position:absolute;top:14px;right:14px;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;background:rgba(7,10,18,.7);border:1px solid color-mix(in srgb,var(--tint) 45%,transparent);font-size:11px;font-weight:600;color:var(--ink)}

.empty-state{padding:72px 24px;text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius)}
.empty-state h3{font-size:20px;font-weight:600}
.empty-state p{color:var(--muted);margin:8px 0 22px}

/* Star map */
.star-map{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:24px;padding:24px 28px 16px;background:radial-gradient(ellipse at 18% 30%,#21405a26,transparent 45%),radial-gradient(ellipse at 82% 75%,#3e2f6a26,transparent 48%),#080d18}
.star-map-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.legend{display:flex;gap:18px;font-size:12px;color:var(--muted)}
.legend span{display:flex;align-items:center;gap:8px}
.star-map-hint{font-size:13px;color:var(--muted)}
.star-map-constellations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 28px;margin-top:20px}
.constellation{min-width:0;position:relative;border-top:1px solid var(--line);padding-top:14px}
.constellation-heading h4{font-size:14px;font-weight:600;color:var(--ink-2)}
.constellation-heading p{font-size:12px;color:var(--subtle);margin-top:2px}
.constellation-field{position:relative;height:300px}
.constellation:last-child:has([aria-label="Weitere Entdeckungen"]){grid-column:1/-1}
.constellation:has([aria-label="Weitere Entdeckungen"]) .constellation-field{height:calc(300px + var(--extra-rows)*100px)}
.constellation-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.constellation-lines line{stroke:#9cc6e8;stroke-width:1;vector-effect:non-scaling-stroke;opacity:.25;stroke-dasharray:3 4}
.constellation-stars{position:absolute;inset:0;list-style:none;margin:0;padding:0}
.constellation-stars li{position:absolute;left:var(--star-x);top:var(--star-y);transform:translateX(-50%);width:190px;max-width:43%}
.topic-star{--star-color:var(--bio);position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:0 8px 10px;min-height:80px;border-radius:12px;text-align:center;transform:translateY(-22px);color:var(--ink)}
.topic-star.star-chem{--star-color:var(--chem)}
.topic-star:hover{background:rgba(255,255,255,.03)}
.topic-star-light{position:relative;display:grid;place-items:center;width:44px;height:44px;margin-bottom:4px;flex-shrink:0}
.topic-star-light::before,.topic-star-light::after{content:'';position:absolute;background:var(--star-color);opacity:.55;border-radius:50%}
.topic-star-light::before{width:30px;height:1px}
.topic-star-light::after{width:1px;height:30px}
.topic-star-light i{width:8px;height:8px;border-radius:50%;background:#f6ffff;box-shadow:0 0 7px 3px var(--star-color),0 0 24px 7px color-mix(in srgb,var(--star-color) 30%,transparent);transition:box-shadow .2s,transform .2s}
.topic-star:hover .topic-star-light i,.topic-star:focus-visible .topic-star-light i{transform:scale(1.3)}
.topic-star-name{font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.topic-star-grade{font-size:11px;color:var(--muted);margin-top:4px}
.star-map-preview{font-size:13px;color:var(--ink-2);margin-top:4px;padding-top:16px;border-top:1px solid var(--line);min-height:52px}
.star-hover-card{position:fixed;z-index:40;pointer-events:none;transform-origin:top left;filter:drop-shadow(0 24px 40px #000a)}
.star-hover-card .sim-card{background:#0e1422;border-color:var(--line-strong);animation:star-card-in .16s ease-out}
@keyframes star-card-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
/* Hover preview with a real screenshot of the lab (cards and star map) */
.shot-preview{--tint:var(--bio);position:fixed;z-index:45;left:0;top:0;width:400px;pointer-events:none;padding:8px;border-radius:22px;background:linear-gradient(180deg,rgba(23,31,50,.94),rgba(12,17,30,.96));border:1px solid var(--line-strong);box-shadow:0 30px 60px -20px rgba(0,0,0,.85),0 0 0 1px rgba(0,0,0,.4),0 0 80px -30px color-mix(in srgb,var(--tint) 60%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);opacity:0}
.shot-preview.chemistry{--tint:var(--chem)}
.shot-preview.in{animation:shot-in .22s var(--ease) forwards}
.shot-preview[data-side=left].in{animation-name:shot-in-left}
@keyframes shot-in{from{opacity:0;transform:translateX(-8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes shot-in-left{from{opacity:0;transform:translateX(8px) scale(.98)}to{opacity:1;transform:none}}
.shot-frame{position:relative;aspect-ratio:760/432;border-radius:15px;overflow:hidden;background:#f3f5f8}
.shot-frame img,.shot-frame .preview-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.shot-frame::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(14,21,37,.12),inset 0 -40px 40px -30px rgba(14,21,37,.18);pointer-events:none}
.shot-chip{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(10,14,24,.78);color:#eef1f7;font-size:11px;font-weight:600;letter-spacing:.01em;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.shot-chip i{width:6px;height:6px;border-radius:50%;background:var(--tint);box-shadow:0 0 0 3px color-mix(in srgb,var(--tint) 25%,transparent)}
.shot-text{padding:12px 10px 6px;display:grid;gap:3px}
.shot-meta{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--muted)}
.shot-text h4{font-size:17px;font-weight:600;letter-spacing:-.015em;color:var(--ink);line-height:1.3}
.shot-question{font-family:var(--serif);font-style:italic;font-size:17px;line-height:1.3;color:var(--ink-2)}

/* Research journeys */
.journeys{padding:32px 0}
.journeys-box{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent);overflow:hidden}
.journeys-box summary{list-style:none;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:32px 36px;cursor:pointer}
.journeys-box summary::-webkit-details-marker{display:none}
.journeys-box summary h2{font-size:clamp(34px,3.6vw,46px);margin:12px 0 10px}
.journeys-box summary:focus-visible{outline-offset:-4px;border-radius:24px}
.journeys-toggle{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid var(--line-strong);border-radius:999px;font-size:13px;font-weight:550;white-space:nowrap;transition:background .2s}
.journeys-box summary:hover .journeys-toggle{background:rgba(255,255,255,.05)}
.journeys-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .3s var(--ease)}
.journeys-box[open] .journeys-toggle svg{transform:rotate(180deg)}
.journeys-box .when-open,.journeys-box[open] .when-closed{display:none}
.journeys-box[open] .when-open{display:inline}
.paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 36px 36px}
.research-path{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--line);border-radius:var(--radius-sm);background:rgba(255,255,255,.015);transition:border-color .2s,background .2s}
.research-path:hover{border-color:var(--line-strong);background:rgba(255,255,255,.035)}
.path-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}
.research-path h3{font-size:18px;font-weight:600;letter-spacing:-.015em}
.research-path p{font-size:14px;line-height:1.55;color:var(--muted)}
.path-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:6px;font-size:12px;color:var(--ink-2)}
.path-steps span{padding:3px 9px;border:1px solid var(--line);border-radius:999px}
.path-steps i{font-style:normal;color:var(--subtle)}

/* About */
.about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px 72px;padding:96px 0 88px}
.about-intro h2{font-size:clamp(42px,4.8vw,62px);margin:16px 0 22px}
.about-intro>p{color:var(--ink-2);font-size:16px;line-height:1.7;max-width:480px}
.creator{display:flex;align-items:center;gap:14px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line);max-width:480px}
.creator svg{width:34px;height:34px;flex:none;fill:none;stroke:var(--bio);stroke-width:1.5;stroke-linejoin:round}
.creator strong{display:block;font-size:14px;font-weight:600}
.creator span{font-size:13px;color:var(--muted)}
.about-steps{display:grid;align-self:center}
.about-steps li{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:24px 0;border-top:1px solid var(--line)}
.about-steps li:last-child{border-bottom:1px solid var(--line)}
.about-steps li>span{font-family:var(--serif);font-size:28px;line-height:1;color:var(--subtle)}
.about-steps h3{font-size:17px;font-weight:600;letter-spacing:-.01em;margin-bottom:4px}
.about-steps p{font-size:14px;color:var(--muted);line-height:1.6}
.model-note{grid-column:1/-1;display:flex;align-items:flex-start;gap:12px;padding:18px 22px;border:1px solid var(--line);border-radius:var(--radius-sm);font-size:14px;color:var(--muted);background:rgba(255,255,255,.015)}
.model-note svg{width:20px;height:20px;flex:none;margin-top:1px;fill:none;stroke:var(--ink-2);stroke-width:1.6;stroke-linecap:round}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:32px 0 40px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:var(--muted)}
.footer-inner .brand{color:var(--ink);font-size:15px}
.footer-inner .brand-mark{width:22px;height:22px}
.footer-inner a:hover{color:var(--ink)}
.footer-links{display:flex;gap:18px}

/* Simulation viewer: the experiment takes almost the whole window. */
body.experiment-open .site-header,body.experiment-open .site-footer,body.experiment-open .glows{display:none}
.viewer{display:flex;flex-direction:column;height:100svh;padding:10px 12px 12px;gap:10px}
.viewer-bar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;min-height:52px;padding:0 6px}
.viewer-back{display:inline-flex;align-items:center;gap:8px;justify-self:start;height:38px;padding:0 14px 0 10px;border-radius:999px;font-size:13px;font-weight:550;color:var(--ink-2);border:1px solid var(--line);transition:background .2s,color .2s}
.viewer-back:hover{background:rgba(255,255,255,.05);color:var(--ink)}
.viewer-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.viewer-title{text-align:center;min-width:0}
.viewer-title h1:focus{outline:none}
.viewer-title h1{font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#simulation-subject{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.viewer-actions{display:flex;justify-content:flex-end;gap:4px}
.icon-btn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:500;color:var(--ink-2);transition:background .2s,color .2s}
.icon-btn:hover{background:rgba(255,255,255,.06);color:var(--ink)}
.icon-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.frame-shell{position:relative;flex:1;min-height:0;border-radius:20px;overflow:hidden;background:#f4f6f9;box-shadow:0 0 0 1px var(--line-strong),0 30px 80px -20px #000c}
.frame-shell iframe{display:block;width:100%;height:100%;border:0;background:#f4f6f9}
.frame-shell:fullscreen{border-radius:0}

.path-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.02);font-size:13px}
.path-progress-head{display:flex;align-items:center;gap:12px}
.path-progress-head .kicker{font-size:11px}
.path-progress h2{font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.3}
.path-progress nav{display:flex;flex-wrap:wrap;gap:6px}
.path-progress nav a{padding:5px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}
.path-progress nav a span{margin-right:6px;color:var(--subtle)}
.path-progress nav a[aria-current=step]{color:var(--ink);border-color:#5fe0c166;background:#5fe0c112}
.path-actions{display:flex;gap:14px;font-size:12px;color:var(--muted)}
.path-actions a{color:var(--bio)}

/* Dialogs */
dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:32px;border:1px solid var(--line-strong);border-radius:24px;background:#0e1422;color:var(--ink);box-shadow:0 40px 100px #000c}
dialog::backdrop{background:rgba(3,5,10,.66);backdrop-filter:blur(6px)}
dialog[open]{animation:dialog-in .22s var(--ease)}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}}
dialog h2{font-size:38px;margin:10px 0 6px}
.dialog-sub{color:var(--muted);font-size:14px}
.dialog-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;font-size:22px;color:var(--muted)}
.dialog-close:hover{background:rgba(255,255,255,.07);color:var(--ink)}
.qr-image{display:grid;place-items:center;margin:22px 0;padding:18px;border-radius:18px;background:#fff}
.qr-image img{width:min(240px,100%);height:auto;image-rendering:pixelated}
.dialog-buttons{display:flex;gap:10px;flex-wrap:wrap}
.dialog-buttons .btn{flex:1;height:42px;font-size:13px}
.copy-link-row{display:flex;gap:8px;margin-top:12px}
.copy-link-row input{flex:1;min-width:0;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-raise);font-size:13px;color:var(--ink-2)}
.copy-link-row button{height:40px;padding:0 14px;border-radius:12px;border:1px solid var(--line-strong);font-size:13px;font-weight:550}
.copy-link-row button:hover{background:rgba(255,255,255,.05)}
.dialog-status{min-height:20px;margin-top:10px;font-size:13px;color:var(--bio)}
.dialog-note{font-size:12px;color:var(--subtle);line-height:1.55;margin-top:6px}
#report-form{display:grid;gap:8px;margin-top:20px}
#report-form label{font-size:13px;font-weight:550;color:var(--ink-2);margin-top:6px}
#report-form select,#report-form textarea{width:100%;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-raise);font-size:14px}
#report-form textarea{resize:vertical}
#report-form .btn{margin-top:8px}

/* Legal page */
.legal{max-width:760px;padding:56px 0 96px;min-height:70vh}
.legal .back{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.legal .back:hover{color:var(--ink)}
.legal h1{font-size:clamp(48px,6vw,72px);margin:16px 0 28px}
.legal-notice{color:var(--ink-2);font-size:14px;background:var(--surface);border:1px solid var(--line);padding:16px 20px;border-radius:14px;margin-bottom:28px}
.legal-block{border-top:1px solid var(--line);padding:22px 0}
.legal h2{font-family:var(--sans);font-size:15px;font-weight:600;margin-bottom:6px}
.legal-value{color:var(--muted);font-size:15px;white-space:pre-line;min-height:24px}
.legal-value:empty::after{content:'Noch nicht eingetragen';color:var(--subtle);font-style:italic;font-size:13px}

/* Responsive */
@media (max-width:1080px){
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .paths{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero{grid-template-columns:1fr;min-height:0;padding:48px 0 64px}
  .hero-visual{justify-self:center;max-width:420px;order:-1;margin-bottom:-24px}
  .toolbar{flex-direction:column;align-items:stretch}
  .search{flex:1 1 auto}
  .icon-btn span{display:none}
}
@media (max-width:760px){
  .wrap{width:calc(100% - 32px)}
  .site-header{height:60px}
  .header-inner{width:calc(100% - 32px)}
  .site-nav,.header-cta{display:none}
  html{scroll-padding-top:72px}
  .hero{padding:16px 0 48px;gap:8px}
  .hero-visual{max-width:320px}
  .hero h1{font-size:clamp(46px,13vw,64px);margin:18px 0 18px}
  .hero-lead{font-size:16px}
  .hero-actions .btn{flex:1}
  .hero-facts{gap:14px;margin-top:40px}
  .hero-facts dt{font-size:24px}
  .hero-facts dd{font-size:12px}
  .hero-badge{font-size:12px;padding:7px 12px}
  .hero-badge small{display:none}
  .section-head{flex-direction:column;align-items:flex-start;gap:12px}
  .catalog{padding-top:24px}
  .toolbar{top:60px}
  .toolbar-groups{flex-direction:column;gap:8px}
  .toolbar-groups .segmented{display:flex;width:100%}
  .toolbar-groups .segmented button{flex:1;justify-content:center;padding:0 8px}
  .card-grid{grid-template-columns:1fr;gap:14px}
  .cards{gap:10px}
  .group-nav{margin:0 -16px 6px}
  .group-nav ul{flex-wrap:nowrap;overflow-x:auto;padding:2px 16px 8px;scroll-padding-inline:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .group-nav ul::-webkit-scrollbar{display:none}
  .group-chip{height:36px}
  .card-group-head{margin-bottom:0;padding:8px 0 10px}
  .card-group:has(.card-grid:not([hidden])) .card-group-head{margin-bottom:14px}
  .group-toggle{grid-template-columns:auto minmax(0,1fr) auto auto;column-gap:10px;row-gap:2px;min-height:48px}
  .group-title{font-size:23px}
  .group-note{grid-column:2/-1;grid-row:2;font-size:12.5px}
  .paths{grid-template-columns:1fr;padding:0 18px 18px}
  .journeys-box summary{flex-direction:column;align-items:flex-start;padding:24px 20px}
  .about{grid-template-columns:1fr;padding:64px 0}
  .star-map{padding:18px 14px 12px}
  .star-map-head{flex-direction:column;align-items:flex-start;gap:10px}
  .star-map-constellations{grid-template-columns:1fr}
  .constellation-field{height:360px}
  .topic-star-name{font-size:12px}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:10px}
  .viewer{padding:6px 6px 8px;gap:6px}
  .viewer-bar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:46px;padding:0}
  .viewer-back span{display:none}
  .viewer-back{padding:0 10px}
  .viewer-title{text-align:left}
  #simulation-subject{justify-content:flex-start;font-size:11px}
  .viewer-title h1{font-size:15px}
  .icon-btn{padding:0 9px}
  #standalone{display:none}
  .frame-shell{border-radius:14px}
  .path-progress nav{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .orbit,.molecule{animation:none}
  .sim-card,.preview-art,.btn,.btn svg,.group-chevron,.group-chip{transition:none}
  .shot-preview.in{animation:none;opacity:1}
}
