/* webhub.at – direkt gepflegte Quelle ohne Build-Schritt. */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/opensans-normal-latin.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;
}

:root {
  color-scheme: dark;
  --bg: #060818;
  --bg-2: #0a0d26;
  --bg-3: #10143a;
  --panel: rgba(13, 17, 46, .72);
  --panel-solid: #0d112e;
  --line: rgba(150, 160, 255, .16);
  --line-strong: rgba(150, 160, 255, .32);
  --ink: #eef1ff;
  --muted: #a6aed6;
  --violet: #7b6bff;
  --violet-deep: #5a48f0;
  --cyan: #45dcff;
  --green: #3ef0a1;
  --red: #ff5c78;
  --wrap: 1200px;
  --radius: 18px;
  --header-h: 72px;
  --mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 17px/1.65 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 780; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 750; margin-bottom: 18px; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
p { margin-bottom: 16px; }

.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 100;
  padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.eyebrow, .kicker {
  margin-bottom: 14px;
  font: 600 .78rem/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker span {
  display: inline-grid; place-items: center;
  min-width: 2.4em; height: 1.9em; margin-right: .7em; padding: 0 .4em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink);
}
.grad {
  background: linear-gradient(100deg, #9d8cff 0%, var(--cyan) 55%, #8ff5d0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #c9cff0; max-width: 34em; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 650 1rem/1.2 'Open Sans', system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--violet-deep), #3159e6);
  box-shadow: 0 8px 30px -8px rgba(110, 90, 255, .7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(110, 90, 255, .9), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Kopf */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* Kein backdrop-filter: über der laufenden Bühne müsste er jedes Bild neu weichzeichnen. */
.site-header.is-scrolled {
  background: #060818;
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; display: block; }
.brand img { width: 170px; height: 32px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px;
  color: #d4d9f5; font-size: .92rem; font-weight: 600; text-decoration: none;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a[aria-current="true"] { color: #fff; }
.main-nav .nav-cta { margin-left: 8px; border: 1px solid var(--line-strong); color: #fff; }
.main-nav .nav-cta:hover { border-color: var(--cyan); }

.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 .8rem/1 'Open Sans', system-ui, sans-serif; cursor: pointer;
}
.motion-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.motion-icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-icon { border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; width: 0; height: 0; }

/* Die Reise: eine Bühne, sieben Kapitel */
.story { position: relative; }
.stage {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 70% 40%, rgba(80, 60, 220, .22), transparent 60%),
    radial-gradient(900px 600px at 15% 90%, rgba(30, 160, 255, .12), transparent 60%),
    var(--bg);
}
.stage canvas { display: block; width: 100%; height: 100%; }
.chapters { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100lvh; }
.chapter { position: relative; min-height: 165vh; display: flex; flex-direction: column; }
.chapter-hero { min-height: 135vh; }
.chapter .wrap { flex: 1; display: flex; flex-direction: column; }
.card {
  position: sticky; top: 26vh;
  max-width: 460px; padding: 30px 32px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 24, 64, .92), rgba(8, 10, 30, .9));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.card h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.card p { color: #c9cff0; }
.card p:last-child { margin-bottom: 0; }
.chapter-hero .card {
  top: calc(var(--header-h) + 9vh);
  max-width: 720px; padding: 0; border: 0; background: none; box-shadow: none;
}
.chapter-hero .card .lead { max-width: 30em; }
.chapter-hero h1 .rise { display: block; width: fit-content; }
.facts-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; font: 600 .78rem/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); }
.facts-line li { display: inline-flex; align-items: center; gap: 9px; }
.facts-line li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
/* Einmaliger Auftritt des Starttexts; läuft auch bei angehaltener Animation zu Ende, entfällt bei reduzierter Bewegung. */
.js .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .rise:nth-child(2), .js h1 .rise:first-child { animation-delay: .12s; }
.js h1 .grad.rise { animation-delay: .26s; }
.js .lead.rise { animation-delay: .42s; }
.js .actions.rise { animation-delay: .56s; }
.js .facts-line.rise { animation-delay: .7s; }
.motion-paused .rise { animation-play-state: running !important; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font: 600 .8rem/1.6 var(--mono); color: var(--ink);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: calc(35vh + 28px); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  margin: 0; font: 600 .7rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint span {
  width: 22px; height: 36px; border: 2px solid var(--line-strong); border-radius: 12px; position: relative;
}
.scroll-hint span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px;
  border-radius: 2px; background: var(--cyan);
}

/* Kapitel-Leiste */
.story-progress {
  display: none; position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49; height: 2px;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0; transition: opacity .3s ease;
}
.in-story .story-progress { opacity: 1; }
.rail {
  position: fixed; right: 26px; top: 50%; z-index: 40;
  transform: translateY(-50%);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.in-story .rail { opacity: 1; visibility: visible; }
.rail ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  min-height: 30px; color: var(--muted); text-decoration: none;
  font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .25s ease, transform .25s ease; }
.rail a::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); transition: all .25s ease;
}
.rail a:hover span, .rail a:focus-visible span, .rail a[aria-current="step"] span { opacity: 1; transform: none; }
.rail a[aria-current="step"] { color: var(--ink); }
.rail a[aria-current="step"]::after { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* Abschnitte nach der Reise */
.section { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-top: 1px solid var(--line); }

.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.tile {
  position: relative; overflow: hidden;
  min-height: 250px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(25, 30, 80, .55), rgba(10, 12, 34, .9));
  transition: border-color .3s ease, transform .3s ease;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.tile-wide { grid-column: span 2; }
.tile-art { position: absolute; inset: 0 0 auto auto; width: 180px; height: 140px; pointer-events: none; }
.tile-art::before, .tile-art::after { content: ''; position: absolute; }

/* Anker-Kacheln greifen die Motive der Reise auf: Österreich-Karte und Wabenkuppel */
.tile-at { min-height: 330px; }
.tile-at .tile-art { width: 100%; height: 100%; inset: 0; background: radial-gradient(circle at 74% 38%, rgba(69, 220, 255, .14), transparent 45%); }
.tile-at .map-wrap { position: absolute; right: 36px; top: 26px; width: min(340px, 44%); aspect-ratio: 300 / 152; }
.map-wrap img { display: block; width: 100%; height: 100%; }
.tile-at .pin { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.tile-at .pin-linz { left: 62.4%; top: 27.4%; }
.tile-at .pin-steyr { left: 64.1%; top: 37.5%; width: 9px; height: 9px; margin: -4.5px; }
.tile-at .pin::before, .tile-at .pin::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(69, 220, 255, .55);
  animation: ping 2.8s ease-out infinite;
}
.tile-at .pin::after { animation-delay: 1.4s; }
.tile-at .pin-steyr::before { animation-delay: .7s; }
.tile-at .pin-steyr::after { animation-delay: 2.1s; }
.tile-shield .tile-art { width: 210px; height: 140px; right: 10px; top: 14px; }
.mini-dome { width: 100%; height: 100%; color: rgba(69, 220, 255, .35); }
.md-rim { fill: none; stroke: rgba(69, 220, 255, .8); stroke-width: 1.5; }
.md-base { fill: rgba(69, 220, 255, .08); stroke: rgba(69, 220, 255, .6); stroke-width: 1.2; }
.md-rack { fill: #1d1a58; stroke: rgba(123, 107, 255, .9); }
.md-hit { fill: var(--red); filter: drop-shadow(0 0 6px var(--red)); animation: hit 3s ease-in-out infinite; }
@keyframes hit { 0%, 100% { opacity: 0; transform: translate(-30px, -14px); } 50% { opacity: 1; transform: none; } 60% { opacity: 0; transform: scale(1.8); } }
.tile-fw .tile-art { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(150, 160, 255, .14) 18px 20px); mask-image: linear-gradient(200deg, #000 20%, transparent 70%); -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 70%); }
.tile-fw .tile-art::before { right: 30px; top: 40px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, var(--red) 0 5px, transparent 6px); animation: blocked 3.2s ease-in-out infinite; }
.tile-backup .tile-art::before, .tile-backup .tile-art::after {
  right: 34px; top: 30px; width: 70px; height: 22px; border-radius: 50%;
  border: 2px solid var(--cyan); box-shadow: 0 16px 0 -2px var(--bg-3), 0 16px 0 0 var(--cyan), 0 32px 0 -2px var(--bg-3), 0 32px 0 0 var(--cyan);
}
.tile-backup .tile-art::after { right: 74px; top: 58px; border-color: var(--violet); box-shadow: 0 16px 0 -2px var(--bg-3), 0 16px 0 0 var(--violet); opacity: .8; }
.tile-ssl .tile-art::before { right: 40px; top: 52px; width: 50px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, var(--green), #1aa86c); }
.tile-ssl .tile-art::after { right: 50px; top: 28px; width: 30px; height: 34px; border: 5px solid var(--green); border-bottom: 0; border-radius: 16px 16px 0 0; }
.tile-stack .tile-art::before {
  right: 34px; top: 26px; width: 84px; height: 16px; border-radius: 5px;
  background: rgba(123, 107, 255, .55);
  box-shadow: 0 22px 0 rgba(123, 107, 255, .38), 0 44px 0 rgba(69, 220, 255, .4);
}
.tile-stack .tile-art::after { right: 44px; top: 32px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 22px 0 var(--green), 0 44px 0 var(--cyan); }
.tile-people .tile-art::before { right: 60px; top: 34px; width: 120px; height: 46px; border-radius: 22px 22px 22px 6px; background: rgba(123, 107, 255, .32); }
.tile-people .tile-art::after { right: 30px; top: 70px; width: 96px; height: 40px; border-radius: 20px 20px 6px 20px; background: rgba(69, 220, 255, .28); }
.md-hit { transform-box: fill-box; transform-origin: center; }

@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@keyframes blocked { 0%, 100% { transform: translateX(-120px); opacity: 0; } 45% { transform: translateX(0); opacity: 1; } 55% { transform: translateX(0) scale(1.6); opacity: 0; } }

/* Kunden */
.clients { background: var(--bg-2); padding-bottom: clamp(70px, 9vw, 120px); }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos { display: flex; gap: 18px; width: max-content; margin: 0; padding: 6px 0; list-style: none; }
.logos li {
  flex: none; width: 190px; height: 112px; padding: 14px 20px;
  display: grid; place-items: center;
  border-radius: 16px; background: #f4f5fb;
}
.logos img { width: 100%; height: 100%; object-fit: contain; }
.marquee.is-running .logos { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee.is-running:hover .logos, .marquee.is-running:focus-within .logos, .motion-paused .marquee .logos { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* Kontakt */
.contact { background: radial-gradient(900px 600px at 80% 20%, rgba(90, 72, 240, .18), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.steps { counter-reset: s; margin: 34px 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--muted); }
.steps li::before {
  content: '0' counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font: 600 .75rem/1 var(--mono); color: var(--cyan);
}
.steps strong { display: block; color: var(--ink); }
.direct { font-weight: 600; overflow-wrap: anywhere; }

.composer {
  padding: 30px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(160deg, rgba(25, 30, 80, .65), rgba(10, 12, 34, .92));
  box-shadow: 0 40px 100px -40px rgba(60, 40, 200, .55);
}
.composer fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.composer legend, .field-label { display: block; margin-bottom: 10px; font-weight: 700; }
.opt { font-weight: 400; font-size: .85rem; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .92rem; color: #d4d9f5; transition: all .2s ease;
}
.choices input:hover + span { border-color: var(--cyan); }
.choices input:checked + span { background: rgba(69, 220, 255, .14); border-color: var(--cyan); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.field { display: block; margin-bottom: 18px; }
.field textarea {
  width: 100%; padding: 14px 16px; resize: vertical;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(3, 5, 18, .6); color: var(--ink);
  font: inherit; font-size: .98rem;
}
.field textarea::placeholder { color: #7e86b3; }
.field textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(69, 220, 255, .25); }
.preview { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(3, 5, 18, .6); border: 1px dashed var(--line-strong); }
.preview-head { margin: 0; font: .85rem/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.preview-head + .preview-head { margin-top: 4px; }
.preview-head span { display: inline-block; min-width: 4.6em; color: var(--muted); }
.preview-body { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); max-height: 10em; overflow: auto; font: .8rem/1.6 var(--mono); color: #c9cff0; white-space: pre-wrap; }
.composer-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); background: #04050f; padding: 48px 0 40px; color: var(--muted); font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-brand img { margin-bottom: 14px; }
.footer-brand p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { text-decoration: underline; color: #fff; }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }

/* Rechtsseiten */
.page-legal { background: var(--bg); }
.page-legal .site-header { background: rgba(6, 8, 24, .85); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal-nav { margin-left: auto; }
.legal-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-nav a::before { content: '←'; margin-right: 8px; color: var(--cyan); }
.legal { padding: calc(var(--header-h) + 64px) 0 100px; background: radial-gradient(800px 500px at 85% 0%, rgba(90, 72, 240, .16), transparent 60%); }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.45rem; margin: 0 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: #c9cff0; }
.legal-block { padding: 28px 0; border-top: 1px solid var(--line); }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.page-404 .legal { min-height: 70vh; display: grid; align-content: center; }

/* Responsiv */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; }
  .main-nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .brand img { width: 140px; height: auto; }
  .header-inner { gap: 10px; }
  .main-nav .nav-cta { margin-left: 0; padding: 0 14px; white-space: nowrap; font-size: .85rem; }
  .motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .motion-toggle { width: 44px; justify-content: center; padding: 0; }
  .chapter { min-height: 150vh; }
  .chapter .wrap { justify-content: flex-end; padding-bottom: 18px; }
  .card { position: sticky; top: auto; bottom: 16px; max-width: none; padding: 22px 22px 20px; }
  .card h2 { font-size: 1.6rem; }
  .card p { font-size: .96rem; }
  .chapter-hero { min-height: 125vh; }
  .chapter-hero .wrap { justify-content: flex-start; }
  .chapter-hero .card { position: relative; top: auto; bottom: auto; padding-top: calc(var(--header-h) + 28px); }
  .scroll-hint { display: none; }
  /* Mobil: statt Kapitelpunkten ein schmaler Fortschrittsbalken unter dem Kopf */
  .rail { display: none; }
  .story-progress { display: block; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { min-height: 0; padding-top: 104px; }
  .tile-at, .tile-shield { padding-top: 150px; }
  .tile:not(.tile-at):not(.tile-shield) .tile-art { transform: scale(.72); transform-origin: 100% 0; }
  .composer-actions { grid-template-columns: 1fr; }
  .tile-at .map-wrap { width: 72%; right: 18px; top: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .composer { padding: 22px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .logos li { width: 150px; height: 92px; }
}
@media (max-width: 380px) {
  .brand img { width: 108px; }
  .header-inner { gap: 6px; }
  .main-nav .nav-cta { padding: 0 10px; font-size: .78rem; }
  .motion-toggle { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
