/*
Theme Name: Brandschutz Richter
Theme URI: https://brandalarm24.de/
Author: Brandschutz Richter GmbH
Description: Schlankes Block-Theme für brandalarm24.de – ohne Page-Builder, ohne jQuery, ohne externe Schriften.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: brandschutz-richter
License: proprietary
*/

/* Ergänzungen zu theme.json */
:root { --br-radius: 10px; --br-shadow: 0 6px 24px rgba(16, 27, 41, .08); }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a) { text-underline-offset: .15em; }
img { height: auto; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* Kopfbereich */
.br-topbar { font-size: .875rem; }
.br-topbar a { color: inherit; text-decoration: none; }
.br-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(16,27,41,.08); }
.br-header .wp-block-site-logo img { max-height: 56px; width: auto; }
.br-header .wp-block-navigation__container { gap: 1.4rem; }
.br-header .wp-block-navigation-item__content { font-weight: 600; }
.br-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--brand); }
.wp-block-navigation__submenu-container { border-radius: var(--br-radius); box-shadow: var(--br-shadow); border: 0 !important; padding: .4rem 0; }
.wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 1.1rem !important; font-weight: 500; }

/* Karten */
.br-card { background: #fff; border-radius: var(--br-radius); box-shadow: var(--br-shadow); height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.br-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16,27,41,.12); }
.br-card .wp-block-heading a { text-decoration: none; color: inherit; }
.br-card .wp-block-heading a::after { content: ""; position: absolute; inset: 0; }
.br-card { position: relative; }
.br-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--brand-soft); color: var(--wp--preset--color--brand); font-weight: 800; }

/* Häkchen-Listen */
.is-style-check { list-style: none; padding-left: 0; }
.is-style-check li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
.is-style-check li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--wp--preset--color--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center/80% no-repeat; }

/* FAQ (Details-Block) */
.wp-block-details { border: 1px solid var(--wp--preset--color--line); border-radius: var(--br-radius); padding: 0 1.1rem; background: #fff; margin-block-start: .6rem !important; }
.wp-block-details summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: .8rem; font-size: 1.4rem; color: var(--wp--preset--color--brand); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: 0; }
.wp-block-details[open] { padding-bottom: 1rem; }

/* Bilder */
.wp-block-image img, .wp-block-gallery img { border-radius: var(--br-radius); }
.wp-block-image figcaption { font-size: .85rem; color: var(--wp--preset--color--muted); }

