/* ============================================================
   IBK Energie- u. Gebäudetechnik — Relaunch 2026
   Design-System: Off-Black + IBK-Blau, Playfair Display + Inter
   ============================================================ */

:root {
  /* Farben */
  --bg-0: #07090c;
  --bg-1: #0a0e13;
  --bg-2: #0d1219;
  --panel: #101722;
  --line: rgba(150, 190, 220, 0.14);
  --line-strong: rgba(150, 190, 220, 0.28);
  --ink: #eff4f9;
  --ink-dim: #9faebc;
  --ink-faint: #5f6d7b;
  --accent: #6fa8d6;
  --accent-soft: #96bedc;
  --brand-700: #305977;
  --brand-900: #214459;
  --copper: #c98f63;
  --glow: rgba(111, 168, 214, 0.35);

  /* Typo */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg-1);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brand-700); color: #fff; }

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- Typografie ---------- */
.overline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}
.overline .idx { color: var(--copper); margin-right: 0.9em; font-variant-numeric: tabular-nums; }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 700; line-height: 1.08; }

.display {
  font-size: clamp(3.2rem, 9vw, 8rem);
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 18px 0 22px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-dim); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #06121d; transform: translateY(-2px); }
.btn--solid { background: var(--brand-700); border-color: var(--brand-700); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn .arrow { transition: transform 0.35s ease; }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.main-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 8px 2px;
  position: relative;
  transition: color 0.3s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav .btn { padding: 12px 26px; }

.nav-toggle { display: none; z-index: 120; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(7, 9, 12, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .main-nav a { font-size: 16px; }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sektions-Grundlagen ---------- */
.section { position: relative; padding: clamp(90px, 14vh, 160px) 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 7vh, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.hr-line { border: none; height: 1px; background: var(--line); }

/* ---------- Scrub-Stages (Canvas-Sequenzen) ---------- */
.stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-0);
}
.stage canvas,
.stage .stage-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage .stage-poster { display: none; }
.stage .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7, 9, 12, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.55) 0%, transparent 18%, transparent 82%, rgba(7, 9, 12, 0.75) 100%);
}

/* Abdunklung, solange Text eingeblendet ist (JS-gesteuert) */
.stage .dim {
  position: absolute;
  inset: 0;
  background: #06080b;
  opacity: 0;
  pointer-events: none;
}

/* Text-Beats in gepinnten Stages */
.beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
  opacity: 0;
  pointer-events: none;
}
.beat::before,
.hero-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 100vw);
  height: min(560px, 74vh);
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(5, 7, 10, 0.78) 0%,
    rgba(5, 7, 10, 0.5) 45%,
    rgba(5, 7, 10, 0) 74%);
  pointer-events: none;
}
.beat > *, .hero-title > * { position: relative; z-index: 1; }
body.no-scrub .beat::before, body.no-scrub .hero-title::before { display: none; }
.beat .overline { margin-bottom: 18px; }
.beat h3, .beat .beat-big {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  font-weight: 700;
  max-width: 20ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 4px 44px rgba(0, 0, 0, 0.75);
}
.beat p { margin-top: 16px; color: var(--ink-dim); max-width: 52ch; }

