/* ==========================================================================
   notfallkommunikation.com — Design System
   Corporate Design orientiert an Indra Group (Farbwelt, Typografie, Raster)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (selbst gehostet, siehe assets/fonts/README.txt)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-Variable.woff2") format("woff2-variations"),
       url("../fonts/HankenGrotesk-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/DMMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben (Indra-Palette) */
  --ink:        #002532;   /* Tiefes Petrol-Navy: Primärfarbe, Flächen, Buttons */
  --ink-2:      #00303d;   /* Hover */
  --ink-deep:   #001923;   /* Hero-Verlauf, Footer-Bottom */
  --ink-35:     rgba(0, 37, 50, .35);
  --ink-55:     rgba(0, 37, 50, .55);
  --sand:       #e3e2da;   /* Warmes Greige: Sektionen, Footer-Top */
  --sand-2:     #f1f1ed;
  --sand-3:     #f9f9f8;
  --stone:      #aaaa9f;   /* Mittlere Linie/Text */
  --stone-2:    #d8d7ce;   /* Hairlines */
  --olive:      #646459;   /* Fließtext auf hell */
  --white:      #ffffff;
  --signal:     #00b0bd;   /* Einzige Akzentfarbe: Status "aktiv" */
  --signal-dim: rgba(0, 176, 189, .18);
  --alert:      #da1e28;
  --alert-dim:  rgba(218, 30, 40, .16);

  /* Kontext-Variablen (werden pro Theme überschrieben) */
  --bg:         var(--white);
  --fg:         var(--ink);
  --fg-2:       var(--olive);
  --line:       var(--stone-2);
  --line-2:     var(--stone);

  /* Typografie */
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.75rem, 1.4rem + 5.6vw, 6.75rem);
  --fs-h1:      clamp(2.5rem,  1.4rem + 4vw,   5rem);
  --fs-h2:      clamp(1.9rem,  1.2rem + 2.6vw, 3.4rem);
  --fs-h3:      clamp(1.3rem,  1.1rem + .9vw,  1.75rem);
  --fs-lead:    clamp(1.125rem, 1rem + .55vw,  1.4rem);
  --fs-body:    1.0625rem;
  --fs-small:   .9375rem;
  --fs-micro:   .78rem;

  /* Raster */
  --container:  1400px;
  --gutter:     clamp(1.25rem, 4.2vw, 4rem);
  --section:    clamp(4.5rem, 9vw, 9rem);
  --section-s:  clamp(3rem, 6vw, 5.5rem);
  --nav-h:      4.75rem;
  --topbar-h:   2.25rem;

  /* Motion */
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --t-fast:     .22s;
  --t-med:      .45s;
  --t-slow:     .9s;
}

.theme-dark,
.theme-ink,
.hero,
.page-hero:not(.page-hero--sand) {
  --bg:    var(--ink);
  --fg:    var(--white);
  --fg-2:  var(--sand);
  --line:  rgba(255, 255, 255, .16);
  --line-2: rgba(255, 255, 255, .34);
}
.theme-sand {
  --bg:    var(--sand);
  --fg:    var(--ink);
  --fg-2:  var(--olive);
  --line:  rgba(0, 37, 50, .16);
  --line-2: rgba(0, 37, 50, .36);
}
.theme-sand-2 {
  --bg:    var(--sand-2);
  --fg:    var(--ink);
  --fg-2:  var(--olive);
  --line:  var(--stone-2);
  --line-2: var(--stone);
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--ink); color: var(--white); }
.theme-dark ::selection, .theme-ink ::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus, var(--ink));
  outline-offset: 3px;
}
.theme-dark, .theme-ink, .hero, .page-hero:not(.page-hero--sand), .status, .mobile-nav, .header.is-open,
body.hero-dark .header:not(.is-scrolled):not(.is-open) { --focus: var(--signal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .75rem 1rem;
  font-size: var(--fs-small);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3 {
  font-weight: 300;
  letter-spacing: -.022em;
  line-height: 1.02;
  color: var(--fg);
  text-wrap: balance;
}
.display { font-size: var(--fs-display); letter-spacing: -.03em; line-height: .98; }
/* Schmale Bildschirme: lange deutsche Wörter in Überschriften dürfen trennen, statt aus dem Bild zu laufen */
@media (max-width: 480px) { h1, h2, h3, .display, .h1, .h2, .h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.012em; line-height: 1.2; }
.h4 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; color: var(--fg); }

/* Zweitonige Headlines (Indra-Muster: dunkel + gedämpft) */
.display .mute, .h1 .mute, .h2 .mute, .h3 .mute { color: var(--fg-2); }
.theme-dark .mute, .theme-ink .mute { color: var(--stone); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 300;
  color: var(--fg-2);
  text-wrap: pretty;
  max-width: 38em;
}
.theme-dark .lead, .theme-ink .lead { color: var(--sand); }
.prose { color: var(--fg-2); max-width: 66ch; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); transition: text-decoration-color var(--t-fast); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { margin: 1.1em 0; }
.prose li { position: relative; padding-left: 1.75rem; margin: .4em 0; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .78em; width: 1rem; height: 1px; background: var(--line-2);
}
.prose h3, .prose .h3 { margin: 2.2em 0 .6em; color: var(--fg); }
.prose h4, .prose .h4 { margin: 1.8em 0 .5em; }
.prose ol { counter-reset: ol; margin: 1.1em 0; }
.prose ol li { padding-left: 2.25rem; counter-increment: ol; }
.prose ol li::before {
  content: counter(ol, decimal-leading-zero); background: none; width: auto; height: auto; top: .18em;
  font-family: var(--font-mono); font-size: .8em; color: var(--line-2);
}

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .85rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--line-2); flex: none; }
.eyebrow .idx { color: var(--fg); }
.theme-dark .eyebrow, .theme-ink .eyebrow { color: var(--stone); }
.theme-dark .eyebrow .idx, .theme-ink .eyebrow .idx { color: var(--white); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.small { font-size: var(--fs-small); }
.micro { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section); background: var(--bg); color: var(--fg); position: relative; }
.section--s { padding-block: var(--section-s); }
.section--flush-top { padding-top: 0; }
.section--line-top { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .col-3  { grid-column-end: span 3; }
  .col-4  { grid-column-end: span 4; }
  .col-5  { grid-column-end: span 5; }
  .col-6  { grid-column-end: span 6; }
  .col-7  { grid-column-end: span 7; }
  .col-8  { grid-column-end: span 8; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column-start: auto; }
  .col-start-2 { grid-column-start: 2; }
  .col-start-3 { grid-column-start: 3; }
  .col-start-5 { grid-column-start: 5; }
  .col-start-6 { grid-column-start: 6; }
  .col-start-7 { grid-column-start: 7; }
  .col-start-8 { grid-column-start: 8; }
  .col-start-9 { grid-column-start: 9; }
}

/* Sektionskopf: Eyebrow + Headline links, Text rechts (editorialer Rhythmus) */
.sec-head { display: grid; gap: 1.5rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head > .sec-head__title { grid-column: 1 / -1; }
.sec-head > .sec-head__aside { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .sec-head > .sec-head__title { grid-column: 1 / span 7; }
  .sec-head > .sec-head__aside { grid-column: 9 / span 4; padding-bottom: .35rem; }
}

/* --------------------------------------------------------------------------
   5. Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; gap: .9rem;
  min-height: 3.25rem; padding: .85rem 1.1rem .85rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: .9375rem; font-weight: 500; letter-spacing: .005em; line-height: 1;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn .arr { width: 1.1rem; height: 1.1rem; flex: none; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn--right:hover .arr { transform: translateX(4px); }
.btn:hover { --btn-bg: var(--ink-2); }
.btn:active { transform: translateY(1px); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }

.btn--inverse { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-bd: var(--sand); }
.btn--inverse:hover { --btn-bg: var(--white); --btn-bd: var(--white); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.45); }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--white); }

.btn--sm { min-height: 2.6rem; padding: .55rem .85rem .55rem 1.1rem; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 500; font-size: var(--fs-small);
  padding-bottom: .25rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--t-med) var(--ease);
}
.link-arrow .arr { width: 1rem; height: 1rem; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover { background-size: 0% 1px; }
.link-arrow:hover .arr { transform: translate(3px, -3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */
.topbar {
  position: relative; z-index: 60;
  height: var(--topbar-h);
  background: var(--sand);
  color: var(--ink);
  font-size: .8125rem;
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__brand { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.topbar__brand .sep { color: var(--stone); }
.topbar__brand .group { color: var(--olive); font-weight: 400; }
.topbar__meta { display: flex; align-items: center; gap: 1.5rem; color: var(--olive); }
.topbar__meta a { display: inline-flex; align-items: center; padding-block: .45rem; }
.topbar__meta a:hover { color: var(--ink); }
.topbar__meta .live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar__meta .live::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 var(--signal-dim); animation: pulse 2.4s infinite; }
@media (max-width: 899px) { .topbar__meta .phone, .topbar__brand .group, .topbar__brand .sep { display: none; } }

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--stone-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--stone-2), 0 12px 40px -24px rgba(0, 37, 50, .35); }

