/* ==========================================================================
   Elektro Müller GmbH & Co. KG – Website 2026
   Design-System: ruhig, typografisch, hell. Navy trägt, Gelb akzentuiert.
   ========================================================================== */

/* ---------- Schrift (selbst gehostet, SIL OFL) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0d1b3e;
  --navy-deep: #09132c;
  --blue: #1a56c4;
  --blue-dark: #12419a;
  --yellow: #f5a800;

  --text: #0f1a36;
  --text-2: #586178;
  --text-3: #5f6779;

  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --bg-3: #eceef2;
  --line: rgba(13, 27, 62, .14);
  --line-soft: rgba(13, 27, 62, .08);

  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .76);
  --on-dark-3: rgba(255, 255, 255, .52);
  --line-dark: rgba(255, 255, 255, .14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  --nav-h: 64px;
  --w-max: 1180px;
  --w-text: 720px;
  --w-head: 820px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(13, 27, 62, .05), 0 6px 20px rgba(13, 27, 62, .06);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
::selection { background: rgba(26, 86, 196, .18); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .footer :focus-visible, .menu :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 1000;
  padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { max-width: var(--w-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--text { max-width: var(--w-text); }
.container--head { max-width: var(--w-head); }

.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--tight { padding: clamp(36px, 4.5vw, 60px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-2); }
.section--dark a { color: #fff; }
.section--deep { background: var(--navy-deep); }
.section + .section--alt, .section--alt + .section { border-top: 0; }

.sec-head { max-width: var(--w-head); margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head .lead { margin-top: 16px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--blue);
}
.eyebrow::before { content: ""; width: 14px; height: 2px; border-radius: 1px; background: var(--yellow); flex: none; }
.section--dark .eyebrow { color: var(--yellow); }

.h-display {
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -.028em;
  font-weight: 600;
}
.h-1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.025em; }
.h-2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.022em; }
.h-3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.18; letter-spacing: -.015em; }
.h-4 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--text-2); font-weight: 400; }
.section--dark .lead { color: var(--on-dark-2); }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.caption { font-size: 13px; color: var(--text-3); }

.measure { max-width: 62ch; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Links & Buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 500; text-decoration: none;
}
.link::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; color: var(--blue-dark); }
.link:hover::after { transform: translateX(2px); }
.section--dark .link { color: #fff; }
.section--dark .link:hover { color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 980px; border: 1px solid transparent;
  font-size: 17px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-2); color: var(--text); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef1f6; color: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #ffb81f; color: var(--navy); }
.section--dark .btn--yellow, .section--dark .btn--yellow:hover, .tile--dark .btn--yellow { color: var(--navy); }
.section--dark .btn--light, .section--dark .btn--light:hover { color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.actions--center { justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 15px; height: 15px; flex: none; border-radius: 3.5px;
  background: linear-gradient(135deg, #dbe3ee 0%, #a6b6cd 100%);
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 1px 2px rgba(13, 27, 62, .18);
}
.brand__name { font-size: 14px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--lg .brand__name { font-size: 17px; }
.brand--lg .brand__mark { width: 18px; height: 18px; border-radius: 4px; }

.nav__links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__links a { font-size: 14px; color: var(--text); text-decoration: none; opacity: .84; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; color: var(--text); }
.nav__links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-size: 14px; color: var(--text); text-decoration: none; opacity: .84; }
.nav__phone:hover { opacity: 1; color: var(--text); }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
}
.nav__toggle span { position: relative; display: block; width: 20px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), background .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.menu {
  position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 99;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 20px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--blue); }
.menu__meta { margin-top: 28px; font-size: 15px; color: var(--text-2); }
.menu__meta a { display: inline; padding: 0; border: 0; font-size: inherit; font-weight: 500; color: var(--blue); }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__text { max-width: var(--w-head); margin: 0 auto; text-align: center; }
.hero__text .lead { margin: 22px auto 0; max-width: 680px; }
.hero__text .actions { margin-top: 32px; }
.hero__media { margin-top: clamp(28px, 4vw, 48px); }

.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-3);
}
.media picture, .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media img { object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1; }
.media--flat { border-radius: 0; }
@media (max-width: 640px) {
  .media--21x9 { aspect-ratio: 4 / 3; }
}

/* ---------- Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile--white { background: #fff; border: 1px solid var(--line-soft); }
.tile--dark { background: var(--navy); color: #fff; }
.tile--dark h3, .tile--dark h2 { color: #fff; }
.tile--dark p { color: var(--on-dark-2); }
.tile--dark .link { color: #fff; }
.tile__body { padding: clamp(28px, 3.4vw, 40px); }
.tile__body .h-3 { margin-bottom: 10px; }
.tile__body p { color: var(--text-2); margin-bottom: 14px; }
.tile--dark .tile__body p { color: var(--on-dark-2); }
.tile__media { position: relative; margin-top: auto; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.tile__media picture, .tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__media img { object-fit: cover; transition: transform 1s var(--ease); }
.tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.tile--wide .tile__body { align-self: center; padding: clamp(32px, 4vw, 56px); }
.tile--wide .tile__media { margin-top: 0; aspect-ratio: auto; min-height: 340px; }
.tile--wide .tile__media picture { position: absolute; }
.tile a.tile__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile a.tile__link:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__media img { transform: scale(1.025); }
}

@media (max-width: 900px) {
  .tiles, .tiles--3 { grid-template-columns: 1fr; }
  .tile--wide { grid-template-columns: 1fr; }
  .tile--wide .tile__media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Feature-Blöcke (Text + Bild) ---------- */
