/* Holskar Kommunalsysteme – Stylesheet
   Schriften lokal eingebunden. Keine externen Quellen, keine Tracker. */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/source-serif-4-v14-latin_latin-ext-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/source-serif-4-v14-latin_latin-ext-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/source-serif-4-v14-latin_latin-ext-600.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/source-serif-4-v14-latin_latin-ext-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/source-sans-3-v19-latin_latin-ext-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/source-sans-3-v19-latin_latin-ext-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/source-sans-3-v19-latin_latin-ext-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/source-sans-3-v19-latin_latin-ext-700.woff2") format("woff2"); }

:root {
  --forest: #1B2A22;
  --forest-2: #24352B;
  --ink: #141C18;
  --paper: #F3EFE6;
  --cream: #FAF7F1;
  --stone: #C4A574;
  --stone-light: #D9C29A;
  --stone-dark: #6B5528;   /* Stone abgedunkelt für Text auf hellem Grund (AA) */
  --line-light: rgba(20, 28, 24, .14);
  --line-dark: rgba(250, 247, 241, .16);
  --hair: rgba(196, 165, 116, .55);
  --muted-light: #4A564F;
  --muted-dark: #C9CFC9;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1280px;
  --nav-h: 76px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }
::selection { background: var(--stone); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.012em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); max-width: 20ch; line-height: 1.06; letter-spacing: -.02em; }
h2.display { font-size: clamp(2.8rem, 8vw, 7.2rem); max-width: 14ch; line-height: .98; letter-spacing: -.03em; }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(22px, 4vw, 56px); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Wortmarke ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 30px; height: 30px; flex: none; color: currentColor; transition: transform 1.2s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .24em; line-height: 1; padding-top: 2px; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .72; padding-left: 12px; border-left: 1px solid currentColor; line-height: 1.2; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--cream);
  transition: background-color .5s var(--ease), border-color .5s, transform .5s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,16,.55), rgba(14,20,16,0)); pointer-events: none; transition: opacity .5s; }
.nav.is-solid { background: rgba(27, 42, 34, .97); border-color: var(--line-dark); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.nav.is-solid::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: .92rem; letter-spacing: .06em; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--stone); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream); font: inherit; font-size: .92rem; letter-spacing: .06em; padding: 8px 16px; cursor: pointer; }
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--stone); transform: scaleX(var(--sp, 0)); transform-origin: left; opacity: .9; }

/* ---------- Buttons ---------- */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .02em; line-height: 1.2; padding: 17px 28px; text-decoration: none; border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my)); transition: transform .5s var(--ease), color .45s var(--ease), border-color .45s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ico { width: 20px; height: 12px; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.btn-primary::before { background: var(--cream); }
.btn-ghost { border-color: rgba(250,247,241,.5); color: var(--cream); }
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover { color: var(--ink); border-color: var(--cream); }
.btn-dark { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-dark::before { background: var(--stone); }
.btn-dark:hover { color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--cream); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; padding: 0; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; transform-origin: 70% 60%; }
.js .hero-img { animation: kenburns 28s var(--ease-io) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0,0,0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(12,18,14,.92) 0%, rgba(12,18,14,.74) 38%, rgba(12,18,14,.38) 68%, rgba(12,18,14,.22) 100%),
    linear-gradient(0deg, rgba(12,18,14,.96) 0%, rgba(12,18,14,.5) 28%, rgba(12,18,14,0) 55%),
    linear-gradient(180deg, rgba(12,18,14,.5) 0%, rgba(12,18,14,0) 22%); }
.grain { position: absolute; inset: -50%; z-index: -1; background-image: var(--grain); background-size: 220px; opacity: .07; pointer-events: none; mix-blend-mode: overlay; }
.js .grain { animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }
.hero-inner { width: 100%; padding-top: calc(var(--nav-h) + 6vh); padding-bottom: clamp(36px, 6vh, 64px); }
.hero-kicker { font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 18px; margin-bottom: clamp(18px, 3vh, 34px); color: var(--stone-light); }
.hero-kicker::before { content: ""; width: 56px; height: 1px; background: var(--stone); }
.hero-title { font-size: clamp(3.4rem, 10.4vw, 10.6rem); line-height: .9; letter-spacing: -.04em; font-weight: 400; margin: 0 0 clamp(26px, 5vh, 52px); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .ln > span { display: inline-block; }
.hero-title em { font-style: italic; color: var(--stone); letter-spacing: -.035em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 40px 64px; align-items: end; margin-bottom: clamp(32px, 6vh, 64px); }
.hero-lead { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.55; max-width: 50ch; margin: 0; color: #E9E5DA; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.hero-facts li { padding: 20px 28px 0 0; font-size: .92rem; line-height: 1.45; color: #D9DDD8; position: relative; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.18rem; margin-bottom: 6px; color: var(--cream); }
.hero-seal { position: absolute; right: clamp(24px, 4vw, 64px); top: calc(var(--nav-h) + 4vh); width: clamp(120px, 11vw, 168px); color: var(--cream); opacity: .9; }
.hero-seal text { font-family: var(--sans); font-size: 11.5px; letter-spacing: .32em; fill: var(--stone-light); font-weight: 600; }
.seal-rot { transform-origin: 100px 100px; }
.js .seal-rot { animation: spin 48s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; overflow: hidden; display: none; }
.scroll-cue span { position: absolute; inset: 0; background: linear-gradient(var(--stone), transparent); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Ladeanimation Hero */
.js .hero-title .ln > span { transform: translateY(105%); transition: transform 1.5s var(--ease) var(--d, 0s); }
.js .reveal-load { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js.is-loaded .hero-title .ln > span { transform: none; }
.js.is-loaded .reveal-load { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--stone-light); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 34px; padding-left: 34px; }
.js .marquee-track { animation: marquee 70s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.55rem); letter-spacing: .01em; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--stone); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
section { position: relative; padding: clamp(64px, 7vw, 104px) 0; }
.s-paper { background: var(--paper); }
.s-cream { background: var(--cream); }
.s-dark { background: var(--forest); color: var(--cream); overflow: hidden; isolation: isolate; }
.s-dark .grain { opacity: .05; }
.s-dark .muted { color: var(--muted-dark); }
.muted { color: var(--muted-light); }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--stone-dark); margin-bottom: 26px; }
.eyebrow .num { font-family: var(--serif); font-size: .95rem; letter-spacing: .04em; font-weight: 400; display: inline-flex; align-items: center; gap: 16px; }
.eyebrow .num::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.s-dark .eyebrow { color: var(--stone); }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.3rem); line-height: 1.55; max-width: 56ch; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.split.rev > :first-child { order: 2; }
.section-head { margin-bottom: clamp(36px, 4vw, 56px); max-width: 980px; }

/* Bildcontainer */
.media { margin: 0; background: var(--forest-2); position: relative; overflow: hidden; }
.media img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; will-change: transform; }
.media.is-missing img { visibility: hidden; }
.media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(20,28,24,.08); pointer-events: none; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.s-dark .media::after { box-shadow: inset 0 0 0 1px var(--line-dark); }

