/*
 Theme Name: Divi Child
 Template: Divi
*/
/*
:root {
    --gcid-primary-color: #31479d;
    --gcid-secondary-color: #e4e248;
    --gcid-heading-color: #33384a;
    --gcid-body-color: #777777;
    --gcid-link-color: #31479d;
    --gcid-qgaadx5pjt: #33384a;
}
*/
:root {
  --content-width: 90% !important;
}

body.home .et_pb_section_1_tb_header {
    height: 750px;
}



/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
}

.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}

/* ==========================================================================
   1. FORMULAR INTERN
   ========================================================================== */
.wpcf7,
.wpcf7 *,
.wpcf7 *::before,
.wpcf7 *::after {
    box-sizing: border-box !important;
}

.wpcf7-form,
div.wpcf7 .form-single-card {
    background-color: #A3B945 !important;
    padding: 35px 25px !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    font-family: inherit !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Deadline Banner */
.wpcf7 .deadline-banner-top {
    background: #c0392b !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
}

.wpcf7 .text-center {
    text-align: center !important;
}

/* Trennlinien & Überschriften */
.wpcf7 .form-divider {
    border: none !important;
    border-top: 2px dashed rgba(255, 255, 255, 0.4) !important;
    margin: 30px 0 !important;
}

.wpcf7 .form-card-title {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: normal !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.wpcf7 .card-subtext {
    color: #f0f0f0 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   2. INFO-BOX OBEN
   ========================================================================== */
.wpcf7 .belegung-info-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.wpcf7 .info-card {
    background: rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    padding: 25px 15px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
}

.wpcf7 .info-card-title {
    font-weight: normal !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.wpcf7 .info-card-date {
    font-weight: normal !important;
    font-size: 13px !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

/* ==========================================================================
   3. PERSONEN-TABELLE (ABSCHNITT 1 - 6 SPALTEN)
   ========================================================================== */
.wpcf7 .persons-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: normal !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
    color: #ffffff !important;
    line-height: 1.2;
}

.wpcf7 .person-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.wpcf7 .col-nr { width: 22px !important; text-align: center !important; flex-shrink: 0 !important; }
.wpcf7 .col-name { flex: 1.2 !important; min-width: 110px !important; }
.wpcf7 .col-vorname { flex: 1.2 !important; min-width: 110px !important; }
.wpcf7 .col-geburtsdatum { flex: 1.2 !important; min-width: 120px !important; }
.wpcf7 .col-aufgaben { flex: 1.8 !important; min-width: 160px !important; }
.wpcf7 .col-ext { flex: 1.5 !important; min-width: 140px !important; }

/* ==========================================================================
   4. EINGABE-STYLING
   ========================================================================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"] {
    width: 100% !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: normal !important;
    color: #333333 !important;
    outline: none !important;
    height: 44px !important;
    line-height: 1.2 !important;
}

/* Versteckt das originale Select-Feld sauber für Custom Multiselect */
.wpcf7 select[multiple] {
    display: none !important;
}

.wpcf7 ::placeholder {
    color: #888888 !important;
    opacity: 1 !important;
}

/* Checkboxen & Layout */
.wpcf7 .form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 12px !important;
}

.wpcf7 .form-col {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 240px !important;
}

.wpcf7 label {
    display: block !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
    color: #ffffff !important;
    font-weight: normal !important;
}

.wpcf7 .aligned-checkbox label {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    margin: 6px 0 !important;
    cursor: pointer !important;
}

.wpcf7 .aligned-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

/* Senden Button */
.wpcf7 input[type="submit"] {
    background-color: #8ECAE6 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 45px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin-top: 15px !important;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #72b5d3 !important;
}

/* ==========================================================================
   5. MOBILE OPTIMIERUNG (< 1100px) 6 SPALTEN LAYOUT
   ========================================================================== */
@media (max-width: 1100px) {

    .wpcf7-form,
    div.wpcf7 .form-single-card {
        padding: 20px 12px !important;
        border-radius: 15px !important;
    }

    .wpcf7 .belegung-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .wpcf7 .persons-head {
        display: none !important;
    }

    .wpcf7 .person-row {
        flex-direction: column !important;
        align-items: stretch !important;
        background: rgba(0, 0, 0, 0.08) !important;
        padding: 12px !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        gap: 6px !important;
    }

    .wpcf7 .col-nr,
    .wpcf7 .col-name, 
    .wpcf7 .col-vorname, 
    .wpcf7 .col-geburtsdatum, 
    .wpcf7 .col-aufgaben,
    .wpcf7 .col-ext {
        width: 100% !important;
        flex: none !important;
    }

    .wpcf7 .col-nr {
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
        padding-bottom: 4px !important;
        text-align: left !important;
    }

    .wpcf7 .form-row {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .wpcf7 .form-col {
        width: 100% !important;
    }
}

/* ==========================================================================
   6. NATIVE MULTI-SELECT POPUP (ISOLIERT & SAUBER)
   ========================================================================== */

.custom-multiselect-wrapper {
    position: relative !important;
    width: 100% !important;
}

/* Das eingeklappte Haupt-Feld */
.custom-multiselect-btn {
    background-color: #ffffff !important;
    border-radius: 50px !important;
    height: 44px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
    color: #333333 !important;
    user-select: none !important;
}

.custom-multiselect-btn span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding-right: 10px !important;
    color: #333333 !important;
}

.custom-multiselect-btn .arrow {
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid #555555 !important;
    flex-shrink: 0 !important;
}

/* Das ausgeklappte Popup */
.wpcf7 div.custom-multiselect-dropdown {
    display: none;
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 200px !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    z-index: 99999 !important;
    padding: 6px 0 !important;
    box-sizing: border-box !important;
}

.wpcf7 div.custom-multiselect-dropdown.open {
    display: block !important;
}

/* Einzelne Zeile im Popup (Nutzt div statt label) */
.wpcf7 div.custom-multiselect-option {
    display: flex !important;
    align-items: center !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    cursor: pointer !important;
    background: transparent !important;
    transition: background-color 0.15s ease !important;
}

.wpcf7 div.custom-multiselect-option:hover {
    background-color: #f0f0f0 !important;
}

/* Text-Farbe im Popup */
.wpcf7 div.custom-multiselect-option span.option-text {
    color: #222222 !important;
    -webkit-text-fill-color: #222222 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    display: inline !important;
    line-height: 1 !important;
}

/* Checkbox im Popup */
.wpcf7 div.custom-multiselect-option input[type="checkbox"] {
    margin: 0 10px 0 0 !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: #0073aa !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

/* ==========================================================================
   7. RADIO BUTTON STYLING (MITFAHRGELEGENHEIT)
   ========================================================================== */

.wpcf7 .wpcf7-radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.wpcf7 .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7 .wpcf7-radio label {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    font-weight: normal !important;
}

.wpcf7 .wpcf7-radio input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    accent-color: #0073aa !important;
}

.form-row-full label + br {
    display: none !important;
}

.form-row-full p {
    margin: 0 !important;
    padding: 0 !important;
}

.form-row-full label {
    display: block !important;
    margin-bottom: 6px !important;
}

/* ==========================================================================
   CONTACT FORM 7 - SPENDENFORMULAR STYLE (KOMPLETT MIT 18PX TEXT)
   ========================================================================== */

/* 1. Grüner Hintergrund & Abstände des gesamten Formulars */
.wpcf7 {
    background-color: #A3B945 !important;
    padding: 40px !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    font-family: sans-serif !important;
}

/* 2. Textabschnitte stylen (jetzt auf 18px) */
.wpcf7 .intro-text, 
.wpcf7 .info-text {
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}

.wpcf7 .bank-details {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 30px 0 !important;
}

/* 3. Layout für die Felder (Halbe Breite für alle Felder) */
.wpcf7 .form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

/* Die normalen zweispaltigen Felder (Nachname, PLZ etc.) */
.wpcf7 .form-col {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 250px !important;
}

/* Ort & Betrag: Werden jetzt auch auf exakt die halbe Breite begrenzt */
.wpcf7 .form-col-full {
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: 250px !important;
}

/* Mobil-Optimierung: Auf dem Handy ziehen wir alle Felder auf 100% */
@media (max-width: 600px) {
    .wpcf7 .form-col,
    .wpcf7 .form-col-full {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* 4. Labels & Eingabefelder stylen */
.wpcf7 label {
    display: block !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
}

/* Weiße, abgerundete Eingabefelder */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"] {
    width: 100% !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 16px !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    outline: none !important;
}

/* 5. Sende-Button unten links */
.wpcf7 input[type="submit"] {
    background-color: #8ECAE6 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #72b5d3 !important;
}

/* 6. Fehlermeldungen von Contact Form 7 optisch anpassen */
.wpcf7 .wpcf7-not-valid-tip {
    color: #ff3b30 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    margin-top: 5px !important;
    padding-left: 20px !important;
}

.wpcf7 .wpcf7-response-output {
    border: 2px solid #ffffff !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin-top: 20px !important;
}

/* ==========================================================================
   7. MOBIL-OPTIMIERUNG (SMARTPHONES)
   ========================================================================== */
@media (max-width: 600px) {
    /* Äußerer Abstand des Formulars auf Handys etwas reduzieren */
    .wpcf7 {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    /* Fließtexte auf Handys leicht verkleinern */
    .wpcf7 .intro-text {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }

    /* Abstand vom letzten Text vor dem Sende-Button minimieren */
    .wpcf7 .info-text {
        font-size: 16px !important;
        margin-bottom: 5px !important; /* Weniger Abstand nach unten */
    }

    /* Reihenabstände verringern */
    .wpcf7 .form-row {
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .wpcf7 .form-col,
    .wpcf7 .form-col-full {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    /* Labels kleiner machen */
    .wpcf7 label {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    /* Eingabefelder deutlich flacher und kompakter machen */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="number"] {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
    }
    
    /* Button näher an den Text heranziehen & kompakter machen */
    .wpcf7 input[type="submit"] {
        padding: 12px 30px !important;
        font-size: 15px !important;
        margin-top: 0px !important; /* Verhindert zusätzlichen Abstand */
    }
}

/* ==========================================================================
   CONTACT FORM 7 - ANFRAGEFORMULAR STYLE (BASIEREND AUF SPENDEN-VORLAGE)
   ========================================================================== */

/* 1. Grüner Hintergrund & Abstände des gesamten Formulars */
.wpcf7 {
    background-color: #A3B945 !important;
    padding: 40px !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    font-family: sans-serif !important;
}

/* 2. Layout für die Felder (Halbe Breite für alle Felder) */
.wpcf7 .form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

/* Die normalen zweispaltigen Felder */
.wpcf7 .form-col {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 250px !important;
}

/* Nachricht an uns: Wird auf exakt die halbe Breite begrenzt (wie Ort/Betrag in Vorlage) */
.wpcf7 .form-col-full {
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: 250px !important;
}

/* Mobil-Optimierung: Auf dem Handy ziehen wir alle Felder auf 100% */
@media (max-width: 600px) {
    .wpcf7 .form-col,
    .wpcf7 .form-col-full {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* 3. Labels & Eingabefelder stylen */
.wpcf7 label {
    display: block !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
}

/* Weiße, abgerundete Eingabefelder (inklusive E-Mail, Nummer, Telefon, Datum & Nachricht) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    width: 100% !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 16px !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    outline: none !important;
}

/* Textarea (Nachricht) soll etwas weniger runde Ecken haben als die Zeilenfelder */
.wpcf7 textarea {
    border-radius: 20px !important;
    height: 120px !important;
    resize: none !important;
}

/* ==========================================================================
   4. CHECKBOXEN-RESCUE (Überschreibt Divis fehlerhafte Styles)
   ========================================================================== */

.wpcf7 .form-acceptance-row {
    margin-bottom: 15px !important;
    display: block !important;
}

/* Macht die Schrift weiß, normal dünn und richtet den Text neben der Box aus */
.wpcf7 .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start !important;
    font-size: 15px !important;
    font-weight: normal !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
}

/* Erzwingt, dass die echten Standard-Checkboxen verwendet werden und normal groß sind */
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    margin: 3px 10px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* Deaktiviert die künstlichen, riesigen runden Divi-Auswahlelemente */
.wpcf7 .wpcf7-acceptance label span::before,
.wpcf7 .wpcf7-acceptance label span::after {
    display: none !important;
}

/* ==========================================================================
   5. Sende-Button unten links
   ========================================================================== */
.wpcf7 input[type="submit"] {
    background-color: #8ECAE6 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    display: inline-block !important;
    margin-top: 15px !important;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #72b5d3 !important;
}

/* 6. Fehlermeldungen von Contact Form 7 optisch anpassen */
.wpcf7 .wpcf7-not-valid-tip {
    color: #ff3b30 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    margin-top: 5px !important;
    padding-left: 20px !important;
}

.wpcf7 .wpcf7-response-output {
    border: 2px solid #ffffff !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin-top: 20px !important;
}

/* ==========================================================================
   7. MOBIL-OPTIMIERUNG (SMARTPHONES)
   ========================================================================== */
    .wpcf7 {
        padding: 20px !important;
        border-radius: 20px !important;
    }
}


/* ==========================================================================
   5. MOBILE OPTIMIERUNG (< 850px)
   ========================================================================== */
@media (max-width: 850px) {

    /* Container Abstände & Rand-Schutz */
    .wpcf7-form,
    div.wpcf7 .form-single-card {
        padding: 20px 15px !important;
        border-radius: 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Verhindert seitliches Rausstehen */
    }

    /* 1. INFO-BOXEN: Sauber 1-spaltig (untereinander) */
    .wpcf7 .belegung-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .wpcf7 .info-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. PERSONEN-TABELLE: Als KARTEN UNTEREINANDER */
    .wpcf7 .persons-head {
        display: none !important;
    }

    .wpcf7 .person-row {
        flex-direction: column !important;
        align-items: stretch !important;
        background: rgba(0, 0, 0, 0.12) !important;
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 15px !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wpcf7 .col-nr,
    .wpcf7 .col-name, 
    .wpcf7 .col-vorname, 
    .wpcf7 .col-geburtsdatum, 
    .wpcf7 .col-aufenthalt,
    .wpcf7 .col-aufgaben,
    .wpcf7 .col-ext {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    .wpcf7 .col-nr {
        font-size: 15px !important;
        font-weight: bold !important;
        border-bottom: 1px dashed rgba(255,255,255,0.3) !important;
        padding-bottom: 4px !important;
        text-align: left !important;
    }

    /* 3. EINGABEFELDER & KONTAKTDATEN (Fix gegen Überlappen/Herausragen) */
    .wpcf7 .form-row {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .wpcf7 .form-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Garantiert, dass KEIN Eingabefeld breiter als die grüne Karte wird */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 select,
    .wpcf7 .custom-multiselect-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Senden-Button */
    .wpcf7 input[type="submit"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   MOBILE OPTIMIERUNG (Gilt ab <= 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* 1. CONTAINER-CONTROL (Nichts darf nach rechts ausbrechen) */
    html, body {
        overflow-x: hidden !important;
    }

    .wpcf7,
    .wpcf7-form,
    div.wpcf7 .form-single-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 10px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 2. INFO-BOXEN (Streng 1-spaltig untereinander) */
    .wpcf7 .belegung-info-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .wpcf7 .info-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. EINGABEFELDER & LABELS (Breite erzwingen) */
    .wpcf7 .form-row,
    .wpcf7 .form-col,
    .wpcf7 label,
    .wpcf7 span.wpcf7-form-control-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Zwingt alle Text-, Mail-, Tel- & Select-Felder exakt in den Rahmen */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 select,
    .wpcf7 .bootstrap-select,
    .wpcf7 .bootstrap-select > .dropdown-toggle {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* 4. PERSONEN-ZEILEN (Tabellenkopf weg, Kartenansicht) */
    .wpcf7 .persons-head {
        display: none !important;
    }

    .wpcf7 .person-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(0, 0, 0, 0.12) !important;
        padding: 12px !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        box-sizing: border-box !important;
        gap: 8px !important;
    }

    .wpcf7 .person-row > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wpcf7 .col-nr {
        font-size: 15px !important;
        font-weight: bold !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.3) !important;
        padding-bottom: 4px !important;
        margin-bottom: 4px !important;
    }

    /* Senden Button */
    .wpcf7 input[type="submit"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   GEZIELTER MOBILE FIX: ABSCHNITT 2 (KONTAKTDATEN) <= 767px
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* 1. ABSCHNITT 2: GRID / FLEXBOX AUF 1-SPALTIG ZWINGEN */
    .anmeldeformular-card .form-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 0 !important;
    }

    .anmeldeformular-card .form-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 15px 0 !important; /* Gemütlicher Abstand zwischen den Feldern */
        padding: 0 !important;
        flex: none !important;
    }

    .anmeldeformular-card .form-col label {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .anmeldeformular-card .form-col input[type="text"],
    .anmeldeformular-card .form-col input[type="email"],
    .anmeldeformular-card .form-col input[type="tel"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-top: 5px !important;
    }


    /* 2. ABSCHNITT 1: KOMPAKTE ABSTÄNDE BEIBEHALTEN (RESET) */
    .anmeldeformular-card .person-row {
        gap: 6px !important;
        margin-bottom: 12px !important;
        padding: 10px !important;
    }

    .anmeldeformular-card .person-row input,
    .anmeldeformular-card .person-row select,
    .anmeldeformular-card .person-row .custom-multiselect-btn {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }
}

/* ==========================================================================
       DATENSCHUTZ CHECKBOX BÜNDIG MIT RADIO-BUTTONS ALIGNEN (MOBILE)
       ========================================================================== */
    
    /* 1. Einrückung vom Eltern-Container auf heben */
    .wpcf7 .form-section.text-center,
    .wpcf7 .form-acceptance-row,
    .wpcf7 .form-acceptance-row.center-acceptance {
        text-align: left !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Acceptance-Tag / Label direkt linksbündig an die Kante setzen */
    .wpcf7 .wpcf7-acceptance,
    .wpcf7 .wpcf7-acceptance label,
    .wpcf7 span.wpcf7-list-item {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* 3. Checkbox-Abstand exakt wie bei den Radio-Buttons ausrichten */
    .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
        margin-left: 0 !important;
        margin-right: 12px !important; /* Exakt gleicher Abstand wie bei den Radios */
        margin-top: 3px !important;  /* Auf Höhe der 1. Textzeile */
        flex-shrink: 0 !important;
    }

/* ==========================================================================
   ENDBÜLTIGER FIX FÜR ABGESCHNITTENE INPUTS (MOBILE)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* 1. Container-Breiten auf 100% freigeben */
    .wpcf7 .form-section,
    .wpcf7 .form-row,
    .wpcf7 .form-col,
    .wpcf7 p,
    .wpcf7 label,
    .wpcf7 .wpcf7-form-control-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: block !important;
    }

    /* 2. Zwingt die Inputs, NIEMALS breiter als ihr Elternelement zu sein */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; /* Hebt feste Pixel-Breiten (wie 250px) auf! */
        box-sizing: border-box !important;
        height: 44px !important;
        border-radius: 50px !important;
        padding: 0 16px !important;
        margin-top: 5px !important;
        margin-bottom: 12px !important;
    }

    /* 3. Verhindert, dass der grüne Haupt-Karten-Padding die Felder mobil erdrückt */
    div.wpcf7 .form-single-card,
    .wpcf7-form {
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }
}



/* ==========================================================================
   NAHTLOSER LOGO-TICKER
   ========================================================================== */

/* Container beschneidet alles, was über den Bildschirmrand hinausgeht */
.logo-marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 50px 0; /* Mehr Abstand nach oben/unten für die größeren Logos */
    position: relative;
    background: transparent;
}

/* Der Track, auf dem sich die Logos anreihen */
.logo-marquee-track {
    display: flex;
    /* Breite eines Logos (350px) * Anzahl ALLER Logos (10) */
    width: calc(350px * 10); 
    animation: scrollLogos 25s linear infinite; /* Geschwindigkeit (linar für gleichmäßigen Lauf) */
}

/* Einzelnes Logo-Element (Wurde vergrößert) */
.logo-item {
    width: 350px; /* Box-Breite von 280px auf 350px erhöht */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px; /* Bequemer Abstand zwischen den Logos */
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 150px; /* Logo-Höhe von 110px auf 150px erhöht */
    object-fit: contain;
    filter: none !important; /* Volle Farbe */
    opacity: 1 !important; /* Volle Sichtbarkeit */
}

/* Die CSS-Animation für den endlosen Übergang (angepasst an die neue Breite) */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Verschiebt die Leiste exakt um die Hälfte (die Breite der ersten 5 unique Logos) */
        transform: translateX(calc(-350px * 5)); 
    }
}

/* ==========================================================================
   ÜBERSCHRIFT MIT LINIEN LINKS UND RECHTS (FÜR DIVI-ÜBERSCHRIFT-MODUL)
   ========================================================================== */

/* Das Modul selbst zentrieren und beschneiden */
.line-heading {
    text-align: center !important;
    overflow: hidden !important;
}

/* Holt sich die H2 (oder H1/H3) im Modul */
.line-heading h1,
.line-heading h2,
.line-heading h3,
.line-heading .et_pb_module_header {
    display: inline-block !important;
    position: relative !important;
    color: #A3B945 !important; /* Dein Grün-Ton */
    padding: 0 20px !important; /* Abstand zwischen Text und Linien */
}

/* Die Linien links und rechts erzeugen */
.line-heading h1::before, .line-heading h1::after,
.line-heading h2::before, .line-heading h2::after,
.line-heading h3::before, .line-heading h3::after,
.line-heading .et_pb_module_header::before, .line-heading .et_pb_module_header::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    width: 9999px !important; /* Zieht die Linie bis zum Rand */
    height: 3px !important; /* Dicke der Linie (hier auf 3px erhöht) */
    background-color: #cccccc !important; /* Farbe der Linie */
}

/* Linke Linie ausrichten */
.line-heading h1::before, 
.line-heading h2::before, 
.line-heading h3::before,
.line-heading .et_pb_module_header::before {
    right: 100% !important;
}

/* Rechte Linie ausrichten */
.line-heading h1::after, 
.line-heading h2::after, 
.line-heading h3::after,
.line-heading .et_pb_module_header::after {
    left: 100% !important;
}

/* ==========================================================================
   NUMMERIERTE LINK-LISTE (PERFEKTE ZEITUNGS-SPALTEN)
   ========================================================================== */

.custom-link-list {
    list-style-type: none !important; /* Standard-Nummerierung entfernen */
    counter-reset: custom-counter !important; /* CSS-Zähler starten */
    padding-left: 0 !important;
    margin: 0 !important;
    font-family: sans-serif !important;
    
    /* Nutzt CSS-Columns für echten Spaltenfluss von oben nach unten */
    column-count: 2 !important;
    column-gap: 40px !important; /* Abstand zwischen linker und rechter Spalte */
}

/* Einzelne Listenelemente */
.custom-link-list li {
    font-size: 16px !important;
    position: relative !important;
    padding-left: 40px !important; /* Platz für die Nummern links */
    margin-bottom: 12px !important; /* Gleichmäßiger Abstand nach unten */
    line-height: 1.4 !important;
    -webkit-column-break-inside: avoid !important; /* Verhindert hässliche Zeilenumbrüche */
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    display: block !important;
}

/* Die Nummern über CSS generieren und rechtsbündig ausrichten */
.custom-link-list li::before {
    counter-increment: custom-counter !important;
    content: counter(custom-counter) "." !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 28px !important;
    text-align: right !important;
    font-weight: normal !important;
    color: #333333 !important;
}

/* Die Links selbst stylen */
.custom-link-list li a {
    font-weight: bold !important;
    color: #A3B945 !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
    display: inline-block !important;
}

.custom-link-list li a:hover {
    opacity: 0.8 !important;
}

/* MOBIL-OPTIMIERUNG: Auf dem Handy normal untereinander anzeigen */
@media (max-width: 767px) {
    .custom-link-list {
        column-count: 1 !important; /* Zurück auf 1 Spalte auf Handys */
        column-gap: 0 !important;
    }
}


/* ==========================================================================
   PINSELSTRICH PLAY-BUTTON STYLE
   ========================================================================== */

.brush-play-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px; /* Breite des Buttons */
    height: 120px; /* Höhe des Buttons */
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Der Pinsel-Hintergrund */
.brush-play-button .brush-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.15)); /* Sanfter Schatten */
    transition: filter 0.3s ease;
}

/* Das weiße Play-Dreieck */
.brush-play-button .play-triangle {
    position: relative;
    z-index: 2;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px; /* Größe des Dreiecks */
    border-color: transparent transparent transparent #ffffff; /* Weißes Dreieck */
    margin-left: 5px; /* Minimaler Ausgleich nach rechts für perfekte optische Mitte */
}

/* Hover-Effekte: Button wird leicht größer und pulsiert minimal */
.brush-play-button:hover {
    transform: scale(1.1);
}

.brush-play-button:hover .brush-bg {
    filter: drop-shadow(0px 6px 15px rgba(0, 0, 0, 0.25));
}




/* Container der Tabelle */
.preis-tabelle-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-family: sans-serif;
}

/* Header Styling */
.tabelle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 25px 20px 25px;
}

