/* ================================
   COOKIE BANNER — FULL WIDTH BOTTOM
================================ */

.cookie-banner-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;

  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(6px);

  padding: 1rem 2rem;                   /* ↓ sehr schlank */
  border-top: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);

  z-index: 999999;
}

/* =============================
   LEFT SECTION (TEXT)
============================= */
.cookie-banner-left {
  max-width: 70%;
}

.cookie-banner-title {
  color: var(--brand, #5a3c32);
  font-size: 1.1rem;                   /* ↓ kleiner */
  margin-bottom: .25rem;               /* ↓ enger */
  font-weight: 500;
}

.cookie-text {
  font-size: .9rem;                    /* ↓ kleiner */
  line-height: 1.45;                   /* ↓ kompakter */
  color: #333;
  margin: 0;
}

.cookie-link {
  color: var(--brand, #5a3c32);
  text-decoration: underline;
}


/* =============================
   RIGHT SECTION (BUTTONS)
============================= */

.cookie-actions {
  display: flex;
  gap: .6rem;                           /* ↓ enger */
}

.cookie-btn {
  padding: .6rem 1.2rem;               /* ↓ kleiner */
  border-radius: 12px;
  border: none;
  font-size: .9rem;                    /* ↓ kleiner */
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .25s ease;
}

.cookie-accept {
  background: var(--brand, #5a3c32);
  color: white;
}

.cookie-settings-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
}

.cookie-btn:hover {
  opacity: 0.8;
}


/* ================================
   SETTINGS POPUP
================================ */

.cookie-settings {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
}

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

.cookie-settings-modal {
  width: min(620px, 92%);
  background: rgba(247,245,241,0.97);
  border-radius: 26px;
  padding: 2.4rem;
  box-shadow: 0 18px 44px rgba(0,0,0,0.32);
  position: relative;
  animation: popupSlideUp .35s ease;
}

@keyframes popupSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .55;
}

.cookie-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  color: var(--brand, #5a3c32);
}

.cookie-desc {
  font-size: .95rem;
  margin-bottom: 1.6rem;
  color: #444;
}

/* OPTIONS */

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1.2rem;
}

.cookie-option input {
  margin-top: 5px;
}

.cookie-info {
  font-size: .85rem;
  color: #555;
  margin-top: .2rem;
}

/* SAVE BUTTON */

.cookie-save {
  margin-top: 1.4rem;
  background: var(--brand, #5a3c32);
  color: white;
  border-radius: 14px;
  padding: .8rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
}

.cookie-save:hover {
  opacity: 0.85;
}

/* ===========================================
   DATENSCHUTZ-HINWEIS UNTER DEN BUTTONS
=========================================== */

.cookie-legal-hint {
  margin-top: 1.8rem;          /* mehr Abstand */
  font-size: 0.85rem;          /* kleinere Schrift */
  color: #666;
  line-height: 1.45;
  text-align: left;
}

.cookie-legal-hint a {
  color: var(--brand, #5a3c32);
  text-decoration: underline;
}
/* ================================
   RESPONSIVE ADJUSTMENTS
================================ */

@media (max-width: 850px) {

  .cookie-banner-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.4rem;
    gap: 1rem;
  }

  .cookie-banner-left {
    max-width: 100%;
  }

  .cookie-actions {
    justify-content: flex-start;
    width: 100%;
  }
}