/* ---------- Reveals ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(14% 0 14% 0); transition: clip-path 1.6s var(--ease); }
.js .rv-img img { scale: 1.18; transition: scale 2.2s var(--ease); }
.js .rv-img.in { clip-path: inset(0 0 0 0); }
.js .rv-img.in img { scale: 1; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; }
.js .split-words.armed .w > span { transform: translateY(110%); transition: transform 1.2s var(--ease) calc(var(--i) * 45ms); }
.js .split-words.armed.in .w > span { transform: none; }

/* ---------- Listen & Tabellen ---------- */
.rules { list-style: none; margin: 0 0 1.4em; padding: 0; border-top: 1px solid var(--line-light); }
.rules li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--line-light); position: relative; }
.rules li::before { content: ""; position: absolute; left: 4px; top: 1.2em; width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.s-dark .rules, .s-dark .rules li { border-color: var(--line-dark); }

/* Lage: Normen und Schwellengrafik */
.norms-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 5vw, 72px); align-items: start; }
.norms { width: 100%; border-collapse: collapse; font-size: 1rem; }
.norms th, .norms td { text-align: left; vertical-align: top; padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line-light); }
.norms tr:first-child th, .norms tr:first-child td { border-top: 1px solid var(--ink); }
.norms th { font-weight: 600; width: 46%; font-size: .9rem; letter-spacing: .01em; color: var(--muted-light); }
.norms caption { text-align: left; font-family: var(--serif); font-size: 1.5rem; padding-bottom: 18px; }
.note { font-size: .9rem; color: var(--muted-light); }

.thresholds { margin: 0; background: var(--forest); color: var(--cream); padding: clamp(28px, 3.4vw, 48px); position: relative; }
.thresholds figcaption { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 34px; line-height: 1.2; }
.thr-kicker { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; font-weight: 600; }
.thr-panel + .thr-panel { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.thr-title { font-weight: 600; font-size: .98rem; margin-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.thr-title span { font-weight: 400; color: var(--muted-dark); font-size: .86rem; }
.thr-row { position: relative; }
.thr-row + .thr-row { margin-top: 30px; }
.thr-track { position: relative; height: 10px; border-left: 1px solid rgba(250,247,241,.5);
  background: linear-gradient(90deg, rgba(250,247,241,.35) 1px, transparent 1px) 0 50% / 20% 100% repeat-x, linear-gradient(rgba(250,247,241,.28), rgba(250,247,241,.28)) 0 50% / 100% 1px no-repeat; }
.thr-fill { position: absolute; left: 0; top: 3px; height: 4px; width: calc(var(--v) * 100%); background: var(--stone); transform-origin: left; }
.thr-zone { position: absolute; top: -10px; bottom: -10px; left: calc(var(--v) * 100%); right: 0; background: repeating-linear-gradient(-45deg, rgba(196,165,116,.32) 0 1px, transparent 1px 7px); }
.thr-mark { position: absolute; left: calc(var(--v) * 100%); bottom: -6px; height: 40px; border-left: 1px solid var(--stone); }
.thr-mark::after { content: ""; position: absolute; left: -5px; bottom: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); border: 1.5px solid var(--stone); }
.thr-label { margin: 0; padding: 0 0 22px calc(var(--v) * 100% + 12px); line-height: 1.25; }
.lbl-left .thr-label { text-align: right; padding-left: 0; padding-right: calc((1 - var(--v)) * 100% + 12px); }
.thr-label b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.05; color: var(--stone-light); white-space: nowrap; }
.thr-label em { display: block; font-style: normal; font-size: .84rem; color: var(--muted-dark); margin-top: 4px; }
.thr-scale { display: flex; justify-content: space-between; margin-top: 12px; font-size: .76rem; color: var(--muted-dark); letter-spacing: .04em; }
.thr-scale span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.thr-scale span:first-child { justify-content: flex-start; }
.thr-scale span:last-child { justify-content: flex-end; }
.thr-note { margin: 34px 0 0; font-size: .82rem; color: var(--muted-dark); }
.js .thresholds .thr-fill { transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.js .thresholds .thr-zone { opacity: 0; transition: opacity 1s ease 1.5s; }
.js .thresholds .thr-mark { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease) 1.1s; }
.js .thresholds .thr-label { opacity: 0; transform: translateY(8px); transition: opacity 1s var(--ease) 1.5s, transform 1s var(--ease) 1.5s; }
.js .thresholds .thr-panel + .thr-panel .thr-label { transition-delay: 2s; }
.js .thresholds .thr-panel + .thr-panel .thr-fill { transition-delay: .7s; }
.js .thresholds .thr-panel + .thr-panel .thr-row + .thr-row .thr-fill { transition-delay: 1s; }
.js .thresholds .thr-panel + .thr-panel .thr-mark { transition-delay: 1.6s; }
.js .thresholds.in .thr-fill { transform: none; }
.js .thresholds.in .thr-zone { opacity: 1; }
.js .thresholds.in .thr-mark, .js .thresholds.in .thr-label { transform: none; opacity: 1; }

.loss-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(56px, 7vw, 96px); }
.loss { padding: 34px 38px; background: var(--cream); border-left: 2px solid var(--stone); font-size: 1.08rem; }
.loss p:last-child { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; margin-top: 14px; }
.loss-row .note { margin: 0; }

/* ---------- System: Storytelling ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story-visual { position: sticky; top: calc(var(--nav-h) + 28px); }
.monitor { margin: 0; background: var(--forest); color: var(--cream); padding: clamp(18px, 2vw, 28px); position: relative; }
.monitor::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(196,165,116,.28); pointer-events: none; }
.monitor-svg { width: 100%; height: auto; display: block; max-height: calc(100vh - var(--nav-h) - 170px); }
.m-lbl { font-family: var(--sans); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; fill: var(--cream); font-weight: 600; paint-order: stroke; stroke: #1B2A22; stroke-width: 6px; stroke-linejoin: round; }
.m-lbl.small { font-size: 12.5px; letter-spacing: .06em; text-transform: none; font-weight: 400; }
.m-lbl.dim { fill: #AEB6AF; }
.m-lbl.stone { fill: var(--stone); }
.m-doc { font-family: var(--serif); font-size: 17px; fill: var(--cream); }
.monitor-cap { position: relative; min-height: 1.6em; margin-top: 14px; font-size: .92rem; color: #D9DDD8; }
.monitor-cap span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.monitor-cap b { font-family: var(--serif); font-weight: 400; color: var(--stone); margin-right: 10px; }
.monitor-steps { position: absolute; right: clamp(18px, 2vw, 28px); bottom: clamp(22px, 2.4vw, 32px); display: flex; gap: 8px; }
.monitor-steps i { width: 26px; height: 2px; background: rgba(250,247,241,.25); transition: background .5s; }

.story[data-step="1"] [data-cap="1"], .story[data-step="2"] [data-cap="2"], .story[data-step="3"] [data-cap="3"] { opacity: 1; transform: none; }
.story[data-step="1"] [data-dot="1"], .story[data-step="2"] [data-dot="2"], .story[data-step="3"] [data-dot="3"] { background: var(--stone); }

/* SVG-Zustände */
.monitor-svg g, .monitor-svg path, .monitor-svg rect { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.m-zone { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease) !important; }
.js .story:not(.in) .m-zone { stroke-dashoffset: 1; }
.m-scan { opacity: 0; }
.story.in[data-step="1"] .m-scan { opacity: 1; animation: scan 3.4s var(--ease-io) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(250px); } }
.m-pulse { transform-origin: 420px 422px; opacity: 0; }
.story.in .m-pulse { animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.js .m-alert { opacity: 0; }
.js .story.in .m-alert { opacity: 1; transition-delay: 1.4s; }
.js .m-person { opacity: 0; transform: translateX(-14px); }
.js .story.in .m-person { opacity: 1; transform: none; transition-delay: 1.8s; }
.m-flash { opacity: 0; pointer-events: none; }
.story[data-step="2"] .m-flash { animation: flash 1.1s ease-out 1; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .55; } 100% { opacity: 0; } }
/* Jeder Schritt hat sein eigenes Bild: 01 Platz, 02 Ereignisakte, 03 Rechtskit */
.story[data-step="2"] .m-scene, .story[data-step="3"] .m-scene { opacity: 0; transition-delay: 0s; }
.m-akte { opacity: 0; transform: translateY(18px); pointer-events: none; }
.story[data-step="2"] .m-akte { opacity: 1; transform: none; transition-delay: .15s; }
.m-bar { transition: width 1.6s var(--ease) .5s !important; }
.story[data-step="2"] .m-bar { width: 424px; }
.m-kit { opacity: 0; transform: translateY(24px); }
.story[data-step="3"] .m-kit { opacity: 1; transform: none; transition-delay: .15s; }

