/*
 * Cookie Banner Pro – banner.css
 *
 * Nur grundlegende Accessibility-Stile (Fokusring, Responsive).
 * Layout/Farben werden per Inline-Style vom JS gesetzt,
 * damit kein Theme diese Regeln überschreiben kann.
 */

#cbp-banner *,
#cbp-banner *::before,
#cbp-banner *::after {
  box-sizing: border-box;
}

#cbp-banner button:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

/* Nur iPhone (bis 480px) – iPad und Desktop bleiben unverändert */
@media (max-width: 480px) {
  #cbp-banner {
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 18px 14px 14px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  #cbp-banner h2 {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }

  #cbp-banner p {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }

  #cbp-banner button {
    font-size: 11px !important;
    padding: 9px 10px !important;
  }

  #cbp-link-row {
    justify-content: center !important;
    font-size: 11px !important;
  }
}
