/* ==========================================================================
   BATA GROUP – Design-System 2026
   Praezise Grundlinie: Schwarz-Grau / Papier / Messing #8A6A2A
   Glass-Akzente nur an Navigation und Karten. Bewegung mit Mass.
   ========================================================================== */

/* ---------- Schriften (self-hosted, DSGVO) ---------- */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/archivo-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/archivo-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/archivo-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/dm-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/dm-mono-latin-500-normal.woff2') format('woff2');
}

/* ---------- Variablen ---------- */
:root {
  --ink:          #1c1e21;
  --ink-soft:     #45484d;
  --ink-faint:    #6f7378;
  --dunkel:       #16181b;
  --dunkel-2:     #1e2125;
  --papier:       #f4f1ea;
  --papier-2:     #ece8de;
  --weiss:        #ffffff;
  --messing:      #8A6A2A;
  --messing-hell: #b08d45;
  --messing-zart: rgba(138,106,42,.14);
  --pruefrot:     #b03a2e;
  --linie:        rgba(28,30,33,.12);
  --linie-hell:   rgba(255,255,255,.14);

  --font-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', monospace;

  --radius: 14px;
  --radius-s: 8px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);

  --dauer: .65s;
  --kurve: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--messing);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 34px; height: 1px; background: var(--messing);
  flex: none;
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin: 18px 0 16px;
}
.section-head p { color: var(--ink-soft); font-size: 18px; }

section { padding-block: clamp(72px, 10vw, 130px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15.5px/1 var(--font-sans);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--kurve), box-shadow .35s var(--kurve), background .35s, border-color .35s, color .35s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--kurve); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold {
  background: var(--messing); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(138,106,42,.55);
}
.btn-gold:hover { background: var(--messing-hell); transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(138,106,42,.6); }
.btn-ghost-hell { border-color: var(--linie-hell); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost-hell:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-ghost-dunkel { border-color: rgba(28,30,33,.25); color: var(--ink); }
.btn-ghost-dunkel:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Header (Glass) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .4s var(--kurve);
}
.header-bar {
  margin: 14px auto 0; max-width: calc(var(--wrap) + 16px);
  padding: 0 8px;
}
.header-glass {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 24px;
  border-radius: 18px;
  background: rgba(22, 24, 27, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,.55);
  transition: background .4s, box-shadow .4s;
}
.header.scrolled .header-glass { background: rgba(22, 24, 27, .82); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.15; }
/* Im Header: Signet links neben dem Schriftzug */
.header-glass .brand { flex-direction: row; align-items: center; gap: 11px; }
.brand-logo { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.brand span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  font-size: 15px; font-weight: 500; text-decoration: none;
  color: rgba(255,255,255,.78);
  padding: 10px 14px; border-radius: 10px;
  transition: color .3s, background .3s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-cta { display: inline-flex; }
.header .btn { padding: 12px 22px; }

/* Maßkette unter der Leiste – Lineal wie am Geodreieck */
.masskette {
  position: relative;
  margin: 8px auto 0;
  height: 20px;
  opacity: .9;
  transition: opacity .4s;
  pointer-events: auto;          /* greifbar: Lineal lässt sich rollen */
  cursor: grab;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  /* Enden weich auslaufen lassen */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.masskette.greift { cursor: grabbing; }
.header:hover .masskette { opacity: 1; }
.masskette svg { display: block; overflow: visible; will-change: transform; }
.masskette .mk-fein   { stroke: rgba(255,255,255,.26); stroke-width: 1; }
.masskette .mk-mittel { stroke: rgba(255,255,255,.42); stroke-width: 1; }
.masskette .mk-lang   { stroke: var(--messing-hell);   stroke-width: 1.25; }
.masskette .mk-zahl {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .08em;
  fill: rgba(255, 255, 255, .5);
}
.header.scrolled .masskette { opacity: .55; }
@media (max-width: 900px) { .masskette { display: none; } }

/* Mobile Nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.08); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--kurve), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: absolute; top: calc(100% + 10px); left: 8px; right: 8px;
    flex-direction: column; align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: rgba(22,24,27,.92);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.09);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s, transform .35s var(--kurve), visibility .35s;
  }
  .nav.offen { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: clip;
  padding: 0;
  background: var(--dunkel);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 24s var(--kurve) both;
  transform-origin: 60% 40%;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,24,27,.42) 0%, rgba(22,24,27,.1) 38%, rgba(22,24,27,.62) 74%, rgba(22,24,27,.9) 100%),
    radial-gradient(90% 60% at 18% 78%, rgba(22,24,27,.55), transparent 70%);
}
/* Interaktive Villa rechts im Hero (nur breite Bildschirme) */
.hero-3d {
  position: absolute; top: 120px; right: 1.5%; bottom: 175px;
  width: 47%; z-index: 3;
  display: none;
}
.hero-3d:empty { display: none !important; }  /* ohne 3D (reduzierte Bewegung) ausblenden */
.villa-modi {
  /* unter dem Modell, auf einer Linie mit den Hero-Knöpfen links */
  position: absolute; left: 50%; bottom: -64px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; z-index: 5;
  padding: 5px;
  border-radius: 999px;
  background: rgba(22,24,27,.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}
.villa-modi button {
  font: 500 13.5px/1 var(--font-sans);
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
  background: none; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  transition: background .3s, color .3s;
}
.villa-modi button:hover { color: #fff; }
.villa-modi button.aktiv { background: var(--messing); color: #fff; }
.villa-hinweis {
  /* sitzt als Zeile mit in der Knopfleiste */
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap; pointer-events: none;
  padding: 0 16px 0 14px;
  border-left: 1px solid rgba(255,255,255,.14);
  margin-left: 6px;
}
.hero-3d .hotspot-karte { left: 8px; bottom: 8px; width: min(380px, 86%); }
.hero-3d::before {
  content: ''; position: absolute; inset: -5%;
  background: radial-gradient(58% 52% at 52% 55%, rgba(10,12,14,.78) 0%, rgba(10,12,14,.35) 55%, transparent 78%);
}
.hero-3d canvas { position: relative; width: 100% !important; height: 100% !important; display: block; }
@media (min-width: 1100px) { .hero-3d { display: block; } }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 160px var(--pad) 56px;
}
.hero .eyebrow::after {
  content: ''; width: 34px; height: 1px; background: var(--messing);
  flex: none;
}
.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  font-weight: 700; letter-spacing: -.025em;
  max-width: 12ch;
  margin: 22px 0 26px;
}
.hero h1 .wort { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .wort > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wortauf .9s var(--kurve) forwards;
  animation-delay: calc(var(--i) * 90ms + 250ms);
}
@keyframes wortauf { to { transform: none; } }
.hero h1 em { font-style: normal; color: var(--messing-hell); }
.hero-sub {
  max-width: 560px; font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,.82);
  opacity: 0; animation: sanft 1s var(--kurve) .9s forwards;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; animation: sanft 1s var(--kurve) 1.1s forwards; }
@keyframes sanft { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Vertrauens-Ticker */
.ticker {
  position: relative; z-index: 2;
  border-top: 1px solid var(--linie-hell);
  margin-top: 52px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-lauf {
  display: flex; gap: 0; width: max-content;
  animation: lauf 36s linear infinite;
}
.ticker:hover .ticker-lauf { animation-play-state: paused; }
@keyframes lauf { to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 34px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.66);
  white-space: nowrap;
}
.ticker-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--messing-hell); }

/* Scroll-Hinweis */
.scroll-hinweis {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 110px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  writing-mode: vertical-rl;
}
.scroll-hinweis::after {
  content: ''; width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--messing-hell), transparent);
  animation: pendel 2.2s ease-in-out infinite;
}
@keyframes pendel { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
@media (max-width: 720px) { .scroll-hinweis { display: none; } }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dauer) var(--kurve), transform var(--dauer) var(--kurve); }
.reveal.sichtbar { opacity: 1; transform: none; }
.reveal-gruppe > * { opacity: 0; transform: translateY(28px); transition: opacity var(--dauer) var(--kurve), transform var(--dauer) var(--kurve); }
.reveal-gruppe.sichtbar > * { opacity: 1; transform: none; }
.reveal-gruppe.sichtbar > *:nth-child(1) { transition-delay: 0s; }
.reveal-gruppe.sichtbar > *:nth-child(2) { transition-delay: .08s; }
.reveal-gruppe.sichtbar > *:nth-child(3) { transition-delay: .16s; }
.reveal-gruppe.sichtbar > *:nth-child(4) { transition-delay: .24s; }
.reveal-gruppe.sichtbar > *:nth-child(5) { transition-delay: .32s; }
.reveal-gruppe.sichtbar > *:nth-child(6) { transition-delay: .4s; }
.reveal-gruppe.sichtbar > *:nth-child(7) { transition-delay: .48s; }
.reveal-gruppe.sichtbar > *:nth-child(8) { transition-delay: .56s; }

