/* ============================================================================
   Bejona Natural Hair Studio — Cookie-Consent-Banner Styles
   Farben an das bestehende Theme angelehnt (theme-color #4f573e)
   ========================================================================== */

.bcc-banner,
.bcc-modal-overlay {
  box-sizing: border-box;
}
.bcc-banner *,
.bcc-modal-overlay * {
  box-sizing: border-box;
}
.bcc-modal-overlay {
  opacity: 0;
  transition: opacity .5s ease;
}

.bcc-modal-overlay.bcc-visible {
  opacity: 1;
}

.bcc-modal-overlay .bcc-modal {
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.bcc-modal-overlay.bcc-visible .bcc-modal {
  transform: translateY(0) scale(1);
}
/* ---------- Basis-Banner (erste Ebene) ---------- */

@media (max-width: 768px) {
.bcc-banner {
  height: 284px;
}
.bcc-banner__inner {
  padding: 0;
  gap: 24px;
}
.bcc-banner__actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.bcc-btn-banner--sm {
  padding: 6px 12px;
  font-size: 11px;
}
}

@media (min-width: 768px) {
.bcc-banner__inner {
  padding: 8px 48px;
  gap: 120px;
}
.bcc-banner__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.bcc-btn-banner--sm {
  padding: 10px 20px;
  font-size: 12px;
}
}

.bcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: var(--cream);
  border-top: 1px solid #e4e4e0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  color: var(--color-olive-deep);
  animation: bcc-slide-up 0.35s ease-out;
}

@keyframes bcc-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.bcc-banner__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bcc-banner__text {
  flex: 1 1 675px;
  max-width: 675px;
  font-size: 14px;
  line-height: 1.55;
}

.bcc-banner__text h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--color-olive-deep);
}

.bcc-banner__text a, .bcc-modal__links a  {
  color: var(--color-olive-deep);
  transition: color;
  transition-duration: 500ms;
  text-decoration: underline;
  text-decoration-color: var(--color-olive-deep);
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
  text-decoration-style: dashed;
}

.bcc-banner__text a:hover, .bcc-modal__links a:hover {
color: var(--olive-bright);
}

.bcc-banner__links {
  display: flex;
  margin-top:16px;
  gap: 24px;
  font-size: 12px;
}


.bcc-btn--text {
  background: transparent;
  color: var(--color-olive-deep);
  transition: color;
  transition-duration: 500ms;
  border-color: transparent;
   text-decoration: underline;
  text-decoration-color: var(--color-olive-deep);
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
  text-decoration-style: dashed;
}
.bcc-btn--text:hover {
cursor: pointer;
color: var(--olive-bright);
}

/* ---------- Einstellungen-Modal ---------- */

@media (max-width: 768px) {
  .bcc-modal h2 {
  margin: 0 0 4px;
  font-size: 24px;
}
.bcc-modal p.bcc-modal__intro {
  font-size: 12px;
  line-height: 1.5;
  hyphens: auto;
  overflow-wrap: break-word;
  margin-top: 4px;
}

.bcc-modal__actions {
  justify-content: center;
}

.bcc-modal__close {
  display: none;
}
}

.bcc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(20, 22, 17, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
  
}

.bcc-modal {
  background: var(--cream);
  border-radius: 14px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;

}
@media (min-width: 768px) {
.bcc-modal h2 {
  margin: 0 0 4px;
  font-size: 30px;
  color: var(--color-olive-deep);
}

.bcc-modal p.bcc-modal__intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-olive-deep);
  margin-top: 4px;
}
.bcc-modal__actions {
  justify-content: center;
}
.bcc-btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}
}

.bcc-modal__links {
  display: flex;
  margin: 8px 0 20px 0;
  gap: 20px;
  font-size: 12px;
}
.bcc-category {
  border: 1px solid #e4e4e0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.bcc-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bcc-category__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-olive-deep);
}

.bcc-category__desc {
  font-size: 13px;
  color: #6b6f61;
  margin: 6px 0 0;
  line-height: 1.5;
}

.bcc-category__services {
  font-size: 12px;
  color: #8a8d7f;
  margin: 6px 0 0;
}

/* Toggle-Switch */
.bcc-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex: 0 0 auto;
}
.bcc-switch input { opacity: 0; width: 0; height: 0; }
.bcc-switch__track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #c9cbc2;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.bcc-switch__track::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 4px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.bcc-switch input:checked + .bcc-switch__track {
  background: #4f573e;
}
.bcc-switch input:checked + .bcc-switch__track::before {
  transform: translateX(18px);
}
.bcc-switch input:disabled + .bcc-switch__track {
  background: #dcdcd6;
  cursor: not-allowed;
}
.bcc-switch input:focus-visible + .bcc-switch__track {
  outline: 2px solid #4f573e;
  outline-offset: 2px;
}

.bcc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.bcc-btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}

.bcc-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #6b6f61;
  padding: 6px;
  transition: color;
}
.bcc-modal__close:hover {
color: #6b6f61c6;
}
.bcc-modal { position: relative; }


/* ---------- "Cookie-Einstellungen" Footer-Trigger ---------- */
.bcc-footer-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: color;
  transition-duration: 500ms;
}
.bcc-footer-link:hover {
  color: var(--color-cream)
}

