/* Gemeinsame Grundlage aller Seiten: Schrift, Farben, Kopfleiste, Buttons, Fußzeile.
   Was nur eine Seite braucht, steht weiter im <style> der jeweiligen Seite. */

/* Montserrat (SIL Open Font License, siehe /fonts/OFL.txt), lokal ausgeliefert: keine Verbindung zu Google */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }

:root {
  --pink: #E60051;   /* Theme-Farbe von berlinrockets.de */
  --navy: #12233F;   /* passend zum blauen Logo, bei Bedarf anpassen */
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --ink: #12233F;
  --muted: #5A6478;
  --line: #DDE1E8;
  --danger: #A3122E;
  --font: 'Montserrat', system-ui, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* auch bei Elementen mit eigenem display, z. B. .btn */
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1rem/1.5 var(--font);
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; } /* Footer bleibt unten */
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap, 1040px); margin: 0 auto; padding: 0 1rem; } /* Breite pro Seite über --wrap */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopfleiste mit Logo */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); text-decoration: none; }
.brand img { display: block; height: 2.6rem; width: auto; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.top-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1rem; font-size: .9rem; font-weight: 700; }
.top-actions a { color: var(--navy); }

/* Buttons */
.btn { display: inline-block; padding: .55rem 1.1rem; background: var(--pink); color: #fff; border: 0; border-radius: 99px; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: #c9004a; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost:hover { background: #E8EBF0; }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 2px var(--danger); }
.btn.danger:hover { background: #FBE9EC; }
.btn.small { padding: .35rem .8rem; font-size: .82rem; }

.toast { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); width: max-content; max-width: 92vw; text-align: center; padding: .65rem 1.1rem; background: var(--navy); color: #fff; border-radius: 99px; font-weight: 700; }

/* Fußzeile */
footer { flex-shrink: 0; background: var(--navy); color: #fff; padding: 1.75rem 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
footer strong { display: block; font-weight: 800; }
footer a { color: #fff; font-weight: 700; }
footer .links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