/* ---------- Schnitt (Scrollytelling) ---------- */
/* Hintergrund exakt in der Farbe des Basisbilds (#0d1112) – so verschmilzt
   das Gebäude mit der Seite, keine sichtbare Kachelkante mehr. */
.schnitt { background: #0d1112; color: #fff; padding-block: 0; position: relative; }
.schnitt::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 2;
  background: linear-gradient(180deg, var(--dunkel), transparent);
  pointer-events: none;
}
.schnitt-rahmen { position: relative; }
.schnitt-buehne {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 90px var(--pad) 40px;
  position: sticky;
}
/* Feines technisches Zeichnungsraster über der ganzen Bühne */
.schnitt-buehne::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 30%, transparent 100%);
}
.schnitt-bild {
  position: relative; aspect-ratio: 3 / 4; max-height: calc(100svh - 150px);
  margin-inline: auto; width: 100%;
  /* Ränder weich auslaufen lassen statt harter Kachel */
  -webkit-mask-image: radial-gradient(115% 115% at 50% 50%, #000 62%, transparent 96%);
  mask-image: radial-gradient(115% 115% at 50% 50%, #000 62%, transparent 96%);
}
.schnitt-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Overlays werden per Scrub (clip-path) von unten nach oben aufgebaut –
   Steuerung liegt in main.js, hier nur Grundzustand. */
.schicht { opacity: 0; }
.schicht-overlay { mix-blend-mode: screen; will-change: clip-path; }
.schicht.aktiv { opacity: 1; }
.schicht-schleier {
  position: absolute; inset: 0; background: rgba(8,10,11,.42);
  opacity: 0; transition: opacity .6s;
}
.schicht-schleier.aktiv { opacity: 1; }
/* Scan-Linie an der Aufbaukante */
.scanlinie {
  position: absolute; left: 4%; right: 4%; height: 2px; top: 100%;
  background: linear-gradient(90deg, transparent, var(--messing-hell) 18%, #ffe9c4 50%, var(--messing-hell) 82%, transparent);
  box-shadow: 0 0 18px rgba(176,141,69,.85), 0 0 46px rgba(176,141,69,.35);
  opacity: 0; pointer-events: none;
}
.scanlinie::before, .scanlinie::after {
  content: ''; position: absolute; top: -3px; width: 8px; height: 8px;
  background: var(--messing-hell); rotate: 45deg;
  box-shadow: 0 0 10px rgba(176,141,69,.9);
}
.scanlinie::before { left: -2px; } .scanlinie::after { right: -2px; }
/* Eckmarken wie auf einem Planrahmen */
.planmarke { position: absolute; width: 22px; height: 22px; pointer-events: none; opacity: .55; }
.planmarke::before, .planmarke::after { content: ''; position: absolute; background: var(--messing-hell); }
.planmarke::before { width: 100%; height: 1px; }
.planmarke::after { width: 1px; height: 100%; }
.planmarke.olinks { left: -6px; top: -6px; }
.planmarke.orechts { right: -6px; top: -6px; transform: scaleX(-1); }
.planmarke.ulinks { left: -6px; bottom: -6px; transform: scaleY(-1); }
.planmarke.urechts { right: -6px; bottom: -6px; transform: scale(-1); }
.planmarke.olinks::before, .planmarke.orechts::before { top: 0; }
.planmarke.olinks::after, .planmarke.orechts::after { left: 0; }
.planmarke.ulinks::before, .planmarke.urechts::before { bottom: 0; }
.planmarke.ulinks::after, .planmarke.urechts::after { left: 0; }
/* Grosse Schritt-Ziffer als HUD */
.schritt-ziffer {
  position: absolute; right: 0; top: -14px;
  font-family: var(--font-mono); font-size: clamp(64px, 8vw, 118px); font-weight: 500;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(176,141,69,.4);
  user-select: none; pointer-events: none;
}
/* ---------- 3D-Gebäude ---------- */
.g3d-feld {
  position: relative;
  height: calc(100svh - 170px);
  min-height: 420px;
}
.g3d-feld canvas { display: block; width: 100% !important; height: 100% !important; }
.g3d-feld .planmarke { opacity: .4; }
.g3d-hinweis {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%) translateY(8px);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(13,17,18,.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .5s, transform .5s var(--kurve);
  pointer-events: none; white-space: nowrap;
}
.g3d-hinweis.sichtbar { opacity: 1; transform: translateX(-50%); }
.hotspot-karte {
  position: absolute; left: 0; bottom: 0; z-index: 6;
  width: min(400px, 92%);
  background: rgba(18, 22, 24, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(176,141,69,.35);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--kurve), transform .4s var(--kurve), visibility .4s;
}
.hotspot-karte.offen { opacity: 1; visibility: visible; transform: none; }
.hotspot-karte .karte-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--messing-hell); margin-bottom: 8px;
}
.hotspot-karte h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.hotspot-karte > p:not(.karte-badge):not(.karte-fussnote) { font-size: 14.5px; color: rgba(255,255,255,.78); margin-bottom: 14px; }
.hotspot-karte a { color: var(--messing-hell); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.hotspot-karte a:hover { text-decoration: underline; }
.hotspot-karte .karte-fussnote { font-size: 11.5px; color: rgba(255,255,255,.4); margin-top: 14px; }
.hotspot-karte .karte-zu {
  position: absolute; right: 12px; top: 10px;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer;
  transition: background .3s;
}
.hotspot-karte .karte-zu:hover { background: rgba(255,255,255,.18); }

/* Vektor-Stempel (SVG) – gestochen scharf statt KI-Pixel */
.stempel {
  position: absolute; right: 6%; bottom: 8%; width: 38%;
  aspect-ratio: 1;
  opacity: 0; transform: scale(2.2) rotate(-18deg);
  filter: blur(3px);
  pointer-events: none;
}
.stempel.aktiv {
  animation: aufstampfen .5s cubic-bezier(.2, 1.35, .35, 1) forwards;
}
@keyframes aufstampfen {
  0%   { opacity: 0; transform: scale(2.2) rotate(-18deg); filter: blur(3px); }
  62%  { opacity: 1; transform: scale(.96) rotate(-8deg); filter: blur(0); }
  80%  { transform: scale(1.03) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-8deg); filter: blur(0); }
}
.stempel svg { width: 100%; height: 100%; display: block; }

/* Messlinie */
.messlinie {
  position: absolute; left: 8%; right: 46%;
  height: 1px; background: var(--messing-hell);
  box-shadow: 0 0 12px rgba(176,141,69,.7);
  top: 40%;
  transition: top 1s var(--kurve), opacity .5s;
  opacity: 0;
}
.messlinie.aktiv { opacity: 1; }
.messlinie::before, .messlinie::after {
  content: ''; position: absolute; top: -4px; width: 9px; height: 9px;
  border: 1px solid var(--messing-hell); rotate: 45deg; background: var(--dunkel);
}
.messlinie::before { left: -5px; } .messlinie::after { right: -5px; }
.messwert {
  position: absolute; top: -30px; left: 0;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  color: var(--messing-hell);
}

.schnitt-text { position: relative; min-height: 340px; }
.schnitt-schritt {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s var(--kurve), transform .55s var(--kurve);
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.schnitt-schritt.aktiv { opacity: 1; transform: none; pointer-events: auto; }
.schnitt-schritt .eyebrow { color: var(--messing-hell); }
.schnitt-schritt h3 { font-size: clamp(26px, 3vw, 38px); margin: 16px 0 14px; }
.schnitt-schritt p { color: rgba(255,255,255,.75); max-width: 46ch; }

/* Fortschrittsleiste */
.schnitt-rail {
  position: absolute; left: calc(50% - min(50%, calc(var(--wrap)/2)) + 10px); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; z-index: 5;
}
@media (max-width: 1320px) { .schnitt-rail { left: 12px; } }
.schnitt-rail button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: transparent; cursor: pointer;
  transition: background .3s, transform .3s, border-color .3s;
}
.schnitt-rail button.aktiv { background: var(--messing-hell); border-color: var(--messing-hell); transform: scale(1.35); }

/* Mobil / reduzierte Bewegung: gestapelt */
.schnitt-stapel { display: none; }
@media (max-width: 860px) {
  .schnitt-rahmen { display: none; }
  .schnitt-stapel { display: block; padding: 72px 0; }
  .schnitt-stapel .wrap > article { margin-bottom: 56px; }
  .schnitt-stapel .stapel-bild { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 3/4; background: #0d0e10; margin-bottom: 20px; }
  .schnitt-stapel .stapel-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .schnitt-stapel .stapel-bild .ueber { mix-blend-mode: screen; }
  .schnitt-stapel .stapel-stempel {
    position: absolute; right: 8%; bottom: 8%; width: 48%;
    transform: rotate(-8deg);
  }
  .schnitt-stapel h3 { font-size: 26px; margin: 14px 0 10px; }
  .schnitt-stapel p { color: rgba(255,255,255,.75); }
}

/* ---------- Leistungen ---------- */
.leistungen { background: var(--papier); }
.karten-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 1020px) { .karten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .karten-grid { grid-template-columns: 1fr; } }

.karte {
  position: relative;
  display: flex; flex-direction: column;   /* Karten gleich hoch, Fußzeile bündig */
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(28,30,33,.08);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  transition: transform .45s var(--kurve), box-shadow .45s var(--kurve), border-color .45s;
  overflow: hidden;
}
.karte::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--messing), var(--messing-hell));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--kurve);
}
.karte:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(28,30,33,.28); border-color: rgba(138,106,42,.3); }
.karte:hover::before { transform: scaleX(1); }
.karte .nr {
  font-family: var(--font-mono); font-size: 13px; color: var(--messing);
  letter-spacing: .15em;
}

