/* ============================================================
   Kopp Beratung — Cookie-Consent (self-hosted, kein Drittanbieter)
   ============================================================ */

.kb-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--kb-navy); color: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-xl);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.kb-consent.is-visible { transform: translateY(0); }
.kb-consent__inner {
  max-width: var(--container); margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.kb-consent__text { margin: 0; font-size: 14px; line-height: 1.6; flex: 1 1 360px; color: rgba(255,255,255,0.85); }
.kb-consent__text a { color: var(--kb-blue); }
.kb-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex: 0 0 auto; }
.kb-consent__btn {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; cursor: pointer;
  border-radius: 10px; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: #fff;
}
.kb-consent__btn:hover { background: rgba(255,255,255,0.08); }
.kb-consent__btn--link { border-color: transparent; text-decoration: underline; padding: 10px 4px; }

.kb-consent__overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(5,11,31,0.5);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.kb-consent__overlay.is-visible { display: flex; }
.kb-consent__panel {
  position: relative; background: #fff; color: var(--kb-navy);
  border-radius: 16px; padding: 32px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-xl); max-height: 90vh; overflow-y: auto;
}
.kb-consent__panel h3 { margin: 0 0 4px; }
.kb-consent__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--kb-grey-100);
}
.kb-consent__row strong { display: block; font-size: 15px; margin-bottom: 4px; }
.kb-consent__row p { margin: 0; font-size: 13px; color: var(--kb-grey-500); line-height: 1.5; }
.kb-consent__row input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--kb-orange); }
.kb-consent__panel .btn { margin-top: 20px; width: 100%; justify-content: center; }
.kb-consent__close {
  position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--kb-grey-500);
}

@media (max-width: 720px) {
  .kb-consent__inner { padding: 16px 20px; }
  .kb-consent__actions { width: 100%; justify-content: space-between; }
}
