body { padding-bottom: var(--cookie-notice-space, 0px); }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
  position: fixed; z-index: 20; inset: auto 24px 24px;
  display: flex; align-items: flex-start; gap: 32px;
  max-width: 1090px; max-height: 70dvh; overflow-y: auto; overscroll-behavior: contain;
  margin: 0 auto; padding: 24px 28px;
  border: 1px solid #566239; border-radius: 12px;
  background: #1a1e1b; color: #eef2e8;
  box-shadow: 0 12px 48px #0008; font: 13px/1.6 Manrope, Arial, sans-serif;
}
.cookie-notice-copy { flex: 1; min-width: 0; }
.cookie-notice h2 { margin: 2px 0 8px; font-size: 21px; line-height: 1.25; letter-spacing: -.5px; outline: none; }
.cookie-notice p { margin: 0 0 10px; color: #c3cabf; }
.cookie-notice .cookie-kicker { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; color: #d8f36a; }
.cookie-notice .cookie-current { margin: 10px 0 0; color: #d8f36a; font-weight: 600; }
.cookie-notice .cookie-current:empty { display: none; }
/* Beide Wahlmöglichkeiten sind gleich groß und gleich gewichtet. */
.cookie-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; min-width: 190px; }
.cookie-notice .cookie-choice { min-height: 44px; padding: 10px 22px; border: 1px solid #d8f36a; border-radius: 7px; color: #202716; background: #d8f36a; font: 700 13px/1.6 Manrope, Arial, sans-serif; cursor: pointer; }
.cookie-notice .cookie-choice:hover { background: #e3f899; }
.cookie-details summary { display: list-item; cursor: pointer; color: #eef2e8; font-weight: 600; padding: 4px 0 8px; }
.cookie-details dl { margin: 8px 0 16px; }
.cookie-details dt { margin-top: 12px; color: #eef2e8; font-weight: 700; }
.cookie-details dd { margin: 3px 0 0; color: #c3cabf; }
.cookie-details code { overflow-wrap: anywhere; font-size: 12px; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 5px; }
.cookie-links a, .cookie-reopen { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-reopen { padding: 0; border: 0; background: none; cursor: pointer; }
.cookie-notice :is(button, a, summary):focus-visible, .cookie-reopen:focus-visible { outline: 2px solid #d8f36a; outline-offset: 4px; }
.refund-policy { padding: 14px 16px; margin: 16px 0; border: 1px solid #526033; border-radius: 7px; color: #c3cabf; font-size: 12px; line-height: 1.6; }
.refund-policy strong { color: #eef2e8; }
.refund-policy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-notice { inset: auto 12px 12px; padding: 18px; flex-direction: column; gap: 10px; max-height: 65dvh; font-size: 12px; }
  .cookie-notice h2 { font-size: 19px; }
  .cookie-actions { width: 100%; min-width: 0; }
  .cookie-notice .cookie-choice { width: 100%; }
}

/* Sprachwahl (Owner 12.10. und 26.10.2026, Punkt 18): zwei kleine Flaggen ohne Fläche, Rahmen und Text in der Ecke der
   Kopfleiste (am Handy unter den Links) und im Einwilligungsfenster; nie groß und nie im Bild. Bedienfläche 30 px, Flagge
   20 × 14 px, die aktive Sprache mit feinem Ring. Hier, weil jede Seite dieses Stilblatt lädt. */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-item { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; opacity: .55; transition: opacity .2s ease; }
.lang-item img { display: block; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgb(255 255 255 / .25); }
.lang-item:hover, .lang-item:focus-visible, .lang-item[aria-current] { opacity: 1; }
.lang-item[aria-current] img { box-shadow: 0 0 0 1px #111313, 0 0 0 2px #d8f36a; }
.lang-item:focus-visible { outline: 2px solid #d8f36a; outline-offset: 1px; }
.cookie-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 4px; }
/* Rechtslinks im Einwilligungsfenster mit 24 px hoher Bedienfläche (WCAG 2.2, 2.5.8; Punkt 10), Schrift unverändert. */
.cookie-links a { display: inline-flex; align-items: center; min-height: 24px; }
.withdrawal-entry, .legal-links a.withdrawal-entry, footer a.withdrawal-entry { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #d8f36a; border-radius: 6px; color: #d8f36a; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.withdrawal-entry:focus-visible { outline: 2px solid #d8f36a; outline-offset: 4px; }