/* ---------- Animierte Fachgebiets-Icons (oben rechts) ---------- */
.fach-icon {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  opacity: .8;
  transition: opacity .35s, transform .35s var(--kurve);
}
.karte:hover .fach-icon { opacity: 1; transform: scale(1.08); }
.fach-icon svg { width: 100%; height: 100%; display: block; overflow: visible; }
.leistung-block > div:first-child { position: relative; padding-right: 60px; }
.leistung-block .fach-icon { top: 4px; right: 0; width: 48px; height: 48px; }

/* 01 Architektur: Haus zeichnet sich selbst */
.fach-architektur .zieh path {
  stroke-dasharray: 100;
  animation: fach-zeichnen 5s var(--kurve) infinite;
}
.fach-architektur .zieh path:nth-child(2) { animation-delay: .5s; }
.fach-architektur .zieh path:nth-child(3) { animation-delay: 1s; }
@keyframes fach-zeichnen {
  0% { stroke-dashoffset: 100; }
  35%, 78% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
/* 02 Tragwerk: Lastpfeil drückt */
.fach-tragwerk .last { animation: fach-last 1.6s ease-in-out infinite; }
@keyframes fach-last {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(3.5px); opacity: 1; }
}
/* 03 Energie: Blitz glimmt */
.fach-energie .blitz {
  transform-origin: 50% 50%;
  animation: fach-blitz 2.2s ease-in-out infinite;
}
@keyframes fach-blitz {
  0%, 100% { opacity: .55; filter: none; transform: scale(.96); }
  50% { opacity: 1; filter: drop-shadow(0 0 5px rgba(176,141,69,.9)); transform: scale(1.04); }
}
/* 04 Aufmaß: Scan-Linie läuft, Punkte erscheinen */
.fach-aufmass .scan {
  stroke: var(--messing-hell);
  animation: fach-scan 2.8s ease-in-out infinite;
}
@keyframes fach-scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}
.fach-aufmass .punkte circle { animation: fach-punkt 2.8s ease-in-out infinite; }
.fach-aufmass .punkte circle:nth-child(2) { animation-delay: .4s; }
.fach-aufmass .punkte circle:nth-child(3) { animation-delay: .8s; }
@keyframes fach-punkt {
  0%, 15% { opacity: 0; }
  35%, 75% { opacity: 1; }
  100% { opacity: 0; }
}
/* 05 Brandschutz: Flamme flackert */
.fach-brand .flamme {
  transform-origin: 50% 88%;
  animation: fach-flackern 1.7s ease-in-out infinite;
}
.fach-brand .innen {
  transform-origin: 50% 88%;
  animation: fach-flackern-innen 1.1s ease-in-out infinite;
}
@keyframes fach-flackern {
  0%, 100% { transform: rotate(-2.5deg) scaleY(.97); }
  30% { transform: rotate(2deg) scaleY(1.04); }
  60% { transform: rotate(-1.5deg) scaleY(1); }
  80% { transform: rotate(2.5deg) scaleY(1.05); }
}
@keyframes fach-flackern-innen {
  0%, 100% { transform: scale(.9); opacity: .4; }
  50% { transform: scale(1.12); opacity: .65; }
}
/* 06 TGA: Lüfter dreht */
.fach-tga .rotor {
  transform-origin: 22px 22px;
  animation: fach-drehen 3.2s linear infinite;
}
.karte:hover .fach-tga .rotor { animation-duration: 1.1s; }
@keyframes fach-drehen { to { transform: rotate(360deg); } }
.karte h3 { font-size: 21px; margin: 12px 0 10px; }
.karte > p { color: var(--ink-soft); font-size: 15.5px; }
.karte details { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--linie); }
.karte > p { margin-bottom: 16px; }
.karte summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .3s;
}
.karte summary:hover { color: var(--messing); }
.karte summary::after { content: '+'; font-size: 17px; transition: transform .3s var(--kurve); }
.karte details[open] summary::after { transform: rotate(45deg); }
.karte details ul { margin: 12px 0 0; padding: 0; list-style: none; }
.karte details li {
  font-size: 14.5px; color: var(--ink-soft);
  padding: 5px 0 5px 18px; position: relative;
}
.karte details li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 8px; height: 1px; background: var(--messing);
}

