/* =========================================================================
   4D-LIGHTweight GmbH · Website
   Konzept: Blauer "Viewport" am Anfang und am Ende (Berechnung, Kontakt),
   dazwischen ruhiges Zeichenpapier, Abschnitte durch Linien und Bildbänder
   getrennt. Eine Schrift (Archivo) in wenigen, festen Größen. Monospace nur
   im Rechenwerkzeug des Startbereichs.
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jbmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jbmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farbe */
  --ink: #0f1322;          /* Tiefblau der Präsentation: Anfang und Ende */
  --ink-2: #171c30;        /* angehobene Fläche auf Blau */
  --paper: #efeeea;        /* Zeichenpapier: alles dazwischen */
  --blue: #213c8b;         /* Logoblau */
  --blue-soft: #8fa5ff;    /* Blau auf Dunkel */
  --blue-tint: rgba(33, 60, 139, 0.06);
  --force: #e08a2a;        /* Orange nur für Handlung und Kraftpfeil */
  --force-2: #f0a04a;
  --text: #22283c;
  --muted: #4a5170;
  --white: #ffffff;
  --on-dark: #e9ecf6;
  --on-dark-muted: #a6aecb;
  --line: rgba(15, 19, 34, 0.12);
  --line-strong: rgba(15, 19, 34, 0.26);
  --line-dark: rgba(200, 210, 255, 0.15);
  --error-dark: #ffab7a;

  /* Schrift: eine Familie, feste Größen */
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --head: 106%;            /* Schriftbreite aller Überschriften */
  --fs-display: clamp(2.6rem, 1.1rem + 3.9vw, 5.1rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.3vw, 3.3rem);
  --fs-xl: clamp(1.4rem, 1.1rem + 1.05vw, 2.05rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.3vw, 1.35rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Maß */
  --gutter: max(20px, min(4vw, 48px));
  --container: 1320px;
  --header-h: 76px;
  --section: clamp(84px, 10vw, 152px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-stretch: 100%;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; font-stretch: var(--head); }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
figure { margin: 0; }
address { font-style: normal; }
dl, dd { margin: 0; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--force); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.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;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--force); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none;
  border-radius: var(--radius); transition: top 0.2s;
}
.skip:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--s { width: 16px; height: 16px; }
.icon--flip { transform: scaleX(-1); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 1600px) { :root { --container: 1440px; } }

/* ---------- Abschnitte und Typografie ---------- */
.section { position: relative; padding-block: var(--section); }
.section--ruled { padding-top: 0; }
.section--ruled > .container { position: relative; padding-top: var(--section); }
.section--ruled > .container::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line-strong);
  left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 84px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: end; }
}
.section-title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }
.section-title .light { display: block; font-weight: 330; color: var(--blue); }
.section-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.mini-title { font-size: var(--fs-small); font-weight: 600; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 18px; }

/* dunkle Flächen: Anfang und Ende */
.blueprint { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.blueprint__bg { position: absolute; inset: 0; pointer-events: none; }
.blueprint__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 165, 255, 0.16) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 85% at 60% 45%, #000 30%, transparent 90%);
  mask-image: radial-gradient(75% 85% at 60% 45%, #000 30%, transparent 90%);
}
.blueprint .section-title { color: var(--white); }
.blueprint .section-lead { color: var(--on-dark-muted); }

/* Schnittmarken wie auf dem Zeichenblatt */
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: -9px; pointer-events: none; z-index: 2;
  --c: var(--line-strong);
  background:
    linear-gradient(var(--c), var(--c)) top left / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 14px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--force { --bg: var(--force); --fg: var(--ink); --bd: var(--force); }
