/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ================================
   NAVIGATION
================================ */

.active {
    color: #00B8A9 !important;
    font-weight: 600;
}

nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}

#logo {
    width: 140px;
    height: 140px;
}

.nav-links {
    list-style: none;

    display: flex;
    gap: 30px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00B8A9;
}

.nav-cta {
    background: #00B8A9;
    color: white;

    padding: 10px 25px;
    border-radius: 6px;

    font-size: 22px;

    text-decoration: none;
}

.nav-cta:hover {
    background: #008F82;
}

/* Burger */

.mobile-menu-btn {
    display: none;

    background: #00B8A9;
    color: white;

    border: none;
    font-size: 2rem;

    padding: 8px 14px;
    border-radius: 8px;
}

/* ================================
   HERO
================================ */

.hero {
    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url("../images/team.png") center/cover;

    min-height: 600px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* ================================
   BUTTONS
================================ */

.btn {
    background: #00B8A9;
    color: white;

    padding: 14px 35px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    display: inline-block;
}

.btn:hover {
    background: #008F82;
}

.btn-secondary {
    background: white;
    color: #00B8A9;
}

/* ================================
   LAYOUT
================================ */

.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* ================================
   SERVICES
================================ */

/* ================================
   SERVICES GRID + HOVER CARDS
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Service Card */

.service-card {
    display: block;

    position: relative;
    overflow: hidden;

    height: 260px;

    background: white;

    border-radius: 12px;
    text-align: center;

    text-decoration: none;
    color: inherit;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

    transition: all 0.3s ease;
}

/* Hover Effekt */

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* Inhalt */

.service-content {
    position: relative;
    z-index: 3;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 25px;

    transition: all 0.4s ease;
}

/* Icon */

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Titel */

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1f2937;
}

/* Text */

.service-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Hover Bild */

.service-hover-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.1);

    transition: all 0.4s ease;

    z-index: 1;
}

/* Blauer Filter */

.service-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 184, 169, 0.45);

    opacity: 0;

    transition: opacity 0.4s ease;

    z-index: 2;
}

/* Hover Animation */

.service-card:hover .service-hover-bg {
    opacity: 1;
    transform: scale(1.05);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-content {
    opacity: 0;
    transform: translateY(15px);
}

/* ================================
   ABOUT
================================ */

.about-section {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   FEATURES
================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    color: #00B8A9;
    font-size: 1.8rem;
}

/* ================================
   CONTACT
================================ */

.contact-section {
    background: linear-gradient(135deg,#00B8A9,#008F82);
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
}

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

footer {
    background: #1f2937;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

/* ================================
   MODAL
================================ */

.modal {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.6);

    display: none;
    z-index: 9999;
}

.modal-content {
    background: white;

    max-width: 900px;
    width: 95%;

    margin: 5% auto;

    border-radius: 15px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;

    font-size: 26px;
    cursor: pointer;
}

.privacy-iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

/* ================================
   ANIMATION
================================ */

.fade-hero {
    opacity: 0;
    transform: translateY(25px);
}

.fade-hero.show {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

.fade-btn {
    opacity: 0;
    transform: translateY(15px);
}

.fade-btn.show {
    opacity: 1;
    transform: translateY(0);
    transition: 1s 0.4s;
}

/* ================================
   RESPONSIVE
================================ */

@media(max-width:992px){
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px){

    #logo {
        width: 100px;
        height: 100px;
    }

    .nav-links {
        display: none;

        flex-direction: column;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: white;
        transform: none;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Honeypot verstecken */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}
