/* =========================================================
   Danske Datingsider — Hoved-CSS
   Design: Blød rød + hvid · varm dansk tone
   ========================================================= */

/* =========================================================
   CSS VARIABLER (kan overskrives af customizer via inline style)
   ========================================================= */
:root {
    /* Primær farve-skala */
    --red:          #E8546B;
    --red-deep:     #C73E54;
    --red-dark:     #9E2C40;
    --red-50:       #FFF4F6;
    --red-100:      #FDE7EC;
    --red-200:      #FAD2DB;
    --red-300:      #F4AEBD;
    --red-400:      #EF8497;

    /* Grøn CTA */
    --green:        #46A75C;
    --green-deep:   #3B9350;

    /* Neutraler */
    --ink:          #2B2630;
    --ink-soft:     #48414C;
    --muted:        #7A7280;
    --line:         #F0E2E6;
    --white:        #ffffff;
    --cream:        #FFFAFB;

    /* Radier */
    --r-sm:  10px;
    --r-md:  16px;
    --r-lg:  24px;
    --r-xl:  32px;

    /* Skygger */
    --shadow-sm: 0 2px 8px rgba(158,44,64,.06);
    --shadow-md: 0 12px 32px rgba(158,44,64,.10);
    --shadow-lg: 0 24px 64px rgba(158,44,64,.16);

    /* Typografi */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    /* Layout */
    --max-width: 1120px;
    --page-pad:  48px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

.lp * { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3, .lp h4 {
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.04;
    letter-spacing: -.02em;
}
.lp p { margin: 0; }

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-pad);
}

/* Screen reader only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 100; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--page-pad);
    background: var(--red);
    gap: 16px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 21px;
    color: #fff;
    letter-spacing: -.02em;
    text-decoration: none;
    flex-shrink: 0;
}
.brand .brand-text { display: flex; align-items: baseline; }
.brand .accent { color: #FFD9E0; }
.brand .mark {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.18);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    flex-shrink: 0;
}
.brand .mark svg { width: 21px; height: 21px; }

/* Billedelogo via Udseende → Logo */
.brand-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* hvid på mørk nav */
}
.brand-logo-img--color { filter: none; } /* override hvis logoet allerede er hvidt/lyst */

/* Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}
.menu a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: 11px;
    text-decoration: none;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    font-size: 14.5px;
    transition: background .18s, color .18s;
    white-space: nowrap;
}
.menu a:hover { background: rgba(255,255,255,.16); color: #fff; }
.menu a.is-active { color: #fff; }
.menu a svg { width: 17px; height: 17px; flex-shrink: 0; }

/* CTA knap */
.nav-cta {
    background: #fff;
    color: var(--red-deep);
    border: none;
    cursor: pointer;
    padding: 11px 20px;
    border-radius: 11px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    transition: background .15s, transform .12s;
    flex-shrink: 0;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
.nav-cta:hover { background: var(--red-50); transform: translateY(-1px); }

/* Hamburger (mobil) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255,255,255,.16);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO SEKTION C
   ========================================================= */

.hero-c {
    position: relative;
    background: linear-gradient(155deg, var(--red) 0%, var(--red-deep) 62%, var(--red-dark) 100%);
    overflow: hidden;
}

/* Dekorative hjerter */
.hero-c__deco {
    position: absolute;
    opacity: .10;
    z-index: 0;
    color: #fff;
    pointer-events: none;
}
.hero-c__deco--1 { right: 38%; top: -46px; }
.hero-c__deco--2 { left: 6%; bottom: 100px; }

/* Grid */
.hero-c-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
    padding: 54px 0 66px;
    position: relative;
    z-index: 2;
}

/* Tekst-kolonne */
.hero-c-copy {}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.16);
    padding: 7px 15px;
    border-radius: 999px;
    white-space: nowrap;
}

.hero-c-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.06;
    margin: 20px 0 0;
    letter-spacing: -.03em;
    max-width: 520px;
}
.hero-c-accent { color: var(--red-100); }

.hero-c-sub {
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.55;
    margin-top: 22px;
    max-width: 430px;
}

.hero-c-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-c-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .14s, box-shadow .14s, background .14s;
}
.hero-c-btn:active { transform: scale(.97); }

.hero-c-btn--primary {
    background: #fff;
    color: var(--red-deep) !important;
    padding: 15px 24px;
    border-radius: 999px;
    font-size: 16px;
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.hero-c-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.hero-c-btn--ghost {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,.45);
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15.5px;
}
.hero-c-btn--ghost:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.7);
}

/* Billede-kolonne */
.hero-c-media {
    position: relative;
    height: 430px;
    z-index: 2;
}

