/* ==========================================================================
   Nordisk Minimalistisk Mørkt Premium Setup – EcoReCoN I/S Identitet
   ========================================================================== */

:root {
    --nordic-dark: #0f0f0f;   
    --text-main: #e5e5e5;     
    --text-muted: #999999;    
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --card-border: rgba(255, 255, 255, 0.08);
    --gold-dimmed: #c7ac8c;   
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--nordic-dark);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* ==========================================================================
   Hjælpe-klasser (Utility classes) til MØRKT TEMA
   ========================================================================== */
.bg-dark-1 { background-color: #0f0f0f; } 
.bg-dark-2 { background-color: #161616; } 
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-light { color: var(--white) !important; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-40 { margin-top: 40px; }

.section-padding { padding: 90px 0; }

.nav-container, 
.hero-container, 
.section-container, 
.proof-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Globale Premium Knapper
   ========================================================================== */
.btn-main, 
.btn-sub, 
.btn-submit {
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-main, 
.btn-submit {
    padding: 14px 32px;
    background-color: var(--gold-dimmed);
    color: var(--nordic-dark);
}

.btn-main:hover, 
.btn-submit:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

.btn-sub {
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background-color: transparent;
}

.btn-sub:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation & Ny Intelligent Topbar Arkitektur
   ========================================================================= */
.site-header {
    background-color: var(--nordic-dark);
    padding: 25px 0;
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000; 
    transition: padding 0.3s ease; 
}

.site-header.scrolled {
    padding: 5px 0; 
    background-color: rgba(15, 15, 15, 0.98); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

.site-header .nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
}

.brand-logo-img { 
    height: 60px; 
    display: block; 
    width: auto; 
    transition: height 0.3s ease; 
}

.site-header.scrolled .brand-logo-img {
    height: 45px;
}

.brand-logo-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

/* Ny højre-gruppe, der holder styr på PC menu, flag og burger-ikon */
.nav-right-group {
    display: flex;
    align-items: center;
}

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 35px; 
}

.nav-link { 
    text-decoration: none; 
    color: #cccccc; 
    font-weight: 500; 
    font-size: 15px; 
    transition: color 0.2s ease; 
}

.nav-link:hover { 
    color: var(--white); 
}

/* Sprogvælger (Language Switcher) */
.lang-switcher { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-left: 35px; 
    padding-left: 20px; 
    border-left: 1px solid var(--card-border); 
}

.lang-link { 
    display: flex;
    align-items: center;
    text-decoration: none !important; 
    color: inherit !important; 
    filter: grayscale(100%);
    opacity: 0.5; 
    transition: all 0.3s ease; 
}

.lang-link img {
    width: 22px; 
    height: auto;
    border-radius: 2px;
    display: block;
}

.lang-link:hover, 
.lang-link.active { 
    filter: grayscale(0%);
    opacity: 1; 
    transform: scale(1.1); 
}

.lang-divider { 
    color: rgba(255, 255, 255, 0.2); 
    font-size: 14px; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; 
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Hero Sektion
   ========================================================================== */
.hero-section {
    position: relative;
    background-image: url('hero-desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 120px 0;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-container { 
    position: relative; 
    z-index: 2; 
}

.hero-text-container { 
    max-width: 650px; 
    text-align: left; 
    margin-left: 0; 
}

.hero-tag { 
    display: inline-block; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    color: #c5d4cc; 
}

.hero-title { 
    font-size: 54px; 
    line-height: 1.15; 
    font-weight: 700; 
    letter-spacing: -1px; 
    color: var(--white); 
}

.accent-text { 
    color: var(--gold-dimmed); 
}

.hero-lead { 
    font-size: 19px; 
    color: #cccccc; 
}

.hero-bullet-list { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.hero-bullet-list li.positive { 
    font-size: 17px; 
    font-weight: 500; 
    color: #e2ece7; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.hero-actions { 
    display: flex; 
    justify-content: flex-start; 
    gap: 16px; 
    margin-top: 30px; 
}

/* ==========================================================================
   Stemningsgalleri (Billeder) - Det fejlfrie, rene kortdesign
   ========================================================================== */
.mood-gallery-section { 
    padding: 60px 0 90px 0; 
    border-bottom: 1px solid var(--card-border); 
}

.mood-gallery-container { 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 0 40px; 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

.mood-card { 
    position: relative; 
    width: 100%; 
    display: flex;
    flex-direction: column;
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
    background-color: #1a1a1a; 
    height: 100%; 
}

.mood-card img { 
    width: 100%; 
    height: 240px; 
    object-fit: cover; 
}

.mood-label {
    padding: 20px 15px; 
    color: #fff; 
    font-size: 13px; 
    font-weight: 600; 
    text-align: left; 
    line-height: 1.5; 
    flex-grow: 1; 
    display: flex;
    align-items: center; 
}

/* ==========================================================================
   Testet i Praksis (Proof)
   ========================================================================== */
.proof-banner { 
    padding: 60px 0; 
    border-bottom: 1px solid var(--card-border); 
}

.proof-title { 
    font-size: 28px; 
    font-weight: 700; 
    color: var(--white); 
    letter-spacing: -0.5px; 
}

.proof-text { 
    font-size: 16px; 
    line-height: 1.6; 
    color: #cccccc; 
    font-weight: 400; 
    margin: 0 auto; 
    padding: 0 20px;
}

/* ==========================================================================
   Specifikationstabel (Premium Look fra din originale kilde)
   ========================================================================== */
.specs-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px;
}

.specs-table th { 
    color: var(--white); 
    text-align: left; 
    padding: 12px 20px 12px 0; 
    font-weight: 700; 
    font-size: 16px; 
}

.specs-table td { 
    padding: 12px 20px 12px 0; 
    color: #cccccc; 
    font-size: 16px; 
    border-bottom: none; 
}

.specs-table td:first-child { 
    font-weight: 600; 
    color: var(--white); 
}

/* ==========================================================================
   Sammenligning / Udfordring
   ========================================================================== */
.comparison-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
}

.comparison-box { 
    padding: 45px; 
    border-radius: 8px; 
    border: 1px solid var(--card-border); 
}

.comparison-box.problems { 
    background-color: #1a1a1a; 
}

.comparison-box.solutions { 
    background-color: #151a17; 
    border-color: rgba(255,255,255,0.12); 
}

.comparison-box h3 { 
    font-size: 22px; 
    font-weight: 700; 
    letter-spacing: -0.3px; 
    margin-bottom: 30px; 
}

.comparison-box.problems h3 { color: #dcdcdc; }
.comparison-box.solutions h3 { color: var(--white); }

.comparison-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.comparison-list li { 
    font-size: 15px; 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 4px; 
}

.comparison-list li strong { 
    font-size: 16px; 
    display: block; 
    font-weight: 600; 
    color: var(--white); 
}

.comparison-list li span { 
    color: var(--text-muted); 
    font-size: 14.5px; 
}

/* ==========================================================================
   Compliance / Dokumentation
   ========================================================================== */
.doc-checklist { 
    list-style: none; 
    padding: 0; 
}

.doc-checklist li { 
    font-size: 15px; 
    font-weight: 600; 
    color: #e2ece7; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 12px;
}

/* ==========================================================================
   Nyt Premium FAQ Accordion Design
   ========================================================================== */
.faq-accordion { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.faq-item { 
    background: #161616; 
    border: 1px solid var(--card-border); 
    border-radius: 6px; 
    overflow: hidden; 
}

.faq-question { 
    width: 100%; 
    text-align: left; 
    padding: 22px 25px; 
    background: transparent; 
    border: none; 
    color: var(--white); 
    font-size: 16px; 
    font-weight: 600; 
    font-family: var(--font-stack); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: background-color 0.3s ease; 
}

.faq-question:hover { 
    background: rgba(255, 255, 255, 0.03); 
}

.faq-icon { 
    color: var(--gold-dimmed); 
    font-size: 24px; 
    font-weight: 300; 
    transition: transform 0.3s ease; 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-in-out; 
    background: #111111; 
}

.faq-answer p { 
    padding: 18px 25px 18px 25px; /* Symmetrisk afstand: 18px i toppen og 18px i bunden */
    color: #cccccc; 
    margin: 0; 
    font-size: 15px; 
    line-height: 1.6; 
}

.faq-item.active .faq-answer { 
    max-height: 500px; 
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
}

/* ==========================================================================
   CTA Kort Sektion (Fixet med ingen lilla links)
   ========================================================================== */
#cta-kort .comparison-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.cta-link { 
    text-decoration: none !important; 
    color: inherit !important; 
    display: flex; 
    flex-direction: column; 
    padding: 35px 30px; 
    background: #161616; 
    border: 1px solid var(--card-border); 
    border-radius: 8px; 
    transition: all 0.3s ease; 
    height: 100%; 
}

.cta-link h3 { 
    color: var(--white) !important; 
    margin-bottom: 12px; 
    transition: color 0.3s ease; 
    font-size: 20px; 
    font-weight: 700; 
}

.cta-link p { 
    color: #cccccc !important; 
    margin: 0; 
    font-size: 15px; 
    line-height: 1.5; 
}

.cta-link:hover { 
    border-color: var(--gold-dimmed) !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
}

.cta-link:hover h3 { 
    color: var(--gold-dimmed) !important; 
}

/* ==========================================================================
   B2B Kontakt & Formular Layout
   ========================================================================== */
#kontakt {
    padding-top: 40px; /* <-- Her er den nye kode, der fjerner luften i toppen */
}

.b2b-contact-layout { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 40px; 
}

.contact-card-inner { 
    background: #161616; 
    border: 1px solid var(--card-border); 
    border-radius: 8px; 
    padding: 45px; 
}

.b2b-form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.form-row { 
    display: flex; 
    gap: 20px; 
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.form-group label { 
    font-size: 14px; 
    font-weight: 600; 
    color: #cccccc; 
    text-align: left; 
}

.form-group input, 
.form-group textarea, 
.form-group select {
    font-family: var(--font-stack);
    font-size: 15px;
    padding: 14px 18px;
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--white);
    width: 100%;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--white);
    background-color: #2a2a2a;
}

/* Styling af de nye Select Dropdowns */
.form-group select {
    appearance: none; 
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    cursor: pointer;
}

.form-group select option { 
    background-color: #222222; 
    color: var(--white); 
}

.form-group select:invalid { 
    color: #999999; 
}

/* ==========================================================================
   Profil Kort
   ========================================================================== */
.profile-card { 
    background: #161616; 
    border: 1px solid var(--card-border); 
    border-radius: 8px; 
    padding: 45px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.profile-avatar { 
    width: 100px; 
    height: 100px; 
    background: var(--white); 
    color: var(--nordic-dark); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 36px; 
    font-weight: 700; 
    margin-bottom: 20px; 
}

.profile-name { 
    font-size: 22px; 
    font-weight: 700; 
    color: var(--white); 
    margin-bottom: 5px; 
}

.profile-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 25px; 
}

.profile-details { 
    width: 100%; 
    text-align: left; 
    border-top: 1px solid var(--card-border); 
    padding-top: 20px; 
}

.profile-link { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px; 
    color: #cccccc; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 15px; 
    transition: color 0.2s; 
}

.profile-link:hover { 
    color: var(--white); 
}

/* ==========================================================================
   Generelle Sektions Titler
   ========================================================================== */
.section-title { 
    font-size: 34px; 
    font-weight: 700; 
    color: var(--white); 
    letter-spacing: -0.5px; 
}

.section-lead { 
    font-size: 17px; 
    color: var(--text-muted); 
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { 
    background-color: var(--nordic-dark); 
    border-top: 1px solid var(--card-border); 
}

.footer-text { 
    color: #888888; 
    line-height: 1.6; 
    font-size: 12px; 
    text-align: center; 
}

.footer-bottom { 
    border-top: 1px solid var(--card-border); 
    padding-top: 20px; 
    color: #666666; 
    font-size: 12px; 
    text-align: center; 
}

/* ==========================================================================
   Responsive Optimering & Det Nye Mobile Header-Fix
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        background-image: url('hero-mobil.png');
        padding: 90px 0;
        text-align: center;
    }
    
    .hero-section::before {
        background: rgba(0, 0, 0, 0.7);
    }

    .hero-text-container { 
        max-width: 100%; 
        text-align: center; 
        margin: 0 auto; 
    }
    
    .hero-title { font-size: 38px; }
    .hero-bullet-list { align-items: center; }
    
    .hero-actions { 
        justify-content: center; 
        flex-direction: column; 
        gap: 12px; 
    }
    
    .mood-gallery-container { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; 
        padding: 0 24px; 
    }
    
    .comparison-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }
    
    .b2b-contact-layout { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    .profile-card { order: -1; }
}

@media (max-width: 768px) {
    .nav-container, 
    .hero-container, 
    .section-container { 
        padding: 0 24px; 
    }
    
    .hero-section, 
    .section-padding { 
        padding: 60px 0; 
    }
    
    .hero-title { font-size: 32px; }
    .section-title { font-size: 26px; }
    
    .form-row { 
        flex-direction: column; 
        gap: 20px; 
    }
    
    /* Aktiver Burger-menu ikonet */
    .menu-toggle { 
        display: flex; 
        margin-left: 20px; /* Skaber luft mellem flagene og burgeren */
    }
    
    /* Mobil-optimering af sprogvælger: trækkes helt ud og lægger sig fast i topbaren */
    .lang-switcher { 
        margin-left: 0; 
        padding-left: 0; 
        border-left: none; 
        justify-content: center; 
    }
    
    /* Tving PC links til at folde sig ud som en absolut dropdown under topbaren */
    .main-nav { 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nordic-dark);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        border-bottom: none;
    }
    
    .main-nav.active {
        max-height: 450px; 
        padding: 20px 0;
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .main-nav a {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .mood-gallery-container,
    #cta-kort .comparison-grid { 
        grid-template-columns: 1fr; 
    }
}