:root {
    /* Premium Color Palette (Deep Pine & Solar Amber) */
    --primary-1: #115E59; /* Deep Pine Green */
    --primary-2: #F59E0B; /* Solar Amber */
    --primary-2-hover: #D97706; /* Darker amber */
    --accent-1: #e2e8f0; /* Light Slate Border for subtle dividers */
    --accent-2: #475569; /* Slate Text Secondary */
    
    /* Functional Colors */
    --bg-light: #ffffff;
    --bg-offwhite: #F8F9FA; /* Warm gray/sand for section separation */
    --text-main: #334155;
    --text-heading: var(--primary-1);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --section-pad: 80px 0;
    --container-width: 1200px;
    --radius: 6px;
    --transition: 0.3s ease;
    --box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --box-shadow-hover: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 17px;
    font-weight: 300;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--primary-2);
}

h2, .section-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--primary-1);
    margin-bottom: 2rem;
}

h3 {
    font-size: 22px;
    color: var(--primary-1);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-1);
}

strong, b {
    font-weight: 600;
    color: var(--primary-1);
}

/* Layout Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-offwhite);
}

.section-dark {
    background-color: var(--primary-1);
    color: var(--accent-1);
}

.section-dark h2.text-light {
    color: var(--primary-2);
}

.section-dark p {
    color: #e2e8f0;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-2);
    color: #ffffff;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-2-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-1);
    border: 2px solid var(--primary-1);
    box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-1);
    color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-pine {
    background-color: var(--primary-1);
    color: #ffffff;
    box-shadow: var(--box-shadow);
}

.btn-pine:hover {
    background-color: #0d4f4b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-block {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* Leicht vergrößert, damit das große Logo besser wirkt */
}

.logo {
    height: 80px;
    width: auto;
    display: block;
    color: var(--primary-1); /* Styles the currentColor SVG fill */
    transition: color 0.4s ease, height 0.4s ease;
}

/* Header gescrollt -> Gesamter Header wird Dunkelblau #1e2840 */
.header.scrolled {
    background-color: var(--primary-1);
    box-shadow: var(--box-shadow-hover);
    border-bottom: none;
}

/* Header gescrollt -> Logo wird hell (weiß) */
.header.scrolled .logo {
    color: var(--primary-2);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-1);
    transition: color 0.3s ease;
}

.header.scrolled .nav-link {
    color: var(--bg-light);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-2);
}

.btn-nav {
    background-color: var(--primary-2);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.header.scrolled .btn-nav {
    background-color: var(--primary-2);
    color: #ffffff !important;
}

.btn-nav:hover {
    background-color: var(--primary-2-hover);
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.header.scrolled .btn-nav:hover {
    background-color: var(--primary-2-hover);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-1);
    transition: var(--transition);
    transform-origin: 1px;
}

.header.scrolled .menu-toggle span {
    background-color: var(--primary-2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep Pine Green Gradient (Lightened) */
    background: linear-gradient(135deg, rgba(17, 94, 89, 0.75) 0%, rgba(17, 94, 89, 0.4) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--accent-1);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Leistungen Ticker (Koeffizient-Style) */
.services-ticker-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.services-intro {
    max-width: 400px;
}

.ticker-wrap {
    width: 100%;
    overflow-x: auto;
    position: relative;
    padding: 1rem 0;
    /* optional fade masks at edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.ticker-wrap::-webkit-scrollbar {
    display: none;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* transition for JS manual drag if needed, else handled by native scroll */
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-1);
    color: var(--bg-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.slider-btn:hover {
    background-color: var(--primary-2);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.slider-btn:active {
    transform: translateY(0);
}

/* Grab-to-scroll cursor for ticker */
.ticker-wrap {
    cursor: grab;
}

.ticker-wrap.grabbing {
    cursor: grabbing;
}

/* Clickable ticker cards */
.ticker-link {
    cursor: pointer;
}

.ticker-link:hover {
    border-color: var(--primary-2);
}

.ticker-item {
    width: 280px;
    flex-shrink: 0;
}

.cards-grid {
    gap: 2rem;
}

.card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--accent-1);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-2);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-2);
    margin-bottom: 1.5rem;
}

.card-desc {
    font-size: 15px;
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-1);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--accent-2);
}