/* Auf dunklem Hero: transparent über der Fläche, bis gescrollt wird */
body.hero-dark .header:not(.is-scrolled):not(.is-open) {
  background: transparent; color: var(--white); border-bottom-color: rgba(255,255,255,.14);
}
body.hero-dark .header:not(.is-scrolled):not(.is-open) :is(.nav__cta, .header__cta) { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.5); }
body.hero-dark .header:not(.is-scrolled):not(.is-open) :is(.nav__cta, .header__cta):hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
body.hero-dark { --hero-overlap: calc(var(--nav-h) * -1); }
body.hero-dark .header { margin-bottom: var(--hero-overlap); }

.brand { display: inline-flex; align-items: center; gap: .9rem; height: 100%; }
/* Original-Hispasat-Logo (weiß auf transparent) als Maske: nimmt immer die aktuelle Textfarbe an */
.brand__logo {
  display: block; height: 1.75rem; aspect-ratio: 2355 / 420; flex: none;
  background-color: currentColor;
  -webkit-mask: url("../img/logo-hispasat.png") center / contain no-repeat;
          mask: url("../img/logo-hispasat.png") center / contain no-repeat;
}
.brand__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; padding-left: .9rem; border-left: 1px solid currentColor; line-height: 1.25; }
@media (max-width: 560px) { .brand__tag { display: none; } }

.nav { display: none; align-items: center; gap: 2.25rem; height: 100%; }
@media (min-width: 1100px) { .nav { display: flex; } }
.nav__list { display: flex; align-items: center; gap: 2rem; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9375rem; font-weight: 500; letter-spacing: .002em;
  padding: .4rem 0; position: relative; opacity: .82;
  transition: opacity var(--t-fast);
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right var(--t-med) var(--ease); }
.nav__link:hover, .nav__item.is-active > .nav__link, .nav__item:focus-within > .nav__link { opacity: 1; }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { right: 0; }
.nav__link .chev { width: .7rem; height: .7rem; transition: transform var(--t-fast); }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }
.nav__cta { margin-left: .5rem; }
.nav__check { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .82; display: inline-flex; align-items: center; gap: .5rem; padding-block: .5rem; }
.nav__check::before { content: ""; width: .4rem; height: .4rem; background: var(--signal); }
.nav__check:hover { opacity: 1; }

/* Mega-Panel Sektoren */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(880px, calc(100vw - 2rem));
  background: var(--white); color: var(--ink);
  border: 1px solid var(--stone-2);
  box-shadow: 0 30px 60px -30px rgba(0, 37, 50, .45);
  padding: 1.75rem 1.75rem 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .nav__item.is-open > .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.75rem; }
.mega__item { position: relative; isolation: isolate; display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--stone-2); }
.mega__item:nth-child(-n+3) { border-top: 0; }
.mega__item svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--olive); transition: color var(--t-fast), transform var(--t-med) var(--ease-out); }
/* Hover und Tastaturfokus: Fläche blendet ein, Icon und Text rücken ein Stück ein, der Pfeil läuft von unten links ein */
.mega__item::before { content: ""; position: absolute; inset: 0 -.75rem; z-index: -1; background: var(--sand-2); opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.mega__item > span { flex: 1; min-width: 0; transition: transform var(--t-med) var(--ease-out); }
.mega__item .arr { width: .9rem; height: .9rem; margin-top: .3rem; color: var(--ink); opacity: 0; transform: translate(-6px, 6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-med) var(--ease-out); }
.mega__item:hover::before, .mega__item:focus-visible::before { opacity: 1; }
.mega__item:hover svg, .mega__item:focus-visible svg { color: var(--ink); }
.mega__item:hover > svg:first-child, .mega__item:focus-visible > svg:first-child,
.mega__item:hover > span, .mega__item:focus-visible > span { transform: translateX(.25rem); }
.mega__item:hover .arr, .mega__item:focus-visible .arr { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mega__item svg, .mega__item > span, .mega__item .arr, .mega__item::before { transition: none; }
  .mega__item:hover > svg:first-child, .mega__item:focus-visible > svg:first-child, .mega__item:hover > span, .mega__item:focus-visible > span, .mega__item .arr { transform: none; }
}
.mega__item b { display: block; font-weight: 500; font-size: .9375rem; }
.mega__item span { display: block; font-size: .8125rem; color: var(--olive); line-height: 1.4; margin-top: .15rem; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--stone-2); font-size: var(--fs-small); color: var(--olive); }

/* Header im geöffneten Mobil-Menü: dunkel */
.header.is-open { background: var(--ink); color: var(--white); border-bottom-color: rgba(255,255,255,.14); }