/* ---------- Projektarten ---------- */
.projektarten { background: var(--dunkel); color: #fff; }
.pa-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 1100px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pa-grid { grid-template-columns: 1fr; } }
.pa-box {
  display: flex; flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--linie-hell);
  background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-decoration: none; color: inherit;
  transition: background .35s, border-color .35s, transform .35s var(--kurve), box-shadow .35s;
}
.pa-box:hover {
  background: var(--messing-zart); border-color: var(--messing-hell);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.6);
}
.pa-box h3 { font-size: 17.5px; line-height: 1.25; margin-bottom: 8px; color: #fff; }
.pa-box p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.68); margin-bottom: 16px; }
.pa-beispiel {
  margin-top: auto;                        /* bündig an der Unterkante – symmetrisch */
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5;
  letter-spacing: .04em;
  color: var(--messing-hell);
}
/* Feste Zonen, damit Titel, Textbeginn und Trennlinien in allen Boxen
   exakt fluchten. Der Beispiel-Block hat eine FESTE Höhe (nicht nur
   Mindesthöhe) – so liegt die Linie darüber immer auf derselben Kante,
   egal ob das Beispiel eine, zwei oder drei Zeilen braucht. */
@media (min-width: 621px) {
  .pa-beispiel { height: 88px; overflow: hidden; }
}
@media (min-width: 1101px) {
  .pa-box h3 { min-height: 2.5em; }        /* Platz für zweizeilige Titel */
}
.pa-beispiel::before {
  content: 'Beispiel';
  display: block;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 3px;
}

