/* ==========================================================================
   locuoriorecords.com — Einwilligungsbanner
   Nutzt dieselben Design-Tokens wie style.css. Beide Schaltflächen sind
   bewusst identisch gestaltet: gleiche Grösse, gleicher Kontrast, gleiches
   Gewicht. Keine Vorauswahl, kein Dark Pattern.
   ========================================================================== */

.cc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;                       /* über der Follow-Leiste (70) */
  background: #100E0D;
  border-top: 1px solid rgba(214, 166, 58, .3);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .72);
  color: #F3EEE6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: clamp(20px, 3vw, 30px) 0 max(20px, env(safe-area-inset-bottom));
  animation: cc-in .3s cubic-bezier(.2, .8, .25, 1);
}
@keyframes cc-in { from { transform: translateY(14px); opacity: 0 } to { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none } }

.cc__in {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 40px);
}
.cc__body { flex: 1 1 min(460px, 100%) }

.cc__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #F3EEE6;
}
/* Die Überschrift bekommt beim Öffnen programmatisch den Fokus, damit
   Screenreader das Banner ansagen. Sie ist aber nicht bedienbar (tabindex="-1"),
   deshalb bekommt sie auch keinen Fokusring — der würde Bedienbarkeit
   signalisieren, die es nicht gibt. Die Schaltflächen haben ihren Ring. */
.cc__title:focus, .cc__title:focus-visible { outline: none }

.cc__text { margin: 0; color: #BDB3A6; font-size: .95rem; max-width: 68ch }
.cc__status { margin: 10px 0 0; font-size: .88rem; color: #948B7E }
.cc__status strong { color: #D6A63A; font-weight: 600 }

.cc__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px }
.cc__link {
  background: none; border: 0; padding: 6px 0;
  font: inherit; font-size: .88rem; color: #D6A63A;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.cc__link:hover { color: #EFCE7E }
.cc__link:focus-visible { outline: 2px solid #D6A63A; outline-offset: 3px; border-radius: 4px }

.cc__details {
  margin-top: 16px; padding: 16px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
}
.cc__dt { margin: 0 0 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #D6A63A; font-weight: 600; font-family: inherit }
.cc__dl { margin: 0; font-size: .88rem }
.cc__dl dt { font-weight: 600; color: #F3EEE6; margin-top: 10px }
.cc__dl dt:first-child { margin-top: 0 }
.cc__dl dd { margin: 3px 0 0; color: #BDB3A6 }

/* --- Aktionen: beide Schaltflächen exakt gleichwertig ------------------- */
.cc__actions {
  flex: 0 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-self: center;
}
.cc__btn {
  min-width: 210px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid #D6A63A;
  background: rgba(214, 166, 58, .12);
  color: #F3EEE6;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, transform .18s ease;
}
.cc__btn:hover { background: rgba(214, 166, 58, .24); transform: translateY(-2px) }
.cc__btn:focus-visible { outline: 2px solid #D6A63A; outline-offset: 3px }

@media (max-width: 900px) {
  /* Auf schmalen Geräten darf das Banner nie den ganzen Bildschirm füllen:
     der Textteil wird bei Bedarf scrollbar, die Schaltflächen bleiben sichtbar. */
  .cc { max-height: 82vh; max-height: 82dvh; display: flex; flex-direction: column }
  .cc__in { flex-direction: column; gap: 18px; min-height: 0; overflow-y: auto }
  .cc__actions { width: 100%; align-self: stretch }
  .cc__btn { flex: 0 0 auto; min-width: 0; width: 100% }
}
@media (max-width: 640px) {
  /* Schaltflächen nebeneinander statt untereinander: spart rund 15 % der
     Bildschirmhöhe. Beide bleiben gleich breit und über 44 px hoch. */
  .cc { padding-top: 18px }
  .cc__in { gap: 14px }
  .cc__text { font-size: .9rem }
  .cc__links { margin-top: 10px; gap: 16px }
  .cc__actions { gap: 10px; flex-wrap: nowrap }
  .cc__btn { flex: 1 1 0; padding: 14px 10px; font-size: .9rem }
}

/* Solange das Banner offen ist, verdeckt die Follow-Leiste es nicht. */
.cc-open .followbar { display: none }

/* Fussbereich: Schaltfläche „Cookie settings“ sieht aus wie die Nachbarlinks. */
.ftr__bot .cc-settings {
  background: none; border: 0; padding: 0;
  font: inherit; font-size: .845rem; color: #948B7E;
  cursor: pointer; text-align: left;
}
.ftr__bot .cc-settings:hover { color: #D6A63A }
.ftr__bot .cc-settings:focus-visible { outline: 2px solid #D6A63A; outline-offset: 3px; border-radius: 4px }
@media (pointer: coarse) { .ftr__bot .cc-settings { padding-block: 6px } }
