/* Eigene CSS-Anpassungen der Installation – wird in templates/layout.php (und der Doorpage)
   NACH style.css geladen und überschreibt so gezielt Theme-Standards.
   Hinweis: Farb-/Schrift-Overrides des Designs kommen aus <style id="aw-design"> (aw_design_css),
   der noch später geladen wird – Design-Einstellungen hier NICHT duplizieren. */

/* Hauptnavigation: Schriftgröße wie auf der ursprünglichen armbruster-werkzeug.de
   (dort per custom.css 14px; Theme-Standard sind 13px). Das mobile Overlay-Menü
   (.aw-mnav) hat eigene, größere Regeln und bleibt unberührt. */
.header-menu .nav-link:not(.btn) {
    font-size: 14px;
}

/* Mehrspaltiger Footer (#4960). Nutzt die Theme-Klassen footer-section-top/.widget.
   Farben erben aus dem Design (accent/text), daher hier nur Layout/Typo. */
.footer-section-top .aw-footer-cols { row-gap: 36px; }
.aw-footer-brandname {
    display: inline-block; font-size: 1.5rem; font-weight: 700; line-height: 1.1;
    text-decoration: none; margin-bottom: 14px;
}
.aw-footer-tagline { max-width: 34ch; opacity: .72; margin: 0 0 16px; }
.aw-footer-social { font-size: .95rem; }
.aw-footer-social a { text-decoration: none; opacity: .85; }
.aw-footer-social a:hover { opacity: 1; }
.aw-footer-social .sep { opacity: .4; margin: 0 6px; }
.footer-section-top .widget { margin-bottom: 0; }
.footer-section-top .widget-title {
    font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
    font-weight: 700; margin-bottom: 16px; opacity: .9;
}
.aw-footer-nav { list-style: none; margin: 0; padding: 0; }
.aw-footer-nav li { margin: 0 0 9px; }
.aw-footer-nav a { text-decoration: none; opacity: .82; }
.aw-footer-nav a:hover { opacity: 1; }
.aw-footer-contact { font-style: normal; line-height: 1.95; opacity: .82; }
.aw-footer-contact a { text-decoration: none; }
.aw-footer-contact a:hover { text-decoration: underline; }
/* Zwischenueberschriften (h3-h6) im Inhalt: kompakter Abstand zum folgenden Text.
   Theme-Default ist margin-bottom:3rem – das reisst bei Fliesstext (z. B. Rechtstexte
   Impressum/Datenschutz/AGB) grosse Luecken zwischen Ueberschrift und Absatz.
   Grosse Section-Titel (h1/h2) bleiben unveraendert. */
.page-body h3, .page-body .h3,
.page-body h4, .page-body .h4,
.page-body h5, .page-body .h5,
.page-body h6, .page-body .h6 { margin-bottom: 0.75rem; }

/* Footer-Logo (linke Spalte) */
.aw-footer-logo { display: inline-block; margin: 0 0 14px; }
.aw-footer-logo img { max-height: 54px; width: auto; max-width: 220px; height: auto; }
.aw-footer-contact { margin-bottom: 14px; }
/* Rechtliches (Impressum/Datenschutz/AGB) rechts in der Copyright-Zeile */
.aw-footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.aw-footer-legal li { margin: 0; }
.aw-footer-legal a { text-decoration: none; opacity: .82; }
.aw-footer-legal a:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 768px) { .aw-footer-legal { justify-content: flex-end; } }
@media (max-width: 767.98px) { .aw-footer-legal { margin-top: 10px; } }

/* CTA-Band über dem Footer (opt-in). Farben aus dem Design (Primär/Sekundär). */
.aw-footer-cta { color: #fff; }
.aw-footer-cta-primary { background: var(--aw-primary, #152b39); }
.aw-footer-cta-accent { background: var(--aw-accent, #EA6A1E); }
.aw-footer-cta .main-section { padding-top: 0; padding-bottom: 0; }
.aw-footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 0; }
.aw-footer-cta-h { color: #fff; margin: 0 0 4px; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; }
.aw-footer-cta-p { color: #fff; opacity: .9; margin: 0; max-width: 60ch; }
.aw-footer-cta-btn { flex: 0 0 auto; display: inline-flex; align-items: center; background: #fff; color: var(--aw-primary, #152b39); font-weight: 700; padding: 13px 26px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease; }
.aw-footer-cta-accent .aw-footer-cta-btn { color: var(--aw-accent, #EA6A1E); }
.aw-footer-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.22); color: var(--aw-primary, #152b39); }
.aw-footer-cta-accent .aw-footer-cta-btn:hover { color: var(--aw-accent, #EA6A1E); }
@media (max-width: 767.98px) { .aw-footer-cta-inner { flex-direction: column; align-items: flex-start; } }

/* Zentrierter „Big-Brand"-Footer (Footer-Stil „centered"). */
.aw-footer-centered-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 14px 0; }
.aw-footer-logo-big img { max-height: 76px; width: auto; }
.aw-footer-style-centered .aw-footer-tagline { max-width: 52ch; margin: 0 auto; opacity: .75; }
.aw-footer-cnav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 2px 0; padding: 0; }
.aw-footer-cnav a { text-decoration: none; font-weight: 600; opacity: .85; }
.aw-footer-cnav a:hover { opacity: 1; }
.aw-footer-contact-centered { font-style: normal; opacity: .75; margin: 0; }
.aw-footer-social-centered { justify-content: center; }
.aw-footer-style-centered .footer-section-copyright .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; text-align: center; }
.aw-footer-style-centered .footer-section-copyright .aw-footer-legal { justify-content: center; margin-top: 6px; }

/* Preis-Box (pricing_3col): Badge, Untertitel/Zeit, Statt-Preis, Leistungen, Hervorhebung */
.pricing-table-block { position: relative; }
.aw-pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--aw-accent, #EA6A1E); color: #fff; font: 700 11px/1 system-ui, -apple-system, Segoe UI, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.aw-pricing-hi { border: 2px solid var(--aw-accent, #EA6A1E) !important; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.aw-pricing-sub { font-weight: 700; margin: 2px 0 0; }
.aw-pricing-period { opacity: .7; font-size: .9em; margin: 3px 0 0; }
.aw-pricing-old { display: block; text-decoration: line-through; opacity: .55; font-size: .8em; margin-top: 4px; }
.aw-pricing-feats { list-style: none; margin: 16px 0 0; padding: 0 10px; text-align: left; }
.aw-pricing-feats li { position: relative; padding: 7px 0 7px 28px; line-height: 1.4; }
.aw-pricing-feats li + li { border-top: 1px solid rgba(0,0,0,.06); }
.aw-pricing-feats li::before { content: "\2713"; position: absolute; left: 2px; top: 7px; color: var(--aw-accent, #EA6A1E); font-weight: 700; }
