/* ==========================================================================
   STO Properties GmbH – Designsystem
   Farbwelt: Schwarz · Anthrazit · Graphit · Grau · Off-White · Champagne-Gold
   Typografie: Marcellus (Headlines) · Manrope (Text)
   Aufbau:
     01 Tokens         02 Basis          03 Typografie     04 Layout
     05 Buttons        06 Header/Nav     07 Mobile-Menü    08 Hero
     09 Medien         10 Inhalte        11 Prozess        12 Netzwerk
     13 Projekte       14 CTA            15 Footer         16 Formular
     17 DRINGEND       18 Motion         19 Responsive
   ========================================================================== */

/* 01 · TOKENS ------------------------------------------------------------ */
:root {
  /* Bestehende Farbwelt (unverändert übernommen) */
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --graphite: #2e2e2e;
  --stone: #5a5a5a;
  --silver: #9a9a9a;
  --fog: #d4d0cb;
  --cream: #f5f3ef;
  --white: #ffffff;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;

  /* Ableitungen innerhalb der Farbwelt */
  --gold-deep: #7a5c2a;          /* Gold-Text auf hellem Grund (AA) */
  --gold-metal: linear-gradient(180deg, #e6cf9c 0%, #c9a96e 52%, #b18c52 100%);
  --ink: #0d0d0f;
  --surface: #111113;
  --surface-2: #161618;
  --alert: #cc2200;
  --alert-deep: #a51b00;

  /* Semantische Rollen (dunkel = Standard) */
  --fg-strong: #ffffff;
  --fg: #ece8e1;
  --fg-muted: #a7a39c;
  --fg-subtle: #7d7a74;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --line-gold: rgba(201, 169, 110, .32);
  --accent-text: var(--gold);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));

  /* Typografie */
  --serif: 'Marcellus', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Maße */
  --container: 1240px;
  --container-wide: 1480px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 11vw, 168px);
  --radius: 8px;
  --radius-lg: 16px;
  --header-h: 92px;
  --header-h-s: 70px;

  /* Bewegung */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

/* 02 · BASIS ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  /* Einheitlich auf allen Systemen: dunkle Bedienelemente/Scrollbalken, keine Schriftvergrößerung,
     kein blauer Tipp-Blitz (Android), kein Seitensprung beim Öffnen von Menü/Dialog (Windows/Linux) */
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(201, 169, 110, .14);
  scrollbar-color: #4a453c var(--black);
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--header-h-s) + 16px);
  background: var(--black);
}
body {
  min-height: 100vh;
  background: var(--black);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: rgba(201, 169, 110, .35); 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;
}
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--gold); color: #141210; font-weight: 700;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }
html.is-locked { overflow: hidden; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 30px; height: 30px; }

/* 03 · TYPOGRAFIE -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--fg-strong); letter-spacing: .005em; }
.display {
  font-family: var(--serif);
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 1.0;
  letter-spacing: -.012em;
  color: var(--fg-strong);
}
.display--page { font-size: clamp(38px, 5.2vw, 78px); line-height: 1.04; }
.title {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.07;
  letter-spacing: -.006em;
}
.title--sm { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
.accent { color: var(--gold-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .85; }
.eyebrow--plain::before { display: none; }
.eyebrow .icon { width: 15px; height: 15px; stroke-width: 1.6; }
.lead {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.66;
  color: var(--fg-muted);
  max-width: 58ch;
}
.lead strong { color: var(--fg); font-weight: 600; }
.text-muted { color: var(--fg-muted); }
.statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.2;
  color: var(--fg-strong);
  max-width: 30ch;
}
.statement .soft { color: var(--fg-subtle); }
.statement .accent { color: var(--gold-light); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--fg-muted); max-width: 62ch; }
.prose strong { color: var(--fg); font-weight: 600; }

/* 04 · LAYOUT ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(900px + 2 * var(--gutter)); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .62); }
.section--flush-top { padding-top: 0; }
.section--ink { background: var(--ink); }
.section--surface { background: var(--surface); }
.section--rise { background: linear-gradient(180deg, var(--black) 0%, #111113 100%); }
.section--cream {
  background: var(--cream);
  color: #2a2824;
  --fg-strong: #141311;
  --fg: #2a2824;
  --fg-muted: #5b574f;
  --fg-subtle: #8a857b;
  --line: rgba(29, 27, 24, .12);
  --line-strong: rgba(29, 27, 24, .2);
  --line-gold: rgba(122, 92, 42, .35);
  --accent-text: var(--gold-deep);
  --card-bg: #ffffff;
}
.section--cream .accent { color: var(--gold-deep); }
.section--cream ::selection { background: rgba(201, 169, 110, .4); color: #141311; }
.hairline-top::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, .35), transparent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 28px 72px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .lead { justify-self: end; }
.section-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.section-head--stack .lead { justify-self: start; }
.section-head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; margin-inline: auto; max-width: 900px; }
.section-head--center .lead { justify-self: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .85; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.split--wide-media { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.split__body > * + * { margin-top: 24px; }
.split__body .title + .lead { margin-top: 28px; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 05 · BUTTONS ----------------------------------------------------------- */
.btn {
  --btn-h: 54px;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 1.6; transition: transform .45s var(--ease-out); }
