/* ================================================================
   consent.css – Option A (DSGVO-konform)
   - Banner unten (cc-banner)
   - Einstellungs-Modal (cc-modal)
   - Hinweis-Box, wenn Funktional AUS (booking-hint)
   - Buttons (cc-btn, cc-accept, cc-decline, cc-settings)
   ================================================================= */

/* Design-Variablen */
:root{
  --bg:#35b9b0;
  --fg:#fff;
  --muted:#fff;
  --accent:#efefef;
}

/* ---------------- Banner (unten) ---------------- */
#cc-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  color: var(--fg);
  display: none; /* per JS ein-/ausblenden */
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  padding: 18px;
}
#cc-banner .cc-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
#cc-banner p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
#cc-banner a{
  color: #efefef;
  text-decoration: underline;
}
#cc-banner .cc-actions{
  display: flex;
  gap: 10px;
}

/* ---------------- Buttons ---------------- */
.cc-btn{
  border: 0;
  border-radius: 25px;
  padding: 10px 14px;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
}
.cc-accept{ background: var(--accent); color: #333; }
.cc-decline,
.cc-settings{ background: var(--bg); border: 1px solid #fff; color: #fff; }

/* ---------------- Einstellungs-Modal ---------------- */
#cc-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none; /* per JS ein-/ausblenden */
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
#cc-modal .cc-card{
  background: var(--bg);
  color: #fff;
  padding: 22px;
  border-radius: 14px;
  max-width: 520px;
  width: 92%;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
#cc-modal .cc-card h3{
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #fff;
}
#cc-modal .cc-card p{
  margin: 0 0 14px 0;
  color: #fff;
  line-height: 1.5;
}
.cc-cat{
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #fff;
}
#cc-modal .cc-actions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ---------------- Hinweis-Box (wenn Funktional AUS) ---------------- */
/* Diese Box erscheint NUR, wenn "Funktional" AUS ist – der Shore-Button
   wird dann nicht geladen und existiert nicht. */
#booking-hint{
  position: fixed;
  bottom: 16px;
  left: 16px;               /* Wenn dein Shore-Button sonst rechts sitzt:
                               ersetzen durch: right:16px; left:auto; */
  z-index: 10010;
  background: var(--bg);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
#booking-hint a{
  color: #fff;
  text-decoration: underline;
}
#booking-hint.hidden{
  display: none !important;
}

/* Immer verfügbarer Button zum Öffnen der Cookie-Einstellungen */

#cc-manage {
    position: fixed;
    right: 80px;
    bottom: 26px;
    z-index: 10010;
    background: var(--bg);
    color: #fff;
    border: 0;
    padding: 7px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    border-radius: 20px;
}
#cc-manage:hover { filter: brightness(1.05); }


/* ---------------- Kleinere Bildschirme ---------------- */
@media (max-width: 480px){
  #cc-banner p{ font-size: 13px; }
  .cc-btn{ padding: 9px 12px; font-size: 13px; }
  #booking-hint{ font-size: 13px; padding: 9px 12px; }
}
