/* ===== nana – gemeinsame Basis-Styles (auf jeder Seite eingebunden) ===== */
:root{
  --bg: #0c0c10;
  --bg-raised: #17161c;
  --ink: #f4f2ee;
  --ink-dim: #c8c4d4; /* Schriftblöcke (Fließtext) ~30% heller, vorher #9a97a3 */
  --accent: #ff2f6e;
  --accent-2: #ffce45;
  --accent-orange: #f7b543;
  --radius: 2px;
  --card-width: 220px;
  --arrow-stroke: 2.5;   /* Dicke der prevBtn/nextBtn-Pfeile — hier zentral einstellbar */
}

*{ box-sizing: border-box; }

a{ color: inherit; }

/* background-attachment:fixed wird auf Touch-Geräten (v.a. iOS Safari)
   nicht zuverlässig unterstützt und kann beim Scrollen ruckeln — ab
   Tablet-Größe auf "scroll" umschalten, auf jeder Seite gleich. */
@media (max-width: 1024px){
  body{ background-attachment: scroll; }
}

/* ===== COOKIE-CONSENT (DSGVO/Europa) — auf jeder Seite identisch ===== */
/* Cookie-Icon: eigenes Bild (images/cookie-icon.png, weißer Keks mit
   Biss auf transparentem Grund) auf schwarzem Kreis-Button. */
.cookie-toggle{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 300;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #0c0c10;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12,12,16,0.35);
  transition: background 0.15s ease, color 0.15s ease;
}

.cookie-toggle:hover,
.cookie-toggle:focus-visible{
  background: var(--accent-orange);
  color: #0c0c10;
  outline: none;
}

.cookie-toggle img{
  width: 32px;
  height: 32px;
  display: block;
  transition: filter 0.15s ease;
}

.cookie-toggle:hover img,
.cookie-toggle:focus-visible img{
  /* Icon ist eine weiße PNG-Grafik — beim Hover (oranger Hintergrund)
     wird sie wie zuvor beim SVG auf dunkel umgefärbt, damit sie auf
     Orange lesbar bleibt. */
  filter: brightness(0);
}

.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: var(--bg);
  border-top: 1px solid #273c4d;
  padding: 24px 40px;
}

.cookie-banner[hidden]{ display: none; }

.cookie-banner-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p{
  margin: 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.cookie-banner p a{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions,
.cookie-settings-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn{
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-btn:hover,
.cookie-btn:focus-visible{
  background: #ffffff;
  color: #0c0c10;
  outline: none;
}

.cookie-btn.primary{
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #0c0c10;
}

.cookie-btn.primary:hover,
.cookie-btn.primary:focus-visible{
  background: transparent;
  color: var(--accent-orange);
}

.cookie-overlay{
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(12,12,16,0.7);
}

.cookie-overlay[hidden]{ display: none; }

.cookie-settings{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 290;
  width: min(520px, calc(100% - 40px));
  max-height: min(640px, calc(100% - 40px));
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid #38363f;
  border-radius: var(--radius);
  padding: 28px;
}

.cookie-settings[hidden]{ display: none; }

.cookie-settings h3{
  margin: 0 0 8px;
  font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
  font-weight: 900;
  font-size: 20px;
}

.cookie-settings > p{
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.cookie-category{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #273c4d;
}

.cookie-category:first-of-type{ border-top: none; padding-top: 0; }

.cookie-category-text h4{
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-category-text p{
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* Toggle-Switch für die Kategorien */
.cookie-switch{
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
}

.cookie-switch input{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-switch .track{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #38363f;
  transition: background 0.15s ease;
  pointer-events: none;
}

.cookie-switch .thumb{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
  pointer-events: none;
}

.cookie-switch input:checked ~ .track{ background: var(--accent-orange); }
.cookie-switch input:checked ~ .thumb{ transform: translateX(18px); background: #0c0c10; }

.cookie-switch input:disabled ~ .track{ background: #4a4850; }
.cookie-switch input:disabled{ cursor: not-allowed; }

.cookie-switch input:focus-visible ~ .track{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 640px){
  .cookie-banner{ padding: 20px; }
  .cookie-banner-inner{ flex-direction: column; align-items: stretch; }
  .cookie-actions{ justify-content: stretch; }
  .cookie-actions .cookie-btn{ flex: 1 1 auto; text-align: center; }
  .cookie-toggle{ left: 16px; bottom: 16px; width: 52px; height: 52px; }
  .cookie-toggle img{ width: 28px; height: 28px; }

  /* iPhone: Schriftblöcke im Cookie-Dialog ca. 20% größer, wie überall
     sonst auf der Seite */
  .cookie-banner p{ font-size: 15.5px; }
  .cookie-btn{ font-size: 13px; }
  .cookie-settings h3{ font-size: 24px; }
  .cookie-settings > p{ font-size: 15.5px; }
  .cookie-category-text h4{ font-size: 15.5px; }
  .cookie-category-text p{ font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce){
  .cookie-toggle,
  .cookie-btn,
  .cookie-switch .track,
  .cookie-switch .thumb{ transition: none; }
}