.btn:hover .icon--arrow, .btn:focus-visible .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .12s; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.btn--primary {
  color: #16130e;
  background: var(--gold-metal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -1px 0 rgba(0, 0, 0, .18),
    0 1px 2px rgba(0, 0, 0, .45),
    0 10px 28px -12px rgba(201, 169, 110, .55);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--primary:hover, .btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(0, 0, 0, .18),
    0 3px 6px rgba(0, 0, 0, .4),
    0 22px 44px -16px rgba(201, 169, 110, .75),
    0 0 0 1px rgba(232, 213, 176, .35);
}
.btn--primary:hover::before, .btn--primary:focus-visible::before { transform: translateX(120%); }

.btn--secondary {
  color: var(--gold-light);
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(201, 169, 110, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  color: #fff;
  border-color: var(--gold);
  background: rgba(201, 169, 110, .1);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -18px rgba(201, 169, 110, .5);
}
.section--cream .btn--secondary { color: #1d1b18; border-color: rgba(122, 92, 42, .5); background: transparent; }
.section--cream .btn--secondary:hover { color: #141311; background: rgba(201, 169, 110, .16); border-color: var(--gold-deep); }

.btn--text {
  min-height: 44px; padding: 0; border-radius: 0; overflow: visible;
  color: var(--gold-light);
  letter-spacing: .16em;
}
.btn--text::after {
  content: ""; position: absolute; left: 0; right: 30px; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(.35); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.btn--text:hover::after, .btn--text:focus-visible::after { transform: scaleX(1); }
.section--cream .btn--text { color: var(--gold-deep); }

.btn--alert {
  color: #fff;
  background: linear-gradient(180deg, #d9300e 0%, var(--alert) 55%, var(--alert-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 30px -14px rgba(204, 34, 0, .7);
}
.btn--alert:hover, .btn--alert:focus-visible { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 18px 40px -16px rgba(204, 34, 0, .85); }
.btn--sm { --btn-h: 46px; padding: 0 22px; font-size: 12px; letter-spacing: .13em; }
.btn--block { width: 100%; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; left: calc(50% - 10px); top: calc(50% - 10px);
  border-radius: 50%; border: 2px solid rgba(20, 18, 14, .25); border-top-color: #16130e;
  animation: spin .8s linear infinite;
}
.btn--alert.is-loading::after { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 06 · HEADER / NAVIGATION ---------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, 0) 100%);
  transition: opacity .5s var(--ease);
}
.site-header__bar {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  max-width: calc(var(--container-wide) + 2 * var(--gutter));
  margin-inline: auto;
  transition: height .5s var(--ease-out);
}
.site-header__glass {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 11, .8);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(201, 169, 110, .18);
  box-shadow: 0 14px 40px -28px rgba(0, 0, 0, .95);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .site-header__glass { opacity: 1; }
.site-header.is-scrolled .site-header__bar { height: var(--header-h-s); }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__logo {
  width: auto; height: 62px;
  filter: drop-shadow(0 0 14px rgba(201, 169, 110, .22));
  transition: height .5s var(--ease-out), filter .4s var(--ease);
}
.site-header.is-scrolled .brand__logo { height: 48px; }
.brand:hover .brand__logo { filter: drop-shadow(0 0 20px rgba(201, 169, 110, .4)); }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.25; -webkit-user-select: none; user-select: none; }
.brand__name {
  font-family: var(--serif); font-size: 21px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #e9d9b8;
  background: linear-gradient(120deg, #e8d5a8, #c9a96e 60%, #e8d5a8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: letter-spacing .35s var(--ease-out);
}
.brand:hover .brand__name { letter-spacing: 3px; }
.brand__sub {
  margin-top: 3px;
  font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.primary-nav { margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 30px); }
.primary-nav__link {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: rgba(245, 243, 239, .74);
  transition: color .3s var(--ease);
}
.primary-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.primary-nav__link:hover { color: #fff; }
.primary-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav__link[aria-current="page"] { color: #fff; }
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  border: 1px solid rgba(201, 169, 110, .42);
  border-radius: 12px;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  background: rgba(10, 10, 10, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--gold-light); border-radius: 2px; transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.menu-toggle span:last-child { width: 14px; align-self: center; transform: translateX(3px); }
.menu-toggle:hover { border-color: var(--gold); background: rgba(201, 169, 110, .1); }
.menu-toggle:hover span:last-child { width: 20px; transform: none; }

/* 07 · MOBILE-MENÜ ------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background:
    radial-gradient(80% 50% at 100% 100%, rgba(201, 169, 110, .12), transparent 70%),
    #0b0b0c;
  color: var(--fg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[open] { display: flex; flex-direction: column; animation: menu-in .55s var(--ease-out) both; }
.mobile-menu.is-closing { animation: menu-out .32s var(--ease) both; }
.mobile-menu::backdrop { background: rgba(0, 0, 0, .6); }
@keyframes menu-in { from { opacity: 0; transform: translateX(8%); } to { opacity: 1; transform: none; } }
@keyframes menu-out { to { opacity: 0; transform: translateX(6%); } }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px; padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head .brand__logo { height: 48px; }
.menu-close {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  border: 1px solid rgba(201, 169, 110, .42);
  display: grid; place-items: center; color: var(--gold-light);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.menu-close:hover { background: rgba(201, 169, 110, .1); border-color: var(--gold); }
.mobile-menu__nav { padding: 18px var(--gutter) 8px; }
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu[open] .mobile-menu__list li { animation: item-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
@keyframes item-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mobile-menu__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  font-family: var(--serif); font-size: clamp(26px, 7vw, 38px); line-height: 1.15;
  color: #fff;
  transition: color .3s var(--ease), padding .4s var(--ease-out);
}
.mobile-menu__link small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.mobile-menu__link:hover { color: var(--gold-light); padding-left: 6px; }
.mobile-menu__link[aria-current="page"] { color: var(--gold-light); }
.mobile-menu__foot {
  margin-top: auto;
  padding: 28px var(--gutter) max(32px, env(safe-area-inset-bottom));
  display: grid; gap: 18px;
}
.mobile-menu__contact { display: grid; gap: 6px; font-size: 15px; color: var(--fg-muted); }
.mobile-menu__contact a { color: var(--fg); display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.mobile-menu__contact .icon { color: var(--gold); }

/* 08 · HERO -------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 clamp(64px, 11vh, 128px);
  background: var(--black);
}
.hero--page { min-height: clamp(580px, 86vh, 900px); min-height: clamp(580px, 86svh, 900px); }
.hero__media { position: absolute; inset: -7% 0; z-index: -3; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: var(--focus, 50% 50%); }
.js .hero__media img { animation: hero-zoom 2.8s var(--ease-out) both; }
.hero--page .hero__shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .66) 38%, rgba(10, 10, 10, .22) 72%, rgba(10, 10, 10, .12) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, .92) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.14); opacity: 0; } to { transform: scale(1.03); opacity: 1; } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 95% at 0% 100%, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .6) 42%, rgba(10, 10, 10, .12) 76%),
    linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 58%, rgba(10, 10, 10, .9) 100%);
}
.hero__lines, .grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --cols: 4;
  background-image: linear-gradient(90deg, rgba(201, 169, 110, .1) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / var(--cols)) 100%;
  background-position: var(--gutter) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.js .hero__lines { animation: lines-in 2.2s var(--ease-out) .3s both; }
@keyframes lines-in { from { opacity: 0; transform: scaleY(.6); } to { opacity: 1; transform: none; } }
.hero__content { position: relative; max-width: 1180px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { animation: line-up 1.2s var(--ease-out) both; animation-delay: calc(.25s + var(--l, 0) * .14s); }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead {
  margin-top: 30px; max-width: 44ch;
  font-size: clamp(18px, 1.75vw, 23px); line-height: 1.55; color: #efebe4;
}
.hero__text { margin-top: 18px; max-width: 62ch; font-size: 16px; line-height: 1.75; color: rgba(236, 232, 225, .72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .85; }
.js .hero .eyebrow, .js .hero__lead, .js .hero__text, .js .hero__actions {
  animation: fade-up 1.1s var(--ease-out) both;
}
.js .hero .eyebrow { animation-delay: .15s; }
.js .hero__lead { animation-delay: .55s; }
.js .hero__text { animation-delay: .68s; }
.js .hero__actions { animation-delay: .8s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(64px, 11vh, 128px);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  font-size: 10.5px; line-height: 1; letter-spacing: .3em; text-transform: uppercase; color: rgba(236, 232, 225, .7);
  pointer-events: none;
}
.scroll-cue__label { writing-mode: vertical-rl; white-space: nowrap; }
/* Goldene Linie: ruhige Grundlinie + wandernder Lichtpunkt */
.scroll-cue::after {
  content: ""; width: 1px; height: 84px;
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0), #fff4de 50%, rgba(255, 244, 222, 0)) 0 -36px / 100% 36px no-repeat,
    linear-gradient(180deg, rgba(201, 169, 110, .95), rgba(201, 169, 110, .3));
  animation: cue 2.6s var(--ease-soft) infinite;
}
@keyframes cue { from { background-position: 0 -36px, 0 0; } to { background-position: 0 84px, 0 0; } }

/* schwebende isometrische Linienfigur (Abschluss-CTA, nur Desktop) */
.geo {
  position: absolute; top: 50%; right: calc(var(--gutter) + 2vw); z-index: -1;
  width: clamp(180px, 16vw, 260px); margin-top: -120px; opacity: .42; pointer-events: none;
  color: var(--gold);
  animation: float 10s ease-in-out infinite;
}
.geo--left { right: auto; left: calc(var(--gutter) + 2vw); animation-delay: -5s; opacity: .26; width: clamp(120px, 11vw, 180px); margin-top: -40px; }
.geo path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.js .geo path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.is-active .geo path { animation: draw 3.2s var(--ease-out) forwards; }
.is-active .geo .d2 { animation-delay: .6s; }
.is-active .geo .d3 { animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }

.hero--compact {
  min-height: 0;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 96px)) 0 clamp(44px, 5vw, 72px);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(201, 169, 110, .13), transparent 70%),
    var(--black);
}

/* 09 · MEDIEN ------------------------------------------------------------ */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #141416;
  aspect-ratio: var(--ratio, 4 / 3);
}
.media > picture, .media > img, .media__inner, .media__inner > picture, .media__inner img {
  width: 100%; height: 100%;
}
.media img { object-fit: cover; object-position: var(--focus, 50% 50%); }
.media__inner { position: absolute; inset: -8% 0; width: auto !important; height: auto !important; will-change: transform; }
.media--tall { --ratio: 4 / 5; }
.media--wide { --ratio: 16 / 9; }
.media--band { --ratio: 21 / 9; border-radius: 0; }
/* Architektenplan (SVG) als Bildband: helles Planpapier, am Handy größerer Ausschnitt */
.media--plan { background: #fbfbf8; border-block: 1px solid rgba(20, 20, 20, .08); }
.media--plan .media__caption { padding: 5px 9px; border-radius: 4px; background: rgba(251, 251, 248, .92); color: rgba(22, 22, 22, .6); }
.media__caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
/* Rahmen-Tiefe (Layered Look) */
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: 0;
  border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
  transition: transform 1.2s var(--ease-out);
}
.frame > .media { position: relative; z-index: 1; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95); }
.frame--left::before { inset: 28px 28px -28px -28px; }
.frame.is-revealed::before { transform: translate(-6px, -6px); }
/* Platzhalter – klar als Platzhalter konzipiert */
.media--placeholder {
  display: grid; place-items: center; text-align: center;
  background-color: #141416;
  background-image:
    linear-gradient(rgba(201, 169, 110, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  border: 1px dashed rgba(201, 169, 110, .35);
}
.media--placeholder.is-light { background-color: #1c1b19; }
.placeholder__inner { display: grid; justify-items: center; gap: 14px; padding: 24px; color: var(--gold); }
.placeholder__inner svg { width: 64px; height: 64px; opacity: .7; }
.placeholder__label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(236, 232, 225, .7); }

/* 10 · INHALTS-KOMPONENTEN ---------------------------------------------- */
/* Zielgruppen-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tiles > li:first-child { grid-column: span 7; grid-row: span 2; }
.tiles > li:not(:first-child) { grid-column: span 5; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 320px;
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  background: #141416;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), border-color .5s var(--ease);
}
.tiles > li:first-child .tile { min-height: clamp(520px, 52vw, 680px); }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media picture, .tile__media img { width: 100%; height: 100%; }
.tile__media img { object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 1.4s var(--ease-out); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, .08) 10%, rgba(10, 10, 10, .55) 55%, rgba(10, 10, 10, .93) 100%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 169, 110, .16), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.tile:hover { border-color: rgba(201, 169, 110, .42); }
.tile:hover::after { opacity: 1; }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile__badge {
  position: absolute; top: clamp(20px, 2.4vw, 32px); left: clamp(20px, 2.4vw, 32px);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, .55); background: rgba(10, 10, 10, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
}
.tile__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.tile__title { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.1; }
.tile__text { margin-top: 14px; max-width: 46ch; font-size: 15.5px; color: rgba(236, 232, 225, .78); }
.tile__link {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
}
.tile__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile__link .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.tile:hover .tile__link .icon { transform: translateX(5px); }

/* Nummerierte Leistungsliste */
.service-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.service-item { position: relative; padding: 34px 0 8px; }
.service-item::before, .service-item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.service-item::before { background: var(--line-strong); }
.service-item::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.service-item.is-revealed::after { transform: scaleX(.2); }
.service-item:hover::after { transform: scaleX(1); }
.service-item__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; color: var(--accent-text); }
.service-item__num { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; }
.service-item__title { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.service-item__text { font-size: 15.5px; color: var(--fg-muted); }

/* Leistungs-Karten (3D) */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; height: 100%;
  padding: 34px 30px 36px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out), border-color .45s var(--ease), box-shadow .6s var(--ease-out);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 169, 110, .15), transparent 62%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.card:hover { border-color: rgba(201, 169, 110, .38); box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .95); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 54px; height: 54px; margin-bottom: 30px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 110, .32);
  background: linear-gradient(160deg, rgba(201, 169, 110, .14), rgba(201, 169, 110, .02));
  color: var(--gold);
  transform: translateZ(34px);
}
.card__title { font-size: 22px; line-height: 1.22; margin-bottom: 12px; transform: translateZ(22px); }
.card__text { font-size: 15px; color: var(--fg-muted); line-height: 1.68; transform: translateZ(12px); }
.section--cream .card { box-shadow: 0 30px 60px -48px rgba(29, 27, 24, .45); }
.section--cream .card:hover { border-color: rgba(122, 92, 42, .4); box-shadow: 0 40px 70px -44px rgba(29, 27, 24, .5); }
.section--cream .card__icon { color: var(--gold-deep); border-color: rgba(122, 92, 42, .3); background: rgba(201, 169, 110, .12); }

