/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
	background-color: #fff;
}

h1, h2, h3, h4, .main-heading, .services-title, .team-title, .agb-title, .impressum-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.5px;
}





a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.textbox_mittel {
    max-width: 800px;
    margin: 0 auto;
    padding: 4px 0 80px 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background-color: #9b2525;
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #666;
}

.nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    margin: 0 20px;
}

.nav a {
    color: white;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.nav a:hover {
    border-bottom-color: white;
}

.hamburger {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    font-size: 20px;
}

/* ===== HERO SLIDER ===== */
.slider-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-1 {
    background-image: url('../img/team/2026/VM_Team_2000-595px_01_2026.jpg');
}

.slide-2 {
    background-image: url('../img/team/2026/VM_Team_2000-595px_01_2026.jpg');
}

.slide-3 {
    background-image: url('../img/team/2026/VM_Team_2000-595px_01_2026.jpg');
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-control.active {
    background-color: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ===== LOGO & SLOGAN ===== */
.logo-section {
    text-align: center;
    padding: 100px 0 10px 0;
    background-color: #f8f8f8;
}

.logo-section.textbox {
    text-align: center;
    padding: 20px 0 10px 0;
    background-color: #f8f8f8;
}

.logo-section.textbox_mittel {
    text-align: center;
    padding: 20px 0 10px 0;
    background-color: #f8f8f8;
}


.logo {
    max-width: 400px;
    margin: 0 auto 20px;
}

.slogan {
    font-size: 18px;
    color: #808080;
    margin-bottom: 20px;
}

.separator {
    width: 100px;
    height: 2px;
    background-color: #ccc;
    margin: 20px auto;
}

.main-heading {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 30px 0;
    line-height: 1.3;
}

.cta-button {
    display: inline-block;
    background-color: #9b2525;
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    margin: 20px 0 30px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #801a1a;
}

.contact-info {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.contact-info a {
    color: #9b2525;
}

/* ===== FEATURES ===== */
.features {
    padding: 60px 0 100px 0;
    background-color: #f8f8f8;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 300px;
    margin: 0 20px;
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 40px;
    color: #9b2525;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}


p.tx_left.mittel {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
	text-align: left;
	padding: 0 30px;
}


/* ===== LEISTUNGEN ===== */
.services {
    background: #f2f2f2;
    padding: 80px 20px;
}

.services-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: white;
    padding: 25px 25px 25px 70px;
    border-radius: 4px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    font-size: 15px;
}

.service-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: #a02a2a;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ===== TEAM ===== */
.team-section {
    background: #f2f2f2;
    padding: 90px 20px;
}

.team-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 60px;
    position: relative;
}

.team-title span {
    padding: 0 30px;
    background: #f2f2f2;
    position: relative;
    z-index: 2;
}

.team-title:before,
.team-title:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #d0d0d0;
}

.team-title:before {
    left: 0;
}

.team-title:after {
    right: 0;
}

.team-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 40px 0 40px 0;
}

.team-image img {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.team-info h3 {
    color: #a12c2c;
    font-size: 26px;
    margin-bottom: 5px;
}

.team-role {
    color: #666;
    margin-bottom: 25px;
}

.team-contact {
    background: #a12c2c;
    color: white;
    padding: 25px;
    max-width: 370px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.team-contact.grau {
    background: #dedede;
    color: #000;
}


.team-contact p {
    margin: 6px 0;
}

.team-quote {
    text-align: center;
    margin-top: 40px;
    color: #555;
    font-style: italic;
}

.team-quote span {
    font-size: 14px;
    color: #888;
}

/* ===== FOOTER ===== */


/* ===== FOOTER ===== */
.footer {
    background-color: #d8d8d8; /* Dunkleres Grau */
    padding: 40px 0 60px;
}

.footer-grid {
    display: flex;
    justify-content: center; /* Zentriert den Inhalt */
    flex-wrap: wrap;
    max-width: 1000px; /* Etwas schmaler für bessere Zentrierung */
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; /* Text in den Spalten links */
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 0 20px;
}

.footer-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-logo {
    max-width: 200px;
    margin: 0 auto 15px; /* Zentriert das Logo */
     /*display: block;*/ /* Block-Element für Zentrierung */
}

.footer-contact {
    line-height: 1.8;
    color: #666;
    text-align: left; /* Zentriert den Kontakttext */
}

.footer-contact a {
    color: #9b2525;
}

.opening-hours {
    line-height: 1.8;
    color: #666;
    text-align: left; /* Zentriert die Öffnungszeiten */
}

.copyright-section {
    background-color: #9b2525;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 40px;
}

.copyright-section a {
    color: white;
    text-decoration: underline;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #9b2525;
        padding: 20px;
    }

    .nav.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
    }

    .features-grid,
    .footer-grid {
        flex-direction: column;
    }

    .feature,
    .footer-column {
        margin: 20px 0;
    }

    .slider-container {
        height: 300px;
    }

    .slider-arrow {
        padding: 10px;
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-contact {
        margin: auto;
    }

    .team-title:before,
    .team-title:after {
        display: none;
    }
}


/* ===== AGB SECTION ===== */
.agb-section {
    background: #f9f9f9;
    padding: 60px 20px;
}

.agb-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.agb-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.agb-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.agb-paragraph {
    margin-bottom: 30px;
}

.agb-paragraph h3 {
    color: #a12c2c;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.agb-paragraph p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.agb-paragraph ol {
    margin-left: 20px;
}

.agb-paragraph li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.agb-copyright {
    text-align: right;
    font-size: 14px;
    color: #888;
    margin-top: 30px;
    font-style: italic;
}

@media (max-width: 768px) {
    .agb-title {
        font-size: 26px;
    }

    .agb-subtitle {
        font-size: 16px;
    }

    .agb-content {
        padding: 20px;
    }
}

/* ===== IMPRESSUM SECTION ===== */
.impressum-section {
    background: #f9f9f9;
    padding: 60px 20px;
}

.impressum-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.impressum-makler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.impressum-makler {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-makler h3 {
    color: #a12c2c;
    font-size: 20px;
    margin-bottom: 15px;
}

.impressum-address {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.impressum-role {
    color: #a12c2c;
    font-weight: bold;
}

.impressum-contact {
    color: #666;
    line-height: 1.8;
}

.impressum-contact a {
    color: #a12c2c;
    text-decoration: none;
}

.impressum-contact a:hover {
    text-decoration: underline;
}

.impressum-info {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-info h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.impressum-register {
    margin-bottom: 20px;
}

.impressum-register h4 {
    color: #a12c2c;
    font-size: 18px;
    margin-bottom: 10px;
}

.impressum-check {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-check h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.impressum-gisa {
    margin-bottom: 20px;
}

.impressum-gisa p {
    color: #666;
    margin-bottom: 10px;
}

.impressum-register-link {
    text-align: center;
    margin: 20px 0;
}

.impressum-button {
    display: inline-block;
    background: #a12c2c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background 0.3s;
}

.impressum-button:hover {
    background: #8a2424;
}

.impressum-complaint {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-complaint h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.impressum-complaint p {
    color: #666;
    line-height: 1.6;
}

.impressum-participation {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-participation h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.impressum-participation p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .impressum-makler-grid {
        grid-template-columns: 1fr;
    }

    .impressum-title {
        font-size: 26px;
    }

    .impressum-makler h3,
    .impressum-info h3,
    .impressum-check h3,
    .impressum-complaint h3,
    .impressum-participation h3 {
        font-size: 20px;
    }
}


/* ===== ISOLIERTES CSS FÜR DIE DOWNLOADS-UNTERSEITE ===== */
/* Greift NUR, wenn der Body die Klasse "downloads-page" hat */
.downloads-page .services.down {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.downloads-page .services-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
}

.downloads-page .services-grid.down {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.downloads-page .service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: left;
    position: relative;
}

.downloads-page .service-icon {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: #9b2525;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.downloads-page .service-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.downloads-page .service-card a {
    color: #9b2525;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.downloads-page .service-card a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Responsive Anpassungen NUR für diese Seite */
@media (max-width: 768px) {
    .downloads-page .service-card {
        padding: 20px;
        margin: 0 10px;
    }

    .downloads-page .service-icon {
        display: none;
    }

    .downloads-page .service-card {
        text-align: center;
    }
}

/* ===== DATENSCHUTZ SECTION ===== */
.datenschutz-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.datenschutz-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
}

.datenschutz-intro {
    margin-bottom: 40px;
    text-align: center;
}

.datenschutz-intro p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.datenschutz-makler {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.makler-info {
    text-align: center;
    max-width: 300px;
}

.makler-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #9b2525;
    margin-bottom: 10px;
}

.makler-info p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.makler-info a {
    color: #9b2525;
    text-decoration: none;
}

.makler-info a:hover {
    text-decoration: underline;
}

.datenschutz-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.datenschutz-paragraph {
    margin-bottom: 40px;
}

.datenschutz-paragraph h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #9b2525;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.datenschutz-paragraph p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.datenschutz-paragraph ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.datenschutz-paragraph li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.datenschutz-paragraph a {
    color: #9b2525;
    text-decoration: none;
}

.datenschutz-paragraph a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .datenschutz-title {
        font-size: 26px;
    }

    .datenschutz-makler {
        flex-direction: column;
        gap: 30px;
    }

    .datenschutz-content {
        padding: 20px;
    }

    .datenschutz-paragraph h2 {
        font-size: 18px;
    }
}



