/* seritha.dev – Stylesheet
   Übertragen aus den Design-Vorlagen (Startseite, Projekte, Rechtliches).
   Keine Inline-Styles: die Content-Security-Policy erlaubt nur 'self'. */

/* ---------- Schriften (selbst gehostet, SIL OFL 1.1, siehe /fonts/OFL.txt) ---------- */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Grundlagen ---------- */
:root{
  --bg:#16181d;
  --surface:#1e2128;
  --line:#2a2d36;
  --line-strong:#3a3e47;
  --text:#e8e9ec;
  --white:#ffffff;
  --muted:#9da2ac;
  --soft:#c9cbd1;
  --link:#9aa8ff;
  --link-hover:#c0c8ff;
  --accent:#3a4fe0;
  --accent-2:#5568f0;
  --green:#6fd39f;
  --sans:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  color-scheme:dark;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg)}
/* :where() hält die Spezifität bei 0, damit Klassenfarben (wie die Inline-Farben im Design) gewinnen */
:where(a){color:var(--link)}
:where(a:hover){color:var(--link-hover)}
img,svg{flex-shrink:0}
[hidden]{display:none!important}

.p-home a:focus-visible,.p-home button:focus-visible,
.p-legal a:focus-visible,.p-legal button:focus-visible,
.p-error a:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px;border-radius:6px}
.p-projects a:focus-visible,.p-projects button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

.skip{position:absolute;left:12px;top:-100px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--accent);color:var(--white);font-family:var(--sans);font-weight:600;text-decoration:none}
.skip:focus,.skip:focus-visible{top:12px;color:var(--white)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mono{font-family:var(--mono)}

/* Seitenrahmen (entspricht dem äußeren div der Vorlagen) */
.page{min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--sans)}
.p-home .page{font-size:16px;line-height:1.55;display:flex;flex-direction:column;overflow:hidden}
.p-projects .page{font-size:15px;line-height:1.55}
.p-legal .page{font-size:15px;line-height:1.65}
.p-error .page{font-size:16px;line-height:1.55;display:flex;flex-direction:column;overflow:hidden}

/* Marke */
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--white);text-decoration:none;min-height:44px}
.brand:hover{color:var(--white)}
.p-projects .brand,.p-projects .brand:hover{color:var(--text)}
.brand img{width:36px;height:36px;display:block}
.brand-name{font-size:18px;font-weight:700;letter-spacing:-0.01em}
.brand-name span{color:var(--muted);font-weight:500}

/* JS-/No-JS-Umschaltung (Klasse "js" setzt /assets/early.js) */
html.js .nojs-only{display:none!important}
html:not(.js) .js-only{display:none!important}

/* ======================================================================
   Startseite
   ====================================================================== */
