:root {
    --bg: #f6f0dd;
    --bg-soft: #fbf8ef;
    --card: #fffdf8;
    --text: #314968;
    --text-soft: #556b86;
    --line: #b6c3d2;
    --line-soft: rgba(91, 113, 140, 0.22);
    --shadow: 0 10px 28px rgba(49, 73, 104, 0.08);
    --hero-shadow: rgba(0, 0, 0, 0.34);
    --accent: #d9b34d;
    --accent-soft: #f2e0a8;
    --radius: 26px;
    --radius-card: 24px;
    --radius-button: 22px;
    --maxw: 1890px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.58), rgba(255,255,255,0) 32%),
        linear-gradient(180deg, #f7f1df 0%, #f3ecd8 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    width: min(100%, var(--maxw));
    margin: 0 auto;
    padding-bottom: 26px;
}

.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.26) 22%, rgba(0, 0, 0, 0.06) 52%, rgba(0,0,0,0) 72%),
        linear-gradient(180deg, rgba(245, 240, 220, 0.10) 0%, rgba(245, 240, 220, 0) 24%);
    pointer-events: none;
}

.hero-top {
    position: relative;
    z-index: 2;
    padding: 24px 52px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    width: min(100%, 540px);
}

.brand-logo {
    width: 100%;
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.08));
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 8px 30px;
    border: 2px solid rgba(57, 79, 107, 0.52);
    border-radius: var(--radius-button);
    background: rgba(255, 247, 230, 0.86);
    color: #394f6b;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(49, 73, 104, 0.07);
    backdrop-filter: blur(3px);
    transition: transform 0.18s ease, background 0.18s ease;
}

.login-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 248, 233, 0.95);
}

.login-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
}

