/* =====================================================================
   richardreinisch.com – Design System
   Identität: Tiny5 (Pixel) · Montserrat · Blau #0892d0 · Navy #1a1f36
   ===================================================================== */

/* ---------- Fonts (selbst gehostet) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Tiny5"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/tiny5-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Tiny5"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/tiny5-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"); }

/* ---------- Tokens ---------- */
:root {
  --accent: #0892d0;
  --accent-strong: #0071a5;
  --accent-2: #1343a3;
  --accent-light: #99ddff;
  --navy: #1a1f36;
  --navy-2: #232a49;

  --bg: #f4f6f8;
  --bg-alt: #eaeef3;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #1a1f36;
  --ink-soft: #4b5472;
  --ink-mute: #7a8399;
  --line: rgba(26, 31, 54, 0.1);
  --line-strong: rgba(26, 31, 54, 0.18);
  --glow: rgba(8, 146, 208, 0.28);
  --grid-color: rgba(8, 146, 208, 0.08);
  --shadow-sm: 0 2px 8px -2px rgba(26, 31, 54, 0.08);
  --shadow: 0 18px 50px -20px rgba(26, 31, 54, 0.25);
  --shadow-lg: 0 40px 90px -30px rgba(26, 31, 54, 0.35);
  --header-bg: rgba(244, 246, 248, 0.78);

  --f-display: "Tiny5", "Courier New", monospace;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --accent: #2bb0ec;
  --accent-strong: #5cc6f5;
  --accent-2: #7f9cff;
  --accent-light: #9ddcff;
  --bg: #0b1020;
  --bg-alt: #0f1529;
  --surface: #141b33;
  --surface-2: #18203b;
  --ink: #e9eef8;
  --ink-soft: #aeb8d0;
  --ink-mute: #7f8aa6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glow: rgba(43, 176, 236, 0.32);
  --grid-color: rgba(43, 176, 236, 0.07);
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  --header-bg: rgba(11, 16, 32, 0.72);
  color-scheme: dark;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip; transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
:root[data-theme="dark"] a:hover { color: var(--accent-light); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }
.mono { font-family: var(--f-mono); font-size: .82em; letter-spacing: .02em; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.center { text-align: center; }
main { display: block; outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Hintergrund-Muster ---------- */
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -15vmax; top: -20vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%); filter: blur(10px); opacity: .9;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s, transform .35s var(--ease);
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--accent); transition: transform .35s var(--ease-spring); }
.brand-mark svg { width: 100%; height: 100%; }
.brand:hover .brand-mark { transform: scale(1.15); }
.brand-name { font-family: var(--f-display); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 8px 14px; color: var(--ink); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink-mute); letter-spacing: .05em;
}
.lang-switch .lang-cur { color: var(--accent); }
.lang-switch:hover { border-color: var(--accent); color: var(--ink); }
.lang-switch--big { font-size: 14px; padding: 10px 16px; color: var(--ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); transition: border-color .2s, background .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: inline-block; }
.menu-toggle { display: none; }
.burger { position: relative; width: 18px; height: 12px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 1px; }
.burger span:last-child { top: 9px; width: 70%; }
.menu-open .burger span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .6s var(--ease);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.mobile-menu ul li { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(.08s * var(--i) + .15s); }
.menu-open .mobile-menu ul li { opacity: 1; transform: none; }
.mobile-menu nav a { display: block; padding: 10px 0; font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 15px; letter-spacing: .01em; line-height: 1.2; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  overflow: hidden; isolation: isolate; will-change: transform;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 10px 30px -10px var(--glow); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); opacity: 0; transition: opacity .3s;
}
.btn--primary:hover { color: #fff; box-shadow: 0 16px 40px -12px var(--glow); background: var(--accent-strong); border-color: var(--accent-strong); }
.btn--primary:hover::before { opacity: 1; }
:root[data-theme="dark"] .btn--primary { --btn-fg: #06121d; }
:root[data-theme="dark"] .btn--primary:hover { color: #06121d; }
.btn--ghost:hover { --btn-bd: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--light:hover { color: var(--navy); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; gap: 8px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: none; }
.link-btn:hover { color: var(--accent); }

/* ---------- Eyebrow / Überschriften ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.eyebrow-line { width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -0.02em; }
.section-sub { color: var(--ink-soft); margin: -4px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 8px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }
.sub-title { font-size: 1.35rem; margin: 2.4em 0 1em; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--bg-alt); }

/* ---------- Hero (Start) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px; }
.hero-name { font-size: clamp(2.9rem, 8.2vw, 6.6rem); margin: 0 0 18px; color: var(--ink); text-shadow: 0 0 0 transparent; }
.hero-name span { color: var(--accent); display: inline-block; }
.hero-words { display: flex; align-items: center; gap: 6px; min-height: 1.3em; margin: 0 0 22px; font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.scramble .dud { color: var(--ink-mute); opacity: .7; }
.caret { width: 3px; height: 1.1em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-slogan { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ink-soft); max-width: 52ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-cta--center { justify-content: center; margin-top: 24px; }
.hero-videos { display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-videos-label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .12em; }
.hero-videos ul { display: flex; gap: 12px; }
.dodeca-thumb { position: relative; display: block; width: 76px; height: 76px; transition: transform .4s var(--ease-spring); }
.dodeca-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: url("../img/logo-mask.svg") center / contain no-repeat; mask: url("../img/logo-mask.svg") center / contain no-repeat;
  transition: filter .3s;
}
.dodeca-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .3s; }
.dodeca-play .icon { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.dodeca-thumb:hover { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.dodeca-thumb:hover img { filter: brightness(.7); }
.dodeca-thumb:hover .dodeca-play { opacity: 1; }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.dodeca-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-orbit { position: absolute; inset: 6%; pointer-events: none; }
.hero-orbit span { position: absolute; inset: 0; border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 50%; animation: spin 40s linear infinite; }
.hero-orbit span:nth-child(2) { inset: 9%; border-style: solid; border-color: color-mix(in srgb, var(--accent) 12%, transparent); animation-duration: 60s; animation-direction: reverse; }
.hero-orbit span:nth-child(3) { inset: -4%; border-color: color-mix(in srgb, var(--accent) 10%, transparent); animation-duration: 90s; }
.hero-orbit span::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-orbit span:nth-child(2)::before { top: auto; bottom: -3px; width: 6px; height: 6px; background: var(--accent-2); }
.hero-orbit span:nth-child(3)::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-mute); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
.mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; background: var(--navy); color: #cfe9f7; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-block: -10px 0; z-index: 2; box-shadow: var(--shadow); }
:root[data-theme="dark"] .ticker { background: var(--surface); color: var(--ink-soft); border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: 9px; height: 9px; background: var(--accent); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / Stats ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote-inline { margin: 28px 0 32px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.quote-inline p { font-size: 1.2rem; font-style: italic; font-weight: 500; margin: 0 0 6px; color: var(--ink); }
.quote-inline cite { font-family: var(--f-mono); font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.section--tight .stats, .travel .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.stat-value { font-size: clamp(2.8rem, 5vw, 4rem); color: var(--accent); }
.stat-label { font-weight: 650; line-height: 1.35; }
.stat-sub { color: var(--ink-mute); }

/* ---------- Karten-Glow ---------- */
.glow-card, .card, .bento-item { --mx: 50%; --my: 50%; }
.glow-card { position: relative; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.glow-card::before, .card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow-card:hover, .card:hover { border-color: transparent; box-shadow: var(--shadow); }
.glow-card:hover::before, .card:hover::before { opacity: 1; }
.glow-card:hover { transform: translateY(-4px); }

/* ---------- Bento (Shortcuts) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 270px); gap: 16px; grid-auto-flow: dense; }
.bento-item { position: relative; display: flex; align-items: flex-end; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.bento-item--large { grid-column: span 2; grid-row: span 2; }
.bento-item--wide { grid-column: span 2; }
.bento-item--tall { grid-row: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), filter .5s; }
.bento-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 30, 0) 30%, rgba(10, 14, 30, .88) 100%); transition: opacity .4s; }
.bento-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(8, 146, 208, .35), transparent 50%); opacity: 0; transition: opacity .4s; }
.bento-item:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento-item:hover img { transform: scale(1.07); }
.bento-item:hover::after { opacity: 1; }
.bento-content { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; width: 100%; }
.bento-title { font-weight: 750; font-size: 1.15rem; line-height: 1.25; }
.bento-item--large .bento-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.bento-text { font-size: .9rem; opacity: .85; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-arrow { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transform: scale(.8) rotate(-45deg); opacity: 0; transition: all .4s var(--ease-spring); }
.bento-item:hover .card-arrow, .card:hover .card-arrow { transform: none; opacity: 1; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card-badges li, .card-badges--inline span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(10, 14, 30, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }
.card-badges .icon { width: 15px; height: 15px; }
.card-badges--inline { position: static; display: flex; gap: 6px; margin-bottom: 4px; }

/* ---------- Kompetenzen ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.comp-card, .trait { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.comp-card h3, .trait h3 { font-size: 1.12rem; margin: 18px 0 14px; }
.trait p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.comp-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); flex: none; }
.comp-icon .icon { width: 22px; height: 22px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list--center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 550; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.chip--hl { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); font-weight: 650; }
:root[data-theme="dark"] .chip--hl { color: var(--accent-light); }
.chip-list--sm .chip { font-size: 12px; padding: 4px 10px; }
.trait-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Werdegang (Rail) ---------- */
.career-rail { --rail-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad); padding: 12px 0 28px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.career-track { position: relative; display: flex; gap: 20px; width: max-content; padding-inline: var(--rail-pad); }
.career-track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 10%, var(--accent-2) 90%, transparent); opacity: .5; }
.career-stop { position: relative; scroll-snap-align: start; width: 240px; padding-top: 30px; }
.career-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.career-years { position: absolute; top: -2px; left: 26px; color: var(--accent); font-weight: 700; }
.career-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); height: calc(100% - 0px); transition: transform .3s var(--ease), box-shadow .3s; }
.career-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.career-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.career-icon { display: grid; place-items: center; aspect-ratio: 16/10; border-radius: 8px; margin-bottom: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), color-mix(in srgb, var(--accent-2) 25%, var(--surface))); color: var(--accent); }
.career-icon .icon { width: 40px; height: 40px; }
.career-card strong { font-size: 1.02rem; }
.career-card span { font-size: .88rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Stimmen ---------- */
.voices-slider { position: relative; }
.voices-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.voices-track::-webkit-scrollbar { display: none; }
.voice-card { position: relative; margin: 0; padding: 32px 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.voice-mark { color: var(--accent); opacity: .9; }
.voice-mark .icon { width: 30px; height: 30px; }
.voice-card blockquote { margin: 0; }
.voice-card blockquote p { margin: 0; font-size: 1.15rem; line-height: 1.5; font-weight: 550; }
.voice-card figcaption { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.slider-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 0%, #1d3a7a 0%, var(--navy) 55%), var(--navy); color: #fff; padding-block: clamp(72px, 10vw, 130px); text-align: center; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-band .grid-bg { --grid-color: rgba(153, 221, 255, .08); }
.cta-mark { position: absolute; right: -6%; bottom: -30%; width: min(520px, 60vw); color: rgba(8, 146, 208, .14); animation: spin 80s linear infinite; }
.cta-mark svg { width: 100%; height: auto; }
.cta-inner { position: relative; max-width: 760px; }
.cta-title { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta-inner p { color: #c4d4ea; font-size: 1.1rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-tagline { margin: 16px 0 20px; color: var(--ink-soft); }
.footer-nav { display: flex; gap: 48px; justify-content: flex-end; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a, .footer-nav .link-btn { color: var(--ink-soft); font-size: .95rem; }
.footer-nav a:hover, .footer-nav .link-btn:hover { color: var(--accent); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-mute); padding-right: calc(var(--gutter) + 56px); }
.footer-bottom p { margin: 0; }
.to-top { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); }
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(calc(-50% - 3px)); }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-row a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: all .25s var(--ease); }
.social-row a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social-row--inline a { width: 34px; height: 34px; }
.social-row--inline { margin-top: 4px; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .hero-glow { right: -25vmax; top: -35vmax; }
.page-title { font-size: clamp(2.5rem, 7vw, 5.2rem); margin-bottom: 22px; overflow-wrap: anywhere; }
.project-title { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.floating-mark { position: absolute; right: max(4vw, calc((100vw - var(--container)) / 2)); top: calc(var(--header-h) + 40px); width: clamp(90px, 14vw, 180px); color: var(--accent); opacity: .14; animation: floaty 9s ease-in-out infinite; }
.floating-mark svg { width: 100%; height: auto; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(12deg); } }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-mute); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: var(--ink-soft); font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Über mich ---------- */
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.facts { display: grid; gap: 14px; margin: 28px 0 32px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.facts dt { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.facts dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.about-photo { position: relative; margin: 0; }
.about-photo-frame { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; transform: rotate(1.5deg); transition: transform .6s var(--ease); }
.about-photo:hover .about-photo-frame { transform: rotate(0) scale(1.01); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 30, .35)); }
.photo-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; max-width: 230px; line-height: 1.25; animation: floaty 8s ease-in-out infinite; }
.photo-badge strong { font-size: 2rem; color: var(--accent); }
.photo-badge--0 { left: -24px; top: 12%; }
.photo-badge--1 { right: -18px; bottom: 8%; animation-delay: -4s; }
.proof-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.proof-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.proof-row:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent); }
.proof-skill { font-family: var(--f-display); text-transform: uppercase; font-size: 1.35rem; color: var(--accent); line-height: 1.1; }
.proof-body p { margin: 0; }
.proof-used { margin-top: 6px !important; color: var(--ink-mute); }