@keyframes sd-spin{to{transform:rotate(360deg)}}
@keyframes sd-spin-rev{to{transform:rotate(-360deg)}}
@keyframes sd-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes sd-marquee{to{transform:translateX(-50%)}}
@keyframes sd-blink{50%{opacity:0}}
@keyframes sd-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.sd-ring{animation:sd-spin 60s linear infinite}
.sd-ring-rev{animation:sd-spin-rev 90s linear infinite}
.sd-float{animation:sd-float 6s ease-in-out infinite}
.sd-marquee{animation:sd-marquee 40s linear infinite}
.sd-caret{animation:sd-blink 1s steps(1) infinite}
.sd-word{display:inline-block;animation:sd-in .35s ease-out}
.sd-tile{transition:transform .12s ease,border-color .12s ease}
.sd-tile:hover{transform:translateY(-4px);border-color:#4a4e58}
.sd-cta{transition:background-color .12s ease}
.sd-cta:hover{background-color:#4357e6}

.svg-defs{position:absolute}

.h-home{position:relative;z-index:2}
.h-home .bar{max-width:1240px;margin:0 auto;padding:18px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.h-home nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.nav-plain{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;color:var(--text);text-decoration:none;font-weight:500}
.nav-plain:hover{color:var(--text)}
.nav-outline{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line-strong);color:var(--white);text-decoration:none;font-weight:600}
.nav-outline:hover{color:var(--white)}

.home-main{flex:1 1 auto;position:relative;display:flex;flex-direction:column}
.dots{position:absolute;inset:0;width:100%;height:100%;z-index:0}

.hero{position:relative;z-index:1;max-width:1240px;width:100%;box-sizing:border-box;margin:0 auto;padding:56px 32px 72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr));gap:56px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:26px;min-width:0}
.chip{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;height:32px;padding:0 14px;border-radius:18px;border:1px solid var(--line);background:var(--surface);font-family:var(--mono);font-size:12px;color:var(--soft)}
.chip-dot{width:8px;height:8px;border-radius:4px;background:var(--green);flex-shrink:0}
.hero-title{margin:0;font-size:clamp(46px,7.4vw,104px);line-height:.98;font-weight:700;letter-spacing:-0.045em;color:var(--white)}
.nowrap{white-space:nowrap}
.hero-title .sd-word{color:var(--link)}
.sd-caret{display:inline-block;width:.08em;height:.82em;margin-left:.06em;background:var(--accent-2);vertical-align:-0.04em}
.lead{margin:0;max-width:560px;font-size:19px;line-height:1.55;color:var(--soft)}
.ctas{display:flex;flex-wrap:wrap;gap:12px}
.btn-cta{display:inline-flex;align-items:center;gap:12px;min-height:58px;padding:0 28px;border-radius:12px;background:var(--accent);color:var(--white);text-decoration:none;font-size:18px;font-weight:600}
.btn-cta:hover{color:var(--white)}
.btn-ghost-lg{display:inline-flex;align-items:center;min-height:58px;padding:0 24px;border-radius:12px;border:1px solid var(--line-strong);color:var(--text);text-decoration:none;font-size:17px;font-weight:600}
.btn-ghost-lg:hover{color:var(--text)}
.stats-inline{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:10px 28px;font-family:var(--mono);font-size:13px;color:var(--muted)}
.stats-inline div{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:8px}
.stats-inline dd{margin:0;color:var(--white)}