.login-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin-left: 84px;
    padding-top: 240px;
    color: #fff;
    text-shadow: 0 6px 16px var(--hero-shadow);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: clamp(34px, 3vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero h1 {
    margin: 0;
    font-size: clamp(20px, 8vw, 52px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.hero-rule {
    display: block;
    width: 116px;
    height: 6px;
    margin: 26px 0 34px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 3px 10px rgba(217, 179, 77, 0.4);
}

.hero-text {
    margin: 0;
    font-size: clamp(28px, 2.4vw, 52px);
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: -0.03em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 72px 0;
    margin-top: 16px;
}

.feature-card {
    position: relative;
    min-height: 145px;
    padding: 18px 24px;
    border: 2px solid var(--line-soft);
    border-radius: var(--radius-card);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(87, 109, 135, 0.42);
    box-shadow: 0 18px 38px rgba(49, 73, 104, 0.11);
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef3f7 0%, #edf2f7 100%);
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: #394f6b;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.feature-card p {
    max-width: 18ch;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.feature-arrow {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 30px;
    height: 30px;
    color: #3f5470;
    opacity: 0.96;
}

.feature-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer {
    padding: 28px 72px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 68px;
    padding: 18px 28px;
    border: 2px solid var(--line-soft);
    border-radius: var(--radius-card);
    background: rgba(255, 250, 239, 0.94);
    color: #425a79;
    box-shadow: var(--shadow);
    text-align: center;
    flex-wrap: wrap;
}

.footer-pin {
    width: 24px;
    height: 24px;
    display: inline-flex;
    flex: 0 0 auto;
}

.footer-pin svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-text,
.footer-copy {
    font-size: clamp(12px, 1.08vw, 18px);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.footer-divider {
    width: 1px;
    height: 28px;
    background: rgba(66, 90, 121, 0.2);
}

@media (max-width: 1600px) {
    .hero {
        min-height: 730px;
    }

    .hero-top {
        padding: 34px 38px 0;
    }


    .hero-copy {
        margin-left: 56px;
        padding-top: 216px;
        max-width: 560px;
    }

    .cards-grid,
    .site-footer {
        padding-left: 44px;
        padding-right: 44px;
    }

    .cards-grid {
        gap: 22px;
    }

    .feature-card {
        min-height: 164px;
        padding: 18px 26px 24px;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 22px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 1180px) {
    .hero {
        min-height: 620px;
    }

    .hero-copy {
        padding-top: 196px;
        max-width: 500px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .feature-card p {
        max-width: none;
    }
}

@media (max-width: 760px) {
    
    .site-shell {
        padding-bottom: 20px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-top {
        padding: 22px 18px 0;
        gap: 14px;
    }

    .brand {
        max-width: 280px;
    }

    .login-link {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 18px;
    }

    .login-icon {
        width: 22px;
        height: 22px;
    }

    .hero-copy {
        margin-left: 24px;
        padding-top: 160px;
        max-width: 340px;
    }

    .hero-rule {
        width: 84px;
        height: 5px;
        margin: 18px 0 22px;
    }

    .cards-grid,
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 18px;
    }

    .feature-card{
        min-height:160px;
        padding:18px 18px 22px;
        border-radius:20px;
    }

    .feature-icon{
        width:44px;
        height:44px;
        margin-bottom:12px;
    }

    .feature-card h2{
        font-size:20px;
        line-height:1.15;
        margin-bottom:8px;
    }
    
    .feature-card p{
        font-size:14px;
        line-height:1.3;
        max-width:none;
    }

    .footer-inner {
        min-height: 88px;
        gap: 12px;
        padding: 16px 18px;
        border-radius: 22px;
    }

    .footer-divider {
        display: none;
    }
    
    .feature-icon svg{
        width:24px;
        height:24px;
    }
    
    .feature-arrow{
        width:26px;
        height:26px;
        right:18px;
        bottom:16px;
    }
}


.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 253, 248, 0.96);
    border: 2px solid rgba(57, 79, 107, 0.18);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(49, 73, 104, 0.12);
    padding: 28px;
}

.back-to-front {
    display: inline-block;
    margin-bottom: 18px;
    color: #4b607d;
    font-weight: 600;
    font-size: 15px;
}

.login-card-head {
    text-align: center;
    margin-bottom: 22px;
}

.login-logo {
    width: 78px;
    height: auto;
    margin: 0 auto 12px;
}

.login-card-head h1 {
    margin: 0 0 8px;
    font-size: 36px;
    color: #314968;
}

.login-card-head p {
    margin: 0;
    color: #5b708c;
    font-size: 16px;
}

.login-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff0ec;
    border: 1px solid #e2b3a7;
    color: #a3452f;
    font-weight: 600;
}

.login-form {
    display: grid;
    gap: 12px;
}

.login-form label {
    font-weight: 600;
    color: #314968;
    font-size: 15px;
}

.login-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #b9c4d1;
    border-radius: 14px;
    background: #fff;
    color: #314968;
    font-size: 16px;
    outline: none;
}

.login-form input:focus {
    border-color: #7e98b6;
    box-shadow: 0 0 0 3px rgba(126, 152, 182, 0.14);
}

.login-submit {
    margin-top: 8px;
    min-height: 50px;
    border: 0;
    border-radius: 16px;
    background: #394f6b;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.login-submit:hover {
    background: #2f435d;
}
.login-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 2px solid rgba(57, 79, 107, 0.35);
    border-radius: 18px;
    background: rgba(255, 247, 230, 0.88);
    color: #394f6b;
    box-shadow: 0 8px 18px rgba(49, 73, 104, 0.07);
}

.login-user {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.login-sep {
    width: 1px;
    height: 18px;
    background: rgba(57, 79, 107, 0.25);
}

.login-link.is-logout {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    min-height: auto;
}

.login-link.is-logout:hover {
    transform: none;
    background: transparent;
    text-decoration: underline;
}

.login-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #eef7ec;
    border: 1px solid #b6d3af;
    color: #2f6b2f;
    font-weight: 600;
}

.reset-debug-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
    color: #2f6b2f;
    text-decoration: underline;
    word-break: break-word;
}

.hero.hero-compact {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 18px 40px rgba(41, 56, 78, 0.10);
}

.hero.hero-compact .hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero.hero-compact .hero-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(45, 43, 38, 0.62) 0%,
            rgba(45, 43, 38, 0.42) 28%,
            rgba(45, 43, 38, 0.08) 55%,
            rgba(45, 43, 38, 0.02) 100%);
    pointer-events: none;
}

.hero-top.hero-top-compact {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    z-index: 3;
}

.hero-copy.hero-copy-compact {
    position: absolute;
    left: 5.5%;
    bottom: 46px;
    z-index: 3;
    color: #fff;
    max-width: 640px;
}

