/* ═══════════════ PROJECT NOVA ═══════════════
   Ur-Design von kapitalstein.de (Git 899a2ed, Stand vor dem 14.08.2026),
   übernommen am 10.10.2026 und in die Beige-Welt der Visitenkarte
   (Nude-Beige #DBC8BC, 21.09.2026) übersetzt: hell, warm, freundlich. */
:root {
  --bg: #f7f2eb;            /* Creme, Grundfläche */
  --bg-soft: #efe6dc;       /* Creme, eine Stufe tiefer */
  --beige: #dbc8bc;         /* Nude-Beige der Visitenkarte */
  --beige-soft: #e8dad0;    /* Beige, aufgehellt für Flächen */
  --beige-deep: #c9b2a3;    /* Beige, vertieft für Linien */
  --ink: #3f332c;           /* Schrift */
  --ink-dim: #7a6a5f;       /* Schrift, zurückgenommen */
  --gold: #a07a5c;          /* Bronze als Akzent */
  --gold-soft: #86654a;
  --line-gold: rgba(160,122,92,0.32);
  --line-gold-strong: rgba(160,122,92,0.6);
  --line-ink: rgba(63,51,44,0.1);
  --line-ink-strong: rgba(63,51,44,0.26);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: linear-gradient(175deg, #faf6f0 0%, #f6f0e8 34%, #f1e8dd 68%, #eadfd2 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--beige); color: var(--ink); }

/* ─── Marke: Wortmarke aus der Visitenkarte (Vektor, flach) ─── */
.logo-mark {
  display: block; fill: currentColor;
  width: 170px; height: auto; aspect-ratio: 200.15 / 18.45;
  color: var(--ink);
}

/* ─── Preloader ─── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: #f8f4ec;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader-mark .logo-mark { width: min(260px, 64vw); }
.loader-bar {
  width: 180px; height: 1px; background: var(--line-gold);
  position: relative; overflow: hidden;
}
.loader-bar span {
  position: absolute; inset: 0; background: var(--gold);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.3s ease;
  display: block;
}
.loader-pct { font-size: 11px; letter-spacing: 0.35em; color: var(--ink-dim); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 1.2s ease 0.3s, transform 1.2s ease 0.3s;
  background: rgba(250,247,240,0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(160,122,92,0.16);
}
.nav.visible { opacity: 1; transform: none; }
.nav-logo {
  display: flex; align-items: center; text-decoration: none; color: var(--ink);
  /* Die Wortmarke ist nur 12 px hoch; die Klickfläche bekommt 44 px */
  padding: 16px 0; margin: -16px 0; min-height: 44px;
}
.nav-logo .logo-mark { width: 170px; }
.nav-cta {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 4px;
  transition: border-color 0.4s;
}
.nav-cta:hover { border-color: var(--gold); }

/* ─── Nav-Menü (Aufklapper hinter der Marke) ─── */
.nav-logo.has-menu { cursor: pointer; }
.nav-logo.has-menu:hover .logo-mark { opacity: 0.75; }
.nav-logo.has-menu .logo-mark { transition: opacity 0.3s ease; }
.nav-logo.has-menu[aria-expanded="true"] .logo-mark { color: var(--gold); }
.nav-menu {
  position: fixed; top: 76px; left: 48px; z-index: 60;
  min-width: 268px;
  background: rgba(250,247,240,0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(160,122,92,0.3);
  border-top: 2px solid var(--gold);
  box-shadow: 0 18px 50px rgba(60,48,28,0.14);
  padding: 16px 26px 14px;
  max-height: calc(100dvh - 100px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-menu-link {
  display: block; padding: 11px 0;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-ink);
  transition: color 0.3s, padding-left 0.3s;
}
.nav-menu-link:last-of-type { border-bottom: none; }
.nav-menu-link:hover { color: var(--gold); padding-left: 6px; }
@media (max-width: 720px) {
  .nav-menu { left: 24px; right: 24px; top: 68px; min-width: 0; }
}
@media (max-width: 600px) {
  .nav-logo .logo-mark { width: 132px; }
}

/* ─── Scroll-Sequenz-Sektionen ─── */
.seq { position: relative; }
#hero { height: 420vh; }
#macro { height: 380vh; }

.seq .sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: #2a211b;
}
.seq-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
  filter: brightness(1.12) saturate(1.04);
}
/* Die Bildfolgen sind warm und dunkel; der Rand läuft weich ins Creme aus,
   oben nur ein leichter Schleier für die Kopfleiste. */
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(42,33,27,0.35) 100%),
    linear-gradient(to bottom, rgba(42,33,27,0.28) 0%, transparent 16%, transparent 80%, #f8f4ec 100%);
}

