/* Cookie-Banner: Markup und Logik aus assets/js/keks.js (Live-Stand Vimex 14.10.2026), Variablen hier gekapselt */
.cookie-wall{--bg:#fff;--bg-alt:#f5f5f7;--line:rgba(9,68,94,.14);--muted:#5d6b73;--petrol:#09445E;--petrol-dark:#062f41;--teal:#0F6F7E;--text:#14232b;--shadow:0 2px 4px rgba(9,68,94,.04),0 40px 80px -30px rgba(9,68,94,.25);font-family:Inter,system-ui,sans-serif}
.cookie-wall .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:12px;font:600 15px/1.2 Inter,system-ui,sans-serif;border:0;cursor:pointer}
.cookie-wall .btn-primary{background:var(--teal);color:#fff}
.cookie-wall .btn-primary:hover{background:#0c5f6c}
.cookie-wall .ti{display:none}
/* ---------- Cookie-Banner (Markup und Logik: assets/js/keks.js, Rechts-Stufe 3 vom 14.10.2026) ----------
   Farben nur über Tokens, damit Seiten mit eigenem --teal (z. B. .page-abriss) automatisch passen. */
.cookie-wall { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
/* W2 (Runde 3): Akzent nur innerhalb der Cookie-Wand dunkler, Weiß darauf 5,8:1 (wie --teal der LPs). Das Seiten-Token bleibt #1796A8 */
.cookie-wall { --teal: #0F6F7E; }
.cookie-wall[hidden] { display: none !important; }
html.kekse-offen, html.kekse-offen body { overflow: hidden !important; }
.cookie-backdrop { position: absolute; inset: 0; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cookie-backdrop::before { content: ''; position: absolute; inset: 0; background: var(--petrol-dark); opacity: .74; }
.cookie-card {
  position: relative; z-index: 1; background: var(--bg); color: var(--text); border-radius: 20px;
  padding: 34px 34px 26px; max-width: 520px; width: 100%; text-align: center;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: var(--shadow); animation: cookiePop .3s cubic-bezier(.34,1.56,.64,1) both;
}
.cookie-card:focus { outline: none; }
@keyframes cookiePop { from { opacity:0; transform:scale(.92) translateY(16px); } to { opacity:1; transform:none; } }
.cookie-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); font: inherit; font-size: 26px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cookie-close[hidden] { display: none !important; }
.cookie-close:hover { background: var(--bg-alt); color: var(--petrol); }
.cookie-logo { margin-bottom: 18px; display: flex; justify-content: center; }
.cookie-logo img { height: 38px; width: auto; }
.cookie-title { font-size: 19px; font-weight: 700; color: var(--petrol); margin-bottom: 12px; }
.cookie-text { font-size: 13.5px; color: var(--text); line-height: 1.65; margin-bottom: 14px; }
.cookie-status { font-size: 13px; font-weight: 600; color: var(--petrol); background: var(--bg-alt); border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.cookie-status[hidden] { display: none !important; }
.cookie-links { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cookie-links a { color: var(--petrol); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.cookie-links a:hover { color: var(--teal); }
/* Akzeptieren und Ablehnen: gleiche Ebene, gleiche Größe, beide in Markenfarbe (N5) */
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn {
  width: 100%; min-height: 48px; justify-content: center; text-align: center;
  font-size: 14px; line-height: 1.25; padding: 11px 8px; white-space: normal;
  border: 2px solid var(--teal); border-radius: 10px;
}
.cookie-actions .btn-primary:hover, .cookie-save:hover, .karte-knopf:hover { background: var(--teal); filter: brightness(.9); }
.btn-cookie-reject { background: var(--bg); color: var(--petrol); box-shadow: none; }
.btn-cookie-reject:hover { background: var(--bg-alt); color: var(--petrol); }
.btn-cookie-settings {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 12px auto 0; padding: 8px 12px; min-height: 44px; min-width: 44px;
  background: none; border: 0; border-radius: 8px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.btn-cookie-settings:hover { color: var(--petrol); }
.cookie-card :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
/* Einstellungen */
.cookie-settings-panel { text-align: left; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie-settings-panel[hidden] { display: none !important; }
.cookie-category { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-category:last-of-type { border-bottom: none; margin-bottom: 14px; }
.cookie-cat-label { font-size: 13.5px; font-weight: 700; color: var(--petrol); margin-bottom: 3px; }
.cookie-cat-text { font-size: 12.5px; color: var(--text); line-height: 1.5; }
.cookie-always-on { font-size: 12px; font-weight: 600; color: var(--petrol); white-space: nowrap; padding-top: 2px; }
.cookie-toggle-wrap { position: relative; display: flex; align-items: center; padding-top: 2px; flex-shrink: 0; cursor: pointer; }
.cookie-toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cookie-toggle-track { display: inline-block; width: 44px; height: 24px; background: var(--text); border-radius: 12px; position: relative; transition: background .2s; }
.cookie-toggle-input:checked + .cookie-toggle-track { background: var(--teal); }
.cookie-toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--bg); border-radius: 50%; transition: transform .2s; }
.cookie-toggle-input:checked + .cookie-toggle-track::after { transform: translateX(20px); }
.cookie-toggle-input:focus-visible + .cookie-toggle-track { outline: 3px solid var(--teal); outline-offset: 2px; }
.cookie-save { width: 100%; justify-content: center; }
@media (max-width: 480px) {
  .cookie-card { padding: 28px 18px 20px; }
}
@media (max-width: 340px) {
  .cookie-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-card { animation: none; }
}