.hero-c-photo {
    position: absolute;
    top: 18px;
    right: 0;
    width: 328px;
    height: 392px;
    border-radius: 28px;
    overflow: visible;          /* chip kan stikke ud */
    background: rgba(255,255,255,.14);
    box-shadow: 0 26px 54px rgba(0,0,0,.26);
}
/* Billedet selv skal stadig clips til afrundet hjørne */
.hero-c-photo .hero-c-img,
.hero-c-photo .hero-c-placeholder {
    border-radius: 28px;
    overflow: hidden;
}
.hero-c-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-c-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
}
.hero-c-placeholder p {
    color: rgba(255,255,255,.55);
    font-size: 13.5px;
    line-height: 1.5;
}

/* Match chip — positioneret inde i .hero-c-photo */
.hero-c-chip {
    position: absolute;
    top: 68px;
    /* 20px inde over venstre billedkant — resten hænger ud til venstre */
    right: calc(100% - 20px);
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0,0,0,.20);
    z-index: 4;
    animation: chip-float 3s ease-in-out infinite;
}
@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
.hero-c-chip__avs {
    display: flex;
    flex-shrink: 0;
}
.hero-c-chip__av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2.5px solid #fff;
    flex-shrink: 0;
}
.hero-c-chip__av--red   { background: var(--red); }
.hero-c-chip__av--green { background: var(--green); }
.hero-c-chip__av:nth-child(2) { margin-left: -12px; }
.hero-c-chip__text strong {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.1;
    white-space: nowrap;
}
.hero-c-chip__text small {
    display: block;
    font-weight: 600;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
}
.hero-c-chip__heart {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(232,84,107,.4);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-c-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 56px;
    }
    .hero-c-copy h1 { max-width: 100%; }
    .hero-c-sub     { max-width: 100%; }
    .hero-c-media   { height: 380px; max-width: 440px; margin: 0 auto; }
    .hero-c-chip    { right: calc(100% - 20px); top: 56px; }
}
@media (max-width: 700px) {
    .hero-c-media { display: none; }  /* billede + chip skjult på mobil */
    .hero-c-grid  { padding: 36px 0 48px; }
}


/* =========================================================
   SAMMENLIGNINGSSEKTION
   ========================================================= */
.comparison-section {
    background: var(--cream);
    padding: 72px 0 88px;
}

/* Section header */
.cmp-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.cmp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    color: var(--red-deep);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--red-100);
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.cmp-eyebrow svg { width: 14px; height: 14px; }
.cmp-head h2 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 800; color: var(--ink); }
.cmp-head p  { color: var(--muted); font-size: 17px; margin-top: 14px; line-height: 1.55; }

/* Ranged card layout */
.rcards { display: flex; flex-direction: column; gap: 20px; }