.feature {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature--flip .feature__media { order: -1; }
.feature__text .h-2, .feature__text .h-1 { margin-bottom: 18px; }
.feature__text .lead { margin-bottom: 20px; }
.feature__text .actions { margin-top: 24px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

/* ---------- Listen ---------- */
.list-lines { list-style: none; margin: 0; padding: 0; }
.list-lines li { padding: 13px 0; border-top: 1px solid var(--line-soft); }
.list-lines li:last-child { border-bottom: 1px solid var(--line-soft); }
.section--dark .list-lines li { border-color: var(--line-dark); }

.list-dash { list-style: none; margin: 0 0 1em; padding: 0; }
.list-dash li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.list-dash li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--yellow); border-radius: 1px; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Zahlen ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.fact__num { font-size: clamp(40px, 5.2vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.fact__label { margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.4; }
.section--dark .fact__num { color: #fff; }
.section--dark .fact__label { color: var(--on-dark-2); }
.fact__num sup { font-size: .5em; vertical-align: top; position: relative; top: .18em; margin-left: 2px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Zertifikate / Badges ---------- */
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.badge {
  padding: 24px 26px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark);
}
.badge__title { font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.badge__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.badge p { font-size: 14px; margin: 0; color: var(--on-dark-2); }
.badges--light .badge { background: #fff; border-color: var(--line-soft); }
.badges--light .badge__title { color: var(--text); }
.badges--light .badge p { color: var(--text-2); }
@media (max-width: 760px) { .badges { grid-template-columns: 1fr; } }

/* ---------- Referenzen ---------- */
.refs { list-style: none; margin: 0; padding: 0; }
.refs li {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 8px 24px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line-soft);
}
.refs li:last-child { border-bottom: 1px solid var(--line-soft); }
.refs__name { font-weight: 500; }
.refs__loc { color: var(--text-2); font-size: 15px; }
.refs__cat { font-size: 13px; color: var(--text-3); white-space: nowrap; }
@media (max-width: 640px) {
  .refs li { grid-template-columns: 1fr; gap: 2px; }
  .refs__cat { display: none; }
}
.ref-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ref-card { padding: 26px 28px; border-radius: var(--r-md); background: var(--bg-2); }
.ref-card__cat { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.ref-card__name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.ref-card__loc { margin-top: 6px; font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .ref-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ref-cards { grid-template-columns: 1fr; } }

.ref-group { margin-top: clamp(40px, 5vw, 56px); }
.ref-group:first-of-type { margin-top: 0; }
.ref-group .h-4 { margin-bottom: 8px; color: var(--text-2); font-weight: 600; }

/* ---------- Team ---------- */
.gf {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px);
  align-items: end; background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden;
}
.gf--white { background: #fff; }
.gf__media { align-self: end; padding: 32px 0 0 clamp(20px, 4vw, 48px); }
.gf__media img { width: 100%; max-width: 420px; height: auto; display: block; }
.gf__text { padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4vw, 56px) clamp(32px, 4.5vw, 64px) 0; align-self: center; }
.gf__text .h-2 { margin-bottom: 16px; }
.gf__text .role { display: block; margin-bottom: 18px; font-size: 15px; color: var(--text-2); }
@media (max-width: 860px) {
  .gf { grid-template-columns: 1fr; }
  .gf__text { padding: 8px 28px 36px; }
  .gf__media { padding: 28px 28px 0; }
  .gf__media img { max-width: 300px; }
}

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { padding: 26px 28px 28px; border-radius: var(--r-md); background: var(--bg-2); }
.person__name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.person__role { margin-top: 4px; font-size: 14px; color: var(--blue); font-weight: 500; }
.person__desc { margin: 12px 0 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

.memorial { max-width: var(--w-text); margin: clamp(48px, 6vw, 72px) auto 0; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.memorial .caption { margin-bottom: 6px; }
.memorial p { color: var(--text-2); font-size: 16px; }

/* ---------- Zeitleiste ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 32px; padding: 20px 0; border-top: 1px solid var(--line-soft); }
.timeline li:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline__year { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); }
.timeline__text { color: var(--text-2); }
.timeline__text strong { color: var(--text); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Schritte ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; padding: 26px 26px 28px; border-radius: var(--r-md); background: var(--bg-2); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 14px; letter-spacing: .02em; }
.steps .h-4 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--text-2); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps--5 { grid-template-columns: 1fr; } }

/* ---------- Akkordeon (nativ) ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq:last-of-type { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--text), var(--text)) center/12px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center/1.5px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 22px; color: var(--text-2); max-width: 64ch; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block + .contact-block { margin-top: 28px; }
.contact-block .caption { margin-bottom: 4px; }
.contact-block .big { font-size: clamp(20px, 2.4vw, 28px); overflow-wrap: anywhere; font-weight: 600; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.contact-block .big:hover { color: var(--blue); }
.contact-block address { font-style: normal; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.hours li:last-child { border-bottom: 1px solid var(--line-soft); }
.hours li span:last-child { color: var(--text-2); text-align: right; }

/* ---------- Formular ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 17px; line-height: 1.3;
  color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M2 5l5 5 5-5' fill='none' stroke='%230f1a36' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 86, 196, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b42318; }
.field__error { display: none; font-size: 13px; color: #b42318; }
.field.is-invalid .field__error { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.consent.is-invalid { color: #b42318; }
.consent.is-invalid a { color: #b42318; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: #1e6b3a; }
.form__status.is-err { color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .field--half { grid-column: auto; } }

/* ---------- Anker & Unternavigation ---------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto; padding: 0; list-style: none; }
.subnav a {
  display: inline-block; padding: 8px 16px; border-radius: 980px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.subnav a:hover { background: var(--bg-2); border-color: var(--line); color: var(--text); }

/* ---------- Seitenkopf ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-head .lead { margin: 20px auto 0; max-width: 700px; }
.page-head .actions { margin-top: 28px; }
.page-head--left { text-align: left; }
.page-head--left .lead { margin-left: 0; }

/* ---------- Fließtext (Rechtstexte etc.) ---------- */
.prose { hyphens: auto; -webkit-hyphens: auto; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 2.2em 0 .6em; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text-2); }
.prose p strong, .prose li strong { color: var(--text); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; color: var(--text-2); }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.5em 0; }
.prose .note { padding: 16px 20px; border-left: 3px solid var(--yellow); background: var(--bg-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line-soft); vertical-align: top; color: var(--text-2); }
.prose th { color: var(--text); font-weight: 600; }
.toc { padding: 20px 24px; margin: 0 0 2.5em; background: var(--bg-2); border-radius: var(--r-md); font-size: 15px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- CTA-Band ---------- */
.cta { text-align: center; }
.cta .h-2 { margin-bottom: 14px; }
.cta .lead { margin: 0 auto 28px; max-width: 620px; }
.cta__phone { display: inline-block; margin: 6px 0 24px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; letter-spacing: -.025em; color: inherit; text-decoration: none; }
.cta__phone:hover { color: var(--yellow); }
.cta .caption { margin-top: 18px; }
.section--dark .cta .caption { color: var(--on-dark-3); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-2); padding: clamp(40px, 5vw, 56px) 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer__brand p { margin: 16px 0 0; max-width: 300px; color: var(--on-dark-3); line-height: 1.55; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.6; }
.footer__bottom { margin-top: clamp(28px, 4vw, 40px); padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--on-dark-3); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { color: var(--on-dark-3); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Bewegung (dezent, nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .06s; }
.js .reveal[data-delay="2"] { transition-delay: .12s; }
.js .reveal[data-delay="3"] { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tile:hover .tile__media img { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .nav, .menu, .footer__grid, .skip-link, .cta, .section--dark .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-head { padding: 18pt 0; }
  a { color: #000; text-decoration: none; }
  .prose p, .prose li { color: #000; }
}

/* ==========================================================================
   Iteration 3 – Apple-Kachelraster, Original-Logo, dichtere Struktur
   ========================================================================== */

/* Logo (Original-Wortmarke, Navy auf hell / Weiß auf dunkel) */
.brand--logo { display: inline-flex; align-items: center; padding: 2px 0; }
.logo { height: 32px; width: auto; display: block; }
.logo--tagline { height: 64px; }
.footer .brand--logo { display: inline-block; }

/* Hinweisband unter der Navigation (wie das Apple-Ribbon) */
.ribbon { background: var(--bg-2); border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.4; color: var(--text-2); text-align: center; padding: 9px var(--gutter); }
.ribbon strong { color: var(--text); font-weight: 600; }
.ribbon a { color: var(--blue); font-weight: 500; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.ribbon a:hover { text-decoration: underline; }
.ribbon a::after { content: " ›"; }

/* Kachelraster */
.tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; }
.tg:first-of-type { padding-top: 12px; }
.t { --t-bg: var(--bg-2); position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--t-bg); min-height: 520px; }
.t--full { grid-column: 1 / -1; }
.t--dark { --t-bg: var(--navy); color: #fff; }
.t--dark .t__title { color: #fff; }
.t--dark .t__sub { color: rgba(255, 255, 255, .78); }
.t--dark .eyebrow { color: var(--yellow); }
.t--dark .link { color: #7cb8ff; }
.t--dark .link:hover { color: #fff; }
.t--dark .btn { box-shadow: none; }
.t__head { position: relative; z-index: 2; text-align: center; padding: clamp(36px, 4.5vw, 60px) var(--gutter) 0; max-width: 760px; margin: 0 auto; width: 100%; }
.t__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.022em; font-weight: 600; margin-bottom: 10px; }
.t--full .t__title { font-size: clamp(34px, 4.4vw, 60px); }
.t__sub { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.4; color: var(--text-2); margin: 0 auto 16px; max-width: 540px; }
.t__actions { display: flex; justify-content: center; gap: 12px 26px; flex-wrap: wrap; align-items: center; }
.t__img { position: relative; flex: 1; min-height: 260px; margin-top: 20px; }
.t__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.t__img--fade::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, var(--t-bg) 0, transparent 30%); }
.t__img--contain img { object-fit: contain; object-position: 50% 100%; }
.t__img--pad img { inset: 0 8% 0 8%; width: 84%; }

.t--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.t--split .t__head { text-align: left; margin: 0; max-width: none; padding: clamp(36px, 4.5vw, 64px) clamp(24px, 4vw, 56px); }
.t--split .t__sub { margin-left: 0; }
.t--split .t__actions { justify-content: flex-start; }
.t--split .t__img { margin: 0; min-height: 400px; align-self: stretch; }
.t--split .t__img--fade::before { background: linear-gradient(to right, var(--t-bg) 0, transparent 26%); }
.t--split .t__img--contain { min-height: 440px; }
.t--split .t__img--contain img { object-position: 50% 100%; }

/* Hero-Kachel: Schrift fließt in das Bild */
.t--hero { min-height: min(640px, 80vh); }
.t--hero .t__head { padding-top: clamp(36px, 5vw, 64px); max-width: 860px; }
.t--hero .t__title { font-size: clamp(40px, 5.6vw, 74px); letter-spacing: -.028em; }
.t--hero .t__sub { max-width: 640px; font-size: clamp(17px, 1.5vw, 21px); }
.t--hero .t__img { min-height: 260px; margin-top: 8px; }
.t--hero .t__img--fade::before { background: linear-gradient(to bottom, var(--t-bg) 0, rgba(245, 246, 248, .6) 22%, transparent 48%); }
.t--hero .t__img img { object-position: 50% 58%; }

/* Zahlen-Kachel, Kontakt-Kachel */
.t--facts { min-height: 0; padding: clamp(40px, 5vw, 60px) var(--gutter); }
.t--facts .sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.t--facts .facts { max-width: var(--w-max); margin: 0 auto; }
.t--contact { justify-content: center; align-items: center; text-align: center; padding: clamp(40px, 5vw, 60px) var(--gutter); min-height: 0; }
.t--contact .cta__phone { margin: 4px 0 18px; }
.t--contact .caption { margin-top: 16px; }

/* Referenzen kompakt */
.ref-cards--dense { gap: 12px; }
.ref-cards--dense .ref-card { padding: 20px 22px; }
.ref-cards--dense .ref-card__name { font-size: 17px; }

/* Markierung (statisch) */
.mark { background: linear-gradient(rgba(245, 168, 0, .5), rgba(245, 168, 0, .5)) no-repeat 0 88% / 100% .18em; }

@media (max-width: 900px) {
  .tg { grid-template-columns: 1fr; gap: 10px; padding: 0 10px 10px; }
  .tg:first-of-type { padding-top: 10px; }
  .t, .t--full { min-height: 0; }
  .t__img { min-height: 240px; margin-top: 20px; }
  .t--hero { min-height: 0; }
  .t--hero .t__img { min-height: 260px; }
  .t--split { grid-template-columns: 1fr; }
  .t--split .t__head { text-align: center; padding-bottom: 0; }
  .t--split .t__sub { margin-left: auto; }
  .t--split .t__actions { justify-content: center; }
  .t--split .t__img { min-height: 260px; margin-top: 20px; }
  .t--split .t__img--fade::before { background: linear-gradient(to bottom, var(--t-bg) 0, transparent 26%); }
  .t--split .t__img--contain { min-height: 320px; }
  .ribbon { font-size: 12px; }
  .ribbon a { display: block; margin: 2px 0 0; }
}

/* Kacheln: Hintergrund und Bild sofort sichtbar, nur der Text blendet kurz ein */
.js .t.reveal { opacity: 1; transform: none; transition: none; }
.js .t.reveal .t__head, .js .t.reveal > div:not(.t__img) { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .t.reveal.is-in .t__head, .js .t.reveal.is-in > div:not(.t__img) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .t.reveal .t__head, .js .t.reveal > div:not(.t__img) { opacity: 1; transform: none; }
}

/* Dunkle Kacheln: alle Textfarben */
.t--dark h1, .t--dark h2, .t--dark h3, .t--dark .h-2, .t--dark .h-3 { color: #fff; }
.t--dark p, .t--dark .lead, .t--dark .caption { color: var(--on-dark-2); }
.t--dark .fact__num { color: #fff; }
.t--dark .fact__label { color: var(--on-dark-2); }
.t--dark .cta__phone { color: #fff; }
.t--dark .cta__phone:hover { color: var(--yellow); }
.t--dark .btn { background: var(--yellow); color: var(--navy); }
.t--dark .btn:hover { background: #ffb81f; color: var(--navy); }
.t--dark :focus-visible { outline-color: var(--yellow); }

/* Seitenköpfe der Unterseiten: kompakter */
.page-head .h-display { font-size: clamp(34px, 4.6vw, 60px); }
.page-head .lead { margin-top: 14px; }
.page-head .actions, .page-head nav { margin-top: 22px; }

/* Markenbanner (Original-Logo mit Blitzmotiv) in Kopf- und Fußzeile */
.logo--banner { height: 48px; width: auto; border-radius: 3px; }
.logo--banner-lg { height: 64px; }
@media (max-width: 480px) { .logo--banner { height: 36px; } }

/* Kontaktleiste am unteren Rand (erscheint beim Scrollen, verschwindet am Footer) */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line-soft); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(102%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock__in { min-height: 56px; display: flex; align-items: center; gap: 16px; }
.dock__logo { height: 32px; width: auto; border-radius: 2px; flex: none; }
.dock__text { flex: 1; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__phone { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.dock__phone:hover { color: var(--blue); }
@media (max-width: 720px) {
  .dock__text { display: none; }
  .dock__in { justify-content: space-between; gap: 12px; }
  .dock__logo { height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* Kachelbild als eingesetzte Karte (ohne Verlauf) */
.t__img--inset { margin: 24px 24px 0; border-radius: 14px 14px 0 0; overflow: hidden; min-height: 280px; }
.t--split .t__sub { max-width: 60ch; }

/* Team: acht Karten in vier Spalten */
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dock .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .dock__logo { display: none; }
  .dock__in { gap: 10px; }
  .dock__phone { font-size: 14px; }
}

/* ==========================================================================
   Scrollgekoppelte Effekte (fx.js): --p 0→1 beim Hereinscrollen, --q 0→1 beim Herausscrollen.
   Kurze Wege, direkte Kopplung an den Scrollfortschritt, nur transform/opacity.
   ========================================================================== */
:root { --p: 1; --q: 0; }
.fx-rise { opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 40px)); }
.fx-zoom img { transform: scale(calc(1.10 - var(--p) * .10)); will-change: transform; }
.fx-tilt { transform: perspective(1400px) rotateX(calc((1 - var(--p)) * 12deg)) scale(calc(.94 + var(--p) * .06)); transform-origin: 50% 100%; opacity: calc(.4 + var(--p) * .6); will-change: transform; }
.fx-tilt-l { transform: perspective(1400px) rotateY(calc((1 - var(--p)) * -12deg)) translateX(calc((1 - var(--p)) * -24px)); opacity: calc(.4 + var(--p) * .6); will-change: transform; }
.fx-tilt-r { transform: perspective(1400px) rotateY(calc((1 - var(--p)) * 12deg)) translateX(calc((1 - var(--p)) * 24px)); opacity: calc(.4 + var(--p) * .6); will-change: transform; }
.fx-parallax img { transform: translateY(calc((var(--p) - .5) * -10%)) scale(1.12); will-change: transform; }
.t--hero .t__img img { transform: translateY(calc(var(--q) * 10%)) scale(calc(1 + var(--q) * .08)); transform-origin: 50% 100%; will-change: transform; }
.t--hero .t__head { opacity: calc(1 - var(--q) * .7); transform: translateY(calc(var(--q) * -28px)); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 1px; background: var(--yellow); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.timeline li { padding-left: 22px; }
.js .ref-cards.reveal .ref-card { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .ref-cards.reveal.is-in .ref-card { opacity: 1; transform: none; }
.ref-cards .ref-card:nth-child(2) { transition-delay: .05s; }
.ref-cards .ref-card:nth-child(3) { transition-delay: .10s; }
.ref-cards .ref-card:nth-child(4) { transition-delay: .15s; }
.ref-cards .ref-card:nth-child(5) { transition-delay: .20s; }
.ref-cards .ref-card:nth-child(6) { transition-delay: .25s; }
[data-count] { font-variant-numeric: tabular-nums; }
@media (min-width: 901px) {
  .feature { align-items: start; }
  .feature__media { position: sticky; top: calc(var(--nav-h) + 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-rise, .fx-tilt, .fx-tilt-l, .fx-tilt-r { opacity: 1; transform: none; }
  .fx-zoom img, .fx-parallax img, .t--hero .t__img img { transform: none; }
  .t--hero .t__head { opacity: 1; transform: none; }
  .timeline::before { transform: none; }
  .js .ref-cards.reveal .ref-card { opacity: 1; transform: none; }
}

/* ==========================================================================
   Story: Abschnitt bleibt stehen, Inhalt wechselt beim Scrollen (Apple-Prinzip).
   Höhe = Schritte × --step (Standard 40vh) + Pin-Höhe; unter 900 px und bei reduzierter
   Bewegung als normale, gestapelte Liste.
   ========================================================================== */
.story { --steps: 4; display: block; overflow: visible; min-height: 0; height: calc(var(--steps) * var(--step, 40vh) + 100vh - var(--nav-h)); background: var(--bg-2); }
.story--dark { background: var(--navy); color: #fff; }
.story__pin {
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: 0 clamp(24px, 4vw, 56px); overflow: hidden;
}
.story__title { margin-bottom: 14px; }
.story__steps { display: grid; }
.story__step { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.story__step.is-active { opacity: 1; transform: none; pointer-events: auto; transition-duration: .4s; transition-delay: .14s; }
.story__step picture { display: none; }
.story__kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.story__kicker::before { content: ""; width: 14px; height: 2px; border-radius: 1px; background: var(--yellow); }
.story__h { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; margin: 0 0 10px; }
.story__step .t__sub { margin: 0 0 14px; max-width: 46ch; }
.story__step .t__actions { justify-content: flex-start; }
.story__meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.story__dots { display: flex; gap: 6px; }
.story__dot { width: 22px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s, width .3s var(--ease); }
.story__dot.is-active { background: var(--yellow); width: 40px; }
.story__counter { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.story__stage { position: relative; aspect-ratio: 4 / 3; max-height: calc(100vh - var(--nav-h) - 120px); perspective: 1400px; }
.story__card {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 24px 60px rgba(13, 27, 62, .16);
  opacity: 0; transform: rotateY(26deg) translateX(24%) scale(.9);
  transition: transform .6s var(--ease), opacity .4s var(--ease); backface-visibility: hidden;
}
.story__card.is-active { opacity: 1; transform: none; z-index: 2; }
.story__card.is-prev { opacity: 0; transform: rotateY(-26deg) translateX(-24%) scale(.9); }
.story__card picture, .story__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__stage--year { aspect-ratio: auto; height: 100%; perspective: none; }
.story__year {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(96px, 13vw, 190px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--navy);
  opacity: 0; transform: translateY(36px); transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.story__year.is-active { opacity: 1; transform: none; }
.story__year.is-prev { opacity: 0; transform: translateY(-36px); }
.story__year small { font-size: .32em; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-left: .25em; align-self: flex-end; margin-bottom: .35em; }
.story--years .story__pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.story--years .story__stage { order: -1; }

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .story { height: auto; padding: clamp(40px, 6vw, 56px) 0; }
  .story__pin { position: static; height: auto; display: block; overflow: visible; }
  .story__steps { display: block; }
  .story__step { opacity: 1; transform: none; pointer-events: auto; padding: 22px 0; border-top: 1px solid var(--line-soft); }
  .story__step:first-child { border-top: 0; padding-top: 0; }
  .story__step picture { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin: 0 0 16px; }
  .story__step picture img { width: 100%; height: 100%; object-fit: cover; }
  .story__stage, .story__meta { display: none; }
  .story__title { margin-bottom: 22px; }
}

/* Referenzkarten mit Objektfoto (Originalaufnahmen der Live-Website, 230 × 140 px) */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.pcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--bg-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard__img { width: 150px; height: 92px; object-fit: cover; border-radius: 10px; display: block; background: var(--bg-3); }
.pcard__cat { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.pcard__name { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pcard__loc { font-size: 13px; color: var(--text-2); margin-top: 3px; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13, 27, 62, .10); } }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } .pcard { grid-template-columns: 120px minmax(0, 1fr); } .pcard__img { width: 120px; height: 74px; } }
.js .pgrid.reveal .pcard { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .pgrid.reveal.is-in .pcard { opacity: 1; transform: none; }
.pgrid .pcard:nth-child(2) { transition-delay: .05s; } .pgrid .pcard:nth-child(3) { transition-delay: .10s; } .pgrid .pcard:nth-child(4) { transition-delay: .15s; } .pgrid .pcard:nth-child(5) { transition-delay: .20s; } .pgrid .pcard:nth-child(6) { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) { .js .pgrid.reveal .pcard { opacity: 1; transform: none; } }

/* Unternavigation (lokale Leiste wie auf Apple-Produktseiten) und getrennte Leistungsabschnitte */
.localnav { position: sticky; top: var(--nav-h); z-index: 80; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.localnav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.localnav__title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.localnav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.localnav__links::-webkit-scrollbar { display: none; }
.localnav__links a { display: inline-block; padding: 7px 12px; border-radius: 980px; font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.localnav__links a:hover { color: var(--text); background: var(--bg-2); }
.localnav__links a[aria-current="true"] { background: var(--navy); color: #fff; }
@media (max-width: 640px) { .localnav__title { display: none; } }
.svc { padding: clamp(56px, 7vw, 96px) 0; scroll-margin-top: calc(var(--nav-h) + 56px); }
.svc--alt { background: var(--bg-2); }
.svc + .svc { border-top: 1px solid var(--line-soft); }
.svc .feature__media { top: calc(var(--nav-h) + 48px + 28px); }
.localnav__in > nav { min-width: 0; flex: 1 1 auto; display: flex; justify-content: flex-end; }
.localnav__links { max-width: 100%; }

/* Gedenken: ruhige, warme Fläche */
.memorial { padding: 28px 32px; background: #fff; border-radius: var(--r-md); border-top: 0; border-left: 3px solid var(--yellow); }
.memorial .h-4 { margin-bottom: 10px; }
.memorial p { font-size: 16px; line-height: 1.6; }
.memorial p:last-child { margin-bottom: 0; color: var(--text); }

/* Harmonisierung der Akzente: ein gelber Strich nur vor Abschnitts-Überzeilen,
   keine doppelten Markierungen, Listenpunkte dezent in Blau, Zertifikate gleichwertig in einer Reihe */
.story__kicker::before { display: none; }
.story__kicker { gap: 0; }
.list-dash li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .55; top: .62em; }
.badges--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.badge { display: flex; flex-direction: column; }
.badge__title { align-items: flex-start; line-height: 1.3; }
.badge__title::before { margin-top: .45em; }
@media (max-width: 1000px) { .badges--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .badges--4 { grid-template-columns: 1fr; } }

/* Überzeilen ohne Strich: ruhige, einheitliche Labels (Gelb bleibt Buttons, Markierung und Kontaktleiste vorbehalten) */
.eyebrow::before { display: none; }
.eyebrow { gap: 0; letter-spacing: .02em; }

/* ---------- Zweierstreifen (Leistungen: Ladeinfrastruktur / Photovoltaik) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.duo__item { margin: 0; background: var(--bg-2, #f5f6f8); border-radius: var(--r-md); overflow: hidden; }
.duo__item picture, .duo__item img { display: block; width: 100%; height: auto; }
.duo__item img { aspect-ratio: 16 / 9; object-fit: cover; }
.duo__item figcaption { padding: 14px 18px 16px; font-size: .95rem; line-height: 1.5; color: var(--text-2); }
.duo__item figcaption strong { color: var(--navy); font-weight: 600; }
.svc--alt .duo__item { background: #fff; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Referenz-Galerie: eine Reihe, horizontal blättern (Apple-Prinzip) ---------- */
.gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 2.5vw, 28px); }
.gal__head .sec-head { margin-bottom: 0; }
.gal__ctrl { display: flex; gap: 8px; flex: 0 0 auto; padding-bottom: 6px; }
.gal__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s, opacity .2s; }
.gal__btn:hover { background: var(--bg-2); border-color: var(--navy); }
.gal__btn:disabled { opacity: .35; cursor: default; }
.gal__btn svg { width: 16px; height: 16px; display: block; }
.pgrid--row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: -2px -2px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.pgrid--row::-webkit-scrollbar { display: none; }
.pgrid--row .pcard { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; }
@media (max-width: 900px) { .pgrid--row .pcard { flex-basis: min(78%, 360px); } .gal__ctrl { display: none; } }
@media (prefers-reduced-motion: reduce) { .pgrid--row { scroll-behavior: auto; } }

/* Story als Inhaltsverzeichnis (Leistungen): auf dem Smartphone ohne Bilder, die Abschnitte darunter zeigen sie */
@media (max-width: 900px) {
  .story--toc .story__step picture { display: none; }
  .story--toc .story__step { padding: 18px 0; border-top: 1px solid var(--line-soft); }
  .story--toc .story__step:first-of-type { border-top: 0; }
}

/* ---------- Scroll-Story mit Stichpunkten (Leistungen) und Sprungmarken ---------- */
.story__anchor { position: absolute; left: 0; top: calc(var(--k, 0) * var(--step, 40vh) + 2px); width: 1px; height: 1px; scroll-margin-top: var(--nav-h); pointer-events: none; }
.story--rich .story__title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 10px; }
.story--rich .story__h { font-size: clamp(24px, 2.3vw, 32px); }
.story--rich .t__sub { font-size: clamp(15px, 1.15vw, 17px); }
.story__step .list-dash { margin: 12px 0 0; display: grid; gap: 4px; font-size: 15px; color: var(--text-2); }
.story__step .list-dash li { line-height: 1.45; }
.story__step .t__actions { margin-top: 16px; }
@media (max-height: 820px) and (min-width: 901px) {
  .story--rich .story__step .list-dash { font-size: 14px; gap: 2px; }
  .story--rich .story__title { font-size: clamp(28px, 3vw, 38px); }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .story__anchor { position: static; display: block; width: 0; height: 0; }
}


/* ==========================================================================
   Kopfzeile im Logo-Blau mit Blitzen, blaue Blitz-Buttons, dunkles Menü, Text-Bild-Balance
   ========================================================================== */
:root { --nav-bg: #02162f; --nav-bg-2: #071f45; --electric: #2a6ff0; }
.nav, .nav.is-scrolled, .nav.is-stuck, .nav.is-solid {
  background: linear-gradient(90deg, var(--nav-bg) 0%, var(--nav-bg-2) 48%, var(--nav-bg) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='70,-6 88,18 78,22 100,46 92,50 118,74' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='70,-6 88,18 78,22 100,46 92,50 118,74' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='88,18 106,12' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='88,18 106,12' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='478,-4 500,20 490,24 514,48 506,52 532,72' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='478,-4 500,20 490,24 514,48 506,52 532,72' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='500,20 516,16' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='500,20 516,16' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='986,-6 1008,16 998,20 1024,46 1016,50 1040,72' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='986,-6 1008,16 998,20 1024,46 1016,50 1040,72' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1318,-4 1342,20 1330,24 1358,50 1350,54 1376,76' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1318,-4 1342,20 1330,24 1358,50 1350,54 1376,76' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1342,20 1360,14' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1342,20 1360,14' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1394,-2 1406,14 1400,16 1416,36' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1394,-2 1406,14 1400,16 1416,36' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: bolt-flicker 7s ease-in-out infinite; }
.nav::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 160% at 34% 50%, rgba(50, 110, 255, .22), transparent 70%), radial-gradient(30% 140% at 92% 50%, rgba(50, 110, 255, .18), transparent 70%); }
.nav__in { position: relative; z-index: 1; }
.nav__links { gap: 6px; }
.nav__links a { display: inline-block; padding: 7px 14px; border-radius: 999px; color: rgba(255, 255, 255, .86); opacity: 1; font-weight: 500; position: relative; overflow: hidden; transition: background .25s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease); }
.nav__links a:hover { color: #fff; background: rgba(42, 111, 240, .42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 48' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.nav__links a[aria-current="page"] { color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--blue), var(--electric)) ; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 4px 14px rgba(26, 86, 196, .35); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 48' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .55; pointer-events: none; }
.nav__phone { color: rgba(255, 255, 255, .86); opacity: 1; font-weight: 500; }
.nav__phone:hover { color: #fff; }
.nav :focus-visible { outline-color: var(--yellow); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { background: #fff; }
.menu { background: linear-gradient(180deg, rgba(2, 22, 47, .98), rgba(7, 31, 69, .98)); }
.menu a { color: #fff; border-color: rgba(255, 255, 255, .12); }
.menu a[aria-current="page"] { color: var(--yellow); }
.menu__meta { color: rgba(255, 255, 255, .72); }
.menu__meta a { color: #fff; }
@keyframes bolt-flicker { 0%, 100% { opacity: .85; } 46% { opacity: .85; } 48% { opacity: 1; } 50% { opacity: .7; } 52% { opacity: 1; } 54% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .nav::before { animation: none; } }

/* Buttons: elektrisches Blau, Blitz-Icon, dynamische Form */
.btn { position: relative; overflow: hidden; border-radius: 26px 10px 26px 10px; background: linear-gradient(135deg, var(--blue) 0%, var(--electric) 100%); box-shadow: 0 6px 18px rgba(26, 86, 196, .26); }
.btn::before { content: ""; flex: none; width: 15px; height: 17px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 48' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='14,-2 24,14 18,16 30,34 26,36 38,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolyline points='86,-2 96,14 90,16 102,34 98,36 110,52' stroke='rgba(255,255,255,0.7)' stroke-width='0.9'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .45; transition: opacity .25s var(--ease); }
.btn:hover { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26, 86, 196, .34); }
.btn:hover::after { opacity: .8; }
.btn--sm { border-radius: 20px 7px 20px 7px; }
.btn--sm::before { width: 12px; height: 14px; }
.btn--yellow, .t--dark .btn, .section--dark .btn--yellow { background: linear-gradient(135deg, #f0a300 0%, #ffbf2f 100%); color: var(--navy); box-shadow: 0 6px 18px rgba(245, 168, 0, .26); }
.btn--yellow:hover, .t--dark .btn:hover { background: linear-gradient(135deg, #e39a00 0%, #f5a800 100%); color: var(--navy); }
.btn--yellow::after, .t--dark .btn::after { opacity: .3; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.btn--light:hover { background: #eef1f6; color: var(--navy); }
.btn--light::after, .btn--ghost::after { display: none; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--bg-2); color: var(--text); transform: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Kontaktleiste unten im selben Blau */
.dock { background: linear-gradient(90deg, rgba(2, 22, 47, .96), rgba(7, 31, 69, .96)); border-top: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dock::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='70,-6 88,18 78,22 100,46 92,50 118,74' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='70,-6 88,18 78,22 100,46 92,50 118,74' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='88,18 106,12' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='88,18 106,12' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='478,-4 500,20 490,24 514,48 506,52 532,72' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='478,-4 500,20 490,24 514,48 506,52 532,72' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='500,20 516,16' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='500,20 516,16' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='986,-6 1008,16 998,20 1024,46 1016,50 1040,72' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='986,-6 1008,16 998,20 1024,46 1016,50 1040,72' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1318,-4 1342,20 1330,24 1358,50 1350,54 1376,76' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1318,-4 1342,20 1330,24 1358,50 1350,54 1376,76' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1342,20 1360,14' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1342,20 1360,14' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1394,-2 1406,14 1400,16 1416,36' stroke='rgba(120,180,255,0.28)' stroke-width='4'/%3E%3Cpolyline points='1394,-2 1406,14 1400,16 1416,36' stroke='rgba(235,245,255,0.9)' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .55; }
.dock__in { position: relative; z-index: 1; }
.dock__text { color: rgba(255, 255, 255, .72); }
.dock__phone { color: #fff; }
.dock__phone:hover { color: var(--yellow); }

/* Dunkle Flächen tragen das Blitzmotiv dezent weiter */
.t--dark { background: var(--t-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='xMaxYMid slice'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='600,90 650,70' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='600,90 650,70' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") right top / min(70%, 720px) auto no-repeat; }
.section--dark { position: relative; }
.section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='xMaxYMid slice'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='600,90 650,70' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='600,90 650,70' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") right top / min(60%, 640px) auto no-repeat; opacity: .7; }
.section--dark > * { position: relative; }
.footer { position: relative; }
.footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='xMaxYMid slice'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='560,-10 600,90 575,96 640,210 615,218 690,330 672,336 730,420' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='600,90 650,70' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='600,90 650,70' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='730,-10 760,70 745,74 790,170 775,176 820,260' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(120,180,255,0.16)' stroke-width='6'/%3E%3Cpolyline points='80,-10 110,60 96,64 130,150 118,154 150,230' stroke='rgba(220,236,255,0.55)' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") right top / min(55%, 600px) auto no-repeat; opacity: .5; }
.footer > * { position: relative; }

/* Text-Bild-Balance */
.t--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.t--split .t__title { font-size: clamp(30px, 3.5vw, 50px); hyphens: manual; }
.t--split .t__sub { font-size: clamp(16px, 1.3vw, 19px); }
.gf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.gf__media { align-self: end; padding: 32px clamp(20px, 3vw, 40px) 0; }
.gf__media img { max-width: 360px; max-height: 480px; width: auto; object-fit: contain; object-position: bottom; }
.gf__text { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 56px) 0; }
.gf__text p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.gf__text .h-2 { font-size: clamp(28px, 3vw, 42px); }
.tile--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tile--wide .tile__body { padding: clamp(32px, 4vw, 56px); }
.tile--wide .tile__body .h-3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.tile--wide .tile__body p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.tile--wide .tile__media { min-height: 320px; max-height: 460px; }
@media (min-width: 901px) {
  .feature { align-items: stretch; }
  .feature__media { display: flex; }
  .feature__media .media { flex: 1; aspect-ratio: auto; height: auto; min-height: 360px; max-height: 620px; align-self: stretch; }
  .feature__text { align-self: center; }
}


/* Feinschliff: gezacktere Blitze in Kopf- und Kontaktleiste, Geschäftsführer-Block kompakter */
.nav::before, .dock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='60,-6 82,18 66,22 94,46 78,50 108,76' stroke='rgba(120,180,255,0.30)' stroke-width='4.5'/%3E%3Cpolyline points='60,-6 82,18 66,22 94,46 78,50 108,76' stroke='rgba(240,247,255,0.95)' stroke-width='1.3'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='82,18 104,10' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='82,18 104,10' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='94,46 116,40' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='94,46 116,40' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='468,-6 490,18 474,22 502,46 486,50 516,76' stroke='rgba(120,180,255,0.30)' stroke-width='4.5'/%3E%3Cpolyline points='468,-6 490,18 474,22 502,46 486,50 516,76' stroke='rgba(240,247,255,0.95)' stroke-width='1.3'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='490,18 512,10' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='490,18 512,10' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='502,46 524,40' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='502,46 524,40' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='982,-6 1004,18 988,22 1016,46 1000,50 1030,76' stroke='rgba(120,180,255,0.30)' stroke-width='4.5'/%3E%3Cpolyline points='982,-6 1004,18 988,22 1016,46 1000,50 1030,76' stroke='rgba(240,247,255,0.95)' stroke-width='1.3'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1004,18 1026,10' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='1004,18 1026,10' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1016,46 1038,40' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='1016,46 1038,40' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1310,-6 1332,18 1316,22 1344,46 1328,50 1358,76' stroke='rgba(120,180,255,0.30)' stroke-width='4.5'/%3E%3Cpolyline points='1310,-6 1332,18 1316,22 1344,46 1328,50 1358,76' stroke='rgba(240,247,255,0.95)' stroke-width='1.3'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1332,18 1354,10' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='1332,18 1354,10' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1344,46 1366,40' stroke='rgba(120,180,255,0.30)' stroke-width='3'/%3E%3Cpolyline points='1344,46 1366,40' stroke='rgba(220,236,255,0.75)' stroke-width='1'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1398,-2 1412,16 1402,18 1420,40 1412,42 1428,62' stroke='rgba(120,180,255,0.30)' stroke-width='4.5'/%3E%3Cpolyline points='1398,-2 1412,16 1402,18 1420,40 1412,42 1428,62' stroke='rgba(240,247,255,0.95)' stroke-width='1.3'/%3E%3C/g%3E%3C/svg%3E"); }
.gf { max-width: 1040px; margin: 0 auto; }
.gf__media { padding: 28px clamp(20px, 3vw, 40px) 0 clamp(20px, 3vw, 48px); }
.gf__media img { max-width: 320px; max-height: 420px; }
.gf__text { padding: clamp(28px, 3.5vw, 48px) clamp(24px, 4vw, 56px) clamp(28px, 3.5vw, 48px) 0; }
.gf__text p { font-size: clamp(17px, 1.3vw, 19px); }
.gf__text .role { font-size: 16px; }

/* ==========================================================================
   Echte Blitze aus dem Logo: Band hinter Kopf-, Fuß- und Kontaktleiste.
   Quelle: Blitzregion des Logobanners, gespiegelt gekachelt (nahtlos), Schwarz = transparent.
   Buttons wieder einheitlich rund, nur das Blitz-Icon bleibt.
   ========================================================================== */
.nav::after { background: radial-gradient(40% 160% at 20% 50%, rgba(50, 110, 255, .16), transparent 70%); }
.nav__links a:hover { background-image: none; }
.nav__links a[aria-current="page"]::after { display: none; }
.t--dark { background: var(--t-bg); }
.section--dark::before { display: none; }
.btn, .btn--sm { border-radius: 980px; }
.btn::after, .btn:hover::after { display: none; }
@media (max-width: 900px) {
  .nav::before { -webkit-mask-image: linear-gradient(to right, #000 0, #000 60%, rgba(0, 0, 0, .35) 72%, #000 88%); mask-image: linear-gradient(to right, #000 0, #000 60%, rgba(0, 0, 0, .35) 72%, #000 88%); }
  .footer::before { background-size: auto 48px; -webkit-mask-image: linear-gradient(to right, #000 0, #000 55%, transparent 85%); mask-image: linear-gradient(to right, #000 0, #000 55%, transparent 85%); }
}

/* ---------- Blitze natürlich: hängen direkt am Logo (links hinein, rechts hinaus), keine Kachelung ---------- */
.nav::before, .dock::before, .footer::before { display: none; }
.nav, .footer, .dock { overflow: hidden; }
.brand--logo, .dock__brand { position: relative; z-index: 0; display: inline-flex; align-items: center; }
.brand--logo::before, .brand--logo::after, .dock__brand::before, .dock__brand::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: auto 100%;
}
.brand--logo::before, .dock__brand::before { right: 100%; width: 640px; background-image: url("../img/brand/blitz-in.webp"); background-position: right center; }
.brand--logo::after, .dock__brand::after { left: 100%; width: 640px; background-image: url("../img/brand/blitz-out.webp"); background-position: left center; }
.nav .brand--logo::after { -webkit-mask-image: linear-gradient(to right, #000 0, #000 22%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .22) 100%); mask-image: linear-gradient(to right, #000 0, #000 22%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .22) 100%); }
.footer .brand--logo { display: inline-flex; }
.footer .brand--logo::after { -webkit-mask-image: linear-gradient(to right, #000 0, #000 35%, transparent 70%); mask-image: linear-gradient(to right, #000 0, #000 35%, transparent 70%); }
.dock__brand::after { -webkit-mask-image: linear-gradient(to right, #000 0, transparent 60%); mask-image: linear-gradient(to right, #000 0, transparent 60%); }
.dock__brand::before { display: none; }
@media (max-width: 480px) { .dock__brand { display: none; } }

/* ---------- Dunkler Auftakt: Hinweisband + Hero mit Startvideo ---------- */
.ribbon { background: var(--navy-deep); border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); }
.ribbon strong { color: #fff; }
.ribbon a { color: #8fb8ff; }
.t--hero { --t-bg: #06142e; color: #fff; }
.t--hero .eyebrow { color: #8fb8ff; }
.t--hero .t__title { color: #fff; }
.t--hero .t__sub { color: rgba(255, 255, 255, .8); }
.t--hero .link { color: #8fb8ff; }
.t--hero .link:hover { color: #fff; }
.t--hero .t__img--fade::before { background: linear-gradient(to bottom, var(--t-bg) 0, rgba(6, 20, 46, .72) 22%, rgba(6, 20, 46, .12) 55%, transparent 100%); }
.t--hero .t__img { min-height: 320px; }
.t__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: 0; }
.t__video + picture { z-index: -1; }
.t--hero .t__img picture { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce), (max-width: 600px) { .t__video { display: none; } }
.footer .brand--logo::after { width: 220px; -webkit-mask-image: linear-gradient(to right, #000 0, #000 30%, transparent 95%); mask-image: linear-gradient(to right, #000 0, #000 30%, transparent 95%); }
.footer .brand--logo::before { width: 520px; }
/* Hero: Ebenen – Bild (0) unter Video (1) unter Verlauf (2) */
.t--hero .t__img picture { z-index: 0; }
.t__video + picture { z-index: 0; }
.t__video { z-index: 1; }
.t--hero .t__img--fade::before { z-index: 2; }
.t--hero .mark { background-image: linear-gradient(rgba(245, 168, 0, .9), rgba(245, 168, 0, .9)); }

/* Hero-Video heller: Verlauf nur noch als weicher Übergang am oberen Rand */
.t--hero .t__img--fade::before { background: linear-gradient(to bottom, var(--t-bg) 0, rgba(6, 20, 46, .55) 9%, rgba(6, 20, 46, .18) 22%, transparent 38%); }

/* Hero-Video: Überlagerung nur noch als schmaler Rand, Videobereich höher */
.t--hero .t__img--fade::before { background: linear-gradient(to bottom, var(--t-bg) 0, rgba(6, 20, 46, .4) 5%, transparent 13%); }
.t--hero .t__img { min-height: 380px; margin-top: 4px; }
.t--hero .t__head { padding-top: clamp(28px, 4vw, 48px); }
.t--hero { min-height: min(720px, 84vh); }

/* Hero-Video: keine spürbare Überlagerung mehr, größerer Bildausschnitt */
.t--hero .t__img--fade::before { background: linear-gradient(to bottom, rgba(6, 20, 46, .35) 0, transparent 3%); }
.t--hero .t__img { min-height: clamp(380px, 44vw, 640px); }
.t--hero .t__img img, .t__video { object-position: 50% 50%; }

/* Abspiel-Taste, falls der Autostart blockiert wird */
.t__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 600 16px/1.2 var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.t__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--navy); }
.t__play:hover { background: #fff; }

/* ---------- Story verdichtet (Apple-Prinzip): Bildkarte füllt die Höhe, Text größer, kein Leerraum ---------- */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .story__pin { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 96px); padding: 0 clamp(24px, 4vw, 72px); }
  .story__stage {
    aspect-ratio: auto; max-height: none; justify-self: end;
    height: min(calc(100vh - var(--nav-h) - 88px), 1040px);
    width: min(100%, calc((100vh - var(--nav-h) - 88px) * 1.18));
  }
  .story--years .story__pin { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .story--years .story__stage { width: auto; height: 100%; max-height: none; justify-self: stretch; }
  .story__title { font-size: clamp(36px, 2.9vw + 1vh, 64px); margin-bottom: 18px; }
  .story--rich .story__title { font-size: clamp(32px, 2.5vw + 1vh, 54px); }
  .story__h, .story--rich .story__h { font-size: clamp(28px, 2.1vw + .8vh, 46px); }
  .story .t__sub, .story--rich .t__sub { font-size: clamp(17px, .9vw + .5vh, 23px); line-height: 1.45; max-width: 60ch; }
  .story__step .list-dash { font-size: clamp(15px, .75vw + .45vh, 19px); gap: 8px; }
  .story__kicker { font-size: clamp(14px, .7vw + .4vh, 17px); }
  .story__meta { margin-top: 34px; }
  .story__year { font-size: clamp(120px, 11vw + 6vh, 320px); }
}
@media (min-width: 1400px) and (min-height: 1000px) {
  .t--hero .t__img { min-height: clamp(380px, 52vh, 900px); }
}

/* ---------- Werte als Bildkarten (Unternehmen) ---------- */
.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.vcard { margin: 0; }
.vcard__img { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg-3); box-shadow: 0 18px 44px rgba(13, 27, 62, .12); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.03); }
.vcard figcaption { padding: 18px 4px 0; }
.vcard .h-3 { margin: 0 0 6px; }
.vcard .muted { margin: 0; max-width: 34ch; }
@media (max-width: 900px) { .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .vcards { grid-template-columns: 1fr; } .vcard__img { aspect-ratio: 5 / 4; } }
/* Flache Laptop-Bildschirme: Textspalte der Story bleibt innerhalb der Pin-Höhe */
@media (min-width: 901px) and (max-height: 800px) and (prefers-reduced-motion: no-preference) {
  .story__title, .story--rich .story__title { font-size: clamp(26px, 4.2vh, 40px); margin-bottom: 10px; }
  .story__h, .story--rich .story__h { font-size: clamp(22px, 3.6vh, 34px); margin-bottom: 8px; }
  .story .t__sub, .story--rich .t__sub { font-size: clamp(14px, 2.1vh, 17px); line-height: 1.4; margin-bottom: 10px; }
  .story__step .list-dash { font-size: clamp(13px, 1.9vh, 15px); gap: 4px; }
  .story__kicker { margin-bottom: 6px; font-size: 13px; }
  .story__meta { margin-top: 16px; }
  .story__step .t__actions { margin-top: 8px; }
}

/* ---------- Breites Stimmungsbild innerhalb eines Abschnitts ---------- */
.sec-media { margin: 0 0 clamp(28px, 3.5vw, 44px); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-3); box-shadow: 0 18px 44px rgba(13, 27, 62, .12); }
.sec-media picture, .sec-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .sec-media { aspect-ratio: 16 / 10; } }

/* ---------- Feinschliff nach Web-Interface-Guidelines ---------- */
h1, h2, h3, .t__title, .story__h, .h-display, .h-2, .h-3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
a, button, [role="button"], input, label, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.t__ctl { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(6, 20, 46, .62); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s var(--ease); }
.t__ctl:hover { background: rgba(6, 20, 46, .85); transform: scale(1.06); }
.t__ctl:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 600px) { .t__ctl { display: none; } }

/* ---------- Cookie-Einwilligung ---------- */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.cookie-consent__box { pointer-events: auto; width: min(100%, 760px); background: var(--navy); color: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(6, 20, 46, .45); padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 28px); opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.cookie-consent.is-on .cookie-consent__box { opacity: 1; transform: none; }
.cookie-consent__title { margin: 0 0 6px; font-weight: 600; font-size: 17px; }
.cookie-consent__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.cookie-consent__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__opts { display: grid; gap: 8px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.cookie-consent__opt { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .88); cursor: pointer; }
.cookie-consent__opt input { margin-top: 3px; accent-color: var(--yellow); width: 16px; height: 16px; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.cookie-consent__actions .btn { padding: 11px 18px; font-size: 14.5px; }
.cookie-consent__actions .btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; }
.cookie-consent__actions .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.cookie-consent__settings { background: none; border: 0; color: rgba(255, 255, 255, .85); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 10px 2px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__settings:hover { color: #fff; }
.cookie-consent :focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 600px) { .cookie-consent__box { border-radius: 14px; } .cookie-consent__actions .btn { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cookie-consent__box { transition: none; transform: none; } }
