/* OpenWater Rechenzentren Landingpage
   Layout: dunkle Hero-Bühne mit Datenwelle, darunter helle Inhaltskarten im OpenWater CI,
   ein dunkles Infrastruktur-Kapitel als Kontrast, Abschluss mit CTA und Footer.
   Tokens entsprechen dem OpenWater Design System (gleiche Namen). */

/* ---------- Fonts (lokal, kein Google Fonts Request) ---------- */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Farbe */
  --teal: #1d9cb7;          /* CI Primärfarbe, Headlines, Flächen */
  --teal-ink: #137489;      /* Teal für kleine Schrift und Links auf Hell (AA) */
  --teal-strong: #137489;   /* Buttonfläche mit weißer Schrift (AA) */
  --teal-light: #5bc0db;    /* helles Logo-Blau, Akzente auf Nacht */
  --blue-deep: #24508f;     /* tiefes Logo-Blau, Verläufe, Diagramme */
  --night: #050c18;         /* Hero-Grund */
  --night-2: #0b1a2c;       /* dunkle Sektionen */
  --mist: #f0f8fa;          /* helle Sektion */
  --mist-strong: #d2ecf1;   /* Pill-Grund (Teal 20 %) */
  --surface: #ffffff;
  --ink: #0d1117;
  --ink-muted: #4a5866;
  --line: #cfe3e8;
  --on-night: #ffffff;
  --on-night-muted: #a9bbc9;

  /* Typo */
  --font-sans: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;  /* Display, Headlines, Labels, Buttons */
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;                                  /* Fließtext */

  /* Abstand */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 60px -28px rgba(5, 12, 24, 0.28);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Nacht-Kontext: gleiche Komponenten auf dunklem Grund */
.on-night {
  --surface: var(--night-2);
  --ink: var(--on-night);
  --ink-muted: var(--on-night-muted);
  --line: rgba(91, 192, 219, 0.24);
  --mist: #0f2338;
  --mist-strong: rgba(29, 156, 183, 0.22);
  --teal-ink: var(--teal-light);
  color: var(--ink);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
p { margin: 0; }
h1, h2, h3, h4, .t-display, .t-h2, .t-h3, .t-lead, .eyebrow, .chip, .timeline__label, .node, .map__center, .stat__num, .faq summary, .overlap-card__quote, .format, .step__num, .nav__links a, .footer-col h2, .footer-bottom { font-family: var(--font-sans); }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--surface); color: var(--ink); border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, var(--space-6)); }
.section--mist { background: var(--mist); }
.section--night { background: var(--night-2); }