.story-steps { display: flex; flex-direction: column; }
.card { position: relative; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line-light); min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.card:last-child { border-bottom: 1px solid var(--line-light); }
.card .num { font-family: var(--serif); color: var(--stone-dark); font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 1; display: block; margin-bottom: 20px; letter-spacing: -.03em; transition: color .6s; }
.card h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 400; margin-bottom: .5em; }
.card p { max-width: 46ch; }
.card ul { list-style: none; margin: 18px 0 0; padding: 0; }
.card li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--line-light); font-size: 1rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--stone-dark); }
.js .story-step .num, .js .story-step h3 { transition: color .7s var(--ease); }
.js .story-step:not(.is-current) .num { color: #B9AD95; }
.js .story-step:not(.is-current) h3 { color: #59635D; }
.story-step::before { content: ""; position: absolute; left: -28px; top: -1px; bottom: 0; width: 2px; background: var(--stone); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease); }
.js .story-step.is-current::before { transform: scaleY(1); }

.hardline { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; margin: clamp(56px, 6vw, 88px) 0 0; max-width: 22ch; }
.hl { background: linear-gradient(var(--stone), var(--stone)) 0 92% / 0% 2px no-repeat; transition: background-size 1.6s var(--ease) .5s; font-style: italic; }
.hardline.in .hl, .no-js .hl { background-size: 100% 2px; }

/* ---------- Recht ---------- */
.roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; margin: clamp(72px, 8vw, 112px) 0 clamp(72px, 8vw, 112px); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.roles > div { padding: 40px 0; text-align: center; }
.roles > div:last-child { padding-left: 24px; }
.roles > div:first-child { padding-right: 24px; }
.roles dt { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 14px; }
.roles dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; }
.roles dd small { display: block; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--muted-dark); margin: 12px auto 0; max-width: 40ch; }
.roles-link { display: flex; align-items: center; justify-content: center; position: relative; width: 180px; padding: 0 !important; }
.roles-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--stone); transform-origin: left; }
.roles-link::after { content: ""; position: absolute; right: 0; top: calc(50% - 5px); width: 10px; height: 10px; border-top: 1px solid var(--stone); border-right: 1px solid var(--stone); transform: rotate(45deg); }
.roles-link span { position: relative; background: var(--forest); padding: 4px 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.js .roles .roles-link::before { transform: scaleX(0); transition: transform 1.4s var(--ease) .5s; }
.js .roles.in .roles-link::before { transform: scaleX(1); }

.recht-no { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.recht-no h3, .kit-block h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.rules.no li { padding: 20px 0 20px 46px; font-size: 1.08rem; }
.rules.no li::before { left: 0; top: 1.45em; width: 22px; height: 22px; margin-top: -11px; background: none; border: 1px solid var(--stone); border-radius: 50%; }
.rules.no li::after { content: ""; position: absolute; left: 3px; top: 1.45em; width: 16px; height: 1px; background: var(--stone); transform: rotate(-45deg) scaleX(var(--sx, 1)); transition: transform .9s var(--ease) .4s; }
.js .rules.no li.rv { --sx: 0; }
.js .rules.no li.rv.in { --sx: 1; }

.kit-block { margin-top: clamp(56px, 6vw, 80px); }
.bento { list-style: none; margin: 34px 0 28px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr);
  grid-template-areas: "av av av dsfa dsfa dsfa" "av av av sign sign sign" "del del mm mm mm mm"; }
.bento li { position: relative; padding: 30px 30px 28px; background: var(--forest-2); border: 1px solid var(--line-dark); min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: border-color .6s, background-color .6s, transform .8s var(--ease); }
.bento li:hover { border-color: var(--hair); background: #283b30; }
.bento p { margin: 0; font-size: 1.05rem; line-height: 1.45; max-width: 36ch; position: relative; }
.b-num { position: absolute; top: 24px; left: 30px; font-family: var(--serif); color: var(--stone); font-size: .95rem; }
.b-av { grid-area: av; min-height: 420px !important; background: linear-gradient(160deg, #2a3e32, var(--forest-2) 60%) !important; }
.b-av p { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
.b-big { position: absolute; right: 26px; top: 18px; font-family: var(--serif); font-size: clamp(4.5rem, 8.4vw, 8.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(196,165,116,.55); letter-spacing: -.04em; transition: transform 1.4s var(--ease); }
.b-av:hover .b-big { transform: translateX(-12px); }
.b-dsfa { grid-area: dsfa; }
.b-grid { position: absolute; top: 26px; right: 28px; display: grid; grid-template-columns: repeat(4, 8px); gap: 7px; }
.b-grid i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--stone); }
.b-dsfa:hover .b-grid i { background: var(--stone); transition: background .3s calc(var(--k, 0) * 30ms); }
.b-sign { grid-area: sign; }
.b-del { grid-area: del; }
.b-mm { grid-area: mm; }
.b-mm p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; max-width: 52ch; }
.b-ico { position: absolute; top: 22px; right: 24px; width: 56px; height: 56px; color: var(--stone); }
.js .spin-slow circle:first-child { transform-origin: 32px 32px; animation: spin 14s linear infinite; }

/* ---------- Technik ---------- */
.specs { margin: 34px 0 0; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line-light); }
.specs dt { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--stone-dark); padding-top: 4px; }
.specs dd { margin: 0; }
#technik .specs + p { margin-top: 28px; margin-bottom: 0; }
.ratio-34 { aspect-ratio: 3 / 4; }
.media.static img { height: 100%; margin-top: 0; }
.technik-mast { margin: 0; }
.technik-mast .note { margin: 12px 0 0; }
#technik .split { align-items: start; }

/* Montag-Ablauf: gepinnt */
.flow { position: relative; margin-top: clamp(64px, 7vw, 96px); }
.flow-pin { padding: clamp(56px, 7vw, 96px) 0; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.flow-pin::before { content: ""; position: absolute; inset: -50%; background-image: var(--grain); background-size: 220px; opacity: .045; mix-blend-mode: overlay; pointer-events: none; }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(36px, 5vh, 56px); }
.flow-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin: 0; letter-spacing: -.02em; }
.flow-titles { min-width: 0; }
.flow-titles .flow-title { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.15; }
.flow-sub { margin: 10px 0 0; color: #CFD4CF; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 60ch; }
.flow-count { margin: 0; font-family: var(--serif); color: var(--muted-dark); font-size: 1.1rem; white-space: nowrap; }
.flow-cur { color: var(--stone); font-size: 2.2rem; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.flow-steps { list-style: none; margin: 0; padding: 0; counter-reset: fs; }
.flow-steps li { counter-increment: fs; position: relative; padding: 16px 0 16px 64px; border-top: 1px solid var(--line-dark); transition: opacity .6s var(--ease); }
.flow-steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.flow-steps li::before { content: counter(fs, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-family: var(--serif); color: var(--stone); font-size: 1.05rem; }
.flow-steps li::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--stone); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.flow-steps .t { display: block; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; margin-bottom: 4px; }
.flow-steps p { margin: 0; color: #CFD4CF; font-size: 1rem; max-width: 48ch; }
.flow-bar { height: 1px; background: var(--line-dark); margin-top: clamp(28px, 4vh, 48px); position: relative; }
.flow-bar span { position: absolute; inset: 0; background: var(--stone); transform: scaleX(var(--fp, 1)); transform-origin: left; }

/* Ticket */
.ticket { background: var(--cream); color: var(--ink); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); font-size: .92rem; position: relative; }
.ticket > * { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.tk-head { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .04em; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.tk-id { margin-left: auto; font-weight: 400; font-size: .76rem; color: var(--muted-light); letter-spacing: .06em; }
.tk-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); box-shadow: 0 0 0 4px rgba(196,165,116,.25); }
.tk-alert { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 10px 12px; background: var(--forest); color: var(--cream); }
.tk-alert b { font-weight: 600; } .tk-alert span { color: var(--muted-dark); font-size: .84rem; }
.tk-img { margin-top: 12px; position: relative; }
.tk-img svg { display: block; width: 100%; height: auto; }
.tk-cap { display: block; font-size: .78rem; color: var(--muted-light); margin-top: 6px; }
.tk-fields { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.tk-fields div { padding: 10px 10px 0 0; }
.tk-fields dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-dark); font-weight: 600; }
.tk-fields dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.02rem; }
.tk-done { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: .84rem; color: var(--muted-light); }
.tk-stamp { display: inline-block; border: 1.5px solid var(--forest); color: var(--forest); padding: 6px 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; transform: rotate(-3deg); }
.tk-decide { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(20,28,24,.3); font-family: var(--serif); font-style: italic; font-size: 1.02rem; }

