
:root {
    --primary-color: #2a8bc7;
    --primary-dark: #1f6fa0;
    --secondary-color: #f5f5f5;
    --accent-color: #d95b20;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 220px;
    height: auto;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}
/* Header mit fixer Höhe */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;       /* hier die gewünschte Header-Höhe */
    overflow: visible;  /* Logo darf überstehen */
}

/* Header-Inner füllt die 80 px komplett */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Navigation anpassen */
.nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 150px;
    height: 100%;

}

.nav li {
    margin-left: 30px;
}

.nav a {
    display: flex;
    align-items: center;   /* vertikal zentrieren */
    height: 100%;          /* damit das ::after-Border unten anliegt */
    color: var(--text-dark);
    font-weight: 500;
    padding: 0 10px;       /* nur horizontalen Abstand */
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;         /* direkt an der Unterkante des 80px-Containers */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background-color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #c04a15;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services */
.services {
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

/* Team */
.team {
    background-color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-img {
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    color: var(--text-light);
    font-style: italic;
}
/* Testimonials */
.testimonials {
    text-align: center;
}

/* Zentriert den gesamten Slider */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px; /* Etwas Innenabstand für kleinere Bildschirme */
}

/* Jede einzelne Slide */
.testimonial {
    padding: 30px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin: 20px auto; /* zentriert die Box */
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Text innerhalb der Testimonials */
.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Dekoratives Anführungszeichen */
.testimonial p::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.1;
    top: -30px;
    left: -15px;
    z-index: -1;
}

/* Swiper Buttons und Pagination */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination {
    margin-top: 20px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.client {
    font-weight: bold;
    color: var(--primary-color);
}

/* Appointments */
.appointments {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.appointments h2 {
    margin-bottom: 30px;
}

.appointment-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.appointment-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.appointment-box i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appointment-box h3 {
    margin-bottom: 15px;
}

.appointment-hours {
    margin-top: 10px;
}

.appointment-hours p {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Emergency */
.emergency {
    padding: 40px 0;
    background-color: var(--accent-color);
    color: var(--white);
}

.emergency-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.emergency-text {
    flex: 2;
    min-width: 300px;
}

.emergency-text h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.emergency-phone {
    flex: 1;
    text-align: right;
    min-width: 200px;
}

.emergency-phone a {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.emergency-phone i {
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--white);
    margin: 0 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: var(--white);
    padding: 15px 0;
    z-index: 1000;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 3;
    min-width: 300px;
}

.cookie-buttons {
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 200px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-accept:hover {
    background-color: var(--primary-dark);
}

.cookie-learn {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.cookie-learn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .logo {
        max-width: 88px;
        height: auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-img {
        grid-row: 1;
        margin-bottom: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.show {
        height: auto;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px 0;
        margin-bottom: 0px;
    }

    .nav li {
        margin: 0;
    }

    .nav a {
        display: block;
        padding: 12px 20px;
    }

    .nav a::after {
        display: none;
    }

    .hero {
        height: 70vh;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }

    .btn-outline {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .emergency-phone a {
        font-size: 1.5rem;
    }
}
