/* ==========================================================================
   Scuric Consent-Banner (sc-cc) · Gestaltung v1 · 20.10.2026
   Self-contained: keine externen Ressourcen, alle Selektoren gescoped.
   Spezifität bewusst hoch (html body .sc-cc …), weil das Theme
   (Bootstrap 3 + WPBakery) button/input/label/a global stylt.
   WICHTIG: Das Theme setzt html { font-size: 10px } → hier NIE rem, nur px.
   Kein @import, keine Schrift-URL: Ubuntu kommt über font-family: inherit.
   ========================================================================== */

/* ---------- Tokens (gemessen, siehe TOKENS.md) ---------- */
.sc-cc {
  --sc-cc-primary: #a0191d;
  --sc-cc-primary-hover: #86131a;
  --sc-cc-primary-active: #6f0f14;
  --sc-cc-btn: #3f434a;
  --sc-cc-btn-hover: #2e3137;
  --sc-cc-btn-active: #23262b;
  --sc-cc-ink: #292b37;
  --sc-cc-ink-soft: #4a4d59;
  --sc-cc-sand: #eae6dd;
  --sc-cc-sand-soft: #f6f3ee;
  --sc-cc-line: #d6d0c4;
  --sc-cc-control: #6b6e79;
  --sc-cc-white: #ffffff;
  --sc-cc-focus: #292b37;
  --sc-cc-radius-card: 12px;
  --sc-cc-radius-btn: 5px;
  --sc-cc-shadow: 0 1px 2px rgba(41, 43, 55, .08), 0 8px 24px rgba(41, 43, 55, .14), 0 24px 48px rgba(41, 43, 55, .10);
  --sc-cc-z: 2147483000;
  --sc-cc-bottom-offset: 0px;
}

/* ---------- Gezieltes Reset gegen Theme-CSS ---------- */
html body .sc-cc,
html body .sc-cc *,
html body .sc-cc *::before,
html body .sc-cc *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid transparent;
  background: none;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  text-decoration: none;
  text-indent: 0;
  letter-spacing: normal;
  word-spacing: normal;
  font-style: normal;
  float: none;
  min-width: 0;
  max-width: none;
  outline: 0;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}