/* Zustände nur wenn Pinning aktiv */
.flow.pin-on { height: auto; background: var(--ink); } /* Fixierung aufgehoben (17.11.2026) */
.flow.pin-on .flow-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 16px) 0 24px; }
.flow.pin-on .flow-pin > .wrap { width: 100%; }
.flow.pin-on .flow-steps li .t, .flow.pin-on .flow-steps li p, .flow.pin-on .flow-steps li::before { transition: color .6s var(--ease); }
.flow.pin-on .flow-steps li:not(.on) .t, .flow.pin-on .flow-steps li:not(.on) p, .flow.pin-on .flow-steps li:not(.on)::before { color: #8F978F; }
.flow.pin-on .flow-steps li.on::after { transform: scaleX(1); }
.flow.pin-on .tk-alert, .flow.pin-on .tk-img, .flow.pin-on .tk-fields, .flow.pin-on .tk-done, .flow.pin-on .tk-decide { opacity: 0; transform: translateY(12px); }
.flow.pin-on .tk-sil { opacity: 0; transition: opacity .8s; }
.flow.pin-on[data-step="1"] .tk-alert, .flow.pin-on[data-step="2"] .tk-alert, .flow.pin-on[data-step="3"] .tk-alert, .flow.pin-on[data-step="4"] .tk-alert, .flow.pin-on[data-step="5"] .tk-alert { opacity: 1; transform: none; }
.flow.pin-on[data-step="2"] .tk-img, .flow.pin-on[data-step="3"] .tk-img, .flow.pin-on[data-step="4"] .tk-img, .flow.pin-on[data-step="5"] .tk-img,
.flow.pin-on[data-step="2"] .tk-sil, .flow.pin-on[data-step="3"] .tk-sil, .flow.pin-on[data-step="4"] .tk-sil, .flow.pin-on[data-step="5"] .tk-sil { opacity: 1; transform: none; }
.flow.pin-on[data-step="3"] .tk-fields, .flow.pin-on[data-step="4"] .tk-fields, .flow.pin-on[data-step="5"] .tk-fields { opacity: 1; transform: none; }
.flow.pin-on[data-step="4"] .tk-done, .flow.pin-on[data-step="5"] .tk-done { opacity: 1; transform: none; }
.flow.pin-on[data-step="5"] .tk-decide { opacity: 1; transform: none; }
.flow.pin-on .tk-stamp { transform: rotate(-3deg) scale(1.6); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.flow.pin-on[data-step="4"] .tk-stamp, .flow.pin-on[data-step="5"] .tk-stamp { transform: rotate(-3deg) scale(1); opacity: 1; }

/* ---------- Für wen ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.people .media.ratio-45 { aspect-ratio: 3 / 2; }
.person .media { cursor: default; }
.person .media img { transition: transform 1.6s var(--ease), filter 1s; filter: saturate(.85); height: 100%; margin: 0; }
.person:hover .media img { transform: scale(1.06); filter: saturate(1); }
.person-idx { position: absolute; left: 20px; bottom: 14px; font-family: var(--serif); font-size: 2.6rem; color: var(--cream); line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.person h3 { margin: 26px 0 4px; font-weight: 400; font-size: 1.75rem; }
.person .role { font-size: .95rem; color: var(--muted-light); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.person dl { margin: 0; }
.person dt { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--stone-dark); margin-top: 18px; }
.person dd { margin: 6px 0 0; }

/* ---------- Pilot ---------- */
.params { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-light); margin: 0 0 clamp(48px, 5vw, 72px); }
.params div { padding: 26px 24px 30px 0; }
.params div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.params dt { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--stone-dark); margin-bottom: 18px; }
.params dd { margin: 0; font-size: 1.05rem; color: var(--muted-light); }
.params .big { display: block; font-family: var(--serif); font-size: clamp(3.6rem, 7.4vw, 7rem); line-height: .92; letter-spacing: -.045em; color: var(--ink); margin-bottom: 12px; white-space: nowrap; }
.params .big-word { font-style: italic; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.5; color: var(--stone-dark); letter-spacing: -.03em; }
.kpi-split { align-items: start; }
.kpi-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 18px; }
.big-4 { font-family: var(--serif); font-size: clamp(6rem, 11vw, 9.5rem); line-height: .78; letter-spacing: -.05em; color: var(--stone); }
.kpi-head h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); max-width: 14ch; line-height: 1.12; }
.kpis { counter-reset: kpi; list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--ink); }
.kpis li { counter-increment: kpi; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line-light); }
.kpis li::before { content: "K" counter(kpi); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-size: 1.3rem; color: var(--stone-dark); }
.kpis strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.28rem; line-height: 1.25; margin-bottom: 2px; }
.kpi-split .media { margin-top: 12px; position: sticky; top: calc(var(--nav-h) + 32px); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--hair); }
.steps li { counter-increment: st; position: relative; padding: 0 0 26px 56px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 31px; height: 31px; border-radius: 50%; background: var(--paper); border: 1px solid var(--stone); display: grid; place-items: center; font-family: var(--serif); font-size: .95rem; color: var(--stone-dark); }
.steps b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.pilot-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); margin-top: clamp(56px, 6vw, 80px); align-items: start; padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line-light); }
.pilot-bottom h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 28px; }
.weigh { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.3; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--stone); font-style: italic; }