.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 170px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .35; }
.tl-item { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 40px; }
.tl-dot { position: absolute; left: 163px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-alt); border: 3px solid var(--accent); z-index: 1; }
.tl-date { padding-top: 22px; color: var(--accent); font-weight: 700; text-align: right; }
.tl-card { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tl-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.tl-img { width: 92px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.tl-icon { display: grid; place-items: center; width: 92px; height: 64px; border-radius: 10px; flex: none; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), color-mix(in srgb, var(--accent-2) 25%, var(--surface))); color: var(--accent); }
.tl-icon .icon { width: 28px; height: 28px; }
.tl-head h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tl-company { margin: 0 0 8px; color: var(--ink-soft); font-weight: 600; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.pill .icon { width: 13px; height: 13px; }
.pill--ok { color: #1f9d5c; border-color: rgba(31, 157, 92, .3); background: rgba(31, 157, 92, .08); }
.country-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.country-list li { font-family: var(--f-mono); font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); }
.tl-bullets { display: grid; gap: 8px; }
.tl-bullets li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .96rem; }
.tl-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.tl-more { margin-top: 8px; }
.tl-more > .tl-bullets { margin-top: 8px; }
.tl-more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-weight: 650; font-size: .9rem; color: var(--accent); padding: 4px 0; }
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary .icon { transition: transform .3s; }
.tl-more[open] summary .icon { transform: rotate(180deg); }
.tl-more .when-open, .tl-more[open] .when-closed { display: none; }
.tl-more[open] .when-open { display: inline; }
.tl-tools { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .85rem; color: var(--ink-mute); }
.tl-tools .mono { color: var(--accent); }

