/* RUBY · Die KI Show · SANOSTRA (Entwurf) */
:root {
  --bg: #05060a;
  --bg-2: #0b0e16;
  --ink: #e9edf2;
  --muted: #9aa6b2;
  --grey: #b4beb6;          /* SANOSTRA Grau */
  --orange: #ef8d24;        /* SANOSTRA Orange */
  --blue: #5aa9ff;          /* RUBY Blau */
  --blue-soft: rgba(90, 169, 255, .16);
  --line: rgba(233, 237, 242, .12);
  --glass: rgba(12, 16, 26, .62);
  --radius: 18px;
  --head: "Chakra Petch", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--orange); color: #000; padding: 8px 12px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Hintergrundbühne ---------- */
.stage { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.stage__layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease;
}
.stage__layer.is-active { opacity: .55; }
.stage canvas.stage__layer.is-active { opacity: .9; }
.stage__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(5,6,10,.55) 60%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(5,6,10,.35), rgba(5,6,10,.65));
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(5,6,10,.72); backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav__logo img { height: 20px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font: 500 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color .25s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--orange);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 600 14px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: #120a02; background: var(--c);
  border: 1px solid var(--c); cursor: pointer;
  box-shadow: 0 0 0 0 rgba(239,141,36,.5);
  transition: transform .25s, box-shadow .35s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(239,141,36,.8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(233,237,242,.35); }
.btn--ghost:hover { border-color: var(--blue); box-shadow: 0 10px 40px -12px rgba(90,169,255,.7); }
.btn--small { padding: 11px 20px; font-size: 12px; }
.btn--wide { width: 100%; justify-content: center; margin-top: 8px; }
.play-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 1.8s infinite; }

/* ---------- Typografie ---------- */
.eyebrow {
  font: 600 12px/1 var(--head); letter-spacing: .32em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 18px;
}
.h2 {
  font: 600 clamp(32px, 5vw, 64px)/1.05 var(--head);
  letter-spacing: .01em; margin: 0 0 28px; text-transform: uppercase;
}
.lead { font-size: clamp(18px, 1.5vw, 22px); color: #d6dde5; max-width: 62ch; }
[data-type] .caret { display: inline-block; width: .5ch; margin-left: 2px; background: var(--orange); animation: blink 1s steps(1) infinite; }
[data-type] .caret::before { content: "\00a0"; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .85; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 55%, rgba(5,6,10,.15) 0%, rgba(5,6,10,.75) 70%, var(--bg) 100%);
}
.hero__scan {
  position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: screen;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.08) 0 1px, transparent 1px 4px);
}
.hero__content { padding: 120px var(--gutter) 80px; max-width: 980px; }
.hero__ruby {
  width: min(560px, 82vw); height: auto; margin: 0 auto 26px;
  filter: drop-shadow(0 0 24px rgba(90,169,255,.55));
  animation: flicker 6s infinite;
}
.hero__title {
  font: 700 clamp(30px, 5.4vw, 72px)/1.05 var(--head);
  text-transform: uppercase; letter-spacing: .02em; margin: 0 0 22px;
  min-height: 1.1em;
}
.hero__sub { font-size: clamp(17px, 1.6vw, 22px); color: #cfd7df; max-width: 60ch; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid rgba(233,237,242,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: cue 1.8s infinite; }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }

/* Kurzdefinition */
.definition { font: 500 clamp(19px, 1.7vw, 24px)/1.5 var(--body); color: var(--ink); max-width: 64ch; margin: 0 0 48px; padding-left: 20px; border-left: 2px solid var(--orange); }

/* Über SANOSTRA */
.about__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); display: grid; gap: 6px; }
.facts strong { font: 600 clamp(20px, 2vw, 28px)/1.1 var(--head); color: var(--orange); }
.facts span { font-size: 14px; color: var(--muted); }