/* Anruf-Button neben dem Burger (nur wenn die Hauptnavigation ausgeblendet ist) */
.header__call { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-left: auto; margin-right: -1.25rem; flex: none; }
.header__call svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1100px) { .header__call { display: none; } }
/* Kontakt-CTA im Header für Tablets (zwischen Mobil und voller Navigation) */
.header__cta { display: none; }
@media (min-width: 640px) and (max-width: 1099px) {
  .header__cta { display: inline-flex; margin-left: auto; margin-right: -1rem; }
  .header__cta + .header__call { margin-left: 0; }
  .header.is-open .header__cta { visibility: hidden; }
}

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
}
@media (min-width: 1100px) { .burger { display: none; } }
.burger span { display: block; width: 1.5rem; height: 1.5px; background: currentColor; margin-left: auto; margin-right: .6rem; transition: transform var(--t-med) var(--ease), width var(--t-med) var(--ease), opacity var(--t-fast); transform-origin: center; }
.burger span:nth-child(2) { width: 1.1rem; }
.header.is-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; width: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--white);
  padding: calc(var(--nav-h) + var(--topbar-h) + 1rem) var(--gutter) 2rem;
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__list > li { border-top: 1px solid rgba(255,255,255,.14); }
.mobile-nav__list > li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-nav__link { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: 1.5rem; font-weight: 300; letter-spacing: -.01em; }
.mobile-nav__link .arr { width: 1.1rem; height: 1.1rem; opacity: .6; }
.mobile-nav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; padding: 0 0 1.1rem; }
.mobile-nav__sub a { font-size: .9375rem; color: var(--sand); padding: .35rem 0; opacity: .85; }
@media (max-width: 479px) { .mobile-nav__sub { grid-template-columns: 1fr; } }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.mobile-nav__foot .btn { justify-content: space-between; }
.mobile-nav__meta { font-size: .875rem; color: var(--stone); display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.mobile-nav__meta a { display: inline-block; padding-block: .3rem; }
@media (min-width: 1100px) { .mobile-nav { display: none; } }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: var(--white);
  min-height: calc(100svh - var(--topbar-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero::before { /* Vignette */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(0, 176, 189, .10), transparent 55%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 45%, #00202c 100%);
}
.hero__art {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  display: flex; justify-content: flex-end; align-items: flex-start;
}
.hero__art svg { height: 100%; width: auto; min-width: 100%; }
.hero__inner { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--gutter); } }
/* Startseite: Video als Hintergrund, links und unten abgedunkelt, damit Text und Kennzahlen lesbar bleiben */
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink-deep); }
/* Das Video ist nach rechts gerückt, damit der Satellit neben der Überschrift steht. Links bleibt dadurch ein Streifen frei;
   die Maske blendet die linke Kante des Videos weich in den Hintergrund aus, sonst steht dort eine sichtbare Linie. */
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; transform: translateX(6%) scale(1.22); transform-origin: 0% 55%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
.hero--video::before {
  background:
    linear-gradient(90deg, rgba(0, 25, 35, .92) 0%, rgba(0, 25, 35, .74) 36%, rgba(0, 25, 35, .22) 68%, rgba(0, 25, 35, .08) 100%),
    linear-gradient(180deg, rgba(0, 25, 35, .6) 0%, rgba(0, 25, 35, 0) 26%, rgba(0, 25, 35, 0) 55%, rgba(0, 25, 35, .82) 84%, rgb(0, 25, 35) 100%);   /* läuft unten in die Farbe der folgenden 3D-Section aus, damit kein harter Schnitt entsteht */
}
@media (min-width: 900px) { .hero--video .hero__inner { grid-template-columns: minmax(0, 46rem); } }
@media (max-width: 899px) {
  .hero--video::before { background: linear-gradient(180deg, rgba(0, 25, 35, .62) 0%, rgba(0, 25, 35, .58) 30%, rgba(0, 25, 35, .8) 62%, rgb(0, 25, 35) 100%); }
  .hero__video { object-position: 50% 50%; transform: none; -webkit-mask-image: none; mask-image: none; }
}
/* Schalter zum Anhalten des Videos (WCAG 2.2.2: bewegte Inhalte müssen sich pausieren lassen) */
.hero__eyebrow { color: var(--stone); }
.hero__title { max-width: 14ch; }
.hero__title .mute { color: var(--stone); }
.hero__lead { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 32em; color: var(--sand); }
.hero__cta { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero__cta .btn--inverse { --btn-bg: var(--sand); }
.hero__cta .btn--inverse:hover { --btn-bg: var(--white); }
@media (max-width: 479px) {
  .hero__cta { display: grid; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__eyebrow .xs-hide { display: none; }
}
/* Kleine Screens: großer Satellit der Hintergrundgrafik läge hinter dem Text.
   Stattdessen eigener, kleiner Satellit über der Eyebrow; Grafik ohne Satellit, Strahlen und LEO-Punkte. */
.hero__sat { display: none; }
@media (max-width: 899px) {
  .hero__art .sat-group, .hero__art .sat-float, .hero__art .beam, .hero__art .ground { display: none; }
  .hero__art { opacity: .75; }
  .hero__sat { display: block; width: clamp(9rem, 38vw, 13rem); height: auto; margin: 0 -.5rem 1.25rem auto; overflow: visible; transform: rotate(-18deg); }
}

/* Status-Panel (Failover-Visualisierung) */
.status {
  --row-pad: .95rem 1.1rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0, 25, 35, .82);
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
  max-width: 420px; width: 100%;
  margin-left: auto;
}
.status__head { display: flex; justify-content: space-between; align-items: center; padding: var(--row-pad); border-bottom: 1px solid rgba(255,255,255,.14); color: var(--stone); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.status__head .clock { color: var(--white); }
.status__row { display: grid; grid-template-columns: 1.1rem 1fr auto; gap: .9rem; align-items: center; padding: var(--row-pad); border-bottom: 1px solid rgba(255,255,255,.08); transition: background var(--t-med); }
.status__row:last-child { border-bottom: 0; }
.status__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--stone); position: relative; justify-self: center; transition: background var(--t-med); }
.status__row[data-state="ok"] .status__dot { background: var(--signal); }
.status__row[data-state="fail"] .status__dot { background: var(--alert); }
.status__row[data-state="standby"] .status__dot { background: var(--stone); }
.status__row[data-state="active"] .status__dot { background: var(--signal); box-shadow: 0 0 0 0 var(--signal-dim); animation: pulse 1.8s infinite; }
.status__row[data-state="active"] { background: rgba(0, 176, 189, .07); }
.status__name { color: var(--sand); }
.status__name small { display: block; color: var(--stone); font-size: .72rem; margin-top: .15rem; letter-spacing: .06em; }
.status__val { color: var(--white); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; text-align: right; }
.status__row[data-state="fail"] .status__val { color: #ff8a92; }
.status__row[data-state="active"] .status__val { color: var(--signal); }
.status__row[data-state="standby"] .status__val { color: var(--stone); }
.status__foot { display: flex; justify-content: space-between; gap: 1rem; padding: var(--row-pad); border-top: 1px solid rgba(255,255,255,.14); color: var(--stone); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.status__foot b { color: var(--white); font-weight: 500; }
.status__bar { height: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.status__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--signal); transition: width 1.6s linear; }
.status[data-phase="failover"] .status__bar i { width: 100%; }

/* Hero-Fußzeile: Scroll-Hinweis + Kennzahlen-Miniatur */
.hero__foot { margin-top: clamp(3rem, 7vw, 5.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.hero__foot b { color: var(--white); font-weight: 500; }
/* Niedrige Fenster: Abstände straffen, damit der Kopf mit seinem Inhalt auf einen Bildschirm passt */
@media (min-width: 900px) and (max-height: 960px) {
  .hero__foot { margin-top: 2.5rem; }
  .page-hero { padding-top: 3rem; }
  .page-hero__lead { margin-top: 1.25rem; }
  .page-hero__meta { margin-top: 1.5rem; }
}
.hero__foot ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--signal-dim); }
  70% { box-shadow: 0 0 0 10px rgba(0, 176, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 176, 189, 0); }
}

/* Orbit-Grafik */
.orbit .ring { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1; }
.orbit .ring--dash { stroke-dasharray: 2 8; stroke: rgba(255,255,255,.18); }
.orbit .beam { fill: none; stroke: var(--signal); stroke-width: 1; opacity: .55; stroke-dasharray: 4 6; animation: beam 3s linear infinite; }
.orbit .beam--alt { animation-delay: -1.5s; }
.orbit .sat { fill: var(--white); }
.orbit .sat-ring { fill: none; stroke: var(--signal); stroke-width: 1; opacity: .6; }
.orbit .ground { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.orbit .earth { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.orbit .earth-fill { fill: rgba(255,255,255,.025); }
.orbit .grid-line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.orbit .sat-group { animation: orbit 46s linear infinite; transform-origin: 760px 420px; }
.orbit .sat-group--2 { animation-duration: 70s; animation-delay: -30s; }
@keyframes beam { to { stroke-dashoffset: -20; } }

/* Satellit (Symbol #sat): Signalwellen und Schwebe-Animation */
.sat-sig { fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-linecap: round; opacity: 0; animation: satsig 2.8s ease-out infinite; }
.sat-sig:nth-of-type(2) { animation-delay: .7s; }
.sat-sig:nth-of-type(3) { animation-delay: 1.4s; }
@keyframes satsig { 0% { opacity: 0; } 25% { opacity: .7; } 100% { opacity: 0; } }
.sat-float { animation: satfloat 9s ease-in-out infinite; }
@keyframes satfloat { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .sat-float { animation: none; } .sat-sig { animation: none; opacity: .6; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit .sat-group, .orbit .beam, .status__dot, .topbar__meta .live::before { animation: none !important; }
}

/* Innenseiten-Hero (kompakt) */
.page-hero {
  background: var(--ink); color: var(--white); position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  /* Jeder Seitenkopf füllt den Bildschirm unter Infozeile und Menü; der Inhalt steht unten, wie auf der Startseite */
  min-height: calc(100vh - var(--topbar-h) - var(--nav-h)); min-height: calc(100svh - var(--topbar-h) - var(--nav-h));
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-deep), var(--ink)); }
/* Orbit-Grafik rechts, senkrecht mittig. overflow: visible, damit Erde und Bahnen nicht am Rand der Zeichenfläche abgeschnitten werden; den Rest schneidet der Seitenkopf */
.page-hero__art { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 62%; max-width: 1050px; overflow: visible; opacity: .9; z-index: -1; pointer-events: none; }
/* Handy: Grafik kleiner in die obere rechte Ecke, damit der Satellit nicht unter dem Header verschwindet */
@media (max-width: 639px) { .page-hero__art { top: .5rem; transform: none; right: -18%; width: 95%; opacity: .6; } }
/* Sektor-Seiten: Foto als Hintergrund, links abgedunkelt, damit Überschrift und Text lesbar bleiben */
.page-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.page-hero--photo::before {
  background:
    linear-gradient(90deg, rgba(0, 25, 35, .95) 0%, rgba(0, 25, 35, .88) 38%, rgba(0, 25, 35, .5) 72%, rgba(0, 25, 35, .22) 100%),
    linear-gradient(180deg, rgba(0, 25, 35, .35) 0%, rgba(0, 25, 35, 0) 30%, rgba(0, 25, 35, .55) 100%);
}
@media (max-width: 899px) {
  .page-hero--photo::before { background: linear-gradient(180deg, rgba(0, 25, 35, .3) 0%, rgba(0, 25, 35, .78) 26%, rgba(0, 25, 35, .88) 100%); }
  .page-hero__photo { object-position: 78% 50%; }
}
.page-hero .eyebrow { color: var(--stone); }
.page-hero .eyebrow .idx { color: var(--white); }
.page-hero__title { max-width: 16ch; }
/* Branchenseiten haben lange Überschriften und viel Inhalt im Kopf: breiter und etwas kleiner setzen, damit der Kopf auf einen Bildschirm passt */
.page-hero--photo .page-hero__title { max-width: 21ch; font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.5rem); }
.page-hero__title--wide { max-width: 24ch; font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); }
.page-hero__lead { margin-top: clamp(1.25rem, 2.5vw, 2rem); color: var(--sand); max-width: 34em; }
.page-hero__meta { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.page-hero__meta b { color: var(--white); font-weight: 500; }
.page-hero--sand { background: var(--sand); color: var(--ink); }
.page-hero--sand::before { background: var(--sand); }
.page-hero--sand .eyebrow { color: var(--olive); }
.page-hero--sand .eyebrow .idx { color: var(--ink); }
.page-hero--sand .page-hero__lead { color: var(--olive); }
.page-hero--sand .page-hero__meta { border-top-color: rgba(0,37,50,.18); color: var(--olive); }
.page-hero--sand .page-hero__meta b { color: var(--ink); }

/* Anker-Submenü (Indra: Sticky-Tabs mit Unterstrich) */
.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 30;
  background: var(--white); border-bottom: 1px solid var(--stone-2);
}
.anchor-nav .container { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .container::-webkit-scrollbar { display: none; }
.anchor-nav a {
  flex: none; padding: 1rem 1.25rem 1rem 0; margin-right: 1.25rem;
  font-size: .9rem; font-weight: 500; color: var(--olive); position: relative; white-space: nowrap;
}
.anchor-nav a::after { content: ""; position: absolute; left: 0; right: 1.25rem; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.anchor-nav a:hover, .anchor-nav a.is-active { color: var(--ink); }
.anchor-nav a.is-active::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   8. Komponenten
   -------------------------------------------------------------------------- */

/* Kennzahlen-Band (Indra: Hairlines links, Mono-Ziffern) */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding-left: 1.5rem; padding-right: 1rem; border-left: 1px solid var(--line-2); }
@media (max-width: 419px) { .stat { padding-left: 1rem; padding-right: .5rem; } .stats .stat__value { font-size: 2rem !important; } .stat__label { hyphens: auto; } }
.stat__label { font-size: var(--fs-small); color: var(--fg-2); }
.stat__value { font-family: var(--font-mono); font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); line-height: 1; margin: .9rem 0 .7rem; color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__pre { font-size: .32em; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); margin-right: .15em; vertical-align: baseline; }
.stat__value sup { font-size: .4em; vertical-align: top; position: relative; top: .35em; margin-left: .1em; color: var(--fg-2); }
.stat__unit { font-size: var(--fs-small); color: var(--fg-2); }