/* ---------- Typo-Stile ---------- */
.t-display { font-size: clamp(42px, 6.4vw, 84px); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; }
.t-h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 300; line-height: 1.12; color: var(--teal); }
.on-night .t-h2 { color: var(--on-night); }
.t-h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.2; }
.t-lead { font-size: clamp(19px, 1.9vw, 23px); font-weight: 300; line-height: 1.5; }
.t-body { font-size: 18px; line-height: 1.6; }
.t-small { font-size: 15px; line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.muted { color: var(--ink-muted); }
.measure { max-width: 64ch; }
.stack { display: grid; gap: var(--space-3); }
.stack-sm { display: grid; gap: var(--space-2); }

.section-head { display: grid; gap: var(--space-2); max-width: 820px; margin-bottom: clamp(40px, 5vw, var(--space-5)); }
.section-head .t-lead { color: var(--ink-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(5, 12, 24, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(91, 192, 219, 0.16);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); height: 88px; }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }
.brand__fallback { color: #fff; font-weight: 600; letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav__links { display: flex; gap: 22px; list-style: none; }
.nav__links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 16px; font-weight: 400; letter-spacing: .02em; }
.nav__links a:hover { color: #fff; }

.menu-toggle {
  display: none; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: #e2e4e6; color: #111; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 26px 6px 6px; border-radius: var(--radius-pill);
  background: var(--mist-strong); color: var(--ink);
  font: 500 15px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn__icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--teal); color: #fff;
  transition: transform .3s var(--ease);
}
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover { background: var(--teal-strong); color: #fff; }
.btn:hover .btn__icon { transform: translateX(3px); background: rgba(255,255,255,.18); }
.btn--solid { background: var(--teal-strong); color: #fff; }
.btn--solid .btn__icon { background: rgba(255,255,255,.16); }
.btn--solid:hover { background: #fff; color: var(--night); }
.btn--solid:hover .btn__icon { background: var(--teal); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(91,192,219,.4); }
.btn--ghost .btn__icon { background: transparent; box-shadow: inset 0 0 0 1px rgba(91,192,219,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--sm { padding: 4px 18px 4px 4px; font-size: 13px; gap: 10px; }
.btn--sm .btn__icon { width: 36px; height: 36px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-night);
  padding-top: calc(140px + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(150px, 16vw, 220px);
}
.hero__image {
  position: absolute; inset: 0; z-index: -3;
  background-image: var(--hero-image, none);
  background-size: cover; background-position: center 40%;
  opacity: .42;
}
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(29,156,183,.20), transparent 70%),
    linear-gradient(180deg, rgba(5,12,24,.55) 0%, rgba(5,12,24,.15) 40%, rgba(5,12,24,.85) 100%);
}
.hero__frame {
  position: relative; max-width: 860px;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(11,26,44,.55), rgba(5,12,24,.15));
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
/* dünner Teal-Rahmen, der nach rechts unten ausläuft, wie im CI */
.hero__frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(91,192,219,.9), rgba(91,192,219,.25) 45%, rgba(91,192,219,0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero .eyebrow { color: var(--teal-light); }
.hero h1 { margin-top: 18px; }
.hero__sub { margin-top: 22px; max-width: 44ch; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; list-style: none;
  color: var(--on-night-muted); font-size: 15px; letter-spacing: .04em;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 12px var(--teal-light); }

/* ---------- Hero mit Standortskizze ---------- */
.hero--plan { padding-top: calc(150px + env(safe-area-inset-top, 0px)); }
/* feines Planraster wie auf einem Lageplan */
.hero--plan::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,192,219,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,192,219,.07) 1px, transparent 1px),
    linear-gradient(rgba(91,192,219,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,192,219,.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
}
.hero--plan::after { background: linear-gradient(180deg, rgba(5,12,24,0) 60%, rgba(5,12,24,.9) 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .t-display { margin-top: 20px; font-size: clamp(44px, 6vw, 88px); }
.hero__copy .hero__sub { max-width: 30ch; }
.hero__actions { align-items: center; }
.hero__link { color: #fff; font-family: var(--font-sans); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.hero__link:hover { color: var(--teal-light); }

.plan { margin: 0; color: var(--on-night-muted); }
.plan__svg { width: 100%; height: auto; overflow: visible; }
.plan__parcel { fill: rgba(91,192,219,.04); stroke: rgba(91,192,219,.55); stroke-width: 1.2; stroke-dasharray: 8 6; }
.plan__dc rect { fill: rgba(29,156,183,.16); stroke: var(--teal-light); stroke-width: 1.5; }
.plan__racks { stroke: rgba(91,192,219,.45); stroke-width: 1; }
.plan__dc-label { fill: #fff; font: 400 17px var(--font-sans); letter-spacing: .02em; paint-order: stroke; stroke: #0b2236; stroke-width: 8px; stroke-linejoin: round; }
.plan__name { fill: #fff; font: 400 14px var(--font-sans); }
.plan__tag { fill: var(--teal-light); font: 500 10.5px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.plan__node circle { fill: var(--night); stroke: var(--teal-light); stroke-width: 2; }
.plan__node--heat rect { fill: rgba(255,255,255,.06); stroke: rgba(91,192,219,.7); stroke-width: 1.2; }
.plan__north path { fill: rgba(255,255,255,.7); }
.plan__north text { fill: rgba(255,255,255,.7); font: 500 11px var(--font-sans); letter-spacing: .1em; }
.ln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ln--energy { stroke: #fff; stroke-width: 1.6; opacity: .85; }
.ln--water { stroke: var(--teal-light); stroke-width: 1.6; stroke-dasharray: 7 5; }
.ln--sewer { stroke: #6f8fb3; stroke-width: 1.6; stroke-dasharray: 2 5; }
.ln--heat-base { stroke: rgba(29,156,183,.3); stroke-width: 5; }
.ln--heat { stroke: url(#planHeat); stroke-width: 2.4; stroke-dasharray: 10 12; animation: flow 2.4s linear infinite; }

.plan__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(91,192,219,.18); font: 500 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.plan__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 22px; height: 0; border-top: 2px solid; }
.lg--energy { border-color: #fff; }
.lg--water { border-color: var(--teal-light); border-top-style: dashed; }
.lg--sewer { border-color: #6f8fb3; border-top-style: dotted; }
.lg--heat { border-color: var(--teal); border-top-width: 3px; }
.plan__note { margin-left: auto; color: rgba(169,187,201,.7); letter-spacing: .08em; }

/* Aufbau beim Laden: Planelemente erscheinen nacheinander */
.plan__parcel, .plan__dc, .plan__node, .plan__lines, .plan__tag { animation: planIn .9s var(--ease) both; }
.plan__parcel { animation-delay: .05s; }
.plan__dc { animation-delay: .15s; }
.plan__lines { animation-delay: .45s; }
.plan__node { animation-delay: calc(.5s + var(--d, 0s)); }
@keyframes planIn { from { opacity: 0; } to { opacity: 1; } }
.ln--heat { animation: flow 2.4s linear infinite; }

.hero__ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 40px); margin: clamp(48px, 6vw, 80px) 0 0; }
.hero__ledger div { padding-top: 16px; border-top: 1px solid rgba(91,192,219,.28); }
.hero__ledger dt { font: 500 13px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.hero__ledger dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--on-night-muted); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .plan { max-width: 560px; }
  .hero__ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 480px) {
  .plan__note { margin-left: 0; }
  .plan__name { font-size: 20px; }
  .plan__tag { font-size: 14px; }
  .plan__dc-label { font-size: 22px; }
}

/* ---------- Intro-Karte, überlappt den Hero ---------- */
.intro { position: relative; z-index: 2; margin-top: clamp(-150px, -12vw, -96px); }
.overlap-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 72px);
  box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
}
.overlap-card__quote { align-self: start; font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; line-height: 1.18; color: var(--teal); text-wrap: balance; }
.overlap-card__text { display: grid; gap: 18px; color: var(--ink); }
.overlap-card__text p:last-child { font-weight: 500; }

/* ---------- Zeitachse: Projekterfolg vor dem Antrag ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.questions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--mist); color: var(--ink); font-size: 16px; line-height: 1.3;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chip::before { content: "?"; font-weight: 600; color: var(--teal-ink); }
.chip--plain::before { content: none; }

.timeline { margin-top: var(--space-5); }
.timeline__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; padding-top: 72px; }
.timeline__track::before { content: ""; position: absolute; left: 0; right: 0; top: 95px; height: 2px; background: var(--line); }
.timeline__band {
  position: absolute; top: 0; left: 0; width: 50%;
  display: flex; flex-direction: column; gap: 10px;
}
.timeline__band span { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.timeline__band::after {
  content: ""; height: 12px; border: 2px solid var(--teal); border-bottom: 0; border-radius: 10px 10px 0 0;
}
.timeline__fill { position: absolute; left: 0; top: 95px; height: 2px; width: 50%; background: linear-gradient(90deg, var(--teal-light), var(--teal)); transform-origin: left; }
.timeline__step { position: relative; display: grid; align-content: start; gap: 8px; padding-right: 12px; }
.timeline__dot { width: 14px; height: 14px; margin-top: 16px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.timeline__step.is-early .timeline__dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(29,156,183,.16); }
.timeline__step.is-gate .timeline__dot { background: var(--surface); box-shadow: inset 0 0 0 3px var(--blue-deep); }
.timeline__label { font-size: 17px; line-height: 1.3; font-weight: 500; }
.timeline__note { font-size: 14px; line-height: 1.4; color: var(--ink-muted); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; list-style: none; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mist-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23137489' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.panel { background: var(--surface); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { margin-bottom: 22px; }
.panel .checklist { grid-template-columns: minmax(0, 1fr); gap: 14px; }

/* ---------- Stakeholderlandkarte ---------- */
.stakeholder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sector-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sector-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 16px; border-radius: var(--radius-pill); border: 0;
  background: var(--surface); color: var(--ink); font: 500 15px/1.2 var(--font-sans);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s;
}
.sector-btn i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.sector-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c); background: var(--surface); }
.sector-a { --c: var(--teal); }
.sector-b { --c: var(--blue-deep); }
.sector-c { --c: var(--teal-light); }

.map { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / 1; margin-inline: auto; }
.map__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__rings .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.map__rings .ring--dash { stroke-dasharray: 2 6; }
.map__rings .arc { fill: none; stroke-width: 10; stroke-linecap: round; opacity: .9; transition: opacity .3s, stroke-width .3s; }
.map__rings .arc-a { stroke: var(--teal); }
.map__rings .arc-b { stroke: var(--blue-deep); }
.map__rings .arc-c { stroke: var(--teal-light); }
.map__rings .spoke { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; transition: stroke .3s; }
.map__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 8px;
  background: radial-gradient(circle at 35% 30%, #12304c, var(--night));
  color: #fff; box-shadow: 0 0 0 10px rgba(29,156,183,.12), 0 20px 40px -18px rgba(5,12,24,.6);
}
.map__center strong { display: block; font-weight: 400; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.15; }
.map__center small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); }
.map__center::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(91,192,219,.35); animation: pulse 4.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

.map__nodes { list-style: none; }
.node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: clamp(120px, 15vw, 152px);
  display: grid; justify-items: center; gap: 6px; text-align: center;
  font-size: 14px; line-height: 1.25; color: var(--ink);
  transition: opacity .3s, transform .3s var(--ease);
}
.node__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line); }
.node__label { background: var(--surface); padding: 6px 10px; border-radius: 10px; box-shadow: 0 6px 18px -10px rgba(5,12,24,.35); }
.map.is-filtered .node { opacity: .28; }
.map.is-filtered .node.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
.map.is-filtered .arc { opacity: .2; }
.map.is-filtered .arc.is-active { opacity: 1; stroke-width: 14; }

.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin-top: var(--space-4); }
.format {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 18px; border-radius: 18px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 16.5px; line-height: 1.35;
}
.format svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 1px; }

