/* ==========================================================================
   ALF GmbH · aerologistik.de · Stylesheet
   Layout-Idee: Bauplan. Dunkle Navy-Flaechen (Logo-Navy) wechseln mit
   hellem Kalkweiss. Messing ist der einzige Akzent. Haarlinien, Masslinien
   und Positionsnummern wie in einem Leistungsverzeichnis.
   ========================================================================== */

:root {
  --navy-950: #07101d;
  --navy-900: #0e1f3d;
  --navy-800: #13284a;
  --navy-700: #1d3a66;
  --silver: #9ca0a9;
  --brass: #c6a66b;
  --brass-light: #dcc394;
  --brass-deep: #7e6230;
  --paper: #eef0f2;
  --paper-2: #e2e6eb;
  --white: #ffffff;
  --ink: #0e1f3d;
  --ink-soft: #4b5768;
  --on-dark: #eef0f2;
  --on-dark-soft: #a7aeba;
  --line-dark: rgba(198, 166, 107, 0.26);
  --line-dark-soft: rgba(238, 240, 242, 0.12);
  --line-light: rgba(14, 31, 61, 0.14);
  --grid-dark: rgba(238, 240, 242, 0.045);
  --grid-light: rgba(14, 31, 61, 0.05);

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Archivo", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: clamp(0.7rem, 0.68rem + 0.08vw, 0.76rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  --step-1: clamp(1.18rem, 1.08rem + 0.45vw, 1.42rem);
  --step-2: clamp(1.45rem, 1.22rem + 1vw, 2.05rem);
  --step-3: clamp(1.9rem, 1.45rem + 2.1vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.2vw, 5.2rem);
  --step-5: clamp(3.1rem, 1.3rem + 8.2vw, 8.6rem);

  --gutter: clamp(16px, 4.2vw, 64px);
  --container: 1360px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy-950);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--navy-950); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--brass); color: var(--navy-950); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { position: relative; padding-block: clamp(72px, 9vw, 148px); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--navy { background: var(--navy-950); color: var(--on-dark); }
.section--navy-2 { background: var(--navy-900); color: var(--on-dark); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.grid-bg {
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}
.section--paper.grid-bg, .section--white.grid-bg {
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
}
.split { display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
.stack { display: grid; gap: clamp(16px, 2vw, 24px); align-content: start; min-width: 0; }
.stack--lg { gap: clamp(24px, 3vw, 40px); }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3-serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; }
.display em, .h1 em, .h2 em, .h3-serif em { font-style: italic; color: var(--brass); }
.section--paper .h2 em, .section--white .h2 em, .section--paper .h3-serif em { color: var(--brass-deep); }
.h1 { font-size: var(--step-4); line-height: 0.98; }
.h2 { font-size: var(--step-4); line-height: 1; }
.h2--md { font-size: var(--step-3); line-height: 1.05; }
.h3-serif { font-size: var(--step-2); line-height: 1.1; }
.h3 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 600; line-height: 1.3; font-stretch: 104%; letter-spacing: -0.005em; }
.lead { font-size: var(--step-1); line-height: 1.55; max-width: 58ch; color: var(--ink-soft); }
.section--navy .lead, .section--navy-2 .lead, .page-hero .lead, .hero .lead { color: var(--on-dark-soft); }
.text { max-width: 64ch; color: var(--ink-soft); }
.section--navy .text, .section--navy-2 .text { color: var(--on-dark-soft); }
.text p + p { margin-top: 1em; }
.mono { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; font-weight: 400; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .section--navy-2 .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .site-footer .eyebrow { color: var(--brass); }
.section-head { display: grid; gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(40px, 6vw, 88px); max-width: 980px; }
.section-head--split { max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; column-gap: 64px; }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
}

/* Masslinie (Bemassung wie in einer Bauzeichnung) */
.dim {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 14px;
  padding-inline: 1px;
  border-inline: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.7;
}
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.55; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-line: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover, var(--brass));
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn__label { position: relative; display: inline-block; overflow: hidden; }
.btn__label span { display: block; transition: transform 0.5s var(--ease); }
.btn__label span + span { position: absolute; inset: 100% 0 auto 0; }
.btn:hover .btn__label span, .btn:focus-visible .btn__label span { transform: translateY(-100%); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--navy-950); --btn-line: var(--brass); --btn-hover: var(--on-dark); }
.btn--ghost { --btn-fg: var(--on-dark); --btn-line: rgba(238, 240, 242, 0.32); --btn-hover: var(--on-dark); }
.btn--ghost:hover { color: var(--navy-950); border-color: var(--on-dark); }
.btn--ink { --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-line: var(--navy-900); --btn-hover: var(--brass); }
.btn--ink:hover { color: var(--navy-950); border-color: var(--brass); }
.btn--line { --btn-fg: var(--ink); --btn-line: rgba(14, 31, 61, 0.3); --btn-hover: var(--navy-900); }
.btn--line:hover { color: var(--white); border-color: var(--navy-900); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.7rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow:hover { background-size: 30% 1px; color: var(--brass-deep); }
.section--navy .link-arrow:hover, .section--navy-2 .link-arrow:hover, .site-footer .link-arrow:hover { color: var(--brass); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(7, 16, 29, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); height: var(--header-h); transition: height 0.5s var(--ease); }
.site-header.is-solid .site-header__inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: auto; height: 38px; }
.brand__text { display: grid; line-height: 1; gap: 6px; }
.brand__name { font-size: 1.12rem; font-weight: 700; font-stretch: 125%; letter-spacing: 0.24em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--on-dark-soft); text-transform: uppercase; }
@media (max-width: 479px) { .brand__sub { display: none; } .brand__mark { height: 32px; } }

