/* Grundlegende Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Versteckt Seiten, die gerade nicht aktiv sind */
.page {
    display: none;
}
.page.active {
    display: block;
}

/* HEADER & LOGO VIDEO (SCHWARZ) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000; /* Header bleibt schwarz */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 170px;
    padding: 12px 40px 10px 30px;
    border-bottom: 1px solid #222222;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-video {
    height: 160px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* NAVIGATION (WEISS AUF SCHWARZEM HEADER) */
nav {
    margin-left: auto;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a, .dropbtn {
    color: #ffffff; /* Weisse Schrift im Header */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

nav a:hover, .dropbtn:hover {
    color: #cc0000;
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    min-width: 220px;
    z-index: 100;
    border-left: 2px solid #cc0000;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    padding: 10px 0 10px 10px;
}

.dropdown-content a {
    color: #ffffff;
    padding: 8px 0;
    text-decoration: none;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    color: #cc0000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
}

.scroll-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.scroll-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-clean {
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
    transition: none !important;
}

.hero-text {
    z-index: 10;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
    margin-bottom: 20px;
    line-height: 1.2;
}

.btn-primary {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #000;
    color: #fff;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: lowercase;
}

.btn-primary:hover {
    background: #000;
}

/* LEISTUNGEN LISTE */
.services-list {
    padding: 50px 10%;
    background-color: #ffffff;
    color: #000000;
}

.services-list h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #000000;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.service-item img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.service-item p {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: bold;
    color: #000000;
}

.more-text {
    margin-top: 50px;
    font-size: 2rem;
    color: #000000;
}

/* KONTAKT SEITE */
.contact-section {
    padding: 40px 10%;
    max-width: 1200px;
    margin: 0 auto;
    color: #000000;
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-details p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333333;
}

.contact-map iframe {
    width: 100%;
    border-radius: 2px;
}

.form-box {
    background-color: #f2f2f2;
    border: 2px solid #cccccc;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000000;
}

.form-group input, 
.form-group select,
.form-group textarea {
    background-color: #ffffff;
    border: 1px solid #bbbbbb;
    color: #000000;
    padding: 10px;
    font-size: 0.95rem;
    outline: none;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: #000000;
}

.form-footer {
    margin-top: 10px;
}

.required-note {
    font-size: 0.8rem;
    color: #555555;
    margin-bottom: 12px;
}

.form-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    font-size: 0.85rem;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit {
    background: #e6e6e6;
    color: #000000;
    border: 1px solid #999999;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.2s;
}

.btn-submit:hover {
    background: #cc0000;
    color: #ffffff;
    border-color: #cc0000;
}

/* ÜBER UNS SEITE */
.about-section {
    padding: 50px 10%;
    min-height: 70vh;
    background-color: #ffffff;
    color: #000000;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
}

.placeholder-img {
    width: 150px;
    height: 150px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #555;
}

.team-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #000000;
}

.contact-link {
    display: block;
    color: #333333;
    text-decoration: none;
    margin: 5px 0;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #cc0000;
}

/* LEGAL SEITEN (IMPRESSUM & DATENSCHUTZ) */
.legal-section {
    padding: 40px 10%;
    max-width: 900px;
    margin: 0 auto;
    color: #000000;
    background-color: #ffffff;
}

.legal-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #cc0000;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

.legal-content ul {
    margin-left: 20px;
    margin-top: 10px;
    color: #333333;
    line-height: 1.6;
}

/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 40px 20px;
    gap: 20px;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    color: #000000;
}

.footer-contact {
    display: flex;
    gap: 60px;
    font-size: 1.2rem;
}

.footer-contact a {
    color: #000000;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 40px;
    margin-top: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: underline;
    font-size: 1.1rem;
    text-underline-offset: 4px;
}

.footer-links a:hover {
    color: #cc0000;
}

/* MOBILE ANPASSUNGEN */
@media (max-width: 900px) {
    header { 
        flex-direction: column; 
        height: auto;
        padding: 20px;
        gap: 20px; 
    }
    .header-video {
        width: 100%;
        height: 120px;
    }
    .hero-text h1 { 
        font-size: 2.5rem; 
    }
    .service-item { 
        flex-direction: column; 
        text-align: center; 
        gap: 20px;
    }
    .service-item img {
        width: 100%;
        height: auto;
    }
    .footer-contact { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}