/* 
    main.css
    Hier kommen unsere sauberen, ballastfreien Styles rein.
    Ersetzt das überladene WPBakery/Revolution Slider CSS.
*/

/* --- Allgemeine Layout Korrekturen --- */
#content p {
    margin-bottom: 22px;
}

#content h3 {
    margin-top: 35px;
    margin-bottom: 8px;
}

/* Verstecke die alten WPBakery Spacer, da wir nun saubere CSS Abstände haben */
.vc_empty_space {
    display: none !important;
}

.content-section {
    margin-bottom: 40px;
}

/* Fix: Etwas mehr Atempause im Footer */
.footer_wrapper {
    padding-bottom: 30px;
}

.btn-custom {
    background-color: #a6a8a9;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn-custom:hover {
    background-color: #8c8e8f;
    color: #ffffff;
    text-decoration: none;
}

.btn-custom i {
    margin-left: 8px;
}

/* --- Swiper Slider Anpassungen --- */
.swiper {
    width: 100%;
    height: 370px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pfeile & Pagination für Swiper an das Design anpassen */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff;
    background: rgba(0,0,0,0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(0,0,0,0.5);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 24px;
}




/* --- Formular Styling (Ersatz für Contact Form 7) --- */
.contact-form-container {
    max-width: 600px;
    margin-top: 20px;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #4E4E4E;
}

.custom-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: Arial, sans-serif;
    color: #4E4E4E;
    box-sizing: border-box;
}

.custom-form textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.custom-form .form-control:focus {
    border-color: #005186;
    box-shadow: 0 0 0 2px rgba(0, 81, 134, 0.15);
    outline: none;
}

.custom-form .form-control.has-error {
    border-color: #a12525;
}

.custom-form fieldset {
    border: 0;
    padding: 0;
}

.custom-form legend {
    border: 0;
    color: #4E4E4E;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.custom-form .inline-radio label {
    display: inline-block;
    font-weight: normal;
    margin-right: 15px;
}

.custom-form .inline-radio input[type="radio"] {
    margin-right: 5px;
}

.custom-form .checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
}

.custom-form .checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.custom-form .datenschutz-box {
    font-size: 13px;
    line-height: 1.5;
}

.custom-form .btn-custom {
    background-color: #005186;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 12px;
    text-transform: uppercase;
}

.custom-form .btn-custom:hover {
    background-color: #004071;
}

.contact-form-note {
    margin: 15px 0;
}

.contact-alert {
    border: 1px solid transparent;
    margin-bottom: 20px;
    padding: 14px 16px;
}

.contact-alert p {
    margin: 8px 0 0;
}

.contact-alert-success {
    background: #eef8f0;
    border-color: #6c9b72;
    color: #275c31;
}

.contact-alert-error {
    background: #fff1f1;
    border-color: #b86464;
    color: #7f1d1d;
}

.form-error {
    color: #8b1f1f;
    display: block;
    font-size: 13px;
    margin-top: 6px;
}

.contact-form-website {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

/* --- Globale Design-Elemente --- */

/* Dicke blaue Trennlinien (Ersatz für vc_separator) */
hr.blue-separator,
.vc_separator.vc_sep_border_width_3 .vc_sep_line {
    border-top: 3px solid #005186 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    width: 100%;
}

.vc_separator.vc_sep_border_width_3 .vc_sep_line {
    margin: 0 !important;
    display: block;
}

hr.blue-separator,
.vc_separator.vc_sep_border_width_3 {
    margin: 5px auto 25px auto !important; /* Sehr kleiner Abstand nach oben, größerer Abstand nach unten */
    display: block;
}

/* Abstand zwischen den Bullet-Points in Content-Boxen (z.B. graue Boxen) */
.content-section ul li {
    margin-bottom: 12px;
}