/* ---------- Projekte ---------- */
.projekte { background: var(--papier); }
.projekt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .projekt-grid { grid-template-columns: 1fr; } }
/* Helle Karte: Bild oben voll sichtbar, Text darunter auf Weiß.
   Feste Zonen (Titel 2 Zeilen, Meta 2 Zeilen, Text 2 Zeilen) halten
   alle Fluchten über die drei Karten hinweg. */
.projekt-karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(28,30,33,.06);
  transition: transform .45s var(--kurve), box-shadow .45s var(--kurve);
}
.projekt-karte:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(28,30,33,.3); }
.projekt-karte img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 1s var(--kurve);
}
.projekt-karte:hover img { transform: scale(1.04); }
.projekt-info {
  display: flex; flex-direction: column;
  padding: 20px 22px 22px;
  row-gap: 8px;
}
.projekt-info h3 {
  order: 1;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.2; margin: 0;
  min-height: 2.4em;                    /* Platz für zweizeilige Titel – Flucht */
  color: var(--ink);
  overflow: hidden;
}
.projekt-meta {
  order: 2;
  /* kleiner, damit Ort · Projektart sicher in EINE Zeile passen */
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; gap: 8px;
  white-space: nowrap; line-height: 1.7;
  min-height: 1.7em;
  overflow: hidden;
  margin: 0;
}
.projekt-meta span:nth-child(even) { color: var(--messing); }  /* die Trennpunkte */
.projekt-status {
  order: 3;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--messing);
  line-height: 1.4; min-height: 1.4em;
  margin: 0;
}
.projekt-info p:not(.projekt-meta):not(.projekt-status) {
  order: 4;
  font-size: 14.5px; line-height: 1.55; margin: 0;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;                /* elegant gekürzt mit … */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

/* Projekt-Platzhalter: „Ihr Projekt, als nächste Referenz“ */
.projekt-platzhalter {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(28,30,33,.22);
  background: rgba(255,255,255,.35);
  text-decoration: none; color: var(--ink);
  padding: 24px;
  transition: border-color .35s, background .35s, transform .35s var(--kurve);
}
.projekt-platzhalter:hover {
  border-color: var(--messing);
  background: rgba(255,255,255,.65);
  transform: translateY(-4px);
}
.projekt-platzhalter .plus {
  font-size: 34px; font-weight: 300; line-height: 1;
  color: var(--ink-faint);
  transition: color .35s, transform .35s var(--kurve);
}
.projekt-platzhalter:hover .plus { color: var(--messing); transform: rotate(90deg); }
.projekt-platzhalter strong { font-size: 18px; letter-spacing: -.01em; }
.projekt-platzhalter .unterzeile { font-size: 14.5px; color: var(--ink-faint); }
.projekt-platzhalter:hover .unterzeile { color: var(--messing); }

/* ---------- Prozess ---------- */
.prozess { background: var(--weiss); }
.prozess-liste { position: relative; margin-top: 10px; }
.prozess-liste::before {
  content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px;
  background: var(--linie);
}
.prozess-linie {
  position: absolute; left: 27px; top: 10px; width: 1px; height: 0;
  background: var(--messing);
  transition: height .2s linear;
}
.prozess-schritt {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 26px;
  align-items: center;
  padding: 26px 0;
}

/* ---------- LPH-Bubbles: schweben rechts neben den Schritten ---------- */
.lph-blasen {
  display: flex; flex-wrap: nowrap; gap: 12px;   /* auch LPH 5–9 in EINER Reihe */
  justify-content: flex-end; align-items: center;
}
@media (max-width: 1240px) {
  .lph-blase { width: 56px; height: 56px; }
  .lph-blase b { font-size: 16px; }
}
.lph-blase {
  width: 66px; height: 66px; border-radius: 50%;
  border: 1.5px solid rgba(138, 106, 42, .45);
  background: var(--weiss);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: var(--messing);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(28, 30, 33, .3);
  animation: lph-schweben 4.5s ease-in-out infinite;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--kurve);
}
.lph-blase b { font-size: 19px; font-weight: 500; line-height: 1; }
.lph-blase:hover {
  background: var(--messing); border-color: var(--messing);
  color: #fff;
  animation-play-state: paused;
  transform: scale(1.12);
}
.lph-blase:nth-child(2) { animation-delay: -1.1s; }
.lph-blase:nth-child(3) { animation-delay: -2.2s; }
.lph-blase:nth-child(4) { animation-delay: -3.1s; }
.lph-blase:nth-child(5) { animation-delay: -3.9s; }
@keyframes lph-schweben {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(5px); }
}
@media (max-width: 860px) {
  .prozess-schritt { grid-template-columns: 56px 1fr; }
  /* Mobil: Blasen über die volle Breite (nicht eingerückt), kompakter –
     so passen auch LPH 5–9 in EINE Reihe, ohne abgeschnitten zu werden */
  .lph-blasen { grid-column: 1 / -1; justify-content: flex-start; gap: 9px; }
  .lph-blase { width: 52px; height: 52px; }
  .lph-blase b { font-size: 15px; }
}
@media (max-width: 360px) {
  .lph-blase { width: 46px; height: 46px; font-size: 9px; }
  .lph-blase b { font-size: 13px; }
}

