/* =========================================================================
   heroldem – Stylesheet
   Liquid Glass · Bento · kühles Eis-Farbschema
   System-Schriften (SF Pro auf Apple-Geräten) · keine externen Ressourcen
   ========================================================================= */

:root {
  --bg: #04060b;
  --bg-2: #080c14;
  --bg-3: #0e1420;
  --text: #eef3fa;
  --muted: #8e9ab0;
  --faint: #5d6880;
  --line: rgba(200, 225, 255, .10);

  --ice: #8fe3ff;          /* Gletscher-Cyan */
  --ice-soft: #c9f1ff;
  --azure: #3f7dff;        /* kühles Blau */
  --azure-strong: #2e66e8;
  --frost: #e6f7ff;
  --ok: #5ef0c0;
  --work: #ffc36b;

  --grad-ice: linear-gradient(100deg, var(--frost) 0%, var(--ice) 42%, var(--azure) 100%);

  /* Liquid Glass */
  --glass-bg: linear-gradient(160deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.03) 55%, rgba(255,255,255,.05) 100%);
  --glass-blur: blur(22px) saturate(170%);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04), inset 1px 0 0 rgba(255,255,255,.06), inset -1px 0 0 rgba(255,255,255,.04);
  --glass-shadow: 0 1px 1px rgba(0,0,0,.3), 0 18px 50px -18px rgba(0,0,0,.7);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-s: 16px;
  --r-m: 26px;
  --r-l: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 5vw, 40px);
  --max: 1180px;
  --nav-h: 72px;

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: rgba(143, 227, 255, .3); }
:focus-visible { outline: 2.5px solid var(--ice); outline-offset: 3px; border-radius: 10px; }

.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: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ice); color: #04121c; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.ice {
  background: var(--grad-ice); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin-bottom: 18px; }
.display { font-size: clamp(2.3rem, 6.2vw, 4.6rem); letter-spacing: -.04em; }
.display--s { font-size: clamp(2rem, 5vw, 3.6rem); }

