/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* HTML and Body Scroll Right Hidden */
html, body { overflow-x: hidden; }

/* Fehlertext CF7 positionieren */
.wpcf7-not-valid-tip {
    margin-top: -5px;
    margin-bottom: 15px;
}

/* SMG CCM19: zielbezogene CI und Referenzabstände, 01.10.2026. */
.ccm-root { --smg-ccm-primary: #5e386c; --smg-ccm-secondary: #eadfee; }
.ccm-root .ccm-widget .ccm-modal--footer,
.ccm-root .ccm-control-panel .ccm-modal--footer,
.ccm-root .ccm-details .ccm-modal--footer { background: var(--smg-ccm-secondary); }
.ccm-root .ccm-widget .ccm-modal--footer { padding: 20px; }
.ccm-root .ccm-widget--title { font-size:24px; }
.ccm-root .ccm-widget--buttons { justify-content:center; gap:16px; margin:0; }
.ccm-root .ccm-widget .ccm-widget--buttons .button,
.ccm-root .ccm-widget .ccm-widget--buttons button {
 flex:1 1 0; min-width:0; margin:0; min-height:41px; padding:10px 12px;
 background:var(--smg-ccm-primary); color:#fff; border:1px solid var(--smg-ccm-primary);
 border-radius:0; font:700 14px/19px Arial,sans-serif; text-transform:uppercase;
}
.ccm-root .ccm-widget .ccm-widget--buttons .button:hover,
.ccm-root .ccm-widget .ccm-widget--buttons button:hover { filter:brightness(.85); }
.ccm-root button:focus-visible, .ccm-root a:focus-visible { outline:3px solid var(--smg-ccm-primary); outline-offset:3px; }
.ccm-root .ccm-details .ccm-modal--footer { padding:30px 25px 20px; justify-content:space-around; }
.ccm-root .ccm-details .ccm-modal--footer .button,
.ccm-root .ccm-details .ccm-modal--footer button { margin:0 0 10px; }
@media screen and (min-width:64.0625em) {
 .ccm-root .ccm-details .ccm-modal-inner { max-width:960px; }
}
@media screen and (max-width:64em) {
 .ccm-root .ccm-widget.ccm--alignment--center .ccm-modal-inner {
  top:50%; bottom:auto; left:50%; right:auto; transform:translate(-50%,-50%);
  width:calc(100% - 24px); max-height:90%;
 }
 .ccm-root .ccm-details .ccm-modal-inner { width:calc(100% - 24px); }
}
@media screen and (max-width:480px) {
 .ccm-root .ccm-widget--buttons { flex-direction:column; gap:12px; }
 .ccm-root .ccm-widget .ccm-widget--buttons .button,
 .ccm-root .ccm-widget .ccm-widget--buttons button { flex:auto; width:100%; }
}

/* Mobile Einstellungen und Cookie-Liste ebenso mittig und erreichbar. */
@media (max-width: 64em) {
  .ccm-root .ccm-details .ccm-modal-inner,
  .ccm-root .ccm-control-panel .ccm-modal-inner {
    top: 50%; bottom: auto; left: 50%; right: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 24px); max-height: 90%;
  }
}
