/* einwilligung.css */
/* PL 24.11.2026 11:10: wie das Fenster von vorher (Karte unten Mitte, Rahmen, Schatten, «Ja» grün/weiss, «Nein» weiss/grün), halb so gross.
   PL 11:47: 30 % grösser (360 → 468 px, Schrift 13 → 17 px, Knöpfe 28 → 36 px) und die ganze Keks-Figur mit Schild «Cookies?».
   Knöpfe gleich gross (Recht G2), mind. 24 px (WCAG 2.2 AA). Farben wie stil.css: Text Tanne #163A2E auf Weiss 12,51 : 1; «Ja» weiss auf Blatt #1E6B4F 6,42 : 1. */
.ew{position:fixed;left:0;right:0;bottom:0;top:auto;margin:0 auto;width:min(100% - 16px,468px);max-width:none;box-sizing:border-box;
  padding:10px;border:2px solid #163A2E;border-bottom:0;border-radius:10px 10px 0 0;background:#fff;color:#163A2E;font-size:15px;line-height:1.35;z-index:1000;box-shadow:0 -3px 10px rgba(0,0,0,.15)}
.ew-kopf{display:flex;gap:10px;align-items:center;margin:0 0 8px}
.ew img{width:140px;height:105px;flex:none}
.ew p{margin:0}
.ew .ew-titel{margin:0 0 4px}   /* PL 20:01: Titel «Datenschutzeinstellungen» fett */
.ew a{color:#163A2E;text-decoration:underline}
.ew-knoepfe{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ew-knoepfe button{min-height:36px;padding:3px 10px;border-radius:6px;font:inherit;font-weight:700;cursor:pointer;border:1px solid #1E6B4F}
.ew-knoepfe [data-ew-ja]{background:#1E6B4F;color:#fff}
.ew-knoepfe [data-ew-nein]{background:#fff;color:#163A2E}
.ew button:focus-visible,.ew a:focus-visible{outline:3px solid #163A2E;outline-offset:2px}
@media (max-width:479px){.ew{font-size:14px}.ew img{width:96px;height:72px}}
/* PL 20:03: längerer Text – Schrift kleiner, Fenster und Bild gleich: 17 → 15 px, Handy 15 → 14 px, gross 22 → 18 px.
   PL 24.11.2026 18:06: auf grossen Bildschirmen (ab 1024 px) 30 % grösser: 468 → 608 px, Schrift 17 → 22 px, Bild 140×105 → 182×137, Knöpfe 36 → 47 px. */
@media (min-width:1024px){.ew{width:608px;padding:13px;font-size:18px}.ew-kopf{gap:13px;margin-bottom:10px}.ew img{width:182px;height:137px}.ew-knoepfe{gap:10px}.ew-knoepfe button{min-height:47px;padding:4px 13px}}
/* PL 20:35 (Vorlage Bildschirmfoto): Text links, Keks rechts, Keks grösser (182 → 230 px), Fenster 608 → 640 px, damit die Zeilen gleich bleiben, mehr Rand; Knöpfe unten nebeneinander. */
.ew-kopf{justify-content:space-between}.ew-text{flex:1 1 auto;min-width:0}.ew img{order:2}
@media (min-width:1024px){.ew{width:700px;padding:40px 40px 24px;font-size:15px}.ew{line-height:1.6}.ew .ew-titel{margin-bottom:8px}.ew-kopf{gap:0;margin-bottom:22px;justify-content:space-between}.ew-text{flex:1 1 auto;position:relative;z-index:1}.ew img{width:270px;height:202px;margin:0 -30px 0 -24px}}

/* PL 20:44 (Vorlage 11): Bild steckt im Block .ew-inhalt. Handy/Tablet: Text oben über die ganze Breite, Keks rechts unten, Text fliesst darum (Abstand setzt einwilligung.js). PC: wie Vorlage 7. */
@media (max-width:1023px){.ew-kopf{display:block}.ew-inhalt::before{content:"";float:right;width:0;height:var(--ew-abstand,0)}.ew-inhalt img{float:right;clear:right;width:130px;height:97px;margin:0 -6px 0 6px}.ew-inhalt::after{content:"";display:block;clear:both}}
@media (min-width:1024px){.ew-inhalt{display:contents}}
/* PL 20:46/20:47 (Vorlage 12 = Handy und Tablet): bis 1023 px: Schrift 15 → 14 px, Rand 10 → 22 px */
@media (max-width:1023px){.ew{font-size:14px;padding:22px 22px 18px}.ew-kopf{margin-bottom:14px}}
/* sehr schmale Handys (bis 379 px): weniger Rand und kleinerer Keks, sonst passt «Datenschutzerklärung» nicht neben den Keks */
@media (max-width:379px){.ew{padding:14px 14px 12px}.ew-inhalt img{width:100px;height:75px}.ew-knoepfe button{padding:3px 6px}}
/* PL 20:51 (Vorlage 16): nur Tablet 480–1023 px: Text näher am Keks, Rand links, oben und unten grösser */
@media (min-width:480px) and (max-width:1023px){.ew{padding:32px 22px 24px 36px}.ew-kopf{margin-bottom:20px}.ew-inhalt img{margin:0 -8px 0 -14px}.ew-text{position:relative;z-index:1}}
/* PL 20:52: Worttrennung, wo sinnvoll (Sprache aus <html lang>); Titel bleibt ganz */
.ew-text p{hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:8 4 4}.ew .ew-titel{hyphens:manual}
/* PL 20:53 (Vorlage 18): Computer – Rand links 40 → 60 px */
@media (min-width:1024px){.ew{padding-left:60px}}
/* PL 20:54 (Vorlage 19): Computer – Schrift 15 → 14 px, damit «Datenschutzerklärung» ganz bleibt */
@media (min-width:1024px){.ew{font-size:14px}}
/* PL 20:56 (Vorlage 21): Computer – Rahmen weniger hoch: Rand oben 40 → 22 px, unten 24 → 18 px, Abstand zu den Knöpfen 22 → 12 px */
@media (min-width:1024px){.ew{padding-top:22px;padding-bottom:18px}.ew-kopf{margin-bottom:12px}}
/* PL 20:57 (Vorlage 22): Computer – ganzer Text 3 px höher */
@media (min-width:1024px){.ew-text{top:-3px}}
/* PL 20:59 (Vorlage 24): Tablet – Keks 6 px höher */
@media (min-width:480px) and (max-width:1023px){.ew-inhalt img{position:relative;top:-6px}}
/* PL 21:01 (Vorlage 25): Tablet – Keks nochmals 5 px höher (gesamt 11 px), Abstand Text–Knöpfe 20 → 5 px */
@media (min-width:480px) and (max-width:1023px){.ew-inhalt img{top:-11px}.ew-kopf{margin-bottom:5px}}
/* F146 Nr. 4 (Soll FVD F143 Nr. 1, L17 «besser 44»): Knöpfe «Alle akzeptieren» / «Ablehnen» unter 1024 px mindestens 44 px hoch (vorher 36 px); ab 1024 px bleiben 47 px */
@media (max-width:1023px){.ew-knoepfe button{min-height:44px}}
/* laender-wahl.css */
/* PL 22.11.2026 21:28: Länderwahl (Fahnen) – Fläche mindestens 44×44 px, aktuelles Land mit Ring und Abstand (PL 22:37: Strich hing am roten Streifen der AT-Fahne) */
.band-sprache.land-wahl{gap:4px}
.band-sprache.land-wahl a,.band-sprache.land-wahl .land-aktuell{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.band-sprache.land-wahl .land-aktuell img{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
.band-sprache.land-wahl a:focus-visible{outline:3px solid currentColor;outline-offset:-3px}
@media (max-width:560px){.band-sprache.land-wahl{position:static;transform:none;justify-content:center}}