/* Zielgruppen-Zeile (typografisch) */
.audience {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0;
  font-family: var(--serif); font-size: clamp(24px, 3vw, 42px); line-height: 1.3; color: var(--fg-strong);
}
.audience li:not(:last-child)::after { content: "·"; margin: 0 .45em; color: var(--accent-text); }

/* Vertrauen / In guten Händen */
.trust { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.trust__list { margin-top: 44px; }
.trust-item {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.trust-item__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold); color: var(--accent-text);
}
.trust-item__title { font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.trust-item__text { font-size: 15.5px; color: var(--fg-muted); }
.seal {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 22px; align-items: start;
  margin-top: 16px; padding: 30px 30px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 110, .45);
  background: linear-gradient(140deg, rgba(201, 169, 110, .13), rgba(201, 169, 110, .02) 58%);
}
.seal::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(232, 213, 176, .14) 50%, transparent 60%);
  background-size: 260% 100%;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.seal__icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light);
  border: 1px solid rgba(201, 169, 110, .6);
  box-shadow: 0 0 0 6px rgba(201, 169, 110, .06), 0 0 30px rgba(201, 169, 110, .18);
}
.seal__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.seal__title { margin-top: 8px; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; }
.seal__text { margin-top: 10px; font-size: 15px; color: var(--fg-muted); }
.section--cream .seal { background: linear-gradient(140deg, rgba(201, 169, 110, .2), rgba(255, 255, 255, .6) 60%); border-color: rgba(122, 92, 42, .4); }
.section--cream .seal__icon { color: var(--gold-deep); border-color: rgba(122, 92, 42, .45); }
.section--cream .seal__eyebrow { color: var(--gold-deep); }