.btn--force:hover { --bg: var(--force-2); --bd: var(--force-2); }
.btn--ghost { --bd: rgba(233, 236, 246, 0.35); --fg: var(--on-dark); }
.btn--ghost:hover { --bg: rgba(233, 236, 246, 0.08); --bd: rgba(233, 236, 246, 0.6); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-header__inner {
  height: var(--header-h);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: flex; align-items: center; gap: 28px;
}
.site-header.is-solid {
  background: rgba(239, 238, 234, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__logo { display: block; color: inherit; flex: none; }
.site-header__logo .logo { height: 28px; width: auto; color: var(--white); transition: color 0.35s var(--ease); }
.site-header.is-solid .site-header__logo .logo { color: var(--blue); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; display: flex; gap: 26px; }
.site-nav__list a { text-decoration: none; font-size: 0.96rem; font-weight: 500; position: relative; padding-block: 6px; }
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a.is-current::after { transform: scaleX(1); }
.site-nav__cta { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }

.lang { position: relative; flex: none; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: currentColor; }
.lang__btn .icon--s { transition: transform 0.25s var(--ease); }
.lang__btn[aria-expanded="true"] .icon--s { transform: rotate(180deg); }
.lang__menu {
  list-style: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 18px 50px -12px rgba(15, 19, 34, 0.35), 0 0 0 1px var(--line);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang.is-open .lang__menu, .no-js .lang:focus-within .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 2px; text-decoration: none; font-size: 0.95rem; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--paper); }
.lang__menu a[aria-current="true"] { color: var(--blue); font-weight: 600; }
.lang__short { font-size: 0.8rem; font-weight: 600; width: 24px; color: var(--muted); letter-spacing: 0.04em; }
.lang__menu a[aria-current="true"] .lang__short { color: var(--blue); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 10px;
  background: none; border: 0; cursor: pointer; font-size: 0.9rem; font-weight: 500;
}
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle__bars i:first-child { top: 1px; }
.menu-toggle__bars i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 5px; transform: rotate(-45deg); }
.no-js .menu-toggle { display: none; }
/* Ohne JavaScript bleibt die Kopfzeile am Seitenanfang stehen, statt Inhalte zu überdecken */
.no-js .site-header { position: absolute; }

@media (max-width: 1080px) {
  .site-header__inner { gap: 10px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .lang { margin-left: auto; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 36px;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px) max(var(--gutter), env(safe-area-inset-right, 0px)) 40px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--ink); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 6px; }
  .site-nav__list a { font-size: var(--fs-h2); font-stretch: var(--head); font-weight: 600; letter-spacing: -0.02em; }
  .site-nav__cta { min-height: 52px; padding: 0 22px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open .site-header__logo .logo { color: var(--white); }
}
@media (max-width: 420px) {
  .menu-toggle__label { display: none; }
  .site-header__logo .logo { height: 24px; }
}
@media (max-width: 340px) { .lang__btn .icon:first-child { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(28px, 5vw, 72px)); }
.hero .blueprint__bg {
  background:
    radial-gradient(52% 62% at 74% 46%, rgba(47, 79, 181, 0.42), transparent 72%),
    radial-gradient(40% 50% at 10% 100%, rgba(33, 60, 139, 0.28), transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 5.7fr) minmax(0, 6.3fr); gap: clamp(28px, 3.5vw, 64px); align-items: center; }
}
.hero__kicker { font-size: var(--fs-lead); font-weight: 500; color: var(--blue-soft); margin-bottom: 20px; }
.hero__title {
  font-size: var(--fs-display);
  font-stretch: 100%;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--white);
  margin-bottom: 28px;
  text-wrap: initial;
}
.hero__title--long { font-size: clamp(2.3rem, 0.9rem + 3.4vw, 4.5rem); }
@media (max-width: 350px) { .hero__title { font-size: 2.2rem; } .hero__title--long { font-size: 2rem; } }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__line > span { display: inline-block; }
/* Die zweite Zeile verliert mit dem Bauteil an Gewicht. Die Schriftbreite gleicht das aus (fett = schmaler),
   damit die Zeile gleich lang bleibt und beim Abspecken nicht umbricht. */