.hero-copy.hero-copy-compact .eyebrow {
    margin: 0 0 6px;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hero-copy.hero-copy-compact h1 {
    margin: 0;
    font-size: clamp(1.9rem, 2.8vw, 2rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.20);
}

.hero-copy.hero-copy-compact .hero-rule {
    display: inline-block;
    width: 86px;
    height: 5px;
    border-radius: 999px;
    background: #d6b041;
    margin: 18px 0 18px;
}

.hero-copy.hero-copy-compact .hero-text {
    margin: 0;
    font-size: clamp(1rem, 1.7vw, 1.4rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
    .hero.hero-compact {
        min-height: 360px;
    }

    .hero.hero-compact .hero-image {
        height: 360px;
    }

    .hero-copy.hero-copy-compact {
        left: 24px;
        right: 24px;
        bottom: 30px;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .hero-top.hero-top-compact {
        padding: 18px;
    }

    .hero.hero-compact {
        min-height: 320px;
        border-radius: 0 0 22px 22px;
    }

    .hero.hero-compact .hero-image {
        height: 320px;
    }

    .hero-copy.hero-copy-compact .eyebrow {
        font-size: 1rem;
    }

    .hero-copy.hero-copy-compact h1 {
        font-size: 2rem;
    }

    .hero-copy.hero-copy-compact .hero-text {
        font-size: 1rem;
    }
}

.page-hero-copy {
    max-width: 560px;
}

.page-hero-copy .eyebrow {
    font-size: clamp(1.05rem, 1.8vw, 1.7rem);
    margin-bottom: 8px;
}

.page-hero-copy h1 {
    font-size: clamp(2rem, 3.6vw, 3.8rem);
    line-height: 1.02;
}

.page-hero-copy .hero-text {
    max-width: 34ch;
    font-size: clamp(1rem, 1.45vw, 1.32rem);
    line-height: 1.5;
}

.page-hero-copy {
    position: absolute;
    left: 5.5%;
    bottom: 46px;
    z-index: 3;
    color: #fff;
    max-width: 560px;
}

.page-hero-copy .eyebrow {
    margin: 0 0 8px;
    font-size: clamp(1.05rem, 1.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.page-hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.8rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.20);
}

.page-hero-copy .hero-rule {
    display: inline-block;
    width: 86px;
    height: 5px;
    border-radius: 999px;
    background: #d6b041;
    margin: 18px 0 18px;
}

.page-hero-copy .hero-text {
    margin: 0;
    max-width: 34ch;
    font-size: clamp(1rem, 1.45vw, 1.32rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
    .page-hero-copy {
        left: 24px;
        right: 24px;
        bottom: 30px;
        max-width: none;
    }
}

.check-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    margin: 0;
    transform: none;
    accent-color: #394f6b;
}

@media (max-width: 760px) {

    .hero {
        min-height: 360px;
        border-radius: 0 0 22px 22px;
        overflow: hidden;
    }

    .hero-top,
    .hero-top-compact {
        align-items: flex-start;
        padding: 14px;
    }

    .brand-logo {
        width: 82px;
        height: 82px;
        max-width: 82px;
    }

    .brand {
        width: 82px;
        height: 82px;
        flex: 0 0 82px;
    }

    .login-box,
    .login-link {
        position: absolute;
        top: 14px;
        right: 14px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 999px;
        z-index: 20;
        background: rgba(255, 253, 248, 0.92);
    }

    .hero-copy,
    .hero-copy-compact {
        left: 22px;
        right: 22px;
        bottom: 28px;
        max-width: calc(100% - 44px);
    }

    .hero-copy h1,
    .hero-copy-compact h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 0.98;
        max-width: 100%;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 100%;
    }
}

.brand-logo,
.brand {
    width: 104px;
    height: 104px;
    max-width: 104px;
}


    .hero-top,
    .hero-top-compact{
        padding:12px 14px !important;
    }

    .login-box,
    .login-link{
        transform:scale(.88);
        transform-origin:right top;
    }

    .hero-copy,
    .hero-copy-compact{
        left:20px !important;
        right:20px !important;
        bottom:26px !important;
    }
}



    .login-box,
    .login-link{
        top:10px !important;
        right:10px !important;
        font-size:13px !important;
        min-height:34px !important;
        padding:0 10px !important;
    }
}


/* liggende mobil */
@media screen and (max-height: 500px){

    .brand,
    .brand-logo{
        width:44px !important;
        height:44px !important;
        max-width:44px !important;
    }

    .hero{
        min-height:300px !important;
    }
}

.agenda-list{
    background:#fffdfa;
    border:1px solid rgba(57,79,107,.12);
    border-radius:18px;
    padding:20px 26px;
}

