/* ============ Fonts (self-hosted) ============ */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

/* ============ Tokens ============ */
:root {
  --navy: #0B1530;
  --navy-2: #16224A;
  --lila: #6B4FBB;
  --lila-2: #8F76E0;
  --lila-soft: #E9E3FA;
  --gelb: #FFD232;
  --gelb-2: #FFE37A;
  --gelb-soft: #FFF5CC;
  --paper: #F6F3EC;
  --ink: var(--navy);
  --muted: #4A5372;
  --card: #FFFFFF;
  --line: rgba(11, 21, 48, .12);
  --radius: 22px;
  --shadow: 0 1px 0 rgba(11,21,48,.06), 0 18px 40px -18px rgba(11,21,48,.28);
  --ease: cubic-bezier(.2,.8,.2,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --bg: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background-color .8s var(--ease), color .8s var(--ease);
  overflow-x: hidden;
}
body.is-dark { --bg: var(--navy); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gelb); color: var(--navy); }

/* ============ Layers ============ */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }
main, .nav { position: relative; z-index: 2; }

/* ============ Cursor ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: width .25s var(--bounce), height .25s var(--bounce), opacity .3s; }
.cursor--a { width: 12px; height: 12px; background: var(--lila); }
.cursor--b { width: 26px; height: 26px; border: 2px solid var(--gelb); mix-blend-mode: normal; }
body.has-cursor .cursor { opacity: 1; }
body.cursor-hover .cursor--b { width: 54px; height: 54px; background: rgba(255,210,50,.25); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ Loader ============ */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--navy); color: #fff; display: grid; place-items: center; transition: transform .9s var(--ease) .15s, opacity .5s; }
.loader.is-done { transform: translateY(-100%); }
.loader__inner { width: min(360px, 80vw); text-align: center; }
.loader__label { font-family: var(--display); font-size: 1.4rem; margin: 0 0 14px; }
.loader__bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lila), var(--gelb)); border-radius: inherit; transition: width .7s var(--bounce); }
.loader__done { opacity: 0; margin: 14px 0 0; color: var(--gelb); font-weight: 700; transition: opacity .3s; }
.loader.is-full .loader__done { opacity: 1; }

/* ============ Nav ============ */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); z-index: 50; transition: background .6s, color .6s, border-color .6s; }
body.is-dark .nav { background: rgba(22,34,74,.7); color: #fff; border-color: rgba(255,255,255,.12); }
.nav__logo { display: flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.nav__logo span:last-child { margin-left: 8px; }
.nav__links { display: flex; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; border-radius: 3px; background: var(--gelb); transition: right .3s var(--ease); }
.nav__links a:hover::after { right: 0; }
@media (max-width: 900px) { .nav__links { display: none; } }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.dot--l { background: var(--lila); }
.dot--g { background: var(--gelb); }
.dot--lg { background: linear-gradient(90deg, var(--lila) 50%, var(--gelb) 50%); }
.nav__logo .dot--g { margin-left: -5px; mix-blend-mode: multiply; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .25s var(--bounce), box-shadow .25s, background .25s; box-shadow: 4px 4px 0 var(--gelb); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--gelb); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--gelb); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: 4px 4px 0 var(--lila); }
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--lila); }
.btn--small { padding: 8px 16px; font-size: .9rem; box-shadow: 3px 3px 0 var(--gelb); }
body.is-dark .btn--small { background: var(--gelb); color: var(--navy); border-color: var(--gelb); box-shadow: 3px 3px 0 var(--lila); }
.btn--big { font-size: 1.25rem; padding: 20px 36px; background: var(--gelb); color: var(--navy); border-color: var(--gelb); box-shadow: 6px 6px 0 var(--lila); }
.btn--big:hover { box-shadow: 9px 9px 0 var(--lila); }
:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; border-radius: 6px; }