.nav { display: none; }
@media (min-width: 1120px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 10px;
  font-size: 0.74rem;
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link svg { width: 9px; height: 9px; transition: transform 0.4s var(--ease); }
.nav__item--mega:hover .nav__link svg, .nav__item--mega:focus-within .nav__link svg { transform: rotate(180deg); }
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0.35s;
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 40px; padding-block: 40px 44px; }
.mega__group h3 { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; margin-bottom: 18px; }
.mega__group h3 span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass); }
.mega__group a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark-soft); font-size: 0.95rem; color: var(--on-dark-soft); transition: color 0.3s, padding 0.4s var(--ease); }
.mega__group a:hover { color: var(--on-dark); padding-left: 8px; }
.mega__group a .mono { color: var(--brass); font-size: 0.7rem; }
.mega__feature { position: relative; overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; padding: 22px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 1.2s var(--ease), opacity 0.4s; }
.mega__feature:hover img { transform: scale(1.06); opacity: 0.7; }
.mega__feature p { position: relative; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; }
.mega__feature p span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--brass); }

.header-phone { display: none; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--on-dark-soft); transition: color 0.3s; }
.header-phone:hover { color: var(--brass); }
@media (min-width: 1280px) { .header-phone { display: inline-flex; align-items: center; gap: 8px; } }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.burger { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(238, 240, 242, 0.28); }
.burger span { position: relative; display: block; width: 20px; height: 1px; background: currentColor; transition: background-color 0.3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (min-width: 1120px) { .burger { display: none; } }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }

/* Mobiles Menue */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--navy-950);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { display: grid; gap: 36px; padding-block: 24px 48px; }
.menu__list { display: grid; }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark-soft); font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.3s; transition-delay: calc(0.12s + var(--i, 0) * 0.05s); }
.menu__list a .mono { color: var(--brass); font-size: 0.72rem; }
.menu__list a:hover { color: var(--brass); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 6px 0 14px; }
.menu__sub a { font-family: var(--font-sans); font-size: 0.95rem; border: 0; padding: 4px 0; color: var(--on-dark-soft); opacity: 1; transform: none; }
.menu__meta { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-dark-soft); }
.menu__meta a:hover { color: var(--brass); }