/* Kennzeichnende Rahmen-Fakten */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: 18px; padding: 30px 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon { color: var(--accent-text); width: 28px; height: 28px; }
.fact__text { font-size: 15.5px; line-height: 1.5; color: var(--fg); }
.fact__text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--fg-strong); margin-bottom: 2px; }

/* Panels (Hausverwaltungen) */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel {
  position: relative; height: 100%;
  padding: clamp(30px, 3.6vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), border-color .45s var(--ease), box-shadow .6s var(--ease-out);
}
.section--cream .panel { box-shadow: 0 34px 70px -52px rgba(29, 27, 24, .5); }
.panel:hover { border-color: var(--line-gold); }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--accent-text); }
.panel__num { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; }
.panel__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.panel__text { color: var(--fg-muted); font-size: 15.5px; max-width: 48ch; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .82em; width: 12px; height: 1px; background: var(--accent-text); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

/* Hinweis-Box (Gewerbe) */
.note {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-gold);
  background: rgba(201, 169, 110, .05);
}
.note .icon { color: var(--accent-text); width: 28px; height: 28px; margin-top: 2px; }
.note p { font-size: 15.5px; color: var(--fg-muted); }
.note strong { color: var(--fg-strong); font-weight: 600; }

/* Gegenüberstellung STO / Partnerbetriebe */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo__card {
  position: relative; height: 100%;
  padding: clamp(30px, 3.6vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.duo__card--sto {
  border-color: rgba(201, 169, 110, .5);
  background: linear-gradient(155deg, rgba(201, 169, 110, .14), rgba(201, 169, 110, .015) 58%), var(--surface-2);
  box-shadow: 0 50px 90px -60px rgba(201, 169, 110, .45);
}
.duo__tag { display: inline-block; margin-bottom: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.duo__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.duo__text { margin-top: 14px; color: var(--fg-muted); font-size: 15.5px; }

/* Werte (Über uns) */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); }
.value { padding: 32px 0 40px; border-top: 1px solid var(--line-strong); }
.value__num { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: var(--accent-text); margin-bottom: 20px; }
.value__title { font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
.value__text { color: var(--fg-muted); font-size: 15.5px; }

/* Ansprechpartner-Karte */
.person {
  position: relative; overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 110, .45);
  background: linear-gradient(160deg, rgba(201, 169, 110, .12), rgba(201, 169, 110, .01) 60%), var(--surface-2);
}
.person__role { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.person__name { margin-top: 14px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
.person__text { margin-top: 16px; color: var(--fg-muted); font-size: 15.5px; }
.person__links { margin-top: 28px; display: grid; gap: 4px; }
.person__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--fg); transition: color .3s var(--ease); }
.person__links a:hover { color: var(--gold-light); }
.person__links .icon { color: var(--gold); }

/* Region */
.region {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0;
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 84px); line-height: 1.08; color: var(--fg-strong);
}
.region span:not(:last-child)::after { content: "·"; margin: 0 .32em; color: var(--accent-text); }

