
.lg {
  --nacht: #060F1C;
  --nacht-2: #0A1728;
  --hell-grund: #f3f8fb;
  --akzent: #2A6CEE;   --akzent-rgb: 42, 108, 238;
  --indigo: #4E8BFF;   --indigo-rgb: 78, 139, 255;
  --cyan: #7BCDFE;     --cyan-rgb: 123, 205, 254;
  --verlauf: linear-gradient(120deg, var(--akzent) 0%, var(--indigo) 48%, var(--cyan) 100%);
  --verlauf-weich: linear-gradient(120deg, #3B7BF5 0%, #6BA0FF 55%, #9ADAFF 100%);
}
.lg {
  --schrift: -apple-system, "SF Pro Display", "SF Pro Text", system-ui,
             "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-l: 28px; --radius-m: 20px; --radius-s: 14px;
  --dauer: 200ms; --kurve: cubic-bezier(.2, .8, .2, 1);
  --auf-verlauf: #ffffff;
}
.lg {
  color-scheme: dark;
  --bg: var(--nacht);
  --fg: #ffffff;
  --fg-2: rgba(255,255,255,.76);
  --fg-3: rgba(255,255,255,.58);
  --fg-4: rgba(255,255,255,.26);
  --glas: rgba(255,255,255,.055);
  --glas-stark: rgba(255,255,255,.10);
  --glas-rand: rgba(255,255,255,.14);
  --glas-licht: rgba(255,255,255,.30);
  --linie: rgba(255,255,255,.10);
  --eyebrow: #8be9f7;
  --ok: #34d399; --warn: #fbbf24; --kritisch: #fb7185;
  --schatten: 0 40px 90px -36px rgba(0,0,0,.62);
  --schatten-klein: 0 18px 40px -20px rgba(0,0,0,.6);
  --fokus: 0 0 0 3px rgba(var(--cyan-rgb), .6);
  --licht-staerke: 1; --rauschen: .075;
  --vignette: rgba(2,6,16,.36);
}
.lg[data-thema="hell"] {
  color-scheme: light;
  --bg: var(--hell-grund);
  --fg: #0c1526;
  --fg-2: #3b465f;
  --fg-3: #5c6782;
  --fg-4: #a5adc2;
  --glas: rgba(255,255,255,.58);
  --glas-stark: rgba(255,255,255,.76);
  --glas-rand: rgba(12,21,38,.09);
  --glas-licht: rgba(255,255,255,1);
  --linie: rgba(12,21,38,.08);
  --eyebrow: var(--akzent);
  --ok: #14874a; --warn: #b45309; --kritisch: #be123c;
  --schatten: 0 30px 70px -34px rgba(12,21,38,.32);
  --schatten-klein: 0 14px 30px -18px rgba(12,21,38,.3);
  --fokus: 0 0 0 3px rgba(var(--akzent-rgb), .45);
  --licht-staerke: .45; --rauschen: .06;
  --vignette: rgba(12,21,38,.07);
}
.lg, .lg * , .lg *::before, .lg *::after { box-sizing: border-box; }
.lg {
  font-family: var(--schrift); color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
  font-feature-settings: "tnum" 1, "kern" 1;
  -webkit-tap-highlight-color: transparent;
}
.lg-zahl { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.lg :focus-visible { outline: none; box-shadow: var(--fokus); }
.lg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--eyebrow); line-height: 1.4; }
.lg-titel { font-weight: 800; letter-spacing: -.042em; line-height: .98;
  text-wrap: balance; margin: 0; }
.lg-titel em, .lg-verlauf-text { font-style: normal; background: var(--verlauf-weich);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent; padding-right: .04em; }
.lg-text { font-size: 17px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty;
  max-width: 65ch; margin: 0; }
