/* ── CLEAN CORPORATE TYPOGRAPHY (Tjek / Google Style) ── */
html,
body {
    font-family: 'Tajawal', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #111827;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    transition: background-color 0.2s var(--ease);
    height: 100%;
    overflow-y: hidden;
}

body {
    display: flex;
    flex-direction: column;
}


/* ── STICKY HEADER ── */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
    padding-top: calc(16px + env(safe-area-inset-top));
    width: 100%;
    flex-shrink: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 680px;
    margin: 0 auto;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.lang-switcher {
    display: flex;
    gap: 15px;
}

.lang-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.lang-btn.active {
    color: #FF6B35;
}

/* ── HOVEDINNHOLD ── */
.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 40px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #111827;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 15px;
    color: #FF6B35;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 35px;
}

p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 24px;
    text-align: justify;
}

.thank-you-box {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px dashed #f3f4f6;
    font-weight: 500;
}

a {
    color: #FF6B35;
    text-decoration: underline;
    font-weight: 700;
}

/* ── SPRÅK-SEKSJONER ── */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.en-text {
    direction: ltr;
    text-align: left !important;
}

.en-text p {
    text-align: left;
}

[dir="ltr"] .back-btn {
    flex-direction: row-reverse;
}