.hero__line--light > span { --w: 760; --wd: 84; font-weight: var(--w); font-stretch: calc(var(--wd) * 1%); color: var(--blue-soft); transition: font-weight 0.5s var(--ease), font-stretch 0.5s var(--ease); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark-muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { position: relative; min-width: 0; }
.topo {
  position: relative; width: 100%; aspect-ratio: 16 / 10.4;
  --topo-deep: #2a46b8; --topo-mid: #6f8cff; --topo-hot: #ffb15c; --topo-edge: #e3e9ff; --topo-grid: #8fa3ff;
}
.topo canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; border-radius: 2px; }
.topo canvas:focus-visible { outline-offset: -2px; }
.topo__overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.topo__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; }
.no-js .topo__poster, .topo--static .topo__poster { display: block; }
.no-js .topo canvas, .topo--static canvas { display: none; }
/* Standbild (ohne JavaScript oder ohne WebGL): keine Live-Anzeige, die nichts anzeigen kann */
.no-js .topo__hud, .topo--static ~ .topo__hud { display: none; }
.topo__frame { fill: none; stroke: rgba(143, 163, 255, 0.28); stroke-dasharray: 3 4; }
.topo__dim { stroke: rgba(200, 210, 255, 0.32); stroke-width: 1; }
.topo__dimtext { fill: rgba(200, 210, 255, 0.62); font: 500 11px/1 var(--mono); letter-spacing: 0.02em; }
.topo__support line, .topo__support path, .topo__support circle { stroke: #c9d3ff; stroke-width: 1.4; fill: none; }
.topo__load { stroke: var(--force); stroke-width: 2.2; }
.topo__load-head { fill: var(--force); }
.topo__load--ghost { opacity: 0.55; stroke-dasharray: 4 3; }
.topo__load--ghost-head { fill: var(--force); opacity: 0.55; }
.topo__loadtext { fill: var(--force); font: 600 13px/1 var(--mono); }
.topo__axis-x { stroke: var(--force); stroke-width: 1.4; } .topo__axis-xh { fill: var(--force); }
.topo__axis-y { stroke: var(--blue-soft); stroke-width: 1.4; } .topo__axis-yh { fill: var(--blue-soft); }
.topo__axtext { fill: rgba(200, 210, 255, 0.7); font: 500 10px/1 var(--mono); }

.topo__hud { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--on-dark-muted); }
.topo__readout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.topo__label { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.topo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--force); animation: pulse 1.6s infinite; }
.topo.is-converged ~ .topo__hud .topo__dot { animation: none; background: #7ee2a8; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 138, 42, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(224, 138, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 138, 42, 0); } }
.topo__values { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topo__values > div { display: flex; gap: 8px; }
.topo__values dt { color: var(--on-dark-muted); }
.topo__values dd { color: var(--on-dark); font-variant-numeric: tabular-nums; min-width: 3ch; }
.topo__status dd { color: var(--blue-soft); }
.topo__legend { display: grid; grid-template-columns: auto minmax(80px, 180px) auto; align-items: center; gap: 10px; }
.topo__scale i { display: block; height: 6px; border-radius: 1px; background: linear-gradient(90deg, #2a46b8, #6f8cff 55%, #e3e9ff 80%, #ffb15c); }
.topo__ends { display: flex; gap: 10px; }
.topo__ends em { font-style: normal; }
.topo__hint { font-family: var(--sans); font-size: var(--fs-small); line-height: 1.5; color: var(--on-dark-muted); max-width: 62ch; }
@media (max-width: 400px) {
  .topo__legend { grid-template-columns: minmax(60px, 1fr) auto; }
  .topo__legend > span:first-child { grid-column: 1 / -1; }
}

.facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.facts__item { padding: 22px 20px 32px 0; display: grid; gap: 4px; align-content: start; }
.facts__item + .facts__item { padding-left: clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line-dark); }
.facts dt { font-size: var(--fs-xl); font-weight: 600; font-stretch: var(--head); color: var(--white); letter-spacing: -0.01em; }
.facts dd { font-size: var(--fs-small); color: var(--on-dark-muted); line-height: 1.4; max-width: 26ch; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts__item { padding: 16px 0; display: flex; align-items: baseline; gap: 16px; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .facts dt { min-width: 3.4em; }
}

/* Hero-Auftakt */
.js [data-intro] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .hero__line[data-intro] { opacity: 1; transform: none; }
.js .hero__line[data-intro] > span { transform: translateY(108%); transition: transform 1.05s var(--ease-out); }
.js .is-loaded [data-intro] { opacity: 1; transform: none; }
.js .is-loaded .hero__line[data-intro] > span { transform: none; }
.js .is-loaded [data-intro="2"], .js .is-loaded [data-intro="2"] > span { transition-delay: 0.08s; }
.js .is-loaded [data-intro="3"], .js .is-loaded [data-intro="3"] > span { transition-delay: 0.2s; }
.js .is-loaded [data-intro="4"] { transition-delay: 0.38s; }
.js .is-loaded [data-intro="5"] { transition-delay: 0.5s; }

/* ---------- Unser Ziel ---------- */
.about__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.about__statement { margin-top: 18px; font-size: var(--fs-xl); font-weight: 400; font-stretch: var(--head); letter-spacing: -0.015em; line-height: 1.22; color: var(--blue); max-width: 26ch; text-wrap: balance; }
.about__text { display: grid; gap: 18px; color: var(--muted); max-width: 56ch; align-content: end; }
.about__text p:first-child { color: var(--text); font-size: var(--fs-lead); line-height: 1.55; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 112px); align-items: end; }
}

/* Bildband als Abschnittstrenner (Parallaxe) */
.band { position: relative; height: clamp(240px, 34vw, 500px); overflow: hidden; background: #0b0c10; }
.band__img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: 50% 45%; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }

/* ---------- Fähigkeiten ---------- */
.skills__list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.skill { padding: 28px 0 34px; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); }
.skill__icon { width: 52px; height: 52px; color: var(--blue); margin-bottom: 10px; }
.skill__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.skill__text { color: var(--muted); }
@media (min-width: 700px) {
  .skills__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill { padding-right: 28px; }
  .skill:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .skills__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .skill { border-bottom: 0; padding: 32px 26px 8px; }
  .skill:first-child { padding-left: 0; }
  .skill + .skill { border-left: 1px solid var(--line); }
  .skill:nth-child(2n) { padding-left: 26px; }
}

/* ---------- Leistungen (Prozess) ---------- */
.process__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.process__steps { list-style: none; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-size: var(--fs-xl); font-weight: 600; font-stretch: var(--head); line-height: 1.1; color: var(--blue); }
.step__title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.step__short { color: var(--text); max-width: 52ch; }
.step__text { color: var(--muted); margin-top: 12px; max-width: 54ch; }
.step__media { margin-top: 22px; }
.step__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.process__rail, .process__stage { display: none; }

@media (min-width: 1000px) {
  .process__grid { grid-template-columns: minmax(0, 5fr) 48px minmax(0, 6fr); column-gap: clamp(16px, 2.5vw, 40px); align-items: start; }
  .step { min-height: 40vh; align-content: center; border: 0; padding: 40px 0; }
  .step:last-child { border: 0; }
  .step .step__title, .step .step__short, .step .step__num { color: #636985; transition: color 0.5s var(--ease); }
  .step.is-active .step__title { color: var(--ink); }
  .step.is-active .step__short { color: var(--text); }
  .step.is-active .step__num { color: var(--blue); }
  .step__text { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease); margin-top: 0; }
  .step.is-active .step__text { max-height: 14em; opacity: 1; margin-top: 14px; }
  .step__media { display: none; }
  .process__rail { display: block; position: sticky; top: 22vh; height: 56vh; margin-top: 23vh; justify-self: center; width: 28px; }
  .process__track, .process__progress { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
  .process__track { bottom: 0; width: 1px; background: var(--line-strong); }
  .process__progress { height: 0; width: 4px; border-radius: 2px; background: var(--blue); transition: height 0.25s linear; }
  .process__progress::after { content: ""; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 14px solid var(--blue); }
  .process__tick { position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 16px; height: 1.5px; background: var(--ink); transform: translateX(-50%); }
  .process__stage { display: block; position: sticky; top: calc(var(--header-h) + 8vh); width: 100%; aspect-ratio: 4 / 3.4; max-height: calc(100vh - var(--header-h) - 14vh); margin-top: 8vh; background: var(--paper); }
  .process__shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease-out); transform: scale(1.03); }
  .process__shot.is-active { opacity: 1; transform: none; }
  .process__img { width: 100%; height: 100%; object-fit: cover; }
  .process__caption { position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: var(--paper); color: var(--ink); font-size: var(--fs-small); font-weight: 500; display: flex; gap: 10px; }
  .process__caption b { color: var(--blue); font-weight: 600; }
}