/* ---------- Vorhang (Seitenwechsel) ---------- */
.curtain { display: none; }
.js .curtain {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background: var(--navy-950);
  animation: curtain-out 0.8s var(--ease) 0.12s forwards;
}
.js .curtain--intro { animation-delay: 0.55s; animation-duration: 1s; }
.curtain__logo { width: 92px; height: auto; opacity: 0; }
.js .curtain--intro .curtain__logo { animation: curtain-logo 0.9s var(--ease) forwards; }
.curtain__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }
.js .curtain--intro .curtain__line { animation: curtain-line 0.7s var(--ease) forwards; }
.js .curtain.is-leaving { animation: curtain-in 0.5s var(--ease) forwards; pointer-events: all; }
.js .curtain.is-leaving .curtain__logo, .js .curtain.is-leaving .curtain__line { animation: none; opacity: 0; }
@keyframes curtain-out { from { transform: translateY(0); } to { transform: translateY(-100%); visibility: hidden; } }
@keyframes curtain-in { from { transform: translateY(100%); visibility: visible; } to { transform: translateY(0); visibility: visible; } }
@keyframes curtain-logo { 0% { opacity: 0; transform: translateY(10px); } 40%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes curtain-line { to { transform: scaleX(1); } }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { display: none; }
html.has-cursor .cursor, html.has-cursor .cursor-dot { display: block; }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor [data-cursor] { cursor: none; }
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  display: grid;
  place-items: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.4s var(--ease), opacity 0.3s, border-color 0.3s;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(198, 166, 107, 0.14); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--brass); }
.cursor.is-text { opacity: 0; }
.cursor.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor__label { font-size: 0.62rem; font-weight: 600; font-stretch: 115%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-950); opacity: 0; transition: opacity 0.3s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 201; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--brass); pointer-events: none; transition: opacity 0.3s; }
html.has-cursor .cursor.is-label + .cursor-dot { opacity: 0; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(640px, min(100svh, 1000px));
  background: var(--navy-950);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__slide.is-active img { animation: kenburns 9s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.9) 0%, rgba(7, 16, 29, 0.62) 42%, rgba(7, 16, 29, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.95) 0%, rgba(7, 16, 29, 0) 42%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.6) 0%, rgba(7, 16, 29, 0) 22%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(238, 240, 242, 0.05) calc(25% - 1px) 25%);
}
.hero__content { align-self: end; display: grid; gap: clamp(18px, 2.4vw, 30px); padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero__coords { color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__coords span { color: var(--brass); }
.hero__title { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.hero__title .display { display: block; font-size: var(--step-5); line-height: 0.9; max-width: 11ch; }
.hero .lead { max-width: 54ch; }
.hero__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(24px, 3vw, 36px); }
.hero__index { display: flex; gap: clamp(12px, 2vw, 28px); flex-wrap: wrap; }
.hero__idx { display: grid; gap: 10px; min-width: 110px; text-align: left; color: var(--on-dark-soft); transition: color 0.3s; }
.hero__idx:hover, .hero__idx.is-active { color: var(--on-dark); }
.hero__idx .mono { font-size: 0.72rem; }
.hero__idx .mono b { color: var(--brass); font-weight: 500; }
.hero__bar { position: relative; height: 1px; background: rgba(238, 240, 242, 0.22); overflow: hidden; }
.hero__bar::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; }
.hero__idx.is-active .hero__bar::after { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__scroll { display: none; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__scroll i { position: relative; width: 1px; height: 54px; background: rgba(238, 240, 242, 0.22); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass); animation: scrollhint 2.2s var(--ease) infinite; }
@keyframes scrollhint { to { top: 100%; } }
@media (min-width: 900px) { .hero__scroll { display: inline-flex; } }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(540px, 78svh, 780px);
  background: var(--navy-950);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero--short { min-height: clamp(360px, 46svh, 460px); }
.page-hero__media { position: absolute; inset: -8% 0 0 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.92) 0%, rgba(7, 16, 29, 0.66) 48%, rgba(7, 16, 29, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.92) 0%, rgba(7, 16, 29, 0) 50%);
}
.page-hero__content { display: grid; gap: clamp(16px, 2vw, 26px); padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--on-dark-soft); }
.breadcrumb li { display: inline-flex; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--brass); }
.breadcrumb a:hover { color: var(--brass); }
.page-hero__pos { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(40px, 6vw, 80px); display: none; text-align: right; color: var(--on-dark-soft); }
.page-hero__pos b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(5rem, 12vw, 11rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(198, 166, 107, 0.6); }
@media (min-width: 1000px) { .page-hero__pos { display: block; } }