/* 11 · PROZESS ----------------------------------------------------------- */
.flow { position: relative; --steps: 4; --node: 68px; }
.flow__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
.flow__step { padding: 0 clamp(10px, 1.6vw, 24px); text-align: center; }
.flow__track {
  position: absolute; z-index: 0; top: calc(var(--node) / 2); height: 1px;
  left: calc(100% / var(--steps) / 2); right: calc(100% / var(--steps) / 2);
  background: var(--line-strong); overflow: hidden;
}
.flow__track::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(201, 169, 110, .35), var(--gold) 50%, rgba(201, 169, 110, .35));
  transform: scaleX(0); transform-origin: left;
  transition: transform 2.2s var(--ease-out) .2s;
}
.flow__beam {
  position: absolute; z-index: 1; top: -1px; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent 0%, transparent 72%, rgba(255, 240, 210, .95) 96%, transparent 100%);
  transform: translateX(-100%);
  opacity: 0;
}
.flow.is-active .flow__track::after { transform: scaleX(1); }
.flow.is-active .flow__beam { opacity: 1; animation: beam-x 4.2s var(--ease-soft) 2.4s infinite; }
@keyframes beam-x { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes beam-y { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.flow__node {
  position: relative;
  width: var(--node); height: var(--node); margin: 0 auto 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--fg-subtle);
  transition: border-color .7s var(--ease), color .7s var(--ease), box-shadow .7s var(--ease), background-color .7s var(--ease);
  transition-delay: calc(var(--i, 0) * .45s + .35s);
}
.section--cream .flow__node { background: var(--cream); }
.section--surface .flow__node { background: var(--surface); }
.flow__node .icon { width: 26px; height: 26px; }
.flow__num { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; }
.flow.is-active .flow__node {
  border-color: rgba(201, 169, 110, .75);
  color: var(--gold-light);
  box-shadow: 0 0 0 7px rgba(201, 169, 110, .06), 0 0 34px rgba(201, 169, 110, .28);
}
.section--cream .flow.is-active .flow__node { color: var(--gold-deep); border-color: rgba(122, 92, 42, .6); box-shadow: 0 0 0 7px rgba(201, 169, 110, .12); }
.flow__label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); }
.flow__title { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.2; margin-bottom: 10px; }
.flow__text { font-size: 15px; color: var(--fg-muted); max-width: 30ch; margin-inline: auto; }

/* Vertikale Timeline (Generalunternehmer) */
.timeline { position: relative; --node: 58px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: calc(var(--node) / 2); top: calc(var(--node) / 2); bottom: calc(var(--node) / 2 + 40px); width: 1px;
}
.timeline::before { background: var(--line-strong); }
.timeline::after {
  background: linear-gradient(180deg, var(--gold), rgba(201, 169, 110, .3));
  transform: scaleY(0); transform-origin: top;
  transition: transform 2.6s var(--ease-out) .2s;
}
.timeline.is-active::after { transform: scaleY(1); }
.timeline__item { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 28px; padding-bottom: 44px; }
.timeline__node {
  position: relative; z-index: 1;
  width: var(--node); height: var(--node);
  display: grid; place-items: center;
  border-radius: 50%; background: var(--ink);
  border: 1px solid var(--line-strong); color: var(--fg-subtle);
  transition: border-color .7s var(--ease), color .7s var(--ease), box-shadow .7s var(--ease);
  transition-delay: calc(var(--i, 0) * .45s + .3s);
}
.timeline.is-active .timeline__node { border-color: rgba(201, 169, 110, .75); color: var(--gold-light); box-shadow: 0 0 0 6px rgba(201, 169, 110, .06), 0 0 30px rgba(201, 169, 110, .25); }
.timeline__label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.timeline__title { margin-top: 6px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.timeline__text { margin-top: 8px; color: var(--fg-muted); font-size: 15.5px; max-width: 54ch; }
.sticky-col { position: sticky; top: calc(var(--header-h-s) + 48px); align-self: start; }

/* 12 · NETZWERK (Generalunternehmer) ------------------------------------ */
.network-stage { perspective: 1800px; }
.network {
  position: relative;
  aspect-ratio: 16 / 11;
  max-width: 1100px; margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 1s var(--ease-out);
}
.network__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(0); }
.network__ring { fill: none; stroke: rgba(201, 169, 110, .16); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; }
.network__ring--outer { animation: ring-dash 60s linear infinite; }
.network__ring--inner { stroke: rgba(201, 169, 110, .22); animation: ring-dash 40s linear infinite reverse; }
@keyframes ring-dash { to { stroke-dashoffset: -400; } }
.network__line, .network__flow { fill: none; vector-effect: non-scaling-stroke; }
.network__line { stroke: rgba(201, 169, 110, .22); stroke-width: 1; opacity: 0; transition: opacity 1s var(--ease), stroke .4s var(--ease); }
.network__flow { stroke: rgba(232, 213, 176, .75); stroke-width: 1.2; stroke-dasharray: 3 14; opacity: 0; transition: opacity 1s var(--ease); }
.network.is-active .network__line { opacity: 1; transition-delay: calc(var(--i, 0) * 90ms + .3s); }
.network.is-active .network__flow { opacity: .8; animation: flow-dash 1.6s linear infinite; transition-delay: calc(var(--i, 0) * 90ms + 1s); }
.network__line.is-hot { stroke: rgba(232, 213, 176, .8); }
@keyframes flow-dash { to { stroke-dashoffset: -34; } }
.network__project {
  position: absolute; left: 50%; top: 2%;
  transform: translate(-50%, 0) translateZ(40px);
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(10, 10, 10, .85);
  font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--fg);
  white-space: nowrap;
}
.network__core {
  position: absolute; left: 50%; top: 54%;
  width: clamp(150px, 19vw, 214px); aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(70px);
  display: grid; place-content: center; gap: 8px; text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #231f18 0%, #0f0f11 72%);
  border: 1px solid rgba(201, 169, 110, .6);
  box-shadow: 0 0 0 12px rgba(201, 169, 110, .045), 0 0 70px rgba(201, 169, 110, .26), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.network__core::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .5);
  animation: core-pulse 3.6s var(--ease-soft) infinite;
}
@keyframes core-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.4); opacity: 0; } }
.network__core-label { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); line-height: 1.15; }
.network__core-sub { padding-inline: 16px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); line-height: 1.4; }
.network__node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%) translateZ(34px);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 20px 9px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 17, 19, .92);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .95);
  font-size: 14.5px; font-weight: 600; color: var(--fg-strong); white-space: nowrap;
  opacity: 0;
  transition: opacity .8s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + .5s), 0s, 0s;
}
.network.is-active .network__node { opacity: 1; }
.network__node:hover, .network__node.is-hot { border-color: rgba(201, 169, 110, .7); background: rgba(28, 25, 20, .95); }
.network__node-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold); color: var(--gold);
  background: rgba(201, 169, 110, .06);
}
.network__node-icon .icon { width: 20px; height: 20px; }
.network__node--more { font-weight: 500; color: var(--fg-muted); }
.network-legend { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 14px; color: var(--fg-muted); text-align: center; }
.network-legend span { display: inline-flex; align-items: center; gap: 10px; }
.network-legend i { width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.network-legend i.dash { background: repeating-linear-gradient(90deg, var(--gold-light) 0 3px, transparent 3px 8px); }

/* 13 · PROJEKTE ---------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card {
  position: relative;
  height: 100%; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), border-color .45s var(--ease);
}
.project-card:hover { border-color: var(--line-gold); }
.project-card .media { border-radius: 0; --ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.project-card .media img { transition: transform 1.4s var(--ease-out); }
.project-card:hover .media img { transform: scale(1.04); }
.project-card .media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, .6));
}
.project-card__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 30px; }
.project-card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.project-card__title { font-size: 23px; line-height: 1.2; }
.project-card__text { font-size: 15.5px; color: var(--fg-muted); }
.project-card__link {
  margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
}
.project-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.project-card__link .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.project-card:hover .project-card__link .icon { transform: translateX(5px); }
.project-card:has(.project-card__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Vorher / Nachher */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer .media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; border: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .media--placeholder { justify-items: start; padding-left: 8%; }
.ba__after .media--placeholder { justify-items: end; padding-right: 8%; }
.ba__tag {
  position: absolute; top: 18px; z-index: 3;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(10, 10, 10, .72); border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.ba__tag--before { left: 18px; }
.ba__tag--after { right: 18px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--gold-light); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-metal); color: #16130e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid #fff; outline-offset: 4px; }

/* 14 · ABSCHLUSS-CTA ----------------------------------------------------- */
.cta-final {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(112px, 14vw, 208px);
  text-align: center;
  background: #0b0b0c;
  border-top: 1px solid rgba(201, 169, 110, .14);
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 70% at 50% 110%, rgba(201, 169, 110, .22), transparent 70%);
}
.cta-final .grid-lines { --cols: 6; }
.cta-final__title { font-size: clamp(34px, 4.8vw, 72px); line-height: 1.08; max-width: 18ch; margin-inline: auto; }
.cta-final__lead { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--gold-light); }
.cta-final__actions { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.emergency-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 13px; letter-spacing: .06em; color: var(--fg-muted);
  transition: color .3s var(--ease);
}
.emergency-link strong { color: #fff; font-weight: 700; letter-spacing: .2em; }
.emergency-link:hover { color: var(--fg); }
.emergency-link .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3d1a; box-shadow: 0 0 0 4px rgba(204, 34, 0, .22); }