html body .sc-cc {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--sc-cc-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html body .sc-cc[hidden],
html body .sc-cc [hidden] { display: none !important; }
html body .sc-cc svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
html body .sc-cc p,
html body .sc-cc h2,
html body .sc-cc h3,
html body .sc-cc dl,
html body .sc-cc dt,
html body .sc-cc dd,
html body .sc-cc ul,
html body .sc-cc li,
html body .sc-cc div { display: block; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; list-style: none; font-family: inherit; }
html body .sc-cc span { display: inline; font-family: inherit; }

/* ---------- Texte ---------- */
html body .sc-cc .sc-cc-title { font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--sc-cc-ink); }
html body .sc-cc .sc-cc-text { font-size: 16px; line-height: 1.55; color: var(--sc-cc-ink); }
html body .sc-cc .sc-cc-text + .sc-cc-text { margin-top: 8px; }
html body .sc-cc .sc-cc-small { font-size: 15px; line-height: 1.5; color: var(--sc-cc-ink-soft); }
html body .sc-cc a.sc-cc-link,
html body .sc-cc a.sc-cc-link:visited,
html body .sc-cc a.sc-cc-link:focus {
  display: inline;
  color: var(--sc-cc-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-radius: 2px;
  cursor: pointer;
}
html body .sc-cc a.sc-cc-link:hover { color: var(--sc-cc-primary-hover); text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Fokus ---------- */
html body .sc-cc a:focus-visible,
html body .sc-cc button:focus-visible,
html body .sc-cc [tabindex]:focus-visible {
  outline: 3px solid var(--sc-cc-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--sc-cc-white);
}
html body .sc-cc a:focus:not(:focus-visible),
html body .sc-cc button:focus:not(:focus-visible),
html body .sc-cc [tabindex]:focus:not(:focus-visible) { outline: 0; }

/* ---------- Buttons ---------- */
html body .sc-cc button.sc-cc-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 10px 14px;
  border: 2px solid var(--sc-cc-btn);
  border-radius: var(--sc-cc-radius-btn);
  background: var(--sc-cc-btn);
  color: var(--sc-cc-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html body .sc-cc button.sc-cc-btn:hover { background: var(--sc-cc-btn-hover); border-color: var(--sc-cc-btn-hover); color: var(--sc-cc-white); }
html body .sc-cc button.sc-cc-btn:active { background: var(--sc-cc-btn-active); border-color: var(--sc-cc-btn-active); }
html body .sc-cc button.sc-cc-btn.sc-cc-btn--secondary { background: var(--sc-cc-white); border-color: var(--sc-cc-ink); color: var(--sc-cc-ink); }
html body .sc-cc button.sc-cc-btn.sc-cc-btn--secondary:hover { background: var(--sc-cc-sand-soft); border-color: var(--sc-cc-ink); color: var(--sc-cc-ink); }
html body .sc-cc button.sc-cc-btn.sc-cc-btn--secondary:active { background: var(--sc-cc-sand); }

html body .sc-cc button.sc-cc-textbtn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 44px;
  padding: 0 8px;
  margin: 0 -8px;
  border: 0;
  border-radius: var(--sc-cc-radius-btn);
  background: transparent;
  color: var(--sc-cc-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
html body .sc-cc button.sc-cc-textbtn:hover { color: var(--sc-cc-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
html body .sc-cc button.sc-cc-textbtn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s ease; }
html body .sc-cc button.sc-cc-textbtn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Kopf mit Icon ---------- */
html body .sc-cc .sc-cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
html body .sc-cc .sc-cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sc-cc-sand);
  color: var(--sc-cc-primary);
}
html body .sc-cc .sc-cc-icon svg { width: 22px; height: 22px; stroke-width: 1.9; }

/* ==========================================================================
   Ebene 1 · Banner (nicht modal) · Desktop Karte unten links, Mobil angedockt
   ========================================================================== */
html body .sc-cc.sc-cc-banner {
  position: fixed;
  z-index: var(--sc-cc-z);
  left: 24px;
  bottom: 24px;
  width: calc(100vw - 48px);
  max-width: 440px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: var(--sc-cc-white);
  border: 1px solid var(--sc-cc-line);
  border-top: 4px solid var(--sc-cc-primary);
  border-radius: var(--sc-cc-radius-card);
  box-shadow: var(--sc-cc-shadow);
  overflow: hidden;
  animation: sc-cc-rise .28s cubic-bezier(.2, .8, .2, 1) both;
}
html body .sc-cc .sc-cc-banner__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 2px; }
/* Hinweis „hier geht der Text weiter“, wenn der Text auf kleinen Schirmen scrollt */
html body .sc-cc .sc-cc-banner__body::after { content: ""; position: sticky; bottom: 0; display: block; height: 18px; margin-top: -6px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
html body .sc-cc .sc-cc-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 4px; font-size: 15px; line-height: 1.5; }
html body .sc-cc .sc-cc-legal a.sc-cc-link { display: inline-flex; align-items: center; min-height: 44px; }
html body .sc-cc .sc-cc-actions {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 24px 20px;
  background: var(--sc-cc-white);
}
html body .sc-cc .sc-cc-wide { grid-column: 1 / -1; }
html body .sc-cc .sc-cc-actions .sc-cc-legal { justify-content: center; margin: -2px 0 -8px; }

/* ==========================================================================
   Ebene 2 · Einstellungen (modal, bewusst geöffnet)
   ========================================================================== */
html body .sc-cc.sc-cc-layer {
  position: fixed;
  z-index: var(--sc-cc-z);
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
html body .sc-cc .sc-cc-backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(41, 43, 55, .55);
  animation: sc-cc-fade .2s ease both;
}
html body .sc-cc .sc-cc-settings {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 48px);
  background: var(--sc-cc-white);
  border-top: 4px solid var(--sc-cc-primary);
  border-radius: var(--sc-cc-radius-card);
  box-shadow: var(--sc-cc-shadow);
  overflow: hidden;
  animation: sc-cc-rise .28s cubic-bezier(.2, .8, .2, 1) both;
}
html body .sc-cc .sc-cc-settings__head { flex: none; padding: 8px 24px 14px; border-bottom: 1px solid var(--sc-cc-line); }
html body .sc-cc .sc-cc-settings__head .sc-cc-head { margin: 2px 0 0; }
html body .sc-cc .sc-cc-settings__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 16px; padding: 18px 24px 20px; }
html body .sc-cc .sc-cc-settings__foot {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--sc-cc-line);
  background: var(--sc-cc-sand-soft);
}
html body .sc-cc .sc-cc-settings__legal { margin-top: 10px; }

