.cookie-settings-link { color: var(--accent-on-dark); background: none; border: 0; font: inherit; padding: 0; cursor: pointer; text-align: left; }
.cookie-settings-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* "Alle akzeptieren" is the one Volt action, pinned to the bottom (thumb zone, a bottom
   sheet on phones); "Nur notwendige" is a quiet text button in the opposite corner - still
   one tap on the first layer, full contrast, 44 px target, pinned like the accept button so
   scrolling never hides one of the two. The selection lives in .cookie-more. */
.cookie-dialog { color: var(--paper); background: var(--ink); border: 1px solid var(--slate); border-radius: var(--r-card); width: min(560px, calc(100vw - 30px)); max-height: calc(100dvh - 40px); overflow: hidden; margin: auto; padding: 0; box-shadow: var(--shadow-card); }
.cookie-dialog[open] { display: flex; flex-direction: column; }
.cookie-dialog::backdrop { background: color-mix(in srgb, var(--ink) 65%, transparent); }
.cookie-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 4px 28px; }
.cookie-dialog h2 { font: 500 26px/1.15 var(--display); margin: 0; outline: none; }
.cookie-decline { flex: none; min-height: 44px; padding: 0 8px; background: none; border: 0; border-radius: var(--r-pill); color: var(--paper); font: 500 13px var(--body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--slate); cursor: pointer; }
.cookie-decline:hover { text-decoration-color: currentColor; }
.cookie-body { overflow: auto; padding: 4px 28px 0; }
.cookie-dialog p { color: var(--mist); font-size: 13px; line-height: 1.75; }
.cookie-facts { padding: 14px 16px; border-radius: var(--r-inner); background: var(--card-dark); }
.cookie-facts strong { display: block; color: var(--paper); font-size: 13px; margin-bottom: 4px; }
.cookie-dialog .cookie-detail { font-size: 11px; }
.cookie-detail a { color: var(--accent-on-dark); }
.cookie-more { margin-bottom: 8px; font-size: 12px; }
.cookie-more summary { min-height: 44px; display: flex; align-items: center; color: var(--mist); cursor: pointer; }
.cookie-more summary::after { content: '›'; margin-left: 8px; font-size: 15px; transition: transform 0.15s; }
.cookie-more[open] summary::after { transform: rotate(90deg); }
.cookie-option { display: flex; align-items: center; gap: 13px; padding-block: 10px; font-size: 14px; }
.cookie-option input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.cookie-selected { width: 100%; margin-top: 4px; background: var(--card-dark); color: var(--paper); border: 1px solid var(--slate); border-radius: var(--r-pill); padding: 12px 16px; font: 500 13px var(--body); cursor: pointer; }
.cookie-selected:hover { border-color: var(--accent-on-dark); }
.cookie-actions { padding: 14px 28px 24px; border-top: 1px solid var(--slate); }
.cookie-actions button { width: 100%; min-height: 52px; background: linear-gradient(165deg, var(--accent-on-dark), var(--accent)); color: var(--on-accent); border: 0; border-radius: var(--r-pill); padding: 14px 18px; font: 600 15px var(--body); cursor: pointer; }
.cookie-actions button:hover { box-shadow: 0 7px 26px rgba(174, 233, 54, 0.24); }
.cookie-dialog button:disabled { opacity: 0.5; cursor: default; }
.cookie-dialog :is(a, button, input, summary):focus-visible, .cookie-settings-link:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 4px; }
@media (max-width: 600px) {
  .cookie-dialog { width: 100%; max-width: none; max-height: 88dvh; margin: auto 0 0; border-width: 1px 0 0; border-radius: var(--r-card) var(--r-card) 0 0; }
  .cookie-head { padding: 14px 12px 0 20px; }
  .cookie-dialog h2 { font-size: 21px; }
  .cookie-body { padding: 4px 20px 0; }
  .cookie-actions { padding: 12px 20px max(16px, env(safe-area-inset-bottom)); }
}