.header-titel {
    font-size: 32px;
    font-weight: bold;
    color: #A3B945; /* Dein Vereinsgrün */
}

.header-preis {
    font-size: 28px;
    font-weight: bold;
    color: #A3B945;
    text-align: right;
}

/* Tabellen-Körper */
.tabelle-body {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Die Zeilen schließen direkt an */
}

/* Allgemeine Zeilen-Styles */
.tabelle-zeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-radius: 8px; /* Gibt den Blöcken sanfte Rundungen */
    margin-bottom: 5px; /* Kleiner Abstand zwischen den Blöcken */
    box-sizing: border-box;
}

/* Die grünen Zeilen (wie das Formular) */
.zeile-gruen {
    background-color: #A3B945 !important;
    color: #ffffff !important;
}

/* Die weißen Zeilen (Wechsel-Zebra-Optik) */
.zeile-weiss {
    background-color: transparent !important;
    color: #A3B945 !important; /* Text in Grün auf weißem Grund */
    border: 1px solid transparent;
}

/* Leistungstext und Preis-Spaltenverteilung */
.leistung-titel {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    padding-right: 30px; /* Verhindert, dass Text am Preis klebt */
}

.leistung-preis {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap; /* Verhindert Zeilenumbruch beim Preis */
    text-align: right;
}