/* Kategorien */
html body .sc-cc .sc-cc-cats { margin-top: 16px; display: grid; gap: 12px; }
html body .sc-cc .sc-cc-cat { padding: 12px 16px 4px; border: 1px solid var(--sc-cc-line); border-radius: 10px; background: var(--sc-cc-white); }
html body .sc-cc .sc-cc-cat__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
html body .sc-cc .sc-cc-cat__name { font-size: 17px; font-weight: 500; line-height: 1.35; color: var(--sc-cc-ink); }
html body .sc-cc .sc-cc-cat__desc { margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--sc-cc-ink-soft); }

/* Schalter: echtes <input type=checkbox role=switch>, unsichtbar über der gezeichneten Spur */
html body .sc-cc label.sc-cc-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--sc-cc-ink);
  cursor: pointer;
}
html body .sc-cc .sc-cc-switch__state { display: inline-block; min-width: 4.4em; text-align: right; }
html body .sc-cc label.sc-cc-switch input.sc-cc-switch__input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  display: block;
}
html body .sc-cc .sc-cc-switch__track {
  position: relative;
  display: inline-block;
  flex: none;
  width: 52px;
  height: 32px;
  border: 2px solid var(--sc-cc-control);
  border-radius: 16px;
  background: #e9e7e2;
  transition: background-color .18s ease, border-color .18s ease;
}
html body .sc-cc .sc-cc-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sc-cc-white);
  box-shadow: 0 1px 3px rgba(41, 43, 55, .35);
  color: var(--sc-cc-primary);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}
html body .sc-cc .sc-cc-switch__thumb svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transition: opacity .15s ease; }
html body .sc-cc input.sc-cc-switch__input:checked + .sc-cc-switch__track { background: var(--sc-cc-primary); border-color: var(--sc-cc-primary); }
html body .sc-cc input.sc-cc-switch__input:checked + .sc-cc-switch__track .sc-cc-switch__thumb { transform: translateX(20px); }
html body .sc-cc input.sc-cc-switch__input:checked + .sc-cc-switch__track .sc-cc-switch__thumb svg { opacity: 1; }
html body .sc-cc input.sc-cc-switch__input:focus-visible + .sc-cc-switch__track { outline: 3px solid var(--sc-cc-focus); outline-offset: 3px; box-shadow: 0 0 0 3px var(--sc-cc-white); }
html body .sc-cc label.sc-cc-switch.is-locked,
html body .sc-cc label.sc-cc-switch.is-locked input.sc-cc-switch__input { cursor: default; }

/* Details */
html body .sc-cc .sc-cc-details { margin: 2px 0 12px; padding: 12px 14px; border-radius: 8px; background: var(--sc-cc-sand-soft); font-size: 15px; line-height: 1.5; }
html body .sc-cc .sc-cc-details__item + .sc-cc-details__item { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sc-cc-line); }
html body .sc-cc .sc-cc-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
html body .sc-cc .sc-cc-details dt { font-weight: 500; color: var(--sc-cc-ink); }
html body .sc-cc .sc-cc-details dd { color: var(--sc-cc-ink-soft); overflow-wrap: anywhere; }

/* ==========================================================================
   Widerruf-Zugang
   ========================================================================== */
