@charset "utf-8";

/* =========================================================
   NADJASART – COOKIE-EINWILLIGUNG
   Ergänzung zu nadjasart.css
   Bereinigte Arbeitsversion – November 2026
   ========================================================= */

/* 1. Cookie-Hinweis */

.cookie-box {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 9999;

  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;

  max-width: 850px;
  margin: auto;
  padding: 18px 20px;

  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 15px;

  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 35px #17343b35;
}

/* Sichtbarkeit wird durch JavaScript gesteuert */

.cookie-box.visible {
  display: flex;
}

/* 2. Hinweistext */

.cookie-box p {
  flex: 1 1 350px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* 3. Schaltflächenbereich */

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cookie-buttons button {
  padding: 9px 17px;
  border: 1px solid var(--teal);
  border-radius: 24px;
  font: 700 14px system-ui, sans-serif;
  cursor: pointer;
}

/* 4. Zustimmung */

.cookie-yes {
  background: var(--teal);
  color: white;
}

.cookie-yes:hover {
  background: var(--ink);
}

/* 5. Ablehnung */

.cookie-no {
  background: white;
  color: var(--ink);
}

.cookie-no:hover {
  background: #e4f0eb;
}

/* 6. Cookie-Einstellungen */

.cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* 7. Tastaturbedienung */

.cookie-box button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* 8. Smartphone */

@media (max-width: 720px) {

  .cookie-box {
    gap: 12px;
    padding: 16px;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
  }

  .cookie-box p {
    flex-basis: 100%;
  }
}

/* 9. Kleine Smartphones */

@media (max-width: 400px) {

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }
}