/* Timeline */
.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255,255,255,0.1);
    z-index: 1;
}

.timeline-step {
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 2;
    padding-top: 60px;
    background: transparent;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary-2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--box-shadow);
}

.step-title {
    color: var(--primary-2);
    font-size: 20px;
    min-height: 3em; /* Ensure descriptions align even with multi-line titles */
}

.step-desc {
    font-size: 15px;
}

/* Split Layouts (Fördermittel & Über uns) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portrait-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portrait-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background-color: var(--primary-1);
    border-radius: var(--radius);
    z-index: 0;
    transform: translate(15px, 15px);
    transition: var(--transition);
}

.portrait-wrapper:hover::before {
    transform: translate(20px, 20px);
}

.portrait-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    z-index: 1;
    /* Professional modern filter: slight desaturation, increased contrast for a premium look */
    filter: grayscale(80%) contrast(1.1) brightness(0.95);
    transition: var(--transition);
}

.portrait-img:hover {
    filter: grayscale(30%) contrast(1.05) brightness(1);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    color: var(--primary-1);
    font-weight: 400;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
    font-weight: bold;
}

.highlight-box {
    background-color: var(--primary-1);
    padding: 5rem 3rem; /* Enahced vertical whitespace */
    border-radius: var(--radius);
    text-align: center;
    color: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px; /* Better presence than strict aspect-ratio */
}

.highlight-title {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--primary-2);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.highlight-text {
    font-size: 18px;
    color: var(--accent-1);
    margin-bottom: 2.5rem;
    max-width: 80%;
}

/* Referenzen */
.refs-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.ref-card {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.ref-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.ref-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.ref-content {
    padding: 2rem;
}

.ref-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ref-desc {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--accent-1);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: #ffffff;
    color: var(--text-main);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(10, 114, 109, 0.1), inset 0 1px 2px rgba(0,0,0,0.02);
    background-color: #fff;
}

/* Kontakt */
#kontakt {
    background-color: #fcfdfd;
}

.contact-grid {
    grid-template-columns: 1fr 1.62fr;
    gap: 7rem;
    align-items: start;
}

.contact-intro {
    font-size: 19px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--text-main);
}

/* Hints in left column */
.contact-hints {
    background-color: #f8faf9;
    border: 1px solid rgba(17, 94, 89, 0.15);
    border-left: 4px solid var(--primary-2);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.contact-hints .hints-title {
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 1rem;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.contact-hints ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.contact-hints ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6rem;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
}

.contact-hints ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-2);
    font-weight: 700;
}

.contact-hints .hints-note {
    font-style: italic;
    color: var(--primary-1);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 14px;
}

/* Compact contact details */
.contact-details-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 16px;
    color: var(--text-main);
}

.contact-detail-item svg {
    color: var(--primary-1);
    background-color: rgba(17, 94, 89, 0.08);
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-item:hover svg {
    background-color: var(--primary-2);
    color: white;
}

.contact-detail-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-detail-item a:hover {
    color: var(--primary-2);
}

/* Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background-color: #ffffff;
    padding: 3.5rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-response-hint {
    font-size: 14px;
    color: var(--accent-2);
    margin: 0.5rem 0 2rem;
    font-style: italic;
    text-align: center;
}

.form-submit-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-submit-wrap .btn {
    min-width: 280px;
    padding: 16px 32px;
    font-size: 17px;
}

.form-privacy-hint {
    font-size: 13px;
    color: var(--accent-2);
    text-align: center;
    margin-bottom: 0;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--primary-1);
    color: var(--accent-1);
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    color: var(--accent-1); /* Solar Amber for the inline SVG on dark background */
    opacity: 0.9;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--accent-1);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-2);
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--accent-1);
    border-radius: var(--radius);
    background-color: var(--bg-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-offwhite);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-2);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 500px;
}