.orbit{justify-self:center;position:relative;width:min(100%,520px);aspect-ratio:1/1}
.orbit-line{position:absolute;inset:0;border-radius:50%;border:1px solid var(--line)}
.orbit-ring{position:absolute;inset:0;border-radius:50%}
.orbit-dot-a{position:absolute;top:-5px;left:calc(50% - 5px);width:10px;height:10px;border-radius:5px;background:var(--accent-2)}
.orbit-dot-b{position:absolute;bottom:14%;right:6%;width:6px;height:6px;border-radius:3px;background:var(--muted)}
.orbit-ring-inner{position:absolute;inset:17%;border-radius:50%;border:1px dashed #33363f}
.orbit-dot-c{position:absolute;top:50%;left:-4px;width:8px;height:8px;border-radius:4px;background:var(--green)}
.orbit-core{position:absolute;inset:30%;border-radius:50%;border:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:center}
.orbit-core img{width:86%;height:86%;object-fit:contain}

.tile{position:absolute;width:44%;max-width:196px;box-sizing:border-box;background:var(--surface);border:1px solid var(--line-strong);border-radius:14px;padding:12px;display:flex;align-items:center;gap:10px;color:var(--white);text-decoration:none}
.tile:hover{color:var(--white)}
.tile--soon,.tile--soon:hover{border-color:var(--line);color:var(--text)}
.sd-tile.tile--soon:hover{border-color:#4a4e58}
.tile--q{top:2%;left:0}
.tile--g{top:14%;right:0;animation-delay:-1.5s}
.tile--h{bottom:12%;left:2%;animation-delay:-3s}
.tile--n{bottom:0;right:4%;animation-delay:-4.5s}
.tile-icon{width:36px;height:36px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.tile-text{display:flex;flex-direction:column;min-width:0}
.tile-name{font-weight:600;font-size:15px}
.tile-status{font-family:var(--mono);font-size:11px;color:var(--muted)}
.tile-status--live{color:var(--green)}

/* Projekt-Icons (Hintergründe aus den Vorlagen) */
.ic-q{background:var(--accent)}
.ic-g{background:#0f6e56}
.ic-h{background:#03060c;border:1px solid var(--line-strong);box-sizing:border-box}
.ic-n{background:var(--white);border-radius:18px}

.marquee{position:relative;z-index:1;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);overflow:hidden}
.marquee-track{display:flex;width:max-content;padding:16px 0;font-family:var(--mono);font-size:14px;color:var(--soft);white-space:nowrap}
.marquee-group{display:inline-flex;gap:40px;padding-right:40px}
.marquee-sep{color:var(--accent-2)}

.f-home{position:relative;z-index:1}
.f-home .bar{max-width:1240px;margin:0 auto;padding:20px 32px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;font-size:13px;color:var(--muted)}
.foot-nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.foot-nav a,.foot-link{display:inline-flex;align-items:center;min-height:44px}

/* ======================================================================
   Projekte
   ====================================================================== */
.h-proj{border-bottom:1px solid var(--line);background:var(--bg)}
.h-proj .bar{max-width:1120px;margin:0 auto;padding:18px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px}
.h-proj nav{display:flex;flex-wrap:wrap;gap:4px}
.h-proj nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;color:var(--text);text-decoration:none;font-weight:500}

.eyebrow{font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

.p-hero{max-width:1120px;margin:0 auto;padding:96px 32px 72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:end}
.p-hero-copy{display:flex;flex-direction:column;gap:20px}
.p-hero h1{margin:0;font-size:clamp(34px,5vw,52px);line-height:1.08;font-weight:700;letter-spacing:-0.025em}
.p-hero p{margin:0;max-width:580px;font-size:18px;line-height:1.55;color:var(--muted)}
.statbox{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.statbox div{display:flex;flex-direction:column;gap:2px}
.statbox dt{font-size:12px;color:var(--muted)}
.statbox dd{margin:0;font-family:var(--mono);font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}
.statbox dd.statbox-date{font-size:15px;font-weight:400;padding-top:6px}

.proj{max-width:1120px;margin:0 auto;padding:0 32px 88px;display:flex;flex-direction:column;gap:20px}
.sec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;border-top:1px solid var(--line);padding-top:28px}
.h2{margin:0;font-size:26px;font-weight:700;letter-spacing:-0.02em}
.sec-head span{font-size:13px;color:var(--muted)}
.group-title{margin:12px 0 0;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.group-title--2{margin-top:20px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:14px;min-width:0}
.card-head{display:flex;align-items:center;gap:12px}
.card-icon{width:40px;height:40px;border-radius:10px;color:var(--white);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.card-icon.ic-q{background:var(--accent)}
.card-icon.ic-g{background:#0f6e56}
.card-icon.ic-h{background:#03060c;color:#ffb23f;border:0}
.card-icon.ic-n{background:#030213;border-radius:20px}
.card-title{display:flex;flex-direction:column;min-width:0}
.card-title h4{margin:0;font-size:20px;font-weight:700;letter-spacing:-0.01em}
.card-domain{font-family:var(--mono);font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.blur-4{filter:blur(4px);-webkit-user-select:none;user-select:none}
.badges{display:flex;flex-wrap:wrap;gap:6px}
.badge{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:600}
.badge--green{background:#12301f;color:var(--green)}
.badge--blue{background:#142640;color:#8db8ff}
.badge--gray{background:#2a2d34;color:var(--soft)}
.badge--amber{background:#3a2c0f;color:#f0b444}
.card p{margin:0}
.card .meta{font-family:var(--mono);font-size:12px;color:var(--muted)}
.card-body{display:flex;flex-direction:column;gap:14px}
.card-body--blur{filter:blur(5px);-webkit-user-select:none;user-select:none;pointer-events:none}
.card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:4px}
.btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;text-decoration:none;font-weight:600}
.btn--primary,.btn--primary:hover{background:var(--accent);color:var(--white)}
.btn--secondary,.btn--secondary:hover{background:var(--surface);border:1px solid var(--line-strong);color:var(--text)}
.btn--soon{background:#2a2d34;color:var(--soft);cursor:default}

.ways{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ways-inner{max-width:1120px;margin:0 auto;padding:72px 32px;display:flex;flex-direction:column;gap:32px}
.ways-intro{display:flex;flex-direction:column;gap:8px;max-width:620px}
.ways-intro p{margin:0;color:var(--muted)}
.ways-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}
.way{border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px}
.way-icon{color:var(--accent);display:inline-flex}
.way h3{margin:0;font-size:16px;font-weight:600}
.way p{margin:0;font-size:14px;color:var(--muted)}

/* Mitmachen */
.join{max-width:1120px;margin:0 auto;padding:72px 32px 0}
.join-box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:32px;display:flex;flex-direction:column;gap:24px}
.join-intro{display:flex;flex-direction:column;gap:8px;max-width:720px}
.join-intro h2{line-height:1.25}
.join-intro p{margin:0;font-size:17px;color:var(--muted)}
.ubtn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border:0;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.ubtn--primary,.ubtn--primary:hover{background:var(--accent);color:var(--white)}
.ubtn--secondary,.ubtn--secondary:hover{padding:0 18px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text)}
.ubtn--link,.ubtn--link:hover{padding:0 18px;background:transparent;color:var(--link)}
/* Fragebogen: Einstieg, Fortschritt, Schritte */
.mm-host{display:flex;flex-direction:column}
.mm-intro,.mm-nojs{display:flex;flex-direction:column;gap:16px}
.mm-intro p,.mm-nojs p{margin:0;max-width:720px;color:var(--soft)}
.mm-intro .mono{overflow-wrap:anywhere}
.mm-matrix{display:flex;flex-direction:column;gap:20px}
.mm-progress{display:flex;flex-direction:column;gap:8px}
.mm-progress-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.mm-bar{display:flex;gap:4px;height:3px}
.mm-seg{flex:1 1 0;height:3px;border-radius:2px;background:var(--line)}
.mm-seg.is-done{background:var(--accent)}
.mm-q{margin:0;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:18px;min-width:0;min-height:200px}
.mm-q-legend{padding:0 6px;margin-left:-6px;margin-bottom:2px}
.mm-title{margin:0;font-size:19px;font-weight:600;line-height:1.35;letter-spacing:-0.005em}
.mm-title:focus{outline:none}
.mm-step-hint{margin:-10px 0 0;font-size:13px;color:var(--muted)}
.mm-hint{font-size:13px;color:var(--muted)}
.mm-field,.mm-group{margin:0;padding:0;border:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.mm-legend{padding:0;margin-bottom:8px;font-size:15px;font-weight:600}
.mm-label{font-size:15px;font-weight:600}
.mm-field-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:20px}
.mm-clear{min-height:32px;padding:0 2px;border:0;background:transparent;color:var(--link);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.mm-clear:hover{color:var(--link-hover)}
/* Auswahl: echte Checkboxen/Radios, als Chips bzw. Kacheln gestaltet */
.mm-in{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.mm-opts{display:flex;flex-wrap:wrap;gap:8px}
.mm-opt{position:relative;display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:0 14px;border:1px solid var(--line-strong);border-radius:22px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.mm-opt svg{display:none}
.mm-opt.is-on{gap:6px;border-color:var(--accent);background:#222845;color:var(--link-hover);font-weight:600}
.mm-opt.is-on svg{display:block}
.mm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:10px}
.mm-card{position:relative;display:flex;align-items:flex-start;gap:12px;min-height:44px;box-sizing:border-box;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);cursor:pointer}
.mm-card.is-on{border-color:var(--accent);background:#222845}
.mm-mark{flex-shrink:0;width:18px;height:18px;margin-top:2px;box-sizing:border-box;border:2px solid #4a4e58;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:var(--white)}
.mm-mark--radio{border-radius:50%}
.mm-mark svg{display:none}
.mm-card.is-on .mm-mark{background:var(--accent);border-color:var(--accent)}
.mm-card.is-on .mm-mark svg{display:block}
.mm-card-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.mm-card-title{font-weight:600}
.mm-card.is-on .mm-card-title{color:var(--link-hover)}
.mm-card-desc{font-size:13px;line-height:1.45;color:var(--muted)}
.mm-opt:has(.mm-in:focus-visible),.mm-card:has(.mm-in:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
@supports not selector(:has(a)){
  .mm-opt:focus-within,.mm-card:focus-within{outline:2px solid var(--accent);outline-offset:2px}
}
.mm-check{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}
.mm-check input{flex-shrink:0;width:18px;height:18px;margin:0;accent-color:var(--accent);cursor:pointer}
.mm-check input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mm-input{box-sizing:border-box;width:100%;max-width:600px;min-height:44px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;line-height:1.5}
textarea.mm-input{min-height:92px;resize:vertical}
.mm-input::placeholder{color:#868b95;opacity:1}
.mm-input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.mm-note{margin:0;display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:var(--bg);color:var(--soft);font-size:14px}
.mm-note svg{flex-shrink:0;margin-top:2px;color:var(--muted)}
.mm-error{margin:0;display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:#3a2c0f;color:#f6d38f;font-size:14px;font-weight:600}
.mm-error svg{flex-shrink:0;margin-top:2px}
.mm-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
/* Vorschau */
.mm-mail{display:flex;flex-direction:column;gap:16px}
.mm-review-head{display:flex;flex-direction:column;gap:12px}
.mm-review-head .mm-step-hint{margin:-6px 0 0}
.mm-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mm-edit-label{font-size:13px;color:var(--muted);margin-right:4px}
.mm-edit-btn{gap:6px}
.mm-edit-btn svg{display:block;color:var(--muted)}
.mm-notice{background:#3a2c0f;border-radius:10px;padding:12px 14px;display:flex;gap:10px;color:#f6d38f;font-size:14px}
.mm-notice svg{flex-shrink:0;margin-top:2px}
.mm-preview{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.mm-preview-head{display:grid;grid-template-columns:80px 1fr;gap:4px 12px;padding:14px 18px;background:var(--bg);border-bottom:1px solid var(--line);font-size:14px}
.mm-preview-head span:nth-child(odd){color:var(--muted)}
.mm-preview-head span:nth-child(even){font-weight:600;min-width:0;overflow-wrap:anywhere}
.mm-preview-head span.mono{font-weight:500}
.mm-preview-body{padding:18px;font-size:15px;line-height:1.7}
.mm-mailtext{white-space:pre-wrap;overflow-wrap:anywhere}
.mm-mail-h{font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--white)}
.mm-sendto{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;background:var(--bg);border-radius:10px;padding:14px 18px}
.mm-sendto > span{font-size:13px;color:var(--muted)}
.mm-sendto a{font-family:var(--mono);font-size:17px;font-weight:500;overflow-wrap:anywhere}
.mm-sendto .mm-addr-copy{min-height:44px;padding:0 4px;margin-left:auto;font-size:14px}
.mm-privacy{margin:0;display:flex;gap:10px;font-size:13px;color:var(--muted);max-width:760px}
.mm-privacy svg{flex-shrink:0;margin-top:1px}
.mm-actions{display:flex;flex-wrap:wrap;gap:10px}
.mm-stage:focus{outline:none}
.mm-copybuf{position:fixed;top:0;left:-9999px;width:1px;height:1px;opacity:0}
@keyframes mm-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.mm-anim{animation:mm-in .22s ease-out}

/* Kontakt */
.contact{max-width:1120px;margin:0 auto;padding:72px 32px 88px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:28px 48px;align-items:start}
.contact-intro{display:flex;flex-direction:column;gap:8px}
.contact-intro p{margin:0;color:var(--muted)}
.contact-box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:4px}
.contact-row,.contact-row:hover{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 10px;border-radius:10px;color:var(--text);text-decoration:none}
.contact-row > span:first-child{display:inline-flex;align-items:center;gap:10px;font-weight:600}
.contact-aside{font-size:13px;color:var(--muted)}
.contact-aside.mono{font-family:var(--mono)}
.contact-sep{height:1px;background:var(--line);margin:0 10px}

.f-proj{border-top:1px solid var(--line)}
.f-proj .bar{max-width:1120px;margin:0 auto;padding:24px 32px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;font-size:13px;color:var(--muted)}

/* ======================================================================
   Rechtliches
   ====================================================================== */
.h-legal{border-bottom:1px solid var(--line)}
.h-legal .bar{max-width:1120px;margin:0 auto;padding:14px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.h-legal-left{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.h-legal-path{font-family:var(--mono);font-size:13px;color:var(--muted)}

.legal-main{max-width:860px;margin:0 auto;padding:56px 20px 88px;display:flex;flex-direction:column;gap:22px}
.legal-head{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.legal-head h1{margin:0;font-size:clamp(34px,5vw,46px);line-height:1.1;font-weight:700;letter-spacing:-0.03em;color:var(--white)}
.legal-head p{margin:0;color:var(--muted)}

.switch-row{display:flex;justify-content:center}
.switch{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;padding:4px;border:1px solid var(--line);border-radius:26px;background:var(--surface);max-width:100%;box-sizing:border-box}
.switch-sep{color:#4a4e58;padding:0 2px}
.switch-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:0;border-radius:22px;background:transparent;color:var(--soft);font:inherit;font-size:15px;font-weight:500;cursor:pointer;text-decoration:none}
.switch-btn:hover{color:var(--soft)}
.switch-btn.is-on,.switch-btn.is-on:hover{background:var(--accent);color:var(--white);font-weight:600}
.legal-toc{display:flex;flex-direction:column;gap:12px}
.switch-label{font-size:13px;color:var(--muted);padding:0 8px 0 12px}

/* Ausgewählter Zustand rein über Attribute an <html>, damit er schon vor site.js stimmt */
html[data-lang="de"] [data-set-lang="de"],html[data-lang="en"] [data-set-lang="en"],
html[data-tab="tos"] [data-set-tab="tos"],html[data-tab="datenschutz"] [data-set-tab="datenschutz"],
html[data-tab="impressum"] [data-set-tab="impressum"],html[data-tab="barrierefreiheit"] [data-set-tab="barrierefreiheit"]{background:var(--accent);color:var(--white);font-weight:600}

/* Sprachabhängige Texte im Kopf und bei den Projektkarten */
html:not([data-lang="en"]) .only-en{display:none!important}
html[data-lang="en"] .only-de{display:none!important}

.lg-group{display:flex;flex-direction:column;gap:22px}
.lg-group-head{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding-top:26px;border-top:1px solid var(--line)}
.lg-group-head h2{margin:0;font-size:26px;font-weight:700;letter-spacing:-0.02em;color:var(--white)}
.lg-group-head p{margin:0;color:var(--muted)}
/* Mit JS: nur die gewählte Sprache und der gewählte Bereich */
html.js[data-lang="de"] #en,html.js[data-lang="en"] #de{display:none}
html.js .lg{display:none}
html.js[data-tab="tos"] .lg[data-tab="tos"],
html.js[data-tab="datenschutz"] .lg[data-tab="datenschutz"],
html.js[data-tab="impressum"] .lg[data-tab="impressum"],
html.js[data-tab="barrierefreiheit"] .lg[data-tab="barrierefreiheit"]{display:block}

.lg{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:clamp(20px,4vw,32px);overflow-wrap:break-word;scroll-margin-top:16px}
.lg h2.title{margin:0 0 6px;font-size:26px;font-weight:700;letter-spacing:-0.02em;color:var(--white)}
.lg h3{margin:28px 0 8px;font-size:18px;font-weight:700;letter-spacing:-0.01em;color:var(--white)}
.lg p{margin:0 0 10px}
.lg ul,.lg ol{margin:0 0 10px;padding-left:22px}
.lg li{margin:0 0 6px}
.lg .table-wrap{overflow-x:auto}
.lg table{width:100%;border-collapse:collapse;font-size:14px;margin:6px 0 12px}
.lg th,.lg td{text-align:left;vertical-align:top;padding:9px 10px;border-bottom:1px solid var(--line)}
.lg th{font-size:12px;font-weight:600;color:var(--muted)}
.lg .mono{font-family:var(--mono);font-size:14px}
.lg .note{margin-top:22px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}

.plegal{display:flex;flex-direction:column;gap:14px}
.plegal h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-0.01em}
.plegal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.plegal-card,.plegal-card:hover{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;color:var(--text);text-decoration:none;min-width:0}
.plegal-head{display:flex;align-items:center;gap:10px}
.plegal-icon{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.plegal-icon.ic-n{border-radius:14px}
.plegal-name{font-weight:700;font-size:17px}
.plegal-url{font-family:var(--mono);font-size:13px;color:var(--link)}
.plegal-list{font-size:13px;color:var(--muted)}

.f-legal{border-top:1px solid var(--line)}
.f-legal .bar{max-width:1120px;margin:0 auto;padding:20px 32px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;font-size:13px;color:var(--muted)}

/* ======================================================================
   Sprachumschalter in der Kopfzeile (Startseite und Projekte, DE und EN)
   Kompakte Form des Umschalters von /legal/ (.switch, .switch-btn, .switch-sep).
   Reihenfolge im HTML: Marke, Hauptnavigation, Umschalter. Breit: alles in einer Zeile,
   Navigation und Umschalter rechts. Schmal: Umschalter neben der Marke, Navigation darunter.
   ====================================================================== */
.bar > .nav-main{margin-left:auto}
.bar > .switch--hd{flex-wrap:nowrap;gap:0;padding:2px;border-radius:22px}
.bar > .switch--hd .switch-btn{min-height:38px;padding:0 12px;border-radius:19px;color:var(--soft);font-size:14px;font-weight:500;letter-spacing:.02em}
.bar > .switch--hd .switch-btn:hover{color:var(--white)}
.bar > .switch--hd .switch-btn[aria-current="true"]{background:var(--accent);color:var(--white);font-weight:600}
.bar > .switch--hd .switch-btn:focus-visible{border-radius:19px}
.bar > .switch--hd .switch-sep{padding:0 1px;font-size:14px}

/* ======================================================================
   404
   ====================================================================== */
.err-main{flex:1 1 auto;position:relative;display:flex;flex-direction:column}
.err{position:relative;z-index:1;max-width:1240px;width:100%;box-sizing:border-box;margin:0 auto;padding:56px 32px 96px;display:flex;flex-direction:column;gap:26px}
.err h1{margin:0;font-size:clamp(40px,6vw,80px);line-height:1;font-weight:700;letter-spacing:-0.045em;color:var(--white)}
.err h1 span{color:var(--link)}
.err-en{margin:0;max-width:620px;font-size:15px;color:var(--muted)}

/* ======================================================================
   Kleine Bildschirme
   ====================================================================== */
/* Projekte: vier Navigationspunkte passen ab hier nicht mehr neben Marke und Umschalter */
@media (max-width:780px){
  .h-proj .bar > .switch--hd{order:1;margin-left:auto}
  .h-proj .bar > .nav-main{order:2;flex-basis:100%;margin-left:0}
}
@media (max-width:640px){
  .h-home .bar,.h-proj .bar,.h-legal .bar,.f-home .bar,.f-proj .bar,.f-legal .bar{padding-left:20px;padding-right:20px}
  .h-home .bar > .switch--hd{order:1;margin-left:auto}
  .h-home .bar > .nav-main{order:2;flex-basis:100%;margin-left:0}
  .hero,.err{padding:32px 20px 56px;gap:44px}
  .p-hero{padding:56px 20px 56px}
  .proj,.join{padding-left:20px;padding-right:20px}
  .ways-inner{padding:56px 20px}
  .contact{padding:56px 20px 72px}
  .join-box{padding:22px}
  .mm-q{padding:18px}
  /* Schmal: Titel nicht im Rahmen (würde umbrechen), sondern als erste Zeile im Kasten */
  .mm-q-legend{float:left;width:100%;padding:0;margin:0}
  .card{padding:20px}
  .lead{font-size:17px}
  .marquee-track{font-size:13px}
}
@media (max-width:520px){
  .hero-title{font-size:clamp(34px,11.6vw,60px)}
  .chip{height:auto;min-height:32px;padding:6px 14px;box-sizing:border-box;line-height:1.45;border-radius:16px}
  .btn-cta,.btn-ghost-lg{min-height:52px}
  .h-proj nav a{padding:0 10px}
  /* Orbit: Kacheln verkleinern, damit sie in den schmalen Kreis passen */
  .tile{width:47%;padding:8px;gap:8px;border-radius:12px}
  .tile-icon{width:28px;height:28px;border-radius:8px}
  .tile-icon svg{width:16px;height:16px}
  .tile-icon.ic-n{border-radius:14px}
  .tile-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tile-status{font-size:10px}
  .mm-preview-head{grid-template-columns:1fr}
  .mm-preview-head span:nth-child(3){margin-top:6px}
  .mm-preview-body{padding:16px}
  .mm-progress-row{flex-wrap:wrap;gap:2px 12px}
  .mm-progress-row span:first-child{white-space:nowrap}
  .mm-sendto .mm-addr-copy{margin-left:0}
  .mm-nav .ubtn{flex:1 1 auto;justify-content:center}
  .lg .mono{font-size:13px}
  .lg th,.lg td{padding:9px 8px}
}

/* Bewegung reduzieren: Marquee, Orbit, Schweben, Cursor, Wortwechsel und Schrittwechsel stoppen */
@media (prefers-reduced-motion:reduce){
  .sd-ring,.sd-ring-rev,.sd-float,.sd-marquee,.sd-caret,.sd-word{animation:none}
  .sd-tile,.sd-cta{transition:none}
  .mm-anim{animation:none}
  html{scroll-behavior:auto}
}
