/* ==========================================================================
   1. BRAND VARIABLES & LUXURY STYLING
   ========================================================================== */
:root {
    --primary-pink: #db2777;        /* Elegant, livlig pink til detaljer og links */
    --secondary-purple: #9d174d;    /* Dyb luksuriøs vinrød til overskrifter og logo */
    --dark-bg: #fff5f7;             /* Den lyse, luksuriøse signaturbaggrund til footeren */
    --light-gray: #fff5f7;          /* Lys, blød rosa-hvid til sektionsbaggrunde */
    --dark-text: #4a3338;           /* Dæmpet mørkebrun til høj læsbarhed i tekster */
    --gold-border: #f4d6e5;         /* Tynd rosaguld nuance til elegante skillelinjer */
    --cta-color: linear-gradient(135deg, #db2777 0%, #9d174d 100%);
}

/* --- GENERAL STYLING --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. LUXURY MINIMALIST HEADER & NAVBAR
   ========================================================================== */
.luxury-header {
    background-color: #ffffff;
    padding: 15px 5%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid var(--gold-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 80px;
    box-sizing: border-box;
}

.luxury-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.luxury-logo-link:hover { 
    opacity: 0.8; 
}

.luxury-logo { 
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--secondary-purple, #9d174d);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.luxury-logo img {
    height: clamp(45px, 6vw, 60px);
    width: auto;
}

.luxury-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

.luxury-nav a {
    color: var(--dark-text, #4a3338);
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
}

.luxury-nav a:hover {
    color: var(--primary-pink, #db2777);
}

.luxury-nav-phone {
    background: var(--cta-color, linear-gradient(135deg, #db2777 0%, #9d174d 100%));
    color: white !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(219,39,119,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    display: inline-block;
}

.luxury-nav-phone:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #fff5f7 0%, #fce7f3 100%);
    text-align: center;
    padding: 80px 5%;
    border-bottom: 1px solid var(--gold-border);
}

.hero h1 {
    color: var(--secondary-purple);
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.hero p {
    color: #6b4e54;
    font-size: clamp(1rem, 3vw, 1.15rem);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   4. CONTAINERS & GRIDS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

/* ==========================================================================
   5. SKANDINAVISKE SERVICE CARDS
   ========================================================================== */
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 0px; /* Stilrent, skarpt og luksuriøst design uden afrundinger */
    border-top: 3px solid var(--gold-border);
    box-shadow: 0 4px 20px rgba(74, 51, 56, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--primary-pink);
    box-shadow: 0 12px 30px rgba(219, 39, 119, 0.06);
}

.service-card h3 {
    color: var(--secondary-purple);
    margin-top: 0;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 0.92rem;
    color: #6b4e54;
    line-height: 1.6;
}

/* --- LISTS, TEXT & HIGHLIGHTS INSIDE CARDS --- */
.task-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.task-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #5c4449;
    border-bottom: 1px dashed var(--gold-border);
    line-height: 1.5;
}

.task-list li:last-child {
    border-bottom: none;
}

.task-list li strong {
    color: var(--secondary-purple);
}

.price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #15803d; /* Luksuriøs dybgrøn nuance til prissætninger */
    margin-top: auto;
    padding-top: 25px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ==========================================================================
   6. HIGHLIGHT CARDS & INFOBOKSE (F.EKS. PENSIONISTBEREGNER & PRISKORT)
   ========================================================================== */
.price-highlight {
    background: #ffffff;
    border-top: 3px solid var(--primary-pink);
    box-shadow: 0 4px 20px rgba(219, 39, 119, 0.04);
}

/* Særlige klasser til din pensionistside */
.container-calc {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;
}

.header-calc {
    text-align: center;
    margin-bottom: 50px;
}

.header-calc h1 {
    color: var(--secondary-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.calc-box {
    flex: 1 1 340px;
    background-color: #ffffff;
    border-top: 1px solid var(--gold-border);
    padding: 40px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(74,51,56,0.02);
}

.calc-box:hover {
    border-top-color: var(--primary-pink);
    box-shadow: 0 10px 30px rgba(219,39,119,0.05);
}

.calc-box.highlight {
    border-top: 2px solid var(--primary-pink);
}

.calc-box h3 {
    color: var(--secondary-purple);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.line-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gold-border);
    color: var(--dark-text);
}

.fradrag-label {
    color: #166534;
    background-color: #f0fdf4;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    border: 1px solid #bbf7d0;
}

.total-line {
    border-bottom: none;
    font-weight: 700;
    color: var(--secondary-purple);
    font-size: 1.05rem;
    padding-top: 15px;
}

.price-badge {
    background-color: var(--light-gray);
    border: 1px solid var(--gold-border);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 25px 0;
}

.price-badge small {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b4e54;
    display: block;
    margin-bottom: 5px;
}

.price-badge h2 {
    margin: 0;
    color: #15803d !important;
    font-size: 1.6rem;
    font-weight: 700;
}

.step-guide {
    background-color: var(--light-gray);
    border: 1px solid var(--gold-border);
    padding: 40px;
    border-radius: 12px;
    margin-top: 20px;
}

.step-guide h3 {
    color: var(--secondary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.step-guide ol {
    margin: 0;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--dark-text);
}

/* ==========================================================================
   7. BUTTONS, LINKS & FOOTER CTA
   ========================================================================== */
.cta-button, .cta-btn {
    background: var(--cta-color);
    color: #ffffff !important;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px; 
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(219,39,119,0.1);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.cta-button:hover, .cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.back-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--secondary-purple);
}

/* Den elegante runde ring-op knap i bunden af footeren */
.phone-btn {
    background: var(--cta-color, linear-gradient(135deg, #db2777 0%, #9d174d 100%));
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(219,39,119,0.1);
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.phone-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ==========================================================================
   8. GLOBAL SITE FOOTER (PERFEKT TILPASSET DEN LYSE STIL)
   ========================================================================== */
.site-footer {
    background-color: #fff5f7 !important; /* Fastlåser den lyse, varme rosahvide luksusfarve */
    color: #4a3338 !important;
    padding: 80px 5% 45px;
    border-top: 1px solid var(--gold-border);
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 40px;
    box-sizing: border-box;
}

.footer-section {
    box-sizing: border-box;
}

.footer-section h4 {
    color: var(--secondary-purple);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-section p, .footer-section li {
    font-size: 0.92rem;
    color: #6b4e54 !important;
    line-height: 1.7;
}

.footer-section a {
    color: #6b4e54;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary-pink) !important;
}

.footer-section a img:hover {
    opacity: 0.8;
}

/* --- SOCIAL LINKS & TEXT LINKS --- */
.social-links {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #8a686e !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ==========================================================================
   9. RESPONSIVENESS (MOBILE OPTIMIZATION)
   ========================================================================== */
@media (max-width: 768px) {
    .luxury-header {
        flex-direction: column !important;
        gap: 15px !important;
        height: auto;
        padding: 20px 5%;
    }
    
    .luxury-nav {
        margin-top: 5px;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }
    
    .luxury-nav a {
        margin: 0;
        font-size: 0.95rem;
    }

    .luxury-nav-phone {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin-top: 5px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-container {
        grid-template-columns: 1fr !important; /* Stabler kolonner lodret på mobil, så alt indhold er synligt */
        gap: 35px;
    }
    
    .hero {
        padding: 60px 5%;
    }
}