/* Kacheln mit Hairline-Raster (Gap-Trick) */
.tiles {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .tiles--5 { grid-template-columns: repeat(5, 1fr); } }
.tiles--5 .tile { min-height: 11rem; padding: 1.4rem; }
.tiles--5 .tile__title { font-size: 1.1rem; }
.tile {
  background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.1rem; min-height: 16rem;
  position: relative; transition: background var(--t-med) var(--ease);
}
.tile:hover { background: var(--sand-2); }
.theme-sand .tile:hover { background: var(--white); }
.theme-dark .tile:hover, .theme-ink .tile:hover { background: rgba(255,255,255,.04); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.tile__idx { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; color: var(--fg-2); }
.tile__icon { width: 2rem; height: 2rem; color: var(--fg); }
.tile__kicker { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-top: auto; }
.tile__title { font-size: 1.3rem; font-weight: 400; letter-spacing: -.012em; line-height: 1.2; color: var(--fg); }
.tile__text { color: var(--fg-2); font-size: var(--fs-small); line-height: 1.55; }
@media (max-width: 759px) {
  .tile, .tiles--5 .tile { min-height: 0; }
  .tile__kicker { margin-top: .25rem; }
}

/* Sektor-Karten (Indra: dunkle Kacheln, Pfeil oben rechts) */
.sectors { display: grid; gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); grid-template-columns: 1fr; }
@media (min-width: 560px)  { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
.sector {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--white); color: var(--ink);
  min-height: 19rem; padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  transition: color var(--t-med) var(--ease);
}
.sector::before { /* Füllung von unten (Ink) */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform var(--t-med) var(--ease-out);
}
.sector:hover::before, .sector:focus-visible::before { transform: translateY(0); }
.sector:hover, .sector:focus-visible { color: var(--white); }
.sector__top { display: flex; justify-content: space-between; align-items: flex-start; }
.sector__icon { width: 2.25rem; height: 2.25rem; color: currentColor; opacity: .9; }
.sector__arr { width: 1.4rem; height: 1.4rem; transition: transform var(--t-med) var(--ease-out); }
.sector:hover .sector__arr { transform: translate(4px, -4px); }
.sector__idx { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; opacity: .6; margin-bottom: .6rem; }
.sector__title { font-size: 1.45rem; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
.sector__text { font-size: var(--fs-small); margin-top: .6rem; opacity: .75; line-height: 1.5; max-width: 28em; }
.sector--cta { background: var(--sand); }
@media (max-width: 759px) {
  .sector { min-height: 0; padding: 1.35rem; gap: 1.25rem; }
  .sector__icon { width: 2rem; height: 2rem; }
  .sector__title { font-size: 1.3rem; }
}
.sector--cta .sector__title { font-weight: 300; font-size: 1.7rem; }

/* Sektor-Karten mit Foto (nach dem Kartenmuster der Indra Group):
   vollflächiges Bild, abgeschrägte Ecken, unten ein halbtransparentes Feld mit weißer Oberkante */
.sectors--photo { gap: 1.25rem; background: none; border: 0; }
.scard {
  --cut: 8px;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  height: 16.5rem; color: var(--white); background: var(--ink);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
@media (min-width: 560px) { .scard { --cut: 16px; height: auto; aspect-ratio: 4 / 5; } }
.scard__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease-out); }
.scard:hover .scard__img, .scard:focus-visible .scard__img { transform: scale(1.04); }
.scard__body {
  position: relative; width: 100%; min-height: 58%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem 1.5rem 1.6rem;
  background: rgba(0, 37, 50, .6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border-top: 2px solid var(--white);
  transition: background var(--t-med) var(--ease);
}
/* kleine Kerben an beiden Enden der Oberkante */
.scard__body::before, .scard__body::after { content: ""; position: absolute; top: -7px; width: 6px; height: 12px; background: var(--white); }
.scard__body::before { left: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.scard__body::after { right: 0; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.scard:hover .scard__body, .scard:focus-visible .scard__body { background: rgba(0, 37, 50, .82); }
.scard__arr { position: absolute; top: 1.35rem; right: 1.5rem; width: 1.3rem; height: 1.3rem; transition: transform .6s var(--ease-out), opacity var(--t-med) var(--ease); }
.scard:hover .scard__arr, .scard:focus-visible .scard__arr { transform: translate(5px, -5px); }
@media (hover: hover) and (min-width: 1000px) {
  .scard__arr { opacity: 0; }
  .scard:hover .scard__arr, .scard:focus-visible .scard__arr { opacity: 1; }
}
.scard__idx { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; opacity: .8; margin-bottom: .6rem; }
.scard__title { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.65rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; padding-right: 2rem; }
.scard__text { font-size: var(--fs-small); margin-top: .55rem; line-height: 1.5; max-width: 30em; }
/* Fokus innen zeichnen, weil die abgeschrägten Ecken einen äußeren Ring abschneiden würden */
.scard:focus-visible { outline: none; }
.scard:focus-visible::after { content: ""; position: absolute; inset: 6px; z-index: 2; border: 2px solid var(--white); outline: 2px solid var(--signal); pointer-events: none; }
@media (max-width: 559px) {
  .scard__body { min-height: 0; padding: 1.15rem 1.25rem 1.25rem; }
  .scard__img { object-position: 50% 12%; }
}
/* gestapelte Variante auf den Sektor-Seiten ("Weitere Sektoren") */
.sectors--stack { grid-template-columns: 1fr; }
.sectors--stack .scard { aspect-ratio: auto; height: 15rem; }
.sectors--stack .scard__body { min-height: 0; }
@media (prefers-reduced-motion: reduce) { .scard__img, .scard__arr { transition: none; } .scard:hover .scard__img { transform: none; } }

/* Icon-Grundstil (Line Icons, 1.5px) */
.ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Prozess / Schritte */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__title, .step__text { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 419px) { .step { grid-template-columns: 4rem minmax(0, 1fr) !important; gap: 1rem; } }
@media (min-width: 900px) { .step { grid-template-columns: 6rem 1fr 1.4fr; gap: var(--gutter); } }
.step__num { font-family: var(--font-mono); font-size: 1.1rem; color: var(--fg-2); padding-top: .2rem; }
.step__title { font-size: 1.35rem; font-weight: 400; letter-spacing: -.012em; line-height: 1.2; color: var(--fg); }
.step__text { color: var(--fg-2); font-size: var(--fs-small); grid-column: 2; }
@media (min-width: 900px) { .step__text { grid-column: auto; font-size: var(--fs-body); } }

/* Zeitachse */
.timeline { position: relative; border-left: 1px solid var(--line-2); margin-left: .35rem; }
.tl { position: relative; padding: 0 0 2.25rem 2rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -.33rem; top: .55rem; width: .6rem; height: .6rem; background: var(--bg); border: 1px solid var(--fg); border-radius: 50%; }
.tl.is-now::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 0 var(--signal-dim); animation: pulse 2.4s infinite; }
.tl__date { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--fg-2); }
.tl__title { font-size: 1.2rem; font-weight: 400; margin-top: .3rem; color: var(--fg); letter-spacing: -.01em; }
.tl__text { color: var(--fg-2); font-size: var(--fs-small); margin-top: .35rem; max-width: 50ch; }

/* Diagramm "Scheinredundanz" */
.diagram-wrap { margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.diagram { width: 100%; height: auto; font-family: var(--font-mono); display: block; }
@media (max-width: 760px) { .diagram { min-width: 760px; } .diagram-wrap::after { content: 'Diagramm seitlich scrollen'; display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-top: .5rem; } }
.diagram .box { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.diagram .box--ink { fill: var(--ink); stroke: var(--ink); }
.diagram .d-text { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; fill: var(--fg-2); }
.diagram .d-text--sm { font-size: 10.5px; }
.diagram .d-text--b { fill: var(--fg); font-weight: 500; font-size: 13px; }
.diagram .d-text--inv { fill: var(--white); }
.diagram .d-text--inv2 { fill: var(--stone); }
.diagram .d-text--sat { fill: var(--signal); }
.diagram .d-text--cut { fill: var(--alert); }
.diagram .d-line path { fill: none; stroke: var(--fg); stroke-width: 1.2; opacity: .7; }
.diagram .d-sat { fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 5 6; animation: beam 2.4s linear infinite; }
.diagram .d-cut { fill: none; stroke: var(--alert); stroke-width: 1.4; }
.diagram .d-cut-dot { fill: var(--bg); stroke: var(--alert); stroke-width: 1.4; }
.diagram .d-bracket { fill: none; stroke: var(--line-2); stroke-width: 1; }
.diagram .d-dish { fill: none; stroke: var(--fg); stroke-width: 1.2; }
.diagram .d-dish path:first-child { fill: var(--bg); }
.sat-ink { color: var(--ink); }
.sat-light { color: var(--sand); }

/* Vergleichstabelle */
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.compare th, .compare td { text-align: left; padding: 1rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); border-bottom-color: var(--line-2); }
.compare td:first-child { color: var(--fg); font-weight: 500; }
.compare td { color: var(--fg-2); }
.compare .y, .compare .n, .compare .p { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; white-space: nowrap; }
.compare .y, .compare .n, .compare .p { display: inline-flex; align-items: center; gap: .5rem; }
.compare .y::before, .compare .n::before, .compare .p::before { content: ""; width: .45rem; height: .45rem; flex: none; }
.compare .y { color: #006b74; }   .compare .y::before { background: var(--signal); }
.compare .n { color: #b4121b; }   .compare .n::before { background: var(--alert); }
.compare .p { color: var(--olive); } .compare .p::before { border: 1px solid var(--olive); }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 759px) {
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); min-width: 8.5rem; max-width: 10rem; background-image: linear-gradient(to left, var(--line-2) 1px, transparent 1px); }
  .compare th:not(:first-child), .compare td:not(:first-child) { min-width: 10.25rem; }
  .compare .y, .compare .n, .compare .p { white-space: normal; align-items: baseline; line-height: 1.45; }
  .compare-wrap.is-scrollable::after { content: 'Tabelle seitlich scrollen'; position: sticky; left: 0; display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-top: .75rem; }
}
/* Kantenverlauf rechts, solange weitere Inhalte seitlich folgen (Klasse per JS) */
.tabs.is-scrollable:not(.is-end), .anchor-nav .container.is-scrollable:not(.is-end) {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3.5rem), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 3.5rem), transparent);
}