/* 15 · FOOTER ------------------------------------------------------------ */
.site-footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 120px);
  background: #080809;
  border-top: 1px solid rgba(201, 169, 110, .2);
  color: var(--fg-muted);
  font-size: 15px;
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 64px); padding-bottom: 64px; }
.footer-brand .brand__logo { height: 84px; }
.footer-brand__text { margin-top: 24px; max-width: 38ch; font-size: 14.5px; line-height: 1.8; }
.footer-heading { margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.footer-list { display: grid; gap: 6px; }
.footer-list a, .footer-list span { display: inline-flex; min-height: 32px; align-items: center; color: #cfcbc4; transition: color .3s var(--ease); }
.footer-list a:hover { color: var(--gold-light); }
.footer-list .muted { color: var(--fg-subtle); font-size: 13.5px; }
.has-emergency .footer-bottom { padding-bottom: 88px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-legal a { display: inline-flex; min-height: 36px; align-items: center; font-size: 13px; letter-spacing: .03em; color: rgba(255, 255, 255, .55); transition: color .3s var(--ease); }
.footer-legal a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 22px 0 max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12.5px; color: rgba(255, 255, 255, .4);
}

/* 16 · FORMULAR ---------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info { position: sticky; top: calc(var(--header-h-s) + 40px); }
.contact-info__company { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); color: var(--fg-strong); }
.contact-lines { margin-top: 32px; display: grid; }
.contact-line { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold); }
.contact-line__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-subtle); }
.contact-line__value { display: block; margin-top: 2px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-strong); overflow-wrap: anywhere; }
a.contact-line__value { transition: color .3s var(--ease); }
a.contact-line__value:hover { color: var(--gold-light); }
.contact-line__value--big { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); }

.inquiry-card {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border-radius: 20px;
  background: linear-gradient(180deg, #161618 0%, #111113 100%);
  border: 1px solid rgba(201, 169, 110, .24);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.inquiry-card::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 213, 176, .8), transparent);
}
.inquiry-card__title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; }
.inquiry-card__intro { margin-top: 12px; color: var(--fg-muted); font-size: 15.5px; }
.form-step { margin-top: 34px; padding: 0; border: 0; min-width: 0; }
.form-step__q {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px; padding: 0;
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; color: var(--fg-strong);
}
.form-step__q span { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.form-step__q em { font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field + .field { margin-top: 14px; }
.field-row .field + .field { margin-top: 0; }
.field__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.field__label .opt { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--fg-subtle); }
.input, .select, .textarea {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  font-size: 16px; line-height: 1.5;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, .32); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, .24); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, .16);
}
.select {
  padding-right: 52px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
.select option { background: #161618; color: #fff; }
.input:-webkit-autofill, .textarea:-webkit-autofill, .select:-webkit-autofill {
  -webkit-text-fill-color: #fff; caret-color: #fff;
  box-shadow: 0 0 0 1000px #19191b inset;
  transition: background-color 99999s linear 0s, border-color .25s var(--ease);
}
.input:-webkit-autofill:focus, .textarea:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #1b1b1d inset, 0 0 0 4px rgba(201, 169, 110, .16); }
.input:autofill, .textarea:autofill, .select:autofill { filter: none; }
.select:invalid, .select.is-empty { color: rgba(255, 255, 255, .45); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #e0765f; box-shadow: 0 0 0 4px rgba(224, 118, 95, .14); }
.field__error { display: none; font-size: 13.5px; color: #f09a86; }
.field__error.is-visible { display: block; }
.field__hint { font-size: 13px; color: var(--fg-subtle); }

/* Foto-Upload */
.dropzone {
  position: relative;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(201, 169, 110, .45);
  background: rgba(201, 169, 110, .035);
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--gold); background: rgba(201, 169, 110, .08); }
.dropzone:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 110, .16); }
.dropzone__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold); }
.dropzone__title { display: block; font-weight: 600; color: var(--fg-strong); font-size: 15.5px; }
.dropzone__hint { display: block; font-size: 13px; color: var(--fg-subtle); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 10, 10, .8); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
}
.thumb button .icon { width: 14px; height: 14px; stroke-width: 2; }
.thumb.is-processing::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23e8d5b0' stroke-width='2'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.6'/%3E%3C/svg%3E") center no-repeat; }

