/* Alliance Security – Abschnitte (Nachbau onepage-Bausteine) */
.as-section > * { box-sizing: border-box; }
.as-section .wp-block-heading { margin-top: 0; }
.as-mol > * + * { margin-top: 16px; }
.as-mol > .wp-block-heading + p, .as-mol > p.as-headline + p { margin-top: 12px; }
.as-headline { margin: 0; }
.as-lead { font-size: 22px; font-weight: 700; line-height: 1.4; }
.as-muted { opacity: .55; }
.as-label { font-size: 14px; opacity: .65; }
.as-line { border: 0; border-top: 1px solid rgba(6,24,34,.12); margin: 24px 0; width: 100%; }
.as-dark .as-line { border-top-color: rgba(255,255,255,.2); }
.as-card { box-sizing: border-box; height: 100%; }
.as-card--card { background: #f2f2f2; }
.wp-block-cover .as-card { color: var(--wp--preset--color--dark); }
.wp-block-cover .as-card h1, .wp-block-cover .as-card h2, .wp-block-cover .as-card h3, .wp-block-cover .as-card p { color: var(--wp--preset--color--dark); }
.wp-block-cover.as-section { min-height: 0; }
.as-img img { border-radius: 4px; height: auto; }
.as-logo-img { margin-top: 24px; }
/* Raster (Kacheln) */
.as-grid { display: grid; gap: 24px; }
.as-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.as-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.as-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) { .as-grid-3, .as-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .as-grid-2, .as-grid-3, .as-grid-4 { grid-template-columns: 1fr !important; } }
/* Symbole */
.as-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: var(--wp--preset--color--orange); }
.as-icon svg { width: 26px; height: 26px; }
.as-icon--transparent { background: transparent; color: var(--wp--preset--color--orange); width: 32px; height: 32px; }
.as-mol > .wp-block-html:first-child { line-height: 0; }
.has-text-align-center ~ .wp-block-html, .as-mol:has(> .has-text-align-center) > .wp-block-html { text-align: center; }
/* Logo-Reihe */
.as-logo-row { gap: 40px; align-items: center; }
.as-logo-row .wp-block-image { margin: 0; }
.as-logo-row img { height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
/* Spalten */
.as-cols { margin: 0; }
@media (max-width: 781px) { .as-cols { gap: 32px !important; } }
/* FAQ-/Listeneinträge */
.as-list-item { border-bottom: 1px solid rgba(6,24,34,.12); padding: 20px 0; }
.as-list-item h3 { font-size: 20px; margin: 0 0 8px; }
/* Sichtbarkeit */
@media (max-width: 767px) { .as-only-desktop { display: none !important; } }
@media (min-width: 768px) { .as-only-mobile { display: none !important; } }
/* Kontaktformular (Contact Form 7) */
.as-cf7 p { margin: 0 0 16px; }
.as-cf7 label, .as-cf7 legend { font-size: 14px; font-weight: 700; color: var(--wp--preset--color--dark); }
.as-cf7 input[type=text], .as-cf7 input[type=email], .as-cf7 input[type=tel], .as-cf7 textarea, .as-cf7 select {
  width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 15px; border: 1px solid #d5dbde; border-radius: 8px; background: #fff; color: var(--wp--preset--color--dark); }
.as-cf7 input:focus, .as-cf7 textarea:focus, .as-cf7 select:focus { outline: 2px solid rgba(241,134,26,.35); border-color: var(--wp--preset--color--orange); }
.as-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .as-cf7-row { grid-template-columns: 1fr; } }
.as-cf7-choice { border: 0; padding: 0; margin: 0 0 16px; }
.as-cf7-choice .wpcf7-list-item { display: block; margin: 8px 0 0; font-size: 14px; }
.as-cf7-consent { font-size: 13px; line-height: 1.5; }
.as-cf7 input[type=submit] { width: 100%; background: var(--wp--preset--color--orange); color: #fff; border: 0; border-radius: 8px; padding: 16px 24px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.as-cf7 input[type=submit]:hover { background: #d97412; }
.as-dark .as-cf7 label, .as-dark .as-cf7 legend { color: var(--wp--preset--color--dark); }