.subhead { display: grid; gap: 14px; max-width: 760px; margin-top: clamp(56px, 7vw, 96px); }

/* ---------- Mehrwerte ---------- */
.values { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.value {
  grid-column: span 2; position: relative; overflow: hidden;
  display: grid; align-content: start; gap: 14px;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-md);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--teal), var(--shadow-card); }
.value--wide { grid-column: span 3; }
.value__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--teal); }
.value__icon svg { width: 28px; height: 28px; }
.value p { color: var(--ink-muted); }
.value--feature { grid-column: span 3; grid-row: span 2; background: var(--night-2); color: var(--on-night); box-shadow: none; }
.value--feature p { color: var(--on-night-muted); }
.value--feature .value__icon { background: rgba(29,156,183,.18); color: var(--teal-light); }
.heatflow { margin-top: 12px; width: 100%; height: auto; }
.heatflow .pipe { fill: none; stroke: rgba(91,192,219,.22); stroke-width: 6; stroke-linecap: round; }
.heatflow .flow { fill: none; stroke: url(#heatGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 14; animation: flow 2.4s linear infinite; }
.heatflow .bldg { fill: rgba(255,255,255,.06); stroke: rgba(91,192,219,.55); stroke-width: 1.2; }
.heatflow .dc { fill: rgba(29,156,183,.2); stroke: var(--teal-light); stroke-width: 1.2; }
.heatflow .rack { fill: var(--teal-light); opacity: .75; }
.heatflow text { fill: var(--on-night-muted); font: 500 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
@keyframes flow { to { stroke-dashoffset: -48; } }

/* ---------- Integriertes Infrastrukturmanagement (Nacht) ---------- */
.infra-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; background: rgba(91,192,219,.18); border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(91,192,219,.18); }
.field { background: var(--night-2); padding: clamp(22px, 2.4vw, 32px); display: grid; align-content: start; gap: 12px; min-height: 220px; transition: background .3s; }
.field:hover { background: #0f2338; }
.field svg { width: 30px; height: 30px; color: var(--teal-light); }
.field h3 { font-size: 24px; font-weight: 400; }
.field p { font-size: 16px; line-height: 1.5; color: var(--on-night-muted); }

/* ---------- Vorgehensmodell ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); list-style: none; counter-reset: step; }
.steps__line { position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-light), var(--teal), var(--blue-deep)); transform: scaleX(var(--progress, 1)); transform-origin: left; transition: transform 1.4s var(--ease); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--teal); font-size: 24px; font-weight: 400;
  box-shadow: inset 0 0 0 2px var(--teal); position: relative; z-index: 1;
}
.step h3 { font-size: 23px; font-weight: 400; line-height: 1.22; }
.step p { font-size: 16.5px; color: var(--ink-muted); }

/* ---------- Investoren ---------- */
.investor { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stat { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin-inline: auto; }
.stat svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat .track { fill: none; stroke: var(--mist-strong); stroke-width: 16; }
.stat .value-arc { fill: none; stroke: url(#statGrad); stroke-width: 16; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); }
.stat__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; }
.stat__num { font-size: clamp(64px, 9vw, 104px); font-weight: 300; line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums; }
.stat__cap { font-size: 15px; line-height: 1.35; color: var(--ink-muted); max-width: 22ch; margin-inline: auto; }
.source { font-size: 14px; color: var(--ink-muted); }

/* ---------- Leistungsversprechen / CTA ---------- */
.promise {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--night); color: var(--on-night);
  padding: clamp(36px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: end;
}
.promise__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .75; }
.promise::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5,12,24,.92) 0%, rgba(5,12,24,.6) 55%, rgba(5,12,24,.1) 100%); }
.promise h2 { font-size: clamp(30px, 3.8vw, 48px); color: #fff; }
.promise p { color: rgba(255,255,255,.82); margin-top: 20px; }
.promise__cta { display: grid; gap: 16px; justify-items: start; }
.promise__cta small { color: var(--on-night-muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--teal); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; font-size: 20px; font-weight: 400; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23137489' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--ink-muted); max-width: 68ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-block: 72px 40px; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-col h2 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col address { font-style: normal; line-height: 1.55; }
.footer-col address + address { margin-top: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(91,192,219,.16); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom ul { display: flex; gap: 28px; list-style: none; }

/* ---------- Reveal-Animation (nur mit JS, nur unterhalb des Viewports) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .06s; }
.js .reveal[data-delay="2"] { transition-delay: .12s; }
.js .reveal[data-delay="3"] { transition-delay: .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .menu-open .nav__links {
    display: grid; gap: 4px; position: fixed; left: 16px; right: 16px; top: calc(84px + env(safe-area-inset-top, 0px));
    padding: 18px; border-radius: var(--radius-md); background: rgba(5,12,24,.96);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(91,192,219,.2);
  }
  .menu-open .nav__links a { display: block; padding: 12px 10px; font-size: 22px; font-weight: 300; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* Zeitachse vertikal */
  .timeline__track { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 34px; gap: 18px; }
  .timeline__track::before, .timeline__fill { display: none; }
  /* Linie als Segmente von Punkt zu Punkt, damit sie bei jedem Zeilenumbruch passt */
  .timeline__step::before { content: ""; position: absolute; left: -28px; top: 9px; width: 2px; height: calc(100% + 18px); background: var(--line); }
  .timeline__step:last-child::before { display: none; }
  .timeline__step.is-early::before { background: linear-gradient(180deg, var(--teal-light), var(--teal)); }
  .timeline__band { position: static; width: auto; margin: 0 0 10px -34px; display: block; }
  .timeline__band span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--mist-strong); }
  .timeline__band::after { display: none; }
  .timeline__step { padding-right: 0; }
  .timeline__dot { position: absolute; left: -34px; top: 2px; margin: 0; }

  .overlap-card, .split, .stakeholder, .infra-intro, .investor, .faq, .promise { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value, .value--wide, .value--feature { grid-column: span 2; grid-row: auto; }
  .value--half { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps__line { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .brand img { height: 46px; }
  .site-header__inner { height: 76px; }
  .hero { padding-top: calc(118px + env(safe-area-inset-top, 0px)); }
  .hero__frame { padding: 24px 20px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .formats { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, .value--half, .value--wide, .value--feature { grid-column: auto; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .field { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  /* Stakeholderlandkarte wird zur gruppierten Liste */
  .map { aspect-ratio: auto; max-width: none; }
  .map__rings { display: none; }
  .map__center { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: var(--radius-md); padding: 18px; margin-bottom: 14px; }
  .map__center::after { display: none; }
  .map__nodes { display: grid; gap: 8px; }
  .node { position: static; transform: none; width: auto; grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 12px; align-items: center; }
  .map.is-filtered .node.is-active { transform: none; }
  .node__dot { box-shadow: none; }
  .node__label { box-shadow: none; padding: 0; background: transparent; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__canvas, .promise__canvas { display: none; }
  .hero { background: #fff; color: #000; padding: 24px 0; }
}

/* ---------- Hero v2: Varianten Karte, Serverraum, Campus ---------- */
.hero--v2 { padding-top: calc(150px + env(safe-area-inset-top, 0px)); }
.hero--v2::after { background: linear-gradient(180deg, rgba(5,12,24,0) 55%, rgba(5,12,24,.92) 100%); }
.hero--v2 .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero--v2 .t-display { font-size: clamp(46px, 6.4vw, 92px); }
.hero--v2 .hero__sub { max-width: 32ch; margin-top: 26px; }
.hero--v2 .hero__actions { margin-top: 40px; }

/* Karte */
.hv-map { position: relative; width: 100%; max-width: 540px; margin-left: auto; }
.hv-map canvas { display: block; width: 100%; aspect-ratio: 560 / 600; }
.hv-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font: 500 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.hv-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hv-legend .k-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(91,192,219,.35); }
.hv-legend .k-ow { width: 9px; height: 9px; background: var(--teal); outline: 1.5px solid #fff; transform: rotate(45deg); }

/* Serverraum (vollflächig) */
.hero--racks { min-height: min(900px, 100vh); min-height: min(900px, 100svh); }
.hero--racks .hv-racks { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero--racks::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5,12,24,.95) 0%, rgba(5,12,24,.7) 34%, rgba(5,12,24,0) 58%), linear-gradient(180deg, rgba(5,12,24,0) 55%, rgba(5,12,24,.95) 85%); }
.hero--racks .hero__inner { grid-template-columns: minmax(0, 1fr); }
.hero--racks .hero__copy { max-width: 640px; }

/* Campus (isometrisch) */
.iso { width: 100%; height: auto; overflow: visible; }
.iso .f-t, .iso .f-l, .iso .f-r { stroke: rgba(91,192,219,.45); stroke-width: .8; stroke-linejoin: round; }
.iso .f-t { fill: #14365a; } .iso .f-l { fill: #0a1e33; } .iso .f-r { fill: #0e2943; }
.iso .hall.f-t { fill: #173d63; }
.iso .chiller.f-t { fill: #1b4770; } .iso .chiller.f-l { fill: #0f2a45; } .iso .chiller.f-r { fill: #123352; }
.iso .house.f-t { fill: rgba(255,255,255,.14); } .iso .house.f-l { fill: rgba(255,255,255,.05); } .iso .house.f-r { fill: rgba(255,255,255,.09); }
.iso .house { stroke: rgba(255,255,255,.35); }
.iso .fan { fill: rgba(5,12,24,.6); stroke: rgba(91,192,219,.8); stroke-width: .8; }
.iso .parcel { fill: rgba(91,192,219,.05); stroke: rgba(91,192,219,.45); stroke-width: 1; stroke-dasharray: 6 5; }
.iso .pipe { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.iso .pipe--energy { stroke: rgba(255,255,255,.8); stroke-width: 1.4; }
.iso .pipe--water { stroke: var(--teal-light); stroke-width: 1.6; stroke-dasharray: 6 5; }
.iso .pipe--heat-base { stroke: rgba(29,156,183,.35); stroke-width: 6; }
.iso .pipe--heat { stroke: var(--teal-light); stroke-width: 2.2; stroke-dasharray: 9 11; animation: flow 2.4s linear infinite; }
.iso .mast { stroke: rgba(255,255,255,.6); stroke-width: 1.2; fill: none; }
.iso .wire { stroke: rgba(255,255,255,.3); stroke-width: 1; fill: none; }
.iso .led { stroke: var(--teal-light); stroke-width: 2.4; stroke-linecap: round; fill: none; animation: ledBlink 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
.iso .slit { stroke: rgba(91,192,219,.55); stroke-width: 2; fill: none; }
.iso .tank { fill: #0e2943; stroke: rgba(91,192,219,.5); stroke-width: .8; }
.iso .tank-top { fill: #14365a; stroke: rgba(91,192,219,.5); stroke-width: .8; }
.iso .lead { stroke: rgba(255,255,255,.35); stroke-width: 1; }
.iso .lead-dot { fill: var(--teal-light); }
.iso .iso-tag { fill: var(--teal-light); font: 500 10.5px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.iso .iso-name { fill: #fff; font: 400 14px var(--font-sans); }
@keyframes ledBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Fragen-Leiste unter dem Hero */
.ledger2 { margin-top: clamp(56px, 7vw, 96px); }
.ledger2__label { font: 500 13px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 18px; }
.ledger2 ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(91,192,219,.18); border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(91,192,219,.18); }
.ledger2 li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 22px 22px 24px; background: rgba(8,20,36,.92); transition: background .3s; }
.ledger2 li:hover { background: rgba(14,35,56,.95); }
.ledger2 svg { grid-row: span 2; width: 38px; height: 38px; padding: 8px; border-radius: 50%; color: var(--teal-light); box-shadow: inset 0 0 0 1px rgba(91,192,219,.45); }
.ledger2 .k { font: 500 12.5px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); padding-top: 2px; }
.ledger2 .q { font: 300 20px/1.3 var(--font-sans); color: #fff; }

@media (max-width: 960px) {
  .hero--v2 .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hv-map { margin: 0 auto; max-width: 460px; }
  .ledger2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--racks::before { background: linear-gradient(180deg, rgba(5,12,24,.55) 0%, rgba(5,12,24,.85) 55%, rgba(5,12,24,.95) 100%); }
}
@media (max-width: 560px) {
  .ledger2 ul { grid-template-columns: minmax(0, 1fr); }
  .iso .iso-name { font-size: 18px; } .iso .iso-tag { font-size: 13px; }
}
@media (max-width: 960px) { .hv-iso { padding-top: 48px; } }

/* Campus: Aufbau und Bewegung */
.iso .iso-in { animation: isoIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
.iso .iso-rise { animation-name: isoRise; }
@keyframes isoIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes isoRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.iso .blades path { stroke: var(--teal-light); stroke-width: 1.1; stroke-linecap: round; fill: none; }
.iso .pulse { fill: #fff; filter: drop-shadow(0 0 4px #5bc0db); }
.iso .drop { fill: var(--teal-light); filter: drop-shadow(0 0 3px #5bc0db); }
.iso .air { fill: none; stroke: rgba(91,192,219,.55); stroke-width: 1.2; stroke-linecap: round; animation: airUp 3.2s ease-out infinite; animation-delay: var(--a, 0s); }
@keyframes airUp { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-18px); } }
.iso .win { fill: var(--teal-light); animation: winGlow 6s ease-in-out infinite; animation-delay: var(--w, 0s); }
@keyframes winGlow { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Variante Bild: Hintergrundfoto mit Messrahmen-Karte */
.hero--photo { min-height: min(920px, 100vh); min-height: min(920px, 100svh); }
.hero--photo .hv-photo { position: absolute; inset: 0; z-index: -3; background-image: var(--hero-image); background-size: cover; background-position: center 45%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(5,12,24,.88) 0%, rgba(5,12,24,.55) 45%, rgba(5,12,24,.2) 100%), linear-gradient(180deg, rgba(5,12,24,.35) 0%, rgba(5,12,24,0) 30%, rgba(5,12,24,.92) 92%); }
.hero--photo .hero__inner { grid-template-columns: minmax(0, 1fr); }
.mark-card { position: relative; max-width: 700px; padding: clamp(28px, 4vw, 52px); background: rgba(5,12,24,.42); -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); border-radius: 4px; }
/* vier Eckmarken wie bei einem Messrahmen */
.mark-card::before, .mark-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(var(--teal-light), var(--teal-light)) left top / 28px 2px,
    linear-gradient(var(--teal-light), var(--teal-light)) left top / 2px 28px,
    linear-gradient(var(--teal-light), var(--teal-light)) right bottom / 28px 2px,
    linear-gradient(var(--teal-light), var(--teal-light)) right bottom / 2px 28px;
  background-repeat: no-repeat; }
.mark-card::after { background:
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) right top / 14px 1px,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) right top / 1px 14px,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) left bottom / 14px 1px,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) left bottom / 1px 14px;
  background-repeat: no-repeat; }
.mark-card__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 26px; font: 500 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.mark-card__meta span:last-child { color: rgba(255,255,255,.55); }
.hero--photo .hero__sub { max-width: 36ch; }


/* =========================================================
   Geräte-Optimierung: Touch, Safe Areas, Tablets, Querformat
   ========================================================= */
:root { color-scheme: only light; }
html { -webkit-tap-highlight-color: rgba(29,156,183,.18); }
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
p, li, dd, summary { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
img { height: auto; }

/* Seitenrand berücksichtigt Notch im Querformat */
.container { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Sprungmarken landen nicht unter dem fixen Header */
main [id] { scroll-margin-top: 96px; }

/* Kernsatz bleibt nur auf großen Bildschirmen stehen */
@media (min-width: 901px) { .overlap-card__quote { position: sticky; top: 120px; } }

/* Hover-Effekte nur für Geräte mit Maus */
@media (hover: none) {
  .value:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
  .value--feature:hover { box-shadow: none; }
  .btn:hover .btn__icon, .text-link:hover svg { transform: none; }
}

/* Tippflächen mindestens 44px */
.sector-btn { min-height: 44px; }
.footer-col ul a, .footer-bottom a { display: inline-block; padding-block: 10px; }
.footer-col ul { gap: 0; }
.faq summary { min-height: 64px; }
.source a, .faq__list a, .stack a { padding-block: 6px; }
.nav__menu-cta { display: none; }
.map__center small { font-size: 13px; }

/* Mobiles Menü: Seite sperren, CTA im Menü */
body.menu-open { overflow: hidden; }
@media (max-width: 1080px) {
  .menu-open .nav__links { max-height: calc(100svh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .menu-open .nav__links .nav__menu-cta { display: block; margin-top: 10px; }
  .menu-open .nav__links .nav__menu-cta a { background: var(--teal-strong); color: #fff; border-radius: var(--radius-pill); text-align: center; font-size: 17px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 16px; }
  .menu-open .site-header { background: rgba(5,12,24,.92); }
}

/* Tablets */
@media (min-width: 721px) and (max-width: 1080px) {
  .hero--v2 .t-display { font-size: clamp(52px, 8vw, 76px); }
  .stakeholder { gap: 40px; }
  .map { max-width: 600px; }
}

/* Smartphones */
@media (max-width: 480px) {
  .hero .btn, .promise .btn { width: 100%; padding-right: 18px; }
  .hero--v2 { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
  .hero--v2 .hero__actions { margin-top: 30px; }
  .ledger2 { margin-top: 44px; }
  .ledger2 li { padding: 18px; }
  .ledger2 .q { font-size: 19px; }
  .overlap-card { padding: 26px 20px; border-radius: var(--radius-md); }
  .overlap-card__quote { font-size: 27px; }
  .section { padding-block: 60px; }
  .heatflow text { font-size: 17px; letter-spacing: .04em; }
  .heatflow .bldg { stroke-width: 1.6; }
  .stat { max-width: 300px; }
  .promise { padding: 30px 20px; border-radius: var(--radius-md); }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 360px) {
  .t-display, .hero--v2 .t-display { font-size: 40px; }
  .btn { font-size: 13.5px; letter-spacing: .06em; }
}

/* Smartphone quer: wenig Höhe */
@media (max-height: 520px) and (orientation: landscape) {
  .site-header__inner, .site-header.is-scrolled .site-header__inner { height: 64px; }
  .brand img, .site-header.is-scrolled .brand img { height: 40px; }
  .hero--v2, .hero--plan, .hero { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
  .hero--racks, .hero--photo { min-height: 0; }
  .menu-open .nav__links { top: calc(70px + env(safe-area-inset-top, 0px)); }
  .menu-open .nav__links a { padding: 8px 10px; font-size: 19px; }
}

/* Große Bildschirme */
@media (min-width: 1680px) {
  :root { --container: 1320px; }
}
.nav__links a { display: inline-block; padding-block: 12px; }

/* Mobiles Menü als vollflächiges Blatt (deckend, scrollbar) */
@media (max-width: 1080px) {
  .brand, .menu-toggle { position: relative; z-index: 2; }
  .menu-open .nav__links {
    position: fixed; inset: 0; z-index: 1; max-height: none;
    display: flex; flex-direction: column; gap: 2px;
    padding: calc(104px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    border-radius: 0; box-shadow: none; overflow-y: auto; overscroll-behavior: contain;
    background: var(--night);
  }
  .menu-open .nav__links li { border-bottom: 1px solid rgba(91,192,219,.14); }
  .menu-open .nav__links li.nav__menu-cta { border: 0; margin-top: 24px; }
  .menu-open .nav__links a { font-size: 26px; padding: 14px 4px; }
  .menu-open .nav__links .nav__menu-cta a { font-size: 16px; padding: 18px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .menu-open .nav__links { padding-top: calc(76px + env(safe-area-inset-top, 0px)); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; }
  .menu-open .nav__links a { font-size: 20px; padding: 10px 4px; }
  .menu-open .nav__links li.nav__menu-cta { grid-column: 1 / -1; margin-top: 14px; }
}
/* Abwärme-Schema auf kleinen Screens lesbar */
@media (max-width: 480px) {
  .heatflow text { text-transform: none; letter-spacing: 0; font-weight: 500; }
}

/* Hero-Foto: kleinere Datei für Smartphones */
@media (max-width: 760px) { .hero--photo .hv-photo { background-image: url("../img/hero-1000.jpg"); } }
@media (max-width: 720px) { .map__center { box-shadow: none; } }
