/* ===== Ultra: dunkler Start ===== */
.hero.dunkel { position: relative; overflow: hidden; background: var(--nacht); color: #eef1f5; margin-top: -72px; padding-top: calc(72px + clamp(40px, 6vw, 72px)) !important; min-height: 100svh; isolation: isolate; }
.hero.dunkel .wrap { position: relative; z-index: 2; }
.hero.dunkel .unter { color: #aeb8c6; }
.hero.dunkel .ueber { color: var(--gold-hell); }
.hero.dunkel h1 { color: #fff; }
.hero.dunkel h1 em { color: var(--gold-hell); background: linear-gradient(100deg, #f3d99c, #d9b46a 40%, #b8893a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero.dunkel .fakten { border-top-color: #263042; }
.hero.dunkel .fakten div { color: #8f9bad; }
.hero.dunkel .fakten strong { color: #fff; }
.bauplan { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.glut { position: absolute; z-index: 1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -18vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(217, 180, 106, 0.22), rgba(217, 180, 106, 0.06) 45%, transparent 70%); pointer-events: none; }
.hero.dunkel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(transparent, var(--nacht)); pointer-events: none; }
.knopf.gold { background: linear-gradient(180deg, #e3c27c, #c99c4b); border-color: #c99c4b; color: var(--tinte); box-shadow: 0 10px 30px -10px rgba(217, 180, 106, 0.6); }
.knopf.hell { background: rgba(255, 255, 255, 0.04); border-color: #3a4558; color: #eef1f5; }
@media (hover: hover) and (pointer: fine) {
  .knopf.gold:hover { background: linear-gradient(180deg, #ecd092, #d4a957); }
  .knopf.hell:hover { background: rgba(255, 255, 255, 0.1); border-color: #5a6578; }
}
.buehne .pc, .buehne .handy { will-change: transform; }
.buehne .pc { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.buehne .handy { border-color: #252d3a; box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.85); }
.buehne::before { content: ""; position: absolute; left: 8%; right: 4%; bottom: -6%; height: 18%; background: radial-gradient(ellipse at center, rgba(217, 180, 106, 0.28), transparent 70%); filter: blur(10px); }

/* Kopfleiste ueber dem dunklen Start */
.kopf { transition: background-color 250ms ease, border-color 250ms ease; }
.kopf.auf-dunkel { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.kopf.auf-dunkel .marke, .kopf.auf-dunkel .nav a:not(.knopf) { color: #e9edf3; }
.kopf.auf-dunkel .nav .knopf { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--tinte); }
.kopf.auf-dunkel .menue-knopf { color: #fff; border-color: #3a4558; }

/* Laufband */
.band { background: var(--nacht); border-top: 1px solid #1f2836; border-bottom: 1px solid #1f2836; overflow: hidden; padding: 22px 0; }
.band-spur { display: flex; width: max-content; animation: lauf 48s linear infinite; }
.band:hover .band-spur { animation-play-state: paused; }
.band span { font: 600 1.05rem/1 "Archivo", sans-serif; color: #cdd5e0; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.band span::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold-hell); }
@keyframes lauf { to { transform: translateX(-50%); } }

/* So entsteht Ihre Seite (klebt beim Scrollen) */
.entstehung { padding: 0 !important; height: 300vh; position: relative; }
.entstehung .klebe { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.entstehung .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.phasen { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 8px; }
.phasen li { padding: 16px 18px; border-left: 3px solid var(--linie); color: var(--grau); transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease; border-radius: 0 10px 10px 0; }
.phasen li b { display: block; font: 800 1.25rem/1.2 "Archivo", sans-serif; color: var(--tinte-2); transition: color 300ms ease; }
.phasen li.an { border-left-color: var(--gold); background: var(--flaeche); color: var(--tinte-2); }
.phasen li.an b { color: var(--tinte); }
.leinwand { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(20, 27, 38, 0.5), 0 0 0 1px rgba(20, 27, 38, 0.1); }
.rahmen-leiste { position: absolute; top: 0; left: 0; right: 0; height: 30px; background: #1e2633; display: flex; align-items: center; gap: 6px; padding: 0 12px; z-index: 5; }
.rahmen-leiste i { width: 9px; height: 9px; border-radius: 50%; background: #3b4554; }
.rahmen-leiste span { margin-left: auto; font: 600 0.72rem/1 "Public Sans", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hell); }
.lage { position: absolute; inset: 30px 0 0 0; }
.lage.entwurf, .lage.fertig { clip-path: inset(0 100% 0 0); }
.lage.fertig img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.skizze { background: #fbfaf6; background-image: linear-gradient(#e9e4d6 1px, transparent 1px), linear-gradient(90deg, #e9e4d6 1px, transparent 1px); background-size: 24px 24px; padding: 4% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 5%; }
.skizze i { display: block; border: 2px dashed #8b95a5; border-radius: 6px; }
.s-kopf { display: flex; gap: 3%; justify-content: flex-end; }
.s-kopf i { width: 9%; height: 14px; }
.s-kopf i:first-child { margin-right: auto; width: 14%; }
.s-held { display: grid; grid-template-columns: 1fr 0.9fr; grid-template-rows: auto auto auto 1fr; gap: 10px 6%; }
.s-held .g { grid-row: 1 / 5; grid-column: 2; }
.s-held i:nth-child(2) { height: 40px; }
.s-held i:nth-child(3) { height: 40px; width: 80%; }
.s-held .k { width: 40%; height: 26px; border-radius: 999px; }
.s-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.s-reihe i { height: 50px; }
.entwurf { background: var(--nacht); padding: 4% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 5%; }
.e-kopf { display: flex; align-items: center; gap: 3%; }
.e-kopf b { width: 14%; height: 14px; border-radius: 4px; background: #e9edf3; margin-right: auto; }
.e-kopf span { width: 9%; height: 8px; border-radius: 4px; background: #3a4558; }
.e-kopf em { width: 13%; height: 20px; border-radius: 999px; background: #5b9bf5; }
.e-held { display: grid; grid-template-columns: 1fr 0.9fr; gap: 6%; }
.e-held > div:first-child { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.e-held b { height: 30px; border-radius: 6px; background: #fff; width: 90%; }
.e-held b + b { background: #6aa7ff; width: 75%; }
.e-held span { height: 8px; border-radius: 4px; background: #3a4558; width: 85%; }
.e-held span + span { width: 65%; }
.e-held em { width: 38%; height: 26px; border-radius: 999px; background: #5b9bf5; margin-top: 6px; }
.e-bild { border-radius: 10px; background: radial-gradient(circle at 30% 40%, #9cc2ff 0, transparent 40%), linear-gradient(135deg, #1c3258, #0e1830); }
.e-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.e-reihe i { height: 50px; border-radius: 8px; background: #172033; border: 1px solid #263042; }

@media (max-width: 860px) {
  .kopf.auf-dunkel .nav.offen a:not(.knopf) { color: var(--tinte); }
  .entstehung { height: 260vh; }
  .entstehung .wrap { grid-template-columns: 1fr; gap: 22px; }
  .entstehung h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .phasen { margin-top: 16px; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .phasen li { padding: 10px; border-left: 0; border-top: 3px solid var(--linie); border-radius: 0 0 8px 8px; font-size: 0.8rem; }
  .phasen li b { font-size: 1rem; }
  .phasen li span { display: none; }
  .phasen li.an { border-top-color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .band-spur { animation: none; flex-wrap: wrap; width: auto; }
  .band span[aria-hidden] { display: none; }
  .entstehung { height: auto; }
  .entstehung .klebe { position: static; height: auto; padding: 90px 0; }
  .lage.entwurf { display: none; }
  .lage.fertig { clip-path: none; }
}

.buehne .pc, .buehne .handy { animation-fill-mode: backwards; }
