/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --green:      #6DC82A;
    --green-dark: #4E9A1A;
    --black:      #111111;
    --dark:       #1A1A1A;
    --white:      #FFFFFF;
    --off-white:  #F7F7F5;
    --grey:       #888888;
    --grey-light: #E8E8E8;
    --font-head:  'Montserrat', sans-serif;
    --font-body:  'Open Sans', sans-serif;
    --max-w:      1200px;
    --section-pad: 6rem 1.5rem;
    --radius:     4px;
    --transition: 0.3s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin-top: 0 !important;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* WP admin bar offset when logged in */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

.section-label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}
.section-label--light { color: var(--green); }

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--black);
    margin-bottom: 1.5rem;
}
.section-title--light { color: var(--white); }

.section-subtitle {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: var(--black);
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
}

.section-intro {
    max-width: 100%;
    color: var(--grey);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: 800px; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    background: rgba(255,255,255,0.92);
    border-radius: 6px;
    padding: 4px 10px;
    transition: background var(--transition);
}
.site-header.scrolled .header-logo { background: transparent; }

.header-logo img {
    height: 100px;
    width: auto;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    transition: color var(--transition);
}
.site-header.scrolled .header-nav a { color: var(--dark); }

.header-nav a:hover { color: var(--green); }
.site-header.scrolled .header-nav a:hover { color: var(--green); }

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: background var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--dark); }

/* =============================================
   HERO
   ============================================= */
.section-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.section-hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    max-width: 800px;
}

.hero-logo {
    height: 56px;
    width: auto;
    margin: 0 auto 2rem;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.9rem 2.25rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}
.btn-primary {
    background: var(--green);
    color: var(--white);
    border: 2px solid var(--green);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109,200,42,0.35);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.7);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ÜBER UNS
   ============================================= */
.section-about {
    padding: var(--section-pad);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-body {
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-body p + p { margin-top: 1rem; }

.about-quote {
    border-left: 3px solid var(--green);
    padding-left: 1.25rem;
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--grey-light);
}
.about-img-wrap:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-placeholder { background: var(--grey-light); }

/* =============================================
   VORGEHENSWEISE
   ============================================= */
.section-process {
    padding: var(--section-pad);
    background: var(--dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.process-step {
    position: relative;
    padding-top: 1.5rem;
}
.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px;
    height: 2px;
    background: var(--green);
}

.process-step-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(109,200,42,0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-step-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.process-step-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.75;
}

.process-cycle-wrap {
    display: flex;
    justify-content: center;
    margin: 3rem 0 2rem;
}

.process-cycle-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 1rem;
}

.process-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* =============================================
   LEISTUNGEN
   ============================================= */
.section-services {
    padding: var(--section-pad);
    background: var(--off-white);
}
.services-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 2.5rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.services-col {
    background: var(--dark);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.services-col-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.services-col-title svg { color: var(--green); flex-shrink: 0; }

.services-list li {
    position: relative;
    padding-left: 1.75rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}
.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6;
}

/* =============================================
   STATS
   ============================================= */
.section-stats {
    padding: 5rem 1.5rem;
    background: var(--green);
}

.stats-grid {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--font-head);
}

/* =============================================
   PARTNER MARQUEE
   ============================================= */
.section-partners {
    padding: var(--section-pad);
    background: var(--white);
    overflow: hidden;
}

.section-partners .container { margin-bottom: 3rem; }

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    margin: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item img {
    max-height: 60px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--transition), opacity var(--transition);
}
.marquee-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.marquee-item--text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--grey);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* =============================================
   VIDEO
   ============================================= */
.section-video {
    padding: var(--section-pad);
    background: var(--black);
}

.section-video__player {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

/* =============================================
   KONTAKT
   ============================================= */
.section-contact {
    padding: var(--section-pad);
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-sub {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}
.contact-details svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.contact-details a:hover { color: var(--green); }
.contact-details address { white-space: pre-line; }

.contact-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    max-height: 500px;
}
.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   IMPRESSUM / LEGAL
   ============================================= */
.section-legal {
    padding: 5rem 1.5rem;
    background: var(--off-white);
    border-top: 1px solid var(--grey-light);
}

.section-legal h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
}
.section-legal h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}
.section-legal h4 {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}
.section-legal p {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.section-legal a { color: var(--green); }
.section-legal a:hover { text-decoration: underline; }
.section-legal hr {
    border: none;
    border-top: 1px solid var(--grey-light);
    margin: 2.5rem 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--black);
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    background: rgba(255,255,255,0.95);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
}
.footer-logo img { height: 44px; width: auto; }

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: var(--green); }
.footer-legal span { color: rgba(255,255,255,0.2); }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    :root { --section-pad: 4rem 1.25rem; }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

    .about-images { order: -1; }

    .process-steps { grid-template-columns: 1fr; gap: 2rem; }

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



    .contact-image { max-height: 300px; aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
    .hamburger { display: flex; }

    .header-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 99;
    }
    .header-nav.open { display: flex; }
    .header-nav ul { flex-direction: column; align-items: center; gap: 1.5rem; }
    .header-nav a { font-size: 1.2rem; color: var(--dark) !important; }

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

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
}
