/* ==========================================================
   SnacKiOst – Bonbon-Design
   Farben und Schriften oben in :root anpassen.
   ========================================================== */

/* Schriften lokal (SIL Open Font License), kein Google-Server = DSGVO-freundlich */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* Grundfarben */
  --himbeere: #d93b72;         /* Hauptfarbe: Buttons, Hervorhebungen */
  --himbeere-dunkel: #b8285c;  /* Hover */
  --himbeere-hell: #fbe6ee;    /* Flächen */
  --pistazie: #8fcf9b;         /* Zweitfarbe */
  --pistazie-dunkel: #2f7444;  /* Schrift auf Pistazie */
  --pistazie-hell: #e8f5ea;
  --rosa: #f5b8cd;
  --hintergrund: #fdf7f9;      /* zartes Rosé */
  --weiss: #ffffff;
  --text: #2c1a2a;             /* fast schwarzes Pflaume */
  --text-leise: #6c5768;
  --linie: #f0e1e8;
  --gruen: #25d366;            /* WhatsApp-Grün */

  --radius: 20px;
  --radius-klein: 12px;
  --schatten: 0 1px 2px rgba(44, 26, 42, .06), 0 8px 24px rgba(44, 26, 42, .07);
  --schatten-hoch: 0 2px 4px rgba(44, 26, 42, .08), 0 16px 36px rgba(217, 59, 114, .16);
  --rand: 1px solid var(--linie);

  --font-titel: "Archivo", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --font-text: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Alte Namen (werden noch an einzelnen Stellen benutzt) */
  --tinte: var(--text);
  --creme: var(--hintergrund);
  --gelb: var(--himbeere-hell);
  --rot: var(--himbeere);
  --blau: var(--pistazie);
  --pink: var(--rosa);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--hintergrund);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-titel); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .4em; text-wrap: balance; }
a { color: var(--himbeere); }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mitte { text-align: center; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--rand);
}
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-titel); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
/* Bonbon-Punkt statt Emoji */
/* Name und Slogan untereinander */
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-slogan {
  font-family: var(--font-text, inherit); font-weight: 600; font-size: .68rem; letter-spacing: .01em;
  color: var(--text-leise); margin-top: 2px;
}

.logo-icon {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8db3 0 22%, var(--himbeere) 23%);
  font-size: 0; overflow: hidden;
}
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-weight: 700; font-size: .98rem; color: var(--text); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover, .nav a:focus-visible { background: var(--himbeere-hell); color: var(--himbeere-dunkel); }
.nav a.nav-alarm { color: var(--himbeere); box-shadow: inset 0 0 0 1.5px var(--himbeere); }
.nav a.nav-alarm:hover, .nav a.nav-alarm:focus-visible { background: var(--himbeere); color: #fff; }
.nav-toggle {
  display: none;
  font: 700 .95rem var(--font-text); color: var(--text);
  background: var(--weiss); border: var(--rand); border-radius: 999px;
  padding: 7px 16px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1.05rem var(--font-text);
  color: #fff; text-decoration: none;
  padding: 13px 26px;
  border: 0; border-radius: 999px;
  background: var(--himbeere);
  box-shadow: 0 6px 16px rgba(217, 59, 114, .25);
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217, 59, 114, .3); }
.btn:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(217, 59, 114, .25); }
.btn-gelb, .btn-blau { background: var(--himbeere); }
.btn-gelb:hover, .btn-blau:hover { background: var(--himbeere-dunkel); }
.btn-rot { background: var(--text); box-shadow: 0 6px 16px rgba(44, 26, 42, .2); }
.btn-rot:hover, .btn-rot:focus-visible { box-shadow: 0 10px 22px rgba(44, 26, 42, .25); }
.btn-grau { background: var(--weiss); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie); }
.btn-grau:hover, .btn-grau:focus-visible { box-shadow: inset 0 0 0 1.5px var(--rosa); }
.btn-whatsapp { background: var(--gruen); color: #0b2e18; box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { box-shadow: 0 10px 22px rgba(37, 211, 102, .35); }
.btn-klein { font-size: .95rem; padding: 8px 18px; box-shadow: none; }
.btn-klein:hover { box-shadow: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(520px 380px at 88% 20%, var(--himbeere-hell), transparent 70%),
    radial-gradient(420px 320px at 70% 95%, var(--pistazie-hell), transparent 70%),
    var(--hintergrund);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); letter-spacing: -.03em; }