/* ---------- Liquid Glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-shadow);
  border: 1px solid rgba(255, 255, 255, .07);
}
/* Lichtkante: spiegelnder Rand, der oben links am hellsten ist */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.45), rgba(255,255,255,.04) 35%, rgba(143,227,255,.08) 70%, rgba(255,255,255,.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* Spotlight, das der Maus folgt (JS setzt --mx / --my) */
[data-spot] { --mx: 50%; --my: 0%; --spot: 0; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(143, 227, 255, .12), transparent 60%);
  opacity: var(--spot); transition: opacity .35s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary {
  color: #03111b;
  background: linear-gradient(180deg, #d9f6ff 0%, var(--ice) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 30px -10px rgba(143, 227, 255, .6);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 40px -10px rgba(143, 227, 255, .85); transform: translateY(-1px); }
.btn--glass { color: var(--text); }
.btn--glass:hover { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); transform: translateY(-1px); }
.btn--large { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gutter) 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: 720px; margin-inline: auto; height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 0 16px; border-radius: 999px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled .nav__bar { --glass-bg: linear-gradient(160deg, rgba(20,28,42,.72), rgba(10,14,22,.62)); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.08); }
@media (max-width: 520px) {
  .brand span { display: none; }
  .nav__bar { padding-left: 10px; }
  .nav__links a { padding: 9px 11px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
}
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora::after { /* Ausblenden nach unten */
  content: ""; position: absolute; inset: auto 0 0; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; will-change: transform; }
.aurora__blob--a { width: 62vmax; height: 62vmax; left: -18vmax; top: -26vmax; background: radial-gradient(circle, rgba(63,125,255,.55), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.aurora__blob--b { width: 52vmax; height: 52vmax; right: -20vmax; top: -6vmax; background: radial-gradient(circle, rgba(143,227,255,.38), transparent 65%); animation: drift-b 26s ease-in-out infinite alternate; }
.aurora__blob--c { width: 40vmax; height: 40vmax; left: 30%; bottom: -20vmax; background: radial-gradient(circle, rgba(120,140,255,.28), transparent 65%); animation: drift-c 30s ease-in-out infinite alternate; }
.aurora__grain {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(-10vmax, 8vmax, 0) scale(.92); } }
@keyframes drift-c { to { transform: translate3d(-6vmax, -8vmax, 0) scale(1.15); } }

.hero__inner { position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--ice-soft); margin-bottom: 28px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(143,227,255,.18), 0 0 14px var(--ice); }
.hero__title { font-size: clamp(3rem, 10.5vw, 8.4rem); letter-spacing: -.055em; line-height: .96; font-weight: 800; }
.hero__title .line { display: block; }
.hero__sub { max-width: 34rem; margin-top: 30px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Schwebende Glas-Elemente */
.hero__floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float { position: absolute; border-radius: var(--r-m); transition: translate .6s var(--ease-out); translate: var(--fx, 0) var(--fy, 0); }
.float--icon { right: max(6vw, calc(50% - 560px)); top: 22%; width: clamp(96px, 13vw, 168px); padding: clamp(10px, 1.4vw, 16px); border-radius: clamp(28px, 3.6vw, 44px); rotate: 8deg; animation: bob 7s ease-in-out infinite; }
.float--icon img { border-radius: clamp(20px, 2.7vw, 32px); width: 100%; }
.float--chip, .float--chip2 { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.float--chip { right: max(16vw, calc(50% - 400px)); top: 52%; rotate: -4deg; animation: bob 8s ease-in-out -2s infinite; }
.float--chip2 { right: max(4vw, calc(50% - 600px)); top: 66%; rotate: 3deg; animation: bob 9s ease-in-out -4s infinite; }
.float--chip2 .icon { color: var(--ice); }
@keyframes bob { 50% { transform: translateY(-14px); } }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.dot--ok { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.dot--work { background: var(--work); box-shadow: 0 0 12px var(--work); }
@media (max-width: 959px) {
  .float--icon { top: auto; bottom: 8%; right: 8%; }
  .float--chip, .float--chip2 { display: none; }
}
@media (max-width: 600px) {
  .float--icon { width: 84px; padding: 8px; border-radius: 26px; bottom: 5%; right: 6%; }
  .float--icon img { border-radius: 19px; }
}

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { border-radius: var(--r-l); padding: clamp(24px, 3.4vw, 40px); overflow: hidden; }
.tile h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.tile p { color: var(--muted); }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--app { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); }
  .tile--app { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile--platforms { grid-column: 1 / -1; }
}

/* PureCards-Kachel */
.tile--app { display: grid; gap: 32px; align-items: center; min-height: 520px; }
.tile--app::before { background: linear-gradient(140deg, rgba(255,255,255,.5), rgba(255,255,255,.04) 35%, rgba(119,104,255,.25) 75%, rgba(94,230,203,.3)); }
.tile--app > .tile__media::before { /* farbiger Schein der App */
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; left: -10%; top: 0; z-index: -1;
  background: radial-gradient(circle, rgba(119,104,255,.35), rgba(94,230,203,.12) 45%, transparent 68%); filter: blur(30px);
}
@media (min-width: 760px) { .tile--app { grid-template-columns: 1.1fr .9fr; } }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-id__icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 30px -8px rgba(119,104,255,.6), inset 0 0 0 1px rgba(255,255,255,.1); }
.app-id h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.app-id__meta { font-size: .9375rem; color: var(--faint) !important; margin-top: 4px; }
.tile__lead { font-size: 1.0625rem; max-width: 30rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--ice-soft); background: rgba(143,227,255,.08); border: 1px solid rgba(143,227,255,.16); }
.tile__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.tile__media { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.device {
  --w: min(56vw, 250px);
  position: relative; width: var(--w); aspect-ratio: 720 / 1563;
  padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .17);
  background: linear-gradient(145deg, #3a4150, #12151c 40%, #2a303c);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.12);
  rotate: -4deg; transition: rotate .8s var(--ease-out), translate .8s var(--ease-out);
}
.device__screen { width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .14); background: #000; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; }
.watch {
  --w: min(28vw, 128px);
  position: absolute; right: 2%; bottom: 6%; width: var(--w); aspect-ratio: 416 / 496;
  padding: calc(var(--w) * .07); border-radius: calc(var(--w) * .3);
  background: linear-gradient(145deg, #4a5262, #15181f 45%, #2b313d);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.14);
  rotate: 7deg; transition: rotate .8s var(--ease-out), translate .8s var(--ease-out);
}
.watch__screen { width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .22); background: #000; }
.watch__screen img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .tile--app:hover .device { rotate: 0deg; translate: 0 -6px; }
  .tile--app:hover .watch { rotate: 0deg; translate: 6px -4px; }
}

/* Status-Kachel */
.tile--stat { display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.stat__num { font-size: clamp(5rem, 10vw, 7.5rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; background: var(--grad-ice); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 12px; font-weight: 600; color: var(--text) !important; font-size: 1.0625rem; }
.stat__note { font-size: .9375rem; margin-top: 2px; }

/* In-Arbeit-Kachel */
.tile--soon { display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.tile--soon p { font-size: .9375rem; }
.soon__icon {
  width: 60px; height: 60px; border-radius: 15px; margin-bottom: 8px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1.5px dashed rgba(200,225,255,.28);
}
.soon__icon span { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(143,227,255,.25) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 2.8s linear infinite; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.soon__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: .8125rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--work) !important; }

/* Plattformen-Kachel */
.tile--platforms { display: grid; gap: 18px; align-items: center; }
.tile--platforms p { max-width: 34rem; }
@media (min-width: 1040px) { .tile--platforms { grid-template-columns: auto 1fr auto; gap: 40px; } }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-weight: 500; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.platforms .icon { color: var(--ice); width: 1.3em; height: 1.3em; }

/* ---------- Prinzipien ---------- */
.section--principles { overflow: clip; }
.principles__glow { position: absolute; inset: 10% -20% auto; height: 70%; z-index: -1; background: radial-gradient(ellipse at center, rgba(63,125,255,.18), transparent 60%); filter: blur(40px); pointer-events: none; }
.principles { display: grid; gap: 16px; counter-reset: p; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { position: relative; border-radius: var(--r-l); padding: 32px 28px 34px; overflow: hidden; }
.principle__num { position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: .8125rem; color: var(--faint); }
.principle__icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--ice); background: rgba(143,227,255,.1); border: 1px solid rgba(143,227,255,.18); margin-bottom: 26px; }
.principle h3 { font-size: 1.375rem; margin-bottom: 10px; }
.principle p { color: var(--muted); }

/* ---------- Kontakt ---------- */
.section--contact { padding-top: 0; }
.contact { border-radius: var(--r-l); padding: clamp(32px, 6vw, 72px); text-align: center; overflow: hidden; }
.contact .display--s { margin-inline: auto; }
.contact__text { max-width: 32rem; margin: 22px auto 0; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: auto 1fr; } .footer__links { justify-self: end; } .footer__legal { grid-column: 1 / -1; } }
.brand--footer { font-size: 1rem; }
.brand--footer img { border-radius: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.footer__links a:hover { color: var(--text); }
.footer__legal { font-size: .8125rem; color: var(--faint); }

/* ---------- Rechtliche Seiten ---------- */
.legal { position: relative; isolation: isolate; overflow-x: clip; padding: calc(var(--nav-h) + 72px) 0 110px; min-height: 80vh; }
.legal .aurora { height: 560px; }
.legal__wrap { max-width: 820px; }
.legal__head { margin-bottom: 44px; }
.legal__head h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); letter-spacing: -.045em; }
.legal__head .lead { margin-top: 18px; color: var(--muted); font-size: 1.125rem; }
.prose { border-radius: var(--r-l); padding: clamp(24px, 5vw, 52px); }
.prose h2 { font-size: 1.375rem; letter-spacing: -.02em; margin: 2.2em 0 .7em; }
.prose h2:first-child, .prose .toc + h2 { margin-top: 0; }
.prose p, .prose li, .prose dd { color: #c3cbd9; }
.prose p + p { margin-top: .9em; }
.prose a { color: var(--ice); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--text); }
.toc { margin-bottom: 40px; padding: 20px 24px; border-radius: var(--r-s); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.toc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 4px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ice); }
.facts { display: grid; gap: 1px; margin: 1.2em 0; border-radius: var(--r-s); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts div { display: grid; gap: 4px; padding: 16px 20px; background: var(--bg-2); }
@media (min-width: 640px) { .facts div { grid-template-columns: 200px 1fr; gap: 20px; } }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.back:hover { color: var(--text); }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: clip; padding: 120px var(--gutter); }
.notfound h1 { font-size: clamp(6rem, 22vw, 14rem); letter-spacing: -.07em; line-height: .9; }
.notfound p { color: var(--muted); margin: 18px 0 32px; font-size: 1.125rem; }

/* ---------- Scroll-Animationen ---------- */
/* 1) Moderne Browser: CSS Scroll-Driven Animations (ohne JavaScript) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .hero__inner {
      animation: hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(48px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-out { to { opacity: 0; transform: translateY(-60px) scale(.96); filter: blur(8px); } }

/* 2) Fallback: IntersectionObserver (JS setzt .is-visible) */
@supports not (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
  }
}