/* Behandlung von Haupt- und Unterpunkten (z.B. Festzeltgarnitur) */
.tabelle-zeile.hat-unterpunkte {
    display: block; /* Ermöglicht vertikales Stapeln der Unterpunkte */
}

.tabelle-zeile.hat-unterpunkte .hauptpunkt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.tabelle-zeile.hat-unterpunkte .unterpunkt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 25px; /* Schön eingerückt für die Struktur */
    margin-top: 5px;
    opacity: 0.9; /* Leicht dezentere Optik für Unterpunkte */
}

.tabelle-zeile.hat-unterpunkte .unterpunkt .leistung-titel {
    font-size: 15px;
}

.tabelle-zeile.hat-unterpunkte .unterpunkt .leistung-preis {
    font-size: 16px;
}

/* Hilfsklassen */
.font-bold {
    font-weight: bold !important;
}

/* ==========================================================================
   MOBIL-OPTIMIERUNG (Für Handys)
   ========================================================================== */
@media (max-width: 600px) {
    .header-titel {
        font-size: 24px;
    }
    
    .header-preis {
        font-size: 20px;
    }

    .tabelle-zeile {
        padding: 15px 15px;
    }

    .tabelle-zeile.hat-unterpunkte .unterpunkt {
        padding-left: 15px; /* Weniger Einzug auf kleinen Screens */
    }

    .leistung-titel {
        font-size: 14px;
        padding-right: 15px;
    }

    .leistung-preis {
        font-size: 15px;
    }
}