/* Klick-Fenster der Leistungsphasen */
.lph-fenster {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(16, 18, 20, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lph-fenster.offen { opacity: 1; visibility: visible; }
.lph-fenster-karte {
  width: min(480px, 100%);
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 30px 32px;
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
  transform: translateY(14px) scale(.97);
  transition: transform .35s var(--kurve);
}
.lph-fenster.offen .lph-fenster-karte { transform: none; }
.lph-fenster-karte .fenster-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--messing); margin-bottom: 10px;
}
.lph-fenster-karte h3 { font-size: 21px; margin-bottom: 12px; color: var(--ink); }
.lph-fenster-karte p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.lph-fenster-karte .fenster-zu {
  position: absolute; right: 14px; top: 12px;
  width: 34px; height: 34px; border: 0; border-radius: 10px;
  background: rgba(28, 30, 33, .06); color: var(--ink); font-size: 18px; cursor: pointer;
  transition: background .3s;
}
.lph-fenster-karte .fenster-zu:hover { background: rgba(28, 30, 33, .14); }
.prozess-nr {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; color: var(--ink-faint);
  background: var(--weiss);
  border: 1px solid var(--linie);
  transition: border-color .4s, color .4s, box-shadow .4s;
  position: relative; z-index: 2;
}
.prozess-schritt.aktiv .prozess-nr {
  border-color: var(--messing); color: var(--messing);
  box-shadow: 0 0 0 5px var(--messing-zart);
}
.prozess-schritt h3 { font-size: 21px; margin-bottom: 8px; }
.prozess-schritt p { color: var(--ink-soft); max-width: 60ch; }