/* Ohne JavaScript sind alle Schritte gleichzeitig lesbar */
.no-js .step .step__title { color: var(--ink); }
.no-js .step .step__short { color: var(--text); }
.no-js .step .step__num { color: var(--blue); }
.no-js .step__text { max-height: none; opacity: 1; margin-top: 14px; }

/* ---------- Leitthemen ---------- */
.four { display: inline-block; height: 0.86em; width: auto; flex: none; }
.themes__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.theme-tab {
  position: relative; display: grid; gap: 8px; align-content: start; text-align: left; min-width: 0;
  padding: 22px 18px 24px; background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  cursor: pointer; color: var(--muted); min-height: 132px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.theme-tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.theme-tab:hover { background: var(--blue-tint); color: var(--ink); }
.theme-tab[aria-selected="true"] { background: var(--blue-tint); color: var(--ink); }
.theme-tab[aria-selected="true"]::before { transform: scaleX(1); }
.theme-tab__name { display: flex; align-items: baseline; gap: 0.16em; font-size: var(--fs-xl); font-weight: 700; font-stretch: var(--head); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; color: var(--ink); }
.theme-tab__name .four { color: var(--blue); height: 0.9em; transform: translateY(0.02em); }
.theme-tab__sectors { font-size: var(--fs-small); line-height: 1.4; }
.theme-tab__icon { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; color: var(--blue); opacity: 0.45; transition: opacity 0.3s var(--ease); }
.theme-tab:hover .theme-tab__icon, .theme-tab[aria-selected="true"] .theme-tab__icon { opacity: 1; }
@media (min-width: 900px) { .themes__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .theme-tab { min-height: 156px; padding: 26px 24px 28px; } }
@media (max-width: 520px) {
  .theme-tab { padding: 18px 12px 52px 14px; min-height: 0; }
  .theme-tab__name { font-size: 1.2rem; }
  .theme-tab__icon { right: 12px; bottom: 12px; width: 28px; height: 28px; }
}

.themes__panels { position: relative; }
.theme-panel { display: grid; gap: 32px; }
.js .theme-panel { display: none; }
.js .theme-panel.is-active { display: grid; animation: panelIn 0.6s var(--ease-out); }
.no-js .theme-panel + .theme-panel { margin-top: 72px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.theme-panel:focus-visible { outline-offset: 8px; }
.theme-panel__kicker { display: flex; align-items: baseline; gap: 0.15em; font-size: var(--fs-h3); font-weight: 700; font-stretch: var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.theme-panel__kicker .four { color: var(--blue); }
.theme-panel__claim { font-size: var(--fs-xl); line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); font-weight: 400; font-stretch: var(--head); max-width: 24ch; }
.theme-panel__sectors { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
.refs { list-style: none; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .theme-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); } }
.ref { display: flex; flex-direction: column; border: 1px solid var(--line); }
.ref__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.ref__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ref__media--drawing .ref__img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.ref:hover .ref__img { transform: scale(1.035); }
.ref__media--drawing .ref__img, .ref:hover .ref__media--drawing .ref__img { transform: none; }
.ref__body { padding: 22px 22px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.ref__title { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.ref__text { color: var(--muted); }
.ref__partners { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 500; color: var(--blue); }
.ref__media--ai { display: flex; align-items: center; background: var(--blue-tint); }
.ai-chain { list-style: none; width: 100%; padding: 22px 26px; display: grid; }
.ai-chain li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 500; color: var(--ink); }
.ai-chain li + li { border-top: 1px dashed rgba(33, 60, 139, 0.25); }
.ai-chain span { font-weight: 600; color: var(--blue); width: 26px; }

/* ---------- Werkstoffe ---------- */
.materials__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.materials__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.matlist { display: grid; border-top: 1px solid var(--line-strong); }
.matlist__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.matlist dt { display: flex; align-items: center; gap: 14px; font-size: var(--fs-h3); font-weight: 600; font-stretch: var(--head); color: var(--ink); }
.matlist__hatch { width: 28px; height: 28px; color: var(--blue); flex: none; }
.matlist dd { color: var(--muted); padding-left: 42px; }
@media (min-width: 1000px) {
  .materials__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); }
  .materials__portfolio { padding-top: 4px; }
}
.processes { margin-top: clamp(56px, 7vw, 96px); }
.processes__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.proc { padding: 24px 20px 26px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.3s var(--ease); }
.proc:hover { background: var(--blue-tint); }
.proc__code { font-size: var(--fs-xl); font-weight: 700; font-stretch: var(--head); letter-spacing: 0.01em; color: var(--blue); line-height: 1.1; }
.proc__name { font-weight: 600; color: var(--ink); margin-top: 4px; }
.proc__text { color: var(--muted); }
@media (min-width: 1000px) { .processes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .proc { padding: 28px 26px 30px; } }
@media (max-width: 480px) { .processes__list { grid-template-columns: 1fr; } }
.materials__extended { display: grid; gap: 32px; margin-top: clamp(56px, 7vw, 96px); align-items: end; }
.materials__wide figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.materials__note p { color: var(--muted); max-width: 46ch; font-size: var(--fs-lead); line-height: 1.55; }
@media (min-width: 1000px) { .materials__extended { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 88px); } }