.et_pb_image_1_tb_header, .et_pb_image_2_tb_header, .et_pb_image_3_tb_header, .et_pb_image_4_tb_header {

	    width: 9rem !important;

@media (max-width: 768px) {
	
	    width: 6rem !important;

}

	
	/* Fix für automatisches Öffnen auf Such- und 404-Seiten */
body.search .mobile-menu-section,
body.error404 .mobile-menu-section {
    display: none !important;
}
	
	
	
}

.vertical-menu1 .nav li li {

	padding: 0;

}

/* =========================================================
   Divi 5 Menu Module — Vertical, Always Visible, No Hamburger
   Scope: Menu module with CSS CLASS .vertical-menu1
   ========================================================= */

/* ---------- Reset / containment ---------- */
.vertical-menu1,
.vertical-menu1 .et_pb_menu__wrap,
.vertical-menu1 .et_pb_menu__menu,
.vertical-menu1 .et_pb_menu__menu nav {
  width: 100% !important;
}

/* ---------- Prevent hamburger system on tablet/phone ---------- */
@media (max-width: 980px) {

  /* Show desktop menu container */
  .vertical-menu1 .et_pb_menu__menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Hide the mobile hamburger container */
  .vertical-menu1 .et_mobile_nav_menu {
    display: none !important;
  }

  /* Defensive: hide any toggle button inside this module */
  .vertical-menu1 .et_pb_menu__menu-button,
  .vertical-menu1 .et_pb_menu__icon {
    display: none !important;
  }
}