/* Glitch */
.glitch {
  position: relative; display: inline-block; margin: 0 0 22px;
  font: 600 clamp(14px, 1.4vw, 18px)/1 var(--head); letter-spacing: .45em; color: var(--blue);
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: 0;
}
.glitch.is-glitching::before { opacity: .9; color: var(--orange); animation: glitch-a .9s steps(2) 1; }
.glitch.is-glitching::after { opacity: .9; color: #fff; animation: glitch-b .9s steps(2) 1; }

.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 10px; }
.pills { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
  background: rgba(12,16,26,.4); backdrop-filter: blur(6px);
}

/* Trailer */
.player {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 120px -40px rgba(90,169,255,.45);
}
.player__video { width: 100%; height: 100%; object-fit: cover; }
.player__frame { position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius);
  background: linear-gradient(90deg, var(--orange), transparent 30%, transparent 70%, var(--blue)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  border: 1px solid transparent; opacity: .7; }
.player__start {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(5,6,10,.35); backdrop-filter: blur(8px); cursor: pointer;
  box-shadow: 0 0 0 0 rgba(90,169,255,.6); animation: ring 2.4s infinite;
}
.player__start span { position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.player.is-playing .player__start { display: none; }

/* Drei Dimensionen: gestapelte Karten */
.levels__intro { margin-bottom: 40px; }
.cards { width: min(1000px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.card {
  position: sticky; top: calc(96px + var(--i) * 26px);
  margin-bottom: 48px; padding: clamp(28px, 4vw, 52px);
  border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20,26,40,.92), rgba(8,10,16,.94));
  backdrop-filter: blur(10px); overflow: hidden;
  box-shadow: 0 -20px 60px -30px rgba(0,0,0,.9);
  transform-origin: center top;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(239,141,36,.6), transparent) top / 100% 1px no-repeat;
}
.card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card__level { font: 600 13px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.card__time { font: 500 13px/1 var(--head); letter-spacing: .12em; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(90,169,255,.4); color: var(--blue); }
.card__title { font: 600 clamp(24px, 3vw, 38px)/1.1 var(--head); margin: 0 0 16px; max-width: 22ch; }
.card p { color: #cdd5dd; max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--grey); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--orange); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 6px var(--orange); }
.card__orb {
  position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(160,205,255,.55), rgba(90,169,255,.08) 45%, transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(239,141,36,.45); opacity: .55; pointer-events: none;
}

/* Erlebnis */
.steps { list-style: none; padding: 0; margin: 60px auto 0; width: min(1180px, 100% - 2 * var(--gutter)); display: grid; gap: clamp(60px, 9vw, 140px); }
.step { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.step__media img { width: 100%; height: 120%; object-fit: cover; }
.step__no { font: 700 64px/1 var(--head); color: transparent; -webkit-text-stroke: 1px rgba(239,141,36,.7); }
.step h3 { font: 600 clamp(24px, 2.6vw, 34px)/1.15 var(--head); margin: 10px 0 12px; text-transform: uppercase; }
.step p { color: #cdd5dd; }

/* Zitat */
.quote__inner { margin-inline: auto; text-align: center; }
.quote__text { margin: 0 auto 22px; max-width: 26ch; font: 500 clamp(26px, 3.6vw, 48px)/1.2 var(--head); }
.quote figcaption { color: var(--orange); font: 500 14px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; }

/* Anlässe */
.usecases__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  position: relative; min-height: 120px; display: flex; align-items: flex-end; padding: 20px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px);
  font: 600 18px/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.tile::after { content: ""; position: absolute; right: 16px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
.tile:hover { border-color: rgba(239,141,36,.6); transform: translateY(-3px); }

/* Galerie */
.gallery { position: relative; background: var(--bg); }
.gallery__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 100px 0 60px; }
.gallery__head .h2 { margin-bottom: 32px; }
.gallery__track { display: flex; gap: 22px; padding-inline: var(--gutter); width: max-content; align-self: flex-start; }
.shot { margin: 0; width: clamp(280px, 42vw, 640px); aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); flex: none; }
.shot img { width: 120%; height: 100%; object-fit: cover; }

/* FAQ */
.faq__list { display: grid; gap: 12px; margin-top: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--glass); backdrop-filter: blur(8px); overflow: hidden; transition: border-color .3s; }
.faq__item[open] { border-color: rgba(90,169,255,.45); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font: 600 18px/1.3 var(--head); letter-spacing: .02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
  transition: transform .35s;
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__answer { padding: 0 24px 22px; color: #cdd5dd; }

/* Formular */
.form { margin-top: 30px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form legend { grid-column: 1 / -1; margin-bottom: 12px; font: 600 13px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--orange); }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input:not([type=checkbox]) {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(5,6,10,.6); color: var(--ink); font: inherit; font-size: 16px; outline: none;
  transition: border-color .25s, box-shadow .25s; color-scheme: dark;
}
.form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form__options { grid-template-columns: 1fr !important; }
.check { display: flex !important; align-items: center; gap: 12px; cursor: pointer; color: var(--ink) !important; font-size: 15px !important; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(233,237,242,.4); flex: none; display: grid; place-items: center; cursor: pointer; }
.check input:checked { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px var(--bg); }
.check--small { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 16px; }
.form__note { margin: 14px 0 0; text-align: center; color: var(--blue); min-height: 1.5em; }

/* Digitale Welten */
.digital { overflow: hidden; }
.marquee { margin-top: 50px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row img { height: clamp(180px, 22vw, 300px); width: auto; border-radius: 14px; border: 1px solid var(--line); }
.marquee:hover .marquee__row { animation-play-state: paused; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.footer__grid img { height: 18px; width: auto; }
.footer p { margin: 2px 0; }
.footer__legal { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

.draft-tag { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 6px 10px; border-radius: 8px; background: rgba(239,141,36,.15); border: 1px solid rgba(239,141,36,.5); color: var(--orange); font: 600 11px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; }

/* Startzustände für Animationen (nur mit JS) */
.js .blur-in, .js .reveal { opacity: 0; filter: blur(12px); transform: translateY(24px); }

/* ---------- Keyframes ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(90,169,255,.55); } 100% { box-shadow: 0 0 0 26px rgba(90,169,255,0); } }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .55; } 94% { opacity: 1; } 96% { opacity: .7; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glitch-a { 0% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 0); } 50% { clip-path: inset(55% 0 10% 0); transform: translate(3px, 0); } 100% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 0); opacity: 0; } }
@keyframes glitch-b { 0% { clip-path: inset(70% 0 5% 0); transform: translate(3px, 0); } 50% { clip-path: inset(5% 0 75% 0); transform: translate(-3px, 0); } 100% { clip-path: inset(40% 0 30% 0); transform: translate(2px, 0); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .nav { gap: 12px; }
  .nav__logo img { height: 16px; }
  .intro__grid, .usecases__grid, .step, .about__grid, .facts { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
  .form fieldset { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .card { top: calc(80px + var(--i) * 16px); }
  .gallery__track { width: auto; align-self: stretch; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shot { scroll-snap-align: center; }
}

/* Wer Bewegung reduziert: ruhige Version */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .blur-in, .js .reveal { opacity: 1; filter: none; transform: none; }
  .card { position: relative; top: 0; }
}


/* =========================================================
   Typografie-System: nur 3 Größen (überschreibt alles darüber)
   1) --fs-head  große Headlines   (Chakra Petch)
   2) --fs-text  Fließtext & Titel (Manrope)
   3) --fs-small Labels & Buttons  (Chakra Petch, Versalien)
   ========================================================= */
:root {
  --fs-head: clamp(34px, 4.6vw, 64px);
  --fs-text: clamp(17px, 1.2vw, 20px);
  --fs-small: 13px;
}
body { font-size: var(--fs-text); line-height: 1.65; }

/* 1) Headlines */
.hero__title, .h2, .quote__text, .step__no {
  font-family: var(--head); font-size: var(--fs-head); font-weight: 600; line-height: 1.05; letter-spacing: .01em;
}
.hero__title, .h2 { text-transform: uppercase; }
.quote__text { text-transform: none; line-height: 1.15; }

/* 2) Text (Absätze, Kartentitel, Fragen, Kacheln, Formularfelder) */
p, .lead, .hero__sub, .definition, .card p, .ticks li, .step p, .faq__answer,
.card__title, .step h3, .faq__item summary, .tile, .facts strong,
.form input:not([type=checkbox]), .check, .check--small {
  font-family: var(--body); font-size: var(--fs-text); line-height: 1.6; letter-spacing: 0;
}
.card__title, .step h3, .faq__item summary, .tile, .facts strong { font-weight: 600; text-transform: none; }
.step h3, .card__title { margin: 8px 0 10px; }
.tile { min-height: 96px; }

/* 3) Klein: Labels, Navigation, Buttons, Badges, Meta */
.eyebrow, .nav__links a, .btn, .btn--small, .card__level, .card__time, .pills li, .glitch,
.form legend, .form label, .facts span, .quote figcaption, .footer, .footer p, .footer a,
.draft-tag, .form__note, .player figcaption {
  font-family: var(--head); font-size: var(--fs-small); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
}
.btn { font-weight: 600; }
.footer p, .footer a { letter-spacing: .08em; }
.form label { letter-spacing: .12em; }
.check, .check--small { text-transform: none; letter-spacing: 0; }

/* =========================================================
   Header wie auf sanostra.de: großes Logo, durchscheinender Schriftzug
   ========================================================= */
.nav { min-height: 115px; padding-block: 0; align-items: center; overflow: hidden; }
.nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: url("assets/logo/sanostra-white.png?v=9") no-repeat calc(100% + 70px) -20px / auto 125px;
  opacity: .14;
}
.nav__logo img { height: 48px; width: auto; }
.nav__logo img, .nav::before { transition: height .35s, background-size .35s, background-position .35s; }
.hero__content { padding-top: 160px; }

@media (max-width: 900px) {
  .nav { min-height: 76px; }
  .nav__logo img { height: 28px; }
  .nav::before { background-size: auto 44px; background-position: calc(100% + 20px) -7px; }
}
@media (max-width: 420px) {
  .nav__logo img { height: 22px; }
}
/* Checkbox-Texte im Formular: normale Textgröße */
.form .check, .form .check--small { font-family: var(--body) !important; font-size: var(--fs-text) !important; text-transform: none !important; letter-spacing: 0 !important; }

/* Header bleibt beim Scrollen gleich hoch, Logo behält Startgröße */
.nav.is-scrolled { min-height: 115px; padding-block: 0; }
@media (max-width: 900px) { .nav.is-scrolled { min-height: 76px; } }

/* Durchscheinender Schriftzug exakt wie auf sanostra.de (gleiche Grafik, Größe und Position) */
.nav::before {
  background: url("assets/logo/sanostra-outline.png") no-repeat calc(100% + 70px) -20px / auto 125px;
  opacity: 1;
}
@media (max-width: 900px) {
  .nav::before { background-size: auto 40px; background-position: calc(100% + 20px) -7px; }
}

/* Level-Titel ohne künstlichen Umbruch */
.card__title { max-width: none; }

/* Karten undurchsichtig, damit beim Stapeln nichts durchscheint */
.card { background: linear-gradient(160deg, rgb(20,26,40), rgb(8,10,16)); backdrop-filter: none; }

/* Rechtliche Seiten (Impressum, Datenschutz) */
.legal { padding: 170px 0 100px; }
.legal h2 { font-family: var(--head); font-size: var(--fs-small); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 40px 0 10px; }
.legal h3 { font-family: var(--body); font-size: var(--fs-text); font-weight: 600; margin: 22px 0 6px; }
.legal p { color: #cdd5dd; margin: 0 0 14px; }
.legal a { color: var(--ink); }
