/* Hinweis zur Webanalyse auf König Digicon (MOS-978). Das Skript ist dasselbe wie auf maturityos.de
   (/assets/einwilligung.js, MOS-935), ebenso Text und Verhalten: unauffällig (Max König, 23.11.2026),
   mobil eine schmale Leiste am unteren Rand, ab 720 px eine kleine Karte unten links; ohne Überschrift,
   sperrt die Seite nicht. Maße wie auf der Homepage (assets/site.css), Farben von König Digicon. Beide
   Knöpfe gleich gestaltet und gleich breit, die Verweise im Textgrau.
   Ebene 250: über der Leiste „Erstgespräch“ am unteren Rand (200), unter Navigation und Menü (299, 300). */
.einwilligung {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0;
  background: #0B1424;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.76);
}
.einwilligung[hidden] { display: none; }
.einwilligung p { margin: 0; flex: 1 1 100%; }
.einwilligung a { color: rgba(255, 255, 255, 0.76); text-underline-offset: 3px; }
.einwilligung-knoepfe { display: flex; gap: 8px; flex: 1 1 100%; }
.einwilligung .knopf {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 0; min-width: 0; min-height: 32px; padding: 0 10px; border-radius: 10px;
  font: inherit; font-weight: 700; text-align: center; color: #FFFFFF; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(8, 168, 204, 0.55);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.einwilligung .knopf:hover { background: rgba(8, 168, 204, 0.12); border-color: #00D4F0; }
.einwilligung .knopf:focus-visible { outline: 2px solid #00D4F0; outline-offset: 2px; }
@media (min-width: 720px) {
  .einwilligung {
    left: 20px; right: auto; bottom: 20px; width: min(380px, calc(100% - 40px));
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 12px 14px; font-size: 13px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .einwilligung .knopf { transition: none; }
}