/* ---------- Force TRUE vertical stacking (top level) ---------- */
.vertical-menu1 .et_pb_menu__menu nav > ul,
.vertical-menu1 .et_pb_menu__menu nav > ul.et-menu,
.vertical-menu1 .et_pb_menu__menu ul.et-menu {
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;

  float: none !important;
  text-align: left !important;
  gap: 0 !important;
}

/* Ensure LIs are blocks and do not float */
.vertical-menu1 .et_pb_menu__menu nav > ul > li,
.vertical-menu1 .et_pb_menu__menu .et-menu > li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  position: relative !important;
}

/* Full-width clickable links */
.vertical-menu1 .et_pb_menu__menu .et-menu > li > a {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  padding: 4px 0 !important;
  line-height: 1.2 !important;
}

/* ---------- Dropdowns: render as normal nested vertical lists ---------- */
.vertical-menu1 .et_pb_menu__menu .sub-menu {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;

  box-shadow: none !important;
  background: transparent !important;

  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;

  margin: 0 0 0 15px !important;
  padding: 0 !important;
}

/* Submenu items */
.vertical-menu1 .et_pb_menu__menu .sub-menu li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

/* Submenu links */
.vertical-menu1 .et_pb_menu__menu .sub-menu a {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  padding: 4px 0 !important;
  line-height: 1.2 !important;
}


