/* Einwilligungsdialog (Borlabs Cookie) in der sogo24-CI (TRACK-01). Grundfarben und Du-Texte setzt
   scripts/tracking/borlabs/ci.php in Borlabs; hier nur, was von der Welt abhängt: Weltfarbe der Knöpfe
   (BedDog Oliv, Waldin Braun, sogo24 Dunkel), Schrift, Radius. Beide Knöpfe gleich stark: Ablehnen ist so leicht wie Zustimmen. */

#BorlabsCookieBox .brlbs-cmpnt-dialog {
  font-family: var(--schrift, inherit);
  color: var(--text, #1e232b);
  border-radius: var(--radius, 6px);
  box-shadow: 0 12px 40px rgb(0 0 0 / 18%);
}
#BorlabsCookieBox .brlbs-cmpnt-dialog-entrance-headline,
#BorlabsCookieBox .brlbs-cmpnt-dialog h2 {
  font-family: var(--schrift-titel, var(--schrift, inherit));
  font-size: 20px;
  line-height: 1.25;
  color: var(--titel-farbe, var(--text, #1e232b));
}
#BorlabsCookieBox .brlbs-cmpnt-dialog p,
#BorlabsCookieBox .brlbs-cmpnt-dialog-entrance-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text, #1e232b);
}
#BorlabsCookieBox .brlbs-cmpnt-dialog a {
  color: var(--text, #1e232b);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Knöpfe: Zustimmen und Ablehnen gleich, in der Weltfarbe; Speichern und Einstellungen als Rahmenknopf */
#BorlabsCookieBox .brlbs-cmpnt-btn {
  min-height: 48px;
  border-radius: var(--radius, 6px) !important;
  font-family: var(--schrift, inherit);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
#BorlabsCookieBox .brlbs-btn-accept-all,
#BorlabsCookieBox .brlbs-btn-accept-only-essential {
  background: var(--welt, #1e232b) !important;
  color: #ffffff !important;
}
#BorlabsCookieBox .brlbs-btn-accept-all:hover,
#BorlabsCookieBox .brlbs-btn-accept-only-essential:hover {
  background: var(--welt-hover, #000000) !important;
}
#BorlabsCookieBox .brlbs-btn-save,
#BorlabsCookieBox .brlbs-cmpnt-btn-preferences {
  background: #ffffff !important;
  color: var(--text, #1e232b) !important;
  box-shadow: inset 0 0 0 1px var(--linie-bedienung, #7a7f86);
}
#BorlabsCookieBox .brlbs-btn-save:hover,
#BorlabsCookieBox .brlbs-cmpnt-btn-preferences:hover {
  background: var(--greige, #eee9e1) !important;
}
#BorlabsCookieBox .brlbs-cmpnt-btn:focus-visible {
  outline: 2px solid var(--text, #1e232b);
  outline-offset: 2px;
}

/* Kontrollkästchen der Gruppen in der Weltfarbe */
#BorlabsCookieBox input[type="checkbox"]:checked {
  accent-color: var(--welt, #1e232b);
}

/* Borlabs setzt die Rechtshinweise als Inline-Absätze ohne Abstand aneinander („werden.Mehr dazu“) */
#BorlabsCookieBox p.brlbs-inline::after {
  content: " ";
}

/* Lukas 26.11.: „Einstellung als button weg. und nur notwendige ohne button nur als text“ (Anwaltsfrage: gleichwertiges Ablehnen).
   Einstellungen bleiben über den Link in der Fußzeile des Dialogs erreichbar. */
#BorlabsCookieBox .brlbs-cmpnt-dialog-box-entrance .brlbs-cmpnt-btn-preferences {
  display: none !important;
}
#BorlabsCookieBox .brlbs-cmpnt-dialog-box-entrance .brlbs-btn-accept-only-essential {
  background: transparent !important;
  color: var(--text, #1e232b) !important;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;   /* Lukas 26.11.: „ohne unterstrich beim nur notwendige“ */
  box-shadow: none;
}
#BorlabsCookieBox .brlbs-cmpnt-dialog-box-entrance .brlbs-btn-accept-only-essential:hover {
  background: transparent !important;
  color: var(--welt-hover, #000000) !important;
  text-decoration: underline;
}

/* Lukas 26.11.: „Einstellungen kannst du unterstreichen“ – Link unten im Dialog wie Datenschutz und Impressum */
#BorlabsCookieBox .brlbs-cmpnt-dialog-footer .brlbs-cmpnt-preferences-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Borlabs-Symbol zum erneuten Öffnen (mit Borlabs-Logo) aus: „Cookie-Einstellungen“ steht im Fuß jeder Seite (RECHT-07).
   Nur die Startseite (Portal ohne Fuß, DES-65) behält es, sonst gäbe es dort keinen Weg zum Widerruf. */
body:not(.home) .brlbs-cmpnt-widget {
  visibility: hidden !important;   /* Borlabs setzt display: block !important inline */
  pointer-events: none !important;
}