.hoai-band {
  margin-top: 48px;
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 26px 28px 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: var(--papier);
}
.hoai-band strong { grid-column: 1 / -1; font-size: 15.5px; margin-bottom: 10px; }
.lph {
  background: var(--weiss);
  border: 1px solid rgba(28,30,33,.06);
  border-radius: var(--radius);
  padding: 4px 20px;
  align-self: start;                 /* Karten wachsen beim Aufklappen einzeln */
  transition: border-color .3s, box-shadow .3s;
}
.lph:hover { border-color: rgba(138,106,42,.35); box-shadow: 0 12px 28px -18px rgba(28,30,33,.25); }
.lph summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  padding: 16px 0;
}
.lph summary::-webkit-details-marker { display: none; }
.lph summary::after {
  content: '+';
  font-size: 19px; font-weight: 400; color: var(--messing);
  flex: none;
  transition: transform .3s var(--kurve);
}
.lph[open] summary::after { transform: rotate(45deg); }
.lph p {
  font-size: 14px; line-height: 1.6; color: var(--ink-soft);
  padding: 0 0 16px;
  border-top: 1px solid var(--linie);
  padding-top: 12px;
}
@media (max-width: 720px) { .hoai-band { grid-template-columns: 1fr; } }

/* ---------- Ueber uns ---------- */
.ueber { background: var(--dunkel); color: #fff; }
.ueber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .ueber-grid { grid-template-columns: 1fr; } }
.ueber-bild {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 5;               /* Porträtformat – bereit für ALs Foto */
  background: var(--dunkel-2);
}
.ueber-bild img { width: 100%; height: 100%; object-fit: cover; }
.ueber-bild svg { width: 100%; height: 100%; display: block; }
.ueber-bild::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.ueber h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 18px; }
.ueber .fliess { color: rgba(255,255,255,.78); margin-bottom: 26px; }
/* Ansprechpartner: weiße Karte mit TÜV-Logo auf weißem Grund */
.ansprech-karte {
  background: var(--weiss); color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 30px 24px;
  margin-bottom: 28px;
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.55);
}
.ansprech-karte .eyebrow { margin-bottom: 12px; }
.ansprech-karte strong { font-size: 20px; display: block; margin-bottom: 10px; letter-spacing: -.01em; }
.ansprech-karte > p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.ansprech-fuss {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--linie);
}
.ansprech-fuss span { font-size: 14.5px; color: var(--ink-soft); padding-bottom: 4px; }
.ansprech-fuss img { width: 92px; height: auto; flex: none; }
.erwartungen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 560px) { .erwartungen { grid-template-columns: 1fr; } }
.erwartungen li {
  font-size: 14.5px; color: rgba(255,255,255,.8);
  padding: 6px 0 6px 24px; position: relative;
}
.erwartungen li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--messing-hell); border-bottom: 1.5px solid var(--messing-hell);
  transform: rotate(-45deg);
}

.erwartungen.auf-hell { max-width: 860px; }
.erwartungen.auf-hell li { color: var(--ink-soft); font-size: 16px; border-bottom: 1px solid var(--linie); padding-block: 12px; }
.erwartungen.auf-hell li::before { top: 19px; }

/* ---------- FAQ ---------- */
.faq { background: var(--papier); }
.faq-liste { max-width: 860px; }
.faq-item {
  border: 1px solid var(--linie); border-radius: var(--radius-s);
  background: rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.faq-item.offen { border-color: rgba(138,106,42,.4); box-shadow: 0 14px 34px -22px rgba(28,30,33,.3); }
.faq-frage {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0;
  font: 500 16.5px/1.45 var(--font-sans); color: var(--ink);
  padding: 20px 56px 20px 22px;
  position: relative;
}
.faq-frage::after {
  content: ''; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--messing); border-bottom: 1.5px solid var(--messing);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .4s var(--kurve);
}
.faq-item.offen .faq-frage::after { transform: translateY(-30%) rotate(225deg); }
.faq-antwort {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--kurve);
}
.faq-item.offen .faq-antwort { grid-template-rows: 1fr; }
.faq-antwort > div { overflow: hidden; }
.faq-antwort p { padding: 0 22px 22px; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--dunkel) 0%, #23262b 100%);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(40% 40% at 50% 50%, rgba(138,106,42,.22), transparent 70%);
  animation: atmen 9s ease-in-out infinite alternate;
}
@keyframes atmen { from { transform: translate(-6%, -4%) scale(.9); } to { transform: translate(6%, 4%) scale(1.08); } }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 18ch; margin: 18px auto 16px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 52ch; margin: 0 auto 34px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::before { display: none; }

/* ---------- Footer ---------- */
.footer { background: #101214; color: rgba(255,255,255,.68); padding: 72px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand strong { color: #fff; }
.footer h4 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 16px; font-weight: 500;
}
.footer a { color: rgba(255,255,255,.68); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--messing-hell); }
.footer li { margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer-adresse { margin-top: 18px; font-style: normal; line-height: 1.8; }
.footer-unten {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,.4);
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* ---------- Seitenkopf ---------- */
.seiten-kopf {
  background: var(--dunkel); color: #fff;
  padding: 190px 0 84px;
  position: relative; overflow: hidden;
}
.seiten-kopf::after {
  content: ''; position: absolute; right: -10%; top: -30%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(138,106,42,.16), transparent 70%);
  pointer-events: none;
}
.seiten-kopf h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 700; letter-spacing: -.02em;
  max-width: 16ch;
  margin: 20px 0 18px;
}
.seiten-kopf .intro { max-width: 620px; font-size: 18px; color: rgba(255,255,255,.78); }
.seiten-kopf .eyebrow { color: var(--messing-hell); }

