/* ==========================================================================
   Protect Berlin GmbH – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Bausteine · 4 Navigation · 5 Sektionen
           6 Illustrationen · 7 Formulare · 8 Footer · 9 Rechtsseiten
           10 Bewegung & reduzierte Bewegung
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Anfragen) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- 1 Tokens ---------- */
:root {
  --forest: #073B2A;
  --green: #087A50;
  --emerald: #10A66B;
  --light: #DDF5E9;
  --mint: #EFFAF4;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.65);
  --ink: #10251B;
  --ink-2: rgba(16, 37, 27, 0.72);
  --ink-3: rgba(16, 37, 27, 0.5);
  --line: rgba(7, 59, 42, 0.12);
  --line-strong: rgba(7, 59, 42, 0.2);
  --danger: #B3261E;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --sheet-r: clamp(24px, 3.4vw, 44px);
  --r-lg: clamp(20px, 2.4vw, 32px);
  --r-md: 18px;
  --section: clamp(88px, 11vw, 168px);

  --shadow-soft: 0 1px 1px rgba(7, 59, 42, 0.04), 0 12px 32px -12px rgba(7, 59, 42, 0.16);
  --shadow-lift: 0 2px 2px rgba(7, 59, 42, 0.04), 0 32px 64px -28px rgba(7, 59, 42, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- 2 Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
h1, h2, h3, p, li, dt, dd { overflow-wrap: break-word; }
@media (max-width: 479px) { h2, h3, .ticks li, .cert__sub { -webkit-hyphens: auto; hyphens: auto; } }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
b, strong { font-weight: 600; }
::selection { background: var(--emerald); color: #fff; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--forest); color: #fff; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }

/* Typografie */
.h-xl, .h-lg, .h-md, .hero__title, .konzept__title, .footer__claim {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.h-xl { font-size: clamp(2.35rem, 5.1vw, 4.5rem); }
.h-lg { font-size: clamp(2rem, 3.7vw, 3.25rem); letter-spacing: -0.03em; }
.h-md { font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.grad { background: linear-gradient(100deg, var(--forest) 0%, var(--green) 30%, var(--emerald) 62%, #5AD3A0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; }

/* Zeilenmasken für Überschriften */
.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line__in { display: block; will-change: transform; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3 Bausteine ---------- */
/* Glas: bewusst zurückhaltend, Text bleibt immer auf fast deckendem Grund */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
/* Lichtreflex, der dem Zeiger folgt */
[data-glass] { position: relative; isolation: isolate; }
[data-glass]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(16, 166, 107, 0.16), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
[data-glass]:hover::after { opacity: 1; }

.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn > span, .btn > .ico { position: relative; z-index: 1; transition: transform .45s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px -10px rgba(8, 122, 80, 0.7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: linear-gradient(110deg, var(--forest), var(--emerald)); opacity: 0; transition: opacity .45s var(--ease);
}
.btn--primary:hover::before, .btn--primary:focus-visible::before { opacity: 1; }
.btn--primary:hover > .ico { transform: translateX(4px); }
.btn--glass { --btn-fg: var(--ink); background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(7, 59, 42, 0.12), inset 0 1px 0 #fff; }
.btn--glass:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(8, 122, 80, 0.5), 0 12px 28px -14px rgba(7, 59, 42, 0.4); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--forest); }
.btn--light:hover { background: var(--light); }
.btn--light:hover > .ico { transform: translateX(4px); }
.btn[disabled] { cursor: progress; opacity: .85; }
.btn { max-width: 100%; }
@media (max-width: 359px) { .btn { padding: 0 20px; font-size: 0.9375rem; gap: 8px; } }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--green); padding: 6px 0; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link .ico { transition: transform .45s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.link--light { color: #7BE3B4; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.300 2.700 2.700L13 6.500' fill='none' stroke='%23087A50' stroke-width='1.700' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (min-width: 560px) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; } }

.section-head { display: grid; gap: 24px; margin-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
  .section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.section-head--center .lead { margin-inline: auto; }

/* Blätter: deckende Sektionen, die sich über die 3D-Bühne schieben */
.sheet, .why, .certs, .career { position: relative; z-index: 2; }
.sheet { background: var(--white); border-radius: var(--sheet-r); }

/* Fortschritt, Cursor, Bühne */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--emerald)); transform: scaleX(0); transform-origin: 0 50%; }

/* Mauszeiger: normaler Pfeil, in Markengrün (kein Ring, kein Nachziehen) */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"%3E%3Cpath d="M4 2.6v20.2l5.300-5 3.500 8.100 3.600-1.600-3.500-7.900h7.400L4 2.600z" fill="%23087A50" stroke="%23fff" stroke-width="1.600" stroke-linejoin="round"/%3E%3Cpath d="M5.600 6.300v12.500l3.100-2.900" fill="none" stroke="%233DFFB0" stroke-opacity=".75" stroke-width="1"/%3E%3C/svg%3E") 4 3, auto; }
  a, button, label, summary, select, [role="button"], .seg label, .file input, input[type="checkbox"], input[type="radio"], .hs { cursor: url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"%3E%3Cpath d="M10.500 2.400c1.100 0 2 .900 2 2v6.300c.300-.200.700-.300 1.100-.300.900 0 1.600.500 1.900 1.300.300-.200.700-.300 1.100-.300 1 0 1.800.600 2 1.500.300-.100.600-.200.900-.200 1.200 0 2.100.900 2.100 2.100v4.600c0 3.600-2.900 6.300-6.500 6.300h-1.600c-2.200 0-4.200-1.100-5.400-3l-3.400-5.300c-.500-.800-.300-1.900.500-2.400.800-.500 1.800-.300 2.400.400l1 1.300V4.400c0-1.100.900-2 2-2z" fill="%23087A50" stroke="%23fff" stroke-width="1.500" stroke-linejoin="round"/%3E%3Cpath d="M12.500 11v4.500M15.500 12.500v3M18.500 13.500v2.200" stroke="%23fff" stroke-opacity=".55" stroke-width="1" stroke-linecap="round"/%3E%3C/svg%3E") 10 2, pointer; }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
  .viewer-canvas { cursor: grab; }
  .viewer-canvas.is-grabbing { cursor: grabbing; }
}

.stage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
html.stage-on .stage { opacity: 1; }

/* ---------- 4 Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 16px var(--pad) 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: var(--wrap); margin-inline: auto; height: 64px; padding: 0 10px 0 20px;
  display: flex; align-items: center; gap: 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 30px -18px rgba(7, 59, 42, 0.35);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, 0.86); box-shadow: 0 1px 0 #fff inset, 0 16px 36px -20px rgba(7, 59, 42, 0.5); height: 58px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 26px; height: 34px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }
.logo__word { font-family: var(--display); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.logo__word b { font-weight: 600; color: var(--green); }
.logo--light .logo__word { color: #fff; }
.logo--light .logo__word b { color: #7BE3B4; }

.nav__links { position: relative; display: none; align-items: center; margin-inline: auto; }
.nav__links a { position: relative; z-index: 1; padding: 9px 15px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--forest); }
.nav__indicator { position: absolute; left: 0; top: 50%; height: 36px; width: 0; margin-top: -18px; border-radius: 999px; background: var(--light); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav__cta { display: none; }
.nav__toggle { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); position: relative; flex: none; z-index: 2; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21.500px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21.500px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobiles Menü */
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: 112px var(--pad) max(28px, env(safe-area-inset-bottom)); color: #fff; overflow: hidden; }
.menu[hidden] { display: none; }
.menu__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, #0C5B40 0%, var(--forest) 55%, #04261B 100%); clip-path: circle(0px at calc(100% - var(--pad) - 32px) 48px); transition: clip-path .9s var(--ease-io); }
.menu.is-open .menu__bg { clip-path: circle(150vmax at calc(100% - var(--pad) - 32px) 48px); }
.menu__nav { display: grid; gap: 2px; }
.menu__nav a { display: block; overflow: hidden; font-family: var(--display); font-size: clamp(2.1rem, 9.5vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.22; }
.menu__nav a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu.is-open .menu__nav a span { transform: none; }
.menu__nav a:nth-child(1) span { transition-delay: .18s; } .menu__nav a:nth-child(2) span { transition-delay: .23s; }
.menu__nav a:nth-child(3) span { transition-delay: .28s; } .menu__nav a:nth-child(4) span { transition-delay: .33s; }
.menu__nav a:nth-child(5) span { transition-delay: .38s; } .menu__nav a:nth-child(6) span { transition-delay: .43s; }
.menu:not(.is-open) .menu__nav a span { transition-delay: 0s; transition-duration: .35s; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .55s; }
.menu__foot .btn--primary { --btn-bg: var(--emerald); }
.menu__tel { font-family: var(--mono); font-size: 1rem; color: var(--light); padding: 12px 0; }
body.menu-open .nav__bar { background: rgba(255, 255, 255, 0.96); }

/* ---------- 5 Sektionen ---------- */

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 132px 0 96px; }
.hero__bg { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 60vh); overflow: hidden; pointer-events: none; background: radial-gradient(90% 70% at 78% 38%, var(--light) 0%, var(--mint) 38%, #fff 72%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(7, 59, 42, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 59, 42, 0.055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(60% 60% at 74% 42%, #000 0%, transparent 78%); mask-image: radial-gradient(60% 60% at 74% 42%, #000 0%, transparent 78%); }
.hero__beam { position: absolute; width: 46vw; min-width: 420px; height: 150vh; top: -30vh; background: linear-gradient(180deg, transparent 0%, rgba(16, 166, 107, 0.2) 45%, transparent 100%); filter: blur(46px); transform: rotate(24deg); opacity: .7; }
.hero__beam--a { left: 52%; animation: beam 14s var(--ease-io) infinite alternate; }
.hero__beam--b { left: 72%; width: 22vw; min-width: 220px; opacity: .5; animation: beam 18s var(--ease-io) -6s infinite alternate-reverse; }
.hero__glow { position: absolute; right: 4%; top: 16%; width: min(52vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 62%); }
@keyframes beam { from { transform: rotate(24deg) translateX(-5vw); } to { transform: rotate(20deg) translateX(7vw); } }

.hero__inner { position: relative; z-index: 2; display: grid; gap: 32px; }
.hero__copy { max-width: 720px; }
.hero__eyebrow { margin-bottom: 28px; line-height: 1.7; }
.hero__title { font-size: clamp(3rem, 5.7vw, 5.75rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: 32px; }
.hero__lead { font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 31em; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 0.9375rem; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; }
.hero__trust .ico { color: var(--green); }
.hero__visual { display: none; }
html.no-webgl .hero__visual, html.no-js .hero__visual { display: block; }
.shield-fallback { width: min(64vw, 400px); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(7, 59, 42, 0.18)); }
.hero__scroll { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 44px; height: 72px; margin-left: -22px; display: none; justify-content: center; }
.hero__scroll-line { width: 1px; height: 100%; background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat; position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--emerald); animation: scrollhint 2.4s var(--ease-io) infinite; }
@keyframes scrollhint { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

@media (max-width: 899px) {
  /* Mobil: das Schild schwebt über dem Text */
  html.js:not(.no-webgl) .hero { padding-top: calc(46vh + 16px); padding-top: calc(46svh + 16px); justify-content: flex-start; }
  .hero__bg { background: radial-gradient(120% 55% at 50% 22%, var(--light) 0%, var(--mint) 45%, #fff 80%); }
  .hero__grid { -webkit-mask-image: radial-gradient(80% 40% at 50% 24%, #000 0%, transparent 80%); mask-image: radial-gradient(80% 40% at 50% 24%, #000 0%, transparent 80%); }
  .hero__beam--a { left: 10%; } .hero__beam--b { left: 55%; }
  .hero__glow { right: 50%; transform: translateX(50%); top: 6%; width: 92vw; }
  .hero__title { font-size: clamp(2.3rem, 12vw, 4.4rem); }
  html.no-webgl .hero, html.no-js .hero { padding-top: 112px; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
  .hero__scroll { display: flex; }
  .hero__title .line { white-space: nowrap; }
  .shield-fallback { width: min(34vw, 440px); }
}

/* Trust */
.trust { padding: 0 0 clamp(72px, 9vw, 128px); }
.trust .wrap { position: relative; z-index: 2; }
.trust__band { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; }
.trust__item { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(22px, 3vw, 40px) clamp(18px, 2.8vw, 40px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: -1px 0 0 -1px; }
.trust__item dd { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; color: var(--forest); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trust__sub { font-size: 0.5em; letter-spacing: -0.02em; color: var(--emerald); font-weight: 500; }
.trust__item dt { font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 900px) { .trust__band { grid-template-columns: repeat(4, 1fr); } }

/* Leistungen */
.services { padding: var(--section) 0 calc(var(--section) + var(--sheet-r)); }
.svc__no { font-family: var(--mono); font-size: 0.8125rem; color: var(--green); margin-bottom: 18px; }
.svc__claim { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--green); margin: 14px 0 18px; }
.svc__body > p:not([class]) { color: var(--ink-2); max-width: 33em; }
.svc__body .ticks, .svc__body .chips, .svc__body .flow { margin-top: 28px; }
.svc__body .link { margin-top: 28px; }
.svc__label { font-size: 0.875rem; color: rgba(221, 245, 233, 0.7); margin-top: 28px; }
.svc__art { width: 100%; }
.illu { width: 100%; height: auto; overflow: visible; }

.svc--feature { display: grid; gap: 36px; align-items: center; }
.svc__frame { border-radius: var(--r-lg); background: linear-gradient(160deg, var(--mint) 0%, #fff 60%); border: 1px solid var(--line); padding: clamp(8px, 2vw, 28px); overflow: hidden; }
.svc__frame--mint { background: linear-gradient(200deg, var(--light) 0%, var(--mint) 55%, #fff 100%); }
@media (min-width: 900px) {
  .svc--feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 104px); }
  .svc--flip .svc__media { order: 2; }
  .svc--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* 02 Nacht-Panel */
.svc--night { position: relative; margin: clamp(72px, 9vw, 136px) 0; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: radial-gradient(110% 90% at 80% 0%, #0E5A40 0%, var(--forest) 45%, #04241A 100%); display: grid; isolation: isolate; }
.svc--night .svc__body { padding: clamp(28px, 5vw, 72px); position: relative; z-index: 1; }
.svc--night .svc__no { color: #7BE3B4; }
.svc--night .svc__claim { color: #7BE3B4; }
.svc--night .svc__body > p:not([class]) { color: rgba(239, 250, 244, 0.78); }
.svc__night-art { padding: clamp(12px, 3vw, 40px) clamp(12px, 3vw, 40px) 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.chips li { padding: 9px 16px; border-radius: 999px; font-size: 0.9375rem; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(221, 245, 233, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 900px) {
  .svc--night { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: 640px; }
  .svc--night .svc__body { order: 1; padding-right: 0; }
  .svc__night-art { order: 2; padding: 40px 40px 40px 0; }
}

/* 03 + 04 Karten */
.svc-pair { display: grid; gap: 24px; margin-bottom: clamp(72px, 9vw, 136px); }
.svc--card { border-radius: var(--r-lg); background: var(--mint); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s; }
.svc--card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(8, 122, 80, 0.35); }
.svc--card .svc__body { padding: clamp(24px, 3vw, 44px); background: #fff; flex: 1; border-top: 1px solid var(--line); }
.svc__art--card { padding: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) 0; transition: transform 1s var(--ease); }
.svc--card:hover .svc__art--card { transform: scale(1.03); }
@media (min-width: 900px) {
  .svc-pair { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .svc--offset { margin-top: 96px; }
}

/* 05 Ablauf */
.flow { display: grid; gap: 0; counter-reset: flow; border-left: 1px solid var(--line-strong); margin-left: 6px; }
.flow li { position: relative; padding: 0 0 20px 26px; display: grid; gap: 2px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: -6px; top: 0.4em; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--emerald); }
.flow li span { color: var(--ink-2); font-size: 0.9375rem; }

/* Konzept (dunkel, Bühne) */
.konzept { position: static; height: 360vh; margin-top: calc(-1 * var(--sheet-r)); background: #04241A; color: #fff; }
.konzept__bg { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(70% 70% at 68% 50%, #0F5F43 0%, var(--forest) 42%, #04241A 100%); }
.konzept__sticky { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh; padding-top: 72px; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.konzept__sticky > * { pointer-events: auto; }
.konzept__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(221, 245, 233, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(221, 245, 233, 0.05) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(55% 60% at 68% 50%, #000, transparent 80%); mask-image: radial-gradient(55% 60% at 68% 50%, #000, transparent 80%); }
.konzept__glow { position: absolute; left: 68%; top: 50%; width: min(70vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(16, 166, 107, 0.28), transparent 60%); }
.konzept__inner { display: grid; gap: clamp(28px, 4vh, 56px); }
.konzept__title { font-size: clamp(2rem, min(4vw, 6.4vh), 3.6rem); max-width: 12em; }
.konzept__layers { display: grid; gap: 4px; max-width: 460px; }
.callout { position: relative; padding: 14px 0 14px 22px; border-left: 1px solid rgba(221, 245, 233, 0.18); transition: opacity .6s var(--ease), border-color .6s; }
.callout::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--emerald); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.callout__k { font-family: var(--mono); font-size: 0.8125rem; color: #7BE3B4; margin-bottom: 4px; }
.callout h3 { font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; }
.callout p:last-child { color: rgba(239, 250, 244, 0.72); font-size: 0.9688rem; margin-top: 6px; max-width: 30em; }
html.anim .konzept.is-live .callout { opacity: 0.32; }
html.anim .konzept.is-live .callout.is-active { opacity: 1; }
.callout.is-active::before, html:not(.anim) .callout::before { transform: scaleY(1); }
.konzept__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; display: none; }
.konzept__lines path { fill: none; stroke: #7BE3B4; stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .5s; }
.konzept__lines path.is-on { opacity: .8; }
.konzept__lines circle { fill: #04241A; stroke: #7BE3B4; stroke-width: 1.5; opacity: 0; transition: opacity .5s; }
.konzept__lines circle.is-on { opacity: 1; }
@media (min-width: 900px) {
  .konzept__lines { display: block; }
  .konzept__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .konzept__title, .konzept__layers { grid-column: 1; }
  /* Am Desktop klappt nur die gerade erklärte Ebene auf */
  html.anim .konzept.is-live .callout p:last-child { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s var(--ease), margin-top .7s var(--ease); }
  html.anim .konzept.is-live .callout.is-active p:last-child { max-height: 7em; opacity: 1; margin-top: 6px; }
  html.anim .konzept.is-live .callout { opacity: 0.5; }
}
@media (max-width: 899px) {
  .konzept__bg { background: radial-gradient(90% 50% at 50% 46%, #0F5F43 0%, var(--forest) 50%, #04241A 100%); }
  .konzept__glow { left: 50%; top: 46%; width: 110vw; }
  .konzept__grid { -webkit-mask-image: radial-gradient(80% 40% at 50% 46%, #000, transparent 80%); mask-image: radial-gradient(80% 40% at 50% 46%, #000, transparent 80%); }
  .konzept__sticky { align-items: stretch; }
  .konzept__sticky { padding-top: 0; }
  .konzept__inner { grid-template-rows: auto 1fr; padding-top: 96px; padding-bottom: 24px; }
  .konzept__title { font-size: clamp(1.6rem, 7.2vw, 2.5rem); }
  .konzept__layers { align-self: end; position: relative; min-height: 172px; }
  html.anim .konzept.is-live .callout { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  html.anim .konzept.is-live .callout.is-active { opacity: 1; transform: none; }
  html.anim .konzept.is-live .callout:first-child:not(.is-active):not(.was-active) { opacity: 0; }
}
/* Ohne Animation oder ohne WebGL: normale Sektion */
html:not(.anim) .konzept, html.no-webgl .konzept { height: auto; }
html:not(.anim) .konzept__bg, html.no-webgl .konzept__bg { position: absolute; left: 0; right: 0; height: 100%; }
html:not(.anim) .konzept, html.no-webgl .konzept { position: relative; }
html:not(.anim) .konzept__sticky, html.no-webgl .konzept__sticky { position: relative; height: auto; margin-top: 0; padding: calc(var(--section) + var(--sheet-r)) 0; }
html.no-webgl .konzept .callout, html.no-webgl .konzept.is-live .callout { opacity: 1 !important; position: relative !important; transform: none !important; }
html.no-webgl .konzept .callout p:last-child { max-height: none !important; opacity: 1 !important; margin-top: 6px !important; }
html.no-webgl .konzept .callout::before { transform: scaleY(1); }
@media (min-width: 900px) {
  html.no-webgl .konzept__inner { grid-template-columns: 1fr; }
  html.no-webgl .konzept__layers { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* 06 Sicherheitsanalyse */
.analysis { margin-top: calc(-1 * var(--sheet-r)); padding: var(--section) 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.analysis__grid { display: grid; gap: 40px; align-items: center; }
.analysis__art { border-radius: var(--r-lg); background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); border: 1px solid var(--line); padding: clamp(8px, 2vw, 32px); overflow: hidden; }
.analysis__body > p:not([class]) { color: var(--ink-2); max-width: 33em; }
.steps { display: grid; gap: 6px; margin: 32px 0 36px; }
.step { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px 18px 14px 14px; border-radius: var(--r-md); border: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { background: var(--mint); }
.step.is-active { background: #fff; border-color: rgba(8, 122, 80, 0.3); box-shadow: var(--shadow-soft); }
.step__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.875rem; color: var(--green); background: var(--light); transition: background-color .4s, color .4s; }
.step.is-active .step__n { background: var(--green); color: #fff; }
.step__t { display: grid; gap: 1px; }
.step__t b { font-weight: 600; }
.step__t span { font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 900px) { .analysis__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 104px); } }

/* Unternehmen */
.why { background: #fff; padding: 0 0 var(--section); }
.why__grid { display: grid; gap: 48px; border-top: 1px solid var(--line); padding-top: var(--section); }
.why__head { display: grid; gap: 24px; align-content: start; justify-items: start; }
.why__head .h-xl { font-size: clamp(2.2rem, 3.9vw, 3.5rem); }
.why__list { display: grid; }
.why__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding .6s var(--ease); }
.why__item:first-child { border-top: 1px solid var(--line); }
.why__item h3 { font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.why__item p { color: var(--ink-2); margin-top: 6px; max-width: 34em; }
.why__icon { width: 56px; height: 56px; fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.why__icon .a { stroke: var(--emerald); }
.why__icon .a-fill { fill: var(--emerald); stroke: none; }
.why__icon .knob { fill: #fff; stroke: var(--emerald); transition: transform .9s var(--ease); }
.why__icon .hand, .why__icon .hand2 { transform-origin: 28px 28px; }
.why__icon .ringp { stroke: var(--emerald); opacity: .5; transform-box: fill-box; transform-origin: center; }
@media (hover: hover) { .why__item:hover { padding-left: 12px; } }
.why__item:hover .k1 { transform: translateX(16px); } .why__item:hover .k2 { transform: translateX(-18px); } .why__item:hover .k3 { transform: translateX(12px); }
.why__item.is-inview .hand { animation: spin 6s linear infinite; }
.why__item.is-inview .hand2 { animation: spin 72s linear infinite; }
.why__item.is-inview .r1 { animation: ringp 2.8s var(--ease) infinite; }
.why__item.is-inview .r2 { animation: ringp 2.8s var(--ease) .5s infinite; }
.why__item:hover .l3 { transform: translateY(-3px); } .why__item:hover .l1 { transform: translateY(3px); }
.why__icon--layers path { transition: transform .7s var(--ease); }
.why__item:hover .w1 { animation: type 1.2s var(--ease); } .why__item:hover .w2 { animation: type 1.2s var(--ease) .15s both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringp { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes type { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (min-width: 900px) {
  .why__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); }
  .why__head { position: -webkit-sticky; position: sticky; top: 128px; }
  .why__item { grid-template-columns: 72px 1fr; padding: 34px 0; }
}

/* Zertifizierungen */
.certs { padding: var(--section) 0 calc(var(--section) + var(--sheet-r)); background: var(--mint); overflow: hidden; }
.certs__bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 20%, #fff 0%, transparent 70%), radial-gradient(50% 60% at 90% 80%, var(--light) 0%, transparent 70%); }
.certs .wrap { position: relative; }
.certs__grid { display: grid; gap: 24px; perspective: 1400px; }
.cert { border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; transform-style: preserve-3d; transition: box-shadow .6s var(--ease); will-change: transform; }
.cert:hover { box-shadow: var(--shadow-lift), inset 0 1px 0 #fff; }
.cert__seal { width: clamp(132px, 16vw, 184px); aspect-ratio: 1; transform: translateZ(40px); }
.cert__seal svg { width: 100%; height: 100%; overflow: visible; }
.seal__ring { fill: #fff; stroke: var(--green); stroke-width: 1.5; }
.seal__ring2 { fill: var(--mint); stroke: var(--line-strong); stroke-width: 1; }
.seal__arc { font-family: var(--mono); font-size: 10px; fill: var(--green); transform-origin: 100px 100px; }
.cert.is-inview .seal__arc { animation: spin 60s linear infinite; }
.seal__small { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: 0.2em; fill: var(--emerald); }
.seal__big { font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.03em; fill: var(--forest); }
.cert__body { transform: translateZ(20px); }
.cert__sub { color: var(--green); font-weight: 500; margin-top: 6px; }
.cert__label { font-size: 0.875rem; color: var(--ink-3); margin: 22px 0 12px; }
@media (min-width: 640px) { .cert { grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); } }
@media (min-width: 1000px) { .certs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .cert { grid-template-columns: minmax(0, 1fr); align-content: start; } }

/* Einsatzgebiet */
.area { margin-top: calc(-1 * var(--sheet-r)); padding: var(--section) 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.area__grid { display: grid; gap: 40px; align-items: center; }
.area__body { display: grid; gap: 24px; justify-items: start; }
.map { width: 100%; height: auto; overflow: visible; }
.map__bb { fill: var(--mint); stroke: rgba(8, 122, 80, 0.3); stroke-width: 1.2; stroke-linejoin: round; }
.map__be { fill: rgba(16, 166, 107, 0.14); stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; }
.map__dots circle { fill: rgba(8, 122, 80, 0.3); }
.map__dots circle.is-be { fill: var(--green); }
.map__rings circle { fill: none; stroke: var(--emerald); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.area.is-inview .map__rings circle { animation: mapring 4.8s var(--ease) infinite; }
.area.is-inview .map__rings circle:nth-child(2) { animation-delay: 1.6s; }
.area.is-inview .map__rings circle:nth-child(3) { animation-delay: 3.2s; }
@keyframes mapring { 0% { transform: scale(.08); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.map__cities text { font-family: var(--font); font-size: 13.5px; fill: var(--ink-2); }
.map__cities circle { fill: #fff; stroke: rgba(8, 122, 80, 0.6); stroke-width: 1.2; }
.map__pin .pin-dot { fill: var(--forest); }
.map__pin .pin-halo { fill: rgba(16, 166, 107, 0.25); }
.map__pin text { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; fill: var(--forest); }
.map__pin .pin-sub { font-family: var(--font); font-size: 13.5px; font-weight: 500; letter-spacing: 0; fill: var(--green); }
.legend { display: grid; gap: 14px; margin-top: 8px; }
.legend li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.legend li div { display: grid; }
.legend li span { color: var(--ink-2); font-size: 0.9375rem; }
.legend__sw { width: 28px; height: 28px; border-radius: 8px; margin-top: 2px; }
.legend__sw--be { background: rgba(16, 166, 107, 0.25); border: 1.5px solid var(--green); }
.legend__sw--bb { background: var(--mint); border: 1.5px solid rgba(8, 122, 80, 0.3); }
.area__note { font-size: 0.9375rem; color: var(--ink-2); padding: 16px 20px; border-radius: var(--r-md); background: var(--mint); max-width: 30em; }
@media (max-width: 699px) {
  .map__cities text { display: none; }
  .map__pin text { font-size: 34px; }
  .map__pin .pin-sub { font-size: 22px; }
}
@media (min-width: 900px) { .area__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 104px); } }

/* Karriere */
.career { padding: var(--section) 0 calc(var(--section) + var(--sheet-r)); background: linear-gradient(180deg, #fff 0%, var(--mint) 30%, var(--light) 100%); overflow: hidden; }
.career__bg { position: absolute; right: -10%; top: 10%; width: 60vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(16, 166, 107, 0.2), transparent 62%); }
.career__grid { position: relative; display: grid; gap: 48px; align-items: start; }
.career__copy { display: grid; gap: 24px; justify-items: start; }
.career__facts { display: grid; gap: 0; width: 100%; max-width: 30em; margin-top: 16px; }
.career__facts li { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-strong); font-size: 0.9688rem; }
.career__facts b { font-weight: 500; color: var(--ink-3); }
@media (min-width: 1000px) {
  .career__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 104px); }
  .career__copy { position: -webkit-sticky; position: sticky; top: 128px; }
}

/* Kontakt */
.contact { margin-top: calc(-1 * var(--sheet-r)); padding: var(--section) 0 calc(var(--section) + var(--sheet-r)); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.ways { display: grid; gap: 12px; }
.way { display: grid; grid-template-columns: 52px 1fr 20px; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease), background-color .4s; }
.way:hover { border-color: rgba(8, 122, 80, 0.4); box-shadow: var(--shadow-soft); transform: translateX(4px); background: var(--mint); }
.way__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--green); transition: background-color .4s, color .4s; }
.way:hover .way__ico { background: var(--green); color: #fff; }
.way__t { display: grid; min-width: 0; }
.way__k { font-size: 0.8125rem; color: var(--ink-3); }
.way__t b { font-family: var(--display); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.way__t > span:last-child { font-size: 0.875rem; color: var(--ink-2); }
.way__arrow { color: var(--green); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.way:hover .way__arrow { opacity: 1; transform: none; }
.contact__addr { display: grid; gap: 4px; margin-top: 28px; padding-left: 4px; color: var(--ink-2); font-size: 0.9688rem; }
.contact__addr b { color: var(--ink); }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 104px); }
  .contact__ways { position: -webkit-sticky; position: sticky; top: 128px; }
}

/* ---------- 6 Illustrationen ---------- */
.i-grid { stroke: rgba(7, 59, 42, 0.07); stroke-width: 1; }
.i-top, .i-left, .i-right, .i-car-top, .i-car-left, .i-car-right, .i-car-glass, .i-slab-top, .i-slab-side, .i-mat-top, .i-mat-left, .i-mat-right, .i-accent-top, .i-accent-side, .i-screen, .i-beacon { stroke-linejoin: round; stroke-width: 1; }
.i-top { fill: #fff; stroke: rgba(7, 59, 42, 0.4); }
.i-left { fill: #F4FBF7; stroke: rgba(7, 59, 42, 0.4); }
.i-right { fill: #DDF5E9; stroke: rgba(7, 59, 42, 0.4); }
.i-win { fill: rgba(8, 122, 80, 0.16); }
.i-win.is-lit { fill: var(--emerald); }
.i-door { fill: var(--forest); }
.i-accent-top { fill: var(--emerald); stroke: var(--green); }
.i-accent-side { fill: var(--green); stroke: var(--forest); }
.i-line { stroke: rgba(7, 59, 42, 0.6); stroke-width: 1.2; stroke-linecap: round; }
.i-shadow { fill: rgba(7, 59, 42, 0.07); }
.i-perimeter { fill: none; stroke: var(--emerald); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-perimeter-glow { fill: rgba(16, 166, 107, 0.04); stroke: var(--emerald); stroke-width: 10; opacity: .13; stroke-linejoin: round; }
.i-person rect, .i-person circle { fill: var(--forest); }
.i-person.is-visitor rect, .i-person.is-visitor circle { fill: var(--green); }
.i-scan { fill: rgba(16, 166, 107, 0.12); stroke: var(--emerald); stroke-width: 1; stroke-dasharray: 3 4; }
.i-node .i-dot { fill: var(--emerald); }
.i-node .i-halo { fill: rgba(16, 166, 107, 0.22); transform-box: fill-box; transform-origin: center; }
.i-node.is-alarm .i-dot { fill: var(--forest); }
.i-node.is-weak .i-dot { fill: var(--forest); }
.i-road { fill: none; stroke: rgba(7, 59, 42, 0.07); stroke-width: 16; stroke-linejoin: round; stroke-linecap: round; }
.i-route { fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 0; }
.i-check circle { fill: #fff; stroke: var(--emerald); stroke-width: 1.4; }
.i-check path { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-patrol .i-dot { fill: var(--forest); }
.i-patrol .i-halo { fill: rgba(16, 166, 107, 0.35); }
.i-car-top { fill: #fff; stroke: rgba(7, 59, 42, 0.55); }
.i-car-left { fill: var(--forest); stroke: var(--forest); }
.i-car-right { fill: #0B5A3F; stroke: var(--forest); }
.i-car-glass { fill: #BDE9D2; stroke: rgba(7, 59, 42, 0.55); }
.i-beacon { fill: var(--emerald); stroke: var(--green); }
.i-wheel { fill: var(--ink); }
.i-alarm { fill: none; stroke: var(--emerald); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.i-wall-a { fill: #F4FBF7; stroke: rgba(7, 59, 42, 0.25); }
.i-wall-b { fill: #E8F7EF; stroke: rgba(7, 59, 42, 0.25); }
.i-floor { fill: #fff; stroke: rgba(7, 59, 42, 0.25); }
.i-glassdoor { fill: rgba(16, 166, 107, 0.16); stroke: rgba(7, 59, 42, 0.5); }
.i-panel { fill: #fff; stroke: rgba(7, 59, 42, 0.25); }
.i-emblem { fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linejoin: round; }
.i-screen { fill: var(--forest); stroke: var(--forest); }
.i-beam { stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; }
.i-beam.is-soft { opacity: .45; }
.i-walk { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.i-connector { stroke: rgba(7, 59, 42, 0.25); stroke-width: 1; stroke-dasharray: 3 5; }
.i-plate { fill: rgba(255, 255, 255, 0.72); transition: fill .5s var(--ease); }
.i-plate-edge { fill: none; stroke: rgba(7, 59, 42, 0.35); stroke-width: 1.2; stroke-linejoin: round; transition: stroke .5s var(--ease), stroke-width .5s; }
.i-plan { fill: none; stroke: rgba(7, 59, 42, 0.55); stroke-width: 1.3; stroke-linejoin: round; }
.i-plan.is-faint { stroke: rgba(7, 59, 42, 0.22); }
.i-weak { fill: rgba(16, 166, 107, 0.14); stroke: var(--emerald); stroke-width: 1.2; }
.i-sensor { fill: rgba(8, 122, 80, 0.4); }
.i-layer { transition: transform .8s var(--ease), opacity .6s var(--ease); }
.analysis[data-active] .i-layer { opacity: .45; }
.analysis[data-active="1"] .i-layer[data-layer="1"], .analysis[data-active="2"] .i-layer[data-layer="2"],
.analysis[data-active="3"] .i-layer[data-layer="3"], .analysis[data-active="4"] .i-layer[data-layer="4"] { opacity: 1; transform: translateY(-10px); }
.analysis[data-active="1"] .i-layer[data-layer="1"] .i-plate-edge, .analysis[data-active="2"] .i-layer[data-layer="2"] .i-plate-edge,
.analysis[data-active="3"] .i-layer[data-layer="3"] .i-plate-edge, .analysis[data-active="4"] .i-layer[data-layer="4"] .i-plate-edge { stroke: var(--green); stroke-width: 1.8; }
.i-scanplane { opacity: 0; }
.i-scanfill { fill: rgba(16, 166, 107, 0.12); stroke: var(--emerald); stroke-width: 1.2; }
.analysis.is-inview .i-scanplane { animation: scanplane 7s var(--ease-io) infinite; }
@keyframes scanplane { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translateY(-335px); opacity: 0; } }

/* Nachtvariante */
.svc--night .i-grid { stroke: rgba(221, 245, 233, 0.07); }
.i-stars circle { fill: rgba(221, 245, 233, 0.6); }
.i-slab-top { fill: #14694B; stroke: rgba(221, 245, 233, 0.45); }
.i-slab-side { fill: #0A4631; stroke: rgba(221, 245, 233, 0.35); }
.i-column, .i-crane { stroke: rgba(221, 245, 233, 0.75); stroke-width: 1.6; stroke-linecap: round; }
.i-crane-thin, .i-scaffold { stroke: rgba(221, 245, 233, 0.38); stroke-width: 1; stroke-linecap: round; }
.i-post { stroke: #7BE3B4; stroke-width: 1.4; stroke-linecap: round; opacity: .8; }
.i-mat-top { fill: #1B7A58; stroke: rgba(221, 245, 233, 0.45); }
.i-mat-left { fill: #0E5A40; stroke: rgba(221, 245, 233, 0.35); }
.i-mat-right { fill: #0A4631; stroke: rgba(221, 245, 233, 0.35); }
.i-cone { fill: rgba(123, 227, 180, 0.1); }
.i-cone-floor { fill: rgba(123, 227, 180, 0.16); }
.i-lamp .i-dot { fill: #fff; }
.i-lamp .i-halo { fill: rgba(255, 255, 255, 0.3); }
.svc--night .i-perimeter { stroke: #4BE0A0; }
.svc--night .i-perimeter-glow { stroke: #4BE0A0; opacity: .2; fill: rgba(16, 166, 107, 0.06); }
.svc--night .i-person rect, .svc--night .i-person circle { fill: #EFFAF4; }
.svc--night .i-shadow { fill: rgba(0, 0, 0, 0.3); }
.svc--night .i-scan { fill: rgba(123, 227, 180, 0.14); stroke: #7BE3B4; }
.svc--night .i-node .i-dot { fill: #4BE0A0; }

/* laufende Details nur, solange die Illustration sichtbar ist */
.is-inview .pulse .i-halo, .is-inview.svc--night .pulse .i-halo { animation: halo 2.6s var(--ease) infinite; }
.is-inview .i-alarm { animation: alarm 3.6s linear infinite; }
.is-inview .i-alarm.a2 { animation-delay: 1.2s; } .is-inview .i-alarm.a3 { animation-delay: 2.4s; }
.is-inview .i-scan { animation: dash 14s linear infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes alarm { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: .8; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -140; } }

/* ---------- 7 Formulare ---------- */
.form { border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 48px); display: grid; gap: 20px; background: rgba(255, 255, 255, 0.82); }
.form--contact { background: var(--mint); border-color: var(--line); }
.form__title { font-family: var(--display); font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.field > label, .field > legend { font-size: 0.9375rem; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line-strong); outline: 0; font-size: 1rem; line-height: 1.4;
  transition: border-color .3s, box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: rgba(8, 122, 80, 0.45); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 107, 0.18); outline: 0; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .file { border-color: var(--danger); }
.field.is-invalid input:focus-visible, .field.is-invalid textarea:focus-visible { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14); }
.field__error { font-size: 0.875rem; color: var(--danger); display: flex; gap: 6px; }
.field__error[hidden] { display: none; }
.field__hint { font-size: 0.875rem; color: var(--ink-2); }
.field__hint a, .field--check a, .form__status a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.field--check { grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 1px 0 0; border-radius: 7px; border: 1px solid var(--line-strong); background: #fff; -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .25s, border-color .25s, box-shadow .3s; display: grid; place-items: center; }
.field--check input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.field--check input:checked { background: var(--green); border-color: var(--green); }
.field--check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field--check input:focus-visible { box-shadow: 0 0 0 4px rgba(16, 166, 107, 0.2); outline: 0; }
.field--check label { font-size: 0.9063rem; font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.field--check.is-invalid input { border-color: var(--danger); }

/* Segmentierte Auswahl */
.seg { position: relative; display: grid; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(7, 59, 42, 0.07); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label span { display: block; text-align: center; padding: 12px 10px; border-radius: 12px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.seg input:checked + span { color: var(--forest); }
.seg input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }
.seg__pill { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(7, 59, 42, 0.1), 0 6px 14px -8px rgba(7, 59, 42, 0.3); transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
html.no-js .seg input:checked + span, .seg:not(.is-ready) input:checked + span { background: #fff; }
@media (min-width: 560px) { .seg { grid-template-columns: repeat(3, 1fr); } }

.form__topic { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 8px 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(8, 122, 80, 0.3); font-size: 0.9375rem; }
.form__topic[hidden] { display: none; }
.form__topic > span { color: var(--ink-3); }
.form__topic button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background-color .3s; }
.form__topic button:hover { background: var(--light); }
.form__topic .ico { width: 14px; height: 14px; }

/* Datei-Upload */
.file { position: relative; display: flex; align-items: center; min-height: 64px; border-radius: 14px; background: #fff; border: 1px dashed rgba(8, 122, 80, 0.5); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file__ui { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink-2); pointer-events: none; min-width: 0; }
.file__ui .ico { color: var(--green); }
.file__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file:hover, .file.is-drag { border-color: var(--green); background: var(--mint); }
.file:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 107, 0.18); }
.file.has-file { border-style: solid; }
.file.has-file .file__text { color: var(--ink); font-weight: 500; }
.file__clear { position: relative; z-index: 1; margin: 0 10px 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--ink-2); }
.file__clear[hidden] { display: none; }
.file__clear:hover { background: var(--light); }
.file__clear .ico { width: 16px; height: 16px; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__note { font-size: 0.875rem; color: var(--ink-2); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; display: none; position: relative; z-index: 1; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: block; }
.form__status { padding: 14px 16px; border-radius: 14px; background: #FDECEA; color: #7A1B15; font-size: 0.9375rem; border: 1px solid rgba(179, 38, 30, 0.25); }
.form__status[hidden] { display: none; }
.form__success { display: grid; gap: 14px; justify-items: start; padding: 16px 0; outline: 0; }
.form__success[hidden] { display: none; }
.form__success h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.025em; }
.form__success p { color: var(--ink-2); max-width: 30em; }
.form__success-icon { width: 64px; height: 64px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__success-icon circle, .form__success-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.form.is-done .form__success-icon circle { animation: type .8s var(--ease) forwards; }
.form.is-done .form__success-icon path { animation: type .5s var(--ease) .55s forwards; }
.form.is-done > :not(.form__success) { display: none; }

/* ---------- 8 Footer ---------- */
.footer { position: relative; margin-top: calc(-1 * var(--sheet-r)); padding: calc(var(--section) + var(--sheet-r)) 0 32px; color: rgba(239, 250, 244, 0.78); background: #04241A; }
.footer__bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(60% 70% at 85% 30%, #0F5F43 0%, transparent 70%), radial-gradient(50% 60% at 0% 100%, #0A4A35 0%, transparent 70%), linear-gradient(180deg, var(--forest), #04241A); }
.footer__inner { position: relative; z-index: 2; }
.footer__top { display: grid; gap: 32px; justify-items: start; padding-bottom: clamp(56px, 8vw, 120px); }
.footer__claim { font-size: clamp(2.6rem, 8vw, 7rem); color: #fff; line-height: 0.98; letter-spacing: -0.045em; }
.footer__cols { display: grid; gap: 40px; padding: 48px 0; border-top: 1px solid rgba(221, 245, 233, 0.16); }
.footer__brand { display: grid; gap: 18px; align-content: start; justify-items: start; max-width: 24em; font-size: 0.9688rem; }
.footer__h { font-family: var(--font); font-size: 0.8125rem; font-weight: 500; color: rgba(221, 245, 233, 0.55); margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 4px; }
.footer__cols li { font-size: 0.9688rem; }
.footer__cols li a { display: inline-block; padding: 5px 0; color: #fff; background: linear-gradient(#7BE3B4, #7BE3B4) no-repeat 0 calc(100% - 3px) / 0 1px; transition: background-size .5s var(--ease), color .3s; overflow-wrap: anywhere; }
.footer__cols li a:hover, .footer__cols li a:focus-visible { background-size: 100% 1px; color: #7BE3B4; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(221, 245, 233, 0.16); font-size: 0.875rem; color: rgba(221, 245, 233, 0.6); }
.footer__motto { font-family: var(--mono); }
@media (min-width: 800px) { .footer__cols { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 32px; } }
@media (min-width: 900px) { .footer__top { max-width: 62%; } }

/* ---------- 9 Rechtsseiten ---------- */
.page-legal { background: var(--mint); }
.page-legal .nav__links { display: none; }
.page-legal .nav__back { margin-left: auto; }
.legal { position: relative; z-index: 2; padding: 152px 0 calc(var(--section) + var(--sheet-r)); }
.legal__sheet { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 5vw, 80px); border: 1px solid var(--line); box-shadow: var(--shadow-soft); max-width: 920px; margin-inline: auto; }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; margin: 44px 0 12px; line-height: 1.2; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal ul { color: var(--ink-2); max-width: 44em; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__meta { color: var(--ink-3); font-size: 0.9375rem; }
.legal__draft { margin: 28px 0 0; padding: 16px 20px; border-radius: var(--r-md); background: #FFF6DD; border: 1px solid #E6C766; color: #5A4500; font-size: 0.9375rem; max-width: none; }
.todo { background: #FFF1C2; color: #5A4500; padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 0.9em; }
.footer--slim { margin-top: 0; padding: 40px 0 32px; }
.footer--slim .footer__base { border-top: 0; padding-top: 0; }
.footer--slim .footer__base a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 10 Bewegung ---------- */
/* Ausgangszustände gelten nur, wenn JavaScript läuft und Bewegung erwünscht ist (html.anim) */
html.anim [data-reveal], html.anim [data-stagger] > *, html.anim [data-hero] { opacity: 0; transform: translateY(26px); }
html.anim .line__in { transform: translateY(112%); }
html.anim .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.anim .was-inview .draw, html.anim .was-inview.draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io) .2s; }
html.anim .why__icon .d, html.anim .cert .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.anim .was-inview .why__icon .d, html.anim .why__item.was-inview .d, html.anim .cert.was-inview .d { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) .15s; }
html.anim .map__dots circle { opacity: 0; }
html.anim .area.was-inview .map__dots circle { opacity: 1; transition: opacity .8s var(--ease) var(--d, 0s); }
html.anim .map__bb, html.anim .map__be { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
html.anim .area.was-inview .map__bb, html.anim .area.was-inview .map__be { stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 2.6s var(--ease-io), fill-opacity 1.6s var(--ease) .8s; }
html.anim .map__pin, html.anim .map__cities { opacity: 0; }
html.anim .area.was-inview .map__pin, html.anim .area.was-inview .map__cities { opacity: 1; transition: opacity .9s var(--ease) 1.4s; }

/* ==========================================================================
   11 LED-Buttons: ein Lichtpunkt läuft über den Rand. Die Buttons selbst bewegen sich nicht.
   ========================================================================== */
@property --led { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn { --led-c: 61, 255, 176; --led-base: .28; transform: none !important; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--led), rgba(var(--led-c), var(--led-base)) 0deg, rgba(var(--led-c), var(--led-base)) 230deg, rgba(var(--led-c), 1) 300deg, #fff 322deg, rgba(var(--led-c), 1) 340deg, rgba(var(--led-c), var(--led-base)) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: led 3.6s linear infinite;
}
.btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(16, 166, 107, 0.25), 0 0 22px -4px rgba(16, 166, 107, 0.55), 0 10px 24px -10px rgba(8, 122, 80, 0.7); }
.btn--primary:hover, .btn--primary:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(61, 255, 176, 0.55), 0 0 30px -2px rgba(61, 255, 176, 0.6), 0 12px 28px -10px rgba(8, 122, 80, 0.8); }
.btn:hover::after, .btn:focus-visible::after { animation-duration: 1.6s; --led-base: .55; }
.btn--glass, .btn--light { --led-c: 16, 166, 107; --led-base: .22; }
.btn--glass:hover, .btn--light:hover { box-shadow: inset 0 0 0 1px rgba(8, 122, 80, 0.25), 0 0 24px -6px rgba(16, 166, 107, 0.5); }
.btn:active > span { transform: none; }
@keyframes led { to { --led: 360deg; } }

/* ==========================================================================
   12 Seitenübergang mit dem Schild
   ========================================================================== */
.pt { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
.pt.is-on, html.pt-in .pt, html.pt-intro .pt { visibility: visible; pointer-events: auto; }
.pt__veil { position: absolute; inset: 0; opacity: 0; background: rgba(239, 250, 244, 0.94); }
html.pt-intro .pt__veil { opacity: 1; background: radial-gradient(80% 70% at 50% 50%, #fff 0%, var(--mint) 60%, var(--light) 100%); }
.pt__fill {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(110% 85% at 50% 42%, #0E6B48 0%, var(--forest) 55%, #03201A 100%);
  --hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M20 2.5Q29 7.6 38.5 8v15.4c0 13-8.3 21.7-18.5 26.9C9.8 45.1 1.5 36.4 1.5 23.4V8Q11 7.6 20 2.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--hole), linear-gradient(#000 0 0); -webkit-mask-size: 0px 0px, 100% 100%; -webkit-mask-position: 50% 50%, 0 0; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: xor;
  mask-image: var(--hole), linear-gradient(#000 0 0); mask-size: 0px 0px, 100% 100%; mask-position: 50% 50%, 0 0; mask-repeat: no-repeat; mask-composite: exclude;
}
html.pt-in .pt__fill { opacity: 1; }
.pt__shield { position: absolute; left: 50%; top: 50%; width: 120px; height: 156px; margin: -78px 0 0 -60px; opacity: 0; will-change: transform; }

/* ==========================================================================
   13 Leistungen als 3D-Showcase
   ========================================================================== */
.show { --s-ink: var(--ink); --s-ink-2: var(--ink-2); --s-accent: var(--green); --s-line: var(--line); position: relative; z-index: 2; background: var(--white); color: var(--s-ink); }
.show.is-dark { --s-ink: #fff; --s-ink-2: rgba(239, 250, 244, 0.78); --s-accent: #7BE3B4; --s-line: rgba(221, 245, 233, 0.2); }
.show__head { display: grid; gap: 24px; padding-top: var(--section); padding-bottom: clamp(40px, 6vw, 88px); color: var(--ink); }
@media (min-width: 900px) { .show__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; } }
.show__track { position: relative; }
.show__stage { position: relative; }
.show__bg, .show__canvas, .show__rail, .show__hint, .show__big { display: none; }

/* Statische Fassung (ohne WebGL, „Bewegung reduzieren“, ohne JavaScript) */
.show__slides { display: grid; gap: 24px; padding: 0 var(--pad) var(--section); max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }
.show__slide { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--mint); border: 1px solid var(--line); }
.show__slide[data-mood="dark"] { --s-ink: #fff; --s-ink-2: rgba(239, 250, 244, 0.78); --s-accent: #7BE3B4; --s-line: rgba(221, 245, 233, 0.2); color: #fff; background: radial-gradient(110% 90% at 80% 0%, #0E5A40 0%, var(--forest) 45%, #04241A 100%); border-color: transparent; }
@media (min-width: 900px) { .show__slide { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .show__slide .show__illu { order: 2; } }
.show__no { display: flex; gap: 8px; font-family: var(--mono); font-size: 0.8125rem; color: var(--s-accent); margin-bottom: 18px; }
.show__of { opacity: .55; }
.show__title { font-family: var(--display); font-weight: 500; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(2.4rem, 5vw, 4.75rem); color: var(--s-ink); text-wrap: balance; }
.show__claim { font-family: var(--display); font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--s-accent); margin-top: 16px; }
.show__text { color: var(--s-ink-2); margin-top: 14px; max-width: 30em; }
.show__keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.show__keys li { padding: 7px 14px; border-radius: 999px; font-size: 0.875rem; color: var(--s-ink); border: 1px solid var(--s-line); background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.show.is-dark .show__keys li, .show__slide[data-mood="dark"] .show__keys li { background: rgba(255, 255, 255, 0.06); }
.show__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.show__ask { color: var(--s-accent); }
.show.is-dark .btn--primary, .show__slide[data-mood="dark"] .btn--primary { --btn-bg: var(--emerald); }

/* Bühne mit 3D-Modell */
.show.is-pinned .show__track { height: calc(var(--n) * 100vh); height: calc(var(--n) * 100svh); }
.show.is-pinned .show__stage { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.show.is-pinned .show__bg { display: block; position: absolute; inset: 0; background: radial-gradient(85% 75% at 68% 48%, #fff 0%, var(--mint) 52%, #DFF3E8 100%); }
.show__bg-dark { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); background: radial-gradient(85% 75% at 66% 48%, #0F5C41 0%, var(--forest) 46%, #03201A 100%); }
.show.is-dark .show__bg-dark { opacity: 1; }
.show__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(8, 122, 80, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 122, 80, 0.07) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(70% 65% at 66% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 65% at 66% 50%, #000 20%, transparent 75%); transition: opacity 1s; }
.show.is-dark .show__grid { background-image: linear-gradient(rgba(123, 227, 180, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 227, 180, 0.08) 1px, transparent 1px); }
.show__glow { position: absolute; width: 60vmax; height: 60vmax; left: 66%; top: 50%; margin: -30vmax 0 0 -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(16, 166, 107, 0.22), transparent 62%); animation: showGlow 9s ease-in-out infinite alternate; }
@keyframes showGlow { from { transform: scale(.9) translate(-2%, 2%); } to { transform: scale(1.08) translate(3%, -3%); } }
.show.is-pinned .show__canvas { display: block; position: absolute; inset: 0; z-index: 1; }
.show__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.show.is-pinned .show__slides { position: absolute; inset: 0; display: block; padding: 0; max-width: none; margin: 0; }
.show.is-pinned .show__slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 96px var(--pad) 72px; border: 0; border-radius: 0; background: none; pointer-events: none; }
.show.is-pinned .show__copy { position: relative; z-index: 2; width: min(38%, 500px); margin-left: max(0px, calc((100vw - var(--wrap)) / 2 - var(--pad) * 0)); pointer-events: auto; }
.show.is-pinned .show__slide:not(.is-active) .show__copy { pointer-events: none; }
.show.is-pinned .show__copy > * { opacity: 0; transform: translateY(calc(var(--dir, 1) * 34px)); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.show.is-pinned .show__slide.is-before .show__copy > * { transform: translateY(-34px); }
.show.is-pinned .show__slide.is-active .show__copy > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform 1s var(--ease); }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(1) { transition-delay: .18s; }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(2) { transition-delay: .24s; }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(3) { transition-delay: .32s; }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(4) { transition-delay: .38s; }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(5) { transition-delay: .44s; }
.show.is-pinned .show__slide.is-active .show__copy > :nth-child(6) { transition-delay: .5s; }
.show.is-pinned .show__title { transition: color .8s var(--ease); }
.show.is-pinned .show__big { display: block; position: absolute; z-index: 0; right: clamp(8px, 4vw, 80px); bottom: -0.12em; font-family: var(--display); font-weight: 600; font-size: clamp(11rem, 30vw, 30rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(8, 122, 80, 0.14); opacity: 0; transform: translateY(12%); transition: opacity .6s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.show.is-dark .show__big { -webkit-text-stroke-color: rgba(123, 227, 180, 0.16); }
.show.is-pinned .show__slide.is-active .show__big { opacity: 1; transform: none; }
/* Illustration als Platzhalter, bis das 3D-Modell geladen ist */
.show.is-pinned .show__illu { position: absolute; z-index: 1; left: 42%; right: 6%; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.show.is-pinned:not(.is-3d) .show__slide.is-active .show__illu { opacity: 1; }
.show.is-pinned.is-3d .show__illu { display: none; }

.show.is-pinned .show__rail { display: block; position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); }
.show__rail ol { display: grid; gap: 4px; position: relative; padding-right: 18px; }
.show__rail button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 6px 0; color: var(--s-ink-2); font-size: 0.8125rem; transition: color .4s; }
.show__rail-no { font-family: var(--mono); font-size: 0.75rem; }
.show__rail-t { opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.show__rail button:hover .show__rail-t, .show__rail button[aria-current] .show__rail-t { opacity: 1; transform: none; }
.show__rail button[aria-current] { color: var(--s-accent); }
.show__rail-bar { position: absolute; right: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--s-line); overflow: hidden; }
.show__rail-bar i { position: absolute; inset: 0; background: linear-gradient(var(--emerald), #3DFFB0); transform-origin: 50% 0; transform: scaleY(var(--p, .16)); box-shadow: 0 0 10px #3DFFB0; }
.show.is-pinned .show__hint { display: flex; position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s-ink-2); transition: opacity .5s; }
.show.is-last .show__hint { opacity: 0; }
.show__hint-mouse { width: 18px; height: 28px; border-radius: 10px; border: 1.5px solid currentColor; position: relative; }
.show__hint-mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--emerald); animation: hintWheel 1.8s var(--ease) infinite; }
@keyframes hintWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 899px) {
  .show.is-pinned .show__slide { align-items: flex-end; padding: 0 var(--pad) max(54px, calc(env(safe-area-inset-bottom) + 44px)); }
  .show.is-pinned .show__copy { width: 100%; margin: 0; }
  .show.is-pinned .show__title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .show.is-pinned .show__claim { font-size: 1.0625rem; margin-top: 10px; }
  .show.is-pinned .show__text { font-size: 0.9375rem; margin-top: 8px; }
  .show.is-pinned .show__keys { display: none; }
  .show.is-pinned .show__cta { margin-top: 18px; }
  .show.is-pinned .show__no { margin-bottom: 10px; }
  .show.is-pinned .show__big { bottom: auto; top: 76px; right: 12px; font-size: 9rem; }
  .show.is-pinned .show__illu { left: 8%; right: 8%; top: 28%; }
  .show.is-pinned .show__rail { right: auto; left: 50%; top: 82px; transform: translateX(-50%); }
  .show__rail ol { display: flex; gap: 6px; padding: 0 0 10px; }
  .show__rail-t { display: none; }
  .show__rail button { padding: 4px 6px; }
  .show__rail-bar { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 2px; }
  .show__rail-bar i { transform-origin: 0 50%; transform: scaleX(var(--p, .16)); }
  .show.is-pinned .show__hint { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) { .show.is-pinned .show__text { display: none; } }
@media (min-width: 900px) and (max-height: 760px) { .show.is-pinned .show__keys { display: none; } .show.is-pinned .show__title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); } }

/* Abschnitt danach schließt sauber an */
.why { padding-top: var(--section); }

/* ==========================================================================
   14 Leistungen im Detail (Vollbild)
   ========================================================================== */
.details { background: var(--white); }
html.js .details:not(.is-open) { display: none; }
.details.is-open { position: fixed; inset: 0; z-index: 140; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.details.is-open .detail:not(.is-current) { display: none; }
html.detail-open .progress, html.detail-open .nav { visibility: hidden; }
.detail { position: relative; padding-bottom: 40px; }
.no-js .detail { border-top: 1px solid var(--line); }
.detail__bar { position: -webkit-sticky; position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.detail__back { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--mint); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.detail__back:hover { background: var(--light); border-color: rgba(8, 122, 80, 0.35); }
.detail__count { font-family: var(--mono); font-size: 0.8125rem; color: var(--green); }
.detail__count span { opacity: .55; }
.detail__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #fff; transition: background .3s, box-shadow .3s; }
.detail__close:hover { background: var(--green); box-shadow: 0 0 0 4px rgba(16, 166, 107, 0.18); }
.detail__close .ico { width: 20px; height: 20px; }
@media (max-width: 559px) { .detail__count { display: none; } .detail__back span { font-size: 0.9375rem; } }

.detail__hero { display: grid; gap: 28px; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--pad) 0; }
@media (min-width: 1000px) { .detail__hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 5vw, 80px); min-height: calc(100svh - 80px); padding-bottom: 24px; } }
.detail__no { font-family: var(--mono); font-size: 0.8125rem; color: var(--green); margin-bottom: 16px; }
.detail__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; outline: 0; }
.detail__claim { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--green); margin-top: 16px; }
.detail__lead { color: var(--ink-2); margin-top: 18px; font-size: 1.0625rem; max-width: 34em; }
.detail__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.viewer { position: relative; height: clamp(380px, 62svh, 560px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: radial-gradient(90% 80% at 50% 45%, #fff 0%, var(--mint) 55%, var(--light) 100%); border: 1px solid var(--line); }
@media (min-width: 1000px) { .viewer { height: min(78svh, 720px); } }
.detail[data-mood="dark"] .viewer { background: radial-gradient(90% 80% at 50% 45%, #0F5C41 0%, var(--forest) 50%, #03201A 100%); border-color: transparent; }
.viewer::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(8, 122, 80, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 122, 80, 0.06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 80%); }
.detail[data-mood="dark"] .viewer::before { background-image: linear-gradient(rgba(123, 227, 180, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 227, 180, 0.07) 1px, transparent 1px); }
.viewer__fallback { position: absolute; inset: 8%; z-index: 1; display: grid; place-items: center; transition: opacity .6s; }
.viewer.is-3d .viewer__fallback { opacity: 0; pointer-events: none; }
.viewer__mount { position: absolute; inset: 0; z-index: 1; }
.viewer__mount canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.viewer__hs { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hs { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; margin: -16px 0 0 -16px; pointer-events: auto; opacity: 0; transition: opacity .4s var(--ease); will-change: transform; }
.viewer.is-3d .hs.is-ready { opacity: 1; }
.viewer.is-3d .hs.is-back { opacity: .32; }
.hs__dot { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.6875rem; color: var(--forest); background: #fff; box-shadow: 0 0 0 2px var(--emerald), 0 6px 18px -4px rgba(7, 59, 42, 0.45); transition: background .3s, color .3s, box-shadow .3s; }
.hs__dot::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #3DFFB0; animation: hsPulse 2.2s var(--ease) infinite; }
@keyframes hsPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.hs__label { padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; color: var(--ink); background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: none; }
.hs:hover .hs__label, .hs:focus-visible .hs__label, .hs.is-active .hs__label { opacity: 1; transform: none; }
.hs:hover .hs__dot, .hs.is-active .hs__dot { background: var(--emerald); color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 22px rgba(61, 255, 176, 0.9); }
.hs:focus-visible { outline: 0; }
.hs:focus-visible .hs__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); }
@media (max-width: 559px) { .hs .hs__label { display: none; } .hs.is-active .hs__label { display: block; } }
.viewer__card { position: absolute; left: 16px; bottom: 16px; z-index: 3; max-width: min(360px, calc(100% - 32px - 56px)); padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-lift); }
.viewer__card.is-in { animation: cardIn .6s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.viewer__card-k { font-family: var(--mono); font-size: 0.75rem; color: var(--green); }
.viewer__card-t { font-weight: 600; margin-top: 4px; }
.viewer__card-d { color: var(--ink-2); font-size: 0.9375rem; margin-top: 4px; line-height: 1.5; }
.viewer__ui { position: absolute; inset: 14px 14px auto 14px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.viewer__hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.8125rem; color: var(--ink-2); background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .6s; }
.viewer.was-used .viewer__hint, .viewer:not(.is-3d) .viewer__hint, .viewer:not(.is-3d) .viewer__btns { opacity: 0; }
.viewer__btns { display: flex; flex-direction: column; gap: 6px; pointer-events: auto; transition: opacity .4s; }
.viewer__btns button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--forest); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(7, 59, 42, 0.1); transition: background .3s, color .3s, box-shadow .3s; }
.viewer__btns button:hover { background: #fff; box-shadow: 0 0 0 1px rgba(16, 166, 107, 0.5), 0 0 18px -4px rgba(16, 166, 107, 0.7); }
.viewer__btns .ico { width: 18px; height: 18px; }
.detail[data-mood="dark"] .viewer__hint, .detail[data-mood="dark"] .viewer__btns button { background: rgba(7, 59, 42, 0.6); color: #DDF5E9; border-color: rgba(221, 245, 233, 0.18); }
.detail[data-mood="dark"] .viewer__card { background: rgba(7, 40, 30, 0.82); border-color: rgba(221, 245, 233, 0.16); color: #fff; }
.detail[data-mood="dark"] .viewer__card-d { color: rgba(239, 250, 244, 0.78); }
.detail[data-mood="dark"] .viewer__card-k { color: #7BE3B4; }

.detail__sec { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--pad) 0; }
.detail__h { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; margin-bottom: 28px; }
.detail__scope { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 760px) { .detail__scope { grid-template-columns: 1fr 1fr; gap: 16px; } }
.scope { width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; text-align: left; padding: 22px 22px 22px 20px; border-radius: 20px; background: var(--mint); border: 1px solid var(--line); transition: background .35s, border-color .35s, box-shadow .35s; position: relative; overflow: hidden; }
.scope:hover, .scope.is-active { background: #fff; border-color: rgba(16, 166, 107, 0.5); box-shadow: 0 0 0 1px rgba(16, 166, 107, 0.25), 0 0 28px -8px rgba(16, 166, 107, 0.6); }
.scope__n { font-family: var(--mono); font-size: 0.8125rem; color: #fff; background: var(--green); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.scope__t { display: grid; gap: 6px; }
.scope__t b { font-weight: 600; font-size: 1.0625rem; }
.scope__t span { color: var(--ink-2); font-size: 0.9688rem; line-height: 1.55; }
.scope__go { color: var(--green); opacity: .5; transition: opacity .3s; }
.scope:hover .scope__go, .scope.is-active .scope__go { opacity: 1; }
.detail__cols { display: grid; gap: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .detail__cols { grid-template-columns: 5fr 7fr; } }
.detail__fit { display: flex; flex-wrap: wrap; gap: 10px; }
.detail__fit li { padding: 10px 18px; border-radius: 999px; background: var(--mint); border: 1px solid var(--line); font-size: 0.9688rem; }
.detail__faq details { border-bottom: 1px solid var(--line); }
.detail__faq details:first-child { border-top: 1px solid var(--line); }
.detail__faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 1.0625rem; }
.detail__faq summary::-webkit-details-marker { display: none; }
.detail__faq summary .ico { color: var(--green); transition: transform .4s var(--ease); }
.detail__faq details[open] summary .ico { transform: rotate(45deg); }
.detail__faq p { color: var(--ink-2); padding: 0 40px 22px 0; }
.detail__process { display: grid; gap: 20px; counter-reset: p; position: relative; }
@media (min-width: 760px) { .detail__process { grid-template-columns: repeat(4, 1fr); gap: 24px; } .detail__process::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: linear-gradient(90deg, var(--emerald), rgba(16, 166, 107, 0.15)); } }
.detail__process li { position: relative; display: grid; gap: 6px; align-content: start; }
.process__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); color: #fff; background: var(--forest); box-shadow: 0 0 0 6px #fff, 0 0 18px rgba(16, 166, 107, 0.5); margin-bottom: 10px; position: relative; }
.detail__process b { font-weight: 600; }
.detail__process span:not(.process__n) { color: var(--ink-2); font-size: 0.9688rem; }
.detail__end { text-align: center; }
.detail__end > * { margin-inline: auto; }
.detail__end-t { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 28px; text-wrap: balance; }
.detail__pager { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: clamp(64px, 8vw, 112px) auto 0; padding: 0 var(--pad); display: grid; gap: 12px; }
@media (min-width: 700px) { .detail__pager { grid-template-columns: 1fr 1fr; } }
.detail__pager a { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 22px; background: var(--forest); color: #fff; transition: background .35s, box-shadow .35s; }
.detail__pager a:last-child { justify-content: flex-end; text-align: right; }
.detail__pager a:hover { background: var(--green); box-shadow: 0 0 30px -8px rgba(61, 255, 176, 0.7); }
.detail__pager span { display: grid; gap: 2px; font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; }
.detail__pager small { font-family: var(--font); font-size: 0.8125rem; letter-spacing: 0; color: #7BE3B4; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .i-alarm { opacity: .5; }
  .i-patrol { display: none; }
  .hero__scroll-line::after { display: none; }
  .btn::after { animation: none; }
  .show__glow { animation: none; }
}

@media print {
  .nav, .menu, .stage, .progress, .pt, .hero__bg, .konzept__bg, .show__bg, .show__canvas, .show__rail, .show__hint, .viewer__ui, .viewer__hs { display: none !important; }
  .konzept, .footer { background: #fff; color: #000; height: auto; }
}
@media (max-width: 559px) {
  .viewer__card { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 12px 14px; border-radius: 14px; }
  .viewer__card-d { font-size: 0.875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .viewer__hint span { font-size: 0.75rem; }
}

/* ==========================================================================
   15 Navigation ganz oben auf der Startseite: dunkles Glas mit Lichtkante und Glanz
   (beim Scrollen wird sie wieder zur hellen Glasleiste)
   ========================================================================== */
.nav[data-nav] .nav__bar { position: relative; isolation: isolate; overflow: hidden; }
.nav[data-nav] .nav__bar > * { position: relative; z-index: 2; }
.nav[data-nav] .nav__bar::before, .nav[data-nav] .nav__bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: opacity .6s var(--ease); }
/* dunkles Glas + Spiegelung in der oberen Hälfte */
.nav[data-nav] .nav__bar::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(120% 220% at 12% 0%, rgba(61, 255, 176, 0.32) 0%, transparent 45%),
    radial-gradient(90% 200% at 92% 100%, rgba(16, 166, 107, 0.45) 0%, transparent 55%),
    linear-gradient(110deg, rgba(4, 36, 26, 0.86) 0%, rgba(7, 59, 42, 0.8) 40%, rgba(8, 100, 66, 0.74) 100%);
}
/* Lichtstreifen, der langsam über das Glas wandert */
.nav[data-nav] .nav__bar::after {
  z-index: 1;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.22) 47%, rgba(190, 255, 225, 0.38) 50%, rgba(255, 255, 255, 0.14) 53%, transparent 62%, transparent 100%) no-repeat;
  background-size: 260% 100%;
  animation: navSheen 7s var(--ease-io) infinite;
}
@keyframes navSheen { 0%, 35% { background-position: 130% 0; } 75%, 100% { background-position: -40% 0; } }
.nav[data-nav]:not(.is-scrolled) .nav__bar {
  background: rgba(7, 59, 42, 0.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
  border-color: rgba(123, 227, 180, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(61, 255, 176, 0.25), 0 0 0 1px rgba(7, 59, 42, 0.25), 0 0 46px -12px rgba(61, 255, 176, 0.55), 0 22px 44px -22px rgba(4, 36, 26, 0.75);
}
.nav[data-nav].is-scrolled .nav__bar::before, .nav[data-nav].is-scrolled .nav__bar::after,
body.menu-open .nav[data-nav] .nav__bar::before, body.menu-open .nav[data-nav] .nav__bar::after { opacity: 0; }
/* Inhalte auf dunklem Glas */
.nav[data-nav]:not(.is-scrolled) .logo__word { color: #fff; }
.nav[data-nav]:not(.is-scrolled) .logo__word b { color: #7BE3B4; }
.nav[data-nav]:not(.is-scrolled) .logo__mark { filter: drop-shadow(0 0 8px rgba(61, 255, 176, 0.55)); }
.nav[data-nav]:not(.is-scrolled) .nav__links a { color: rgba(239, 250, 244, 0.78); }
.nav[data-nav]:not(.is-scrolled) .nav__links a:hover, .nav[data-nav]:not(.is-scrolled) .nav__links a.is-active { color: #fff; }
.nav[data-nav]:not(.is-scrolled) .nav__indicator { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(123, 227, 180, 0.35), 0 0 18px -4px rgba(61, 255, 176, 0.6); }
.nav[data-nav]:not(.is-scrolled) .nav__cta { --btn-bg: #fff; --btn-fg: var(--forest); --led-c: 16, 166, 107; }
.nav[data-nav]:not(.is-scrolled) .nav__cta:hover { background: var(--light); }
.nav[data-nav]:not(.is-scrolled) .nav__toggle { background: #fff; box-shadow: 0 0 18px -4px rgba(61, 255, 176, 0.7); }
.nav[data-nav]:not(.is-scrolled) .nav__toggle span { background: var(--forest); }
body.menu-open .nav[data-nav] .logo__word { color: var(--ink); }
body.menu-open .nav[data-nav] .logo__word b { color: var(--green); }
body.menu-open .nav[data-nav] .nav__toggle { background: var(--forest); }
body.menu-open .nav[data-nav] .nav__toggle span { background: #fff; }
.nav__links a, .logo__word, .logo__word b, .nav__toggle, .nav__toggle span { transition: color .45s var(--ease), background-color .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .nav[data-nav] .nav__bar::after { animation: none; opacity: 0; } }