/* ---------- Hero ---------- */
.hero-stage .hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
}
.hero-title .overline { margin-bottom: 26px; }
.hero-title .display {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 6px 60px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.04em;
}
.hero-title .display .thin { color: var(--accent-soft); }
.hero-title .sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-hint .tick {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: tickfall 2s ease-in-out infinite;
}
@keyframes tickfall {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Kennzahlen ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-0);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(36px, 5vh, 60px) 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num .suffix { color: var(--copper); }
.stat .label {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stats-grid .stat:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

/* ---------- Gewerke ---------- */
.gewerke-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.gewerk {
  background: var(--bg-1);
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px) clamp(32px, 4vw, 52px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.gewerk:hover { background: var(--panel); }
.gewerk .g-idx {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.gewerk svg {
  width: 44px;
  height: 44px;
  margin: 26px 0 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease, transform 0.4s ease;
}
.gewerk:hover svg { stroke: var(--accent-soft); transform: translateY(-4px); }
.gewerk h3 { font-size: 1.3rem; margin-bottom: 10px; }
.gewerk p { font-size: 0.92rem; color: var(--ink-dim); line-height: 1.6; }
@media (max-width: 1100px) { .gewerke-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gewerke-grid { grid-template-columns: 1fr; } }

/* ---------- Leistungsphasen (horizontale Timeline) ---------- */
.lp-section { background: var(--bg-0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.lp-pin { position: relative; }
.lp-head { padding-top: clamp(80px, 12vh, 130px); }
.lp-track {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(40px, 6vh, 70px) var(--pad) clamp(90px, 14vh, 150px);
  width: max-content;
}
.lp-card {
  width: clamp(280px, 30vw, 380px);
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--bg-1);
  padding: 34px 30px 38px;
  position: relative;
}
.lp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-700), transparent);
}
.lp-card .lp-num {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
}
.lp-card h3 { margin: 18px 0 12px; font-size: 1.25rem; }
.lp-card p { font-size: 0.92rem; color: var(--ink-dim); line-height: 1.65; }

/* ---------- BIM ---------- */
.bim-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.bim-benefits { display: grid; gap: 0; border-top: 1px solid var(--line); }
.bim-benefit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.bim-benefit .b-idx {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--copper);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.bim-benefit h3 { font-size: 1.08rem; font-family: var(--sans); font-weight: 500; margin-bottom: 6px; }
.bim-benefit p { font-size: 0.92rem; color: var(--ink-dim); }

.bim-levels { position: sticky; top: calc(var(--header-h) + 30px); }
.level-stairs { display: grid; gap: 10px; }
.level {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px 22px;
  transform-origin: left center;
}
.level .lvl-d {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 58px;
}
.level .lvl-t { font-size: 0.88rem; color: var(--ink-dim); letter-spacing: 0.04em; }
.level:nth-child(2) { margin-left: 8%; }
.level:nth-child(3) { margin-left: 16%; }
.level:nth-child(4) { margin-left: 24%; }
.level:nth-child(5) { margin-left: 32%; }
.level:last-child { border-color: var(--brand-700); background: rgba(48, 89, 119, 0.18); box-shadow: 0 0 40px rgba(48, 89, 119, 0.25); }

.partner-row {
  margin-top: clamp(60px, 9vh, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 38px;
}
.partner-row .p-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); margin-right: 12px; }
.partner-row .p-badge {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
@media (max-width: 1000px) {
  .bim-grid { grid-template-columns: 1fr; }
  .bim-levels { position: static; }
}

/* ---------- Referenzen ---------- */
.ref-section { background: var(--bg-0); border-top: 1px solid var(--line); }
.ref-list { border-top: 1px solid var(--line); }
.ref-row {
  display: grid;
  grid-template-columns: 64px 1.5fr 1fr 200px;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vh, 32px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.ref-row:hover { background: rgba(48, 89, 119, 0.08); padding-left: 14px; }
.ref-row .r-idx { font-size: 12px; letter-spacing: 0.2em; color: var(--copper); font-variant-numeric: tabular-nums; }
.ref-row h3 { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; }
.ref-row .r-ort { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.85rem; font-weight: 300; color: var(--ink-dim); letter-spacing: 0.06em; }
.ref-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent-soft);
  white-space: nowrap;
}
.lp-bar { display: flex; gap: 3px; align-items: center; }
.lp-bar .seg {
  width: 16px;
  height: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.lp-bar .seg.on { background: var(--brand-700); border-color: var(--accent); box-shadow: 0 0 8px rgba(111, 168, 214, 0.4); }
.lp-bar .lp-label { margin-left: 10px; font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 900px) {
  .ref-row { grid-template-columns: 1fr; gap: 12px; }
  .ref-row .r-idx { display: none; }
}

/* ---------- Zitat ---------- */
.quote-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.quote-section video, .quote-section .quote-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.quote-section .q-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 50%, rgba(7, 9, 12, 0.25), rgba(7, 9, 12, 0.82));
}
.quote-inner { position: relative; text-align: center; max-width: 900px; padding: 120px var(--pad); }
.quote-inner blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 4px 50px rgba(0, 0, 0, 0.8);
}
.quote-inner cite {
  display: block;
  margin-top: 30px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.quote-inner cite span { color: var(--ink-faint); }

/* ---------- Kontakt-CTA ---------- */
.cta-section { text-align: center; background: var(--bg-1); }
.cta-section .display { font-size: clamp(2.4rem, 6vw, 5rem); }
.cta-contacts {
  margin: 44px auto 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 54px;
  color: var(--ink-dim);
  font-size: 1.02rem;
}
.cta-contacts a { color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.3s ease, color 0.3s ease; }
.cta-contacts a:hover { color: var(--accent-soft); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-0); padding: clamp(50px, 8vh, 80px) 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: 50px;
}
.footer-grid .logo img { height: 34px; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { font-size: 0.92rem; color: var(--ink-dim); }
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-Utilities (JS setzt .in) ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 0.72s; }