/* ============ Layout ============ */
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { position: relative; padding: clamp(90px, 14vh, 160px) 0; }
.center { text-align: center; }
.eyebrow { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--lila); margin: 0 0 14px; }
body.is-dark .eyebrow { color: var(--gelb); }
.h1, .hero__title { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.035em; font-size: clamp(3rem, 7vw, 6.4rem); margin: 0 0 24px; }
.contact .h1 { font-size: clamp(3rem, 9vw, 8.2rem); }
.h2 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; font-size: clamp(2rem, 4.6vw, 3.9rem); margin: 0 0 28px; max-width: 18ch; }
.h2.center { margin-left: auto; margin-right: auto; }
.sub { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 auto 36px; }
body.is-dark .sub, .ki p, .contact p { color: rgba(255,255,255,.82); }
.small { font-size: .9rem; opacity: .8; }
.strong { font-weight: 700; }

/* Marker (Textmarker-Strich aus der PDF) */
.marker { background: linear-gradient(100deg, transparent .2em, var(--gelb) .25em, var(--gelb) calc(100% - .25em), transparent calc(100% - .2em)) no-repeat 0 88% / 0% .46em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; transition: background-size .9s var(--ease) .25s; }
.is-in .marker, .marker.is-in { background-size: 100% .46em; }
.marker--dark { color: #fff; background-image: linear-gradient(100deg, transparent .2em, var(--lila) .25em, var(--lila) calc(100% - .25em), transparent calc(100% - .2em)); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Hero ============ */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
.hero__stage { position: relative; min-height: 460px; }
.hint { white-space: nowrap; position: absolute; bottom: 0; right: 10%; font-family: var(--display); font-weight: 600; color: var(--muted); transform: rotate(-4deg); margin: 0; font-size: .95rem; animation: wiggle 3s ease-in-out infinite; }
.hint::before { content: "↖ "; }
@keyframes wiggle { 50% { transform: rotate(3deg) translateY(-4px); } }
.hello { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; margin: 0 0 6px; }
.firma { color: var(--lila); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
body.is-ready .hero__title .line > span { transform: none; }
.hero__title em { font-style: normal; }
.hero__title em.l { color: var(--lila); }
.hero__title em.g { color: var(--navy); background: linear-gradient(transparent 58%, var(--gelb) 58%, var(--gelb) 92%, transparent 92%); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch; margin: 0 0 12px; }
.role { margin: 0 0 30px; color: var(--muted); }
.role strong { color: var(--navy); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.sticker { position: absolute; right: clamp(16px, 5vw, 80px); top: 110px; width: 128px; height: 128px; z-index: 3; }
.sticker svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker__bg { fill: var(--gelb); stroke: var(--navy); stroke-width: 3; }
.sticker text { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 1.5px; fill: var(--navy); }
.sticker__mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: .8; color: var(--lila); }
.sticker__mid small { display: block; font-size: .7rem; color: var(--navy); letter-spacing: .1em; text-transform: uppercase; margin: 4px 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.scrollcue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--navy); border-radius: 20px; transform: translateX(-50%); }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--lila); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 300px; order: -1; }
  .hero { padding-top: 90px; align-items: flex-start; }
  .sticker { width: 96px; height: 96px; top: auto; bottom: 90px; }
  .sticker__mid { font-size: 1.5rem; }
  .hint { right: auto; left: 50%; bottom: 10px; }
}

/* ============ Warum ============ */
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } .why__spacer { height: 260px; } }
.onboarding { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); margin: 0 0 34px; display: grid; gap: 12px; }
.onboarding__row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.onboarding__who { font-weight: 800; font-family: var(--display); }
.onboarding ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.onboarding li { padding: 6px 12px; border-radius: 99px; background: var(--paper); font-size: .9rem; font-weight: 600; }
.onboarding__row--us li { color: var(--muted); }
.onboarding__row--us li s { text-decoration-thickness: 2px; text-decoration-color: var(--lila); }
.onboarding__row--us li.go { background: var(--gelb); color: var(--navy); font-weight: 800; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
@media (max-width: 560px) { .onboarding__row { grid-template-columns: 1fr; } }

.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .reasons { grid-template-columns: 1fr; } }
.reason { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s var(--bounce); }
.reason:hover { transform: translateY(-6px) rotate(-.6deg); }
.reason:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.reason__num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--lila-soft); position: absolute; right: 16px; top: 12px; }
.reason:nth-child(even) .reason__num { color: var(--gelb-soft); }
.reason h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 8px; position: relative; }
.reason h3 em { font-style: normal; color: var(--lila); }
.reason p { margin: 0; color: var(--muted); font-size: .98rem; position: relative; }
.reason:nth-child(1) { transition-delay: .05s; } .reason:nth-child(2) { transition-delay: .12s; } .reason:nth-child(3) { transition-delay: .19s; } .reason:nth-child(4) { transition-delay: .26s; }

