/* ===== Level 2 hell: Start in Nachtblau mit 3D, Rest hell und warm ===== */
:root {
  --papier: #f6f3ec;
  --flaeche: #ece6d9;
  --tinte: #142033;
  --tinte-2: #3b4658;
  --grau: #677184;
  --linie: #ddd5c4;
  --nacht: #12233d;
  --blau-1: #1b3a66;
  --blau-2: #0f1f38;
}
::selection { background: rgba(217, 180, 106, 0.35); }
h2 { letter-spacing: -0.03em; }

/* 3D-Start in Nachtblau */
.szene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.mit-3d .buehne { visibility: hidden; }
.hero.dunkel { background: radial-gradient(1100px 700px at 75% 30%, #24477a 0%, var(--blau-1) 35%, var(--blau-2) 80%); }
.hero.dunkel .wrap > div:first-child { position: relative; z-index: 3; }
.hero.dunkel::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(15, 31, 56, 0.75) 0%, rgba(15, 31, 56, 0.3) 42%, transparent 62%); }
.hero.dunkel::after { background: linear-gradient(transparent, rgba(15, 31, 56, 0.9)); }
.hero.dunkel .unter { color: #c9d4e4; }
.hero.dunkel .fakten { border-top-color: rgba(255, 255, 255, 0.16); }
.hero.dunkel .fakten div { color: #a9b8cd; }
.hero.dunkel h1 em { background: linear-gradient(100deg, #fff0c8, #f0cd85 45%, #d9a750); -webkit-background-clip: text; background-clip: text; }
.glut { opacity: 0.8; }

/* Kopfleiste: ueber dem Start durchsichtig, danach hell */
.kopf.auf-dunkel.gescrollt { background: rgba(15, 31, 56, 0.75); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: rgba(255, 255, 255, 0.08); }
.kopf:not(.auf-dunkel) .nav .knopf { background: var(--tinte); border-color: var(--tinte); color: #fff; }
@media (max-width: 860px) {
  .kopf.auf-dunkel .nav.offen a:not(.knopf) { color: var(--tinte); }
}

/* Laufband in Blau */
.band { background: var(--blau-2); border-color: rgba(255, 255, 255, 0.06); }

/* Helle Abschnitte mit warmem Licht */
.leistungen, .gross { background: radial-gradient(1200px 500px at 50% 0%, rgba(217, 180, 106, 0.16), transparent 70%), var(--flaeche); }

/* Weisse Karten mit Goldkante beim Zeigen */
.karte, .zahl, .preis { background: #fff; border-color: var(--linie); box-shadow: 0 1px 2px rgba(20, 32, 51, 0.04); }
.karte { position: relative; overflow: hidden; }
.karte::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(140deg, #d9b46a, transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 260ms ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .karte:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(184, 137, 58, 0.45); }
  .karte:hover::before { opacity: 1; }
}
.karte .zeichen { background: linear-gradient(160deg, #1b3a66, #12233d); color: #f0cd85; }

/* Projekte */
.projekt .bild { box-shadow: 0 30px 60px -28px rgba(20, 32, 51, 0.5), 0 0 0 1px rgba(20, 32, 51, 0.08); }
.projekt .chips span { background: #fff; }

/* Ablauf mit Gold-Ziffern */
.schritt::before { background: linear-gradient(180deg, #d9b46a, #a87a2e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Entstehung */
.entstehung { background: var(--papier); }
.phasen li.an { background: #fff; }
.leinwand { box-shadow: 0 40px 80px -30px rgba(20, 32, 51, 0.45), 0 0 0 1px rgba(20, 32, 51, 0.08), 0 0 70px -20px rgba(217, 180, 106, 0.35); }

/* Baustellen-Abschnitt in Nachtblau statt Schwarz */
.baustelle { background: radial-gradient(900px 500px at 80% 40%, #22416f, var(--blau-2) 75%); }

/* Zahlen in Blau-Gold */
.gross .zahl strong { background: linear-gradient(180deg, #1b3a66, #b8893a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gross .zahl strong span { font: inherit; color: inherit; }
.gross .zahl > span { color: var(--tinte-2); }

/* Preise: Hauptpaket in Blau */
.preis.hervor { background: radial-gradient(500px 300px at 80% 0%, #2a4f86, var(--blau-1) 60%); border-color: #2a4f86; color: #eef2f8; box-shadow: 0 30px 60px -28px rgba(27, 58, 102, 0.6); }
.preis.hervor .leise, .preis.hervor li { color: #c6d2e3; }
.preis.hervor .betrag { color: #fff; }

/* Kontakt */
.kontakt .wege a { background: #fff; }
.weg-zeichen { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #1b3a66, #12233d); color: #f0cd85; flex: none; }
.weg-zeichen svg { width: 22px; height: 22px; }
form { background: #fff; border: 1px solid var(--linie); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.2); }

/* Fuss in Nachtblau */
.fuss { background: var(--blau-2); }

/* Handy: Platz fuer die 3D-Geraete unter dem Text */
@media (max-width: 860px) {
  .mit-3d .hero.dunkel { padding-bottom: calc(86vw + 24px) !important; }
  .szene { top: auto; bottom: 0; height: 92vw; }
  .hero.dunkel::before { background: linear-gradient(180deg, rgba(15, 31, 56, 0.8) 0%, rgba(15, 31, 56, 0.45) 55%, transparent 75%); }
}
