/* --- 1. SETUP & FONTS --- */
@font-face {
    font-family: 'Lato';
    src: url('webfonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* 2. Lato Regular (400) - Der Standard */
@font-face {
    font-family: 'Lato';
    src: url('webfonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* 3. Lato Bold (700) - Für Überschriften */
@font-face {
    font-family: 'Lato';
    src: url('webfonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary: #3A5A40;
    /* Dunkles Waldgrün */
    --secondary: #588157;
    /* Weiches Salbei */
    --accent: #D4A373;
    /* Warmes Gold/Beige für Buttons */
    --bg-color: #FDFCF8;
    /* Gebrochenes Weiß, nicht hartes Weiß */
    --text-dark: #2D3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}


h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
    cursor: default;

}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;

}

ul {
    list-style: none;
}

/* --- 2. NAVIGATION (GLASSMORPHISM) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.85);
    /* Transparenz */
    backdrop-filter: blur(12px);
    /* Milchglas-Effekt */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    position: relative;
}

/* Cooler Underline Effekt */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 25px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(58, 90, 64, 0.2);
}

.btn-nav:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-nav::after {
    display: none;
}

/* Kein Underline beim Button */

/* --- 3. HERO SECTION (HOME) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: linear-gradient(to right, #FDFCF8 40%, rgba(253, 252, 248, 0) 100%),
        url('img/hantel-v1.jpg') center/cover;
    position: relative;
}

.hero-text {
    max-width: 600px;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(58, 90, 64, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(212, 163, 115, 0.4);
}

.btn-primary:hover {
    background: #c59260;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 163, 115, 0.6);
}

/* --- 4. PAGE HEADER (FÜR UNTERSEITEN) --- */
.page-header {
    height: 50vh;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Dekorative Kreise im Hintergrund */
.page-header::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* --- 5. SECTIONS GENERAL --- */
.section {
    padding: 100px 8%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 8%;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.4s;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(58, 90, 64, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

/* --- 6. LEISTUNGEN (Zig-Zag Layout) --- */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item.reversed .service-text {
    order: 2;
}

/* Text rechts */
.service-item.reversed .service-img {
    order: 1;
}

/* Bild links */

.service-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 20px 20px 0px rgba(58, 90, 64, 0.1);
    /* Cooler Offset-Rahmen */
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* --- 7. MOBILE --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: 0.4s;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 100px;
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-bottom: 100px;
        background: var(--bg-color);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .grid-2,
    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item.reversed .service-text {
        order: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 8. TEAM SECTION (NEU) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.4s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-wrapper {
    width: 100%;
    height: 85%;
    object-fit: cover;
    object-position: top;
    transition: 0.5s ease;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Zoom-Effekt beim Hovern */
.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.team-info span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 9. STATS SECTION (NEU) --- */
.stats-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 8%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    border-radius: var(--radius);
    margin: 0 8% 100px 8%;
    /* Abstand links/rechts */
}

.stat-item h2 {
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 0;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* --- 10. FOOTER & KONTAKT (High End) --- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 8% 20px;
    margin-top: 0;
    /* Direkt an die letzte Section anschließen */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}


.copyright {
    display: flex;
    justify-content: space-between;

    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

}


.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.footer-link:hover {
    color: var(--accent);

    text-decoration: underline;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Copyright Bar */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    margin-left: 20px;
}

.legal-links a:hover {
    color: var(--white);
}

/* Kontakt Button im Footer */
.footer-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 10px;
}

.footer-btn:hover {
    background: var(--accent);
    color: var(--white);
}


/* --- ACCORDION DESIGN (High End) --- */

details.premium-accordion {
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Zarte Trennlinie */
    padding-top: 15px;
}

details.premium-accordion summary {
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    /* Standard-Dreieck weg */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

/* Chrome/Safari Fix um Dreieck zu entfernen */
details.premium-accordion summary::-webkit-details-marker {
    display: none;
}

details.premium-accordion summary:hover {
    color: var(--accent);
}

/* Das Plus-Zeichen */
details.premium-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    transition: transform 0.3s ease;
}

/* Wenn offen: Plus dreht sich zum X (oder wird Minus) */
details.premium-accordion[open] summary::after {
    transform: rotate(45deg);
    /* Dreht das + zu einem x */
}

/* Der Inhalt (Animation) */
.accordion-content {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeIn 0.5s ease;
}

/* Animation beim Öffnen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}