/* ═══════════════════════════════════════════════════════════════════════
   LAYOUT — Aufbau und Abstände. Keine einzige Farbe im Klartext.

   Alles Sichtbare kommt aus den Variablen in `branding.css`. Wer das prüfen
   will: `grep -nE '#[0-9a-f]{3,6}' layout.css` muss leer bleiben.
   ═══════════════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--schrift-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: var(--titel-gewicht);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

a { color: var(--akzent); }

:is(a, button, input):focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
  border-radius: var(--rundung);
}

/* ── Kopf ────────────────────────────────────────────────────────────── */
.kopf {
  min-height: var(--kopf-hoehe);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px;
  padding: 14px max(20px, 5vw);
  background: var(--grund-erhaben);
  border-bottom: 1px solid var(--linie);
}
.marke { display: flex; align-items: center; gap: 11px; }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }

/* ── Sprachwahl ──────────────────────────────────────────────────────── */
.sprachen { display: flex; border: 1px solid var(--linie); border-radius: var(--rundung); }
.sprache {
  min-height: 40px; min-width: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 11px;
  background: none; border: 0;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .05em;
  color: var(--schrift-leise);
  cursor: pointer;
}
.sprache:hover { color: var(--schrift); }
.sprache[aria-pressed="true"] { background: var(--akzent); color: var(--schrift-auf-dunkel); }
.sprache:first-child { border-radius: calc(var(--rundung) - 1px) 0 0 calc(var(--rundung) - 1px); }
.sprache:last-child { border-radius: 0 calc(var(--rundung) - 1px) calc(var(--rundung) - 1px) 0; }

/* ── Die Bühne: Text links, Anmeldung rechts ─────────────────────────── */
.buehne {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(44px, 7vw, 96px) max(20px, 7vw);
  background: var(--grund-erhaben);
}
.buehne-text { max-width: 36rem; }
.buehne-text h1 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 20px; }
.buehne-text .vorspann { font-size: clamp(17px, 1.6vw, 20px); color: var(--schrift-leise); max-width: 34rem; }
.buehne-text .vorspann em { font-style: normal; color: var(--akzent-hell); }

/* Der Olivenzweig: das eine Zierelement. Ein Markenwechsel kann ihn
   ausblenden (`.zweig { display: none }`), ohne das Layout zu berühren. */
.zweig {
  position: absolute; right: 4%; top: 6%;
  font-size: clamp(48px, 7vw, 96px);
  color: var(--marke-olive, var(--zierde));
  opacity: .35;
  rotate: 32deg;
  pointer-events: none;
  user-select: none;
}
.buehne { position: relative; overflow: hidden; }


.meldung {
  margin: 14px 0 0; padding: 10px 12px;
  border-left: 3px solid var(--zierde);
  background: var(--grund-erhaben);
  border-radius: 0 var(--rundung) var(--rundung) 0;
  font-size: 13px;
  color: var(--schrift);
}
.meldung[hidden] { display: none; }
.karte[hidden] { display: none; }
.buehne:has(> .karte[hidden]) { grid-template-columns: 1fr; }

/* ── Das Band: woran gearbeitet wird ─────────────────────────────────── */
.band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(20px, 3vw, 38px);
  padding: clamp(32px, 4vw, 52px) max(20px, 7vw);
  background: var(--grund-dunkel);
  color: var(--schrift-auf-dunkel);
}
.band h3 { font-size: 16px; margin-bottom: 5px; color: var(--schrift-auf-dunkel); }
.band p { margin: 0; font-size: 14px; color: var(--schrift-leise-auf-dunkel); }
.band .zahl {
  display: block; margin-bottom: 9px;
  font-family: var(--schrift-titel); font-size: 13px; letter-spacing: .1em;
  color: var(--zierde);
}

/* ── Fuß ─────────────────────────────────────────────────────────────── */
.fuss {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding: 26px max(20px, 7vw);
  background: var(--grund-erhaben);
  border-top: 1px solid var(--linie);
  font-size: 12px;
  color: var(--schrift-leise);
}
.fuss a { color: var(--schrift-leise); }

/* ── Schmal ──────────────────────────────────────────────────────────── */
@media (max-width: 62rem) {
  .buehne { grid-template-columns: 1fr; }
  .zweig { display: none; }
}
@media (max-width: 34rem) {
  .kopf { padding: 12px 20px; }
  .marke-name { font-size: 15px; }
}

/* ── Der leise Verweis in den Betreiberbereich ──────────────────────────
   Kein Knopf: er ist für zwei Personen da, nicht für Besucher. Auffindbar,
   aber nicht werbend — und eine Tippfläche hat er trotzdem. */
.leiser-link {
  display: inline-flex; align-items: center;
  min-height: 40px;
  font-size: 12px;
  color: var(--schrift-leise);
  text-decoration: underline;
  text-decoration-color: var(--linie);
  text-underline-offset: 3px;
}
.leiser-link:hover { color: var(--schrift); text-decoration-color: var(--schrift-leise); }

/* ── Die Einwilligung ──────────────────────────────────────────────────
   Nicht vorangekreuzt: eine Einwilligung, die man nicht gibt, ist keine. */
.zustimmung {
  display: grid; grid-template-columns: auto 1fr;
  gap: 9px; align-items: start;
  margin: 2px 0 18px;
}
.zustimmung input {
  width: 18px; height: 18px; margin: 3px 0 0;
  accent-color: var(--akzent);
  flex: 0 0 auto;
}
.zustimmung label { font-size: 13px; color: var(--schrift-leise); line-height: 1.45; }

/* ── Die Karte: sie trägt die Erinnerung ─────────────────────────────── */
.karte {
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: var(--rundung-gross);
  box-shadow: var(--schatten);
  padding: clamp(24px, 3vw, 34px);
  max-width: 26rem; width: 100%;
  justify-self: end;
}
.karte h2 { font-size: 23px; margin-bottom: 4px; }
.karte .unterzeile { margin: 0 0 22px; font-size: 14px; color: var(--schrift-leise); }
.karte .knopf { width: 100%; }
@media (max-width: 62rem) { .karte { justify-self: start; } }