.knall { color: var(--himbeere); }
.lead { font-size: 1.2rem; max-width: 34em; color: var(--text-leise); }
.hero .lead { margin: 0; }

/* Snackautomat im Hero (nur CSS, keine Bilder) */
.hero-bild { position: relative; display: flex; justify-content: center; padding-block: 12px 28px; }
.hero-bild::after {   /* Schatten auf dem Boden */
  content: ""; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: min(300px, 70vw); height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44, 26, 42, .18), transparent);
}
.automat {
  position: relative; z-index: 1;
  width: min(300px, 72vw); aspect-ratio: 5 / 7.6;
  padding: 16px; border-radius: 28px;
  background: linear-gradient(160deg, #e65a8a, var(--himbeere) 45%, var(--himbeere-dunkel));
  box-shadow: var(--schatten-hoch), inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -6px 0 rgba(0, 0, 0, .08);
  display: grid; grid-template-columns: 1fr 24%; grid-template-rows: 1fr 11%; gap: 12px;
}
/* Sanftes Schweben (bei "Bewegung reduzieren" im System automatisch aus, siehe unten) */
.automat { animation: schweben 5s ease-in-out infinite; }
.hero-bild::after { animation: schatten-atmen 5s ease-in-out infinite; }
.rund-um-die-uhr { animation: schweben 5s ease-in-out infinite; }   /* gleicher Takt = haftet am Automaten */
@keyframes schweben {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes schatten-atmen {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(.86); opacity: .65; }
}
.automat-fenster {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--himbeere-hell));
  border-radius: 16px; padding: 8px 10px;
  display: grid; grid-template-rows: repeat(4, 1fr);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .6);
}
.automat-fenster::after {   /* Glas-Spiegelung */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 38%, transparent 46%);
  pointer-events: none;
}
.automat-fach {
  min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; justify-items: center;
  border-bottom: 3px solid rgba(217, 59, 114, .22); padding-bottom: 3px;
}
.ware { display: block; border-radius: 4px; }
.ware.dose { width: 34%; height: 72%; border-radius: 6px 6px 4px 4px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .45); }
.ware.riegel { width: 78%; height: 30%; border-radius: 5px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08); }
.ware.tuete { width: 60%; height: 74%; clip-path: polygon(0 8%, 12% 0, 25% 8%, 38% 0, 50% 8%, 62% 0, 75% 8%, 88% 0, 100% 8%, 96% 100%, 4% 100%); }
.ware.flasche { width: 32%; height: 80%; border-radius: 40% 40% 6px 6px / 22% 22% 6px 6px; }
.ware.rosa { background: var(--rosa); }
.ware.himbeere { background: var(--himbeere); }
.ware.pistazie { background: var(--pistazie); }
.ware.gelb { background: #ffd36e; }
.ware.pflaume { background: #6b3d63; }
.automat-panel {
  background: rgba(255, 255, 255, .16); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 8px;
}
.automat-display {
  width: 100%; border-radius: 6px; padding: 5px 4px;
  background: var(--text); color: var(--pistazie);
  font: 700 .62rem/1.2 var(--font-text); text-align: center; letter-spacing: .02em; white-space: nowrap; overflow: hidden;
}
.automat-tasten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; }
.automat-tasten i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.automat-karte { margin-top: auto; width: 70%; aspect-ratio: 1.4; border-radius: 6px; background: var(--text); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .15); }
.automat-schacht {
  grid-column: 1 / -1; border-radius: 12px;
  background: linear-gradient(180deg, #3a2337, var(--text));
  box-shadow: inset 0 6px 10px rgba(0, 0, 0, .35);
}
.rund-um-die-uhr {
  position: absolute; z-index: 2; top: -6px; left: calc(50% - min(150px, 36vw) - 56px);
  width: 118px; height: 118px; border-radius: 50%; rotate: -10deg;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #ffd36e; color: var(--text);
  border: 5px solid var(--weiss);
  box-shadow: 0 10px 24px rgba(44, 26, 42, .22), 0 0 0 1px rgba(44, 26, 42, .06);
}
.rund-um-die-uhr strong { font-family: var(--font-titel); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--himbeere-dunkel); }
.rund-um-die-uhr span { color: var(--text); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 80px 0; }
.abschnitt-gelb {   /* "Du bestimmst mit": dezentes Snack-Muster im Hintergrund */
  background: url("../img/hintergrund-snacks.svg") center top / 240px 240px repeat, var(--weiss);
}
.abschnitt-blau { background: var(--hintergrund); }
.abschnitt-rot { background: var(--himbeere-hell); }
.titel {
  font-size: clamp(2rem, 4.6vw, 3rem);
  text-align: center;
  color: var(--text);
  margin-bottom: 16px;
}
.titel-hell { color: var(--text); }
.lead.mitte { margin: 0 auto 40px; }

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.karte {
  background: var(--weiss); border: var(--rand); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--schatten);
}
.karte h3 { font-size: 1.5rem; }
.karte p { margin: 0; }
.karte-icon {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--himbeere-hell);
}

