/* ================================================================
   MyCICU · Cookie-Banner (CCM19) im Marken-Look — 31.10.2026
   Überschreibt das Standard-Design von consenttool.haendlerbund.de.
   Farben: Dark #1a1a2e · Cream #F5F0E8 · Gold #D4AF37 · Lila #9D4EDD
   ================================================================ */
html body .ccm-root{
  --mc-dark:#1a1a2e; --mc-cream:#F5F0E8; --mc-cream-light:#FAF8F4;
  --mc-gold:#D4AF37; --mc-gold-2:#C9A430; --mc-purple:#9D4EDD;
  --mc-body:#4a4a5a; --mc-muted:#7a7a8a; --mc-border:#e8e0d0;
  font-family:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
}
html body .ccm-root *{font-family:inherit}

/* ---------- Karte (gilt für Banner + Einstellungen + Details) ---------- */
html body .ccm-root .ccm-modal .ccm-modal-inner{
  background:var(--mc-cream-light) !important;
  color:var(--mc-body) !important;
  border:1px solid var(--mc-border) !important;
  border-radius:22px !important;
  box-shadow:0 22px 60px rgba(26,26,46,.24),0 2px 8px rgba(26,26,46,.06) !important;
  overflow:hidden !important;
}
html body .ccm-root .ccm-modal--header,
html body .ccm-root .ccm-modal--body,
html body .ccm-root .ccm-modal--footer{background:transparent !important;color:var(--mc-body) !important;border:0 !important}

/* Abdunkeln hinter Einstellungen/Details */
html body .ccm-root .ccm-modal.ccm--is-blocking.ccm-show{background:rgba(26,26,46,.5) !important}

/* ---------- Banner: mittig schwebend, Seite dahinter milchig + gesperrt ---------- */
html body .ccm-root .ccm-widget.ccm-show{
  inset:0 !important;width:100% !important;height:100% !important;
  background:rgba(245,240,232,.62) !important;
  -webkit-backdrop-filter:blur(8px) saturate(.9);backdrop-filter:blur(8px) saturate(.9);
  pointer-events:auto !important;
}
html:has(.ccm-root .ccm-widget.ccm-show){overflow:hidden !important}
html body .ccm-root .ccm-widget .ccm-modal-inner{
  position:fixed !important;
  top:50% !important; left:50% !important; bottom:auto !important; right:auto !important;
  transform:translate(-50%,-50%) !important;
  width:660px !important; max-width:calc(100% - 48px) !important;
  height:auto !important; max-height:calc(100% - 48px) !important;
}
html body .ccm-root .ccm-widget.ccm-show .ccm-modal-inner{animation:mcCcmIn .5s cubic-bezier(.16,1,.3,1) both}
@keyframes mcCcmIn{from{opacity:0;scale:.96}to{opacity:1;scale:1}}

/* Kopf: Sprache aus (nur Deutsch), Schließen-X dezent */
html body .ccm-root .ccm-widget--language-switch{display:none !important}
html body .ccm-root .ccm-widget .ccm-modal--header{position:absolute !important;top:14px !important;right:14px !important;left:auto !important;width:auto !important;z-index:3;padding:0 !important;margin:0 !important;min-height:0 !important;display:flex !important}
html body .ccm-root .ccm-dismiss-button{
  position:static !important;flex:none !important;box-sizing:border-box !important;
  width:30px !important;min-width:30px !important;height:30px !important;border-radius:50% !important;
  background:transparent !important;border:1px solid var(--mc-border) !important;
  color:var(--mc-muted) !important;opacity:1 !important;padding:0 !important;margin:0 !important;
  display:flex !important;align-items:center;justify-content:center;
  transition:border-color .2s,color .2s;
}
html body .ccm-root .ccm-dismiss-button:hover{border-color:var(--mc-gold) !important;color:var(--mc-dark) !important}
html body .ccm-root .ccm-dismiss-button::before{content:none !important}
html body .ccm-root .ccm-dismiss-button::after{
  content:'' !important;display:block !important;width:12px !important;height:12px !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231a1a2e' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 2l8 8M10 2l-8 8'/%3E%3C/svg%3E") center/12px 12px no-repeat !important;
}
html body .ccm-root .cover-scrollbar::before{background:var(--mc-cream-light) !important}
html body .ccm-root .ccm-widget--text::after{background:linear-gradient(to top,var(--mc-cream-light) 30%,rgba(250,248,244,0) 100%) !important}