/* Zitat / Statement */
.statement { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; color: var(--fg); max-width: 24em; }
.statement .mute { color: var(--fg-2); }

/* Akkordeon (FAQ) */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__sum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 2rem; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-size: 1.15rem; font-weight: 400; letter-spacing: -.008em; line-height: 1.3; color: var(--fg);
  transition: color var(--t-fast);
}
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum:hover { color: var(--fg-2); }
.acc__plus { width: 2rem; height: 2rem; border: 1px solid var(--line-2); position: relative; justify-self: end; transition: background var(--t-fast), border-color var(--t-fast); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease); }
.acc__plus::before { width: .85rem; height: 1px; }
.acc__plus::after { width: 1px; height: .85rem; }
.acc__item[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item[open] .acc__plus { background: var(--ink); color: var(--white); border-color: var(--ink); }
.theme-dark .acc__item[open] .acc__plus { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.acc__body { padding: 0 3.5rem 1.6rem 0; color: var(--fg-2); max-width: 70ch; }
.acc__body p + p { margin-top: .8em; }
@media (max-width: 640px) { .acc__body { padding-right: 0; } }

/* FAQ Tabs */
/* Themenauswahl als Reihe von Schaltflächen: Rahmen zeigt, dass man sie anklicken kann, das gewählte Thema ist gefüllt */
.tabs__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 .8rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }   /* bricht auf allen Breiten um, damit alle Themen sichtbar sind */
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: .6rem 1rem; min-height: 2.75rem; font-size: .9375rem; font-weight: 500; color: var(--fg); border: 1px solid var(--line-2); white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.tab:hover { border-color: var(--fg); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 700px) { .tabs { gap: .4rem; } .tab { padding: .45rem .7rem; min-height: 2.5rem; font-size: .84rem; } }
.tabpanel[hidden] { display: none; }

/* Formular (Indra: Unterstrich-Felder, kleine fette Labels) */
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; gap: 1.6rem; }
@media (min-width: 720px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .875rem; font-weight: 500; color: var(--fg); }
.field label .req { color: var(--fg-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: .65rem 0; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23002532' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .25rem center; padding-right: 1.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field--error input, .field--error textarea { border-bottom-color: var(--alert); }
.field--error label { color: var(--alert); }
.check.field--error > span { color: var(--alert); }
.field__err { display: block; font-size: .8125rem; color: var(--alert); line-height: 1.4; }
.form__legend { font-size: .8125rem; color: var(--fg-2); margin: 0 0 -.4rem; }
.field .form__legend { margin: .5rem 0 0; }
.field__hint { font-size: .8125rem; color: var(--fg-2); }
.check { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: flex-start; font-size: .875rem; color: var(--fg-2); padding-block: .25rem; cursor: pointer; }
.check > span { flex: 1 1 0; min-width: 12rem; }
.check .field__err { flex-basis: 100%; padding-left: 2.05rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: .05rem 0 0; flex: none; accent-color: var(--ink); }
.check a { display: inline-block; padding-block: .1rem; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .5rem; }
.form__note { font-size: .8125rem; color: var(--fg-2); max-width: 40ch; }
.form__msg { padding: 1rem 1.25rem; border: 1px solid var(--line-2); font-size: var(--fs-small); display: none; }
.form__msg.is-ok { display: block; border-color: var(--signal); color: var(--fg); }
.form__msg.is-err { display: block; border-color: var(--alert); color: var(--fg); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Kontakt-Infos (Indra: Gedankenstrich-Liste) */
.dash-list { display: grid; gap: 1.1rem; }
.dash-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; color: var(--fg-2); font-size: var(--fs-small); line-height: 1.5; }
.dash-list li::before { content: ""; height: 1px; background: var(--line-2); margin-top: .7rem; }
.dash-list b { color: var(--fg); font-weight: 500; }

/* Redundanz-Check */
.check-app { border: 1px solid var(--line); background: var(--bg); }
.check-app__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.check-app__head b { color: var(--fg); font-weight: 500; }
.check-app__head > span { white-space: nowrap; }
@media (max-width: 479px) { .check-app__head { padding-inline: 1.1rem; } .check-app__head > span:last-child { display: none; } }
.check-app__progress { height: 2px; background: var(--line); }
.check-app__progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width var(--t-med) var(--ease); }
.check-app__body { padding: clamp(1.5rem, 4vw, 3rem); min-height: 22rem; display: grid; align-content: start; gap: 1.75rem; }
.q__num { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; color: var(--fg-2); }
.q__text { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.2; color: var(--fg); max-width: 24em; }
.q__hint { color: var(--fg-2); font-size: var(--fs-small); max-width: 56ch; }
.q__opts { display: grid; gap: .6rem; }
@media (min-width: 720px) { .q__opts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.opt {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  padding: 1.1rem 1.25rem; border: 1px solid var(--line-2); font-size: 1rem; font-weight: 400; color: var(--fg);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.opt:hover, .opt:focus-visible { background: var(--ink); color: var(--white); border-color: var(--ink); }
.opt .arr { width: 1rem; height: 1rem; flex: none; opacity: .6; }
.check-app__foot { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-2); }
.check-app__back { font-size: var(--fs-small); color: var(--fg-2); display: inline-flex; gap: .5rem; align-items: center; }
.check-app__back[hidden] { display: none; }
.check[hidden] { display: none; }
.check-app__back:hover { color: var(--fg); }
.result__score { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.result__num { font-family: var(--font-mono); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -.02em; color: var(--fg); }
.result__tag { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .7rem; border: 1px solid currentColor; }
.result__tag--high { color: var(--alert); }
.result__tag--mid { color: #b4731a; }
.result__tag--low { color: var(--signal); }
.result__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.15; color: var(--fg); max-width: 24em; }
.result__list { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.result__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; font-size: var(--fs-small); color: var(--fg-2); }
.result__list li .m { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; padding-top: .2rem; }
.result__list li .m.bad { color: var(--alert); }
.result__list li .m.ok { color: var(--signal); }

/* Cards (Projekt-/Leistungs-Karten) */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  min-height: 24rem; padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
}
.card__art { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.card__art svg { width: 100%; height: 100%; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,25,35,0) 30%, rgba(0,25,35,.85) 100%); }
.card__arr { position: absolute; top: 1.5rem; right: 1.5rem; width: 1.5rem; height: 1.5rem; transition: transform var(--t-med) var(--ease-out); }
.card:hover .card__arr { transform: translate(4px, -4px); }
.card__kicker { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.card__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 300; letter-spacing: -.018em; line-height: 1.12; max-width: 18ch; }
.card__text { color: var(--sand); font-size: var(--fs-small); max-width: 36em; opacity: .9; }
.card--sand { background: var(--sand); color: var(--ink); }
.card--sand::after { display: none; }
.card--sand .card__kicker { color: var(--olive); }
.card--sand .card__text { color: var(--olive); }
@media (max-width: 719px) {
  .card { min-height: 19rem; }
  .card::after { background: linear-gradient(180deg, rgba(0,25,35,0) 30%, rgba(0,25,35,.88) 75%); }
}

/* Hinweis-Box */
.note { border-left: 2px solid var(--signal); padding: .25rem 0 .25rem 1.25rem; color: var(--fg-2); font-size: var(--fs-small); max-width: 60ch; }
.note b { color: var(--fg); font-weight: 500; }

/* Logo-/Trust-Zeile */
.trust { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.trust li { display: inline-flex; gap: .7rem; align-items: center; }
.trust li::before { content: ""; width: .4rem; height: .4rem; background: var(--line-2); }

/* CTA-Band */
.cta-band { background: var(--sand); color: var(--ink); }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr .7fr; gap: var(--gutter); } }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--white); color: var(--ink); border-top: 1px solid var(--stone-2); }
.footer__top { padding-block: clamp(3rem, 6vw, 5rem); display: grid; gap: 2.5rem var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.2fr repeat(3, .6fr); } }
.footer__brand .brand__logo { height: 2rem; color: var(--ink); }
.footer__claim { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 300; letter-spacing: -.012em; line-height: 1.25; max-width: 20em; color: var(--ink); }
.footer__addr { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--olive); line-height: 1.55; }
.footer__addr a { display: inline-block; padding-block: .15rem; }
.footer__addr a:hover { color: var(--ink); }
.footer__h { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .15rem; font-size: var(--fs-small); }
.footer__links a { display: inline-block; padding-block: .3rem; color: var(--ink); opacity: .85; transition: opacity var(--t-fast); }
.footer__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.footer__bottom { border-top: 1px solid var(--stone-2); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .8125rem; color: var(--olive); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__bottom a { display: inline-block; padding-block: .4rem; }
.footer__bottom a:hover { color: var(--ink); }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; }
.footer__social svg { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   10. Scroll-Reveal
   -------------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; } .rv-d5 { transition-delay: .4s; }
