/* ---------------------------------------------------------------- */
/* 1. Grundlæggende Layout & Header                                 */
/* ---------------------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background-color: #eafce8;
    color: #1a1a1a;
    line-height: 1.6;
}

header {
    background-color: #2e7d32;
    text-align: center;
    padding: 0;
}

.header-main-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    text-decoration: none;
    padding: 10px 0;
}

.logo-group {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

/* ---------------------------------------------------------------- */
/* 2. Navigation & Dropdown                                         */
/* ---------------------------------------------------------------- */
.navbar {
    background-color: #333;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-btn,
.dropbtn {
    background: transparent !important;
    border: none;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
    color: #ffffff !important;
    padding: 10px 18px !important;
    text-decoration: none;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-family: inherit;
    display: inline-block;
}

.nav-btn:hover,
.dropdown:hover .dropbtn {
    font-weight: 900 !important;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}

.active-nav {
    font-weight: 900 !important;
    color: #ffffff !important;
    border-bottom: 3px solid #ffffff !important;
    padding-bottom: 5px !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dropdown:hover .dropdown-content,
.dropdown.is-open .dropdown-content {
    display: block;
}

/* ---------------------------------------------------------------- */
/* 3. Artikel-indhold & Layout                                      */
/* ---------------------------------------------------------------- */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: left;
}

.artikel-indhold h1,
h1 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}
.artikel-indhold h2,
h2 {
    font-size: 1.8em;
    margin-top: 1.5rem;
}
p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

/* ---------------------------------------------------------------- */
/* 4. Footer & App Layout                                           */
/* ---------------------------------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #666;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.apps-main {
    max-width: 1100px;
}

.app-item {
    text-align: center;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.2s ease;
}

.app-item a {
    display: block;
    text-decoration: none; /* 🔥 FJERN understregning */
    color: inherit; /* 🔥 FJERN blå linkfarve */
    transition: transform 0.2s ease;
}

.app-item a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.app-item p,
.app-item span {
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 10px;
}

.app-item img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
}

.app-text {
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a1a1a;
}

.device-reset-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 28px;
    align-items: center;
    margin: 64px 0 10px;
    padding: 28px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f8fbf7;
}

.device-reset-eyebrow {
    margin: 0 0 8px;
    color: #1f4f2b;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.device-reset-card h2 {
    margin: 0 0 10px;
    color: #1d2a22;
    font-size: 1.7rem;
}

.device-reset-card p {
    margin: 0;
    color: #5d6d63;
}

.device-reset-action {
    display: grid;
    gap: 10px;
}

.device-reset-button {
    min-height: 50px;
    border: 2px solid #c9d8cc;
    border-radius: 8px;
    background: #ffffff;
    color: #1f4f2b;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.device-reset-button.is-holding {
    border-color: #2e6c3d;
    background: #eef6ed;
}

.device-reset-button:disabled {
    cursor: default;
    opacity: 0.72;
}

.device-reset-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce7de;
}

.device-reset-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #2e6c3d;
    transition: width 0.08s linear;
}

.device-reset-help {
    font-size: 0.95rem;
}

.parent-reset-note {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f8fbf7;
}

.parent-reset-note strong {
    color: #1f4f2b;
}

.parent-reset-note span {
    color: #5d6d63;
}

.parent-reset-note a {
    color: #1f4f2b;
    font-weight: 900;
    text-decoration: none;
}

.fb-link-container {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
    width: fit-content;
}

/* ---------------------------------------------------------------- */
/* 5. PC Optimering (Over 1025px)                                   */
/* ---------------------------------------------------------------- */
@media (min-width: 1025px) {
    .site-title {
        font-size: 3rem !important;
    }
}

/* ---------------------------------------------------------------- */
/* 6. Mobil Fix (Under 600px) - Rullemenu + Dropdown                */
/* ---------------------------------------------------------------- */
@media (max-width: 600px) {
    .tekst-foto-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .device-reset-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .nav-container {
        max-width: 100%;
        overflow: visible !important;
        justify-content: center !important;
        padding: 0 4px;
        display: flex;
    }

    .nav-links {
        width: 100%;
        justify-content: space-around;
        display: flex !important;
        white-space: nowrap !important;
        gap: 0;
    }

    .nav-btn,
    .dropbtn {
        font-size: 0.95rem !important;
        padding: 10px 7px !important;
    }

    .dropdown-content {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        min-width: 0;
        max-width: none;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        z-index: 99999 !important;
        background-color: #ffffff !important;
        box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.5) !important;
        border-radius: 8px;
        transform: none !important;
        white-space: normal;
    }

    .dropdown-content a {
        color: #333 !important;
        padding: 12px 16px !important;
        font-size: 1rem !important;
        line-height: 1.3;
        border-bottom: 1px solid #eee;
        white-space: normal;
        display: block;
        text-align: left;
    }
}

@media (max-width: 360px) {
    .nav-btn,
    .dropbtn {
        font-size: 0.84rem !important;
        padding: 10px 4px !important;
    }
}

/* ---------------------------------------------------------------- */
/* 7. English landing page                                          */
/* ---------------------------------------------------------------- */
.language-nav {
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 999px;
}

.english-landing {
    max-width: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1d2a22;
}

.en-hero,
.en-section {
    padding: 72px 20px;
}

.en-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.en-hero-copy h1 {
    margin: 0;
    color: #1d2a22;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.en-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #1f4f2b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.en-eyebrow::before,
.en-hero-media p span {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #efb84f;
    flex: 0 0 auto;
}

.en-lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: #4e6256;
    font-size: 1.25rem;
    font-weight: 550;
    line-height: 1.55;
}