/* Intro-Animation der Hero-Zeilen */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line, .pill, .hero__sub, .hero__actions { animation: rise 1.1s var(--ease-out) both; }
  .pill { animation-delay: .05s; }
  .hero__title .line:nth-child(1) { animation-delay: .12s; }
  .hero__title .line:nth-child(2) { animation-delay: .22s; }
  .hero__title .line:nth-child(3) { animation-delay: .32s; }
  .hero__sub { animation-delay: .45s; }
  .hero__actions { animation-delay: .55s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Browser ohne backdrop-filter: dichteres Glas */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 28, 42, .92); }
}

/* Hero-Chips unten rechts neben Text und Buttons, nicht neben der Überschrift */
@media (min-width: 960px) {
  .float--chip { top: auto; bottom: 26%; }
  .float--chip2 { top: auto; bottom: 15%; }
}

/* Sprachumschalter */
.nav__right { display: flex; align-items: center; gap: 6px; }
.nav__lang {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--ice-soft);
  border: 1px solid rgba(143,227,255,.22); background: rgba(143,227,255,.06); transition: background-color .2s, border-color .2s;
}
.nav__lang:hover { background: rgba(143,227,255,.14); border-color: rgba(143,227,255,.4); }
.nav__lang .icon { width: 16px; height: 16px; }
@media (max-width: 520px) { .nav__lang { padding: 0 10px; } .nav__lang .icon { display: none; } }
.prose .small { font-size: .9375rem; color: var(--muted); margin-bottom: 1.6em; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