.rv-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.rv-stagger.in > * { opacity: 1; transform: none; }
.rv-stagger.in > :nth-child(1) { transition-delay: 0s; }
.rv-stagger.in > :nth-child(2) { transition-delay: .05s; }
.rv-stagger.in > :nth-child(3) { transition-delay: .1s; }
.rv-stagger.in > :nth-child(4) { transition-delay: .15s; }
.rv-stagger.in > :nth-child(5) { transition-delay: .2s; }
.rv-stagger.in > :nth-child(6) { transition-delay: .25s; }
.rv-stagger.in > :nth-child(n+7) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.no-js .rv, .no-js .rv-stagger > * { opacity: 1; transform: none; }

/* Animationen pausieren, solange das Element nicht im Viewport ist (JS setzt .is-paused) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* --------------------------------------------------------------------------
   11. Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mb-2 { margin-bottom: 2rem; }
.max-60 { max-width: 60ch; }
.max-50 { max-width: 50ch; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hide-mobile { display: none; } @media (min-width: 900px) { .hide-mobile { display: initial; } }
.legal { font-size: var(--fs-small); }
.legal h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.012em; margin: 2.5em 0 .7em; color: var(--fg); }
.legal h3 { font-size: 1.1rem; font-weight: 500; margin: 1.8em 0 .5em; color: var(--fg); }
.legal p { margin: 0 0 .9em; }

@media print {
  .topbar, .header, .mobile-nav, .anchor-nav, .footer__top, .cta-band, .hero__art, .status { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}

/* --------------------------------------------------------------------------
   3D-Modell „Ausfallpunkt“ (Startseite, Abschnitt 01)
   Bühne, Bedienleiste, Ablauf und Erklärsatz bilden einen dunklen Block, der auf
   einen Bildschirm passt. Logik: assets/js/ausfallpunkt.js. Ohne WebGL, bei
   reduzierter Bewegung oder ohne JavaScript bleibt die Zeichnung (.diagram) stehen.
   -------------------------------------------------------------------------- */
.v3-sec[hidden], .v3-home[hidden] { display: none; }
/* Dunkle Section über die ganze Breite. Der obere Teil (.v3) füllt den Bildschirm unter dem Menü: Bühne, Bedienleiste, Ablauf, Erklärsatz.
   Die drei Erläuterungen stehen im Erklärbereich, jeweils zur ausgelösten Störung (.v3-point). --v3-pad richtet Inhalte am Seitenraster aus. */
.v3-wrap { scroll-margin-top: var(--nav-h); }
/* 1 px unter den Hero geschoben: Bei krummen Pixelhöhen blitzt sonst an der Nahtstelle der weiße Seitenhintergrund durch */
.v3-sec { margin-top: -1px; --v3-line: rgba(227, 226, 218, .16); --v3-alert: #ff5a64; --v3-pad: max(var(--gutter), calc((100% - var(--container)) / 2)); color: var(--sand); background: var(--ink-deep); }
.v3 { position: relative; display: grid; grid-template-rows: auto minmax(22rem, 1fr) auto auto; min-width: 0; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); }
/* Überschrift und Einleitung: in schmalen oder niedrigen Fenstern als Block über der Bühne, sonst links über der Szene (siehe unten) */
/* Abstand oben wie bei allen Sections (--section) */
.v3-intro { grid-row: 1; padding: var(--section) var(--v3-pad) clamp(2rem, 4vw, 3.5rem); }
.v3-intro .sec-head { margin-bottom: 0; }
.v3-intro .h2 { color: var(--white); }
.v3-intro .prose { color: var(--sand); }
.v3-stage { grid-row: 2; } .v3-bar { grid-row: 3; } .v3-msg { grid-row: 4; }
.v3-stage { position: relative; width: 100%; min-height: 0; border-bottom: 1px solid var(--v3-line); background: linear-gradient(180deg, var(--ink-deep) 0%, rgba(0, 25, 35, 0) 32%), radial-gradient(110% 85% at 70% 36%, #063a4a 0%, var(--ink) 46%, var(--ink-deep) 100%); overflow: hidden; touch-action: pan-y; cursor: grab; }
.v3-stage:active { cursor: grabbing; }
.v3-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; outline: 0; }
.v3-stage canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--signal); }
.v3-sec[data-loading] .v3-stage::after { content: "3D-Ansicht wird geladen"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.v3-sec[data-loading] .v3-bar { opacity: .45; pointer-events: none; }
.v3-label { position: absolute; z-index: 2; left: 0; top: 0; transform: translate(-50%, -100%); margin: 0; cursor: pointer; font-family: var(--font-mono); font-size: .7rem; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); white-space: nowrap; padding: .25rem .35rem .5rem; text-shadow: 0 1px 6px var(--ink-deep), 0 0 2px var(--ink-deep); transition: color .3s, opacity .3s; }
.v3-label.is-hidden { opacity: 0; pointer-events: none; }
.v3-label:hover, .v3-label[aria-expanded="true"] { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.v3-label:focus-visible { outline: 2px solid var(--signal); outline-offset: 0; }
/* Info-Karte zu einem Element: Glas-Optik mit den abgeschrägten Ecken und der Linie mit Kerben aus dem Indra-Design */
.v3-card { --cut: 12px; position: absolute; z-index: 4; left: 0; top: 0; width: min(20rem, calc(100% - 24px)); padding: 1.1rem 2.6rem 1.25rem 1.25rem; color: var(--white); background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04) 45%), rgba(0, 37, 50, .5); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); cursor: default; }
.v3-card[hidden] { display: none; }
.v3-card__title { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.v3-card__rule { position: relative; display: block; height: 2px; margin: .7rem 0 .75rem; background: var(--white); }
.v3-card__rule::before, .v3-card__rule::after { content: ""; position: absolute; top: -5px; width: 6px; height: 12px; background: var(--white); }
.v3-card__rule::before { left: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.v3-card__rule::after { right: 0; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.v3-card__text { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--sand); }
.v3-card__close { position: absolute; right: .55rem; top: .45rem; width: 2rem; height: 2rem; font-size: 1.15rem; line-height: 1; color: var(--sand); }
.v3-card__close:hover { color: var(--white); }
.v3-card__close:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
@media (max-width: 700px) { .v3-card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: none !important; } }
.v3-label::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: .35rem; background: currentColor; opacity: .6; }
.v3-label[data-state="fail"] { color: var(--v3-alert); }
.v3-label[data-state="active"] { color: var(--signal); }
/* ---------- Bedienbereich unter der Bühne ----------
   Zeile 1: die drei Auslöser, rechts Zurücksetzen. Zeile 2: drei Spalten, jede Aussage steht nur einmal:
   Lage (Fortschritt, Lagezeile, Satz des Modells) · Ihre Wege (Zustand der vier Wege) · In der Praxis (allgemeine Aussage). */