/* ---------- SLA ---------- */
.sla-24 { position: absolute; right: -0.06em; top: 50%; margin-top: -0.55em; font-family: var(--serif); font-size: clamp(18rem, 44vw, 46rem); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(196,165,116,.22); pointer-events: none; z-index: -1; user-select: none; }
.sla-quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.32; margin: 0 0 clamp(56px, 7vw, 96px); padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 1px solid var(--stone); max-width: 40ch; letter-spacing: -.01em; }
.sla-quote p { margin: 0; }
.severity { width: 100%; border-collapse: collapse; font-size: 1rem; }
.severity th, .severity td { text-align: left; vertical-align: top; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line-dark); }
.severity tbody tr { transition: background-color .4s; }
.severity tbody tr:hover { background: rgba(250,247,241,.03); }
.severity td:first-child { font-family: var(--serif); font-size: 1.2rem; width: 26%; }
.severity td:last-child { color: var(--stone-light); }
.severity thead th { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); border-bottom-color: var(--hair); }

/* ---------- Kontakt ---------- */
#kontakt .split { align-items: start; }
.aside { margin-top: 48px; }
.aside h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.form-wrap { background: var(--paper); padding: clamp(28px, 3.6vw, 52px); border-top: 2px solid var(--stone); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
label .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; }
input, select, textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #8C948F; border-radius: 0; padding: 10px 0; width: 100%; transition: border-color .3s, background-size .6s var(--ease);
  background-image: linear-gradient(var(--forest), var(--forest)); background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #6D7670; }
