/* =====================================================
   SALGSBETINGELSER - PERSONALEFORENINGEN SLOTSGADE 1
   ===================================================== */

.salgsbetingelser-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-bottom: 60px;
}

/* HERO SEKTION */
.hero {
    background: linear-gradient(135deg, #004494 0%, #0056b3 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    opacity: 0.95;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.85;
    font-style: italic;
    margin: 10px 0 0 0;
}

/* INDHOLD */
.content-wrapper {
    max-width: 900px;
    margin: -40px auto 0;
    padding: 0 20px;
}

.betingelser-sektion {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.betingelser-sektion:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.betingelser-sektion h2 {
    color: #004494;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #004494;
}

.betingelser-sektion h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.betingelser-sektion h4 {
    color: #004494;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.betingelser-sektion p {
    color: #333;
    line-height: 1.8;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

.betingelser-sektion ul,
.betingelser-sektion ol {
    margin: 15px 0 15px 25px;
    color: #333;
    line-height: 1.8;
}

.betingelser-sektion li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.betingelser-sektion ul li {
    list-style-type: disc;
}

.betingelser-sektion strong {
    color: #004494;
    font-weight: 600;
}

/* INFO BOX */
.info-box {
    background: #f0f7ff;
    border-left: 4px solid #004494;
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box p {
    margin: 8px 0;
    color: #333;
}

.info-box strong {
    color: #004494;
}

/* KLAGE BOX */
.klage-box {
    background: #fff9e6;
    border: 2px solid #ffc107;
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 8px;
}

.klage-box h4 {
    color: #004494;
    margin-top: 0;
    font-size: 1.2rem;
}

.klage-box p {
    margin: 8px 0;
    color: #333;
}

/* KONTAKT SEKTION */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #004494;
}

.contact-section h2 {
    color: #004494;
}

/* LINKS */
.betingelser-sektion a {
    color: #004494;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.betingelser-sektion a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* RESPONSIVT DESIGN */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        margin-top: -30px;
        padding: 0 15px;
    }
    
    .betingelser-sektion {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .betingelser-sektion h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .betingelser-sektion h3 {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    .info-box,
    .klage-box {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 15px 30px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .last-updated {
        font-size: 0.85rem;
    }
    
    .betingelser-sektion {
        padding: 20px 15px;
    }
    
    .betingelser-sektion h2 {
        font-size: 1.3rem;
    }
    
    .betingelser-sektion h3 {
        font-size: 1.1rem;
    }
    
    .betingelser-sektion p,
    .betingelser-sektion li {
        font-size: 0.95rem;
    }
}

/* PRINT STYLING */
@media print {
    .salgsbetingelser-container {
        background: white;
    }
    
    .hero {
        background: white;
        color: #004494;
        box-shadow: none;
        border-bottom: 3px solid #004494;
    }
    
    .betingelser-sektion {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .betingelser-sektion:hover {
        transform: none;
        box-shadow: none;
    }
    
    .info-box,
    .klage-box {
        border: 1px solid #004494;
        background: white;
    }
    
    a {
        color: #004494;
        text-decoration: underline;
    }
}