.v3-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .85rem var(--v3-pad); border-bottom: 1px solid var(--v3-line); background: rgba(0, 25, 35, .6); }
.v3-dock__label, .v3-col-label { font-family: var(--font-mono); font-size: .68rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.v3-dock__label { margin: 0 .7rem 0 0; }
.v3-btn { font-weight: 500; font-size: .95rem; line-height: 1.3; color: var(--sand); border: 1px solid rgba(227, 226, 218, .35); padding: .6rem 1.1rem; min-height: 2.75rem; transition: background .2s, color .2s, border-color .2s; }
.v3-btn:hover { border-color: var(--sand); }
.v3-btn[aria-pressed="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.v3-btn:focus-visible, .v3-reset:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
/* Einstieg: der nächste noch nicht gezeigte Auslöser pulsiert, bis jemand selbst etwas bedient */
.v3-btn[data-cue] { border-color: var(--signal); animation: v3-cue 1.8s ease-out infinite; }
@keyframes v3-cue { 0% { box-shadow: 0 0 0 0 rgba(0, 176, 189, .6); } 100% { box-shadow: 0 0 0 .75rem rgba(0, 176, 189, 0); } }
/* Zurück in den Normalbetrieb: ruhig am rechten Rand, im Normalbetrieb selbst unsichtbar */
.v3-reset { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .25rem; font-size: .9rem; color: var(--stone); transition: color .2s; }
.v3-reset svg { width: 1rem; height: 1rem; flex: none; }
.v3-reset:hover { color: var(--white); }
.v3-reset[aria-pressed="true"] { visibility: hidden; }

.v3-msg { --v3-gap: clamp(1.25rem, 2.6vw, 2.75rem); box-sizing: border-box; display: grid; gap: 1.1rem var(--v3-gap); align-content: start; margin: 0; padding: 1.1rem var(--v3-pad) 1.4rem; color: var(--sand); font-size: .95rem; line-height: 1.55; min-height: 24.5rem; }
.v3-msg p { margin: 0; }
.v3-col-label { margin-bottom: .5rem; }
/* Spalte 1, Lage: drei Striche zeigen den Ablauf (Störung, Ausfall, Satellit übernimmt), daneben die Lagezeile */
.v3-lage { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; min-height: 1.1rem; }
.v3-steps { display: flex; gap: .25rem; flex: none; }
.v3-steps li { width: 1.5rem; height: 3px; background: rgba(227, 226, 218, .2); transition: background .3s; }
.v3-steps[data-phase="1"] li:nth-child(1), .v3-steps[data-phase="2"] li:nth-child(-n+2) { background: var(--v3-alert); }
.v3-steps[data-phase="3"] li { background: var(--signal); }
.v3-banner { font-family: var(--font-mono); font-size: .68rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.v3-banner[data-state="fail"] { color: var(--v3-alert); }
/* Spalte 2, Ihre Wege: Name links, Zustand rechts. Ausfall rot, Standby mit leerem Punkt */
.v3-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.75rem; }
.v3-chips li { display: grid; grid-template-columns: .5rem minmax(0, 1fr) auto; align-items: center; gap: .55rem; padding-block: .12rem; border-bottom: 1px solid var(--v3-line); color: var(--sand); transition: color .3s; }
.v3-chips i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--signal); }
.v3-chip__state { font-family: var(--font-mono); font-weight: 400; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); }
.v3-chips [data-state="fail"] { color: var(--v3-alert); }
.v3-chips [data-state="fail"] i { background: var(--v3-alert); }
.v3-chips [data-state="fail"] .v3-chip__state { color: var(--v3-alert); }
.v3-chips [data-state="standby"] i { background: transparent; box-shadow: inset 0 0 0 1px var(--stone); }
.v3-chips [data-state="warn"], .v3-chips [data-state="warn"] .v3-chip__state { color: #ffc97a; }
.v3-chips [data-state="warn"] i { background: #ffc97a; }
.v3-chips [data-state="standby"] .v3-chip__state { color: var(--stone); }
.v3-chips li[data-chip="sat"][data-state="ok"] { color: var(--white); }
/* Spalte 3, In der Praxis: die allgemeine Aussage zur ausgelösten Störung. Die drei Texte kommen aus dem hellen Abschnitt (#v3-points) */
.v3-point { min-width: 0; }
.v3-point__hint { color: var(--stone); font-size: .9rem; line-height: 1.5; max-width: 34em; }
.v3-point[data-active] .v3-point__hint { display: none; }
.v3-point[data-active]::before { content: "In der Praxis"; display: block; margin-bottom: .5rem; font-family: var(--font-mono); font-size: .68rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.v3-point .grid { display: block; margin: 0; }
.v3-point [data-point] { display: none; opacity: 1; transform: none; transition: none; }
.v3-point [data-point][data-on] { display: block; }
.v3-point .h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--white); }
.v3-point .prose { margin-top: .2rem; font-size: .9rem; line-height: 1.5; color: var(--sand); max-width: 38em; }
/* Ab Tablet: Lage und Wege nebeneinander, die Praxis-Aussage darunter. Ab 1280 px alle drei nebeneinander */
@media (min-width: 701px) {
  .v3-msg { grid-template-columns: minmax(0, 1fr) 21rem; min-height: 15.5rem; }
  .v3-ways { padding-left: var(--v3-gap); border-left: 1px solid var(--v3-line); }
  .v3-point { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--v3-line); }
}
@media (min-width: 1280px) {
  .v3-msg { grid-template-columns: minmax(0, 1.2fr) 23.5rem minmax(0, 1fr); min-height: 9.75rem; }
  .v3-point { grid-column: auto; padding-top: 0; border-top: 0; padding-left: var(--v3-gap); border-left: 1px solid var(--v3-line); }
}
@media (max-width: 700px) {
  .v3 { min-height: 0; grid-template-rows: auto clamp(22.5rem, 58vh, 28rem) auto auto; }
  .v3-label { font-size: .75rem; letter-spacing: .04em; padding: .2rem .25rem .4rem; }
  .v3-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; padding: .65rem var(--v3-pad); }
  .v3-dock__label { display: none; }
  .v3-bar .v3-btn { padding: .45rem .5rem; font-size: .9rem; }
  .v3-reset { margin: 0; justify-content: center; border: 1px dashed rgba(227, 226, 218, .3); }
  /* Am Handy richtet sich die Höhe des Erklärbereichs nach dem Inhalt; die Bühne hat dafür eine feste Höhe, damit das Modell beim Auslösen nicht springt */
  .v3-msg { padding: .9rem var(--v3-pad) 3.5rem; font-size: .9rem; line-height: 1.45; min-height: 0; }
  .v3-chips { gap: .25rem 1.1rem; }
  .v3-lage { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .v3-banner { letter-spacing: .08em; }
}
@media (max-width: 350px) { .v3-bar .v3-btn { font-size: .84rem; } .v3-chips { gap: .25rem .7rem; } .v3-chip__state { letter-spacing: .04em; } }
@media (prefers-reduced-motion: reduce) { .v3-label, .v3-btn, .v3-reset, .v3-steps li, .v3-chips li { transition: none; } .v3-btn[data-cue] { animation: none; box-shadow: 0 0 0 2px rgba(0, 176, 189, .55); } }
/* Breites und ausreichend hohes Fenster: Überschrift und Einleitung liegen links über der Szene, die Szene rückt nach rechts
   (ausfallpunkt.js misst den Textblock). Der obere Abstand entspricht dem der übrigen Sections, in niedrigen Fenstern etwas weniger.
   Reicht die Höhe für den Text nicht, setzt ausfallpunkt.js .v3--stack: dann steht er als Block über der Bühne.
   Die linke Spalte gehört dem Text. */
