/* =================================================================== Startseite nach dem Anmelden. Baut auf den Farben und Bausteinen von gate.css auf, damit beides wie eine Anwendung wirkt und nicht wie zwei verschiedene Seiten. =================================================================== */ /* Grundschrift und Grundfarbe stehen in gate.css auf `body.gate` und greifen hier deshalb NICHT. Ohne diese Wiederholung fällt die Seite auf die Browservorgaben zurück: schwarze Serifenschrift auf dunklem Grund, praktisch unlesbar. */ body.start { display: block; min-height: 100svh; margin: 0; padding: 0; color: var(--text); font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.55; letter-spacing: .01em; background: radial-gradient(120% 80% at 12% -10%, rgba(63, 189, 245, .10), transparent 58%), radial-gradient(100% 70% at 92% 8%, rgba(138, 118, 255, .10), transparent 60%), var(--tinte); } /* ---------- Kopfleiste ------------------------------------------------ */ .kopfleiste { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: rgba(6, 9, 16, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--rand); } .kopfleiste .marke { margin: 0; font-size: .72rem; } /* Zurück-Knopf. Steht ganz links, weil dort jeder ihn erwartet -- gleiche Stelle wie im Browser. Bleibt verborgen (hidden), wenn es nichts gibt, wohin er führen könnte; das entscheidet kopf.js. */ .zurueck-knopf { flex: 0 0 auto; padding: 7px 13px; background: rgba(255, 255, 255, .045); border: 1px solid var(--rand); border-radius: 9px; color: var(--text-leise); font: inherit; font-size: .82rem; cursor: pointer; white-space: nowrap; transition: background var(--tempo), border-color var(--tempo), color var(--tempo); } .zurueck-knopf:hover { background: rgba(255, 255, 255, .08); border-color: var(--rand-hell); color: var(--text); } .zurueck-knopf:active { transform: translateX(-1px); } .kopfleiste__rechts { display: flex; align-items: center; gap: 12px; } .wer { font-size: .86rem; color: var(--text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; } .abmelden { padding: 7px 14px; background: rgba(255, 255, 255, .045); border: 1px solid var(--rand); border-radius: 9px; color: var(--text); font: inherit; font-size: .84rem; cursor: pointer; transition: border-color var(--tempo), background var(--tempo); } .abmelden:hover { background: rgba(255, 255, 255, .08); border-color: var(--rand-hell); } /* ---------- Inhalt ---------------------------------------------------- */ .inhalt { max-width: 880px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) 64px; } .willkommen { margin-bottom: 38px; } .willkommen .titel { margin-bottom: 6px; } /* ---------- Zahlen ---------------------------------------------------- */ .zahlen-block { margin-bottom: 34px; } .zahlen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); } .zahl { padding: 14px 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand); border-radius: var(--radius-klein); } .zahl__wert { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1.1; } .zahl__name { display: block; margin-top: 2px; font-size: .78rem; color: var(--text-still); } /* Nur wenn wirklich etwas überfällig ist, wird die Kachel hervorgehoben -- sonst stumpft die Farbe ab und man übersieht sie im Ernstfall. */ .zahl[data-warn="ja"] { border-color: rgba(255, 154, 162, .42); background: rgba(255, 154, 162, .07); } .zahl[data-warn="ja"] .zahl__wert { color: var(--warn); } /* ---------- Bereiche --------------------------------------------------- */ .bereiche { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); } .bereich { display: flex; align-items: baseline; gap: 10px; padding: 13px 15px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand); border-radius: var(--radius-klein); } .bereich__name { font-weight: 600; font-size: .95rem; } .bereich__stand { margin-left: auto; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-still); white-space: nowrap; } /* Phase 1 ist in Arbeit - das wird hervorgehoben, der Rest bleibt ruhig. */ .bereich[data-phase="1"] { border-color: rgba(63, 189, 245, .34); } .bereich[data-phase="1"] .bereich__stand { color: var(--akzent); } /* Fertige Bereiche sind anklickbar und heben sich deutlich ab. */ .bereich[data-fertig="ja"] { padding: 0; border-color: rgba(63, 189, 245, .5); background: linear-gradient(100deg, rgba(63, 189, 245, .10), rgba(138, 118, 255, .07)); transition: border-color var(--tempo), background var(--tempo); } .bereich[data-fertig="ja"]:hover { border-color: rgba(63, 189, 245, .8); } .bereich__link { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 13px 15px; color: inherit; text-decoration: none; border-radius: var(--radius-klein); } .bereich__link:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; } .bereich[data-fertig="ja"] .bereich__stand { color: var(--akzent); font-weight: 600; } .inhalt .fuss { margin-top: 40px; text-align: left; } @media (max-width: 520px) { .kopfleiste { padding: 12px 16px; } .kopfleiste .marke { font-size: .64rem; } .wer { max-width: 34vw; } }