.early-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.early-track::before { content: ""; position: absolute; left: 0; right: 0; top: 33%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: .5; }
.early-node { position: relative; text-align: left; }
.early-img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; transition: transform .4s var(--ease); }
.early-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: filter .4s, transform .6s var(--ease); }
.early-node:hover .early-img { transform: translateY(-6px) rotate(-2deg); }
.early-node:hover .early-img img { filter: none; transform: scale(1.06); }
.early-since { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
:root[data-theme="dark"] .early-since { color: #06121d; }
.early-node h3 { font-size: 1.05rem; margin-bottom: 6px; }
.early-node p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

.edu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.edu-list { display: grid; gap: 22px; }
.edu-item { display: flex; gap: 16px; }
.edu-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.edu-period { color: var(--accent); display: block; margin-bottom: 4px; }
.edu-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.edu-item p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.course-list li { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.course-list .mono { color: var(--accent); }
.course-title { font-weight: 600; font-size: .95rem; line-height: 1.4; }
.course-title small { display: block; font-weight: 500; color: var(--ink-mute); font-size: .82rem; }
.course-dur { color: var(--ink-mute) !important; white-space: nowrap; }
.values-inner { text-align: center; max-width: 900px; }
.values-text { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 28px; }
.values .share { justify-content: center; margin-top: 40px; }

/* ---------- Portfolio ---------- */
.toolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; margin-bottom: 18px; border-radius: var(--radius); background: var(--header-bg); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 24px; }
.filter::-webkit-scrollbar { display: none; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; font-size: 13.5px; font-weight: 600; white-space: nowrap; color: var(--ink-soft); transition: all .25s var(--ease); }
.filter-btn .icon { width: 15px; height: 15px; }
.filter-btn:hover { color: var(--ink); background: var(--surface); }
.filter-btn.is-active { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .filter-btn.is-active { color: #06121d; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; background: color-mix(in srgb, currentColor 14%, transparent); }
.search { position: relative; display: flex; align-items: center; flex: 0 1 260px; }
.search .icon { position: absolute; left: 14px; color: var(--ink-mute); pointer-events: none; }
.search input { width: 100%; padding: 10px 14px 10px 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 14px; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.result-count { color: var(--ink-mute); margin: 0 0 18px 4px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, opacity .35s; }
.card:hover { transform: translateY(-6px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.card-link:hover { color: var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 1.1rem; margin: 0; }
.card-text { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); padding: 3px 9px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 9%, transparent); }
.tag .icon { width: 13px; height: 13px; }
.tag--link:hover { background: var(--accent); color: #fff; }
.tag--mono { color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); }
.project-hero .tag-list { margin-bottom: 20px; padding: 0; }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.empty-state { text-align: center; color: var(--ink-mute); padding: 48px 0; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* ---------- Projekt ---------- */
.project-stage { margin-top: -8px; margin-bottom: clamp(36px, 5vw, 64px); }
.media-frame { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #05070f; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.media-frame video, .media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.media-frame--image { aspect-ratio: auto; max-height: 76vh; display: grid; place-items: center; background: var(--bg-alt); }
.media-frame--image img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; }
.zoom-hint { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 14, 30, .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s; }
.media-frame--image:hover .zoom-hint { transform: scale(1.1); }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.project-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.meta-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.meta-row { display: grid; gap: 6px; }
.meta-label { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; }
.link-stack { display: grid; gap: 8px; }
.video-list { display: grid; gap: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(10, 14, 30, .85)); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); }
.pn-link { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pn-link:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.pn-link .mono { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); }
.pn-next { text-align: right; align-items: flex-end; grid-column: 3; }
.pn-prev { grid-column: 1; }
.pn-all { grid-column: 2; display: grid; place-items: center; width: 64px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); }
.pn-all:hover { border-color: var(--accent); color: var(--accent); }
.project-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 3D-Viewer */
.viewer3d { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--surface) 0%, var(--bg-alt) 70%); border: 1px solid var(--line); box-shadow: var(--shadow); touch-action: pan-y; }
.viewer3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer3d canvas:active { cursor: grabbing; }
.viewer-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s; filter: blur(0); }
.viewer3d.is-loaded .viewer-poster { opacity: 0; pointer-events: none; }
.viewer-load { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; }
.viewer3d.is-loading .viewer-load, .viewer3d.is-loaded .viewer-load { opacity: 0; pointer-events: none; }
.viewer-hint { position: absolute; left: 16px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-mute); opacity: 0; transition: opacity .4s; z-index: 2; }
.viewer3d.is-loaded .viewer-hint { opacity: 1; }
.viewer-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; }
.viewer3d.is-loading .viewer-progress { opacity: 1; }
.viewer-progress span { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s; }