/* Aufbau Schicht für Schicht */
.js [data-build] img { clip-path: inset(100% 0 0 0); }
.js [data-build].is-in img { clip-path: inset(0 0 0 0); transition: clip-path 1.7s steps(26, end); }
.js [data-build]::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: 0; z-index: 3;
  background: var(--force); box-shadow: 0 0 12px rgba(224, 138, 42, 0.8); opacity: 0; pointer-events: none;
}
.js [data-build].is-in::after { animation: nozzle 1.7s steps(26, end) forwards; }
@keyframes nozzle { 0% { bottom: 0; opacity: 1; } 96% { opacity: 1; } 100% { bottom: calc(100% - 2px); opacity: 0; } }

/* ---------- Netzwerk ---------- */
.pillars { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.pillar { padding: 26px 0 30px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); align-content: start; }
.pillar__name { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.pillar p { color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { border-bottom: 0; padding: 30px 28px 8px; }
  .pillar:first-child { padding-left: 0; }
  .pillar + .pillar { border-left: 1px solid var(--line); }
}
.network__members { margin-top: clamp(56px, 7vw, 96px); }
.partners { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partner { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner__link { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 22px 22px 24px; text-decoration: none; transition: background-color 0.3s var(--ease); }
.partner__link:hover { background: var(--blue-tint); }
.partner__logo { display: flex; align-items: center; height: 84px; margin-bottom: 8px; }
.partner__img { max-height: 64px; width: auto; max-width: 78%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: 0.85; transition: filter 0.35s var(--ease), opacity 0.35s var(--ease); }
.partner__link:hover .partner__img, .partner__link:focus-visible .partner__img { filter: none; opacity: 1; }
.partner__name { font-weight: 600; color: var(--ink); }
.partner__text { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.partner__host { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 500; color: var(--blue); margin-top: 6px; }

/* ---------- Idee ---------- */
.idea { overflow: hidden; }
.idea__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
.idea__copy .section-lead { margin-top: 22px; }
.idea__bring-title { margin-top: 34px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.bring { list-style: none; display: grid; margin: 12px 0 36px; border-top: 1px solid var(--line); }
.bring__item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bring__icon { width: 40px; height: 40px; color: var(--blue); flex: none; }
.bring__item span { display: grid; color: var(--muted); line-height: 1.45; }
.bring__item b { color: var(--ink); font-weight: 600; }
.idea__figure { position: relative; }
.idea__img { width: 100%; mix-blend-mode: multiply; }
@media (min-width: 1000px) {
  .idea__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); }
  .idea__figure { margin-right: calc(-1 * var(--gutter)); }
}

/* ---------- Kontakt ---------- */
.contact .blueprint__bg { background: radial-gradient(48% 60% at 85% 40%, rgba(47, 79, 181, 0.4), transparent 72%), radial-gradient(40% 50% at 0% 100%, rgba(33, 60, 139, 0.26), transparent 70%); }
.contact__grid { position: relative; display: grid; gap: 40px; grid-template-columns: 1fr; grid-template-areas: "intro" "form" "address"; }
.contact__intro { grid-area: intro; }
.contact__intro .section-lead { margin-top: 22px; }
.contact .form { grid-area: form; }
.contact .address { grid-area: address; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "address form"; column-gap: clamp(40px, 5vw, 96px); row-gap: 0; align-items: start; }
}
.address { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark); }
.address a { text-decoration: none; border-bottom: 1px solid rgba(233, 236, 246, 0.3); transition: border-color 0.2s; }
.address a:hover { border-color: var(--force); }
.address__map { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--fs-small); color: var(--on-dark-muted); border-bottom: 0 !important; }

