/* Programm-App: Styles aus Simon Graffs Web-App, angepasst an die Website (Schriften, Farben, Verlauf; Sarah 2026-10-30). Schriften selbst gehostet (fonts/) */
@font-face{font-family:'Montserrat Variable';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations')}
@font-face{font-family:'Lora Variable';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/lora-latin-wght-normal.woff2) format('woff2-variations')}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root,[data-theme="light"]{--bg:#f4f0eb;--bg-warm:#efe9e1;--bg-card:#fff;--bg-header:#143433;--bg-teal-soft:rgba(26,42,42,.06);--text-primary:#1a2a2a;--text-secondary:#5a6868;--text-muted:#667272;--text-on-header:#f4f0eb;--nr-coral:#c74620;--nr-coral-soft:rgba(199,70,32,.08);--nr-coral-mid:rgba(199,70,32,.15);--nr-coral-vivid:#ff5228;--stage-orange:#e04820;--stage-orange-bg:rgba(224,72,32,.08);--stage-blue:#3a7ec8;--stage-blue-bg:rgba(58,126,200,.08);--stage-green:#2a8a6a;--stage-green-bg:rgba(42,138,106,.08);--stage-yellow:#c8920a;--stage-yellow-bg:rgba(200,146,10,.08);--stage-grey:#6a7a80;--stage-grey-bg:rgba(106,122,128,.08);--stage-purple:#7a5eb0;--stage-purple-bg:rgba(122,94,176,.08);--stage-pink:#c05878;--stage-pink-bg:rgba(192,88,120,.08);--border:rgba(26,42,42,.08);--border-strong:rgba(26,42,42,.14);--shadow-sm:0 1px 3px rgba(26,42,42,.06);--shadow-live:0 2px 12px rgba(224,72,32,.1);--hero-overlay:linear-gradient(180deg,rgba(20,52,51,.15) 0%,rgba(20,52,51,.6) 55%,rgba(20,52,51,.95) 100%);--hero-opacity:.75;--conflict-bg:rgba(224,72,32,.06);--conflict-border:rgba(224,72,32,.25);--page-bg:linear-gradient(158deg,#9aa89d 0%,#e3a87f 20%,#e8752c 42%,#d6502d 62%,#c5292a 82%,#ab1c27 100%);--panel-bg:rgba(255,255,255,.55)}
[data-theme="dark"]{--bg:#0e1414;--bg-warm:#121a1a;--bg-card:#1a2222;--bg-header:#143433;--bg-teal-soft:rgba(200,220,220,.06);--text-primary:#e8e4df;--text-secondary:#8a9696;--text-muted:#5a6666;--text-on-header:#e8e4df;--nr-coral:#ff5c30;--nr-coral-soft:rgba(255,92,48,.10);--nr-coral-mid:rgba(255,92,48,.18);--nr-coral-vivid:#ff6840;--stage-orange:#ff5c30;--stage-orange-bg:rgba(255,92,48,.10);--stage-blue:#5a9eee;--stage-blue-bg:rgba(90,158,238,.10);--stage-green:#3aba8a;--stage-green-bg:rgba(58,186,138,.10);--stage-yellow:#e0a820;--stage-yellow-bg:rgba(224,168,32,.10);--stage-grey:#8a9aa0;--stage-grey-bg:rgba(138,154,160,.10);--stage-purple:#9a7ed0;--stage-purple-bg:rgba(154,126,208,.10);--stage-pink:#e06898;--stage-pink-bg:rgba(224,104,152,.10);--border:rgba(255,255,255,.07);--border-strong:rgba(255,255,255,.12);--shadow-sm:0 1px 3px rgba(0,0,0,.2);--shadow-live:0 2px 12px rgba(255,92,48,.15);--hero-overlay:linear-gradient(180deg,rgba(8,12,12,.2) 0%,rgba(8,12,12,.75) 55%,rgba(8,12,12,1) 100%);--hero-opacity:.6;--conflict-bg:rgba(255,92,48,.08);--conflict-border:rgba(255,92,48,.3);--page-bg:var(--bg);--panel-bg:transparent}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){--bg:#0e1414;--bg-warm:#121a1a;--bg-card:#1a2222;--bg-header:#143433;--bg-teal-soft:rgba(200,220,220,.06);--text-primary:#e8e4df;--text-secondary:#8a9696;--text-muted:#5a6666;--text-on-header:#e8e4df;--nr-coral:#ff5c30;--nr-coral-soft:rgba(255,92,48,.10);--nr-coral-mid:rgba(255,92,48,.18);--nr-coral-vivid:#ff6840;--stage-orange:#ff5c30;--stage-orange-bg:rgba(255,92,48,.10);--stage-blue:#5a9eee;--stage-blue-bg:rgba(90,158,238,.10);--stage-green:#3aba8a;--stage-green-bg:rgba(58,186,138,.10);--stage-yellow:#e0a820;--stage-yellow-bg:rgba(224,168,32,.10);--stage-grey:#8a9aa0;--stage-grey-bg:rgba(138,154,160,.10);--stage-purple:#9a7ed0;--stage-purple-bg:rgba(154,126,208,.10);--stage-pink:#e06898;--stage-pink-bg:rgba(224,104,152,.10);--border:rgba(255,255,255,.07);--border-strong:rgba(255,255,255,.12);--shadow-sm:0 1px 3px rgba(0,0,0,.2);--shadow-live:0 2px 12px rgba(255,92,48,.15);--hero-overlay:linear-gradient(180deg,rgba(8,12,12,.2) 0%,rgba(8,12,12,.75) 55%,rgba(8,12,12,1) 100%);--hero-opacity:.6;--conflict-bg:rgba(255,92,48,.08);--conflict-border:rgba(255,92,48,.3);--page-bg:var(--bg);--panel-bg:transparent}}
html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:'Montserrat Variable',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text-primary);min-height:100dvh;overflow-x:hidden;-webkit-font-smoothing:antialiased;transition:background .3s,color .3s}#root{min-height:100dvh;display:flex;flex-direction:column}button{font-family:'Montserrat Variable',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;cursor:pointer}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:4px}
@keyframes pulse-dot{0%,100%{opacity:1}50%{opacity:.3}}@keyframes fade-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Einbettung auf /program/: keine Mindesthöhe (sonst schrumpft das iframe nie), Hintergrund der Website */
html.is-embed body,html.is-embed #root{min-height:0}
html.is-transparent body{background:transparent}
/* Einbettung im Dunkelmodus: eigener Hintergrund statt transparent, sonst helle Schrift auf heller Website */
html.is-transparent[data-theme="dark"] body{background:var(--bg);border-radius:16px}

/* Inhalt der Web-App als halbtransparente Fläche auf dem Verlauf, wie die Website (bg-white/50, rounded-3xl) */
.nr-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:24px;margin-top:12px!important;padding-bottom:16px}
/* Verlauf der Website als feste Ebene hinter dem Inhalt (background-attachment:fixed kann iOS nicht) */
html:not(.is-embed) body::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--page-bg);pointer-events:none}
[data-theme="dark"] .nr-logo-mono{filter:invert(1)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .nr-logo-mono{filter:invert(1)}}