/* Consent-Embed */
.consent-embed { display: grid; place-items: center; }
.embed-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: blur(2px) saturate(.9); }
.embed-overlay { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; text-align: center; color: #fff; max-width: 560px; }
.play-btn { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.4s infinite; transition: transform .3s var(--ease-spring); }
.play-btn .icon { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.play-btn:hover { transform: scale(1.08); }
.embed-note { font-size: .85rem; line-height: 1.5; background: rgba(5, 7, 15, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 18px; }
.embed-note p { margin: 0 0 8px; }
.embed-note a { color: var(--accent-light); display: inline-flex; gap: 4px; align-items: center; }
.embed-note .check { display: inline-flex; gap: 8px; align-items: center; margin-right: 12px; cursor: pointer; }
.consent-embed.is-loaded .embed-overlay, .consent-embed.is-loaded .embed-poster { display: none; }

/* ---------- Reisen ---------- */
.travel .stats { margin-bottom: 28px; }
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--ink); transition: opacity .2s, border-color .2s; }
.legend-btn:not(.is-on) { opacity: .45; }
.legend-btn:hover { border-color: var(--c); }
.legend-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; }
.legend-dot .icon { width: 13px; height: 13px; }
.map { height: clamp(380px, 62vh, 680px); background: var(--bg-alt); }
.place-list { margin-top: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.place-list > summary { display: flex; align-items: center; gap: 10px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 650; }
.place-list > summary::-webkit-details-marker { display: none; }
.place-list > summary .icon:last-child { margin-left: auto; transition: transform .3s; }
.place-list[open] > summary .icon:last-child { transform: rotate(180deg); }
.place-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 6px 22px 26px; }
.place-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 12px; }
.place-group li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.place-group small { color: var(--ink-soft); }
.travel .share { margin-top: 28px; }
/* Leaflet-Feinschliff */
.map.leaflet-container { font-family: var(--f-body); background: color-mix(in srgb, var(--accent) 7%, var(--bg-alt)); }
.leaflet-container a { color: var(--accent); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: 16px; }
.leaflet-popup-content { margin: 16px 18px; font-size: 14px; line-height: 1.5; }
.tm-pop h3 { margin: 0 0 2px; font-size: 1.05rem; }
.tm-pop .tm-year { font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute); margin-bottom: 8px; }
.tm-pop .tm-row { margin: 8px 0; white-space: pre-line; }
.tm-pop .tm-label { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tm-pop .tm-visits { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: 12px; font-weight: 700; }
.tm-pin { width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--c, var(--accent)); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); position: relative; transition: transform .25s var(--ease-spring); }
.tm-pin:hover { transform: rotate(-45deg) scale(1.15); }
.tm-pin .icon { transform: rotate(45deg); color: #fff; width: 15px; height: 15px; }
.tm-badge { position: absolute; top: -10px; right: -10px; transform: rotate(45deg); background: #fff; color: var(--navy); font: 700 10.5px/18px var(--f-body); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.tm-home { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 3px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); color: #fff; animation: pulse 2.4s infinite; }
.tm-home .icon { width: 15px; height: 15px; }
.leaflet-control-zoom a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 85%, transparent) !important; color: var(--ink-mute) !important; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-cards { display: grid; gap: 12px; margin-top: 28px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.info-card > span:nth-child(2) { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.info-card .meta-label { margin-bottom: 2px; }
.form-card { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-top: 40px; }
.form-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 22px; }
.contact-form { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 22px 16px 10px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--ink-mute); font-size: 15px; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.check { display: inline-flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.check--block { display: flex; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.notice--ok { background: rgba(31, 157, 92, .1); color: #1f9d5c; }
.notice--err { background: rgba(214, 69, 65, .1); color: #d64541; }

/* ---------- Prose ---------- */
.prose { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .4em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.prose ol { list-style: decimal; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--accent); font-style: italic; }
.prose img { border-radius: var(--radius-sm); }
.prose--doc h2:first-child { margin-top: 0; }
.lead.prose { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.lead.prose p:last-child { margin-bottom: 0; }
.doc-updated { color: var(--ink-mute); margin-top: 40px; }

/* ---------- Teilen ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.share-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }
.share-list { display: flex; flex-wrap: wrap; gap: 6px; }
.share-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); transition: all .25s var(--ease); }
.share-btn .icon { width: 16px; height: 16px; }
.share-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* ---------- Consent-Banner ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(440px, calc(100vw - 32px)); }
.consent[hidden] { display: none; }
.consent-card { padding: 22px; border-radius: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: slideUp .5s var(--ease) both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } }
.consent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--accent); }
.consent-head .icon { width: 22px; height: 22px; }
.consent-head h2 { font-size: 1.05rem; margin: 0; color: var(--ink); }
.consent p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.consent-details summary { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 650; cursor: pointer; color: var(--accent); list-style: none; margin-bottom: 10px; }
.consent-details summary::-webkit-details-marker { display: none; }
.consent-options { display: grid; gap: 12px; margin: 6px 0 14px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.switch { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; cursor: pointer; line-height: 1.4; }
.switch small { color: var(--ink-mute); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); transition: background .25s; margin-top: 1px; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease-spring); }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch.is-locked { opacity: .7; cursor: default; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(5, 7, 15, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; padding: 64px 16px; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: min(1400px, 92vw); max-height: 78vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbIn .4s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { color: #dbe4f3; font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, transform .2s; }
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; color: #9fb0cc; font-family: var(--f-mono); font-size: 13px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 600; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; transition: all .35s var(--ease); pointer-events: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
:root[data-theme="dark"] .toast { background: var(--accent); color: #06121d; }

/* ---------- 404 ---------- */
.hero--404 { text-align: center; }
.hero--404 .container { position: relative; }
.glitch { position: relative; display: inline-block; font-size: clamp(7rem, 26vw, 16rem); color: var(--accent); margin: 0 0 12px; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--accent-2); animation: glitch 2.6s infinite steps(2); clip-path: inset(0 0 55% 0); transform: translate(-4px, 0); }
.glitch::after { color: var(--ink); opacity: .25; animation: glitch 3.1s infinite steps(2) reverse; clip-path: inset(55% 0 0 0); transform: translate(4px, 0); }
@keyframes glitch { 0%, 88%, 100% { transform: translate(0); } 90% { transform: translate(-6px, 2px); } 94% { transform: translate(6px, -2px); } 97% { transform: translate(-3px, 1px); } }

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- View Transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp-grid, .trait-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-layout { grid-template-columns: 1fr; }
  .project-aside { position: static; }
  .early-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .early-track::before { display: none; }
  .voices-track { grid-auto-columns: minmax(280px, calc((100% - 16px) / 2)); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-tools { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; right: -18%; top: 4%; width: 78vw; max-width: 520px; opacity: .35; z-index: -1; }
  .hero { padding-bottom: 110px; }
  .intro-grid, .about-hero-grid, .contact-grid, .edu-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .section--tight .stats, .travel .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .tl-dot { left: 0; top: 4px; }
  .tl-date { text-align: left; padding-top: 0; }
  .proof-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .place-groups { grid-template-columns: 1fr; }
  .form-card { margin-top: 0; }
  .toolbar { position: static; }
  .search { flex: 1 1 100%; }
  .filter { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-item--large { grid-row: span 2; grid-column: auto; }
  .bento-item--wide { grid-column: auto; }
  .comp-grid, .trait-grid, .project-grid--3 { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 14px; }
  .card-title { font-size: .98rem; }
  .card-text { font-size: .84rem; }
  .card .tag-list { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .early-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 10px; }
  .stat { padding: 18px 16px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .project-nav { grid-template-columns: 1fr 1fr; }
  .pn-all { display: none; }
  .pn-next { grid-column: 2; }
  .pn-link { padding: 16px; }
  .pn-link strong { font-size: .92rem; }
  .photo-badge--0 { left: 8px; }
  .photo-badge--1 { right: 8px; }
  .course-list li { grid-template-columns: 60px 1fr; }
  .course-dur { display: none; }
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .consent-actions { grid-template-columns: 1fr; }
  .hero-videos { margin-top: 32px; }
  .dodeca-thumb { width: 62px; height: 62px; }
  .brand-name { font-size: 13px; }
  .voices-track { grid-auto-columns: 86%; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .scroll-hint { display: none; }
  .media-frame { border-radius: var(--radius-sm); }
  .tl-head { flex-direction: column; gap: 12px; }
  .tl-img, .tl-icon { width: 100%; height: 120px; }
  .tl-card { padding: 20px; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
  .project-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  @view-transition { navigation: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .mobile-menu, .site-footer, .consent, .cta-band, .share, .toolbar, .scroll-hint, .hero-visual, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .page-hero, .hero { padding-top: 0; min-height: 0; }
}
