/* --- Core Resets & Brand Palette --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --bg-light-grey: #e3e6e3;
    --bg-white: #ffffff;
    --bg-dark-green: #0f2119;
    --bg-sage-green: #9fb0a4;
    --text-dark: #111111;
    --text-light: #f5f5f5;
    --text-muted-dark: #555555;
    --text-muted-light: #9bb0a3;
}

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background-color: #111;
    color: var(--text-dark);
    line-height: 1.5;
}

/* --- Solid Sticky Nav Bar matching reference specifications --- */
.sticky-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--bg-light-grey);
    color: var(--text-dark);
    padding: 24px;
    transition: background-color 0.4s ease, color 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Updated Brand Logo Styling from Reference File */
.brand-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    letter-spacing: 1px;
    text-align: center;
}
.brand-logo .logo-main {
    font-size: 1.3rem;
    font-weight: 400;
}
.brand-logo .logo-sub {
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lang-label {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.lang-label a {
text-decoration: none;
color: black;
}

.burger-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: inherit;
    line-height: 1;
}

/* --- Full Screen Overlay Navigation --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark-green);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
    font-weight: 400;
}
.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    padding: 24px;
}
.overlay-links a {
    font-family: 'Lora', serif;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}
.overlay-links a span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    opacity: 0.5;
}
.overlay-links a:hover {
    transform: translateX(8px);
    opacity: 0.8;
}

/* --- Layout Frame System --- */
.viewport-panel {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 60px 24px;
}

.panel-container {
    width: 100%;
    max-width: 480px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.flex-between {
    justify-content: space-between;
}

.bg-light-grey { background-color: var(--bg-light-grey); color: var(--text-dark); }
.bg-white { background-color: var(--bg-white); color: var(--text-dark); }
.bg-dark-green { background-color: var(--bg-dark-green); color: var(--text-light); }
.bg-sage-green { background-color: var(--bg-sage-green); color: var(--text-dark); }

/* --- Typography Formatting --- */
.step-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.body-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.muted {
    font-size: 1.02rem;
    opacity: 0.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.material-symbols-outlined{
    font-size: 3rem !important;
    font-family: 'Material Symbols Outlined';
}


  
.icon-list {
    margin: 32px 0;
}
.icon-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 1.05rem;
    font-weight: 300;
}

.programmatic .icon-item {
    align-items: center;
}
.programmatic .fa-icon-wrapper {
    font-size: 1.25rem;
}

.bullet-list {
    list-style: none;
    margin-bottom: 24px;
}
.bullet-list li {
    font-size: 1.05rem;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    font-weight: 300;
}
.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.efficiency-box {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    font-size: 1.05rem;
}

/* --- Graphics Layout Modules --- */
.panel-hero-image {
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: -60px;
    overflow: hidden;
}
.panel-hero-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.mid-banner {
    margin: 24px 0;
}
.mid-banner img {
    width: 100%;
    display: block;
    border-radius: 6px;
    transition-duration: 0.2s;

}

.mid-banner img:hover {
            filter: drop-shadow(0px 7px 6px #585858);
            transform: scale(1.02);
            transform-origin: center;
                transition-duration: 0.2s;
}

.image-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}
.image-mosaic img {
    width: 100%;
    display: block;
    border-radius: 12px;
    
}

.flow-chart {
    margin: 32px 0;
    font-size: 1.1rem;
    font-weight: 400;
}
.flow-arrow {
    margin: 6px 0 6px 14px;
    opacity: 0.5;
}

.highlight-text-footer {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 1.2rem;
}
.highlight-text-footer-bold {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    font-weight: 400;
    font-size: 1.1rem;
}

.arrow-cta {
    color: currentColor;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    width: max-content;
    margin-top: 16px;
        margin-bottom: 16px;
    font-size: 1.1rem;
}

.panel-footer-arrow {
    text-align: center;
    font-size: 1.8rem;
    opacity: 0.5;
    padding-top: 16px;
    color: black;
}

/* --- Multi-Column Footer System Styling --- */
.main-footer {
    min-height: auto;
    padding: 100px 24px;
}
.footer-brand-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
    margin-bottom: 40px;
    align-items: flex-start !important;
    display: flex;
}
.footer-brand-wrap .brand-logo .logo-main {
    font-size: 1.3rem;
}
.footer-brand-wrap .brand-logo .logo-sub {
    font-size: 0.6rem;
}
.footer-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.footer-block h3 {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 300;
}
.footer-block p {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    line-height: 1.6;
    font-weight: 300;
}
.footer-block .sub-label {
    font-size: 0.75rem;
    margin-bottom: 8px;
    opacity: 0.8;
}
.footer-block .vat {
    margin-top: 20px;
}
.footer-block .spacing-top {
    margin-top: 32px;
}
.footer-block .disclaimer-text {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
}


/* --- Adaptive Desktop Layout Mode Optimization --- */
@media (min-width: 900px) {
    /* Full navbar-width content scaling alignment */
    .panel-container {
        max-width: 1200px; 
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    /* Section 1 Hero 2-column layout split alignment */
    .hero-layout {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
        align-items: center;
    }
    .panel-hero-image {
        margin: 0;
        border-radius: 12px;
        filter: drop-shadow(0px 7px 6px #878787);
    }
    .panel-hero-image img {
        border-radius: 12px;
    }
    
    /* Standardizes wide section data presentation limits */
    .panel-body {
        max-width: 850px;
    }
    
    .overlay-links {
        max-width: 600px;
    }
    .overlay-links a {
        font-size: 2rem;
    }

    .footer-layout-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .brand-logo .logo-main{
font-size : 2rem;
    }
    .brand-logo .logo-sub {
font-size: 1rem;
    }
    .lang-label {
font-size: 1.1rem;
    }
    .burger-btn{
font-size: 2rem;
    }

    .image-mosaic{
        gap: 20px;
    }
}



/* --- Timeline Diagram Base Style (Mobile Default: Vertical Stack) --- */
.timeline-diagram {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 48px 0;
    padding-left: 32px; /* Leaves space for vertical line track on phone */
}

/* Thicker, prominent vertical track line on mobile */
.timeline-line {
    position: absolute;
    left: 11px; /* Calibrated to center exactly behind Google Icons */
    top: 20px;
    bottom: 20px;
    width: 2px;
    background-color: currentColor;
    opacity: 0.8;
}
.timeline-line::after {
    content: "";
    position: absolute;
    bottom: 0px; /* Pushes it just past the end of the line */
    left: 50%;
    transform: translateX(-50%) rotate(135deg); /* Rotates to face down */
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 1;
}

.timeline-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Styled specifically for Google Material Symbols typography adjustments */
.timeline-icon {
    font-size: 3rem !important; /* Forces sizing rules override */
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    margin-bottom: 12px;
    font-weight: 100 !important; /* Inherits the custom 100-weight parameter from library string */
    user-select: none;
}

/* Thicker, high-contrast timeline dots */
.timeline-dot {
    position: absolute;
    left: -25px; /* Aligns horizontally directly under the icon center line */
    top: 12px;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: 50%;
    z-index: 2;
    opacity: 1;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.4;
}

/* --- Responsive Desktop Style (PC Layout matching Wirkung.jpg) --- */
@media (min-width: 900px) {
    .timeline-diagram {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding-left: 0;
        padding-right: 25px; /* Creates explicit buffer space so the arrow doesn't clip */
        margin: 80px 0;
        gap: 20px;
    }

    /* Horizontal Axis track line setup */
    .timeline-line {
        left: 55px;
        right: 0;
        top: 79px; /* Slices exactly through the vertical center point of the layout grid dots */
        width: calc(100% - 75px);
        height: 2px;
        background: currentColor;
        opacity: 0.8;
    }

    /* Arrow tip anchored perfectly to the end of the line track */
    .timeline-line::after {
        content: "";
        position: absolute;
        right: 0px;
        left:auto;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        opacity: 1;
    }

    .timeline-node {
        flex: 1;
        align-items: center; 
        text-align: center;
    }

    .timeline-icon {
        margin-bottom: 30px; /* Perfectly equalized push spacing above axis track line */
    }

    /* Drops out of absolute mobile placement smoothly back onto the horizontal baseline flow */
    .timeline-dot {
        position: relative; 
        left: auto;
        top: auto;
        margin-bottom: 30px; /* Perfectly equalized push spacing below axis track line */
    }

    .timeline-content {
        width: 100%;
        padding: 0 10px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }
}