/* Fri Iran Aarhus – ingen eksterne kald; bruger systemskrifter så siden altid loader. */
:root {
    --teal: #0e6b73;
    --teal-dark: #0a5259;
    --red: #8b2942;
    --red-soft: #a03d52;
    --gold: #c9a227;
    --gold-light: #d4af37;
    --card-radius: 16px;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --slide-duration: 0.9s;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: clamp(14px, 1.6vw, 17px); }
html, body { height: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: #161210;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}
.page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 2.75rem;
}

.page-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Baggrund – flagets farver: grøn, HVID, rød – tydelig hvid stribe i midten */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(35, 159, 64, 0.32) 0%, 
            rgba(35, 159, 64, 0.06) 28%, 
            rgba(255, 255, 255, 0.28) 50%, 
            rgba(218, 18, 26, 0.06) 72%, 
            rgba(218, 18, 26, 0.3) 100%),
        linear-gradient(90deg, 
            rgba(35, 159, 64, 0.2) 0%, 
            transparent 28%, 
            rgba(255, 255, 255, 0.2) 50%, 
            transparent 72%, 
            rgba(218, 18, 26, 0.2) 100%),
        linear-gradient(180deg, #141110 0%, #1a1512 35%, #1e1c18 50%, #1a1412 65%, #181210 100%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 14s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

/* ========== Header – glasagtig blur, mere indhold ========== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.06) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.header-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-brand {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.4rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s, transform 0.2s;
}
.header-brand:hover { opacity: 0.95; color: inherit; transform: translateX(2px); }

.header-title-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.08rem, 2.2vw, 1.4rem);
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.header-sep {
    color: var(--gold);
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.9;
}

.header-title-sub {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(0.98rem, 1.9vw, 1.18rem);
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
}

.header-byline {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.65);
}

.header-tagline {
    margin: 0;
    font-size: clamp(0.78rem, 1.4vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Dekorativ guld-linje i bunden af headeren */
.header-accent {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(180px, 25%);
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0.85;
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.4);
}

/* Sprogvælger – dansk og iransk flag, øverste højre. Skift mellem dansk og farsi. */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.lang-switcher-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.25rem;
}
.lang-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}
.lang-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}
.lang-btn-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
}
.lang-flag {
    display: inline-block;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 0;
}
.lang-flag svg {
    display: block;
}
.lang-flag-emblem img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.lang-flag-emblem.emblem-failed {
    min-width: 28px;
    min-height: 28px;
    background: linear-gradient(180deg, #239F40 0%, #fff 33%, #fff 66%, #DA1226 100%);
    border-radius: 3px;
}
.lang-flag-label {
    font-size: 0.75rem;
    font-weight: 500;
}
html[dir="rtl"] .header-inner { flex-direction: row-reverse; }
html[dir="rtl"] .header-brand-wrap { align-items: flex-end; }
html[dir="rtl"] .header-brand { flex-direction: row-reverse; }
html[dir="rtl"] .header-brand:hover { transform: translateX(-2px); }
html[dir="rtl"] .lang-switcher-label { margin-right: 0; margin-left: 0.25rem; }
html[dir="rtl"] .hero-headline::after { left: auto; right: 0; }

/* ========== Hero: billedet fylder venstre side, nyhedsboks til højre ========== */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: min(55vh, 420px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 5.5rem 1rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

/* Venstre: billedslider som fuld højde (hero-baggrund) */
.bg-wrap {
    position: relative;
    flex: 1 1 54%;
    min-height: 380px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--slide-duration) ease-in-out;
    background: linear-gradient(160deg, var(--teal) 0%, #0d1b2a 100%);
}

.bg-slide.active { opacity: 1; }

.bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}
.bg-slide img.loaded {
    opacity: 1;
}

/* Overlay på billedet – stærkere så teksten popper */
.bg-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 50%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

/* Hero – indfaldsanimation + tydelig hierarki */
.hero-headline-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 2rem 1.5rem 3.5rem;
    pointer-events: none;
    animation: heroWrapEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-statement {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    margin-bottom: 0.6rem;
    opacity: 0;
    animation: heroLineEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.25);
    margin-bottom: 0.35rem;
    position: relative;
    opacity: 0;
    animation: heroLineEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-headline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: heroUnderline 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero-tagline {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 14px rgba(0,0,0,0.6);
    max-width: 340px;
    opacity: 0;
    animation: heroLineEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

@keyframes heroWrapEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineEntrance {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroUnderline {
    from { width: 0; opacity: 0; }
    to { width: min(120px, 30%); opacity: 1; }
}

.bg-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Prikker på billedet */
.bg-wrap .dots-wrap {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.dots-wrap button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.dots-wrap button:hover { background: rgba(255,255,255,0.6); transform: scale(1.2); }
.dots-wrap button.active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(201, 162, 39, 0.5); }
    50% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.7); }
}