/* Variante A: runder Knopf unten links */
html body button.sc-cc.sc-cc-revoke {
  -webkit-appearance: none;
  appearance: none;
  position: fixed;
  z-index: calc(var(--sc-cc-z) - 1);
  left: 16px;
  bottom: calc(16px + var(--sc-cc-bottom-offset));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--sc-cc-line);
  border-radius: 50%;
  background: var(--sc-cc-white);
  color: var(--sc-cc-ink);
  box-shadow: 0 2px 10px rgba(41, 43, 55, .20);
  cursor: pointer;
  animation: sc-cc-fade .2s ease both;
}
html body button.sc-cc.sc-cc-revoke svg { width: 24px; height: 24px; stroke-width: 1.8; }
html body button.sc-cc.sc-cc-revoke:hover { color: var(--sc-cc-primary); border-color: var(--sc-cc-control); }
html body button.sc-cc.sc-cc-revoke:focus-visible { outline: 3px solid var(--sc-cc-focus); outline-offset: 3px; box-shadow: 0 0 0 3px var(--sc-cc-white); }
html body button.sc-cc.sc-cc-revoke .sc-cc-tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--sc-cc-ink);
  color: var(--sc-cc-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
html body button.sc-cc.sc-cc-revoke:hover .sc-cc-tip,
html body button.sc-cc.sc-cc-revoke:focus-visible .sc-cc-tip { opacity: 1; }

/* Variante B: Footer-Link (übernimmt den Theme-Linkstil, wir sichern nur Fokus/Cursor) */
html body .sc-cc-footer-link { cursor: pointer; white-space: nowrap; }
html body .sc-cc-footer-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ==========================================================================
   Platzhalter Google Maps (gleiche Box wie das iframe: 100 % × 300 px → kein Layout-Shift)
   ========================================================================== */
html body .sc-cc.sc-cc-embed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--sc-cc-embed-h, 300px);
  height: auto;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--sc-cc-line);
  border-radius: 8px;
  background-color: var(--sc-cc-sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-linecap='round'%3E%3Cpath stroke-width='10' d='M-10 118 C 60 96 110 132 250 70'/%3E%3Cpath stroke-width='5' d='M70 -10 L 96 170 M 170 -10 C 160 60 190 110 176 170 M -10 40 L 250 22'/%3E%3Cpath stroke-width='2.5' d='M20 -10 L 40 170 M 130 -10 L 128 170 M -10 80 L 250 90 M 210 -10 L 228 170'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 160px;
  container-type: inline-size;
  text-align: center;
}
html body .sc-cc .sc-cc-embed__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 14px 14px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 2px rgba(41, 43, 55, .08), 0 4px 14px rgba(41, 43, 55, .10);
  text-align: center;
}
html body .sc-cc .sc-cc-embed__title { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--sc-cc-ink); }
html body .sc-cc .sc-cc-embed__text { font-size: 15px; line-height: 1.45; color: var(--sc-cc-ink-soft); }
html body .sc-cc .sc-cc-embed__text a.sc-cc-link { font-weight: 400; }
html body .sc-cc.sc-cc-embed button.sc-cc-btn { width: auto; min-width: 170px; min-height: 44px; }
html body .sc-cc.sc-cc-embed .sc-cc-icon { width: 36px; height: 36px; }
html body .sc-cc.sc-cc-embed .sc-cc-icon svg { width: 20px; height: 20px; }
html body .sc-cc.sc-cc-embed a.sc-cc-maplink { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 15px; }
html body .sc-cc.sc-cc-embed a.sc-cc-maplink svg { width: 14px; height: 14px; stroke-width: 2.2; }
html body .sc-cc.sc-cc-embed.is-loaded { height: var(--sc-cc-embed-h, 300px); padding: 0; background: none; border: 0; border-radius: 0; }
html body .sc-cc.sc-cc-embed.is-loaded iframe { display: block; width: 100%; height: 100%; border: 0; }

/* schmale Spalten (Tablet: Karte steht in col-sm-4 ≈ 213 px) */
@container (max-width: 420px) {
  html body .sc-cc.sc-cc-embed .sc-cc-icon { display: none; }
}
@container (max-width: 300px) {
  html body .sc-cc.sc-cc-embed { padding: 6px; }
  html body .sc-cc .sc-cc-embed__card { padding: 10px 8px 2px; gap: 6px; }
  html body .sc-cc .sc-cc-embed__title { font-size: 15px; }
  html body .sc-cc.sc-cc-embed button.sc-cc-btn { width: 100%; min-width: 0; }
}