/* ---------- Laufband ---------- */
.marquee { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark); border-block: 1px solid var(--line-dark); padding-block: clamp(18px, 2.4vw, 28px); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font-family: var(--font-display); font-size: var(--step-3); line-height: 1; white-space: nowrap; }
.marquee__item:nth-child(even) { font-style: italic; color: var(--brass); }
.marquee__item::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--brass); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / Kennzahlen ---------- */
.statement { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.01em; max-width: 26ch; }
.statement em { font-style: italic; color: var(--brass-deep); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
@media (min-width: 1000px) { .facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 24px) clamp(20px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-light); }
.fact + .fact { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--line-light); }
@media (max-width: 999px) {
  .facts .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}
.fact__num { font-family: var(--font-display); font-size: var(--step-4); line-height: 0.9; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact__num sup { font-size: 0.45em; vertical-align: top; position: relative; top: 0.25em; color: var(--brass-deep); margin-left: 2px; }
.fact__label { color: var(--ink-soft); font-size: var(--step--1); max-width: 24ch; }
.section--navy .facts, .section--navy .fact { border-color: var(--line-dark-soft); }
.section--navy .fact__num { color: var(--on-dark); }
.section--navy .fact__label { color: var(--on-dark-soft); }
.section--navy .fact__num sup { color: var(--brass); }

/* ---------- Leistungsverzeichnis ---------- */
.lv { display: grid; }
.lv-group { display: grid; gap: clamp(20px, 3vw, 40px); padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line-light); }
.lv-group:last-child { border-bottom: 1px solid var(--line-light); }
@media (min-width: 980px) { .lv-group { grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 72px); } }
.lv-group__head { display: grid; gap: 10px; align-content: start; }
.lv-group__num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brass-deep); }
.lv-group__title { font-family: var(--font-display); font-size: var(--step-4); line-height: 0.92; }
.lv-group__desc { color: var(--ink-soft); font-size: var(--step--1); max-width: 30ch; }
.lv-rows { display: grid; min-width: 0; }
.lv-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 2vw, 28px);
  row-gap: 6px;
  padding-block: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line-light);
}
.lv-row:last-child { border-bottom: 0; }
.lv-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass-deep); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.7s var(--ease); }
.lv-row:last-child::before { bottom: 0; }
.lv-row:hover::before, .lv-row:focus-visible::before { transform: scaleX(1); }
.lv-row__pos { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); }
.lv-row__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; transition: transform 0.6s var(--ease), color 0.4s; }
.lv-row__desc { grid-column: 2; color: var(--ink-soft); font-size: var(--step--1); max-width: 56ch; }
.lv-row__arrow { grid-row: 1 / span 2; grid-column: 3; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-light); border-radius: 50%; transition: background-color 0.4s var(--ease), border-color 0.4s, transform 0.6s var(--ease), color 0.4s; }
.lv-row__arrow svg { width: 16px; height: 16px; }
.lv-row:hover .lv-row__title { transform: translateX(10px); color: var(--brass-deep); }
.lv-row:hover .lv-row__arrow { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); transform: rotate(-45deg); }
@media (max-width: 599px) {
  .lv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lv-row__pos { grid-row: 1; grid-column: 1 / -1; }
  .lv-row__title { grid-row: 2; grid-column: 1; }
  .lv-row__desc { grid-row: 3; grid-column: 1; }
  .lv-row__arrow { grid-row: 2 / span 2; grid-column: 2; width: 44px; height: 44px; }
}
.lv-preview { position: fixed; left: 0; top: 0; z-index: 40; width: min(26vw, 360px); aspect-ratio: 4 / 5; margin: calc(min(26vw, 360px) * -0.625) 0 0 calc(min(26vw, 360px) * -0.5); pointer-events: none; overflow: hidden; opacity: 0; transform: scale(0.85) rotate(-3deg); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.lv-preview.is-visible { opacity: 1; transform: none; }
.lv-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 0.7s var(--ease); }
.lv-preview img.is-active { clip-path: inset(0 0 0 0); }
@media (hover: none), (max-width: 979px) { .lv-preview { display: none; } }