/* Responsive */
@media (max-width: 991px) {
    .split-layout, .contact-grid, .services-ticker-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-intro {
        max-width: 100%;
        text-align: center;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline {
        flex-direction: column;
    }
    
    .timeline-step {
        padding-top: 0;
        padding-left: 70px;
    }
    
    .step-number {
        top: 0;
        left: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .header.scrolled .nav-link {
        color: var(--primary-1);
    }
    
    .header.scrolled .nav-link:hover {
        color: var(--primary-2);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-nav {
        display: inline-block;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .form-row, .message-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hints {
        display: none;
    }
    
    .contact-form {
        padding: 2.5rem 1.5rem;
    }
    
    .service-item-header {
        align-items: flex-start;
    }
    
    .service-item-header h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .brand-equation-box {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
/* Success Page Specialized Styles */
.success-header {
    position: relative;
    background-color: var(--primary-1) !important;
}

.success-main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.success-card {
    background-color: #ffffff;
    padding: 4rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon-wrap {
    width: 100px;
    height: 100px;
    background-color: rgba(17, 94, 89, 0.08);
    color: var(--primary-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
}

.success-icon-wrap svg {
    stroke: var(--primary-2);
}

.success-title {
    color: var(--primary-1);
    margin-bottom: 1.5rem;
    font-size: clamp(28px, 4vw, 40px);
}

.success-text {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.success-footer {
    padding: 40px 0;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .success-card {
        padding: 2.5rem 1.5rem;
    }
    
    .success-main {
        padding: 60px 0;
    }
}

/* Über igluu Brand Story & Equation */
.brand-story {
    background-color: var(--bg-main);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.brand-story-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--primary-1);
    margin: 0 auto 4rem auto;
    text-align: center;
}

.brand-story-text p {
    margin-bottom: 1.5rem;
}

.brand-equation-box {
    background-color: var(--bg-light);
    border: 1px solid var(--accent-1);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 3rem auto;
    max-width: 900px;
}

.equation-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    font-family: inherit;
    color: var(--primary-1);
}

.equation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 100px; /* Force same height as formula */
}

.equation-symbol {
    font-size: 48px;
    color: var(--primary-2);
    font-weight: 300;
    padding-top: 20px;
}

.equation-result {
    font-weight: 700;
    color: var(--primary-1);
    border-bottom: 2px solid var(--primary-2);
    padding-bottom: 2px;
}

.iglu-icon-equation {
    height: 100px;
    width: auto;
    color: var(--primary-1);
    display: block;
}

.equation-result-logo {
    padding-top: 10px;
}

.u-value-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-1);
    height: 100px;
    line-height: 1.2;
}

.u-value-label {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 4px;
}

.u-value-unit {
    font-size: 34px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.brand-quote {
    font-size: 20px;
    color: var(--primary-1);
    font-weight: 300;
    font-style: italic;
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 2rem;
}

.story-cta-wrap {
    text-align: center;
    margin-top: 5rem;
    padding-bottom: 4rem;
}

.story-cta-wrap .btn {
    font-size: 20px;
    padding: 18px 40px;
}

/* Global Footer Styles */
.footer {
    background-color: var(--primary-1);
    color: #ffffff;
    padding: 1.5rem 0 1.5rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    color: #ffffff !important;
    fill: #ffffff !important;
}

.footer-logo path {
    fill: #ffffff !important;
}

.footer-text {
    margin-top: 1rem;
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-2);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-equation-box {
        display: none !important;
    }
    
    .nav-item-home {
        display: block !important;
    }
}

.nav-item-home {
    display: none;
}
