:root {
  --gruen: #27852c;
  --gruen-dunkel: #173f1b;
  --gruen-tief: #102f14;
  --gruen-hell: #eaf6eb;
  --gelb: #f6d21f;
  --gelb-hell: #fff8cf;
  --text: #17201a;
  --text-sanft: #657068;
  --linie: #dce5de;
  --flaeche: #ffffff;
  --hintergrund: #f4f7f4;
  --fehler: #b42318;
  --fehler-hell: #fff0ee;
  --schatten: 0 24px 60px rgba(21, 55, 26, 0.13);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--hintergrund);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; font-size: 16px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: currentColor; }

.anmeldung { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.1fr); }
.anmeldung__buehne {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; padding: 42px clamp(32px, 5vw, 76px);
  color: white; background:
    radial-gradient(circle at 94% 10%, rgba(246, 210, 31, .2), transparent 28%),
    linear-gradient(145deg, var(--gruen-tief), var(--gruen) 74%, #34983a);
}
.anmeldung__buehne::before { content: ""; position: absolute; width: 430px; height: 430px; right: -250px; bottom: 6%; border: 72px solid rgba(255,255,255,.055); border-radius: 50%; }
.anmeldung__buehne::after { content: ""; position: absolute; width: 240px; height: 240px; left: -150px; top: 28%; border: 44px solid rgba(246,210,31,.08); border-radius: 50%; }
.marke { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.marke strong { display: block; font-size: 1.05rem; letter-spacing: .01em; }
.marke small { display: block; margin-top: -1px; color: rgba(255,255,255,.68); font-size: .75rem; letter-spacing: .04em; }
.markenzeichen { display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 13px; background: var(--gelb); color: var(--gruen-tief); box-shadow: 0 10px 30px rgba(0,0,0,.15); transform: rotate(-4deg); }
.markenzeichen span { font-weight: 900; letter-spacing: -.08em; transform: rotate(4deg); }
.anmeldung__botschaft { position: relative; z-index: 1; width: min(100%, 580px); margin: auto 0; padding: 64px 0; }
.signal { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #e2f6e3; }
.signal i { width: 9px; height: 9px; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; background: var(--gelb); box-shadow: 0 0 0 5px rgba(246,210,31,.1); }
.anmeldung__botschaft h1 { max-width: 610px; margin: 24px 0 18px; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.055em; }
.anmeldung__botschaft > p { max-width: 500px; margin: 0; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.spielstandkarte { margin-top: clamp(46px, 7vh, 82px); padding: 20px 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(10,39,14,.42); box-shadow: 0 24px 70px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.spielstandkarte__kopf, .spielstandkarte__fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: rgba(255,255,255,.64); font-size: .72rem; letter-spacing: .12em; }
.livepunkt { display: flex; align-items: center; gap: 7px; color: #fff3a6; }
.livepunkt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gelb); }
.spielstandkarte__anzeige { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: clamp(10px, 2vw, 22px); padding: 22px 0; text-align: center; }
.spielstandkarte__anzeige span { font-size: .77rem; font-weight: 700; letter-spacing: .13em; }
.spielstandkarte__anzeige strong { display: grid; place-items: center; width: 64px; height: 66px; border-radius: 12px; color: var(--gruen-tief); background: var(--gelb); font-size: 2.2rem; line-height: 1; }
.spielstandkarte__anzeige b { color: rgba(255,255,255,.5); font-size: 1.5rem; }
.spielstandkarte__fuss { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.11); letter-spacing: 0; }
.spielstandkarte__fuss strong { color: white; font-size: .78rem; font-weight: 650; }
.anmeldung__fuss { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.48); font-size: .76rem; }

.anmeldung__formularbereich { display: grid; place-items: center; min-height: 100vh; padding: 48px clamp(24px, 7vw, 110px); background: #fbfcfb; }
.anmeldekarte { width: min(100%, 470px); }
.mobilmarke { display: none; }
.ueberzeile { margin: 0 0 8px; color: var(--gruen); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.anmeldekarte__kopf h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -.035em; }
.anmeldekarte__kopf > p:last-child { margin: 13px 0 0; color: var(--text-sanft); }
.anmeldetabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 34px 0 28px; padding: 5px; border-radius: 13px; background: #edf2ee; }
.anmeldetabs button { min-height: 44px; border: 0; border-radius: 9px; color: var(--text-sanft); background: transparent; cursor: pointer; font-size: .9rem; font-weight: 700; }
.anmeldetabs button[aria-selected="true"] { color: var(--gruen-dunkel); background: white; box-shadow: 0 3px 10px rgba(27,57,31,.08); }
.anmeldebereich[hidden] { display: none; }
label { display: block; margin: 0 0 8px; color: #2c392f; font-size: .87rem; font-weight: 700; }
.eingabe-mit-symbol { position: relative; margin-bottom: 20px; }
.eingabe-mit-symbol > svg { position: absolute; top: 50%; left: 16px; width: 19px; height: 19px; color: #87938a; transform: translateY(-50%); pointer-events: none; }
input { width: 100%; min-height: 50px; border: 1px solid #ced9d0; border-radius: 11px; outline: none; color: var(--text); background: white; transition: border-color .16s, box-shadow .16s; }
.eingabe-mit-symbol input { padding: 0 80px 0 47px; }
input:focus { border-color: var(--gruen); box-shadow: 0 0 0 4px rgba(39,133,44,.11); }
.passwortschalter { position: absolute; top: 50%; right: 13px; padding: 7px; border: 0; color: var(--gruen); background: transparent; cursor: pointer; transform: translateY(-50%); font-size: .78rem; font-weight: 750; }
.hauptknopf, .sekundaerknopf { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 780; transition: transform .15s, box-shadow .15s, background .15s; }
.hauptknopf { color: white; background: var(--gruen); box-shadow: 0 10px 24px rgba(39,133,44,.18); }
.hauptknopf span { font-size: 1.2rem; transition: transform .15s; }
.hauptknopf:hover { background: #217526; box-shadow: 0 13px 26px rgba(39,133,44,.25); transform: translateY(-1px); }
.hauptknopf:hover span { transform: translateX(3px); }
.sekundaerknopf { min-height: 46px; border: 1px solid #bad5bd; color: var(--gruen); background: var(--gruen-hell); }
.sekundaerknopf:hover { background: #deefdf; }
.code-anfordern { margin-bottom: 22px; }
.trenner { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #89938b; font-size: .77rem; }
.trenner::before, .trenner::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.codeeingabe { margin-bottom: 20px; padding: 0 16px; text-align: center; font-size: 1.5rem; font-weight: 750; letter-spacing: .42em; font-variant-numeric: tabular-nums; }
.sicherheitshinweis { display: flex; align-items: flex-start; gap: 9px; margin: 26px 0 0; color: #78837a; font-size: .78rem; line-height: 1.45; }
.sicherheitshinweis svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--gruen); }
.meldung { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; padding: 13px 15px; border: 1px solid; border-radius: 11px; font-size: .86rem; }
.meldung > span { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; color: white; font-size: .72rem; font-weight: 900; }
.meldung--fehler { border-color: #ffd0cb; color: #7f1d16; background: var(--fehler-hell); }
.meldung--fehler > span { background: var(--fehler); }
.meldung--erfolg { border-color: #bfdfc2; color: var(--gruen-dunkel); background: var(--gruen-hell); }
.meldung--erfolg > span { background: var(--gruen); }

.app-seite { background: var(--hintergrund); }
.app-rahmen { display: grid; grid-template-columns: 276px minmax(0, 1fr); min-height: 100vh; }
.seitenleiste { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 26px 18px 18px; border-right: 1px solid #dce7de; background: #fff; z-index: 30; }
.marke--seitenleiste { margin: 0 10px 38px; }
.marke--seitenleiste .markenzeichen { width: 42px; height: 42px; box-shadow: none; }
.marke--seitenleiste strong { color: var(--gruen-tief); }
.marke--seitenleiste small { color: #7b867d; }
.navigation { display: grid; gap: 5px; }
.navigation__gruppe { margin: 0 12px 9px; color: #99a29b; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.navigation__gruppe--abstand { margin-top: 24px; }
.navigation__eintrag { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 12px; border-radius: 10px; color: #5e6a60; font-size: .9rem; font-weight: 650; }
.navigation__eintrag svg { width: 20px; height: 20px; }
.navigation__eintrag small { margin-left: auto; color: #a3aca5; font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.navigation__eintrag.ist-aktiv { color: var(--gruen-dunkel); background: var(--gruen-hell); }
.navigation__eintrag.ist-aktiv::before { content: ""; position: absolute; left: 0; width: 3px; height: 26px; border-radius: 0 4px 4px 0; background: var(--gruen); }
.navigation__eintrag.ist-vorbereitet { cursor: default; opacity: .82; }
.seitenleiste__konto { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 16px 8px 0; border-top: 1px solid var(--linie); }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; color: var(--gruen-tief); background: var(--gelb); font-weight: 850; }
.kontoangaben { min-width: 0; flex: 1; }
.kontoangaben strong, .kontoangaben small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kontoangaben strong { font-size: .82rem; }
.kontoangaben small { color: var(--text-sanft); font-size: .7rem; }
.symbolknopf { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--linie); border-radius: 10px; color: #657068; background: white; cursor: pointer; }
.symbolknopf:hover { color: var(--gruen); border-color: #b9d6bc; background: var(--gruen-hell); }
.symbolknopf svg { width: 19px; height: 19px; }
.app-inhalt { min-width: 0; }
.kopfzeile { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 18px clamp(24px, 4vw, 56px); border-bottom: 1px solid #dfe8e1; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); }
.kopfzeile__kontext { margin: 0; color: var(--text-sanft); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.kopfzeile h1 { margin: 1px 0 0; font-size: 1.35rem; letter-spacing: -.02em; }
.systemstatus { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; border: 1px solid #cbe2cd; border-radius: 999px; color: var(--gruen-dunkel); background: #f3fbf4; font-size: .75rem; font-weight: 700; }
.systemstatus i, .statuskarte > i { width: 8px; height: 8px; border-radius: 50%; background: #36a340; box-shadow: 0 0 0 4px rgba(54,163,64,.1); }
.menueknopf { display: none; }
.hauptinhalt { width: min(100%, 1360px); margin: 0 auto; padding: clamp(26px, 4vw, 52px); }
.willkommen { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: clamp(25px, 4vw, 40px); border-radius: 22px; color: white; background: linear-gradient(130deg, var(--gruen-tief), var(--gruen)); box-shadow: 0 18px 45px rgba(23,63,27,.15); }
.willkommen .ueberzeile { color: #bfe7c2; }
.willkommen h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.willkommen p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.72); }
.rollenabzeichen { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 11px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff8ca; background: rgba(10,37,13,.28); font-size: .8rem; font-weight: 750; }
.rollenabzeichen svg { width: 18px; height: 18px; color: var(--gelb); }
.statusraster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.statuskarte { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px; border: 1px solid #dfe8e1; border-radius: 16px; background: white; box-shadow: 0 7px 24px rgba(27,62,31,.04); }
.statuskarte__symbol { display: grid; place-items: center; flex: 0 0 auto; width: 45px; height: 45px; border-radius: 12px; color: var(--gruen); background: var(--gruen-hell); }
.statuskarte__symbol--gelb { color: #5c4b00; background: var(--gelb-hell); }
.statuskarte__symbol svg { width: 22px; height: 22px; }
.statuskarte div { min-width: 0; flex: 1; }
.statuskarte p, .statuskarte strong, .statuskarte small { display: block; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.statuskarte p { color: #89938b; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.statuskarte strong { margin-top: 2px; font-size: 1rem; }
.statuskarte small { margin-top: 2px; color: var(--text-sanft); font-size: .72rem; }
.arbeitskarte { margin-top: 22px; padding: clamp(24px, 4vw, 34px); border: 1px solid #dfe8e1; border-radius: 18px; background: white; }
.arbeitskarte__kopf { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--linie); }
.arbeitskarte__kopf h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.schritt { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gruen-tief); background: var(--gelb); font-weight: 850; }
.leerzustand { display: flex; align-items: center; gap: 18px; padding: 42px 4px 16px; }
.leerzustand__symbol { display: grid; place-items: center; flex: 0 0 auto; width: 62px; height: 62px; border: 1px solid #d8e5d9; border-radius: 17px; color: var(--gruen); background: #f4faf5; }
.leerzustand__symbol svg { width: 29px; height: 29px; }
.leerzustand strong { font-size: .98rem; }
.leerzustand p { margin: 4px 0 0; color: var(--text-sanft); font-size: .86rem; }
.menuehintergrund { display: none; }

.fehlerseite { display: flex; flex-direction: column; min-height: 100vh; padding: 36px clamp(24px, 6vw, 80px); background: linear-gradient(145deg, var(--gruen-tief), var(--gruen)); }
.fehlerkarte { width: min(100%, 570px); margin: auto; padding: clamp(28px, 5vw, 52px); border-radius: 22px; background: white; box-shadow: var(--schatten); text-align: center; }
.fehlercode { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; color: var(--gruen-tief); background: var(--gelb); font-size: 1.4rem; font-weight: 900; }
.fehlerkarte h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; }
.fehlerkarte > p:not(.ueberzeile) { margin: 0 0 28px; color: var(--text-sanft); }
.fehlerkarte .hauptknopf { width: auto; padding: 0 24px; }

@media (max-width: 980px) {
  .anmeldung { grid-template-columns: minmax(320px, .8fr) minmax(440px, 1.2fr); }
  .anmeldung__buehne { padding: 32px; }
  .anmeldung__botschaft h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .spielstandkarte__anzeige strong { width: 52px; height: 56px; }
  .statusraster { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .anmeldung { display: block; min-height: 100vh; background: linear-gradient(180deg, var(--gruen-tief) 0, var(--gruen) 250px, #f7faf7 250px); }
  .anmeldung__buehne { display: none; }
  .anmeldung__formularbereich { min-height: 100vh; padding: 38px 20px; background: transparent; align-items: start; }
  .anmeldekarte { margin-top: 45px; padding: 28px 22px; border-radius: 20px; background: white; box-shadow: var(--schatten); }
  .mobilmarke { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 13px; color: var(--gruen-tief); background: var(--gelb); font-weight: 900; }
  .app-rahmen { display: block; }
  .seitenleiste { position: fixed; left: 0; transform: translateX(-105%); width: min(86vw, 290px); transition: transform .2s ease; box-shadow: 20px 0 50px rgba(14,41,18,.18); }
  .menue-offen .seitenleiste { transform: translateX(0); }
  .menuehintergrund { position: fixed; inset: 0; z-index: 20; width: 100%; height: 100%; border: 0; background: rgba(8,28,11,.42); }
  .menue-offen .menuehintergrund { display: block; }
  .menueknopf { display: grid; }
  .kopfzeile { min-height: 76px; padding: 14px 20px; }
  .systemstatus { padding: 8px; }
  .systemstatus { font-size: 0; }
  .hauptinhalt { padding: 22px 16px 36px; }
  .willkommen { display: block; }
  .rollenabzeichen { width: max-content; margin-top: 24px; }
}

@media (max-width: 430px) {
  .anmeldekarte { padding: 25px 18px; }
  .anmeldetabs { margin-top: 28px; }
  .willkommen { padding: 24px 20px; }
  .leerzustand { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