/* ============ Duo / Quartett ============ */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: clamp(20px, 6vw, 90px); margin: 20px 0 60px; perspective: 1400px; }
@media (max-width: 820px) { .cards { grid-template-columns: minmax(0, 420px); } }
.qcard { all: unset; display: block; cursor: pointer; aspect-ratio: 5 / 8; position: relative; transform-style: preserve-3d; }
.qcard:focus-visible { outline: 3px solid var(--lila); outline-offset: 6px; border-radius: 26px; }
.qcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--bounce); transform: rotateY(var(--flip, 0deg)) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.qcard.is-flipped { --flip: 180deg; }
.qcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 26px; padding: 18px 20px 20px; background: var(--card); border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--c); overflow: hidden; display: flex; flex-direction: column; }
.qcard--l { --c: var(--lila); --c-soft: var(--lila-soft); }
.qcard--g { --c: var(--gelb); --c-soft: var(--gelb-soft); }
.qcard--g { transform: rotate(2deg); } .qcard--l { transform: rotate(-2deg); }
.qcard__back { transform: rotateY(180deg); background: var(--c-soft); font-size: .95rem; overflow-y: auto; }
.qcard__top { display: flex; justify-content: space-between; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.qcard__top span:first-child { background: var(--c); color: var(--navy); padding: 2px 10px; border-radius: 99px; }
.qcard--l .qcard__top span:first-child { color: #fff; }
.qcard__photo { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--c-soft); border: 2px solid var(--navy); }
.qcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.qcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 12px 0 2px; line-height: 1.1; }
.qcard h3 strong { font-weight: 800; }
.qcard__deg { font-size: .78rem; color: var(--muted); margin: 0 0 10px; line-height: 1.35; }
.qcard__stats { margin: 0; display: grid; gap: 6px; }
.qcard__stats div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 5px 0; border-top: 1px dashed var(--line); font-size: .86rem; line-height: 1.3; }
.qcard__stats dt { font-weight: 800; }
.qcard__stats dd { margin: 0; }
.qcard__flip { margin-top: auto; align-self: flex-end; font: inherit; font-weight: 800; font-size: .8rem; color: var(--navy); background: var(--c); padding: 4px 12px; border: 0; border-radius: 99px; cursor: pointer; }
.qcard__flip--back { margin-top: 12px; }
.qcard .tags { margin-bottom: 0; }
.qcard--l .qcard__flip { color: #fff; }
.quote-mark { font-family: var(--display); font-size: 4rem; line-height: .6; margin: 10px 0 0; color: var(--c); -webkit-text-stroke: 2px var(--navy); }
.qcard__back h4 { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; margin: 10px 0; }
.qcard__back p { margin: 0 0 10px; }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: #fff; border: 2px solid var(--navy); padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fact__num { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--lila); margin-bottom: 6px; }
.fact:nth-child(even) .fact__num { color: var(--navy); text-decoration: underline var(--gelb) 6px; text-underline-offset: 4px; }
.fact span:last-child { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ============ Timeline ============ */
.legend { display: flex; gap: 10px; align-items: center; font-weight: 700; flex-wrap: wrap; margin-bottom: 40px; }
.legend .dot { margin-left: 10px; }
.legend .dot:first-child { margin-left: 0; }
.timeline { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; row-gap: 26px; }
.timeline__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tl-base, .tl-line { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.tl-base { stroke: var(--line); stroke-width: 4; }
.tl-line--l { stroke: var(--lila); }
.tl-line--g { stroke: var(--gelb); }
.tl-node { stroke: var(--navy); stroke-width: 3; }
.tl-item { background: var(--card); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); position: relative; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--bounce); border-left: 6px solid var(--lila); }
.tl-item.is-in { opacity: 1; transform: none; }
.tl-item[data-who="l"] { grid-column: 1; }
.tl-item[data-who="g"] { grid-column: 3; border-left-color: var(--gelb); }
.tl-item[data-who="lg"] { grid-column: 1 / -1; justify-self: center; width: min(560px, 100%); text-align: center; border-left: 0; border-top: 6px solid; border-image: linear-gradient(90deg, var(--lila) 50%, var(--gelb) 50%) 1; border-radius: 0 0 18px 18px; z-index: 1; }
.tl-year { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .06em; background: var(--navy); color: #fff; padding: 2px 10px; border-radius: 99px; }
.tl-item h3 { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; margin: 8px 0 4px; }
.tl-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.tl-item--next { background: repeating-linear-gradient(-45deg, #fff 0 12px, var(--gelb-soft) 12px 24px); border: 3px dashed var(--navy); border-radius: 18px; }
.tl-item--next h3 { font-size: 2rem; }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 46px 1fr; }
  .tl-item[data-who] { grid-column: 2; justify-self: stretch; text-align: left; width: auto; }
}

/* ============ Jetzt (Baum) ============ */
.tree { display: grid; justify-items: center; gap: 0; }
.tree__root { background: var(--navy); color: #fff; padding: 18px 30px; border-radius: 20px; text-align: center; box-shadow: 6px 6px 0 var(--lila); position: relative; }
.tree__kicker { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gelb); font-weight: 800; }
.tree__root strong { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.tree__branches { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 46px 0 30px; }
.tree__branches::before { content: ""; position: absolute; top: 0; left: 50%; width: 3px; height: 24px; background: var(--navy); }
.tree__branches::after { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 3px; background: var(--navy); border-radius: 3px; }
.branch { position: relative; cursor: pointer; background: var(--card); border: 3px solid var(--navy); padding: 10px 22px; border-radius: 99px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; transition: transform .3s var(--bounce), background .3s, box-shadow .3s; box-shadow: 3px 3px 0 var(--navy); }
.branch::before { content: ""; position: absolute; left: 50%; top: -25px; width: 3px; height: 22px; background: var(--navy); }
.branch:hover { transform: translateY(-3px) rotate(-2deg); }
.branch[aria-selected="true"] { background: var(--gelb); box-shadow: 5px 5px 0 var(--lila); transform: translateY(-3px); }
@media (max-width: 640px) { .tree__branches::after, .branch::before { display: none; } }
.tree__panels { width: 100%; }
.panel { animation: pop .5s var(--bounce); }
.panel > p { max-width: 62ch; margin: 0 auto; font-size: 1.15rem; background: var(--card); padding: 26px 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.projects2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .projects2 { grid-template-columns: 1fr; } }
.project { background: var(--card); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); border-top: 8px solid var(--c, var(--lila)); }
.project--g { --c: var(--gelb); }
.project--l { --c: var(--lila); }
.project--lg { max-width: 760px; margin: 0 auto; border-image: linear-gradient(90deg, var(--lila) 50%, var(--gelb) 50%) 1; border-top-width: 8px; border-style: solid none none; border-radius: 0 0 var(--radius) var(--radius); }
.project__who { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.project h3 { font-family: var(--display); font-size: 1.5rem; line-height: 1.15; margin: 8px 0; }
.project__big { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin: 10px 0 14px; letter-spacing: -.03em; }
.project--g .project__big span { background: linear-gradient(transparent 60%, var(--gelb) 60%); }
.project--l .project__big { color: var(--lila); }
.project__time { font-size: .85rem; color: var(--muted); margin: 12px 0 0; font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.project--lg .checks { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .project--lg .checks { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--c, var(--lila)); color: var(--navy); font-size: .72rem; font-weight: 900; display: grid; place-items: center; }
.project--l .checks li::before, .project--lg .checks li::before { color: #fff; background: var(--lila); }

/* ============ Archiv ============ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 99px; background: var(--card); border: 2px solid var(--navy); font-weight: 700; transition: background .2s, transform .25s var(--bounce); }
.filter:hover { transform: translateY(-2px); }
.filter.is-on { background: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); position: relative; transition: transform .45s var(--bounce), opacity .35s, box-shadow .3s; transform-style: preserve-3d; overflow: hidden; }
.tile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--lila); }
.tile[data-who="g"]::after { background: var(--gelb); }
.tile[data-who="lg"]::after { background: linear-gradient(90deg, var(--lila) 50%, var(--gelb) 50%); }
.tile:hover { box-shadow: 0 30px 50px -24px rgba(11,21,48,.4); }
.tile__org { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-right: 24px; display: block; }
.tile h3 { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; margin: 8px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; }
.tile.is-hidden { display: none; }
.tile.is-pop { animation: pop .5s var(--bounce) both; }

/* ============ Werkzeugkasten ============ */
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .edu { grid-template-columns: 1fr; } }
.edu__col { background: var(--card); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.edu__name { font-family: var(--display); font-size: 1.6rem; margin: 0 0 12px; display: inline-block; padding: 0 12px; border-radius: 10px; }
.edu__name--l { background: var(--lila); color: #fff; }
.edu__name--g { background: var(--gelb); }
.edu ul { list-style: none; padding: 0; margin: 0 0 18px; }
.edu li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: grid; }
.edu li span { color: var(--muted); font-size: .92rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges span { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--line); }

/* ============ Stimmen ============ */
.voices { overflow: hidden; }
.marquee { overflow: hidden; padding: 20px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.voice { margin: 0; width: min(420px, 80vw); background: var(--card); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); border: 3px solid var(--navy); position: relative; }
.voice--l { box-shadow: 7px 7px 0 var(--lila); transform: rotate(-1deg); }
.voice--g { box-shadow: 7px 7px 0 var(--gelb); transform: rotate(1deg); }
.voice blockquote { margin: 0 0 14px; font-family: var(--display); font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
.voice figcaption { font-size: .85rem; font-weight: 700; color: var(--muted); }

/* ============ KI ============ */
.ki, .contact { color: #fff; }
.ki__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .ki__grid { grid-template-columns: 1fr; } }
.ki__list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.ki__list li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.ki__list li::before { content: "✦"; color: var(--gelb); font-size: 1.1rem; }
.terminal { background: #060C1E; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); overflow: hidden; box-shadow: 10px 10px 0 var(--lila); }
.terminal__bar { display: flex; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.05); }
.terminal__bar span { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.terminal__bar span:nth-child(2) { background: var(--gelb); }
.terminal__bar span:nth-child(3) { background: var(--lila-2); }
.terminal pre { margin: 0; padding: 20px 22px 26px; min-height: 290px; font: 500 .92rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; white-space: pre-wrap; color: #D9DEF0; }
.terminal .t-prompt { color: var(--gelb); }
.terminal .t-ok { color: #8BE39A; }
.terminal .t-l { color: var(--lila-2); }
.terminal .caret { display: inline-block; width: .6em; background: var(--gelb); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ Kontakt ============ */
.contact { padding-bottom: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.contact .h1 { margin-top: 10px; }
.contact .g { color: var(--gelb); }
.contact .btn--big { margin: 10px 0 50px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; margin-bottom: 30px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.person img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 4px solid var(--c); }
.person--l { --c: var(--lila-2); } .person--g { --c: var(--gelb); }
.person div { display: grid; gap: 1px; }
.person strong { font-family: var(--display); font-size: 1.2rem; }
.person a { text-decoration: none; color: rgba(255,255,255,.9); }
.person a:hover { color: var(--gelb); text-decoration: underline; }
.person span { color: rgba(255,255,255,.6); font-size: .9rem; }
kbd { background: var(--gelb); color: var(--navy); border-radius: 6px; padding: 1px 8px; font-weight: 800; box-shadow: 0 2px 0 var(--lila); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: min(1180px, calc(100% - 32px)); margin: 60px auto 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: rgba(255,255,255,.6); }

/* ============ TL;DR Dialog ============ */
.tldr { width: min(760px, calc(100% - 24px)); max-height: 90vh; border: 3px solid var(--navy); border-radius: 24px; padding: 30px; box-shadow: 10px 10px 0 var(--gelb); color: var(--navy); background: #fff; }
.tldr::backdrop { background: rgba(11,21,48,.6); backdrop-filter: blur(4px); }
.tldr[open] { animation: pop .4s var(--bounce); }
.tldr h2 { font-family: var(--display); font-size: 1.7rem; line-height: 1.15; margin: 0 0 18px; }
.tldr table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tldr th { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; width: 120px; white-space: nowrap; }
.tldr td { padding: 10px 0; }
.tldr tr + tr { border-top: 1px dashed var(--line); }
.tldr__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--navy); background: var(--gelb); cursor: pointer; font-weight: 800; }
@media (max-width: 560px) { .tldr th { display: block; padding-bottom: 0; } .tldr td { display: block; padding-top: 2px; } }

/* ============ Easter Egg ============ */
body.beta-mode .hero__title em.l { animation: jelly .5s ease-in-out infinite alternate; display: inline-block; }
@keyframes jelly { to { transform: skewX(-8deg) scale(1.04); } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 220%); opacity: 0; z-index: 80; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 99px; font-weight: 700; box-shadow: 4px 4px 0 var(--gelb); transition: transform .5s var(--bounce); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast { transition: transform .5s var(--bounce), opacity .3s; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .tl-item { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============ Rechtsseiten (Impressum / Datenschutz) ============ */
.legal-page { background: var(--paper); }
.legal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(760px, calc(100% - 32px)); margin: 24px auto 0; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.legal-back { font-weight: 700; text-decoration: none; font-size: .95rem; }
.legal-back:hover { text-decoration: underline var(--gelb) 3px; text-underline-offset: 4px; }
.legal { width: min(760px, calc(100% - 32px)); margin: 56px auto 40px; }
.legal h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0 0 36px; hyphens: manual; }
.legal h2 { font-family: var(--display); font-size: 1.3rem; margin: 40px 0 10px; display: flex; align-items: center; gap: 10px; }
.legal h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(90deg, var(--lila) 50%, var(--gelb) 50%); flex: none; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--lila); font-weight: 600; }
.legal address { font-style: normal; }
.legal code { font-size: .9em; background: var(--lila-soft); padding: 1px 6px; border-radius: 6px; }
.legal__people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.legal__people > * { margin: 0; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); border-left: 5px solid var(--lila); }
.legal__people > *:nth-child(2) { border-left-color: var(--gelb); }
@media (max-width: 600px) { .legal__people { grid-template-columns: 1fr; } }
.legal__tldr { background: var(--gelb-soft); border: 2px solid var(--navy); border-radius: 18px; padding: 18px 22px; box-shadow: 5px 5px 0 var(--gelb); margin-bottom: 10px; }
.legal__box { background: #fff; border-radius: 16px; padding: 16px 20px; border: 2px solid var(--lila); }
.legal__stand { margin-top: 40px !important; color: var(--muted); font-size: .9rem; }
.legal__links { font-weight: 700; }
.legal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 40px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.legal-foot a { color: inherit; }
.legal-foot a[aria-current] { font-weight: 800; color: var(--navy); }
.legal-head .nav__logo { white-space: nowrap; }
@media (max-width: 480px) { .legal-back { font-size: .85rem; } .legal-head { padding: 10px 16px; } }
