body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family:
        Inter,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.6;
}

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    padding-block: var(--space-xxl);
}

.section-small {
    padding-block: var(--space-xl);
}


/* --------------------------------
   Header
-------------------------------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 20;

    color: #2A5626;
}

.header-inner {
    height: 110px;

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

    gap: 50px;
}

.main-nav {
    display: flex;
    gap: 36px;

    margin-left: auto;
}

.main-nav a {
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    opacity: .9;

    transition:
        opacity .3s ease,
        transform .3s var(--ease);
}

.main-nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}


.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 180px;
    padding: 10px;
    background: white;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .3s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 18px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
    transform: translateY(1px) rotate(225deg);
}

/* --------------------------------
   Hero
-------------------------------- */

.hero {
    min-height: 850px;

    position: relative;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;

    background-color: var(--color-dark);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-image {
    position: absolute;
    inset: 0;

    opacity: .55;

}

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 19, 17, .95),
            rgba(15, 19, 17, .5),
            rgba(15, 19, 17, .25)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 760px;
}

.hero-text {
    max-width: 560px;
}


/* --------------------------------
   Sections
-------------------------------- */

.section-intro {
    display: grid;
    grid-template-columns: 120px 1fr;

    gap: 60px;

    max-width: 950px;

    margin-bottom: 110px;
}

.section-intro > div {
    max-width: 720px;
}


.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.feature-card-offset {
    margin-top: 140px;
}


.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;
}


.service-header,
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    margin-bottom: 70px;
}

.service-header > div,
.news-header > div {
    max-width: 700px;
}

.service-header > p {
    max-width: 400px;
}


.service-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--color-border);
}


.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


/* --------------------------------
   Footer
-------------------------------- */

.site-footer {
    background: var(--color-dark);
    color: white;

    padding-top: 100px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 70px;

    padding-bottom: 100px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);

    padding-block: 28px;

    display: flex;
    justify-content: space-between;

    color: #8d938f;

    font-size: 13px;
}

.footer-bottom div {
    display: flex;
    gap: 30px;
}

.footer-bottom a {
    text-decoration: none;
}


/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {

    .container {
        width: min(
            calc(100% - 40px),
            var(--container)
        );
    }

    .main-nav,
    .header-phone {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .section {
        padding-block: 100px;
    }

    .section-intro {
        grid-template-columns: 1fr;
        gap: 20px;

        margin-bottom: 60px;
    }

    .feature-grid,
    .split-section,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-offset {
        margin-top: 0;
    }

    .split-section {
        gap: 50px;
    }

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

    .service-header,
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding-block: 80px;
    }

    .hero {
        min-height: 650px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }
}
/* Erweiterte Hauptnavigation */
@media (min-width:901px){.header-inner{gap:24px}.main-nav{gap:20px}.main-nav a{font-size:13px}.header-phone{margin-left:4px}}
.alternate-split{background:var(--color-bg-light);}

/* Header dauerhaft sichtbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header-Hintergrund beim Scrollen */
.site-header {
    transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.site-header.is-scrolled {
    background-color: #08130e;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
    color: white;
}

.site-header.is-scrolled .nav-dropdown-menu {
    background-color: #08130e;
}
