/**
 * Klaro im Praxis-Design.
 * Überschreibt die CSS-Variablen des Standard-Themes und ein paar Details,
 * damit Banner und Dialog zur Website passen.
 */
.klaro {
  --font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --title-font-family: 'Source Serif', ui-serif, Georgia, serif;
  --font-size: 15px;

  --border-radius: 16px;
  --border-style: solid;
  --border-width: 1px;

  /* Flächen */
  --dark1: #ffffff;
  --dark2: #faf8f5;
  --dark3: #f1eee8;

  /* Text auf hellem Grund */
  --light1: #1c1f2e;
  --light2: #55596b;
  --light3: #7c8093;

  --white1: #ffffff;
  --white2: #faf8f5;
  --white3: #efe7db;

  /* Aktionen = Logo-Navy */
  --green1: #27348b;
  --green2: #212c74;
  --green3: #3a47a0;

  --blue1: #27348b;
  --blue2: #212c74;

  --button-text-color: #ffffff;
  --box-shadow-color: rgba(20, 26, 73, 0.22);

  --notice-max-width: 30rem;
  --notice-bottom: 1.25rem;
  --notice-left: 1.25rem;
  --notice-right: auto;
}

/* Banner und Dialog etwas ruhiger und hochwertiger */
.klaro .cookie-notice:not(.cookie-modal-notice),
.klaro .cookie-modal .cm-modal {
  box-shadow: 0 24px 60px -18px rgba(20, 26, 73, 0.35);
  border: 1px solid rgba(39, 52, 139, 0.1);
}

.klaro .cookie-notice .cn-body,
.klaro .cookie-modal .cm-body {
  padding: 1.5rem;
}

.klaro .cookie-notice .cn-body p,
.klaro .cookie-modal p {
  line-height: 1.6;
  color: #55596b;
}

.klaro .cookie-modal .cm-header h1,
.klaro .cookie-notice .cn-body p.cn-title,
.klaro .cookie-modal h1 {
  font-family: var(--title-font-family);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1b2461;
}

.klaro .cn-buttons button,
.klaro .cm-footer-buttons button,
.klaro button.cm-btn {
  border-radius: 999px;
  font-weight: 500;
  padding: 0.7rem 1.35rem;
  transition:
    background-color 0.25s,
    transform 0.25s;
}

.klaro button.cm-btn:hover {
  transform: translateY(-1px);
}

/* Sekundäre Aktionen: heller Grund, aber lesbarer navyblauer Text.
   Klaro setzt hier eigene Regeln – daher bewusst mit !important. */
.klaro .cookie-notice .cn-buttons button.cm-btn.cn-decline,
.klaro .cookie-modal .cm-btn.cm-btn-decline,
.klaro button.cm-btn.cn-decline,
.klaro button.cm-btn.cm-btn-decline {
  background-color: #ffffff !important;
  color: #212c74 !important;
  box-shadow: inset 0 0 0 1px rgba(39, 52, 139, 0.2);
  opacity: 1 !important;
}

.klaro .cookie-notice .cn-buttons button.cm-btn.cn-decline:hover,
.klaro .cookie-modal .cm-btn.cm-btn-decline:hover,
.klaro button.cm-btn.cn-decline:hover,
.klaro button.cm-btn.cm-btn-decline:hover {
  background-color: #f1f3fa !important;
}

/* "Einstellungen"-Link im Banner */
.klaro .cookie-notice .cn-learn-more,
.klaro .cn-body a.cm-link {
  color: #27348b !important;
  font-weight: 500;
}

/* Kontextuelle Einwilligung – Platzhalter statt Karte */
.klaro .cookie-notice.cn-embedded {
  border-radius: 1.25rem;
  background: #f6f1e9;
  border: 1px solid rgba(39, 52, 139, 0.12);
  box-shadow: none;
  padding: 1.75rem;
  text-align: center;
}

.klaro .cookie-notice.cn-embedded .cn-body {
  padding: 0;
  margin: 0;
}

/* Die "Powered by"-Zeile brauchen wir nicht */
.klaro .cm-powered-by,
.klaro .cn-powered-by {
  display: none;
}