/* Checkbox („immer laden“) */
html body .sc-cc label.sc-cc-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--sc-cc-ink);
  text-align: left;
  cursor: pointer;
}
html body .sc-cc label.sc-cc-check input.sc-cc-check__input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  display: block;
}
html body .sc-cc .sc-cc-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--sc-cc-control);
  border-radius: 4px;
  background: var(--sc-cc-white);
  color: var(--sc-cc-white);
}
html body .sc-cc .sc-cc-check__box svg { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; }
html body .sc-cc input.sc-cc-check__input:checked + .sc-cc-check__box { background: var(--sc-cc-primary); border-color: var(--sc-cc-primary); }
html body .sc-cc input.sc-cc-check__input:checked + .sc-cc-check__box svg { opacity: 1; }
html body .sc-cc input.sc-cc-check__input:focus-visible + .sc-cc-check__box { outline: 3px solid var(--sc-cc-focus); outline-offset: 2px; }

/* Bildschirmleser-Text */
html body .sc-cc .sc-cc-sr {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* ==========================================================================
   Schutzschicht gegen !important-Regeln des Themes (gemessen in ebor-theme-styles.css/custom.css):
   p { margin-bottom:22px!important } · h2 { font-size:22px; font-weight:400; margin-bottom:24px (!important) }
   h3 { font-size:20px; font-weight:400; margin-bottom:24px (!important) }
   button { font-family:Ubuntu,sans-serif; font-weight:500; letter-spacing:.5px (!important) }
   *:focus { outline:none!important } · .bg-primary * { color:#fff!important } · p a { color:#a0191d!important }
   ========================================================================== */
html body .sc-cc,
html body .sc-cc * { letter-spacing: normal !important; }
html body .sc-cc p,
html body .sc-cc h2,
html body .sc-cc h3 { margin-bottom: 0 !important; }
html body .sc-cc h2.sc-cc-title { font-size: 20px !important; font-weight: 500 !important; line-height: 1.3 !important; }
html body .sc-cc h3.sc-cc-cat__name { font-size: 17px !important; font-weight: 500 !important; line-height: 1.35 !important; }
html body .sc-cc button { font-family: inherit !important; }
html body .sc-cc button.sc-cc-textbtn { font-weight: 500 !important; }
html body .sc-cc a:focus-visible,
html body .sc-cc button:focus-visible,
html body .sc-cc [tabindex]:focus-visible,
html body button.sc-cc.sc-cc-revoke:focus-visible { outline: 3px solid var(--sc-cc-focus) !important; outline-offset: 3px !important; }
html body .sc-cc input.sc-cc-switch__input:focus-visible + .sc-cc-switch__track,
html body .sc-cc input.sc-cc-check__input:focus-visible + .sc-cc-check__box { outline: 3px solid var(--sc-cc-focus) !important; outline-offset: 3px !important; }
html body .sc-cc-footer-link:focus-visible { outline: 3px solid currentColor !important; outline-offset: 3px !important; }
html body .sc-cc.sc-cc-embed .sc-cc-embed__title { color: var(--sc-cc-ink) !important; }
html body .sc-cc.sc-cc-embed .sc-cc-embed__text,
html body .sc-cc.sc-cc-embed label.sc-cc-check { color: var(--sc-cc-ink-soft) !important; }
html body .sc-cc.sc-cc-embed label.sc-cc-check { color: var(--sc-cc-ink) !important; }
html body .sc-cc.sc-cc-embed a.sc-cc-link { color: var(--sc-cc-primary) !important; }
html body .sc-cc.sc-cc-embed button.sc-cc-btn { color: var(--sc-cc-white) !important; }
@media (max-width: 599px) {
  html body .sc-cc h2.sc-cc-title { font-size: 18px !important; }
}

/* ---------- Bewegung ---------- */
@keyframes sc-cc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sc-cc-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html body .sc-cc,
  html body .sc-cc *,
  html body .sc-cc *::before,
  html body .sc-cc *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 767px) {
  .sc-cc { --sc-cc-bottom-offset: 46px; } /* rote Leiste .bottom-fixed, nur < 768 px */
  html body button.sc-cc.sc-cc-revoke.sc-cc-revoke--desktop-only { display: none !important; } /* mobil: Footer-Link genügt, kein Gedränge mit Chatbot/roter Leiste */
}
/* Mobil: angedockt, max. 45 % Höhe; nur der Text scrollt, die Knöpfe bleiben sichtbar */
@media (max-width: 599px) {
  html body .sc-cc.sc-cc-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 45vh;
    max-height: 45dvh;
    border-width: 1px 0 0;
    border-top: 1px solid var(--sc-cc-line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(41, 43, 55, .18);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  html body .sc-cc .sc-cc-banner__body { padding: 16px 16px 0; }
  html body .sc-cc .sc-cc-head { gap: 10px; margin-bottom: 6px; }
  html body .sc-cc .sc-cc-icon { width: 32px; height: 32px; }
  html body .sc-cc .sc-cc-icon svg { width: 18px; height: 18px; }
  html body .sc-cc .sc-cc-title { font-size: 18px; }
  html body .sc-cc .sc-cc-actions { padding: 10px 16px 8px; gap: 8px; border-top: 1px solid var(--sc-cc-line); }
  html body .sc-cc .sc-cc-actions .sc-cc-legal { margin: -4px 0 -6px; }
  html body .sc-cc .sc-cc-actions button.sc-cc-btn.sc-cc-wide { min-height: 44px; }

  html body .sc-cc.sc-cc-layer { padding: 0; align-items: flex-end; }
  html body .sc-cc .sc-cc-settings {
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    border-top: 0;
    border-radius: 16px 16px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  html body .sc-cc .sc-cc-settings__head { padding: 6px 16px 12px; }
  html body .sc-cc .sc-cc-settings__body { padding: 14px 16px 16px; }
  html body .sc-cc .sc-cc-settings__foot { padding: 10px 16px 12px; gap: 8px; }
  html body .sc-cc .sc-cc-cat { padding: 10px 12px 2px; }
  html body .sc-cc .sc-cc-details dl { grid-template-columns: 1fr; gap: 0; }
  html body .sc-cc .sc-cc-details dd { margin-bottom: 6px; }
}
/* sehr schmal (320 px): kleinere Abstände, Hauptknöpfe bleiben nebeneinander und gleichwertig */
@media (max-width: 359px) {
  html body .sc-cc button.sc-cc-btn { font-size: 15px; padding: 8px 8px; }
  html body .sc-cc .sc-cc-text { font-size: 15px; }
  html body .sc-cc .sc-cc-actions,
  html body .sc-cc .sc-cc-settings__foot,
  html body .sc-cc .sc-cc-banner__body { padding-left: 12px; padding-right: 12px; }
  html body .sc-cc .sc-cc-switch__state { min-width: 0; }
}
/* niedrige Fenster / 200 % Zoom am Desktop */
@media (max-height: 560px) and (min-width: 600px) {
  html body .sc-cc.sc-cc-banner { bottom: 12px; left: 12px; max-height: calc(100vh - 24px); }
}
@media (max-height: 480px) and (max-width: 959px) {
  html body .sc-cc.sc-cc-banner { max-height: 75vh; }
}
@media print {
  html body .sc-cc.sc-cc-banner,
  html body .sc-cc.sc-cc-layer,
  html body .sc-cc.sc-cc-revoke { display: none !important; }
}

/* ==========================================================================
   Plugin-Ergänzungen v1.1 (Scuric Consent 1.0.0) · gleicher Stil, gleiche Tokens
   ========================================================================== */

/* Details: Dienst-Überschrift */
html body .sc-cc .sc-cc-details__title { margin-bottom: 6px; font-weight: 500; color: var(--sc-cc-ink); }

/* Karten-Platzhalter: Adresse als Text */
html body .sc-cc .sc-cc-embed__addr { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--sc-cc-ink) !important; }

/* Bewertungs-Platzhalter: kompakt, ohne Kartenmuster, ohne Sterne (§ 5b UWG) */
html body .sc-cc.sc-cc-embed.sc-cc-embed--reviews {
  --sc-cc-embed-h: 0px;
  display: block;
  width: auto;
  max-width: 320px;
  margin: 8px 0;
  padding: 0;
  border: 1px solid var(--sc-cc-line);
  border-radius: 10px;
  background: var(--sc-cc-white);
  background-image: none;
  box-shadow: 0 1px 2px rgba(41, 43, 55, .08), 0 4px 14px rgba(41, 43, 55, .10);
}
html body .sc-cc.sc-cc-embed--reviews .sc-cc-embed__card { box-shadow: none; background: transparent; padding: 12px 12px 2px; gap: 6px; }
html body .sc-cc.sc-cc-embed--reviews .sc-cc-embed__title { font-size: 15px; }
html body .sc-cc.sc-cc-embed--reviews .sc-cc-embed__text { font-size: 14px; }
html body .sc-cc.sc-cc-embed--reviews label.sc-cc-check,
html body .sc-cc.sc-cc-embed--reviews a.sc-cc-maplink { font-size: 14px; }
html body .sc-cc.sc-cc-embed--reviews button.sc-cc-btn { min-width: 0; width: 100%; min-height: 44px; font-size: 15px; }
html body .siegel-ausgez-landing .sc-cc.sc-cc-embed--reviews { width: 260px; max-width: calc(100vw - 32px); margin: 0 0 0 auto; }
html body .siegel-ausgez-landing .sc-cc-auth { max-width: 160px; margin: 6px auto 0; padding: 4px 6px; border-radius: 4px; background: rgba(255, 255, 255, .9); font-size: 12px; text-align: center; }
@media (max-width: 767px) { html body .siegel-ausgez-landing .sc-cc.sc-cc-embed--reviews { margin: 8px 0; } }
/* Echtheits-Hinweis unter geladenem Siegel */
html body .sc-cc-auth { display: block; margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #4a4d59; }
html body .sc-cc-auth a { color: #a0191d; text-decoration: underline; }

/* Footer-Link (Fallback-Zeile, falls die Footer-Linkzeile des Themes nicht gefunden wird) */
html body .sc-cc-footer-row { margin: 0; padding: 10px 16px 56px; text-align: center; font-size: 14px; background: #292d38; }
html body .sc-cc-footer-row a.sc-cc-footer-link { color: #ffffff; text-decoration: underline; }

/* Knopf auf der Datenschutzseite ([sc_cookie_einstellungen]) */
html body .sc-cc-pagebox { display: inline-block; margin: 8px 0 16px; }
html body button.sc-cc-pagebtn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid #3f434a;
  border-radius: 5px;
  background: #3f434a;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}
html body button.sc-cc-pagebtn:hover { background: #2e3137; border-color: #2e3137; }
html body button.sc-cc-pagebtn:focus-visible { outline: 3px solid #292b37 !important; outline-offset: 3px !important; }

/* Logo oben rechts im Banner (21.10.2026) */
html body .sc-cc .sc-cc-logo { display: block; margin: 0 4px 0 0; padding-right: 14px; border-right: 1px solid var(--sc-cc-line) !important; flex: 0 0 auto; width: auto !important; height: 20px !important; max-width: 36%; object-fit: contain; border: 0; }
html body .sc-cc .sc-cc-text:empty { display: none; }
html body .sc-cc .sc-cc-banner__body .sc-cc-title { white-space: nowrap; }
@media (max-width: 480px) {
  html body .sc-cc .sc-cc-logo { height: 18px !important; }
}
@media (max-width: 380px) {
  html body .sc-cc .sc-cc-logo { height: 15px !important; }
}

/* 21.10.2026: kleinere Schrift im Banner; Siegel-Platzhalter im Kopfbild auf dem Handy ausblenden (Einwilligung geht über den Banner) */
html body .sc-cc .sc-cc-banner__body .sc-cc-text { font-size: 14px !important; line-height: 1.5; }
html body .sc-cc .sc-cc-banner__body h2.sc-cc-title { font-size: 18px !important; }
@media (max-width: 767px) {
  html body .siegel-ausgez-landing .sc-cc.sc-cc-embed--reviews { display: none !important; }
}
@media (max-width: 600px) {
  html body .sc-cc .sc-cc-banner__body .sc-cc-text { font-size: 13.5px !important; }
  html body .sc-cc .sc-cc-banner__body h2.sc-cc-title { font-size: 16px !important; }
}
/* 21.10.2026: Echtheits-Hinweis unter dem ausgezeichnet-Siegel lag auf dem Handy hinter dem Kopfbild (.background-image-holder) */
html body .siegel-ausgez-landing .sc-cc-auth { position: relative; z-index: 5; font-size: 11px !important; line-height: 1.3 !important; padding: 3px 6px !important; margin-top: 4px !important; }