/* ---------- Leistungen: grosse Bloecke ---------- */
.leistung-block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--linie);
  align-items: start;
}
.leistung-block:first-of-type { border-top: 0; }
@media (max-width: 820px) { .leistung-block { grid-template-columns: 1fr; } }
.leistung-block .nr-gross {
  font-family: var(--font-mono); font-size: clamp(44px, 6vw, 72px);
  color: var(--messing-zart); font-weight: 500; line-height: 1;
  -webkit-text-stroke: 1px rgba(138,106,42,.5);
}
.leistung-block h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 14px; }
.leistung-block .beschreibung { color: var(--ink-soft); max-width: 56ch; }
.leistung-block .btn { margin-top: 24px; }
.leistung-detail {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(28,30,33,.08);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.leistung-detail h3 {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 14px;
}
.leistung-detail ul { margin: 0; padding: 0; list-style: none; }
.leistung-detail li {
  padding: 10px 0 10px 22px; position: relative;
  border-bottom: 1px solid var(--linie);
  font-size: 15.5px; color: var(--ink-soft);
}
.leistung-detail li:last-child { border-bottom: 0; }
.leistung-detail li::before {
  content: ''; position: absolute; left: 0; top: 19px;
  width: 10px; height: 1px; background: var(--messing);
}

/* ---------- Projektdetail ---------- */
.detail-kopf { padding-bottom: 44px; }
.detail-kopf .zurueck {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6); text-decoration: none;
  margin-bottom: 26px; transition: color .3s;
}
.detail-kopf .zurueck:hover { color: var(--messing-hell); }
.detail-bild {
  margin-top: -46px; position: relative; z-index: 3;
}
.detail-bild .wrap > div {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.5);
}
.detail-bild img { width: 100%; height: auto; }
.detail-inhalt { background: var(--papier); }
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-abschnitt { margin-bottom: 40px; }
.detail-abschnitt h2 {
  font-size: 24px; margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 14px;
}
.detail-abschnitt h2::before {
  content: attr(data-nr);
  font-family: var(--font-mono); font-size: 13px; color: var(--messing);
}
.detail-abschnitt p { color: var(--ink-soft); max-width: 68ch; }
.detail-seitenleiste > div {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(28,30,33,.08);
  border-radius: var(--radius);
  padding: 26px 26px;
  position: sticky; top: 110px;
}
.detail-seitenleiste h3 {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 14px;
}
.detail-seitenleiste dl { margin: 0 0 22px; }
.detail-seitenleiste dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; }
.detail-seitenleiste dd { margin: 4px 0 0; font-size: 15.5px; }
.detail-nav {
  display: flex; justify-content: space-between; gap: 14px;
  padding-top: 44px; margin-top: 12px;
  border-top: 1px solid var(--linie);
}
.detail-nav a {
  text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink);
  transition: color .3s;
}
.detail-nav a:hover { color: var(--messing); }

/* ---------- Formular ---------- */
.anfrage { background: var(--papier); }
.anfrage-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
@media (max-width: 860px) { .anfrage-grid { grid-template-columns: 1fr; } }
.formular {
  background: rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(28,30,33,.08);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}
.feld { margin-bottom: 20px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }
.feld label {
  display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px;
}
.feld label span { color: var(--messing); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: 400 16px/1.5 var(--font-sans); color: var(--ink);
  background: #fff;
  border: 1px solid rgba(28,30,33,.16);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s;
}
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--messing);
  box-shadow: 0 0 0 4px var(--messing-zart);
}
.feld textarea { min-height: 150px; resize: vertical; }
.formular .datenschutz-hinweis { font-size: 13.5px; color: var(--ink-faint); margin: 4px 0 22px; }
.formular .datenschutz-hinweis a { color: var(--messing); }
.kontakt-karte {
  background: var(--dunkel); color: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
  position: sticky; top: 110px;
}
.kontakt-karte h3 { font-size: 21px; margin-bottom: 12px; }
.kontakt-karte p { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 18px; }
.kontakt-karte a.mail {
  color: var(--messing-hell); font-weight: 500; text-decoration: none; font-size: 17px;
}
.kontakt-karte a.mail:hover { text-decoration: underline; }
.form-meldung {
  display: none;
  border-radius: var(--radius-s);
  border: 1px solid rgba(138,106,42,.4);
  background: var(--messing-zart);
  padding: 14px 18px; margin-bottom: 18px;
  font-size: 14.5px;
}
.form-meldung.sichtbar { display: block; }

/* ---------- Rechtstexte ---------- */
.legal { background: var(--papier); }
.legal-inhalt { max-width: 800px; }
.legal-inhalt h2 { font-size: 21px; margin: 40px 0 12px; }
.legal-inhalt h2:first-child { margin-top: 0; }
.legal-inhalt p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-inhalt a { color: var(--messing); }
.legal-inhalt address { font-style: normal; color: var(--ink-soft); line-height: 1.8; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero h1 .wort > span { transform: none; }
  .hero-sub, .hero-cta { opacity: 1; }
  .reveal, .reveal-gruppe > * { opacity: 1; transform: none; }
  .schnitt-rahmen { display: none; }
  .schnitt-stapel { display: block !important; padding: 72px 0; }
}