/* Einwilligungen */
.consents { margin-top: 30px; padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(201, 169, 110, .22); background: rgba(255, 255, 255, .02); display: grid; gap: 12px; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; font-size: 13.5px; line-height: 1.55; color: #cfcbc4; }
.consent input {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin: 0; border-radius: 6px;
  border: 1.5px solid rgba(201, 169, 110, .6); background: rgba(0, 0, 0, .3);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.consent input::after { content: ""; width: 11px; height: 6px; border: 2px solid #16130e; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-out); }
.consent input:checked { background: var(--gold-metal); border-color: var(--gold); }
.consent input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent input[aria-invalid="true"] { border-color: #e0765f; box-shadow: 0 0 0 3px rgba(224, 118, 95, .2); }
.consent a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.consents__links { padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-subtle); }
.consents__links a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 28px; display: grid; gap: 14px; }
.form-note { font-size: 13px; color: var(--fg-subtle); text-align: center; }
.form-alert {
  display: none; margin-top: 22px;
  padding: 18px 20px; border-radius: 12px;
  font-size: 15px; line-height: 1.6;
}
.form-alert.is-visible { display: block; animation: fade-up .5s var(--ease-out) both; }
.form-alert--error { border: 1px solid rgba(224, 118, 95, .5); background: rgba(224, 118, 95, .08); color: #f5c5b9; }
.form-alert--error a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: none; text-align: center; padding: clamp(24px, 5vw, 56px) 0; }
.form-success.is-visible { display: block; animation: fade-up .7s var(--ease-out) both; }
.form-success__icon {
  width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%;
  display: grid; place-items: center; color: #16130e;
  background: var(--gold-metal);
  box-shadow: 0 0 0 10px rgba(201, 169, 110, .08), 0 20px 50px -18px rgba(201, 169, 110, .7);
}
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2; }
.form-success__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.form-success__text { margin: 16px auto 0; max-width: 46ch; color: var(--fg-muted); }
.form-success .btn { margin-top: 30px; }
.is-sent .form-body { display: none; }

/* 17 · DRINGEND ---------------------------------------------------------- */
.emergency-fab {
  position: fixed; z-index: 90;
  right: max(18px, calc(env(safe-area-inset-right) + 14px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d42c0b 0%, var(--alert) 55%, var(--alert-deep) 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 30px -12px rgba(204, 34, 0, .7), 0 2px 8px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.emergency-fab:hover, .emergency-fab:focus-visible { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 18px 40px -14px rgba(204, 34, 0, .85), 0 2px 8px rgba(0,0,0,.4); }
.emergency-fab__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.emergency-fab__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  animation: soft-pulse 3.4s var(--ease-soft) infinite;
}
@keyframes soft-pulse { 0% { transform: scale(1); opacity: .7; } 45%, 100% { transform: scale(2.8); opacity: 0; } }

.dialog {
  width: min(580px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  margin: auto; padding: 0;
  border: 1px solid rgba(204, 34, 0, .45);
  border-radius: 20px;
  background: #111113; color: var(--fg);
  box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .95);
  overflow: auto; overscroll-behavior: contain;
}
.dialog[open] { animation: dialog-in .45s var(--ease-out) both; }
.dialog.is-closing { animation: dialog-out .25s var(--ease) both; }
.dialog::backdrop { background: rgba(5, 5, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(10px) scale(.985); } }
.dialog__head { position: relative; padding: 30px 28px 22px; border-bottom: 1px solid var(--line); }
.dialog__head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--alert-deep), #ff4a24, var(--alert-deep)); }
.dialog__badge { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #ff7a5c; }
.dialog__badge .emergency-fab__dot { background: #ff3d1a; }
.dialog__badge .emergency-fab__dot::after { background: rgba(255, 61, 26, .5); }
.dialog__title { margin-top: 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; padding-right: 44px; }
.dialog__intro { margin-top: 12px; font-size: 14.5px; color: var(--fg-muted); line-height: 1.65; }
.dialog__close {
  position: absolute; top: 20px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--fg);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.dialog__close:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); }
.dialog__body { padding: 24px 28px 30px; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 14.5px; font-weight: 700; color: #fff;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .35s var(--ease-out);
}
.quick__btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.quick__btn--call { border-color: rgba(204, 34, 0, .6); background: rgba(204, 34, 0, .12); }
.quick__btn--call:hover { background: rgba(204, 34, 0, .2); border-color: #e0401f; }
.quick__btn .icon { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-subtle); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field-row + .field, .field + .field-row { margin-top: 14px; }
.dialog .input, .dialog .textarea { min-height: 52px; padding: 13px 16px; }
.dialog .textarea { min-height: 110px; }
.dialog .input:focus, .dialog .textarea:focus { border-color: #e0401f; box-shadow: 0 0 0 4px rgba(204, 34, 0, .16); }
.dialog .consents { margin-top: 20px; border-color: rgba(255, 255, 255, .12); }
.dialog .dropzone { border-color: rgba(224, 118, 95, .5); background: rgba(204, 34, 0, .05); }
.dialog .dropzone__icon { color: #ff9b85; border-color: rgba(224, 118, 95, .5); }
.dialog .form-success__icon { background: linear-gradient(180deg, #e8d5b0, #c9a96e); }
.dialog__foot { margin-top: 18px; font-size: 13px; color: var(--fg-subtle); text-align: center; }
.dialog__foot a { color: var(--fg); }

/* 18 · MOTION ------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.955); }
.js [data-reveal="mask"] {
  opacity: 1; transform: none;
  clip-path: inset(10% 10% 10% 10% round var(--radius-lg));
  transition: clip-path 1.5s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-revealed { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* Browser ohne seitenübergreifende View Transitions (z. B. Firefox): gleiche Einblendung beim Seitenaufbau */
.no-vt body { animation: page-in .55s var(--ease-out) backwards; }
.no-vt main { animation: page-rise .55s var(--ease-out) backwards; }
@keyframes page-in { from { opacity: 0; } }
@keyframes page-rise { from { transform: translateY(14px); } }

/* Animationen laufen auf allen Systemen identisch – auch wenn im Betriebssystem „Bewegung reduzieren“
   (macOS/iOS), „Animationseffekte“ aus (Windows) oder „Animationen entfernen“ (Android) aktiv ist.
   Bewusste Entscheidung des Auftraggebers (27.09.2026). */
html { scroll-behavior: smooth; }

/* 19 · RESPONSIVE -------------------------------------------------------- */
@media (min-width: 1180px) and (max-width: 1379px) {
  .site-header .site-header__bar .brand__wordmark { display: none; }
}
@media (max-width: 1179px) {
  :root { --header-h: 80px; --header-h-s: 66px; }
  .primary-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__logo { height: 54px; }
  .site-header.is-scrolled .brand__logo { height: 44px; }
  .brand__name { font-size: 18px; }
  .geo { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .service-item { padding-bottom: 36px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .lead { justify-self: start; }
  .split, .split--wide-media, .trust, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-info, .sticky-col { position: static; }
  .tiles > li:first-child, .tiles > li:not(:first-child) { grid-column: 1 / -1; grid-row: auto; }
  .tiles > li:first-child .tile { min-height: 520px; }
  .tiles > li:not(:first-child) .tile { min-height: 360px; }
  .projects, .values, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .frame::before { inset: 18px -14px -18px 14px; }
  .frame--left::before { inset: 18px 14px -18px -14px; }
}
@media (max-width: 859px) {
  .panels, .duo { grid-template-columns: minmax(0, 1fr); }
  /* Prozess vertikal */
  .flow { --node: 60px; }
  .flow__list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .flow__step { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 20px; padding: 0; text-align: left; }
  .flow__node { margin: 0; }
  .flow__text { margin-inline: 0; max-width: none; }
  .flow__track { top: calc(var(--node) / 2); bottom: calc(var(--node) / 2); left: calc(var(--node) / 2); right: auto; width: 1px; height: auto; }
  .flow__track::after { transform: scaleY(0); transform-origin: top; }
  .flow.is-active .flow__track::after { transform: scaleY(1); }
  .flow__beam { width: 3px; height: 100%; left: -1px; top: 0; background: linear-gradient(180deg, transparent 0%, transparent 72%, rgba(255, 240, 210, .95) 96%, transparent 100%); transform: translateY(-100%); }
  .flow.is-active .flow__beam { animation-name: beam-y; }
  /* Netzwerk gestapelt */
  .network { aspect-ratio: auto; transform: none !important; display: flex; flex-direction: column; align-items: center; }
  .network__lines { display: none; }
  .network__project, .network__core, .network__node { position: relative; left: auto; top: auto; transform: none; }
  .network__project { margin-bottom: 30px; }
  .network__project::after, .network__core::after {
    content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 30px;
    background: linear-gradient(180deg, var(--gold), rgba(201, 169, 110, .2));
  }
  .network__core { width: 190px; margin-bottom: 30px; }
  .network__nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .network__node { justify-content: flex-start; white-space: normal; font-size: 14px; padding: 8px 14px 8px 8px; }
  .ticks--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  :root { --header-h: 72px; --header-h-s: 62px; }
  body { font-size: 15.5px; }
  .brand__logo { height: 48px; }
  .site-header.is-scrolled .brand__logo { height: 42px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 16px; letter-spacing: 2px; }
  .brand__sub { font-size: 8.5px; letter-spacing: 2.2px; }
  .hero { padding-bottom: 56px; }
  .has-emergency .hero { padding-bottom: 96px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .18em; gap: 10px; }
  .hero .eyebrow::before { width: 22px; }
  .hero .eyebrow::after { display: none; } /* zweizeilige Zeile am Handy: Endlinie würde am Rand kleben */
  .hero__lead { margin-top: 20px; font-size: 16px; }
  .hero__text { font-size: 14.5px; line-height: 1.7; }
  .hero__actions { margin-top: 30px; }
  .hero__actions .btn, .stack-actions .btn { width: 100%; }
  .hero__lines { --cols: 2; }
  .service-list, .cards, .cards--3, .projects, .values { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row .field + .field { margin-top: 14px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-legal { gap: 0 20px; }
  .ba { aspect-ratio: 4 / 3; }
  .media--plan { --ratio: 4 / 3; }
  .quick { grid-template-columns: minmax(0, 1fr); }
  .dialog__head { padding: 26px 20px 18px; }
  .dialog__body { padding: 20px 20px 26px; }
  .inquiry-card { border-radius: 16px; }
  .seal { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px 22px; }
  .note { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .trust-item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .trust-item__icon { width: 44px; height: 44px; }
  .cta-final__actions .btn { width: 100%; max-width: 420px; }
}
/* Mobile Typografie – kompakter als am Desktop (Eingabefelder bleiben 16 px: kein Auto-Zoom unter iOS) */
@media (max-width: 719px) {
  .display { font-size: 36px; line-height: 1.04; }
  .display--page { font-size: 31px; line-height: 1.08; }
  .title { font-size: 28px; line-height: 1.12; }
  .title--sm { font-size: 24px; }
  .statement { font-size: 23px; line-height: 1.28; }
  .lead { font-size: 16px; line-height: 1.62; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; letter-spacing: .22em; }
  .region { font-size: 28px; }
  .cta-final__title { font-size: 28px; }
  .cta-final__lead { margin-top: 16px; font-size: 17px; }
  .tile__title, .panel__title, .duo__title { font-size: 22px; }
  .service-item__title, .value__title, .project-card__title { font-size: 21px; }
  .card__title, .timeline__title { font-size: 20px; }
  .trust-item__title, .seal__title, .flow__title { font-size: 19px; }
  .person__name, .inquiry-card__title, .dialog__title { font-size: 24px; }
  .form-success__title { font-size: 23px; }
  .form-step__q { font-size: 18px; }
  .contact-info__company { font-size: 22px; }
  .contact-line__value { font-size: 16px; }
  .contact-line__value--big { font-size: 21px; }
  .mobile-menu__link { padding: 14px 0; font-size: 24px; }
  .tile__text, .service-item__text, .trust-item__text, .panel__text, .ticks li, .note p, .duo__text,
  .value__text, .person__text, .timeline__text, .project-card__text, .inquiry-card__intro, .fact__text { font-size: 15px; }
}
@media (max-width: 479px) {
  .page-home .hero .eyebrow { display: none; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .network__nodes { grid-template-columns: minmax(0, 1fr); }
  .emergency-fab { height: 42px; padding: 0 15px 0 14px; font-size: 11px; }
}
@media (hover: none) {
  .tile, .card, .panel, .project-card { transform: none !important; }
}

/* Windows-Kontrastdesigns (erzwungene Farben): Bedienelemente bleiben klar umrandet */
@media (forced-colors: active) {
  .btn, .emergency-fab, .menu-toggle, .quick__btn { border: 1px solid ButtonText; }
  .hero__lines, .grid-lines, .hero__shade, .scroll-cue::after { display: none; }
  .consent input:checked { background: Highlight; }
}

/* 20 · DRUCK ------------------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .emergency-fab, .scroll-cue, .skip-link, .dialog,
  .hero__lines, .grid-lines, .geo, .flow__beam, .network__flow { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__media, .media__inner { transform: none !important; }
  .hero { min-height: 0 !important; }
}
