/* ===== Level 4: 3D-Welt hinter der ganzen Seite, Inhalte auf hellen Karten ===== */
#welt { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; background: #12264a; }
html.mit-welt body { background: #12264a; color: #eef2f8; }
html.ohne-welt body { background: radial-gradient(1200px 800px at 70% 0%, #24477a, #12264a 60%); color: #eef2f8; }

/* Abschnitte durchsichtig, damit die Welt sichtbar ist */
.mit-welt .hero.dunkel, .mit-welt .leistungen, .mit-welt .gross, .mit-welt .entstehung, .mit-welt .baustelle,
.mit-welt #projekte, .mit-welt #ablauf, .mit-welt .preise, .mit-welt .kontakt, .mit-welt .band { background: transparent; }
.mit-welt .hero.dunkel::after { display: none; }
.mit-welt .glut { display: none; }
.hero.dunkel::before { background: linear-gradient(90deg, rgba(18, 38, 74, 0.7) 0%, rgba(18, 38, 74, 0.25) 42%, transparent 62%); }
.ohne-welt .buehne { visibility: visible; }
.mit-welt .buehne { visibility: hidden; }

/* Ueberschriften und Texte auf der Welt: hell, gut lesbar */
main h2, main .kopfzeile p, .projekt h3, .projekt p, .schritt h3, .schritt p, .phasen li, .gross p, .kontakt .leise, .hinweis {
  text-shadow: 0 2px 18px rgba(10, 22, 44, 0.65);
}
main h2 { color: #fff; }
h2 .grau { color: #9fb4d4; }
.kopfzeile p.leise, .projekt p, .schritt p, .gross p.leise, .kontakt p.leise, .baustelle .leise, .hinweis { color: #c9d5e6; }
.ueber { color: #f0cd85; }
.projekt h3, .schritt h3 { color: #fff; }
.projekt .art { color: #f0cd85; }
.projekt { border-top-color: rgba(255, 255, 255, 0.14); }
.projekt:last-child { border-bottom-color: rgba(255, 255, 255, 0.14); }
.projekt .chips span { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #e6ecf5; backdrop-filter: blur(6px); }
.projekt .link { color: #fff; border-bottom-color: #f0cd85; }
.schritt { border-top-color: rgba(255, 255, 255, 0.35); }
.band { border-color: rgba(255, 255, 255, 0.1); background: rgba(18, 38, 74, 0.55) !important; backdrop-filter: blur(8px); }

/* Karten bleiben hell und edel */
.karte, .zahl, .preis:not(.hervor), form, .kontakt .wege a { background: rgba(255, 255, 255, 0.96); color: var(--tinte); border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 24px 60px -30px rgba(5, 12, 26, 0.7); }
.karte h3, .zahl strong, .preis:not(.hervor) h3, .preis:not(.hervor) .betrag, form label, .kontakt .wege a { color: var(--tinte); }
.karte p, .preis:not(.hervor) .leise, .preis:not(.hervor) li { color: var(--tinte-2); text-shadow: none; }
.zahl span, .gross .zahl > span { text-shadow: none; }
.preis.hervor { box-shadow: 0 30px 70px -28px rgba(240, 205, 133, 0.45); border-color: rgba(240, 205, 133, 0.5); }

/* Entstehung: Text auf Glas, rechts baut sich die Website in 3D */
.entstehung { height: 260vh; }
.entstehung .wrap { grid-template-columns: minmax(0, 460px) 1fr; }
.entstehung-text { background: rgba(255, 255, 255, 0.95); color: var(--tinte); padding: clamp(22px, 3vw, 36px); border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(5, 12, 26, 0.7); }
.entstehung-text h2 { color: var(--tinte); text-shadow: none; }
.entstehung-text h2 .grau { color: #8a93a3; }
.entstehung-text .ueber { color: var(--gold); }
.entstehung .phasen li { text-shadow: none; color: var(--grau); border-left-color: var(--linie); }
.entstehung .phasen li b { color: var(--tinte-2); }
.entstehung .phasen li.an { background: var(--flaeche); border-left-color: var(--gold); color: var(--tinte-2); }
.entstehung .phasen li.an b { color: var(--tinte); }

/* Baustelle: Text links auf Glas, das Handy-Beispiel bleibt */
.baustelle .wrap > div:first-child { background: rgba(13, 27, 52, 0.72); backdrop-filter: blur(10px); padding: clamp(22px, 3vw, 36px); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Gross: Text auf Glas, Kugel sichtbar rechts dahinter */
.gross .wrap > div:first-child { background: rgba(13, 27, 52, 0.6); backdrop-filter: blur(8px); padding: clamp(22px, 3vw, 36px); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); }
.gross .zahlen { opacity: 0.97; }

/* Kontakt-Text auf Glas */
.kontakt .wrap > div:first-child { background: rgba(13, 27, 52, 0.6); backdrop-filter: blur(8px); padding: clamp(22px, 3vw, 36px); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); align-self: start; }

/* Fuss */
.fuss { background: rgba(9, 19, 38, 0.92); backdrop-filter: blur(10px); }

/* Handy */
@media (max-width: 860px) {
  .mit-welt .hero.dunkel { padding-bottom: calc(70vw + 24px) !important; }
  .entstehung { height: 220vh; }
  .entstehung .klebe { align-items: flex-start; padding-top: 90px; }
  .entstehung .wrap { grid-template-columns: 1fr; }
  .hero.dunkel::before { background: linear-gradient(180deg, rgba(18, 38, 74, 0.8) 0%, rgba(18, 38, 74, 0.45) 55%, transparent 75%); }
}
@media (prefers-reduced-motion: reduce) { .entstehung { height: auto; } }

.kopf, .kopf.gescrollt, .kopf.auf-dunkel.gescrollt { background: rgba(13, 27, 52, 0.72) !important; backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: rgba(255, 255, 255, 0.08) !important; }
.kopf.auf-dunkel:not(.gescrollt) { background: transparent !important; backdrop-filter: none; border-bottom-color: transparent !important; }
.kopf .marke, .kopf .nav a:not(.knopf) { color: #eef2f8 !important; }
.kopf .nav .knopf { background: #f0cd85 !important; border-color: #f0cd85 !important; color: #142033 !important; }
.kopf .menue-knopf { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
@media (max-width: 860px) { .nav { background: #12264a !important; } .nav a { color: #eef2f8 !important; border-bottom-color: rgba(255,255,255,.1) !important; } }