select { appearance: none; background-image: linear-gradient(var(--forest), var(--forest)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141C18' stroke-width='1.6'/%3E%3C/svg%3E"); background-size: 0% 2px, 12px 8px; background-position: 0 100%, right 4px center; background-repeat: no-repeat; padding-right: 28px; }
textarea { min-height: 120px; resize: vertical; border: 1px solid #8C948F; padding: 12px 14px; background-color: rgba(255,255,255,.5); }
input:focus, select:focus, textarea:focus { outline: none; background-size: 100% 2px; border-color: var(--forest); }
select:focus { background-size: 100% 2px, 12px 8px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #9B2C1F; }
.err { color: #9B2C1F; font-size: .9rem; min-height: 0; }
.privacy { font-size: .92rem; color: var(--muted-light); grid-column: 1 / -1; margin: 0; }
.form-actions { grid-column: 1 / -1; }
.confirm { background: var(--paper); border-left: 2px solid var(--forest); padding: 32px 36px; }
.confirm h3 { margin-bottom: .4em; font-weight: 400; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 72px 0 0; font-size: .95rem; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer nav { display: flex; gap: 28px; }
.footer nav a { text-decoration: none; letter-spacing: .04em; }
.footer nav a:hover { text-decoration: underline; }
.footer .claim { font-family: var(--serif); font-style: italic; color: var(--muted-dark); font-size: 1.1rem; }
.footer-word { margin: 48px 0 0; line-height: 0; }
.footer-word svg { width: 100%; height: auto; display: block; }
.footer-word text { font-family: var(--serif); font-size: 200px; fill: none; stroke: rgba(196,165,116,.42); stroke-width: 1; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: calc(var(--nav-h) + 72px) 0 112px; background: var(--cream); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.025em; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; max-width: none; font-weight: 600; letter-spacing: -.005em; line-height: 1.2; }
.ph { background: #EDE3CF; padding: 0 4px; font-family: var(--sans); }
.page-legal .nav { background: var(--forest); }
.page-legal .nav::before { display: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "av dsfa" "av sign" "del mm"; }
  .b-sign, .b-del { min-height: 180px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 17.5px; }
  .nav .wrap { gap: 0; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest); border-bottom: 1px solid var(--line-dark); padding: 8px clamp(22px, 4vw, 56px) 24px; }
  .nav-links.open { display: flex; }
  .nav.menu-open { background: var(--forest); }
  .nav-links li a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; display: flex; justify-content: center; }
  .brand-sub { display: none; }
  .hero-seal { display: none; }
  .hero-inner { padding-top: calc(var(--nav-h) + 40px); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding: 16px 16px 16px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .split, .pilot-bottom, .norms-block, .loss-row, .recht-no, .flow-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.rev > :first-child { order: 0; }
  .media.tall { aspect-ratio: 4 / 4.2; }
  .media.tall.static, .media.ratio-34 { aspect-ratio: 3 / 4; }
  /* System: Visual scrollt auf dem Handy normal mit, klebt nicht */
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual { position: relative; top: auto; z-index: auto; margin: 0 calc(-1 * clamp(22px, 4vw, 56px)); }
  .monitor { padding: 10px 14px 12px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.45); }
  .monitor::before { inset: 5px; }
  .monitor-svg { max-height: 36vh; margin: 0 auto; }
  .monitor-cap { font-size: .84rem; margin-top: 6px; }
  .monitor-steps { bottom: 16px; right: 16px; }
  .monitor-steps i { width: 16px; }
  .card { min-height: 0; padding: 48px 0; }
  .card:first-child { margin-top: 24px; }
  .story-step::before { display: none; }
  .roles { grid-template-columns: 1fr; }
  .roles > div:first-child, .roles > div:last-child { padding: 30px 0; }
  .roles-link { width: auto; height: 76px; }
  .roles-link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .js .roles .roles-link::before { transform: scaleY(0); }
  .js .roles.in .roles-link::before { transform: scaleY(1); }
  .roles-link::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 2px; transform: rotate(135deg); }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .params { grid-template-columns: 1fr 1fr; }
  .params div:nth-child(3) { padding-left: 0; border-left: 0; }
  .params div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .kpi-split .media { position: relative; top: 0; }
  .severity thead { display: none; }
  .severity tr { display: block; border-bottom: 1px solid var(--line-dark); padding: 16px 0; }
  .severity td { display: block; border: 0; padding: 3px 0; width: auto !important; }
  .severity td:first-child { color: var(--stone); }
  .flow-head { flex-direction: column; gap: 6px; }
  .flow-count { display: none; }
  .tk-fields { grid-template-columns: 1fr 1fr; }
  .sla-24 { top: 0; margin-top: 0; font-size: 70vw; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(3rem, 14.6vw, 4.6rem); letter-spacing: -.035em; }
  .hero-facts li { font-size: .86rem; }
  .hero-facts strong { font-size: 1.04rem; }
  .btn { padding: 15px 22px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "av" "dsfa" "sign" "del" "mm"; }
  .b-av { min-height: 320px !important; }
  .b-dsfa, .b-sign, .b-del { min-height: 0 !important; padding-top: 96px !important; }
  .params div { padding: 22px 14px 24px 0; }
  .params div:nth-child(even) { padding-left: 14px; }
  .params dt { margin-bottom: 12px; letter-spacing: .18em; }
  .params dd { font-size: .95rem; }
  .params .big { font-size: 3.4rem; }
  .params .big-word { font-size: 1.9rem; line-height: 1.75; }
  .card .num { font-size: 2.8rem; }
  .tk-fields { grid-template-columns: 1fr; }
  .loss { padding: 26px 24px; }
}

/* ---------- Reduzierte Bewegung: alle Bewegung aus, aller Inhalt sichtbar ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .reveal-load, .js .hero-title .ln > span, .js .split-words.armed .w > span { opacity: 1 !important; transform: none !important; }
  .js .rv-img { clip-path: none !important; }
  .js .rv-img img { scale: 1 !important; }
  .media img, .hero-media { transform: none !important; }
  .js .thresholds .thr-fill { transform: none !important; }
  .js .thresholds .thr-zone { opacity: 1 !important; }
  .js .thresholds .thr-mark, .js .thresholds .thr-label { transform: none !important; opacity: 1 !important; }
  .js .story:not(.in) .m-zone { stroke-dashoffset: 0 !important; }
  .js .m-alert { opacity: 1 !important; }
  .hl { background-size: 100% 2px !important; }
  .js .rules.no li.rv { --sx: 1 !important; }
  .js .roles .roles-link::before { transform: none !important; }
  .marquee-track { animation: none !important; }
  .btn { transform: none !important; }
}

/* Ereignisablauf: kompakter auf niedrigen Bildschirmen, damit die gepinnte Sequenz vollständig sichtbar bleibt */
@media (min-width: 901px) and (max-height: 860px) {
  .flow.pin-on .flow-pin { padding-bottom: 12px; }
  .flow.pin-on .flow-head { margin-bottom: 18px; padding-bottom: 14px; }
  .flow.pin-on .flow-sub { margin-top: 6px; font-size: 1rem; }
  .flow.pin-on .flow-titles .flow-title { font-size: clamp(1.5rem, 2.2vw, 2rem); }
  .flow.pin-on .flow-steps li { padding-top: 9px; padding-bottom: 9px; }
  .flow.pin-on .flow-steps li::before { top: 10px; }
  .flow.pin-on .flow-steps .t { font-size: 1.2rem; margin-bottom: 2px; }
  .flow.pin-on .flow-steps p { font-size: .92rem; line-height: 1.4; }
  .flow.pin-on .ticket { padding-top: 16px; padding-bottom: 16px; }
  .flow.pin-on .tk-img svg { max-height: 104px; margin: 0 auto; }
  .flow.pin-on .tk-img { background: linear-gradient(#24352B, #24352B) top / 100% 104px no-repeat; }
  .flow.pin-on .tk-alert { margin-top: 10px; padding: 7px 12px; }
  .flow.pin-on .tk-done { margin-top: 10px; }
  .flow.pin-on .tk-decide { margin-top: 10px; padding-top: 8px; }
  .flow.pin-on .flow-bar { margin-top: 14px; }
}

.card .card-note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(196,165,116,.45); font-size: .94em; line-height: 1.6; }

/* Rechtskit: Klartext-Erklärungen */
.bento p small { display: block; font-family: var(--sans); letter-spacing: 0; margin-top: 8px; font-size: .86rem; line-height: 1.45; opacity: .72; }

/* Kontaktbereich: Kontaktwege statt Formular; Normblock mit Rechnung links */
.norms-block .loss { align-self: start; }
.norms-block .note { margin-top: 18px; }
.form-wrap h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 10px; }
.form-wrap .specs { margin-top: 24px; }
.pilot-bottom .sub { margin-top: 36px; }

.media{position:relative}
.img-note{position:absolute;right:10px;bottom:8px;z-index:2;font-size:.72rem;letter-spacing:.04em;color:#FAF7F1;background:rgba(20,28,24,.55);padding:2px 7px;border-radius:2px}

/* Gliederung heller Abschnitte: Papier, leicht abgetönt mit Stone (vorhandene Palette), feine Trennlinie */
.s-sand { background: linear-gradient(rgba(196,165,116,.12), rgba(196,165,116,.12)), var(--paper); }
.s-paper + .s-sand, .s-sand + .s-paper { border-top: 1px solid var(--line-light); }
.s-sand .loss { background: var(--cream); }

/* ---------- Ergänzungen 27.11.: Fußzeile, Nach-oben, Druck ---------- */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 0; font-size: .85rem; letter-spacing: .04em; color: var(--muted-dark); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; color: var(--cream); }
.page-legal .footer { padding-bottom: 40px; }

.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 55; width: 46px; height: 46px; display: grid; place-items: center; background: var(--forest); color: var(--cream); border: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background-color .3s, color .3s; }
.to-top svg { width: 18px; height: 12px; transform: rotate(-90deg); }
.to-top.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--stone); color: var(--ink); }
.no-js .to-top { display: none; }