@media (min-width: 1100px) and (min-height: 760px) {
  .v3:not(.v3--stack) .v3-intro { position: absolute; z-index: 2; left: var(--v3-pad); top: min(var(--section), max(13vh, calc(26vh - 6.5rem))); width: min(30rem, 34%); padding: 0; pointer-events: none; }
  .v3:not(.v3--stack) .v3-intro .sec-head { display: block; }
  .v3:not(.v3--stack) .v3-intro .sec-head > .sec-head__aside { margin-top: 1.25rem; padding-bottom: 0; }
  .v3:not(.v3--stack) .v3-intro .h2 { font-size: clamp(2rem, 1.1rem + 1.7vw, 2.75rem); }
  .v3:not(.v3--stack) .v3-intro .prose { font-size: .9375rem; line-height: 1.55; max-width: none; }
  .v3:not(.v3--stack) .v3-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0, 25, 35, .82) 0%, rgba(0, 25, 35, .55) 24%, rgba(0, 25, 35, 0) 46%); }
}
@media print { .v3-stage, .v3-bar, .v3-msg { display: none; } .v3 { min-height: 0; } .v3-sec { background: none; color: inherit; } }
@media (max-width: 350px) { .stats .stat__value { font-size: 1.65rem !important; } }
.limits__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.limits__list li { position: relative; padding-left: 1.25rem; color: var(--fg-2); font-size: var(--fs-small); line-height: 1.55; }
.limits__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: 1px; background: var(--signal); }
@media (max-width: 899px) { .limits > * + * { margin-top: 1.5rem; } }
.limits { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
@media (max-width: 899px) { .step__num { font-size: .95rem; letter-spacing: -.02em; } }
@media (max-width: 419px) { .step { grid-template-columns: 4.25rem minmax(0, 1fr) !important; } }
@media (max-width: 640px) { .tiles--5 > .tile { min-height: 0 !important; } }
/* Sehr niedrige Fenster (kleine Laptops): Überschriften an die Fensterhöhe koppeln, damit der Kopf auf einen Bildschirm passt */
@media (min-width: 900px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 1.75rem; }
  .hero__title { font-size: min(var(--fs-display), 10.5vh); }
  .hero__lead { margin-top: 1.1rem; }
  .hero .btn-row { margin-top: 1.5rem; }
  .hero__foot { margin-top: 1.5rem; }
  .page-hero { padding-top: 1.75rem; padding-bottom: 2rem; }
  .page-hero__title { font-size: min(var(--fs-h1), 8.2vh); }
  .page-hero--photo .page-hero__title { font-size: min(clamp(2.1rem, 1.2rem + 2.5vw, 3.5rem), 6.4vh); }
  .page-hero__title--wide { font-size: min(clamp(2.2rem, 1.3rem + 3vw, 4rem), 6.6vh); }
  .page-hero__lead { margin-top: 1rem; }
  .page-hero__meta { margin-top: 1.1rem; padding-top: 1rem; }
  .page-hero .btn-row { margin-top: 1.25rem; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 1.25rem; }
  .hero__title { font-size: min(var(--fs-display), 9.4vh); }
  .hero__lead { margin-top: .9rem; }
  .hero .btn-row, .hero__foot { margin-top: 1.1rem; }
}
/* Suchwort-Zeile als Teil der Hauptüberschrift: sieht aus wie die kleine Zeile darüber, zählt aber zur H1 */
.kw-h1 { font-size: 1rem; font-weight: inherit; line-height: inherit; letter-spacing: normal; -webkit-hyphens: manual; hyphens: manual; }
.kw-h1 > span { display: block; }
.kw-h1 > .eyebrow { display: flex; }
.kw-h1 > .sr-only { display: inline; }
/* Themenseiten (NIS2-Unterseiten, KRITIS, Notfallmanagement): nummerierte Liste, Quellen und Weiterlesen */
.num-list { counter-reset: n; display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; gap: .6rem; color: var(--fg-2); font-size: var(--fs-small); line-height: 1.5; }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; color: var(--fg); padding-top: .2rem; }
.num-list strong { color: var(--fg); font-weight: 500; }
.dash-list a, .num-list a, .step__text a, .note a, .page-hero__meta a, .compare a, .acc__body a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.dash-list a:hover, .num-list a:hover, .step__text a:hover, .note a:hover, .page-hero__meta a:hover, .compare a:hover, .acc__body a:hover { color: var(--fg); }
.src-list li { overflow-wrap: anywhere; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.page-wissen .compare td:first-child { white-space: normal; }
/* Handy und Tablet: Das Foto im Seitenkopf liegt hinter dem ganzen Text. Deshalb dort gleichmäßig stark abdunkeln
   und die grauen Textteile aufhellen, damit kleine Schrift (Zeile über der Überschrift, Zielgruppen) lesbar bleibt. */
@media (max-width: 899px) {
  .page-hero--photo::before { background: linear-gradient(180deg, rgba(0, 25, 35, .86) 0%, rgba(0, 25, 35, .9) 30%, rgba(0, 25, 35, .94) 100%); }
  .page-hero--photo .eyebrow, .page-hero--photo .page-hero__meta { color: var(--sand); }
  .page-hero--photo .page-hero__title .mute { color: #c5c9c6; }
  .page-hero--photo .page-hero__lead { color: #eef0ec; }
}
/* Kontaktseite: Kontaktdaten und Formular als zwei klar getrennte Blöcke; am Handy mit Linie und Abstand dazwischen */
.kcard { --cut: 14px; padding: clamp(1.4rem, 3vw, 2rem); background: var(--ink); color: var(--white);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.kcard__label { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.1rem; }
.kcard__addr { font-style: normal; color: var(--sand); line-height: 1.5; padding-bottom: 1.2rem; }
.kcard__addr b { display: block; color: var(--white); font-weight: 500; font-size: 1.1rem; margin-bottom: .15rem; }
.kcard small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: .15rem; }
.kcard__row { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--white); font-size: 1.05rem; overflow-wrap: anywhere; transition: color var(--t-fast); }
.kcard__row:hover { color: var(--signal); }
.kcard__ic { width: 1.4rem; height: 1.4rem; color: var(--signal); }
.kcard__row .arr { width: .9rem; height: .9rem; }
.kcard__foot { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--sand); font-size: var(--fs-small); line-height: 1.5; }
.kontakt-form__title { margin-bottom: 1.5rem; }
@media (max-width: 899px) { .kontakt-form { margin-top: 1.5rem; } }
code { font-family: var(--font-mono); font-size: .9em; }
/* Texteditor: Anmeldeseite, Leiste und Markierung der Textstellen (nur für angemeldete Redakteure sichtbar) */
.ed-login { max-width: 30rem; margin: 0 auto; padding: clamp(3rem, 10vh, 7rem) var(--gutter) 4rem; }
.ed-login .h3 { margin-bottom: 1rem; }
.ed-login .form { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.ed-login__ok, .ed-login__err { padding: .75rem 1rem; margin-bottom: 1.25rem; font-size: var(--fs-small); border-left: 2px solid var(--signal); background: var(--sand-2); }
.ed-login__err { border-left-color: #c2410c; }
.ed-login__secret { margin: 1rem 0; padding: 1rem; background: var(--ink); color: var(--white); font-size: 1.15rem; letter-spacing: .08em; overflow-wrap: anywhere; }
.is-editing main [data-e] { outline: 1px dashed transparent; outline-offset: 3px; cursor: text; transition: outline-color var(--t-fast); }
.is-editing main [data-e]:hover { outline-color: var(--signal); }
.is-editing main [data-e]:focus { outline: 2px solid var(--signal); }
.is-editing main [data-e].is-changed { outline: 2px solid #e8a23a; }
.is-editing body { padding-bottom: 5rem; }
.edbar { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px)); background: var(--ink-deep); color: var(--sand); font-size: var(--fs-small); border-top: 2px solid var(--signal); }
.edbar__left, .edbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.edbar strong { color: var(--white); font-weight: 500; }
.edbar__note { color: var(--white); }
.edbar__btn { min-height: 2.5rem; padding: .4rem 1.1rem; font-weight: 500; color: var(--ink); background: var(--sand); border: 1px solid var(--sand); }
.edbar__btn:disabled { opacity: .45; }
.edbar__btn--ghost { background: none; color: var(--sand); border-color: rgba(227, 226, 218, .4); }
.edbar__link { color: var(--sand); text-decoration: underline; text-underline-offset: .18em; }
.ed-login__qr { margin: 1.25rem 0; line-height: 0; } .ed-login__qr svg { max-width: 100%; height: auto; border: 1px solid var(--line); }
.ed-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-small); }
.ed-list form { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.ed-list a { text-decoration: underline; text-underline-offset: .18em; }
.is-editing main [data-e].is-draft { outline: 2px dotted var(--signal); }