/* Remove top borders */
.vertical-menu1 .et_pb_menu__menu .sub-menu,
.vertical-menu1 .et_pb_menu__menu .sub-menu li {
  border-top: none !important;
}

/* Remove default list styling */
.vertical-menu1 ul.et-menu,
.vertical-menu1 ul.sub-menu {
  list-style: none !important;
  padding-left: 0 !important;
}



/* Remove extra spacing */
.vertical-menu1 .et_pb_menu__menu li {
  margin: 0 !important;
}

/* 1. Untermenüs in .vertical-menu1 standardmäßig VERSTECKEN */
.vertical-menu1 .sub-menu {
    display: none !important;
}

/* 2. Untermenü EINBLENDEN wenn JS die Klasse vergebe hat */
.vertical-menu1 .sub-menu.is-visible {
    display: block !important;
}

/* 3. Positionierung des Klick-Bereichs auf dem Hauptmenüpunkt */
.vertical-menu1 .menu-item-has-children {
    position: relative !important;
}

.vertical-menu1 .mobile-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important; /* Macht die ganze Zeile klickbar zum Ausklappen */
    height: 40px !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

/* --- 1. UNTERMENÜS IN BEIDEN LISTEN (DESKTOP & MOBIL) VERSTECKEN --- */
.vertical-menu1 .sub-menu,
.vertical-menu1 ul.sub-menu,
.vertical-menu1 .et-menu-nav .sub-menu,
.vertical-menu1 .et_mobile_menu .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 2. NUR EINBLENDEN WENN 'is-visible' AKTIV IST --- */
.vertical-menu1 .sub-menu.is-visible,
.vertical-menu1 ul.sub-menu.is-visible,
.vertical-menu1 .et-menu-nav .sub-menu.is-visible,
.vertical-menu1 .et_mobile_menu .sub-menu.is-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* --- 3. TOGGLE-BUTTON / PFEIL STYLING --- */
.vertical-menu1 .menu-item-has-children {
    position: relative !important;
}