/* ---------- Ablauf (horizontal) ---------- */
.process { overflow: hidden; }
.process__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .process__head { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; column-gap: 64px; } .process__head .eyebrow { grid-column: 1 / -1; } }
.process__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.process__viewport::-webkit-scrollbar { display: none; }
.process__track { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.step { scroll-snap-align: start; flex: none; width: min(82vw, 430px); display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(19, 40, 74, 0.55), rgba(19, 40, 74, 0.15)); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }
.step__num { font-family: var(--font-display); font-size: clamp(4rem, 7vw, 6.4rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--brass); }
.step__tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--on-dark-soft); }
.step h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05; }
.step p { color: var(--on-dark-soft); }
.step figure { margin-top: auto; aspect-ratio: 16 / 10; overflow: hidden; }
.step figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1.2s var(--ease); }
.step:hover figure img { transform: scale(1.06); }
.process__rail { margin-top: clamp(28px, 4vw, 48px); }
.process__bar { position: relative; height: 1px; background: var(--line-dark-soft); }
.process__bar i { position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }
.process__hint { display: flex; justify-content: space-between; margin-top: 12px; color: var(--on-dark-soft); }
html.is-pinned-ready .process__viewport { overflow: visible; scroll-snap-type: none; }

/* ---------- Zielgruppen (Tilt-Karten) ---------- */
.cards { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--white);
  border: 1px solid var(--line-light);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.6s var(--ease);
  overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(198, 166, 107, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.card:hover { border-color: rgba(126, 98, 48, 0.45); box-shadow: 0 30px 60px -30px rgba(14, 31, 61, 0.35); }
.card:hover::after { opacity: 1; }
.card__icon { width: 44px; height: 44px; color: var(--brass-deep); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05; }
.card p { color: var(--ink-soft); font-size: var(--step--1); }
.card__pos { position: absolute; top: 20px; right: 22px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); }
.section--navy .card { background: rgba(19, 40, 74, 0.4); border-color: var(--line-dark); }
.section--navy .card h3 { color: var(--on-dark); }
.section--navy .card p { color: var(--on-dark-soft); }
.section--navy .card__icon { color: var(--brass); }

/* ---------- Bildkompositionen ---------- */
.frame { position: relative; overflow: hidden; background: var(--navy-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--45 { aspect-ratio: 4 / 5; }
.frame--32 { aspect-ratio: 3 / 2; }
.frame--169 { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame[data-parallax-wrap] img { height: 118%; margin-top: -9%; }
.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--brass); border-style: solid; z-index: 2; pointer-events: none; }
.crop::before { top: -9px; left: -9px; border-width: 1px 0 0 1px; }
.crop::after { bottom: -9px; right: -9px; border-width: 0 1px 1px 0; }
.layered { position: relative; padding: 0 0 clamp(48px, 8vw, 110px) 0; }
.layered__inset { position: absolute; right: 0; bottom: 0; width: 42%; border: clamp(6px, 0.8vw, 12px) solid var(--paper); box-shadow: 0 30px 60px -30px rgba(7, 16, 29, 0.5); }
.section--white .layered__inset { border-color: var(--white); }
.caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); }
.section--navy .caption { color: var(--on-dark-soft); }

/* Checkliste */
.checks { display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.checks li:first-child { border-top: 1px solid var(--line-light); }
.checks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--brass-deep); }
.section--navy .checks li, .section--navy-2 .checks li { border-color: var(--line-dark-soft); }
.section--navy .checks svg, .section--navy-2 .checks svg { color: var(--brass); }

/* ---------- Leistungsumfang (Unterseiten) ---------- */
.scope { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.scope__item { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background-color 0.5s var(--ease); }
.scope__item:hover { background: var(--paper); }
.section--paper .scope__item:hover { background: var(--white); }
.scope__pos { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass-deep); }
.scope__item h3 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.scope__item p { color: var(--ink-soft); font-size: var(--step--1); }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-top: clamp(24px, 3vw, 40px); padding: 20px 22px; border: 1px dashed rgba(126, 98, 48, 0.5); color: var(--ink-soft); font-size: var(--step--1); }
.note .mono { color: var(--brass-deep); }
.section--navy .note, .section--navy-2 .note { border-color: var(--line-dark); color: var(--on-dark-soft); }
.section--navy .note .mono { color: var(--brass); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-light); font-size: var(--step--1); background: var(--white); transition: border-color 0.3s, transform 0.4s var(--ease); }
.chip::before { content: ""; width: 6px; height: 6px; background: var(--brass-deep); transform: rotate(45deg); }
.chip:hover { border-color: var(--brass-deep); transform: translateY(-2px); }
.section--navy .chip, .area .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.section--navy .chip::before, .area .chip::before { background: var(--brass); }

