.et-pb-contact-message {
    border: 1px solid red !important;
    background-color: rgba(255, 255, 255, 0.14);
    padding: 15px;
    color: #fff;
    margin-bottom: 30px;
}
.et-pb-contact-message:empty{
    display: none;
}

.home .et-pb-contact-message {
    border: 0 !important;
    background-color: transparent;
    padding: 0px;

    margin-bottom: 0;
}

#top-header {
    background: rgba(255, 255, 255, 0.7) !important;
}

#main-header {
    background: rgba(255, 255, 255, 0.7) !important;
    padding-bottom: 15px !important;
}

.page-id-23 .et_pb_contact_field[data-id='preis'],
.page-id-23 .et_pb_contact_field[data-id='reisende'],
.page-id-23 .et_pb_contact_field[data-id='transferart'],
.page-id-23 .et_pb_contact_field[data-id='startpunkt'] {
    display: none;
}

.page-id-23.hoShowFields .et_pb_contact_field[data-id='preis'],
.page-id-23.hoShowFields .et_pb_contact_field[data-id='reisende'],
.page-id-23.hoShowFields .et_pb_contact_field[data-id='transferart'],
.page-id-23.hoShowFields .et_pb_contact_field[data-id='startpunkt'] {
    display: block;
}

/* Gemeinden-Felder komplett verstecken - nur Gebiete verwenden */
#et_pb_contact_gemeinde_0,
.et_pb_contact_field:has(#et_pb_contact_gemeinde_0),
.et_pb_contact_field[data-id="gemeinde"] {
    display: none !important;
}

.home .et-pb-contact-message:not(:empty) {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    margin-bottom: 30px;
}

.home .et-pb-contact-message ul {
    padding-bottom: 0;
    padding-left: 20px;
}

.et_pb_contact_form .cta-box {
    clear: both;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
    background-color: #eee;
    padding: 3%;
    margin: 0 0 0 3%;
}

.et_pb_contact_form .cta-box a {
    display: inline-block;
    color: #ffffff !important;
    border-width: 0px !important;
    border-radius: 5px;
    letter-spacing: 1px;
    font-size: 14px;
    font-family: "Open Sans", Arial, sans-serif;
    /* font-weight: 700!important; */
    background-color: #e02b20;
    padding: 7px 15px 6px;
    line-height: 1;
    margin: 10px 10px 0px;
}



.et_pb_button:hover,
.et_pb_module .et_pb_button:hover {
    padding: .3em 1.5em .3em .7em;
    border: 2px solid transparent;
}

/* Preisfeld als Textarea - automatisch mehrzeilig */
#et_pb_contact_zuzahlen_0 {
    min-height: 50px !important;
    height: auto !important;
    resize: none !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    padding: 10px !important;
    font-size: 14px !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    font-family: inherit !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
}

/* Container für das Preisfeld - dynamische Höhe */
.et_pb_contact_field:has(#et_pb_contact_zuzahlen_0) {
    height: auto !important;
    min-height: 60px !important;
}

/* Spezifisch für das Preisfeld */
.et_pb_contact_field[data-id='preis'] {
    height: auto !important;
    min-height: 60px !important;
}

/* Textarea-spezifische Styling */
textarea#et_pb_contact_zuzahlen_0 {
    min-height: 50px !important;
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    resize: none !important;
}
