/* ============================================================
   CONSENT BANNER – DSGVO / Google Consent Mode v2
   ============================================================ */
#consentBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 2px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #374151;
  display: none;
  /* iOS Safari: verhindert, dass fixed-Elemente bei overflow:hidden verschwinden */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}
#consentBanner.visible {
  display: block;
}
.consent-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.consent-text {
  flex: 1;
  min-width: 260px;
  line-height: 1.55;
}
.consent-text a {
  color: #1B6B4E;
  text-decoration: underline;
}
.consent-text strong {
  color: #111827;
}
.consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.consent-btn-accept {
  background: #1B6B4E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.consent-btn-accept:hover {
  background: #155c41;
}
.consent-btn-decline {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.consent-btn-decline:hover {
  background: #f9fafb;
  color: #374151;
}

/* Mobile */
@media (max-width: 600px) {
  #consentBanner {
    padding: 16px;
  }
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .consent-buttons {
    justify-content: stretch;
  }
  .consent-btn-accept,
  .consent-btn-decline {
    flex: 1;
    text-align: center;
  }
}