.agenda-line{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:14px;
    padding:10px 0;
    border-bottom:1px solid #ececec;
}

.agenda-line:last-child{
    border-bottom:none;
}

.agenda-nr{
    font-weight:800;
    color:#394f6b;
}

.agenda-text{
    font-weight:600;
    color:var(--text);
    line-height:1.4;
}


.location-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 28px auto;
    display: grid;
    gap: 24px;
}

.location-card {
    background: rgba(255,253,248,0.96);
    border: 2px solid rgba(57,79,107,0.18);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.location-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.map-card iframe{
    width:100%;
    height:420px;
    border:0;
    border-radius:18px;
}

.location-card h1,
.location-card h2{
    margin-top:0;
    color:var(--text);
}

@media (max-width:800px){
   .location-grid{
      grid-template-columns:1fr;
   }
}

/* er udråbt til den rigtige */

.brand {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
}

.brand-logo {
    width: 104px;
    height: 104px;
    max-width: none;
    object-fit: contain;
}

@media screen and (max-width: 900px) {
    .brand {
        width: 68px !important;
        height: 68px !important;
        flex: 0 0 68px !important;
    }

    .brand-logo {
        width: 68px !important;
        height: 68px !important;
        max-width: none !important;
    }
}

@media screen and (max-width: 600px) {
    .brand {
        width: 58px !important;
        height: 58px !important;
        flex: 0 0 58px !important;
    }

    .brand-logo {
        width: 58px !important;
        height: 58px !important;
        max-width: none !important;
    }
}

@media screen and (max-width: 760px) {

    .hero-top,
    .hero-top-compact {
        align-items: flex-start !important;
    }

    .login-box {
        top: 12px !important;
        right: 12px !important;
        min-height: 44px !important;
        padding: 0 14px !important;
        gap: 10px !important;
        z-index: 50 !important;
        transform: none !important;
    }

    .login-user {
        max-width: 90px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 13px !important;
    }

    .login-sep {
        height: 20px;
    }

    .login-link.is-logout {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 44px !important;
        padding: 0 4px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        position: static !important;
    }

    .login-link:not(.is-logout) {
        min-height: 44px !important;
        padding: 0 16px !important;
        z-index: 50 !important;
        transform: none !important;
    }
}

@media screen and (max-width: 760px) {

    .hero-top.hero-top-compact {
        align-items: flex-start !important;
        padding: 12px 12px !important;
    }

    .login-box,
    .login-link {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        min-height: 48px !important;
        min-width: 92px !important;
        padding: 0 16px !important;
        font-size: 15px !important;
        border-radius: 999px !important;
        z-index: 999 !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-box {
        gap: 10px !important;
    }

    .login-user {
        max-width: 88px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        font-size: 13px !important;
    }

    .login-link.is-logout {
        position: static !important;
        min-height: 48px !important;
        min-width: 54px !important;
        padding: 0 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media screen and (max-width: 760px) {
    .hero-fade,
    .hero-image,
    .hero-copy,
    .hero-copy-compact {
        pointer-events: none !important;
    }

    .hero-top,
    .hero-top-compact,
    .login-box,
    .login-link {
        pointer-events: auto !important;
        z-index: 9999 !important;
    }
}

/* Mobil portrait: tving 2 kort pr. række på de fleste telefoner */
@media screen and (max-width:760px){

.cards-grid{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:14px !important;
}

.feature-card{
min-height:150px !important;
padding:16px 16px 20px !important;
}

.feature-icon{
width:42px !important;
height:42px !important;
margin-bottom:12px !important;
}

.feature-icon svg{
width:24px !important;
height:24px !important;
}

.feature-card h2{
font-size:18px !important;
line-height:1.15 !important;
margin-bottom:8px !important;
}

.feature-card p{
font-size:14px !important;
line-height:1.3 !important;
}

.feature-arrow{
width:24px !important;
height:24px !important;
}
}

/* Meget smalle skærme: falder tilbage til 1 kolonne */
@media screen and (max-width: 360px) {
    .cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Låste drift-kort */
.feature-card.is-locked,
.feature-card-button.is-locked {
    min-height: 145px !important;
    padding: 18px 24px !important;
    opacity: 0.58;
}

.feature-card.is-locked h2,
.feature-card-button.is-locked h2 {
    font-size: clamp(15px, 1.5vw, 20px) !important;
}

.feature-card.is-locked p,
.feature-card-button.is-locked p {
    font-size: clamp(13px, 1vw, 16px) !important;
    line-height: 1.35 !important;
}

.feature-card.is-locked .feature-icon,
.feature-card-button.is-locked .feature-icon {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 16px !important;
}

.feature-card.is-locked .feature-icon svg,
.feature-card-button.is-locked .feature-icon svg {
    width: 28px !important;
    height: 28px !important;
}

@media screen and (max-width: 760px) {
    .feature-card.is-locked,
    .feature-card-button.is-locked {
        min-height: 150px !important;
        padding: 16px 16px 20px !important;
    }

    .feature-card.is-locked h2,
    .feature-card-button.is-locked h2 {
        font-size: 18px !important;
    }

    .feature-card.is-locked p,
    .feature-card-button.is-locked p {
        font-size: 14px !important;
    }

    .feature-card.is-locked .feature-icon,
    .feature-card-button.is-locked .feature-icon {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 12px !important;
    }

    .feature-card.is-locked .feature-icon svg,
    .feature-card-button.is-locked .feature-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .lock-note {
        display: none !important;
    }

    .lock-badge,
    .role-badge {
        font-size: 10px !important;
        min-height: 22px !important;
        padding: 3px 7px !important;
    }
}

/* Ret låste drift-kort så de matcher almindelige cards */
.cards-grid-drift .feature-card,
.cards-grid-drift .feature-card-button {
    min-height: 145px !important;
    padding: 18px 24px !important;
    border-radius: var(--radius-card) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.cards-grid-drift .feature-card-button {
    display: block !important;
    text-align: left !important;
}

.cards-grid-drift .feature-card-header {
    margin-bottom: 12px !important;
}

.cards-grid-drift .role-badge,
.cards-grid-drift .lock-badge {
    min-height: 22px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
}

.cards-grid-drift .feature-icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 14px !important;
}

.cards-grid-drift .feature-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.cards-grid-drift .feature-card h2,
.cards-grid-drift .feature-card-button h2 {
    font-size: 18px !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
}

.cards-grid-drift .feature-card p,
.cards-grid-drift .feature-card-button p {
    font-size: 14px !important;
    line-height: 1.3 !important;
    max-width: none !important;
}

.cards-grid-drift .lock-note {
    display: none !important;
}

.cards-grid-drift .feature-arrow {
    width: 24px !important;
    height: 24px !important;
    right: 18px !important;
    bottom: 16px !important;
}

@media screen and (max-width:760px) {
    .cards-grid-drift .feature-card,
    .cards-grid-drift .feature-card-button {
        min-height: 135px !important;
        padding: 14px 14px 18px !important;
    }

    .cards-grid-drift .feature-icon {
        width: 36px !important;
        height: 36px !important;
        margin-bottom: 10px !important;
    }

    .cards-grid-drift .feature-card h2,
    .cards-grid-drift .feature-card-button h2 {
        font-size: 15px !important;
    }

    .cards-grid-drift .feature-card p,
    .cards-grid-drift .feature-card-button p {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 760px) {

    .cards-grid.cards-grid-drift {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .cards-grid-drift .feature-card,
    .cards-grid-drift .feature-card-button {
        min-height: 128px !important;
        padding: 12px 12px 16px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .cards-grid-drift .feature-card-header {
        margin-bottom: 6px !important;
        gap: 4px !important;
    }

    .cards-grid-drift .role-badge,
    .cards-grid-drift .lock-badge {
        min-height: 18px !important;
        padding: 2px 6px !important;
        font-size: 8px !important;
        letter-spacing: 0.03em !important;
    }

    .cards-grid-drift .feature-icon {
        width: 30px !important;
        height: 30px !important;
        margin-bottom: 8px !important;
    }

    .cards-grid-drift .feature-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .cards-grid-drift .feature-card h2,
    .cards-grid-drift .feature-card-button h2 {
        font-size: 13px !important;
        line-height: 1.12 !important;
        margin-bottom: 5px !important;
    }

    .cards-grid-drift .feature-card p,
    .cards-grid-drift .feature-card-button p {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .cards-grid-drift .lock-note {
        display: none !important;
    }

    .cards-grid-drift .feature-arrow {
        width: 18px !important;
        height: 18px !important;
        right: 10px !important;
        bottom: 10px !important;
    }
}