/* Hero-Typo */
.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
}
.hero-copy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 64% 48% at 50% 52%,
    rgba(30,22,17,.55), rgba(30,22,17,.22) 58%, transparent 78%);
}
.hero-copy > * { position: relative; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 4.2vw, 68px);
  letter-spacing: 0.015em;
  line-height: 1.18;
  color: #f3ece2;
  text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 2px 16px rgba(0,0,0,.6), 0 2px 60px rgba(0,0,0,.7);
  max-width: 18em;
  padding: 0 6vw;
  hyphens: none;
}
.hero-title span { color: #dbc8bc; }

/* Stage-Texte (an Scrollpositionen fixiert, JS-gesteuert) */
.stage-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8vw;
  pointer-events: none;
  opacity: 0;
}
.stage-copy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(30,22,17,.5), rgba(30,22,17,.2) 45%, transparent 68%);
}
.stage-copy[data-stage="2"] { align-items: flex-end; text-align: right; }
.stage-copy[data-stage="2"]::before {
  background: linear-gradient(270deg, rgba(30,22,17,.5), rgba(30,22,17,.2) 45%, transparent 68%);
}
.stage-copy > * { position: relative; }
.stage-kicker {
  font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase;
  color: #dbc8bc; margin-bottom: 22px;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.stage-line {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.12; color: #f3ece2;
  text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 2px 16px rgba(0,0,0,.6), 0 2px 40px rgba(0,0,0,.8);
}

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: #f3ece2; font-weight: 500;
  text-shadow: 0 1px 14px rgba(0,0,0,0.8), 0 0 3px rgba(0,0,0,0.5);
  transition: opacity 0.6s;
}
.scroll-line {
  width: 1px; height: 48px; overflow: hidden; position: relative;
  background: rgba(243,236,226,0.4);
}
.scroll-line::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: #dbc8bc;
  animation: scrollPulse 2.2s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes scrollPulse {
  0% { top: -50%; } 100% { top: 110%; }
}

/* ─── Gemeinsame Bausteine der Textsektionen ─── */
.eyebrow {
  font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 36px;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.15; margin-bottom: 12vh;
}
.section-title em { color: var(--gold); font-style: italic; }

/* ─── Felder (Story), auf Beige ─── */
.story {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #f8f4ec 0%, #ede1d6 30%, #e8dacd 100%);
  padding: 22vh 8vw 20vh;
}
.story-inner { max-width: 1200px; margin: 0 auto; }
.story-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.15; margin-bottom: 14vh;
}
.story-title em { color: var(--gold); font-style: italic; }
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw;
  margin-bottom: 16vh;
}
.story-card {
  border-top: 1px solid var(--line-gold);
  padding-top: 34px;
}
.card-num {
  font-family: var(--serif); font-size: 15px; color: var(--gold);
  letter-spacing: 0.2em; margin-bottom: 26px;
}
.story-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 26px;
  margin-bottom: 18px; letter-spacing: 0.02em;
}
.story-card p { font-size: 14.5px; line-height: 1.75; color: var(--ink-dim); }
.story-quote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.8vw, 40px); line-height: 1.4;
  color: var(--ink); text-align: center;
}

/* ─── Der Ablauf, auf Creme ─── */
.process {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #f8f4ec 0%, #f3ece2 100%);
  padding: 20vh 8vw;
}
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-steps { display: flex; flex-direction: column; border-left: 1px solid var(--line-gold); }
.step {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 44px 0 44px 40px;
  position: relative;
}
.step::before {
  content: ''; position: absolute; left: -4px; top: 58px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.step-num { font-family: var(--serif); font-size: 17px; color: var(--gold); letter-spacing: 0.2em; }
.step-body h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 14px; }
.step-body p { font-size: 14.5px; line-height: 1.75; color: var(--ink-dim); max-width: 520px; }

/* ─── Grundsätze, auf Beige ─── */
.rules {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #ede1d6 0%, #e6d8ca 100%);
  padding: 20vh 8vw;
}
.rules-inner { max-width: 1100px; margin: 0 auto; }
.rules-rows { display: flex; flex-direction: column; }
.rule {
  display: grid; grid-template-columns: 1fr 60px 1.6fr;
  align-items: baseline; gap: 24px;
  padding: 38px 0;
  border-top: 1px solid var(--line-ink);
}
.rule:last-child { border-bottom: 1px solid var(--line-ink); }
.rule-label { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--ink); }
.rule-arrow { color: var(--gold); font-size: 20px; text-align: center; }
.rule-text { font-size: 15px; line-height: 1.7; color: var(--ink-dim); }