/* ---------- Leistungs-Karten (Uebersicht, verwandte) ---------- */
.svc-cards { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.svc-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line-light); color: var(--ink); overflow: hidden; transition: border-color 0.4s, transform 0.6s var(--ease); }
.svc-card:hover { border-color: rgba(126, 98, 48, 0.5); }
.svc-card .frame { aspect-ratio: 16 / 10; }
.svc-card .frame img { transition: transform 1.2s var(--ease); }
.svc-card:hover .frame img { transform: scale(1.06); }
.svc-card__body { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.4vw, 32px); }
.svc-card__pos { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass-deep); }
.svc-card h3 { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.svc-card p { color: var(--ink-soft); font-size: var(--step--1); }
.svc-card ul { display: grid; gap: 6px; font-size: var(--step--1); }
.svc-card li { display: flex; gap: 10px; }
.svc-card li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.62em; background: var(--brass-deep); transform: rotate(45deg); }
.svc-card .link-arrow { margin-top: 6px; justify-self: start; }
.group-title { display: flex; align-items: baseline; gap: 18px; margin: clamp(48px, 6vw, 88px) 0 clamp(20px, 2.4vw, 32px); padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
.group-title:first-child { margin-top: 0; }
.group-title .mono { color: var(--brass-deep); }
.group-title h2 { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.group-title p { margin-left: auto; color: var(--ink-soft); font-size: var(--step--1); display: none; }
@media (min-width: 800px) { .group-title p { display: block; } }

/* ---------- Karte / Einsatzgebiet ---------- */
.area__grid { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) { .area__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.area__panel { display: grid; gap: 22px; align-content: start; min-width: 0; }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; }
.area__list .chip { cursor: pointer; font-size: 0.82rem; padding: 8px 13px; }
.area__list .chip.is-active { background: var(--brass); border-color: var(--brass); color: var(--navy-950); }
.area__list .chip.is-active::before { background: var(--navy-950); }
.area__info { min-height: 132px; padding: 20px 22px; border: 1px solid var(--line-dark); background: rgba(19, 40, 74, 0.35); display: grid; gap: 10px; align-content: start; }
.area__info h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.area__info p { color: var(--on-dark-soft); font-size: var(--step--1); }
.area__readout { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--on-dark-soft); }
.area__readout b { font-weight: 500; color: var(--brass); }
.map-wrap { position: relative; min-width: 0; }
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 360px;
  max-height: 78svh;
  background-color: #0a1628;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 45%, rgba(29, 58, 102, 0.55), transparent 65%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.map--large { aspect-ratio: 16 / 10; }
.map--office { aspect-ratio: 4 / 3; }
.map__ui { position: absolute; top: 14px; right: 14px; z-index: 500; display: grid; gap: 6px; }
.map__btn { display: grid; place-items: center; width: 42px; height: 42px; background: rgba(7, 16, 29, 0.85); border: 1px solid var(--line-dark); color: var(--on-dark); font-family: var(--font-mono); font-size: 1rem; transition: background-color 0.3s, color 0.3s; }
.map__btn:hover { background: var(--brass); color: var(--navy-950); }
.map__btn svg { width: 16px; height: 16px; }
.map__legend { position: absolute; left: 14px; bottom: 14px; z-index: 500; display: flex; gap: 14px; flex-wrap: wrap; padding: 8px 12px; background: rgba(7, 16, 29, 0.8); border: 1px solid var(--line-dark-soft); font-family: var(--font-mono); font-size: 0.66rem; color: var(--on-dark-soft); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--brass); }
.map__legend i.l { border-radius: 0; height: 2px; width: 16px; }
.map__noscript { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--on-dark-soft); }
.leaflet-container { background: transparent !important; font-family: var(--font-sans); outline: 0; }
.map .leaflet-control-container .leaflet-control-attribution { background: rgba(7, 16, 29, 0.78); color: var(--on-dark-soft); font-size: 9px; line-height: 1.5; font-family: var(--font-mono); padding: 2px 8px; }
.map .leaflet-control-container .leaflet-control-attribution a { color: var(--brass); }
.map.is-far .map-mark, .map.is-far .map-office__tag .full { display: none; }
.map.is-tiny .map-label { display: none; }
.map:not(.is-far) .map-office__tag .short { display: none; }
.leaflet-interactive { transition: fill 0.35s var(--ease), fill-opacity 0.35s var(--ease), stroke 0.35s; }
.map-label { pointer-events: none !important; }
.map-label span { display: block; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 9.5px; line-height: 1.25; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: rgba(238, 240, 242, 0.78); text-shadow: 0 1px 3px rgba(7, 16, 29, 0.9); white-space: nowrap; }
.map-mark span { display: inline-flex; align-items: center; gap: 6px; transform: translate(-5px, -50%); font-family: var(--font-mono); font-size: 9px; color: rgba(220, 195, 148, 0.85); white-space: nowrap; text-shadow: 0 1px 3px rgba(7, 16, 29, 0.9); }
.map-mark span::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); background: rgba(7, 16, 29, 0.8); }
.map-office { pointer-events: auto; }
.map-office__dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(198, 166, 107, 0.28); }
.map-office__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--brass); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.map-office__tag { position: absolute; left: 18px; top: -13px; padding: 5px 9px; background: var(--brass); color: var(--navy-950); font-family: var(--font-mono); font-size: 10px; font-weight: 500; white-space: nowrap; }
.district-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.district { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.district h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.district p { color: var(--ink-soft); font-size: var(--step--1); }
.district .link-arrow { justify-self: start; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 26px) 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.12; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass-deep); }
.faq summary i { position: relative; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; transition: transform 0.5s var(--ease), background-color 0.4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin-left: -7px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.5s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__body { padding: 0 56px clamp(20px, 2.4vw, 28px) 0; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Kontakt / Formular ---------- */
.contact__grid { display: grid; gap: clamp(40px, 5vw, 88px); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.contact-list { display: grid; border-top: 1px solid var(--line-dark-soft); }
.contact-list > * { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-dark-soft); }
.contact-list .mono { color: var(--brass); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-list a, .contact-list span:not(.mono) { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; overflow-wrap: anywhere; }
.contact-list a { transition: color 0.3s; }
.contact-list a:hover { color: var(--brass); }
.section--paper .contact-list, .section--paper .contact-list > *, .section--white .contact-list, .section--white .contact-list > * { border-color: var(--line-light); }
.section--paper .contact-list .mono, .section--white .contact-list .mono { color: var(--brass-deep); }
.section--paper .contact-list a:hover { color: var(--brass-deep); }

.form { --f-text: var(--on-dark); --f-soft: var(--on-dark-soft); --f-line: rgba(238, 240, 242, 0.24); --f-bg: rgba(19, 40, 74, 0.35); --f-focus: var(--brass); display: grid; gap: 26px; padding: clamp(24px, 3vw, 44px); background: var(--f-bg); border: 1px solid var(--line-dark); color: var(--f-text); }
.form--light { --f-text: var(--ink); --f-soft: var(--ink-soft); --f-line: rgba(14, 31, 61, 0.24); --f-bg: var(--white); --f-focus: var(--brass-deep); border-color: var(--line-light); }
.form__grid { display: grid; gap: 22px 24px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--f-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--f-line);
  border-radius: 0;
  color: var(--f-text);
  font: inherit;
  font-size: var(--step-0);
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--f-soft) 50%), linear-gradient(135deg, var(--f-soft) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: #0e1f3d; background: #ffffff; }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--f-focus); box-shadow: 0 1px 0 0 var(--f-focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--f-soft); opacity: 0.7; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-bottom-color: #e07a6a; }
.field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__privacy { flex: 1 1 260px; font-size: 0.82rem; color: var(--f-soft); }
.form__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form__status { grid-column: 1 / -1; min-height: 1.5em; font-size: var(--step--1); }
.form__status[data-state="ok"] { color: #8fd3a8; }
.form--light .form__status[data-state="ok"] { color: #1d7a45; }
.form__status[data-state="error"] { color: #f0a090; }
.form--light .form__status[data-state="error"] { color: #b03a2e; }
.form__status[data-state="info"] { color: var(--brass); }
.form--light .form__status[data-state="info"] { color: var(--brass-deep); }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band .h2 { max-width: 16ch; }
.cta-band__phone { display: block; margin-top: 18px; font-family: var(--font-mono); color: var(--on-dark-soft); }
.cta-band__phone a { color: var(--brass); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; margin: 2.2em 0 0.6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: var(--step-0); font-weight: 600; margin: 1.6em 0 0.4em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 0.8em; }
.legal ul { display: grid; gap: 6px; margin: 0.6em 0; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; background: var(--brass-deep); transform: rotate(45deg); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal address { font-style: normal; color: var(--ink-soft); }
.legal .lead { margin-bottom: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding-top: clamp(64px, 8vw, 120px); }
.site-footer__cta { display: grid; gap: 28px; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line-dark-soft); }
@media (min-width: 900px) { .site-footer__cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.site-footer__cta .h2 { max-width: 15ch; }
.site-footer__cols { display: grid; gap: 36px; padding-block: clamp(40px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__cols h3 { margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.site-footer__cols li + li { margin-top: 8px; }
.site-footer__cols a { color: var(--on-dark-soft); transition: color 0.3s; }
.site-footer__cols a:hover { color: var(--on-dark); }
.site-footer__cols address { font-style: normal; color: var(--on-dark-soft); line-height: 1.7; }
.site-footer__about { display: grid; gap: 16px; align-content: start; }
.site-footer__about p { color: var(--on-dark-soft); font-size: var(--step--1); max-width: 34ch; }
.site-footer__word { display: block; margin: 0 auto -0.17em; font-family: var(--font-sans); font-weight: 800; font-stretch: 125%; font-size: clamp(5rem, 27vw, 26rem); line-height: 1; letter-spacing: 0.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(198, 166, 107, 0.3); user-select: none; pointer-events: none; }
.site-footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark-soft); font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-dark-soft); background: var(--navy-950); }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__bottom a:hover { color: var(--brass); }

/* Nach oben */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(7, 16, 29, 0.88); color: var(--on-dark); border: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0.4s, background-color 0.3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass); color: var(--navy-950); }
.to-top svg.ring { position: absolute; inset: -1px; width: 54px; height: 54px; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 160; stroke-dashoffset: 160; }
.to-top svg.arrow { width: 16px; height: 16px; }

/* Split-Text */
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- Unterseiten-Bausteine ---------- */
.intro-split .statement { max-width: 22ch; }
.steps-list { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line-light); }
.steps-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.steps-list li b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 0.9; color: var(--brass-deep); }
.steps-list h3 { font-size: var(--step-1); font-weight: 600; font-stretch: 104%; margin-bottom: 4px; }
.steps-list p { color: var(--ink-soft); font-size: var(--step--1); }
.mosaic { display: grid; gap: clamp(10px, 1.4vw, 18px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mosaic > :nth-child(1) { grid-column: span 6; }
.mosaic > :nth-child(2), .mosaic > :nth-child(3) { grid-column: span 3; }
@media (min-width: 800px) {
  .mosaic > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .mosaic > :nth-child(2), .mosaic > :nth-child(3) { grid-column: span 2; }
  .mosaic .frame { height: 100%; }
}
.values { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line-dark-soft); }
.value { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px) clamp(16px, 2vw, 28px) clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line-dark-soft); }
.value .mono { color: var(--brass); }
.value h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.value p { color: var(--on-dark-soft); font-size: var(--step--1); }
.big-404 { font-family: var(--font-display); font-size: clamp(7rem, 30vw, 22rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--brass); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .curtain { display: none; }
  .marquee__track { animation: none; }
  .hero__slide img { transform: none; }
}