.lg-leise { color: var(--fg-3); }
.lg-buehne { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.lg-buehne-fest { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.lg-licht { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lg-licht i { position: absolute; display: block; border-radius: 50%; filter: blur(70px);
  opacity: var(--licht-staerke); }
.lg-licht .l1 { width: min(980px, 120vw); aspect-ratio: 1; left: -18%; top: -22%;
  background: radial-gradient(closest-side, rgba(var(--akzent-rgb), .72), rgba(var(--akzent-rgb), 0) 72%); }
.lg-licht .l2 { width: min(900px, 110vw); aspect-ratio: 1; right: -20%; top: 18%;
  background: radial-gradient(closest-side, rgba(var(--indigo-rgb), .58), rgba(var(--indigo-rgb), 0) 72%); }
.lg-licht .l3 { width: min(820px, 100vw); aspect-ratio: 1; left: 12%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(var(--cyan-rgb), .36), rgba(var(--cyan-rgb), 0) 72%); }
.lg-licht .l4 { left: 0; right: 0; height: 40%; bottom: -24%; border-radius: 0; filter: blur(40px);
  background: radial-gradient(60% 100% at 50% 100%, rgba(var(--akzent-rgb), .35), rgba(var(--akzent-rgb), 0)); }
.lg-rauschen { position: absolute; inset: 0; pointer-events: none; opacity: var(--rauschen);
  mix-blend-mode: soft-light; background-size: 320px 320px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.lg-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 42%, transparent 58%, var(--vignette) 100%); }
.lg-glas {
  background: var(--glas); border: 1px solid var(--glas-rand); border-radius: var(--radius-l);
  -webkit-backdrop-filter: blur(34px) saturate(170%); backdrop-filter: blur(34px) saturate(170%);
  box-shadow: var(--schatten), inset 0 1px 0 var(--glas-licht);
}
.lg-refrakt {
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
}
.lg-knopf {
  appearance: none; border: 1px solid var(--glas-rand); min-height: 44px; min-width: 44px;
  padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--schrift); color: var(--fg);
  background: var(--glas-stark); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; letter-spacing: -.005em;
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: var(--schatten-klein), inset 0 1px 0 var(--glas-licht);
  transition: transform var(--dauer) var(--kurve), background var(--dauer) var(--kurve);
}
.lg-knopf:hover { background: var(--glas-rand); }
.lg-knopf:active { transform: scale(.97); }
.lg-knopf-akzent { background: var(--verlauf); color: var(--auf-verlauf); border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(var(--akzent-rgb), .7), inset 0 1px 0 rgba(255,255,255,.35); }
.lg-knopf-akzent:hover { background: var(--verlauf); filter: brightness(1.06); }
.lg-feld { font: 500 16px/1.2 var(--schrift); color: var(--fg); background: var(--glas);
  border: 1px solid var(--glas-rand); border-radius: 999px; min-height: 48px; padding: 0 18px;
  width: 100%; outline: none; }
.lg-feld::placeholder { color: var(--fg-3); }
.lg-feld:focus-visible { box-shadow: var(--fokus); }
.lg-nur-leser { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .lg *, .lg *::before, .lg *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ===== MIRSYON-Seite "Oberflächen" ======================================== */
/* Der gemeinsame SVG-Verlauf der Bausteine hängt am body (außerhalb von .lg) */
:root { --akzent-rgb: 42, 108, 238; --indigo: #4E8BFF; --cyan: #7BCDFE; }
.lg { --schrift: var(--font-text, -apple-system, system-ui, sans-serif); --eyebrow: #9ADAFF; }
.ofl.lg { background: transparent; color: inherit; }
.ofl-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ofl-schau { grid-column: span 6; display: flex; flex-direction: column; padding: 28px; min-width: 0; }
.ofl-schau.breit { grid-column: span 12; }
.ofl-schau > header { display: grid; gap: 10px; margin-bottom: 22px; }
.ofl-schau h2 { margin: 0; font: 700 clamp(1.25rem, 2.2vw, 1.55rem)/1.15 var(--font-display, var(--schrift)); letter-spacing: -.02em; color: var(--fg); }
.ofl-schau .lg-text { font-size: 15px; margin: 0; }
.ofl-probe { flex: 1; min-height: 180px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: center; padding: 28px 16px; border-radius: 22px; position: relative; overflow: hidden;
  background: rgba(6, 15, 28, .45); border: 1px solid var(--linie); }
.ofl-streifen { min-height: 200px; align-items: center;
  background: radial-gradient(60% 120% at 20% 50%, rgba(var(--akzent-rgb), .55), transparent 60%),
    radial-gradient(50% 120% at 80% 40%, rgba(var(--cyan-rgb), .35), transparent 60%),
    repeating-linear-gradient(100deg, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.12) 22px 24px), rgba(6,15,28,.6); }
.ofl-streifen .lg-navbar { position: relative; }
.ofl-spalte { flex-direction: column; }
.ofl-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glas-stark); border: 1px solid var(--glas-rand); color: var(--fg); }
.ofl-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ofl-liste { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ofl-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px;
  background: var(--glas); border: 1px solid var(--linie); color: var(--fg); }
.ofl-liste li span:last-child { font-variant-numeric: tabular-nums; color: var(--fg-2); }
.ofl-hinweis { margin: 0 0 28px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 999px; font-size: 14px; color: var(--fg-2); background: var(--glas); border: 1px solid var(--glas-rand); }
.ofl-hinweis i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
/* Geschlossenes Blatt unsichtbar: Bei offener iPhone-Tastatur ragte sonst sein Kopf über die Tastatur */
.lg-blatt-wurzel:not([data-offen="true"]):not([data-zieht="true"]) .lg-blatt-flaeche {
  visibility: hidden; transition: transform .46s cubic-bezier(.32,.72,0,1), visibility 0s linear .46s; }
.ofl-film { margin: 0 0 32px; padding: 10px; border-radius: 28px; overflow: hidden; }
.ofl-film video { display: block; width: 100%; height: auto; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; background: #060F1C; }
@media (max-width: 720px) { .ofl-film video { aspect-ratio: 9 / 16; width: min(100%, calc(78svh * 9 / 16)); margin: 0 auto; } }
@media (max-width: 960px) { .ofl-schau { grid-column: span 12; } }
@media (max-width: 720px) { .ofl-raster { gap: 16px; } .ofl-schau { padding: 20px; } .ofl-probe { padding: 22px 12px; } }