/* Das JS setzt <span class="mobile-toggle"> direkt vor <a> */
.vertical-menu1 .mobile-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 45px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 999 !important;
    display: inline-block !important;
}

.vertical-menu1 .mobile-toggle::before {
    content: "3" !important; /* Divi Icon Code für Pfeil nach unten */
    font-family: "ETmodules" !important;
    font-size: 18px !important;
    color: #ffffff !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.vertical-menu1 .mobile-toggle.is-open::before {
    transform: rotate(180deg) !important;
}

/* --- PFEIL VOR DEN SUB-MENU PUNKTEN --- */
.vertical-menu1 .sub-menu li a::before {
    content: "›" !important; /* Oder "›", "→", "▸" */
    font-size: 20px !important;
    color: #ffffff !important;
    margin-right: 8px !important;
    display: inline-block !important;
}
/* --- 1. WEISSER CONTAINER BÜNDIG UND BREIT --- */
.vertical-menu1 .et_mobile_menu,
.vertical-menu1 .et-menu-nav {
    background-color: #ffffff !important;
    border-radius: 20px !important;       /* Abgerundete Ecken */
    padding: 25px 30px !important;        /* Schön viel Platz innen */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    margin: 20px 0 20px 0 !important;     /* Bündig links, kein 'auto' mehr */
    width: 100% !important;               /* Nutzt die volle verfügbare Spaltenbreite */
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* --- 2. SCHRIFTFARBEN (INKLUSIVE AKTIVER/GEÖFFNETER PUNKTE) --- */
/* Alle Hauptlinks (auch wenn aktiv/geöffnet/hover) */
.vertical-menu1 li a,
.vertical-menu1 li.current-menu-item > a,
.vertical-menu1 li.current_page_item > a,
.vertical-menu1 li.et_pb_menu_page_id-82 > a,
.vertical-menu1 li a:hover {
    color: #222222 !important; /* Erzwingt dunkle Schrift überall */
    font-weight: 600 !important;
}

/* Alle Untermenü-Links */
.vertical-menu1 .sub-menu li a,
.vertical-menu1 .sub-menu li.current-menu-item a,
.vertical-menu1 .sub-menu li a:hover {
    color: #000000 !important;
}

/* --- 3. PFEILE UND PADDING REPARIEREN --- */
/* Verhindert, dass Divi innen Standard-Paddings verschiebt */
.vertical-menu1 ul {
    padding-left: 0 !important;
    margin: 0 !important;
}

/* Ausklapp-Pfeile rechts auf Dunkel setzen */
.vertical-menu1 .mobile-toggle::before {
    color: #222222 !important;
}

/* Pfeile vor Submenü-Punkten */
.vertical-menu1 .sub-menu li a::before {
    color: #a3b945 !important;
}

/* =========================================================
   2. ABSTAND ZWISCHEN DEN HAUPTMENÜPUNKTEN
   ========================================================= */
.vertical-menu1 nav.et-menu-nav > ul > li,
.vertical-menu1 .et_mobile_menu > li {
    margin-bottom: 18px !important;       /* MEHR ABSTAND: Hier bei Bedarf erhöhen */
    position: relative !important;
}

/* Der letzte Punkt braucht keinen Abstand nach unten */
.vertical-menu1 nav.et-menu-nav > ul > li:first-child,
.vertical-menu1 .et_mobile_menu > li:first-child {
    margin-bottom: 0 !important;
}

    /* Das Dropdown-Menü (Hintergrund, Ecken, Schatten & KEINE Linie) */
    .et_pb_menu ul.sub-menu {
        background-color: #ffffff !important;
        border-radius: 15px !important;            
        box-shadow: 0px 10px 30px rgba(0,0,0,0.15) !important; 
        padding: 15px 10px 15px 5px !important;    
        overflow: visible !important;               
        border-top: none !important;                
    }



    /* Die Links im Dropdown */
    .et_pb_menu ul.sub-menu li a {
        color: #a3b945;             
        padding-left: 5px !important;               
        background-color: transparent !important;    /* Verhindert Divi-Standard-Hintergrund */
        transition: all 0.2s ease-in-out !important;
    }

    /* DER PERFEKTE WINKEL-PFEIL (>) AUS DEINEM SCREENSHOT */
    .et_pb_menu ul.sub-menu li a::before {
        content: "\35" !important;                  /* Divi-Code für den dicken Winkel-Pfeil > */
        font-family: "ETmodules" !important;        
        margin-right: 12px !important;              /* Schöner Abstand zum Text */
        font-size: 20px !important;                 /* Angenehme, deutliche Größe */
        font-weight: bold !important;
        color: #000000 !important;                  /* Pfeil in der gleichen Textfarbe */
        display: inline-block !important;
        transition: all 0.2s ease-in-out !important; 
    }



/* ==========================================================================
   DIVI PASSWORT-SEITE
   ========================================================================== */


.post-password-required .et_pb_section {
 height:100vh;
 padding-top:25vh;
 padding-left:50px;
 padding-right:50px;
}


/* 1. Haupt-Formular als Flexbox */
.et_password_protected_form form,
div.et_password_protected_form form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Zentriert die <p>-Container zueinander */
    justify-content: flex-start !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 20px 0 !important;
}