/* Kontaktformular (Contact Form 7) */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #c9ced6; border-radius: 8px; font: inherit; background: #fff; }
.wpcf7 textarea { min-height: 140px; }
.wpcf7 label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .9rem; }
.wpcf7 input[type=submit] { background: var(--wp--preset--color--brand); color: #fff; border: 0; border-radius: 8px; padding: .85rem 1.6rem; font-weight: 700; cursor: pointer; font-size: 1rem; }
.wpcf7 input[type=submit]:hover { filter: brightness(.92); }

/* Fuß */
.br-footer a { color: inherit; }
.br-footer ul { list-style: none; padding-left: 0; }
.br-footer li { margin-bottom: .35em; }
.br-footer .wp-block-navigation-item__content { text-decoration: none; }

@media (max-width: 781px) {
  .br-topbar .br-hide-mobile { display: none !important; }
  .br-header .wp-block-site-logo img { max-height: 44px; }
}

/* Lange Wörter in Karten trennen */
.br-card h3,.br-card .wp-block-heading{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
.br-icon--doku{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='17' rx='1.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 4V2.8h6V4M8.5 10h7M8.5 13.5h7M8.5 17h4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--team{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8.5' cy='8' r='3' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='16.5' cy='9' r='2.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 20c.4-3.6 2.6-5.5 5.5-5.5S13.6 16.4 14 20M14.5 14.6c.6-.3 1.3-.4 2-.4 2.5 0 4.1 1.7 4.5 4.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--kalender{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2M14 14h2M8 17.2h2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--lernen{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 9l10-5 10 5-10 5z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 11v4.5c0 1.6 2.7 3 6 3s6-1.4 6-3V11M22 9v5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--helm{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17h18M4.5 17v-2.5a7.5 7.5 0 0115 0V17' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 7.3V5.5h4v1.8M12 7v4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--schutz{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.2-7.5 9.5-4.3-1.3-7.5-4.9-7.5-9.5V6z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--stern{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.2 4.1 1 5.8L12 16.9l-5.3 2.7 1-5.8-4.2-4.1 5.9-.9z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Mobiles Menü (Overlay) */
.wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: var(--wp--preset--color--ink) !important; padding: 1rem 1.5rem 2rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 3.5rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; justify-content: flex-start !important; gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); padding: .75rem 0 !important; font-size: 1.1rem; text-align: left; align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; padding: .35rem 0 0 1rem !important; width: 100% !important; opacity: 1 !important; visibility: visible !important; height: auto !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; padding: .3rem 0 !important; font-size: 1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .2rem 0 !important; font-weight: 400; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.wp-block-navigation__responsive-container-close { top: 1rem !important; right: 1.25rem !important; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* Leistungs-Icons (Linien-Symbole, als CSS-Maske in Markenfarbe) */
.br-icon[class*="br-icon--"]{font-size:0;line-height:0}
.br-icon[class*="br-icon--"]::before{content:"";width:32px;height:32px;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.br-icon--kabel{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='18' rx='1' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 9h20M2 12h20M2 15h20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--rohr{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 9.5h7M15 9.5h7M2 14.5h7M15 14.5h7' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='9' y='6' width='6' height='12' rx='1.2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 9v6M13 9v6' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--kanal{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='12' rx='1.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='5.5' y='8.5' width='13' height='7' rx='.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='12' r='1.2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='15' cy='12' r='1.2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--wand{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='1' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 9.3h18M3 14.7h18M9 4v5.3M15 4v5.3M6 9.3v5.4M12 9.3v5.4M18 9.3v5.4M9 14.7V20M15 14.7V20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--decke{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 5v8M12 5v8M18 5v8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='3' y='13' width='18' height='3.5' rx='.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--prio{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 7.5l8 4.5 8-4.5M12 12v9' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--klappe{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='5' width='3.5' height='14' rx='.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='18' y='5' width='3.5' height='14' rx='.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 8h12M6 16h12' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 15.5l6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='1' fill='%23000'/%3E%3C/svg%3E")}
.br-icon--fuge{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='7.5' height='16' rx='1' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='13.5' y='4' width='7.5' height='16' rx='1' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 6v2M12 11v2M12 16v2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--tuer{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4a1 1 0 011-1h12a1 1 0 011 1v17' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 21h18' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.5 12.5h-1.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--schule{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V10l9-5 9 5v11' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.5 21h21M10 21v-4.5h4V21M12 5V2.5h3' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='10.5' y='9' width='3' height='3' rx='.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--feuerwache{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21c-4 0-6.5-2.6-6.5-6.2 0-3.4 2.6-5.3 3.8-8.8 1.9 1.4 2.7 3.1 2.7 4.9 1-.8 1.6-1.9 1.8-3.3 2.4 1.9 4.7 4.200 4.7 7.2 0 3.6-2.5 6.2-6.5 6.2z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 21c-1.8 0-3-1.2-3-2.9 0-1.6 1.2-2.6 3-4.3 1.8 1.7 3 2.7 3 4.3 0 1.7-1.2 2.9-3 2.9z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--klinik{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='17' rx='1.2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 7.5v6M9 10.5h6M10 21v-3.5h4V21' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--verwaltung{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9.5L12 4l9 5.5z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 10v8M10 10v8M14 10v8M18.5 10v8M3 21h18M4 18h16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.br-icon--industrie{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V11l5 3v-3l5 3v-3l5 3V4h3v17z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 17.5h2M11.5 17.5h2' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Mobile Schnellkontakt-Leiste */
.br-callbar { display: none; }
@media (max-width: 781px) {
  .br-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -4px 16px rgba(20,38,59,.12); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem; }
  .br-callbar a { flex: 1; text-align: center; padding: .8rem .5rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .br-callbar__tel { background: var(--wp--preset--color--brand); color: #fff !important; }
  .br-callbar__mail { background: var(--wp--preset--color--navy); color: #fff !important; }
  body { padding-bottom: 76px; }
}

/* Formularfelder nie breiter als der Container (Handy) */
.wpcf7 input, .wpcf7 textarea, .wpcf7 select { box-sizing: border-box; max-width: 100%; }

/* ===== Gestaltung 2: Seitenkopf, Akzente, Bewegung ===== */
.br-hero { position: relative; background: radial-gradient(1200px 400px at 85% -10%, rgba(200,16,46,.35), transparent 60%), linear-gradient(135deg, #0f1e30 0%, #14263b 55%, #1d3550 100%) !important; color: #fff; overflow: hidden; }
.br-hero::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); pointer-events: none; }
.br-hero > * { position: relative; z-index: 1; }
.br-hero--img { background: linear-gradient(95deg, rgba(15,30,48,.96) 0%, rgba(20,38,59,.88) 42%, rgba(20,38,59,.45) 100%), var(--br-hero-img) center/cover no-repeat !important; }
.br-hero--img::after { display: none; }
.br-hero { padding-top: clamp(3.5rem, 8vw, 6.5rem) !important; padding-bottom: clamp(3.5rem, 8vw, 6.5rem) !important; }
.br-hero h1, .br-hero h2, .br-hero p, .br-hero li, .br-hero strong { color: #fff !important; }
.br-hero h1 { max-width: 22ch; letter-spacing: -.015em; }
.br-hero h1::before { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--wp--preset--color--brand); margin-bottom: 1.1rem; }
.br-hero p { max-width: 62ch; opacity: .93; }
.br-hero .is-style-outline .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.75) !important; background: transparent !important; }
.br-hero .is-style-outline .wp-block-button__link:hover { background: #fff !important; color: var(--wp--preset--color--navy) !important; }
.br-hero .wp-block-image img, .br-hero figure img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.br-hero .wp-block-column > .wp-block-image, .br-hero .wp-block-column figure { background: transparent !important; }

/* Vertrauensleiste unter dem Seitenkopf */
.br-trust { background: #fff; border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.br-trust ul { list-style: none; margin: 0 auto; max-width: 1200px; padding: 1rem var(--wp--style--root--padding-right, 1.5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem 1.5rem; }
.br-trust li { position: relative; padding-left: 1.75rem; font-size: .92rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.br-trust li::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--wp--preset--color--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center/80% no-repeat; }

/* Überschriften mit rotem Akzent */
.entry-content > .wp-block-group:not(.br-hero) h2.wp-block-heading::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--wp--preset--color--brand); margin-top: .65rem; }
.entry-content h2.has-text-align-center::after { margin-left: auto; margin-right: auto; }

/* Karten: ganze Fläche klickbar, Hover */
.br-card { position: relative; transition: transform .25s ease, box-shadow .25s ease; border-top: 3px solid transparent; }
.br-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20,38,59,.14); border-top-color: var(--wp--preset--color--brand); }
.br-card h3 a { text-decoration: none; color: inherit; }
.br-card h3 a::after { content: ""; position: absolute; inset: 0; }
.br-card:hover h3 a { color: var(--wp--preset--color--brand); }
.br-card .br-icon { transition: background .25s ease, color .25s ease; }
.br-card:hover .br-icon { background: var(--wp--preset--color--brand); color: #fff; }

/* Bilder im Inhalt */
.entry-content .wp-block-image img { border-radius: 12px; box-shadow: 0 10px 30px rgba(20,38,59,.12); }

/* Prozess-Schritte */
.br-steps { counter-reset: brstep; }
.br-step { position: relative; padding-top: 3.4rem !important; }
.br-step::before { counter-increment: brstep; content: counter(brstep, decimal-leading-zero); position: absolute; top: 1.2rem; left: 1.5rem; font-size: 1.9rem; font-weight: 800; color: var(--wp--preset--color--brand); line-height: 1; }

/* Kennzahlen/Fakten */
.br-facts .br-fact { text-align: left; }
.br-fact strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: #fff; }
.br-fact span { display: block; opacity: .85; margin-top: .3rem; }

/* Bildband mit Text (Karriere-Teaser) */
.br-band { position: relative; background: linear-gradient(90deg, rgba(15,30,48,.95) 0%, rgba(15,30,48,.8) 50%, rgba(15,30,48,.35) 100%), var(--br-band-img) center/cover no-repeat; color: #fff; }
.br-band h2, .br-band p { color: #fff !important; }

/* Einblenden beim Scrollen */
.br-js .br-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.br-js .br-reveal.is-in { opacity: 1; transform: none; }

.br-band--jobs { --br-band-img: url("https://brandalarm24.de/wp-content/uploads/2025/02/kabelschottungen-brandschutz.webp"); }
.br-band .wp-block-column:empty { display: none; }
@media (max-width: 781px) { .br-band { background: linear-gradient(180deg, rgba(15,30,48,.9), rgba(15,30,48,.95)), var(--br-band-img) center/cover no-repeat; } }

/* Schritt-Nummern fest (Zähler-unabhängig) */
.br-step:nth-child(1)::before{content:"01"} .br-step:nth-child(2)::before{content:"02"} .br-step:nth-child(3)::before{content:"03"} .br-step:nth-child(4)::before{content:"04"} .br-step:nth-child(5)::before{content:"05"} .br-step:nth-child(6)::before{content:"06"}

/* Hero: Texte linksbündig an der Inhaltskante, mit begrenzter Zeilenlänge */
.br-hero.is-layout-constrained > h1, .br-hero.is-layout-constrained > p, .br-hero.is-layout-constrained > .wp-block-buttons { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.br-hero.is-layout-constrained > .wp-block-buttons { max-width: 1200px; }

@media (max-width: 781px) { .br-facts .is-layout-grid { grid-template-columns: 1fr 1fr !important; } .br-fact strong { font-size: 1.35rem; } }

/* Tabellen im Seiten-Design (z. B. Prüffristen, Leistungsmatrix) */
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: 1.25rem 1rem; }
.entry-content .wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--br-radius, 12px); overflow: hidden; box-shadow: var(--br-shadow, 0 6px 20px rgba(16,27,41,.08)); font-size: .95rem; line-height: 1.5; }
.entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table th { background: var(--wp--preset--color--navy); color: #fff; font-weight: 700; text-align: left; border: 0; padding: .85rem 1rem; vertical-align: bottom; }
.entry-content .wp-block-table td { border: 0; border-top: 1px solid var(--wp--preset--color--line); padding: .8rem 1rem; vertical-align: top; }
.entry-content .wp-block-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--surface); }
.entry-content .wp-block-table td:first-child { color: var(--wp--preset--color--navy); }
.entry-content .wp-block-table .has-text-align-center { text-align: center; }
.entry-content .wp-block-table td.has-text-align-center { font-weight: 700; color: var(--wp--preset--color--brand); }
@media (max-width: 760px) { .entry-content .wp-block-table table { min-width: 660px; font-size: .9rem; } }
[id="anfrage"], [id="leistungen"] { scroll-margin-top: 90px; }

.entry-content .wp-block-table table th, .entry-content .wp-block-table table td { border-left: 0; border-right: 0; border-bottom: 0; }
.entry-content .wp-block-table table thead th { border-top: 0; }