.en-actions,
.en-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.en-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 2px solid #cdded0;
    border-radius: 8px;
    color: #1f4f2b;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.en-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(31, 79, 43, 0.14);
}

.en-button-primary {
    border-color: #2e6c3d;
    background: #2e6c3d;
    color: #ffffff;
}

.en-button-secondary {
    background: #ffffff;
}

.en-button-light {
    border-color: #ffffff;
    background: #ffffff;
    color: #1f4f2b;
}

.en-text-link {
    color: #1f4f2b;
    font-weight: 900;
    text-decoration: none;
}

.en-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.en-trust-list li {
    padding: 8px 14px;
    border: 1px solid #dce7de;
    border-radius: 999px;
    color: #405347;
    background: #ffffff;
    font-weight: 850;
}

.en-hero-media {
    display: grid;
    gap: 14px;
}

.en-hero-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.en-hero-media img {
    width: 100%;
    margin: 0;
    border: 1px solid #dce7de;
    border-radius: 8px;
    box-shadow: 0 20px 42px rgba(47, 83, 58, 0.14);
}

.product-landing .en-hero-media img {
    object-fit: contain;
    background: #f8fbf7;
}

.en-hero-media p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #ffffff;
    color: #4e6256;
    font-weight: 650;
    box-shadow: 0 14px 30px rgba(47, 83, 58, 0.1);
}

.en-section-muted {
    background: #f4f8f2;
}

.en-section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.en-section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.en-section-heading h2,
.en-final-cta h2 {
    margin: 0;
    color: #1d2a22;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.en-section-heading p,
.en-final-cta p {
    margin: 16px 0 0;
    color: #5d6d63;
    font-size: 1.08rem;
    line-height: 1.55;
}

.en-fit-grid,
.en-audience-grid,
.en-stage-grid,
.en-faq-grid {
    display: grid;
    gap: 20px;
}

.en-fit-grid {
    grid-template-columns: repeat(4, 1fr);
}

.en-fit-item,
.en-simple-card,
.en-stage-card,
.en-faq-grid article {
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #ffffff;
}

.en-fit-item {
    min-height: 136px;
    padding: 18px;
}

.en-fit-item strong,
.en-stage-card strong {
    display: block;
    margin-bottom: 8px;
    color: #1f4f2b;
    font-size: 1.02rem;
}

.en-fit-item span,
.en-stage-card span,
.en-faq-grid p {
    color: #5d6d63;
    line-height: 1.45;
}

.en-how-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 34px;
    align-items: center;
}

.en-steps {
    display: grid;
    gap: 14px;
}

.en-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #ffffff;
}

.en-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2e6c3d;
    color: #ffffff;
    font-weight: 900;
}

.en-step h3,
.en-simple-card h3,
.en-faq-grid h3 {
    margin: 0 0 6px;
    color: #1d2a22;
    font-size: 1.08rem;
}

.en-step p,
.en-simple-card p {
    margin: 0;
    color: #5d6d63;
    line-height: 1.5;
}

.en-demo-card {
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 16px 32px rgba(47, 83, 58, 0.1);
}

.en-demo-screen {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #dce7de;
    background: #122233;
}

.en-demo-screen video {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
}

.en-demo-card p {
    margin: 12px 0 0;
    color: #5d6d63;
}

.en-audience-grid {
    grid-template-columns: repeat(2, 1fr);
}

.en-simple-card {
    padding: 28px;
}

.en-simple-card h3 {
    font-size: 1.55rem;
}

.teacher-note-card {
    align-self: stretch;
}

.teacher-check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.teacher-check-list li {
    padding: 12px 14px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f8fbf7;
    color: #1f4f2b;
    font-weight: 850;
}

.en-stage-grid {
    grid-template-columns: repeat(4, 1fr);
}

.en-stage-card {
    padding: 18px;
}

.en-stage-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 0 16px;
    border-radius: 8px;
}

.en-privacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 30px;
    align-items: center;
}

.en-privacy-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.en-privacy-list li {
    padding: 14px 18px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #ffffff;
    color: #1f4f2b;
    font-weight: 850;
}

.en-faq-grid {
    grid-template-columns: repeat(2, 1fr);
}

.en-faq-grid article {
    padding: 20px;
}

.en-faq-grid p {
    margin: 0;
}

.en-final-cta {
    padding: 72px 20px;
    text-align: center;
    background: #1f4f2b;
    color: #ffffff;
}

.en-final-cta h2,
.en-final-cta p {
    color: #ffffff;
}

.en-final-cta .en-actions,
.en-final-cta .en-button {
    margin-left: auto;
    margin-right: auto;
}

.en-final-cta .en-button {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .en-hero,
    .en-how-grid,
    .en-privacy-grid {
        grid-template-columns: 1fr;
    }

    .en-fit-grid,
    .en-stage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .site-title {
        font-size: 1.8rem;
    }

    .language-nav {
        display: none;
    }

    .en-hero,
    .en-section,
    .en-final-cta {
        padding: 54px 16px;
    }

    .en-hero-copy h1 {
        font-size: 2.5rem;
    }

    .en-lead {
        font-size: 1.08rem;
    }

    .en-actions,
    .en-button {
        width: 100%;
    }

    .en-fit-grid,
    .en-audience-grid,
    .en-stage-grid,
    .en-faq-grid {
        grid-template-columns: 1fr;
    }

    .en-simple-card {
        padding: 22px;
    }

}
