/* ============================================
   NATURA BAUMPFLEGE - STYLESHEET
   ============================================ */

/* --------------------------------------------
   1. CSS CUSTOM PROPERTIES (VARIABLEN)
   -------------------------------------------- */
:root {
    --color-primary: #4A6741;
    --color-primary-hover: #5a7d4f;
    --color-dark: #2c2c2c;
    --color-white: #ffffff;
    --color-bg-light: #f4f7f2;
    --color-text-gray: #555;
    --color-accent: #8da382;
    --color-footer-bg: #1a1a1a;
    --color-form-bg: #3a3a3a;
    --color-input-bg: #ececec;
    --header-height: 180px;
    --font-family: 'Poppins', sans-serif;
}

/* --------------------------------------------
   2. RESET & BASIS
   -------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

/* --------------------------------------------
   3. LAYOUT CONTAINER
   -------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------
   4. SITE HEADER
   -------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-white);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-top: 20px;
}

.site-header--scrolled {
    padding-top: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Header Logo */
.header__logo {
    display: inline-block;
}

.header__logo-image {
    max-width: 250px;
    height: auto;
    transition: all 0.3s ease;
}

.site-header--scrolled .header__logo-image {
    max-width: 160px;
}

/* Header Navigation */
.header__nav {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding: 10px 0;
    background: var(--color-white);
}

.nav__link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

/* --------------------------------------------
   5. HERO SECTION
   -------------------------------------------- */
.hero {
    margin-top: var(--header-height);
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 20px 50px;
    color: var(--color-white);
}

.hero__title {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero__subtitle {
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

/* --------------------------------------------
   6. SECTIONS (ALLGEMEIN)
   -------------------------------------------- */
.section {
    padding: 80px 0;
}

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

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

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.section--dark .section__title {
    color: var(--color-white);
}

/* --------------------------------------------
   7. SERVICES / DIENSTLEISTUNGEN
   -------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    padding: 25px;
    flex-grow: 1;
}

.service-card__title {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--color-dark);
    line-height: 1.3;
}

.service-card__subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-gray);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card__text {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* --------------------------------------------
   8. FEATURES / WARUM WIR
   -------------------------------------------- */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.features-list__item {
    position: relative;
    padding-left: 35px;
    font-size: 1.1rem;
}

.features-list__item::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* --------------------------------------------
   9. ABOUT / ÜBER UNS - TEAM
   -------------------------------------------- */
.about__intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.about__intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Team Card */
.team-card {
    text-align: center;
}

/* Runder Avatar */
.team-card__avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Gesicht oben halten */
}

/* Platzhalter mit Initialen */
.team-card__avatar--placeholder {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card__initials {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
}

.team-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    line-height: 1.5;
}

/* --------------------------------------------
   10. CONTACT / KONTAKT
   -------------------------------------------- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

/* Contact Info */
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info__title {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.contact-info__address {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info__link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    transition: color 0.3s;
}

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

/* Contact Form */
.contact-form {
    flex: 1.5;
    min-width: 300px;
    background: var(--color-form-bg);
    padding: 30px;
    border-radius: 8px;
}

.form__label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    background: var(--color-input-bg);
    font-family: inherit;
    font-size: 1rem;
}

.form__input:focus,
.form__textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.form__honeypot {
    display: none;
}

.form__button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    text-transform: uppercase;
    transition: background 0.3s;
    font-size: 1rem;
}

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

.form__response {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

/* Styling für Links im Kontaktbereich (Telefon & E-Mail) */
.contact-info a, 
.contact-info__link {
    color: var(--color-white); /* Macht den Text weiß */
    text-decoration: none;      /* Entfernt den Standard-Unterstrich */
    font-weight: 600;           /* Macht den Text etwas dicker */
    transition: color 0.3s ease;
}

/* Hover-Effekt: Wenn man mit der Maus drüberfährt */
.contact-info a:hover, 
.contact-info__link:hover {
    color: var(--color-accent); /* Wechselt zu deinem helleren Grün beim Drüberfahren */
    text-decoration: underline;
}

/* --------------------------------------------
   11. FOOTER
   -------------------------------------------- */
.site-footer {
    background: var(--color-footer-bg);
    padding: 30px 0;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    border-top: 1px solid #333;
}

.site-footer__text {
    margin: 0;
}

/* --------------------------------------------
   12. RESPONSIVE / MEDIA QUERIES
   -------------------------------------------- */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }

    .team-card__avatar {
        width: 130px;
        height: 130px;
    }

    .team-card__initials {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav__link {
        margin: 0 5px;
        font-size: 0.75rem;
    }

    .hero {
        height: 70vh;
    }

    .hero__image {
        object-position: center center;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__content {
        padding-bottom: 30px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 250px;
    }

    .team-card__avatar {
        width: 120px;
        height: 120px;
    }

    .team-card__initials {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header__logo-image {
        max-width: 180px;
    }

    .site-header--scrolled .header__logo-image {
        max-width: 120px;
    }

    .hero {
        height: 75vh;
        min-height: 350px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
}
