/* Kleinfeldt GmbH – Cookie-Banner (consent.js). Farben der Website: #01568f Blau, #212326 Text. */
.kf-consent {
  --kf-blue: #01568f;
  --kf-blue-dark: #014470;
  --kf-text: #212326;
  --kf-muted: #5b6168;
  --kf-line: #dfe5ea;
  position: fixed; left: 50%; bottom: 20px; z-index: 2147483000;
  width: min(640px, calc(100% - 32px));
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
  font-family: 'Inter', Arial, sans-serif; color: var(--kf-text); font-size: 15px; line-height: 1.55;
}
.kf-consent.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .35s ease, opacity .35s ease; }
.kf-consent__inner {
  background: #fff; border-top: 4px solid var(--kf-blue); border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22); padding: 22px 24px 16px;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.kf-consent__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--kf-blue); }
.kf-consent__text { margin: 0 0 14px; }
.kf-consent__groups { display: grid; gap: 8px; margin: 0 0 14px; }
.kf-consent__groups[hidden] { display: none; }
.kf-consent__group {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px;
  border: 1px solid var(--kf-line); border-radius: 6px; cursor: pointer; margin: 0;
}
.kf-consent__group input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--kf-blue); flex: none; }
.kf-consent__group strong { display: block; font-size: 15px; }
.kf-consent__group small { display: block; color: var(--kf-muted); font-size: 13px; line-height: 1.45; }
.kf-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-consent__btn {
  appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 4px; border: 2px solid var(--kf-blue);
  background: #fff; color: var(--kf-blue); text-transform: uppercase; letter-spacing: .02em;
}
.kf-consent__btn:hover { background: #eef5fa; }
.kf-consent__btn--primary { background: var(--kf-blue); color: #fff; }
.kf-consent__btn--primary:hover { background: var(--kf-blue-dark); border-color: var(--kf-blue-dark); }
.kf-consent__btn--link { border-color: transparent; text-decoration: underline; text-transform: none; letter-spacing: 0; padding-left: 8px; padding-right: 8px; }
.kf-consent__btn[hidden] { display: none; }
.kf-consent__btn:focus-visible, .kf-consent-fab:focus-visible, .kf-blocked__btn:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.kf-consent__links { margin: 12px 0 0; font-size: 13px; color: var(--kf-muted); }
.kf-consent__links a { color: var(--kf-muted); text-decoration: underline; }
@media (max-width: 560px) {
  .kf-consent { bottom: 0; width: 100%; }
  .kf-consent__inner { border-radius: 8px 8px 0 0; padding: 18px 16px 12px; }
  .kf-consent__btn { flex: 1 1 100%; }
  .kf-consent__btn--link { flex: 1 1 100%; }
}

/* Button zum erneuten Öffnen (an der Stelle des bisherigen Fremd-Widgets unten links) */
.kf-consent-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 2147482999;
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 10px; cursor: pointer;
  background: #01568f; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.kf-consent-fab svg { width: 100%; height: 100%; fill: #fff; display: block; }
.kf-consent-fab:hover { background: #014470; }

/* Platzhalter für blockierte externe Inhalte */
.kf-blocked { position: relative; width: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center;
  background: #eef3f7; border: 1px solid #dfe5ea; border-radius: 6px; font-family: 'Inter', Arial, sans-serif; color: #212326; }
.fluid-width-video-wrapper > .kf-blocked { position: absolute; inset: 0; min-height: 0; }
.kf-blocked__box { max-width: 420px; padding: 20px; text-align: center; font-size: 14px; line-height: 1.5; }
.kf-blocked__box p { margin: 0 0 10px; }
.kf-blocked__title { font-weight: 700; font-size: 16px; color: #01568f; }
.kf-blocked__btn { cursor: pointer; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 4px; border: 0; background: #01568f; color: #fff; }
.kf-blocked__btn:hover { background: #014470; }