/* ---------- Fallback: kein Scrubbing ---------- */
body.no-scrub .stage { height: auto; min-height: 0; background: var(--bg-0); }
body.no-scrub .stage canvas { display: none; }
body.no-scrub .stage .vignette { display: none; }
body.no-scrub .stage .stage-poster {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
}
body.no-scrub .beat {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  padding: 44px var(--pad);
}
body.no-scrub .hero-stage { display: block; padding-top: var(--header-h); }
body.no-scrub .hero-stage .hero-title {
  position: relative;
  inset: auto;
  padding: clamp(50px, 9vh, 90px) var(--pad) 30px;
}
body.no-scrub .hero-stage .beat { display: none; }
body.no-scrub .scroll-hint { display: none; }
body.no-scrub .lp-track { width: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-hint .tick { animation: none; }
}

/* ============================================================
   Unterseiten
   ============================================================ */
.subpage-hero {
  padding: calc(var(--header-h) + clamp(70px, 12vh, 130px)) 0 clamp(60px, 9vh, 100px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 85% -20%, rgba(48, 89, 119, 0.28), transparent 60%),
    var(--bg-0);
}
.subpage-hero .display { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.subpage-hero .lead { margin-top: 24px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--bg-1);
  padding: 34px 30px 38px;
  transition: background 0.35s ease;
}
.card:hover { background: var(--panel); }
.card .c-idx { font-size: 11px; letter-spacing: 0.3em; color: var(--copper); font-variant-numeric: tabular-nums; }
.card h3 { margin: 16px 0 10px; font-size: 1.2rem; }
.card p { font-size: 0.93rem; color: var(--ink-dim); }
.card ul { margin-top: 14px; }
.card li {
  font-size: 0.9rem;
  color: var(--ink-dim);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid rgba(150, 190, 220, 0.07);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.prose { max-width: 820px; }
.prose p { margin-bottom: 1.2em; color: var(--ink-dim); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 2em 0 0.7em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose a { color: var(--accent-soft); border-bottom: 1px solid var(--line-strong); }
.prose ul { margin: 0 0 1.2em; }
.prose li { color: var(--ink-dim); padding: 4px 0 4px 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--accent); }

/* Kontakt-Seite */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.contact-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item .c-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.contact-item a, .contact-item p { font-size: 1.15rem; color: var(--ink); }
.contact-item a:hover { color: var(--accent-soft); }
.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  padding: 14px 16px;
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.8rem; color: var(--ink-faint); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
}
