:root {
    --primary-red: #D32F2F;
    --dark-gray: #212121;
    --medium-gray: #424242;
    --light-gray: #F5F5F5;
    --white: #ffffff;
    --border-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER & NAVIGATION */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.8rem;
    color: var(--dark-gray);
    font-weight: 800;
}

.logo-text span {
    color: var(--primary-red);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-red);
}

.header-btn {
    background: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

/* HERO SECTION */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #fff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--medium-gray);
}

/* BEFORE/AFTER SLIDESHOW */
.slideshow-section {
    padding: 80px 0;
    background: var(--white);
}

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 500px;
    overflow: hidden;
    border: 5px solid var(--dark-gray);
    border-radius: 8px;
}

.ba-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.ba-slide.active {
    display: flex;
}

.ba-slide img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.ba-tag-overlay {
    position: absolute;
    bottom: 20px;
    padding: 10px 20px;
    background: var(--primary-red);
    color: white;
    font-weight: 800;
    border-radius: 4px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* FOOTER */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 2000;
}

/* CONTENT PAGES */
.page-header {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.content-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-body {
    padding: 20px;
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-gray);
    color: white;
    padding: 20px 0;
    z-index: 3000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    display: none;
}

#cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

/* FORM STYLES */
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 200px;
}

/* MOBILE FIXES */
@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    nav {
        width: 100%;
        display: block !important; /* IMMER ANZEIGEN */
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li a {
        background: var(--light-gray);
        padding: 10px 15px;
        border-radius: 4px;
        display: inline-block;
        border: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .logo-text { font-size: 1.4rem; }
    .ba-slider { height: 300px; }
}