/* ─── Atmosphäre ─── */
.atmo {
  position: relative; height: 130vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #2a211b;
}
.atmo-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.atmo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(42,33,27,0.45) 100%),
    linear-gradient(to bottom, #e6d8ca 0%, transparent 18%, transparent 82%, #f6f0e8 100%);
}
.atmo-copy { position: relative; z-index: 2; text-align: center; }
.atmo-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 8vw, 130px); line-height: 1.05;
  color: #f3ece2;
  text-shadow: 0 2px 60px rgba(0,0,0,0.8);
}

/* ─── Verwaltung und Unternehmen (ruhige Textsektionen, Creme) ─── */
.quiet {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #f6f0e8 0%, #f3ece2 100%);
  padding: 18vh 8vw;
}
.quiet + .quiet { background: linear-gradient(180deg, #f3ece2 0%, #ede3d8 100%); }
.quiet-inner { max-width: 1100px; margin: 0 auto; }
.quiet .section-title { margin-bottom: 7vh; }
.quiet-text { max-width: 720px; }
.quiet-text p { font-size: 15.5px; line-height: 1.85; color: var(--ink-dim); margin-bottom: 18px; }
.quiet-text p:last-child { margin-bottom: 0; }
.quiet-list {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  border-top: 1px solid var(--line-gold);
  padding-top: 24px; margin-top: 34px;
  list-style: none;
}
.quiet-list li { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.quiet-list li::before { content: '—'; color: var(--gold); margin-right: 12px; }

/* ─── Kontakt, auf Beige ─── */
.cta {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #ede3d8 0%, #e3d4c6 100%);
  padding: 24vh 8vw 0;
  text-align: center;
}
.cta .eyebrow { margin-bottom: 36px; }
.cta-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 6vw, 92px); line-height: 1.12;
  margin-bottom: 40px;
}
.cta-sub { font-size: 15px; line-height: 1.9; color: var(--ink-dim); margin-bottom: 56px; }
.cta-link {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid var(--line-gold-strong);
  padding: 20px 44px;
  transition: background 0.4s, color 0.4s;
}
.cta-link:hover { background: var(--gold); color: #f8f4ec; }

/* ─── Fußzeile ─── */
.footer {
  margin-top: 22vh;
  border-top: 1px solid var(--line-ink);
  padding: 72px 0 40px;
  text-align: left;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3vw;
  margin-bottom: 72px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-brand { display: flex; align-items: center; margin-bottom: 8px; color: var(--ink); }
.footer-brand .logo-mark { width: 150px; }
.footer-claim { font-size: 13px; line-height: 1.8; color: var(--ink-dim); }
.footer-head { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--ink-dim); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-base {
  border-top: 1px solid var(--line-ink);
  padding-top: 32px;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ─── Hinweis (kein Cookie, nur Local Storage) ─── */
.notice {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, 24px);
  width: min(680px, calc(100vw - 32px));
  background: rgba(250,247,240,0.97);
  border: 1px solid rgba(160,122,92,0.4);
  border-top: 2px solid var(--gold);
  box-shadow: 0 18px 50px rgba(60,48,28,0.16);
  padding: 24px 28px 20px;
  z-index: 90;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.notice[hidden] { display: none; }
.notice.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.notice__text { flex: 1 1 320px; font-size: 13px; line-height: 1.7; color: var(--ink-dim); }
.notice__text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.notice__button {
  font-family: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 13px 26px; cursor: pointer; transition: all 0.3s;
  background: var(--gold); color: #f8f4ec; border: 1px solid var(--gold); font-weight: 600;
}
.notice__button:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
@media (max-width: 600px) {
  .notice { bottom: 12px; padding: 20px 20px 16px; }
  .notice__button { width: 100%; }
}

/* ─── Rechtliche Unterseiten ─── */
.legal-main { max-width: 760px; margin: 0 auto; padding: 20vh 8vw 10vh; }
.legal-main .eyebrow { margin-bottom: 32px; }
.legal-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.12; margin-bottom: 40px;
}
.legal-block { margin-bottom: 7vh; }
.legal-block h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 26px); margin-bottom: 20px; color: var(--ink); }
.legal-block h3 { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 26px 0 10px; }
.legal-block p { font-size: 14px; line-height: 1.9; color: var(--ink-dim); margin-bottom: 16px; }
.legal-block a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.legal-block ul { list-style: none; margin-bottom: 16px; }
.legal-block li { font-size: 14px; line-height: 1.9; color: var(--ink-dim); padding-left: 22px; position: relative; }
.legal-block li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.legal-stand { font-size: 12px; letter-spacing: 0.1em; }
.legal-footer { margin-top: 8vh; padding: 0 8vw 40px; }
.legal-back { color: var(--ink-dim); text-decoration: none; }
.legal-back:hover { color: var(--gold); }
.legal-intro { font-size: 15.5px; line-height: 1.85; color: var(--ink-dim); margin-bottom: 7vh; max-width: 620px; }

/* ─── Reveal (Scroll-fixierte Einblendungen) ─── */
.reveal {
  opacity: 0; transform: translateY(48px);
  transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.story-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.story-card.reveal:nth-child(3) { transition-delay: 0.24s; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .nav { padding: 18px 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .stage-copy { padding: 0 10vw; }
  .rule { grid-template-columns: 1fr; gap: 12px; }
  .rule-arrow { display: none; }
  .step { grid-template-columns: 1fr; gap: 10px; padding-left: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-grid .footer-col { min-width: 0; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 12px; align-items: center; }
  .cta-link { padding: 16px 20px; letter-spacing: 0.22em; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-line::after { animation: none; }
  .tageslicht::before, .tageslicht::after, .lampen-schein { animation: none; }
}


/* ═══════════ LICHT IM SANIERTEN ZIMMER ═══════════ */

/* ── Tageslicht: kaum merkliche Bewegung im Sonnenstrahl, wie echtes Licht ── */
.tageslicht { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tageslicht::before {
  content: ''; position: absolute; left: -12%; top: -18%; width: 85%; height: 130%;
  background: radial-gradient(ellipse 46% 34% at 30% 34%, rgba(255,214,150,0.16), transparent 68%);
  mix-blend-mode: screen;
  animation: sonnenatem 17s ease-in-out infinite;
}
.tageslicht::after {
  content: ''; position: absolute; left: 4%; top: -8%; width: 70%; height: 120%;
  background: linear-gradient(118deg, transparent 30%, rgba(255,225,170,0.10) 46%, transparent 62%);
  mix-blend-mode: screen;
  animation: sonnenzug 26s ease-in-out infinite;
}
@keyframes sonnenatem {
  0%, 100% { opacity: 0.55; transform: translate3d(0,0,0) scale(1); }
  45%      { opacity: 1;    transform: translate3d(1.2%, 0.8%, 0) scale(1.04); }
  70%      { opacity: 0.7;  transform: translate3d(-0.6%, 0.3%, 0) scale(1.01); }
}
@keyframes sonnenzug {
  0%, 100% { opacity: 0.5; transform: translate3d(0,0,0) skewX(0deg); }
  50%      { opacity: 0.95; transform: translate3d(1.8%, 0, 0) skewX(-1.2deg); }
}

/* ── Die Stehlampe brennt, sobald das Zimmer fertig ist. Sie sitzt im Bild;
   das Skript rechnet ihre Position mit der Cover-Logik des Canvas um. ── */
.lampe {
  position: absolute; z-index: 6;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  pointer-events: none;
  opacity: 0; transition: opacity 0.6s ease;
}
.lampe.bereit { opacity: 1; }
.lampen-schein {
  position: absolute; left: 50%; top: 50%;
  width: calc(225px * var(--licht-skala, 0.85));
  height: calc(225px * var(--licht-skala, 0.85));
  margin: calc(-112px * var(--licht-skala, 0.85)) 0 0 calc(-112px * var(--licht-skala, 0.85));
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,200,1) 0%, rgba(255,224,160,0.55) 18%, rgba(255,205,130,0.18) 40%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2,0.8,0.3,1);
}
.lampen-schein::after {
  content: ''; position: absolute; left: 50%; top: 48%;
  width: calc(236px * var(--licht-skala, 0.85));
  height: calc(343px * var(--licht-skala, 0.85));
  transform: translateX(-50%) rotate(-18deg);
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, rgba(255,232,180,0.5) 0%, rgba(255,216,140,0.22) 38%, transparent 85%);
  -webkit-clip-path: polygon(41% 0, 59% 0, 96% 100%, 4% 100%);
  clip-path: polygon(41% 0, 59% 0, 96% 100%, 4% 100%);
  filter: blur(9px);
  mix-blend-mode: screen;
}
.lampe.bereit .lampen-schein {
  opacity: 1; transform: scale(1);
  animation: lampenflackern 0.5s steps(1) 1, lampenatem 6s ease-in-out 0.6s infinite;
}
@keyframes lampenflackern {
  0% { opacity: 0; } 30% { opacity: 0.9; } 45% { opacity: 0.2; }
  60% { opacity: 1; } 75% { opacity: 0.7; } 100% { opacity: 1; }
}
@keyframes lampenatem {
  0%, 100% { opacity: 1; } 50% { opacity: 0.86; }
}