/* Text */
html body .ccm-root .ccm-widget .ccm-modal--body{padding:34px 38px 0 !important;display:flex;flex-direction:column;min-height:0;overflow:visible !important}
html body .ccm-root .ccm-widget--text{padding:0 !important;margin:0 !important;overflow:visible !important;max-height:none !important;min-height:0}
html body .ccm-root .ccm-widget--text::before,html body .ccm-root .ccm-widget--text::after{content:none !important;display:none !important}
html body .ccm-root .ccm-widget .ccm-inner-overflow{overflow:visible !important;max-height:none !important}
html body .ccm-root .ccm-widget .ccm-modal-inner{overflow-y:auto !important}
html body .ccm-root .ccm-inner-overflow{padding:0 !important}
html body .ccm-root .ccm-widget--title{
  font-family:'Fraunces',Georgia,serif !important;
  font-size:1.42rem !important;font-weight:560 !important;line-height:1.2 !important;
  color:var(--mc-dark) !important;letter-spacing:-.01em;
  margin:0 40px 12px 0 !important;padding:0 !important;
}
html body .ccm-root .ccm-widget--title::before{
  content:'Cookies';display:block;margin-bottom:10px;
  font-family:'Work Sans',sans-serif;font-size:.72rem;font-weight:500;
  letter-spacing:2.5px;text-transform:uppercase;color:var(--mc-gold-2);
}
html body .ccm-root .ccm-widget--introduction,
html body .ccm-root .ccm-widget--introduction .ccm--p{
  font-size:.84rem !important;line-height:1.65 !important;color:var(--mc-body) !important;margin:0 !important;
}
html body .ccm-root .ccm-modal a{color:var(--mc-dark) !important;text-decoration:underline !important;text-decoration-color:rgba(212,175,55,.7) !important;text-underline-offset:3px}

/* Buttons: Ablehnen + Akzeptieren gleichwertig, Einstellungen als Textlink */
html body .ccm-root .ccm-widget--buttons{
  display:grid !important;grid-template-columns:1fr 1fr;gap:10px !important;
  padding:22px 0 0 !important;margin:0 !important;
}
html body .ccm-root .ccm-widget--buttons button,
html body .ccm-root .ccm-modal--footer button{
  flex:none !important;width:100% !important;max-width:none !important;margin:0 !important;
  padding:10px 22px !important;min-height:0 !important;height:auto !important;
  border-radius:100px !important;font-size:.88rem !important;font-weight:600 !important;
  line-height:1.3 !important;letter-spacing:0 !important;text-transform:none !important;
  text-shadow:none !important;box-shadow:none !important;background-image:none !important;
  cursor:pointer;transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease;
}
html body .ccm-root .ccm-widget--buttons .ccm--save-settings,
html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies{
  background:var(--mc-dark) !important;color:#fff !important;border:1.5px solid var(--mc-dark) !important;
}
html body .ccm-root .ccm-widget--buttons .ccm--save-settings{order:1}
html body .ccm-root .ccm-widget--buttons .ccm--save-settings,html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies{padding:10px 16px !important;white-space:nowrap}
html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies{order:2}
/* Drei echte Buttons: Akzeptieren + Ablehnen gleichwertig (dunkel), Einstellungen als Outline darunter */
html body .ccm-root .ccm-widget--buttons button[data-ccm-modal="ccm-control-panel"]{
  order:3;grid-column:1 / -1;justify-self:center;width:auto !important;min-width:220px;margin-top:4px !important;
  background:transparent !important;color:var(--mc-dark) !important;border:1.5px solid var(--mc-dark) !important;
  text-decoration:none !important;
}
html body .ccm-root .ccm-widget--buttons button[data-ccm-modal="ccm-control-panel"]:hover{background:var(--mc-cream) !important}
html body .ccm-root .ccm-widget--buttons button:hover,
html body .ccm-root .ccm-modal--footer button:hover{transform:scale(.97)}
html body .ccm-root button:focus-visible{outline:2px solid var(--mc-purple) !important;outline-offset:2px}