@media print {
  .nav, .skip, .to-top, .grain, .hero-shade, .footer-word, .marquee, .nav-progress, form .btn { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  section, .footer { background: #fff !important; color: #000 !important; padding-top: 24px !important; padding-bottom: 24px !important; }
  .hero { min-height: 0 !important; height: auto !important; }
  .hero * { color: #000 !important; }
  .hero-media { display: none !important; }
  .js .rv, .js .reveal-load, .js .hero-title .ln > span { opacity: 1 !important; transform: none !important; }
  .js .rv-img { clip-path: none !important; }
  h2, h3 { break-after: avoid; } figure, .card, li { break-inside: avoid; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
.page-legal .legal { min-height: 62vh; }

/* ---------- Überarbeitung 27.11. (rev3): Eigenentwicklung, Über uns, Kontakt ---------- */
.eigen { margin-top: 28px; padding: 18px 0 0 22px; border-left: 2px solid var(--stone); padding-top: 0; }
.eigen strong { font-family: var(--serif); font-weight: 400; font-size: 1.15em; }
.people-note { margin-top: 32px; }
.people-note a { color: inherit; }

.about-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.about-portrait { margin: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.monogram { aspect-ratio: 4 / 5; background: radial-gradient(120% 90% at 30% 20%, rgba(196,165,116,.16), transparent 60%), var(--forest-2); position: relative; display: grid; place-items: center; overflow: hidden; }
.monogram::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(196,165,116,.45); }
.monogram::after { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(196,165,116,.3); }
.monogram span { position: relative; font-family: var(--serif); font-size: clamp(4.4rem, 9vw, 8.4rem); letter-spacing: .02em; color: var(--stone); line-height: 1; }
.about-portrait figcaption { margin-top: 16px; font-size: .95rem; color: var(--muted-dark); }
.about-portrait figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--cream); }
.about-text .lead { max-width: 52ch; }
.about-text > p:not(.lead):not(.eyebrow) { max-width: 60ch; }
.about-quote { margin: 40px 0 0; padding: 30px 0 0; border-top: 1px solid var(--hair); }
.about-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.4; margin: 0; max-width: 34ch; }
.about-quote footer { margin-top: 14px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.about-facts div { padding: 18px 18px 20px 0; }
.about-facts div + div { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.about-facts dt { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--stone); margin-bottom: 8px; }
.about-facts dd { margin: 0; font-size: 1rem; line-height: 1.4; }
.about-close { margin-top: 28px; color: var(--muted-dark); }

.contact-split { align-items: start; }
.contact-card { background: var(--cream); padding: clamp(28px, 3.4vw, 48px); border-top: 2px solid var(--stone); box-shadow: 0 30px 60px -40px rgba(20,28,24,.35); }
.cc-kicker { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--stone-dark); margin: 0 0 10px; }
.cc-name { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.15; margin: 0 0 26px; }
.cc-name span { display: block; font-family: var(--sans); font-size: 1rem; color: var(--muted-light); margin-top: 6px; }
.cc-lines { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--ink); }
.cc-lines li { border-bottom: 1px solid var(--line-light); }
.cc-lines a, .cc-lines li > div { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; color: inherit; }
.cc-lines a .ico { width: 20px; height: 12px; color: var(--stone-dark); transition: transform .5s var(--ease); }
.cc-lines a:hover .ico, .cc-lines a:focus-visible .ico { transform: translateX(6px); }
.cc-lines a:hover .cc-v { text-decoration: underline; text-underline-offset: 4px; }
.cc-k { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--stone-dark); }
.cc-v { font-size: 1.12rem; overflow-wrap: anywhere; }
.cc-btn { margin-bottom: 22px; }
.contact-card .note { margin: 0; }
.footer-bottom span a { color: inherit; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: relative; top: 0; display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; order: 2; }
  .about-text { order: 1; }
  .about-portrait figcaption { margin-top: 0; }
  .monogram span { font-size: 3.2rem; }
  .monogram::before { inset: 7px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div, .about-facts div + div { padding: 14px 0; border-left: 0; }
  .about-facts div + div { border-top: 1px solid var(--line-dark); }
  .about-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; }
  .about-facts dt { margin: 0; }
  .people .media.ratio-45 { aspect-ratio: 4 / 3; }
  .cc-lines a, .cc-lines li > div { grid-template-columns: 84px 1fr auto; gap: 12px; }
  .cc-btn { width: 100%; justify-content: space-between; }
}

/* rev3: Feinschliff Desktop und Handy */
@media (min-width: 901px) {
  .technik-mast { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
  #technik .split { align-items: start; }
}
@media (max-width: 900px) {
  .monitor-cap span { right: 64px; }
  .monitor-cap { min-height: 2.6em; }
  /* Technik: Bild direkt nach der Einleitung */
  #technik .split { display: flex; flex-direction: column; gap: 0; }
  #technik .split > div { display: contents; }
  #technik .split .eyebrow, #technik .split h2, #technik .split .lead { order: 1; }
  #technik .technik-mast { order: 2; margin: 36px 0 8px; }
  #technik .split .specs { order: 3; }
  #technik .split .eigen { order: 4; }
  /* Über uns: Gesicht direkt nach der Überschrift */
  .about-grid { display: flex; flex-direction: column; gap: 0; }
  .about-text { display: contents; }
  .about-text .eyebrow, .about-text h2 { order: 1; }
  .about-portrait { order: 2; margin: 6px 0 30px; }
  .about-text > :not(.eyebrow):not(h2) { order: 3; }
  /* Kontakt: Kontaktwege vor der Gesprächsliste */
  .contact-split { display: flex; flex-direction: column; gap: 0; }
  .contact-split > div:first-child { display: contents; }
  .contact-split .eyebrow, .contact-split h2, .contact-split .lead { order: 1; }
  .contact-split .contact-card { order: 2; margin-top: 32px; }
  .contact-split .aside { order: 3; }
}
@media (max-width: 560px) {
  .tk-fields { grid-template-columns: 1fr 1fr; }
  .tk-fields div:last-child { grid-column: 1 / -1; }
}
.legal h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) { .legal h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); } .legal { padding-top: calc(var(--nav-h) + 44px); } }
.legal p, .legal li { overflow-wrap: break-word; }

/* Über uns: persönlicher Brief */
.about-letter { margin-top: 8px; max-width: 64ch; }
.about-letter p { font-size: clamp(1.02rem, 1.05vw, 1.12rem); line-height: 1.75; margin: 0 0 1.25em; }
.about-letter .about-sign { margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--hair); }
.about-sign span { display: block; color: var(--muted-dark); }
.about-sign .about-signature { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; color: var(--cream); }
@media (max-width: 560px) { .about-letter p { font-size: 1.02rem; line-height: 1.7; } }

/* Porträtfoto Über uns (ersetzt Monogramm, gleiche Rahmung 4:5) */
.portrait-photo { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--forest-2); }
.portrait-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Mastfoto im Originalformat 9:16, auf dem Desktop auf Bildschirmhöhe begrenzt */
.technik-mast .media.ratio-916, .technik-mast .media.tall.static.ratio-916 { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - var(--nav-h) - 120px) * 9 / 16)); }
@media (max-width: 900px) { .technik-mast .media.ratio-916, .technik-mast .media.tall.static.ratio-916 { width: 100%; } }

