/* Sternwacht – gemeinsames Stylesheet für alle Seiten.
   Die Schrift wird vom eigenen Server geladen (keine Verbindung zu Google). */
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --nacht: #2E2B7A;
  --nacht-tief: #1B1850;
  --marke: #4A45A8;
  --stern: #FFC94D;
  --rot: #E5484D;
  --flaeche: #F6F5FC;
  --weiss: #fff;
  --text: #1E1B4B;
  --leise: #5B5873;
  --rand: #E6E3F5;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--flaeche); line-height: 1.65; font-size: 16.5px; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--marke); }
a:hover { color: var(--nacht); }
:focus-visible { outline: 3px solid var(--stern); outline-offset: 3px; border-radius: 6px; }

/* Kopfzeile */
.kopfzeile { position: sticky; top: 0; z-index: 20; background: rgba(46, 43, 122, .96); backdrop-filter: blur(8px); }
.kopfzeile nav { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; }
.marke:hover { color: #fff; }
.marke img { width: 36px; height: 36px; border-radius: 10px; }
.menue { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.menue a { color: #E4E1FA; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--stern); }

/* Knöpfe für die Stores */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid #000; }
.store:hover { color: #fff; background: #1d1d1f; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11.5px; line-height: 1.2; opacity: .85; }
.store b { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; }
.store.bald { background: transparent; color: inherit; border-color: currentColor; opacity: .85; cursor: default; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--marke); color: #fff; text-decoration: none; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.knopf:hover { background: var(--nacht); color: #fff; }

/* Unterseiten */
.kopf { background: var(--nacht); color: #fff; }
.kopf .titel { max-width: 1100px; margin: 0 auto; padding: 36px 24px 64px; }
.kopf h1 { margin: 0; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; }
.kopf .unterzeile { margin: 10px 0 0; color: #E4E1FA; font-size: 17px; max-width: 640px; }
main.text { max-width: 860px; margin: -32px auto 0; padding: 0 20px 64px; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: 24px; padding: clamp(22px, 4vw, 44px); }
.karte + .karte { margin-top: 16px; }
.text h2 { font-size: 22px; line-height: 1.3; margin: 34px 0 8px; }
.text h2:first-child { margin-top: 0; }
.text h3 { font-size: 17px; margin: 22px 0 6px; }
.text p, .text li { color: #2F2C55; }
.text ul { padding-left: 22px; }
.kasten { background: #EFEDFB; border-radius: 16px; padding: 14px 18px; margin: 14px 0; }
.warnung { background: #FDECEC; border: 1px solid #F6C9CA; border-radius: 16px; padding: 14px 18px; color: #6E1D20; }
.inhalt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.inhalt a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--flaeche); text-decoration: none; font-size: 14px; font-weight: 500; }
.platzhalter { background: #FFF1B8; padding: 0 4px; border-radius: 4px; }

/* Formular */
label { display: block; font-weight: 500; margin: 16px 0 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--rand); border-radius: 12px; background: #fff; color: var(--text); }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }

/* Fußzeile */
.fuss { background: var(--nacht-tief); color: #CFCBF2; font-size: 14.5px; }
.fuss .innen { max-width: 1180px; margin: 0 auto; padding: 40px 20px 110px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--stern); }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fuss b { color: #fff; display: block; margin-bottom: 8px; }
.fuss .klein { grid-column: 1 / -1; border-top: 1px solid #36327A; padding-top: 18px; font-size: 13px; color: #A9A5D6; }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 680px; margin: 0 auto; background: #fff; color: var(--text); border: 1px solid var(--rand); border-radius: 18px; box-shadow: 0 12px 40px rgba(27, 24, 80, .25); padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14.5px; line-height: 1.5; }
.cookie p { margin: 0; flex: 1 1 320px; }
.cookie .knopf { min-height: 44px; flex: none; }
.cookie[hidden] { display: none; }