/* ---------- Abstimmung (Startseite + abstimmung/) ---------- */
.vote-rangliste, .abstimmung-app { margin-bottom: 32px; }
.vote-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.vote-automaten { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 0 20px; }
.vote-automaten span { font-weight: 700; color: var(--text-leise); }
.vote-automat {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  background: var(--weiss); color: var(--text); border: var(--rand); border-radius: 999px; padding: 6px 16px;
}
.vote-automat:hover, .vote-automat:focus-visible { border-color: var(--himbeere); color: var(--himbeere-dunkel); }
.vote-automat-an, .vote-automat-an:hover { background: var(--himbeere); border-color: var(--himbeere); color: #fff; }
.vote-chip {
  display: inline-block; font-weight: 700; font-size: .9rem;
  background: var(--weiss); color: var(--text-leise); border: var(--rand); border-radius: 999px;
  padding: 4px 14px;
}
.vote-chip-runde { background: var(--pistazie-hell); color: var(--pistazie-dunkel); border-color: transparent; }
.vote-chip-beispiel { background: var(--himbeere-hell); color: var(--himbeere-dunkel); border-color: transparent; }
.vote-karten { align-items: stretch; }
.vote-karte { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .15s, box-shadow .15s; }
.vote-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.vote-karte h3 { font-size: 1.3rem; margin-top: 4px; }
.vote-bild {
  width: 100%; aspect-ratio: 1 / 1;
  background: var(--weiss); border-radius: var(--radius-klein);
  overflow: hidden; margin-bottom: 14px;
}
/* Foto auf Weiß, die Karte selbst trägt die Farbe */
.vote-bild { display: grid; place-items: center; padding: 6%; box-shadow: 0 2px 8px rgba(44, 26, 42, .06); }
.vote-bild img { width: 100%; height: 100%; object-fit: contain; }
.vote-karte { background: var(--himbeere-hell); border-color: transparent; }
.sieger-karte { background: var(--pistazie-hell); }
.vote-platz {
  position: absolute; top: -14px; left: -10px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  font-family: var(--font-titel); font-weight: 800; font-size: 1.3rem;
  background: var(--weiss); color: var(--text); border-radius: 50%;
  box-shadow: var(--schatten);
}
.vote-platz-1 { background: var(--himbeere); color: #fff; width: 54px; height: 54px; font-size: 1.5rem; }
.vote-platz-2 { background: var(--pistazie); color: var(--text); }
.vote-platz-3 { background: var(--rosa); color: var(--text); }
.vote-vorne { box-shadow: var(--schatten-hoch); border-color: var(--rosa); }
.vote-meine { border: 2px solid var(--pistazie); }
.vote-balken {
  width: 100%; height: 10px; margin: 6px 0 8px;
  background: var(--weiss); border-radius: 999px; overflow: hidden;
}
.vote-balken i {
  display: block; height: 100%; min-width: 0;
  background: linear-gradient(90deg, var(--rosa), var(--himbeere));
  border-radius: 999px; transition: width .5s;
}
.vote-zahl { margin: 0 0 16px !important; color: var(--text-leise); font-size: .95rem; }
.vote-karte .btn { margin-top: auto; }
.vote-gewaehlt { cursor: default; background: var(--pistazie); color: var(--text); }
.vote-gewaehlt:hover { transform: none; background: var(--pistazie); }
.vote-status {
  max-width: 640px; margin: 36px auto 0; text-align: center;
  background: var(--weiss); border: var(--rand); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--schatten);
}
.vote-status:empty { display: none; }
.vote-status p { margin: 0 0 10px; }
.vote-status p:last-child { margin: 0; }
.vote-fehler { background: var(--himbeere-hell); color: var(--himbeere-dunkel); border-radius: var(--radius-klein); padding: 8px 14px; font-weight: 700; }
.vote-hinweis {
  max-width: 640px; margin: 0 auto 20px; text-align: center; font-size: .92rem; color: var(--text-leise);
  background: var(--weiss); border: 1px dashed var(--rosa); border-radius: var(--radius-klein); padding: 8px 14px;
}
.vote-titel-sieger { margin-top: 72px; margin-bottom: 40px; }
.sieger-karten .vote-bild { max-width: 220px; }
.sieger-krone { position: absolute; top: -22px; right: -4px; font-size: 2.2rem; }
.sieger-monat { font-family: var(--font-titel); font-weight: 800; font-size: 1.15rem; margin: 0 0 10px !important; }
.sieger-monat .vote-chip { font-family: var(--font-text); font-size: .8rem; vertical-align: middle; }
.seite .vote-karte, .seite .vote-leer { max-width: none; }
.seite .vote-leer { max-width: 760px; margin: 0 auto; }

/* Podest: Platz 1 groß in der Mitte, Platz 2 links, Platz 3 rechts, beide etwas kleiner.
   Die Karten kommen in Platz-Reihenfolge (1, 2, 3) und werden hier umsortiert. */
.vote-podest { grid-template-columns: 1fr 1.25fr 1fr; align-items: end; }
.vote-podest > :nth-child(1) { order: 2; }
.vote-podest > :nth-child(2) { order: 1; }
.vote-podest > :nth-child(3) { order: 3; }
.vote-klein { padding: 18px; }
.vote-klein .vote-bild { width: 82%; }
.vote-klein h3 { font-size: 1.15rem; }
.vote-klein .vote-platz { width: 42px; height: 42px; font-size: 1.15rem; }

/* Abstimmung auf dem Handy: kompakte Zeilen statt großer Karten */
@media (max-width: 600px) {
  .vote-bild { padding: 5%; }
  .vote-karten, .sieger-karten { gap: 18px; }
  .vote-podest { grid-template-columns: 1fr; }
  .vote-podest > * { order: 0 !important; }
  .vote-klein .vote-bild { width: 100%; }
  .vote-klein .vote-platz { width: 36px; height: 36px; font-size: 1rem; }
  .vote-karte { width: 100%; display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
  .vote-karte > * { grid-column: 2; }
  .vote-karte > .vote-platz, .vote-karte > .sieger-krone { grid-column: auto; grid-row: auto; }
  .vote-karte .vote-bild { grid-column: 1; grid-row: 1 / span 4; margin: 0; max-width: none; }
  .vote-karte h3 { font-size: 1.1rem; margin: 0 0 4px; }
  .vote-karte .vote-zahl { margin: 0 0 8px !important; font-size: .9rem; }
  .vote-karte .btn { justify-self: start; margin-top: 0; }
  .vote-platz { top: -10px; left: -8px; width: 36px; height: 36px; font-size: 1rem; }
  .vote-platz-1 { width: 40px; height: 40px; font-size: 1.1rem; }
  .sieger-krone { top: -18px; font-size: 1.7rem; }
  .sieger-monat { margin: 0 0 4px !important; font-size: 1rem; }
}

/* ---------- Störung ---------- */
.stoerung { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.stoerung-text .lead { margin: 0; color: var(--text); }
.schritte { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.schritte li {
  counter-increment: s;
  display: flex; align-items: center; gap: 14px;
  background: var(--weiss); border-radius: var(--radius-klein);
  padding: 10px 16px; font-weight: 600;
}
.schritte li::before {
  content: counter(s);
  font-family: var(--font-titel); font-weight: 800; font-size: 1rem;
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--himbeere); color: #fff;
}
.qr-karte {
  background: var(--weiss); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--schatten-hoch);
  text-align: center;
  max-width: 320px; justify-self: center; width: 100%;
}
.qr-code svg { width: 100%; height: auto; display: block; }
.qr-unterschrift { font-family: var(--font-titel); font-weight: 800; font-size: 1.3rem; margin: 12px 0 0; }
.qr-hinweis { font-size: .88rem; color: var(--text-leise); background: var(--himbeere-hell); border-radius: 8px; padding: 6px; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.fuss { background: var(--text); color: #e9dde6; padding: 28px 0; font-size: .95rem; }
.fuss-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 20px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--rosa); }

/* ---------- Unterseiten ---------- */
.seite { padding: 56px 0 80px; min-height: 60vh; }
.seite .karte { max-width: 760px; margin: 0 auto; }
.seite .karte h3 { font-size: 1.2rem; margin-top: 1.2em; }
.seite .karte h3:first-child { margin-top: 0; }

/* ---------- Anleitung (So geht's) ---------- */
.anleitung { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.anleitung-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.anleitung-kopf h3 { margin: 0; font-size: 1.5rem; }
.anleitung-karte .schritte { margin: 12px 0 0; }
.anleitung-karte .schritte li { font-weight: 500; background: var(--hintergrund); }
.anleitung-karte:nth-child(2) .karte-icon { background: var(--pistazie-hell); }
.anleitung-karte:nth-child(2) .schritte li::before { background: var(--pistazie); color: var(--text); }
.push {
  display: inline-block; white-space: nowrap;
  font-weight: 700; font-size: .8em; color: #fff;
  background: var(--gruen); border-radius: 999px;
  padding: 1px 9px;
}

/* ---------- Sprachumschalter DE | EN ---------- */
.kopf-inner .logo { order: 0; }
.kopf-inner .nav { order: 1; }
.kopf-inner .sprache { order: 2; }
.kopf-inner .nav-toggle { order: 3; }
.sprache {
  display: flex; align-items: center; gap: 2px; flex: none;
  background: var(--hintergrund); border: var(--rand); border-radius: 999px;
  padding: 3px;
}
.sprache button {
  font: 700 .85rem var(--font-text); color: var(--text-leise);
  background: transparent; border: 0; border-radius: 999px;
  padding: 4px 10px; cursor: pointer;
}
.sprache button.aktiv { background: var(--weiss); color: var(--text); box-shadow: 0 1px 3px rgba(44, 26, 42, .12); }
.sprache button:not(.aktiv):hover, .sprache button:focus-visible { color: var(--himbeere); }

/* ---------- Handy ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: var(--weiss); border-bottom: var(--rand); padding: 12px 16px 16px;
    box-shadow: 0 12px 24px rgba(44, 26, 42, .08);
  }
  .nav.offen { display: flex; }
  .nav a { font-size: 1.1rem; }
  .nav a.nav-alarm { align-self: flex-start; }
  .hero-inner, .stoerung { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .hero-bild { margin-top: 24px; }
  .rund-um-die-uhr { width: 92px; height: 92px; border-width: 4px; left: calc(50% - min(150px, 36vw) - 24px); }
  .rund-um-die-uhr strong { font-size: 1.7rem; }
  .rund-um-die-uhr span { font-size: .6rem; }
  .abschnitt { padding: 60px 0; }
  .sprache { margin-left: auto; margin-right: 8px; }
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .kopf-inner { gap: 8px; }
  .kopf-inner .logo { font-size: 1.2rem; }
  .logo-slogan { font-size: .6rem; }
  .sprache button { padding: 3px 7px; }
  .nav-toggle { padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-bild::after { animation: none !important; }
}
.vote-automaten-gross { padding: 16px; border-radius: 18px; background: var(--himbeere-hell, #fde8ee); }
.vote-automaten-gross span { width: 100%; text-align: center; color: inherit; font-size: 1.05rem; }
