/* Formular-Container Aufwertung */
#contact-form {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-top: 20px;
}

/* Labels (Beschriftungen) fetten */
#contact-form label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

/* Eingabefelder modernisieren */
#contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    box-shadow: none;
    background-color: #fff;
}

/* Fokus-Effekt (wenn man reinklickt) */
#contact-form .form-control:focus {
    border-color: #4f7264; /* Dein Praxis-Grün */
    box-shadow: 0 0 0 0.25rem rgba(79, 114, 100, 0.15);
    background-color: #fff;
}

/* Den Senden-Button (Button Primary) anpassen */
#contact-form .btn-primary {
    background-color: #4f7264 !important;
    border: none !important;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.3s ease;
    margin-top: 15px;
}

#contact-form .btn-primary:hover {
    background-color: #3d594e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Turnstile/Captcha Bereich schöner einbinden */
.g-recaptcha, .cf-turnstile {
    margin: 20px 0;
}

/* Mehr Platz im Container oben */
#contact-form {
    padding-top: 40px !important;
}

/* Abstände zwischen den Formular-Gruppen vergrößern */
#contact-form .control-group {
    margin-bottom: 20px;
}

/* Fokus-Zustand für die Felder (dein Grün #4f7264) */
#contact-form .form-control:focus {
    border-color: #4f7264 !important;
    box-shadow: 0 0 0 0.2rem rgba(79, 114, 100, 0.25) !important;
}

/* Die Checkbox etwas einrücken und Text anpassen */
#contact-form .controls label.checkbox {
    padding-left: 5px;
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
}

/* Button-Text: Alles in Großbuchstaben für mehr Präsenz (wie im Screen) */
#contact-form .btn-primary {
    letter-spacing: 1.5px;
    padding-left: 45px !important;
    padding-right: 45px !important;
}


/* Fix für ACM Features Modul in Chrome */
.acm-features.style-1 .features-content {
    display: block !important;
    overflow: visible !important;
    width: 100% !important;
    z-index: 10;
    position: relative;
}

.acm-features.style-1 .features-item {
    height: auto !important;
    min-height: 200px; /* Sicherstellung einer Mindesthöhe */
}

.acm-features .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Spezifischer Fix für Brave und aggressive Ad-Blocker */
.acm-features.style-1, 
.acm-features.style-1 .features-content,
.acm-features.style-1 .row {
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important; /* Blockiert fälschliche Animations-Blocker */
}

/* Verhindert das "Zusammenrutschen" der Spalten */
.acm-features.style-1 .col-md-6, 
.acm-features.style-1 .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Fix für den Container-Überlauf */
.acm-features {
    overflow: visible !important;
}


/* Erwirkt eine stabilere Berechnung des Kartencontainers */
.zhosm-map-container {
    width: 100% !important;
    min-height: 400px; /* Deine gewünschte Höhe */
    display: block !important;
    overflow: visible !important;
}

/* 1. Das Modul-Element selbst auf volle Höhe bringen */
.acm-features.style-3 .features-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    padding-bottom: 20px !important;
}

/* 2. Den Inhaltsbereich flexibel machen */
.acm-features.style-3 .features-item .features-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important; /* WICHTIG: Nimmt den verfügbaren Platz ein */
}

/* 3. Den Textbereich vom Button trennen */
.acm-features.style-3 .features-item .features-desc {
    flex: 1 1 auto !important;
    margin-bottom: 20px !important;
}

/* 4. Den Button-Container (das SPAN oder DIV) nach unten schieben */
.acm-features.style-3 .features-item .btn-link,
.acm-features.style-3 .features-item .features-content > span {
    margin-top: auto !important; /* Dies ist der magische Befehl */
    display: block !important;
    text-align: center !important;
    padding-top: 10px !important;
}

/* 5. Überschriften in Praxis-Grün (für besseren Kontrast) */
.acm-features.style-3 .features-item .features-title {
    color: #4f7264 !important;
    min-height: 3.5em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Erzwungene Korrektur für die Startseiten-Leistungsboxen */
[class*="acm-features"] .row .col-sm-6 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

[class*="acm-features"] .features-item {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
}

/* Zwingt die Bilder in die Mitte */
[class*="acm-features"] .feature-image {
    text-align: center !important;
    margin-bottom: 10px !important;
    display: block !important;
}

[class*="acm-features"] .feature-image img {
    display: inline-block !important;
    max-height: 45px !important;
    width: auto !important;
}

/* Zwingt die Titel zur korrekten Formatierung */
[class*="acm-features"] .feature-title {
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    margin: 0 !important;
    display: block !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
}

/* IPAD & IPHONE FIX: Text-Lesbarkeit */
@media (max-width: 1024px) {
    .acm-hero .hero-content {
        background: rgba(255, 255, 255, 0.85) !important;
        padding: 25px !important;
        border-radius: 15px !important;
        margin-top: 200px !important; /* Schiebt Text auf iPhone/iPad unter das Gesicht */
        z-index: 10 !important;
        position: relative !important;
    }
    .acm-hero .hero-title, .acm-hero h1 {
        font-size: 26px !important;
        color: #4f7264 !important;
        display: block !important;
    }
}

/* DESKTOP FIX: Bild nicht abschneiden */
@media (min-width: 1200px) {
    .acm-hero.style-1 {
        background-position: right center !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
    }
}

/* ICON FIX: Startseite */
.acm-features .features-item .feature-image img {
    max-width: 75px !important;
    height: auto !important;
}


