/* Gezielte Korrekturen; ursprüngliches Solo-CSS bleibt unverändert. */
#FrequentlyAskedQuestions .heading { height: auto !important; min-height: 0; display: flex; align-items: center; }
#FrequentlyAskedQuestions .faq-question { flex: 1 1 auto; min-width: 0; height: auto; }
#FrequentlyAskedQuestions .accordion-content { height: 0; overflow: hidden; transition: height .25s ease; }
#FrequentlyAskedQuestions .accordion-content.expanded { overflow: visible; }
#Article .legal-copy { width: 100%; max-width: 100%; box-sizing: border-box; }
#Article .legal-text-column { width: 100%; padding-right: 0; padding-left: 0; }
@media (prefers-reduced-motion: reduce) { #FrequentlyAskedQuestions .accordion-content { transition: none; } }

/* Legal text follows the same Bootstrap page grid as the homepage. */
#Article > .container > .row { margin-left: 0; margin-right: 0; width: 100%; }
#Article .legal-text-column { max-width: 100%; }
#Article .legal-copy { overflow-wrap: anywhere; }

/* Kontakt: einfarbig, ohne Hintergrundbild. */
#contact-1, #contact-1 #Contact { background: #262626 !important; background-image: none !important; }
#contact-1 #Contact > .container, #contact-1 #Contact form,
#contact-1 #Contact .form-floating { background: transparent !important; }
#contact-1 .form-control { background: #fff !important; color: #111 !important; }
#contact-1 .form-floating > label { color: #444 !important; }
#contact-1 .contact-privacy { margin: 14px 0 12px; line-height: 1.5; color: #fff; }
#contact-1 .contact-privacy strong { display: inline-block; margin-bottom: 4px; }
/* Schmaler, linksbuendiger Footer ohne Logo und Trennlinie. */
#footer, #Footer.kontor-footer { background: #000 !important; color: #fff !important; }
#Footer.kontor-footer { border: 0 !important; min-height: 0 !important; padding: 16px 0 !important; }
#Footer.kontor-footer .container { display: block !important; padding-top: 0 !important; padding-bottom: 0 !important; }
#Footer.kontor-footer p { margin: 0 !important; font-size: 14px !important; line-height: 1.5 !important; font-weight: 400 !important; text-align: left !important; color: #fff !important; }
#Footer.kontor-footer a { color: #fff !important; text-decoration: none !important; font-size: inherit !important; margin-left: 20px; }
#Footer.kontor-footer a:hover { text-decoration: underline !important; }
@media(max-width: 575px) { #Footer.kontor-footer a { margin-left: 12px; } }

/* Impressum: dieselbe zentrierte Textspalte wie der Inhalt der Startseite,
   nicht die gesamte Containerbreite. */
#Article .legal-text-column {
    flex: 0 1 810px !important;
    width: calc(100% - 32px) !important;
    max-width: 810px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#Article .legal-copy { max-width: 100% !important; }

/* Kontaktdaten: Original-HTML verwendet <address class="f1v9lt4v">,
   darin ein <div class="f1884f9d"> und <p>. */
#contact-1 #Contact address,
#contact-1 #Contact address div,
#contact-1 #Contact address p,
#contact-1 #Contact address a,
#contact-1 #Contact .fcdpsbx > h4,
#contact-1 #Contact .fcdpsbx > h4 a,
#contact-1 #Contact .contact-privacy,
#contact-1 #Contact .contact-privacy a {
    color: #fff !important;
}

/* Mobil: Inhalts-Container mit Seitenabstand; Header bleibt unveraendert.
   Die Solo-Vorlage verwendet .container.g-0, wodurch Seitenabstaende
   teilweise wegfallen. Bilder in vollbreiten Bannern sind ausgenommen. */
@media (max-width: 767.98px) {
    #Introduction > .container,
    #Services > .container,
    #Gallery > .container,
    #FrequentlyAskedQuestions > .container,
    #Contact > .container,
    #Footer > .container,
    #Article > .container {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Solo-Intro benutzt eine zusaetzliche Bootstrap-Spalte mit
       negativer/kompensierender Breite; mobil auf Container begrenzen. */
    #Introduction > .container > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #Article .legal-text-column {
        width: 100% !important;
    }
}