/* ========== Nyhedsboks – med blur (glass) ========== */
.content {
    position: relative;
    z-index: 1;
    flex: 1 1 40%;
    min-width: 0;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.content-inner {
    width: 100%;
    padding: 1.2rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    animation: contentEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
@keyframes contentEntrance {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-inner:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.section-title.red { color: rgba(255, 255, 255, 0.95); }

.content-social-btn {
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.content-social-half {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.content-social-half:hover { opacity: 0.9; color: #fff; }
.content-social-fb { background: #1877f2; }
.content-social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.social-icon svg { flex-shrink: 0; }

.section-title-live { display: flex; align-items: center; gap: 0.5rem; }
.live-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c62828;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
    animation: livePulse 1.2s ease-in-out infinite;
}

.news-list { list-style: none; margin-bottom: 1.35rem; }
.news-list li {
    margin-bottom: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.news-date {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.15rem;
}
.news-list a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.42;
    display: block;
    transition: color 0.2s;
}
.news-list a:hover { color: var(--gold-light); }
.news-list .source { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); margin-top: 0.2rem; }

.news-links { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.news-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, border-color 0.2s;
}
.news-link-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); text-decoration: none; color: var(--gold-light); }
.news-link-logo {
    flex-shrink: 0;
    width: 28px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    color: #fff;
}
.news-link-logo-dr { background: #d71920; }
.news-link-logo-tv2 { background: #003399; }
.news-link-text { flex: 1; }

.demos-title { margin-top: 1.5rem; }
.demos-list { list-style: none; }
.demos-list li {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.95rem 1.15rem;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.demos-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.demos-teaser {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: -0.3rem 0 0.75rem;
    line-height: 1.4;
}
.demos-teaser:empty { display: none; }

/* PEP C: Fast undertekst under overskrift – slet .pep-c og .demos-subline for at fjerne */
.demos-subline.pep-c {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: -0.2rem 0 0.5rem;
    font-style: italic;
}
.demos-subline.pep-c:empty { display: none; }

.demos-countdown-badge {
    display: inline-block;
    background: var(--gold);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    margin-right: 0.4rem;
}
.demos-list .date { font-size: 0.85rem; margin-bottom: 0.25rem; }
.demos-list .place { font-size: 0.85rem; }
.demos-list .demos-label { color: var(--gold-light); font-weight: 700; }
.demos-list .demos-value { color: rgba(255, 255, 255, 0.65); font-weight: 500; }
.demos-list .demos-sep { color: rgba(255, 255, 255, 0.4); font-weight: 300; margin: 0 0.2rem; }
.demos-list .title { font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.2rem; }
.demos-list a { color: var(--gold-light); font-size: 0.84rem; text-decoration: none; }
.demos-list a:hover { text-decoration: underline; }
.demos-list li.demos-placeholder {
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-left-color: rgba(255,255,255,0.2);
}
.demos-placeholder .date, .demos-placeholder .place { display: none; }

/* ========== PEP A B D E: Ekstra catchy-elementer – søg "pep-" for at fjerne ========== */
/* PEP A: Fremhæv næste demo-kort + "Næste"-mærkat */
.demos-list li.pep-a {
    border-left-width: 5px;
    border-left-color: var(--gold-light);
    box-shadow: 0 2px 16px rgba(201, 162, 39, 0.15);
}
.demos-list li.pep-a .pep-a-badge {
    display: inline-block;
    background: var(--gold);
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}
/* PEP D: Puls-animation på countdown-badge */
.demos-countdown-badge.pep-d {
    animation: pep-d-pulse 2s ease-in-out infinite;
}
@keyframes pep-d-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.03); }
}
/* PEP E: Subtil puls på næste demo-kort */
.demos-list li.pep-a.pep-e {
    animation: pep-e-glow 3s ease-in-out infinite;
}
@keyframes pep-e-glow {
    0%, 100% { box-shadow: 0 2px 16px rgba(201, 162, 39, 0.15); }
    50% { box-shadow: 0 4px 20px rgba(201, 162, 39, 0.22); }
}

.loading { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }

/* ========== Sidens bund: budskab + kompakt kontaktlinje + social ========== */
.main-after-hero {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto 0;
    padding: 0 1rem 1rem;
}

.page-footer {
    background: linear-gradient(145deg, rgba(0,0,0,0.35) 0%, rgba(22,18,16,0.5) 100%);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: var(--card-radius);
    padding: 1rem 1.25rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.footer-budskab-om-os {
    padding-bottom: 0.75rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    margin-left: 0;
    background: linear-gradient(90deg, rgba(201,162,39,0.06) 0%, transparent 20%);
    border-radius: 0 6px 6px 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: rgba(255,255,255,0.98);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.footer-heading-brutal {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* Budskab – tydeligt og læsbart */
.footer-budskab-om-os .footer-mission-text {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    line-height: 1.45;
}
.footer-budskab-om-os .footer-mission-undertitel {
    font-size: 0.8rem;
    color: var(--gold-light);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-budskab-om-os .footer-about-teaser {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0;
}
.footer-budskab-om-os .footer-about-teaser strong { color: var(--gold-light); font-weight: 700; }

/* Kompakt kontaktlinje – én linje, ingen stor boks */
.footer-contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    padding: 0.5rem 0 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-contact-email {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
    text-decoration: none;
}
.footer-contact-email:hover { color: #fff; text-decoration: underline; }
.footer-contact-label { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-right: 0.25rem; }
.footer-contact-sep { color: rgba(255,255,255,0.4); font-weight: 300; }
.footer-contact-response { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.footer-social {
    margin-top: 1rem;
    padding: 1rem 1.25rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-social-intro {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1rem;
    font-weight: 500;
}

.footer-social-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 10rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.footer-social-btn:hover {
    opacity: 0.95;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.footer-social-label { display: inline-block; }

.footer-cvr {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Mobil: ingen backdrop-filter, færre lag og will-change – undgår crash/frysen (web.dev, Safari) */
@media (max-width: 768px) {
    .header-fixed {
        background: rgba(22, 18, 16, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .content-inner {
        background: rgba(22, 18, 16, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .breaking-track {
        will-change: auto;
        -webkit-backface-visibility: auto;
        backface-visibility: auto;
    }
    body::before { animation: none; }
    .hero-headline-wrap .hero-headline { animation: heroLineEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both; }
    .dots-wrap button.active { animation: none; }
    .breaking-live { animation: none; }
}

@media (max-width: 700px) {
    .footer-budskab-om-os { padding-left: 0.85rem; }
    .footer-contact-line { padding: 0.5rem 0 0.75rem; }
}
@media (max-width: 600px) {
    .footer-social { padding: 1rem 1rem; }
    .footer-social-btns {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 20rem;
        margin: 0 auto;
    }
    .footer-social-btn {
        width: 100%;
        min-width: 0;
        padding: 0.7rem 1.25rem;
    }
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Breaking – ny stil: LIVE-prik + gul bar ========== */
.breaking {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    background: linear-gradient(180deg, #f2d43d 0%, #e2c11a 45%, #c9a70d 100%);
    border-top: 3px solid #b8940a;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.breaking-live {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 0.75rem;
    margin-right: 0.25rem;
    border-radius: 50%;
    background: #c62828;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
    animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.breaking-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    padding: 0 0.6rem;
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.breaking-text-wrap { flex: 1; min-width: 0; overflow: hidden; padding: 0.45rem 1rem 0.45rem 0.5rem; }

.breaking-track {
    display: inline-flex;
    white-space: nowrap;
    animation: breakScroll 22s linear infinite;
    padding-left: 100%;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.breaking-track.breaking-js-marquee {
    animation: none;
    -webkit-animation: none;
    padding-left: 0;
}
.breaking-track .breaking-text {
    flex-shrink: 0;
    padding-right: 4rem;
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

@keyframes breakScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@-webkit-keyframes breakScroll {
    0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

/* ========== Kun store skærme (27" / 2K+) – 24" og mindre beholder normalt layout ========== */
@media (min-width: 2400px) {
    html { font-size: clamp(15px, 0.65vw, 19px); }
    .hero-section { max-width: 1700px; padding: 6rem 1.5rem 1.25rem; }
    .content { max-width: 520px; }
    .main-after-hero { max-width: 1200px; padding: 0 1.5rem 1.25rem; }
    .hero-headline { font-size: clamp(1.9rem, 2.5vw, 2.9rem); }
    .hero-tagline { font-size: clamp(0.95rem, 1.2vw, 1.15rem); max-width: 360px; }
    .page-footer { padding: 0.9rem 1.2rem 0.9rem; }
    .footer-heading { font-size: 0.98rem; }
    .footer-budskab-om-os .footer-mission-text { font-size: 0.88rem; }
    .footer-budskab-om-os .footer-about-teaser { font-size: 0.85rem; }
    .section-title { font-size: 1.05rem; }
    .content-inner { padding: 1.35rem 1.35rem; }
}
@media (min-width: 2800px) {
    .hero-section { max-width: 1900px; }
    .content { max-width: 560px; }
    .main-after-hero { max-width: 1400px; }
}

/* ========== Responsivt ========== */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        align-items: stretch;
        padding-top: 6rem;
        min-height: auto;
    }
    .bg-wrap {
        flex: none;
        min-height: min(50vh, 380px);
        margin-bottom: 1rem;
    }
    .content { max-width: none; }
    .breaking-label { min-width: 4.5rem; font-size: 0.6rem; }
    .breaking-track { animation-duration: 18s; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0.7rem 1rem; flex-wrap: wrap; justify-content: center; }
    .header-brand-wrap { align-items: center; }
    .header-tagline { display: none; }
    .header-brand { justify-content: center; }
    .header-brand:hover { transform: none; }
    .header-title-main { font-size: 1rem; }
    .header-title-sub { font-size: 0.9rem; }
    .header-byline { font-size: 0.82rem; }
    .content-inner { padding: 1.25rem 1.1rem; }
    .bg-wrap { min-height: min(44vh, 320px); }
    .bg-wrap .dots-wrap { bottom: 0.75rem; }
    .breaking-track { animation-duration: 10s; -webkit-animation-duration: 10s; }
    .breaking-track .breaking-text { font-size: 0.8rem; padding-right: 2.5rem; }
}

/* Reduceret bevægelse – ingen indfaldsanimationer */
@media (prefers-reduced-motion: reduce) {
    .hero-headline-wrap,
    .hero-statement,
    .hero-headline,
    .hero-tagline,
    .content-inner { animation: none; opacity: 1; transform: none; }
    .hero-headline::after { animation: none; width: min(120px, 30%); opacity: 1; }
}


