/* Cookie Consent – Vollbild-Overlay + Modal, ohne dein bestehendes CSS zu “zerstören” */
:root{
  --cc-z: 9999;
  --cc-radius: 18px;
  --cc-border: 1px solid rgba(255,235,200,.14);
  --cc-bg: rgba(10,8,6,.78);
  --cc-ink: rgba(255,245,225,.95);
  --cc-sub: rgba(245,238,225,.72);
  --cc-gold: rgba(214,177,95,.92);
  --cc-shadow: 0 18px 60px rgba(0,0,0,.70);
  --cc-shadow2: 0 10px 30px rgba(0,0,0,.45);
}

.ccBanner, .ccModal{ font-family: inherit; color: var(--cc-ink); }
.ccBanner * , .ccModal * { box-sizing: border-box; }

/* Seite sperren (kein Scrollen, keine Interaktion) */
body.cc-locked{ overflow: hidden !important; }

/* ============ BANNER (Vollbild-Overlay) ============ */
.ccBanner{
  position: fixed;
  inset: 0;
  z-index: var(--cc-z);
  display: none;
  padding: 14px;
}
.ccBanner.is-open{
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Blockt alles dahinter */
.ccBanner__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}

/* Panel sitzt unten, wie ein hochwertiges Bottom-Sheet */
.ccBanner__panel{
  position: relative;
  width: min(1080px, 96%);
  border-radius: calc(var(--cc-radius) + 6px);
  border: var(--cc-border);
  background: var(--cc-bg);
  backdrop-filter: blur(14px);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}
.ccBanner__panel::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,235,200,.06), transparent 35%, rgba(0,0,0,.35));
  pointer-events:none;
}
.ccBanner__inner{
  position: relative;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}
@media (max-width: 860px){
  .ccBanner__inner{ grid-template-columns: 1fr; }
}

.ccTitle{
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,235,200,.92);
}
.ccText{
  margin-top: 8px;
  color: var(--cc-sub);
  line-height: 1.6;
  font-size: 13px;
}
.ccLinks{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(245,238,225,.68);
}
.ccLinks a{
  color: var(--cc-gold);
  text-decoration: underline;
}

.ccActions{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 860px){
  .ccActions{ justify-content: flex-start; }
}

.ccBtn{
  appearance: none;
  border: var(--cc-border);
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(0,0,0,.22);
  color: var(--cc-ink);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: var(--cc-shadow2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ccBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(214,177,95,.28);
  background: rgba(214,177,95,.10);
}
.ccBtn--primary{
  background:
    radial-gradient(160px 90px at 30% 30%, rgba(242,210,138,.22), transparent 60%),
    linear-gradient(180deg, rgba(214,177,95,.26), rgba(10,8,6,.55));
  border-color: rgba(214,177,95,.26);
}
.ccBtn--ghost{
  background: rgba(0,0,0,.18);
}

/* ============ MODAL (Einstellungen) ============ */
.ccModal{
  position: fixed;
  inset: 0;
  z-index: calc(var(--cc-z) + 1);
  display: none;
}
.ccModal.is-open{ display: block; }

.ccModal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
}

.ccModal__panel{
  position: relative;
  width: min(900px, 94%);
  margin: min(7vh, 60px) auto;
  border-radius: calc(var(--cc-radius) + 6px);
  border: var(--cc-border);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}
.ccModal__head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,235,200,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ccModal__head strong{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255,235,200,.92);
}
.ccX{
  width: 44px; height: 44px;
  border-radius: 16px;
  border: var(--cc-border);
  background: rgba(0,0,0,.22);
  cursor: pointer;
  color: var(--cc-ink);
}
.ccModal__body{
  padding: 14px;
  display: grid;
  gap: 10px;
}
.ccHint{
  color: rgba(245,238,225,.70);
  font-size: 13px;
  line-height: 1.6;
}

.ccCard{
  border-radius: 18px;
  border: 1px solid rgba(255,235,200,.10);
  background: rgba(0,0,0,.22);
  padding: 12px;
}
.ccRow{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.ccRowTitle{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
}
.ccRowDesc{
  margin-top: 6px;
  color: rgba(245,238,225,.70);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Toggle */
.ccToggle{
  position: relative;
  width: 52px;
  height: 30px;
  display: inline-block;
}
.ccToggle input{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.ccToggle span{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,235,200,.14);
  border-radius: 999px;
  transition: .18s ease;
}
.ccToggle span::after{
  content:"";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255,245,225,.92);
  transition: .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
}
.ccToggle input:checked + span{
  background: rgba(214,177,95,.22);
  border-color: rgba(214,177,95,.30);
}
.ccToggle input:checked + span::after{
  transform: translateX(22px);
  background: rgba(242,210,138,.95);
}
.ccToggle input:disabled + span{
  opacity: .55;
  cursor: not-allowed;
}

.ccModal__foot{
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,235,200,.10);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 640px){
  .ccModal__foot .ccBtn{ width: 100%; }
}

/* Footer-Link (Widerruf/Ändern) */
.ccOpenLink{
  appearance:none;
  border: 1px solid rgba(255,235,200,.12);
  background: rgba(0,0,0,.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(242,210,138,.92);
  cursor: pointer;
  font: inherit;
}
.ccOpenLink:hover{
  background: rgba(214,177,95,.10);
  border-color: rgba(214,177,95,.26);
}