/* 2. Beides sind Flex-Container, damit Inhalte innen vertikal mittig sitzen */
.et_password_protected_form form > p {
    display: flex !important;
    align-items: center !important; /* Zentriert die Elemente IN DEN <p>-Tags */
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    line-height: 1 !important; /* Verhindert Höhenversatz durch Schrift-Baseline */
}

/* Der Absatz mit dem Eingabefeld nimmt den Platz ein */
.et_password_protected_form form > p:first-child,
.et_password_protected_form form > p:first-of-type {
    flex: 1 !important;
    min-width: 300px !important;
}

/* 3. Label unsichtbar machen */
.et_password_protected_form form label,
.et_password_protected_form form p label {
    display: none !important;
}

/* 4. Das weiße runde Eingabefeld */
.et_password_protected_form input[type="password"],
.et_password_protected_form input[name="post_password"] {
    width: 100% !important;
    height: 50px !important; /* Exakt selbe Höhe wie der Button */
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0 25px !important;
    font-size: 16px !important;
    color: #333333 !important;
    outline: none !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.et_password_protected_form input[type="password"]:focus {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12) !important;
}

/* 5. Grüner "Senden"-Button */
.et_password_protected_form button.et_submit_button,
.et_password_protected_form .et_pb_button.et_submit_button,
.et_password_protected_form button[type="submit"] {
    height: 50px !important; /* Exakt selbe Höhe wie das Passwortfeld */
    background-color: #A3B945 !important;
    background: #A3B945 !important;
    color: #ffffff !important;
    border: none !important;
    border-width: 0 !important;
    border-radius: 50px !important;
    padding: 0 32px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(163, 185, 69, 0.35) !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    white-space: nowrap !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

.et_password_protected_form button.et_submit_button:hover,
.et_password_protected_form .et_pb_button.et_submit_button:hover {
    background-color: #8fa33b !important;
    background: #8fa33b !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(163, 185, 69, 0.45) !important;
}

/* ==========================================================================
   ANPASSUNG FÜR SMARTPHONES (<= 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* Section-Padding verringern & dynamische Höhe freigeben */
    .post-password-required .et_pb_section {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 60px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Überschriften & Texte mobil verkleinern */
    .et_password_protected_form h1,
    .et_password_protected_form h2,
    .post-password-required h1,
    .post-password-required h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .et_password_protected_form p,
    .post-password-required p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* Formular-Elemente sauber untereinander stapeln */
    .et_password_protected_form form,
    div.et_password_protected_form form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Feste Breite von 300px aufheben */
    .et_password_protected_form form > p:first-child,
    .et_password_protected_form form > p:first-of-type,
    .et_password_protected_form form > p {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Input & Button auf volle Breite strecken */
    .et_password_protected_form input[type="password"],
    .et_password_protected_form input[name="post_password"],
    .et_password_protected_form button.et_submit_button,
    .et_password_protected_form .et_pb_button.et_submit_button,
    .et_password_protected_form button[type="submit"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}




/* 1. Hintergrund-Video-Container zwingen, 100% der Sektion einzunehmen */
.et_pb_section .et-pb-background-video,
.et_pb_section .et-pb-background-video .mejs-container,
.et_pb_section .et-pb-background-video .mejs-mediaelement,
.et_pb_section .et-pb-background-video video {
	
    height: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    object-fit: cover !important; /* Passt das Video perfekt ohne Balken an */
}