/* Fußzeile Banner */
html body .ccm-root .ccm-widget .ccm-modal--footer{
  display:flex !important;justify-content:space-between;align-items:center;gap:10px;
  padding:16px 38px 22px !important;margin:0 !important;
}
html body .ccm-root .ccm-link-container,
html body .ccm-root .ccm-link-container a,
html body .ccm-root .ccm-powered-by,
html body .ccm-root .ccm-powered-by a{
  font-size:.72rem !important;color:var(--mc-muted) !important;text-decoration:none !important;
}
html body .ccm-root .ccm-link-container a:hover{color:var(--mc-dark) !important}
html body .ccm-root .ccm-link-container>a:not(:first-child)::before{background:rgba(212,175,55,.7) !important}

/* ---------- Einstellungen + Details: zentrierte Karte ---------- */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{
  top:50% !important;left:50% !important;bottom:auto !important;right:auto !important;
  transform:translate(-50%,-50%) !important;
  width:600px !important;max-width:calc(100% - 32px) !important;
  height:auto !important;max-height:calc(100% - 48px) !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--header{
  padding:26px 30px 14px !important;border-bottom:1px solid var(--mc-border) !important;
}
html body .ccm-root .ccm-modal--title{
  font-family:'Fraunces',Georgia,serif !important;font-size:1.35rem !important;font-weight:560 !important;
  color:var(--mc-dark) !important;line-height:1.25 !important;margin:0 !important;padding:0 !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{padding:18px 30px !important;overflow:auto}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body,
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body p,
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body td,
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body th{font-size:.84rem !important;line-height:1.6 !important;color:var(--mc-body) !important}
html body .ccm-root .ccm-control-panel--purpose{
  background:#fff !important;border:1px solid var(--mc-border) !important;border-radius:16px !important;
  padding:16px 18px !important;margin:0 0 10px !important;
}
html body .ccm-root .ccm-control-panel--purpose label,
html body .ccm-root .ccm-control-panel--purpose label span{font-weight:600 !important;color:var(--mc-dark) !important;font-size:.92rem !important}
html body .ccm-root .ccm-control-panel--purpose--description{margin-top:6px !important;font-size:.8rem !important;color:var(--mc-muted) !important}
html body .ccm-root .ccm--badge{background:var(--mc-cream) !important;color:var(--mc-dark) !important;border-radius:100px !important;font-size:.7rem !important;font-weight:600 !important}

/* Häkchen in Markenfarben */
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--checkbox+label::after{
  border:1.5px solid var(--mc-gold) !important;border-radius:7px !important;background:#fff !important;
  color:var(--mc-cream) !important;font-size:16px !important;font-weight:700 !important;
}
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--checkbox:checked+label::after{background:var(--mc-dark) !important;border-color:var(--mc-dark) !important}
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--checkbox[aria-disabled="true"]+label::after,
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--checkbox[disabled]+label::after{background:var(--mc-gold) !important;border-color:var(--mc-gold) !important;color:var(--mc-dark) !important}
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--switch:checked+label::before{background:var(--mc-gold) !important}
html body .ccm-root input[type="checkbox"].ccm-checkbox-type--switch:checked+label::after{background:var(--mc-dark) !important}

/* Info-Button (i) */
html body .ccm-root .ccm-info-button{border-color:var(--mc-gold) !important;color:var(--mc-dark) !important;background:transparent !important;border-radius:50% !important}

/* Fußzeile Einstellungen/Details */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{
  display:flex !important;flex-wrap:wrap;gap:10px !important;justify-content:flex-end;
  padding:16px 30px 22px !important;border-top:1px solid var(--mc-border) !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer button{
  width:auto !important;flex:1 1 auto !important;
  background:transparent !important;color:var(--mc-dark) !important;border:1.5px solid var(--mc-dark) !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer button[data-full-consent="true"],
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer .ccm--button-primary{
  background:var(--mc-dark) !important;color:#fff !important;
}
html body .ccm-root .ccm--action-buttons button{
  border-radius:100px !important;padding:8px 18px !important;font-size:.82rem !important;font-weight:600 !important;
  background:transparent !important;color:var(--mc-dark) !important;border:1.5px solid var(--mc-dark) !important;box-shadow:none !important;text-transform:none !important;
}
html body .ccm-root table{border-collapse:collapse !important}
html body .ccm-root th,html body .ccm-root td{border-color:var(--mc-border) !important;background:transparent !important}

/* ---------- Cookie-Icon unten links ---------- */
html body .ccm-root .ccm-settings-summoner{width:46px !important;height:46px !important;bottom:20px !important;left:20px !important;inset-inline-start:20px !important}
html body .ccm-root .ccm-settings-summoner--link{
  border-radius:50% !important;
  background:var(--mc-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.4A9 9 0 1 1 11.6 3a3 3 0 0 0 3.9 3.6 3 3 0 0 0 3.9 3.9 3 3 0 0 0 1.6 1.9z'/%3E%3Ccircle cx='8.5' cy='10' r='.9' fill='%23D4AF37'/%3E%3Ccircle cx='13' cy='15.5' r='.9' fill='%23D4AF37'/%3E%3Ccircle cx='8.2' cy='15' r='.6' fill='%23D4AF37'/%3E%3Ccircle cx='16.6' cy='13.6' r='.6' fill='%23D4AF37'/%3E%3C/svg%3E") center/24px 24px no-repeat !important;
  border:1.5px solid var(--mc-gold) !important;
  box-shadow:0 8px 22px rgba(26,26,46,.22) !important;
  transition:transform .25s ease,border-color .25s ease !important;
}
html body .ccm-root .ccm-settings-summoner.ccm-show .ccm-settings-summoner--link:hover{transform:scale(1.08);border-color:var(--mc-gold) !important}
html body .ccm-root .ccm-settings-summoner--icon{opacity:0 !important}

/* ---------- Mobil ---------- */
@media (max-width:600px){
  html body .ccm-root .ccm-widget .ccm-modal-inner{
    top:auto !important;transform:none !important;
    left:10px !important;right:10px !important;bottom:10px !important;
    width:auto !important;max-width:none !important;max-height:calc(100% - 20px) !important;
    border-radius:20px !important;
  }
  html body .ccm-root .ccm-widget .ccm-modal--body{padding:24px 20px 0 !important}
  html body .ccm-root .ccm-widget--title{font-size:1.25rem !important}
  html body .ccm-root .ccm-widget--introduction,
  html body .ccm-root .ccm-widget--introduction .ccm--p{font-size:.8rem !important}
  html body .ccm-root .ccm-widget--buttons{padding-top:18px !important;grid-template-columns:1fr !important}
  html body .ccm-root .ccm-widget--buttons .ccm--save-settings,html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies{white-space:normal}
  html body .ccm-root .ccm-widget--buttons button{padding:10px 12px !important}
  html body .ccm-root .ccm-widget .ccm-modal--footer{padding:10px 20px 16px !important;flex-direction:row !important;flex-wrap:nowrap !important;justify-content:space-between !important;text-align:left !important}
  html body .ccm-root .ccm-widget .ccm-modal--footer > *{margin:0 !important;padding:0 !important;width:auto !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--header{padding:22px 20px 12px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{padding:14px 20px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{padding:14px 20px 18px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer button{flex:1 1 100% !important}
  html body .ccm-root .ccm-settings-summoner{width:42px !important;height:42px !important;bottom:14px !important;left:14px !important;inset-inline-start:14px !important}
  html body .ccm-root .ccm-settings-summoner--link{background-size:22px 22px !important}
}
@media (prefers-reduced-motion:reduce){
  html body .ccm-root .ccm-widget.ccm-show .ccm-modal-inner{animation:none}
}

/* ---------- Lila-Akzent (31.10.): Marken-Rechtecke wie im Hero + lila Hauptbuttons ---------- */
html body .ccm-root .ccm-widget .ccm-modal-inner::before{
  content:'';position:absolute;z-index:0;pointer-events:none;
  top:-70px;right:-60px;width:230px;height:170px;border-radius:40px;
  background:rgba(157,78,221,.14);transform:rotate(-11deg);
}
html body .ccm-root .ccm-widget .ccm-modal-inner::after{
  content:'';position:absolute;z-index:0;pointer-events:none;
  bottom:-78px;left:-86px;width:170px;height:120px;border-radius:26px;
  border:1.5px solid rgba(212,175,55,.42);transform:rotate(9deg);
}
html body .ccm-root .ccm-widget .ccm-modal--body,
html body .ccm-root .ccm-widget .ccm-modal--footer{position:relative;z-index:1}
html body .ccm-root .ccm-widget--buttons .ccm--save-settings,
html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies{
  background:var(--mc-purple) !important;border-color:var(--mc-purple) !important;color:#fff !important;
}
html body .ccm-root .ccm-widget--buttons .ccm--save-settings:hover,
html body .ccm-root .ccm-widget--buttons .ccm--decline-cookies:hover{background:#8a3fc8 !important;border-color:#8a3fc8 !important}
/* Einstellungsfenster: Hauptbutton ebenfalls lila */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer button[data-full-consent="true"],
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer .ccm--button-primary{
  background:var(--mc-purple) !important;border-color:var(--mc-purple) !important;
}
html body .ccm-root .ccm-control-panel .ccm-modal-inner::before{
  content:'';position:absolute;z-index:0;pointer-events:none;
  top:-60px;right:-50px;width:190px;height:140px;border-radius:34px;
  background:rgba(157,78,221,.12);transform:rotate(-11deg);
}
html body .ccm-root .ccm-control-panel .ccm-modal--header,
html body .ccm-root .ccm-control-panel .ccm-modal--body,
html body .ccm-root .ccm-control-panel .ccm-modal--footer{position:relative;z-index:1}

@media (max-width:600px){html body .ccm-root .ccm-widget .ccm-modal-inner::after{display:none}}

/* ---------- Text scrollt nur, wenn der Platz nicht reicht (31.10.) ----------
   Karte = Flex-Spalte mit max. Bildschirmhöhe; nur der Textbereich schrumpft und scrollt,
   Buttons + Fußzeile bleiben immer sichtbar. */
html body .ccm-root .ccm-widget .ccm-modal-inner{
  display:flex !important;flex-direction:column !important;overflow:hidden !important;
  max-height:calc(100vh - 48px) !important;max-height:calc(100dvh - 48px) !important;
}
html body .ccm-root .ccm-widget .ccm-modal--body{flex:1 1 auto !important;min-height:0 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important}
html body .ccm-root .ccm-widget--text{flex:1 1 auto !important;min-height:60px !important;overflow-y:auto !important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:6px !important;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.6) transparent}
html body .ccm-root .ccm-widget--text::-webkit-scrollbar{width:4px}
html body .ccm-root .ccm-widget--text::-webkit-scrollbar-thumb{background:rgba(212,175,55,.6);border-radius:4px}
html body .ccm-root .ccm-widget--buttons,
html body .ccm-root .ccm-widget .ccm-modal--footer{flex:none !important}
@media (max-width:600px){
  html body .ccm-root .ccm-widget .ccm-modal-inner{max-height:calc(100vh - 20px) !important;max-height:calc(100dvh - 20px) !important}
}
/* Sanftes Ausblenden unten zeigt: hier geht's weiter (Padding sorgt dafür, dass die letzte Zeile beim Runterscrollen klar lesbar ist) */
@media (max-width:600px){
  html body .ccm-root .ccm-widget--text{padding-bottom:0 !important;
    -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 30px),transparent)}
  html body .ccm-root .ccm-widget--buttons{padding-top:8px !important}
}
@media (max-width:600px){html body .ccm-root .ccm-widget--introduction{padding-bottom:30px !important}}

/* ---------- Einstellungsfenster = gleiche Größe/Position wie der Banner (31.10.) ---------- */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{
  width:660px !important;max-width:calc(100% - 48px) !important;
  display:flex !important;flex-direction:column !important;
  max-height:calc(100vh - 48px) !important;max-height:calc(100dvh - 48px) !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{flex:0 1 auto !important;min-height:0 !important;height:auto !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--header,
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{flex:none !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--header{padding:34px 38px 16px !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{padding:20px 38px !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{padding:18px 38px 24px !important}
/* Hintergrund: milchig wie beim Banner; liegt der Banner schon drunter, wird er ausgeblendet statt doppelt abzudunkeln */
html body .ccm-root .ccm-modal.ccm--is-blocking.ccm-show{
  background:rgba(245,240,232,.62) !important;
  -webkit-backdrop-filter:blur(8px) saturate(.9);backdrop-filter:blur(8px) saturate(.9);
}
html body .ccm-root:has(.ccm-widget.ccm-show) .ccm-modal.ccm--is-blocking.ccm-show{background:transparent !important;-webkit-backdrop-filter:none;backdrop-filter:none}
html body .ccm-root:has(.ccm-modal.ccm--is-blocking.ccm-show) .ccm-widget .ccm-modal-inner{opacity:0 !important;visibility:hidden !important}
@media (max-width:600px){
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{
    top:auto !important;bottom:10px !important;left:10px !important;right:10px !important;transform:none !important;
    width:auto !important;max-width:none !important;max-height:calc(100dvh - 20px) !important;border-radius:20px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--header{padding:24px 20px 12px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{padding:14px 20px !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{padding:14px 20px 18px !important}
}
/* Einstellungsfenster übernimmt die Höhe des Banners (per JS in --mc-ccm-h), Buttons sitzen unten */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{min-height:min(var(--mc-ccm-h,0px),calc(100dvh - 48px)) !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{flex:1 1 auto !important}
@media (max-width:600px){html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{min-height:min(var(--mc-ccm-h,0px),calc(100dvh - 20px)) !important}}

/* „Alles widerrufen“ (nur sichtbar, wenn schon eingewilligt wurde): unter die Liste, als ruhiger Textlink */
html body .ccm-root .ccm-control-panel .ccm-modal--body{display:flex !important;flex-direction:column !important}
html body .ccm-root .ccm-control-panel .ccm--action-buttons{order:2;display:flex;justify-content:center;margin:6px 0 0 !important;padding:0 !important}
html body .ccm-root .ccm-control-panel .ccm--action-buttons .ccm--spacer-1{display:none !important}
html body .ccm-root .ccm-control-panel .ccm--action-buttons button{
  border:0 !important;background:transparent !important;padding:6px 10px !important;
  font-size:.82rem !important;font-weight:500 !important;color:var(--mc-muted) !important;
  text-decoration:underline !important;text-decoration-color:var(--mc-gold) !important;text-underline-offset:4px;
}
html body .ccm-root .ccm-control-panel .ccm--action-buttons button:hover{color:var(--mc-dark) !important;transform:none !important}
html body .ccm-root .ccm-control-panel .ccm-control-panel--purposes{order:1}

/* ---------- Einstellungsfenster-Fußzeile (31.10.): [Alles widerrufen] [Auswahl speichern] [Alles akzeptieren], darunter „Zurück“ als Textlink ---------- */
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer{display:flex !important;flex-wrap:wrap !important;gap:10px !important;justify-content:center !important}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > button{flex:1 1 0 !important;min-width:0 !important;white-space:nowrap}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > button.mc-moved{
  order:1;background:transparent !important;color:var(--mc-dark) !important;border:1.5px solid var(--mc-dark) !important;
  font-size:.88rem !important;font-weight:600 !important;padding:10px 22px !important;text-decoration:none !important;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > .ccm--save-settings:not([data-full-consent]){order:2}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > [data-full-consent="true"]{order:3}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > .ccm-modal--close{
  order:9;flex:1 1 100% !important;
  background:transparent !important;border:0 !important;padding:4px 10px !important;
  font-size:.82rem !important;font-weight:500 !important;color:var(--mc-muted) !important;
  text-decoration:underline !important;text-decoration-color:var(--mc-gold) !important;text-underline-offset:4px;
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > .ccm-modal--close:hover{color:var(--mc-dark) !important;transform:none !important}
@media (max-width:600px){
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > button{flex:1 1 100% !important}
}
html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--footer > button:not(.ccm-modal--close){padding:10px 14px !important}
/* Mobil: Banner + Einstellungen max. ~3/4 des Bildschirms, Rest der Seite bleibt milchig sichtbar (31.10.) */
@media (max-width:600px){
  html body .ccm-root .ccm-widget .ccm-modal-inner,
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{max-height:70vh !important;max-height:70dvh !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal-inner{min-height:min(var(--mc-ccm-h,0px),70dvh) !important}
  html body .ccm-root .ccm-modal:not(.ccm-widget) .ccm-modal--body{overflow-y:auto !important}
}
