/* ==========================================
   GRUNDLEGENDE STYLES & VARIABLEN
   ========================================== */

:root {
    /* FARBEN ÄNDERN: Passen Sie hier Ihr Farbschema an */
    --primary-color: #2d5f3f;      /* Dunkelgrün */
    --primary-light: #4a8f63;      /* Helleres Grün */
    --primary-dark: #1a3d28;       /* Sehr dunkles Grün */
    --accent-color: #7fb069;       /* Akzentgrün */
    --white-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-gray: #2c3e50;
    --text-color: #333333;
    --text-light: #666666;

    /* Schriftarten */
    --font-family: 'Poppins', sans-serif;

    /* Größen */
    --header-height: 4.5rem;
    --border-radius: 0.5rem;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

/* ==========================================
   WIEDERVERWENDBARE KLASSEN
   ========================================== */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 95, 63, 0.3);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    z-index: 100;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo i {
    font-size: 1.8rem;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

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

.hero {
    margin-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;

    /* HINTERGRUNDBILD ÄNDERN: Ersetzen Sie den URL durch Ihr eigenes Bild */
    background: linear-gradient(rgba(45, 95, 63, 0.7), rgba(45, 95, 63, 0.7)),
                url('https://images.unsplash.com/photo-1558904541-efa843a96f01?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero__container {
    width: 100%;
}

.hero__content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__title span {
    color: var(--accent-color);
}

.hero__description {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__button {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

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

.services {
    background-color: var(--light-bg);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service__icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service__card:hover .service__icon {
    background-color: var(--accent-color);
    transform: rotate(360deg);
}

.service__title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   ÜBER UNS
   ========================================== */

.about {
    background-color: var(--white-color);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ==========================================
   KONTAKT
   ========================================== */

.contact {
    background-color: var(--light-bg);
}

.contact__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* Kontakt Info (Links) */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__info-title,
.contact__form-title {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.contact__info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact__info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.contact__info-item h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.contact__info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact__info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact__info-item a:hover {
    color: var(--primary-color);
}

/* Social Media Links */
.contact__social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.contact__social h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.social__links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social__link {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social__link:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(45, 95, 63, 0.3);
}

/* Kontakt Formular (Rechts) */
.contact__form-container {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__input,
.form__textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__button {
    width: 100%;
    font-size: 1.1rem;
}

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

.footer {
    background-color: var(--dark-gray);
    color: var(--white-color);
    padding: 2rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__copy {
    color: #b0b0b0;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__link {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--accent-color);
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ========================================== */

/* Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--white-color);
        width: 80%;
        max-width: 400px;
        height: 100vh;
        padding: 4rem 2rem;
        transition: var(--transition);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

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

/* Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    :root {
        --header-height: 4rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 0.95rem;
    }

    .hero__button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

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

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

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer__social {
        order: 2;
    }

    .footer__copy {
        order: 1;
    }

    .footer__links {
        order: 3;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================
   ANIMATION BEIM SCROLLEN (Optional)
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service__card,
.about__content,
.contact__container {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.98);
    color: var(--white-color);
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent__content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent__title i {
    color: var(--accent-color);
}

.cookie-consent__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.cookie-consent__text a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-consent__text a:hover {
    color: var(--primary-light);
}

.cookie-consent__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent__button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.cookie-consent__button--accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.cookie-consent__button--accept:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .cookie-consent__container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent__button {
        flex: 1;
        min-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .cookie-consent {
        padding: 1rem 0;
    }

    .cookie-consent__title {
        font-size: 1.1rem;
    }

    .cookie-consent__text {
        font-size: 0.9rem;
    }

    .cookie-consent__button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}