.rcard {
    position: relative;
    display: grid;
    grid-template-columns: 58px 232px 1fr 184px;
    gap: 24px;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 22px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.rcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rcard.is-top {
    border-color: var(--red-300);
    background: linear-gradient(180deg, var(--red-50) 0%, #fff 64%);
    box-shadow: 0 16px 40px rgba(232,84,107,.16);
}

/* Badge/ribbon */
.rbadge {
    position: absolute; top: -12px; left: 28px;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--red-deep); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
    padding: 5px 13px; border-radius: 999px;
    box-shadow: 0 6px 14px rgba(199,62,84,.3);
}
.rbadge svg { width: 12px; height: 12px; }

/* Medalje */
.medal {
    width: 50px; height: 50px; border-radius: 16px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 21px; color: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.14);
    position: relative;
    flex-shrink: 0;
}
.medal.m1 { background: linear-gradient(150deg, #F4C04E, #E0992C); }
.medal.m2 { background: linear-gradient(150deg, #C7CCD4, #9DA3AD); }
.medal.m3 { background: linear-gradient(150deg, #D79B6B, #B5774A); }
.medal.m4 { background: linear-gradient(150deg, #7BACE0, #4A7AB5); }
.medal.m5 { background: linear-gradient(150deg, #96D4A0, #5AB568); }
.medal .crown {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 22px; color: #E0992C;
}

/* rbrand */
.rbrand { display: flex; flex-direction: column; gap: 9px; }
.rbrand .top { display: flex; align-items: center; gap: 11px; }
.rbrand .dot {
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center; color: #fff; flex-shrink: 0;
    overflow: hidden;
}
.rbrand .dot.dot--img {
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 3px; /* lille luft rundt om logoet */
}
.rbrand .dot.dot--img img {
    width: 100%; height: 100%;
    object-fit: contain; /* contain = logo skaleres ned, ikke beskæres */
    border-radius: 9px;
}
.rbrand .dot svg { width: 23px; height: 23px; }
.rbrand .dot img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.rbrand .nm {
    font-family: var(--font-display); font-weight: 800; font-size: 21px;
    color: var(--ink); letter-spacing: -.02em;
}
.rbrand .meta { display: flex; align-items: center; gap: 10px; }
.rbrand .sc { display: flex; align-items: baseline; gap: 3px; }
.rbrand .sc b {
    font-family: var(--font-display); font-weight: 800; font-size: 24px;
    color: var(--red); line-height: 1;
}
.rbrand .sc i { font-style: normal; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.rbrand a { color: var(--ink-soft); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.rbrand a:hover { color: var(--red-deep); }

/* Stars */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: #F5A623; }

/* Stat strip */
.strip { display: flex; align-items: stretch; }
.strip .cell {
    flex: 1; text-align: center;
    padding: 4px 10px;
    border-right: 1px solid var(--line);
}
.strip .cell:last-child { border-right: none; }
.strip .cell .k {
    color: var(--muted); font-weight: 600; font-size: 11px;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
}
.strip .cell .v {
    color: var(--ink); font-weight: 700; font-size: 14px;
    font-family: var(--font-display);
}
.strip .cell .v.free { color: var(--green-deep); }

/* Action col */
.raction {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}
/* "Læs anmeldelse"-knap i raction */
.raction .btn-read {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink-soft) !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    transition: border-color .15s, color .15s;
    white-space: nowrap;
}
.raction .btn-read:hover { border-color: var(--red); color: var(--red-deep) !important; }
.btn-go {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
    color: #fff; border: none; cursor: pointer;
    padding: 15px 18px; border-radius: 14px;
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    box-shadow: 0 10px 22px rgba(59,147,80,.3);
    text-decoration: none;
    transition: transform .14s, box-shadow .14s;
}
.btn-go:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(59,147,80,.4); }
.btn-go svg { width: 18px; height: 18px; flex-shrink: 0; }
.readmore {
    text-align: center;
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    display: block;
}
.readmore:hover { color: var(--red-deep); }

/* Trust bar */
.trust {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; flex-wrap: wrap;
    margin-top: 36px;
    color: var(--muted); font-size: 14px; font-weight: 600;
}
.trust span { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }

/* Placeholder */
.comparison-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    background: var(--white);
    border: 2px dashed var(--red-200);
    border-radius: var(--r-lg);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: linear-gradient(160deg, var(--red-deep) 0%, var(--red-dark) 100%);
    color: #fff;
    padding: 64px 0 0;
}

.f-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* Footer brand */
.f-brand-logo { color: #fff; font-size: 22px; }
.f-tag {
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 300px;
}

/* Social */
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.14);
    color: #fff; transition: background .18s, color .18s;
}
.f-social a:hover { background: #fff; color: var(--red-deep); }
.f-social svg { width: 19px; height: 19px; }

/* Footer col */
.f-col h4 {
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    color: #fff; margin-bottom: 16px; letter-spacing: .02em;
}
.f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.f-col a {
    color: rgba(255,255,255,.8); text-decoration: none;
    font-size: 14.5px; font-weight: 500; transition: color .15s;
    display: inline-flex; align-items: center; gap: 8px;
}
.f-col a:hover { color: #fff; }
.f-col a svg { width: 15px; height: 15px; opacity: .85; }

/* Newsletter */
.f-news h4 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 15px; color: #fff; margin-bottom: 14px;
}
.f-news p { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }

.f-form { display: flex; gap: 8px; }
.f-form input {
    flex: 1; min-width: 0;
    border: 1.5px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 12px;
    padding: 13px 15px;
    font-family: var(--font-body); font-size: 14.5px;
    outline: none; transition: border-color .18s;
}
.f-form input::placeholder { color: rgba(255,255,255,.6); }
.f-form input:focus { border-color: rgba(255,255,255,.6); }
.f-form button {
    background: #fff; color: var(--red-deep);
    border: none; cursor: pointer;
    border-radius: 12px; padding: 0 16px;
    font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
    display: grid; place-items: center;
    transition: background .15s;
}
.f-form button:hover { background: var(--red-100); }
.f-form svg { width: 18px; height: 18px; }
.f-form-msg { font-size: 13px; margin-top: 8px; }
.f-form-msg.news-msg--ok  { color: #fff; }
.f-form-msg.news-msg--err { color: #FFD9E0; }

/* Disclosure */
.f-disclosure {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55;
}
.f-disclosure svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #FFD9E0; }

/* Bottom bar */
.f-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.66); font-size: 13.5px;
    flex-wrap: wrap; gap: 12px;
}
.f-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.f-bottom a { color: rgba(255,255,255,.66); text-decoration: none; transition: color .15s; }
.f-bottom a:hover { color: #fff; }

/* =========================================================
   RESPONSIVT LAYOUT
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
    :root { --page-pad: 32px; }

    .menu { display: none; }
    .nav-hamburger { display: flex; }

    .menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--red-deep);
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }
    .menu.is-open a { padding: 12px 16px; font-size: 16px; }

    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-bottom: 40px; }
    .hero-image-col { order: -1; }
    .hero-text { max-width: none; }
    .hero-actions { justify-content: center; }

    .f-top { grid-template-columns: 1fr 1fr; gap: 32px; }

    .rcard { grid-template-columns: 50px 200px 1fr 170px; gap: 16px; padding: 22px 20px; }
}

/* Mobil */
@media (max-width: 768px) {
    :root { --page-pad: 16px; }

    /* Nav: kompakt på mobil */
    .nav { padding: 12px var(--page-pad); gap: 10px; }

    /* CTA-knap: skjul tekst på meget smal skærm, vis kun ikon */
    .nav-cta { padding: 9px 14px; font-size: 13px; }

    /* Brand-logo-img: lidt mindre */
    .brand-logo-img { height: 34px; }
    .brand .mark { width: 32px; height: 32px; }
    .brand { font-size: 17px; gap: 8px; }

    .hero-headline { font-size: clamp(32px, 9vw, 48px); }
    .hero-text { font-size: 16px; }

    /* Hero-billede på mobil: lille hjerteform */
    .hero-image-wrap { width: 180px; height: 180px; }

    /* Hero-scores-panel komprimeret */
    .hero-scores-panel { padding: 12px 16px; gap: 8px; flex-wrap: nowrap; }
    .hero-score-num { font-size: 18px; }
    .hero-score-name { font-size: 11px; }
    .hero-score-logo { width: 28px; height: 28px; border-radius: 8px; }

    .rcard {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto auto;
        gap: 14px;
        padding: 20px 18px;
    }
    .rcard .strip {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }
    .rcard .strip .cell { min-width: calc(50% - 8px); border-right: none; border-bottom: 1px solid var(--line); padding: 8px; }
    .rcard .raction { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .rcard .btn-go { flex: 1; }

    .f-top { grid-template-columns: 1fr; gap: 28px; }
    .f-news h4 { margin-bottom: 10px; }
    .f-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Meget smal mobil */
@media (max-width: 400px) {
    .nav-cta { display: none; } /* Skjul helt på <400px, hamburger er nok */
    .hero-image-wrap { width: 150px; height: 150px; }
}    .f-bottom .links { justify-content: center; }
}

/* Meget lille skærm */
@media (max-width: 480px) {
    .hero-grid { padding: 40px var(--page-pad) 30px; }
    .btn-hero-primary { font-size: 15.5px; padding: 14px 20px; }
    .btn-hero-secondary { font-size: 14.5px; padding: 13px 18px; }
    .trust { gap: 16px; font-size: 13px; }
}

/* =========================================================
   TILGÆNGELIGHED
   ========================================================= */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible, button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.hero-section a:focus-visible, .hero-section button:focus-visible {
    outline: 3px solid #fff;
}

/* =========================================================
   WP ADMIN BAR kompensation
   ========================================================= */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* =========================================================
   SCORE RING (pie chart) — brugt i rcard
   ========================================================= */
.score-ring {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.score-ring__svg {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
}
.score-ring__bg {
    fill: none;
    stroke: #FFE4EA;
    stroke-width: 6;
}
.score-ring__fill {
    fill: none;
    stroke: #3B9350;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset .6s ease;
}
.score-ring__label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.score-ring__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
}
.score-ring__den {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 1px;
}
/* Color thresholds */
.score-ring--high .score-ring__fill  { stroke: #3B9350; }
.score-ring--mid  .score-ring__fill  { stroke: #D97706; }
.score-ring--low  .score-ring__fill  { stroke: #C73E54; }

/* =========================================================
   DC-REV-CARD — delt kortlayout
   Brugt af: [dc_anmeldelser], [sammenlign], card-ranked.php
   ========================================================= */

.dc-rev-list  { }
.dc-rev-grid  { display: flex; flex-direction: column; gap: 12px; }

.dc-rev-card {
    display: grid;
    grid-template-columns: 36px 72px 1fr 110px 200px;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .18s, border-color .18s;
}
.dc-rev-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.09);
    border-color: #F9C6CE;
}
.dc-rev-card--top {
    border-color: #FAD2DB;
    background: linear-gradient(180deg, #FFF4F6 0%, #fff 60%);
}

/* Rang */
.dc-rev-card__rank {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: #D1D5DB;
    text-align: center;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}
/* Medaljefarver */
.dc-rev-card:nth-child(1) .dc-rev-card__rank,
.dc-rev-card[data-rank="1"] .dc-rev-card__rank { background: linear-gradient(150deg,#F4C04E,#E0992C); color: #fff; }
.dc-rev-card:nth-child(2) .dc-rev-card__rank,
.dc-rev-card[data-rank="2"] .dc-rev-card__rank { background: linear-gradient(150deg,#C7CCD4,#9DA3AD); color: #fff; }
.dc-rev-card:nth-child(3) .dc-rev-card__rank,
.dc-rev-card[data-rank="3"] .dc-rev-card__rank { background: linear-gradient(150deg,#D79B6B,#B5774A); color: #fff; }

/* Logo */
.dc-rev-card__logo {
    width: 72px; height: 72px;
    border-radius: 14px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.dc-rev-card__logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 7px;
    box-sizing: border-box;
    display: block;
}
.dc-rev-card__initials {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--red);
}

/* Info */
.dc-rev-card__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dc-rev-card__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--ink) !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.dc-rev-card__name:hover { color: var(--red-deep) !important; }

/* Stjerner */
.dc-rev-card__stars { display: flex; gap: 2px; margin-top: 2px; }
.dc-rev-card__stars .dc-rev-stars { display: inline-flex; gap: 2px; }
.dc-rev-card__stars svg { width: 14px; height: 14px; }
.dc-rev-card__stars .dc-star--full  svg { fill: #E8546B; color: #E8546B; }
.dc-rev-card__stars .dc-star--half  svg { fill: #E8546B; color: #E8546B; }
.dc-rev-card__stars .dc-star--empty svg { fill: none; stroke: #E0E0E0; color: #E0E0E0; }

/* Type + alder badges */
.dc-rev-card__meta-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.dc-rev-card__badge {
    display: inline-block;
    font-size: 11.5px; font-weight: 600;
    color: #6B7280; background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 999px; padding: 2px 9px;
}

/* Score ring */
.dc-rev-card__score { display: flex; justify-content: center; align-items: center; }
.dc-rev-card__ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
}
.dc-rev-card__ring-inner {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dc-rev-card__ring-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    color: var(--ink);
}
.dc-rev-card__ring-den {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 1px;
}

/* CTA-knapper */
.dc-rev-card__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.dc-rev-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    text-align: center;
    transition: all .15s;
    cursor: pointer;
}
.dc-rev-card__btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.dc-rev-card__btn--primary {
    background: #3B9350;
    color: #fff !important;
    border: none;
}
.dc-rev-card__btn--primary:hover { background: #2D7A40; }
.dc-rev-card__btn--ghost {
    background: transparent;
    color: #6B7280 !important;
    border: 1.5px solid #E5E7EB;
}
.dc-rev-card__btn--ghost:hover { border-color: var(--red); color: var(--red-deep) !important; }

/* Responsive */
@media (max-width: 860px) {
    .dc-rev-card {
        grid-template-columns: 28px 56px 1fr 80px;
        grid-template-areas:
            "rank logo info  score"
            "rank logo cta   cta";
        gap: 12px 14px;
    }
    .dc-rev-card__rank  { grid-area: rank; width:28px; height:28px; font-size:14px; }
    .dc-rev-card__logo  { grid-area: logo; width:56px; height:56px; }
    .dc-rev-card__info  { grid-area: info; }
    .dc-rev-card__score { grid-area: score; justify-content: flex-end; }
    .dc-rev-card__cta   { grid-area: cta; flex-direction: row; }
    .dc-rev-card__ring  { width: 64px; height: 64px; }
    .dc-rev-card__ring-num { font-size: 15px; }
}
@media (max-width: 520px) {
    .dc-rev-card {
        grid-template-columns: 22px 46px 1fr auto;
        grid-template-areas:
            "rank logo info  score"
            "rank logo cta   cta";
        gap: 10px 11px;
    }
    .dc-rev-card__logo {
        display: flex;
        grid-area: logo;
        width: 46px;
        height: 46px;
        border-radius: 11px;
    }
    .dc-rev-card__logo img { padding: 5px; }
    .dc-rev-card__ring     { width: 56px; height: 56px; }
    .dc-rev-card__ring-num { font-size: 14px; }
    .dc-rev-card__cta  { flex-direction: column; }
}

