:root {
    --primary: #0f4c2f;
    --primary-light: #2e8b57;
    --accent: #a7f3d0;
    --dark: #0a0a0a;
    --card: #161616;
    --text: #eaeaea;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);

    display: flex;
    flex-direction: column;
    min-height: 100vh;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

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

/* NAVBAR */
.navbar {
    background: rgba(0,0,0,0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    color: var(--primary-light);
    font-size: 1.5rem;
    font-weight: bold;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* MOBILE */
@media(max-width:768px){

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #111;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

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

    .hamburger {
        display: block;
    }
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* SECTION */
.section {
    padding: 80px 0;
}

/* FOOTER NEU (ACCORDION STYLE) */
footer {
    background: linear-gradient(180deg, #050505, #0d1f17);
    padding: 40px 0;
}

.footer-center {
    text-align: center;
    margin-bottom: 30px;
}

.footer-center h2 {
    color: var(--accent);
}

.footer-tagline {
    color: #aaa;
    margin-top: 10px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    cursor: pointer;
    margin-bottom: 20px;
}

.footer-menu div {
    color: var(--primary-light);
    font-weight: bold;
}

/* ACCORDION */
.footer-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.footer-content.active {
    max-height: 300px;
}

.footer-content p,
.footer-content a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}


/* KONTAKT PREMIUM */

.contact-wrapper {
    max-width: 500px;
    margin: auto;
    text-align: center;
}

.contact-title {
    margin-bottom: 30px;
    font-size: 2.2rem;
}

/* BUTTONS */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-buttons button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #1c1c1c, #111);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s;
}

.contact-buttons button:hover {
    background: var(--primary);
}

/* BOX */
.contact-box {
    display: none;
    margin-top: 25px;
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
}

/* INPUTS */
.contact-box input,
.contact-box textarea,
.contact-box select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s;
}

.contact-box input:focus,
.contact-box textarea:focus,
.contact-box select:focus {
    border: 1px solid var(--primary-light);
    background: rgba(255,255,255,0.08);
}

/* TEXTAREA */
.contact-box textarea {
    min-height: 120px;
    resize: none;
}

/* SUBMIT BUTTON */
.contact-box button {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.contact-box button:hover {
    background: var(--primary-light);
}

/* FOOTER SCROLL REVEAL */
#footer {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    pointer-events: none;
}

#footer.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}



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

.about-hero {
    height: 45vh;
    width: 100%;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.about-content {
    position: relative;
    text-align: center;
    color: white;
}

.about-content h1 {
    font-size: 2.6rem;
    color: var(--accent);
}

.about-content p {
    margin-top: 10px;
    color: #ccc;
}

/* =========================
   BANNER (CLEAN MODERN)
========================= */

.about-banner {
    width: 100%;
}

.banner-inner {
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, #0f4c2f, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.banner-inner span {
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================
   CONTENT
========================= */

.about-section {
    padding: 80px 0;
}

.about-section h2 {
    margin-bottom: 40px;
    text-align: center;
    color: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.about-card {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.about-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

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

    .about-content h1 {
        font-size: 2rem;
    }

    .banner-inner {
        height: 90px;
    }
}





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

.project-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.project-hero h1 {
    font-size: 2.8rem;
    color: var(--accent);
}

.project-hero p {
    color: #aaa;
    margin-top: 10px;
}

/* =========================
   PROJECT GRID
========================= */

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

/* =========================
   PROJECT CARD
========================= */

.project-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    background: var(--primary);
}

/* IMAGE */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* TEXT */
.project-card h3 {
    padding: 15px 15px 5px;
    color: var(--accent);
}

.project-text {
    padding: 0 15px;
    color: #ccc;
    font-size: 0.95rem;
}

.project-solution {
    padding: 15px;
    color: #ddd;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .project-hero h1 {
        font-size: 2rem;
    }

    .project-card img {
        height: 180px;
    }
}






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

.service-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.8rem;
    color: var(--accent);
}

.service-hero p {
    color: #aaa;
    margin-top: 10px;
}

/* =========================
   SERVICE GRID
========================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

/* =========================
   SERVICE ITEM
========================= */

.service-item {
    background: var(--card);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-6px);
    background: var(--primary);
}

/* ICON */
.service-item i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* TEXT */
.service-item h3 {
    margin-bottom: 8px;
    color: white;
}

.service-item p {
    font-size: 0.9rem;
    color: #ccc;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .service-hero h1 {
        font-size: 2rem;
    }

}



/* =========================
   HERO (KOMPAKT + ABOVE THE FOLD)
========================= */

.home-hero {
    height: 65vh; /* WICHTIG: kleiner für sofortige Stats Sichtbarkeit */
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.hero-content {
    position: relative;
    color: white;
    transform: translateY(-10px);
}

.hero-content h1 {
    font-size: 2.8rem;
    color: var(--accent);
}

.hero-content p {
    margin-top: 10px;
    color: #ddd;
}

/* =========================
   HERO BUTTON (PREMIUM)
========================= */

.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* =========================
   STATS (SICHTBAR WICHTIG)
========================= */

.stats-section {
    padding: 60px 0;
    background: #0d0d0d;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    text-align: center;
    gap: 25px;
}

.stat h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat p {
    color: #fff;
    margin-top: 5px;
    font-weight: 600;
}

.stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f4c2f, #0a0a0a);
}

.cta h2 {
    color: white;
    font-size: 2.2rem;
}

.cta p {
    color: #ccc;
    margin-top: 10px;
}

/* CTA BUTTON */
.cta-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    border-radius: 50px;
    background: white;
    color: #0f4c2f;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .home-hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}



/* =========================
   LEGAL PAGE STYLE (FINAL CLEAN)
========================= */

.section h1 {
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
    letter-spacing: 0.5px;
}

/* BOX */
.legal-box {
    max-width: 800px;
    margin: 10px auto 0;
    background: var(--card);
    padding: 30px;
    border-radius: 14px;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* HEADINGS */
.legal-box h3 {
    margin-top: 25px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* TEXT */
.legal-box p {
    margin-top: 10px;
    color: #ddd;
}

/* LINKS */
.legal-box a {
    color: var(--accent);
    text-decoration: none;
}

.legal-box a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {

    .legal-box {
        padding: 20px;
    }

}



/* =========================
   LEGAL PAGES (IMPRESSUM + DATENSCHUTZ)
========================= */

.section h1 {
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
}

/* BOX */
.legal-box {
    max-width: 850px;
    margin: 10px auto 0;
    background: var(--card);
    padding: 30px;
    border-radius: 14px;
    line-height: 1.7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* HEADINGS */
.legal-box h3 {
    margin-top: 25px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* TEXT */
.legal-box p {
    margin-top: 10px;
    color: #ddd;
}

/* MOBILE */
@media (max-width: 768px) {

    .legal-box {
        padding: 20px;
    }

}