/* Hinweis nach Klick auf einen E-Mail-Link */
.mail-toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 12px); max-width: calc(100% - 32px); padding: 12px 18px; background: var(--forest); color: var(--cream); border-top: 2px solid var(--stone); font: 500 15px/1.4 var(--sans); box-shadow: 0 18px 40px -20px rgba(20,28,24,.6); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease); }
.mail-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .mail-toast { transition: none; } }
/* Kommunal-Orange als dezenter Akzent (RAL 2011 Tieforange) */
:root { --signal: #EC7C26; --signal-dark: #A84A08; }
.btn-primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.s-dark .eyebrow, .s-dark .eyebrow .num { color: var(--signal); }
.eyebrow, .eyebrow .num { color: var(--signal-dark); }
.card .num { color: var(--signal-dark); }
.s-dark .card .num { color: var(--signal); }
.kpis li::before { color: var(--signal-dark); }
.tk-dot { background: var(--signal) !important; box-shadow: 0 0 0 4px rgba(236,124,38,.22) !important; }
.js .story-step.is-current .num { color: var(--signal-dark); }

/* ===== Überarbeitung 01.12.2026: Template-Merkmale entfernt, Stimmung beibehalten ===== */
/* 1 Überschrift einfarbig, aufrecht, eine Schrift */
.hero-title em { font-style: normal; color: inherit; letter-spacing: inherit; }
.hero-title { letter-spacing: -.035em; }
/* 2 Kein kreisendes Abzeichen, keine animierte Rauschtextur */
.hero-seal { display: none !important; }
.grain { display: none !important; }
/* 3 Dachzeilen: Normalschreibung statt gesperrter Versalien mit Zierlinie, Linie darüber wie ein Plankopf */
.hero-kicker { text-transform: none; letter-spacing: .01em; font-size: 1rem; font-weight: 600; }
.hero-kicker::before { width: 28px; background: var(--signal); }
.eyebrow { text-transform: none; letter-spacing: .01em; font-size: .92rem; font-weight: 600; gap: 12px;
  border-top: 1px solid var(--line-light); padding-top: 14px; max-width: 360px; color: var(--muted-light); }
.s-dark .eyebrow { color: var(--muted-dark); border-top-color: var(--line-dark); }
.eyebrow .num { font-family: var(--sans); font-weight: 700; font-size: .92rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.eyebrow .num::after { display: none; }
/* 5 Weniger Effekt-Bewegung: keine Wort-für-Wort-Einblendung, keine „magnetischen“ Buttons, keine Bild-Vorhänge */
.js .split-words.armed .w > span { transform: none !important; transition: none !important; }
.btn { transform: none !important; }
.js .rv-img { clip-path: none !important; }
.js .rv-img img { scale: 1 !important; }
.js .hero-img { animation-duration: 60s; }
/* 6 Kursive Hervorhebungen aufrecht */
.hl, .footer .claim, .params .big-word { font-style: normal; }
.hl { background-image: linear-gradient(var(--signal), var(--signal)); }
/* 7 Kein riesiger Kontur-Schriftzug im Footer */
.footer-word { display: none; }
.footer { padding-bottom: 40px; }
/* 8 Zahlen wie auf einem Messprotokoll: gleich breite Ziffern */
.params .big, .big-4, .card .num, .thr-label b, .thr-scale, .tk-fields dd, .norms td, .specs dd, .kpis li::before, .flow-steps li::before { font-variant-numeric: tabular-nums lining-nums; }
/* 9 Kleine Etiketten weniger gesperrt */
.roles dt, .specs dt, .params dt, .person dt, .tk-fields dt, .thr-kicker, .severity thead th, label { letter-spacing: .1em; }
/* Überschrift: zweite Zeile in Gold, aufrecht, gleiche Schrift */
.hero-title em { color: var(--stone); font-style: normal; }
.hero-kicker::before { background: var(--stone); }
/* Mobil: aufrechte zweite Zeile ist breiter als die Kursive, daher etwas kleiner */
@media (max-width: 560px) { .hero-title { font-size: clamp(2.5rem, 12.8vw, 4.2rem); } }
@media (max-width: 380px) { h2.display { font-size: 2.5rem; } }

/* Mobil 01.12.2026: Skala ohne Seitenüberstand, Labels lesbar, nichts ragt über den Viewport */
@media (max-width: 900px) {
  .thresholds { overflow-x: clip; min-width: 0; }
  .thr-row { min-width: 0; overflow-x: clip; }
  .thr-label,
  .lbl-left .thr-label { padding-left: 0; padding-right: 0; text-align: left; }
  .thr-label b { font-size: 1.5rem; }
  .thr-scale { position: relative; overflow: hidden; height: 1.2em; }
  .thr-scale span { position: absolute; top: 0; width: auto; flex: none; min-width: 0; white-space: nowrap; transform: translateX(-50%); justify-content: center; }
  .thr-scale span:nth-child(1) { left: 0; transform: none; justify-content: flex-start; }
  .thr-scale span:nth-child(2) { left: 20%; }
  .thr-scale span:nth-child(3) { left: 40%; }
  .thr-scale span:nth-child(4) { left: 60%; }
  .thr-scale span:nth-child(5) { left: 80%; }
  .thr-scale span:nth-child(6) { left: auto; right: 0; transform: none; justify-content: flex-end; }
}

/* Mobil 01.12.2026 (b): Grid-Spalten dürfen schrumpfen, damit kein Inhalt das Layout aufweitet (iOS Safari) */
@media (max-width: 900px) {
  .split, .pilot-bottom, .norms-block, .loss-row, .recht-no, .flow-grid, .story, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .split > *, .pilot-bottom > *, .norms-block > *, .loss-row > *, .recht-no > *, .flow-grid > *, .story > *, .about-grid > * { min-width: 0; }
  .story-visual { position: relative !important; top: auto !important; }
}
@media (max-width: 340px) {
  h2.display { font-size: 2.15rem; }
  .params .big { font-size: 2.6rem; }
  .params .big-word { font-size: 1.5rem; }
}


/* Mobil 01.12.2026 (d): Menüknopf Variante A, zwei goldene Linien, Desktop unverändert */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 8px 12px;
    transition: border-color .35s var(--ease);
  }
  .nav-toggle:hover, .nav-toggle:focus-visible, .nav-toggle[aria-expanded="true"] { border-color: var(--stone); }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 14px; flex: none; }
  .nav-burger i { display: block; height: 1.5px; width: 100%; background: var(--stone); transform-origin: center; transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-toggle-label { font: inherit; font-size: .92rem; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-burger i, .nav-toggle { transition: none; }
}

/* Vorschau 01.12.2026: großer HOLSKAR-Schriftzug am Seitenende (Gold, Verlauf nach unten, bündig am Rand) */
.footer { padding-bottom: 0; }
.footer-word { display: block; margin: 40px 0 0; line-height: 0; user-select: none; }
.footer-word svg { width: 100%; height: auto; display: block; overflow: hidden; }
.footer-word text { font-family: var(--serif); font-weight: 700; font-size: 214px; fill: url(#fw-fill); stroke: none; }
.page-legal .footer { padding-bottom: 40px; }

/* 01.12.2026: Handy-Hero Variante B, sauberer Übergang unter dem Kopf, Desktop unverändert */
@media (max-width: 700px) {
  .js .hero-img { animation: none; }

  /* Kopf wie live: durchgehend dunkle Fläche, nichts vom Bild dahinter, keine Kante */
  .nav {
    background: var(--ink);
    border-bottom-color: transparent;
  }
  .nav::before { opacity: 0; }
  .nav.is-solid {
    background: var(--ink);
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav.menu-open,
  .nav.menu-open.is-solid { background: var(--forest); }
  .page-legal .nav,
  .page-legal .nav.is-solid { background: var(--forest); }

  .hero-shade { background: none; }
  .hero-inner { position: relative; padding-top: calc(var(--nav-h) + 48vw); }
  .hero-inner::before {
    content: "";
    position: absolute;
    left: -8vw; right: -8vw; top: -24px; bottom: -16px;
    background: linear-gradient(180deg, rgba(20,28,24,0) 0%, rgba(20,28,24,.22) 16%, rgba(20,28,24,.78) 40%, rgba(20,28,24,.97) 100%);
    z-index: -1;
    pointer-events: none;
  }
  .hero-kicker, .hero-title, .hero-lead { text-shadow: 0 1px 18px rgba(20,28,24,.45); }

  /* Landschaft als Band unter dem Kopf, oben und unten weich in die dunkle Fläche */
  .hero-media {
    top: calc(var(--nav-h) + 12px);
    left: 0;
    right: 0;
    bottom: auto;
    height: 56.25vw;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
  }
  .hero-img { object-fit: fill; object-position: 50% 50%; }

  .footer-word { margin-bottom: 84px; }
}