.form { position: relative; background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); padding: clamp(22px, 3vw, 44px); display: grid; gap: 22px; }
.form__title { font-size: var(--fs-xl); font-weight: 600; color: var(--white); }
.form__topics { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__topics legend { padding: 0; margin-bottom: 12px; color: var(--on-dark); }
.form__opt { color: var(--on-dark-muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(200, 210, 255, 0.25); font-size: var(--fs-small); color: var(--on-dark-muted);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover span { border-color: rgba(200, 210, 255, 0.55); color: var(--on-dark); }
.chip input:checked + span { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--force); outline-offset: 2px; }
.form__row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { color: var(--on-dark); font-size: 0.95rem; }
.req { color: var(--force); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
  background: rgba(10, 13, 25, 0.55); border: 1px solid rgba(200, 210, 255, 0.2); color: var(--white);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(166, 174, 203, 0.65); }
.field input:hover, .field textarea:hover { border-color: rgba(200, 210, 255, 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(143, 165, 255, 0.18); background: rgba(10, 13, 25, 0.8); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error-dark); }
.field__err { font-size: var(--fs-small); color: var(--error-dark); }
.field__err:empty { display: none; }
.field--check { grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--force); }
.field--check label { font-size: var(--fs-small); color: var(--on-dark-muted); line-height: 1.5; }
.field--check label a { color: var(--on-dark); }
.field--check .field__err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__req { font-size: var(--fs-small); color: var(--on-dark-muted); }
.form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form__status:empty { display: none; }
.form__status { padding: 16px 18px; border-radius: var(--radius); line-height: 1.5; }
.form__status.is-ok { background: rgba(126, 226, 168, 0.12); border: 1px solid rgba(126, 226, 168, 0.4); color: #c9f5da; }
.form__status.is-error { background: rgba(255, 171, 122, 0.1); border: 1px solid rgba(255, 171, 122, 0.45); color: #ffd9c2; }
.form__status strong { color: var(--white); display: block; margin-bottom: 2px; }
.form__status a { color: var(--white); }
/* Rückmeldung ohne JavaScript: wird nur sichtbar, wenn die Adresse auf #sent oder #failed endet */
.form__note { display: none; padding: 16px 18px; border-radius: var(--radius); line-height: 1.5; }
.form__note:target { display: block; }
.form__note--ok { background: rgba(126, 226, 168, 0.12); border: 1px solid rgba(126, 226, 168, 0.4); color: #c9f5da; }
.form__note--error { background: rgba(255, 171, 122, 0.1); border: 1px solid rgba(255, 171, 122, 0.45); color: #ffd9c2; }
.form__note strong { color: var(--white); display: block; margin-bottom: 2px; }

/* ---------- Footer (gleiches Blau wie der Kontakt) ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-small); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line-dark); }
.site-footer > .container { position: relative; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 44px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); } }
.site-footer__logo .logo { height: 30px; width: auto; color: var(--white); }
.site-footer__tagline { margin-top: 16px; }
.site-footer__address strong { color: var(--on-dark); font-weight: 600; }
.site-footer__address { line-height: 1.75; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer__langs ul { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; letter-spacing: 0.04em; }
.site-footer__langs a[aria-current="true"] { color: var(--force); }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); }
.site-footer__top { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 88px)) 0 clamp(80px, 9vw, 140px); min-height: 70vh; }
.legal__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .legal__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; } .legal__head { position: sticky; top: calc(var(--header-h) + 40px); } }
.legal__head { min-width: 0; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.legal__back:hover { color: var(--ink); }
.legal__title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1.04; overflow-wrap: break-word; hyphens: manual; }
.legal__note { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line-strong); font-size: var(--fs-small); color: var(--muted); max-width: 40ch; }
.prose { max-width: 72ch; color: var(--text); min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.prose .legal-meta { font-size: var(--fs-small); color: var(--muted); margin-bottom: 28px; }
.legal-block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-block:first-of-type { border-top: 0; padding-top: 0; }
.prose h2 { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p { margin-top: 12px; }
.prose ol, .prose ul { padding-left: 1.3em; display: grid; gap: 10px; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li::marker { color: var(--muted); }
.prose li ul { margin-top: 10px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--ink); }

/* 404 */
.notfound { min-height: 78vh; display: grid; align-items: center; padding-top: var(--header-h); }
.notfound .container { position: relative; }
.notfound__code { font-size: var(--fs-xl); font-weight: 600; color: var(--force); margin-bottom: 14px; }
.notfound h1 { font-size: var(--fs-h2); letter-spacing: -0.03em; color: var(--white); margin-bottom: 18px; }
.notfound p { color: var(--on-dark-muted); max-width: 46ch; margin-bottom: 32px; }

/* ---------- Chinesisch: Systemschriften für die Schriftzeichen, mehr Zeilenabstand, keine Laufweitenkorrektur ---------- */
html:lang(zh) {
  --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", monospace;
  --fs-display: clamp(2.5rem, 1rem + 3.7vw, 4.7rem);
}
html:lang(zh) body { line-height: 1.8; line-break: strict; }
html:lang(zh) body * { letter-spacing: 0 !important; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3, html:lang(zh) h4 { line-height: 1.3; }
html:lang(zh) .hero__title { line-height: 1.2; }
html:lang(zh) .hero__line { padding-block: 0.08em; margin-block: -0.08em; }
html:lang(zh) .section-title { line-height: 1.25; }
html:lang(zh) .about__statement, html:lang(zh) .theme-panel__claim { line-height: 1.45; }
html:lang(zh) .section-lead, html:lang(zh) .hero__lead, html:lang(zh) .about__text p:first-child, html:lang(zh) .materials__note p { line-height: 1.75; }
html:lang(zh) .facts dt { line-height: 1.35; }
/* Überschriften und Kernsätze möglichst nur an Satzzeichen umbrechen, nicht mitten im Wort */
html:lang(zh) .section-title, html:lang(zh) .about__statement, html:lang(zh) .theme-panel__claim { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- Einblendungen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-intro] { opacity: 1; transform: none; }
  .js .hero__line[data-intro] > span { transform: none; }
  .js [data-build] img { clip-path: none; }
  .js [data-build]::after { display: none; }
  .band__img { transform: none !important; }
}

@media print {
  .site-header, .hero__visual, .menu-toggle, .lang, .form, .skip, .band { display: none !important; }
  .blueprint, .site-footer { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .js [data-intro] { opacity: 1 !important; transform: none !important; }
}
