/* Privat hub. Shared Garbæk IT tokens, controls and chrome come from erhverv.css. */

.private-page {
    background: var(--off-white);
}

.private-page main {
    overflow: hidden;
}

.private-page .primary-nav > a:not(.button),
.private-page .footer-main nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.primary-nav [aria-current="page"] {
    color: var(--white);
}

.breadcrumb-wrap {
    color: #bed0ca;
    background: var(--dark);
}

.breadcrumbs {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.breadcrumbs li:not(:last-child)::after {
    color: #718a83;
    content: "→";
}

.breadcrumbs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #dce7e3;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs [aria-current="page"] {
    color: #91aaa2;
}

.private-hero {
    position: relative;
    color: var(--white);
    background: var(--dark);
}

.private-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 82% 33%, rgba(125, 159, 146, 0.12), transparent 26%),
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
    pointer-events: none;
}

.private-hero-layout {
    position: relative;
    z-index: 1;
    min-height: 630px;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.72fr);
    align-items: center;
    gap: clamp(54px, 8vw, 112px);
    padding-block: clamp(76px, 9vw, 118px);
}

.private-hero-layout > * {
    min-width: 0;
}

.private-hero h1 {
    max-width: 760px;
    margin: 19px 0 0;
    color: var(--white);
    font-size: clamp(50px, 6.4vw, 82px);
    font-weight: 590;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.private-hero-intro {
    max-width: 700px;
    margin: 27px 0 0;
    color: #c8d6d2;
    font-size: clamp(18px, 1.9vw, 21px);
    line-height: 1.62;
}

.private-hero-note {
    max-width: 680px;
    margin: 17px 0 0;
    color: #9fb4ae;
    font-size: 14px;
}

.private-hero .button-row {
    margin-top: 34px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    list-style: none;
}

.hero-facts li {
    position: relative;
    padding-left: 14px;
    color: #aebfba;
    font-size: 12px;
}

.hero-facts li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--accent);
    border-radius: 50%;
}

.home-status {
    min-height: 410px;
    padding: 24px;
    background: rgba(32, 57, 68, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 32px 85px rgba(0, 0, 0, 0.24);
}

.status-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 17px;
    color: #9eb1ac;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-topline span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d9e7e2;
}

.status-topline span:last-child::before {
    width: 7px;
    height: 7px;
    content: "";
    background: #a9c2b8;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(169, 194, 184, 0.09);
}

.status-flow {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.status-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: #deebe7;
    background: #284651;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
}

.status-step > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #b8cec7;
    background: rgba(172, 202, 191, 0.09);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 780;
}

.status-step strong,
.status-step small {
    display: block;
}

.status-step strong {
    font-size: 13px;
}

.status-step small {
    margin-top: 2px;
    color: #9db1ab;
    font-size: 10px;
}

.status-result {
    margin-top: 17px;
    padding: 15px 17px;
    color: #ead39b;
    background: rgba(217, 164, 65, 0.08);
    border: 1px solid rgba(217, 164, 65, 0.22);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.private-section {
    padding-block: clamp(78px, 9vw, 124px);
}

.section-white { background: var(--white); }
.section-soft { background: var(--green-light); }
.section-dark { color: var(--white); background: var(--dark); }

.private-heading {
    max-width: 810px;
    margin-bottom: clamp(38px, 5vw, 62px);
}

.private-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: clamp(34px, 8vw, 108px);
}

.private-heading h2,
.private-section h2,
.private-section h3 {
    color: var(--dark);
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.private-heading h2,
.private-section > .container > h2 {
    margin: 8px 0 0;
    font-size: clamp(35px, 4.6vw, 56px);
    font-weight: 610;
    letter-spacing: -0.047em;
    line-height: 1.08;
}

.private-heading p:last-child,
.private-heading > div > p:last-child {
    margin: 21px 0 0;
    color: var(--text-muted);
}

.section-dark .private-heading p:last-child,
.section-dark .private-heading > div > p:last-child {
    color: #bdceca;
}

.micro-label {
    margin: 0;
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-dark .micro-label {
    color: #a7bdb5;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.problem-card {
    min-height: 208px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 11px;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.problem-card:hover {
    border-color: #9eb3ac;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.problem-card > span:first-child {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.problem-card strong {
    margin-top: 28px;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.25;
}

.problem-card small {
    margin-top: auto;
    padding-top: 19px;
    color: var(--text-muted);
    font-size: 12px;
}

.service-grid-private {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card-private {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    padding: 31px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.service-card-private > span:first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.service-card-private h3 {
    margin: 30px 0 0;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.service-card-private p {
    margin: 16px 0 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.service-card-private .card-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    color: var(--green-dark);
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.feature-layout,
.security-layout,
.backup-layout,
.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.65fr);
    align-items: start;
    gap: clamp(48px, 9vw, 120px);
}

.feature-copy h2,
.security-copy h2,
.backup-copy h2,
.support-copy h2 {
    margin: 9px 0 0;
    font-size: clamp(35px, 4.5vw, 54px);
    font-weight: 610;
    letter-spacing: -0.047em;
    line-height: 1.08;
}

.feature-copy > p:not(.micro-label),
.security-copy > p:not(.micro-label),
.backup-copy > p:not(.micro-label),
.support-copy > p:not(.micro-label) {
    margin: 22px 0 0;
    color: var(--text-muted);
}

.section-dark .security-copy > p:not(.micro-label),
.section-dark .support-copy > p:not(.micro-label) {
    color: #bdceca;
}

.topic-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topic-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 17px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.topic-list li > span:first-child {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
}

.topic-list strong,
.topic-list small {
    display: block;
}

.topic-list strong {
    color: var(--dark);
    font-size: 14px;
}

.topic-list small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
}

.inline-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.section-dark .inline-link {
    color: #e2ece8;
}

.safety-panel,
.support-panel,
.backup-panel {
    padding: 31px;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
}

.section-white .support-panel,
.section-soft .backup-panel {
    background: var(--white);
    border-color: var(--border);
}

.safety-panel h3,
.support-panel h3,
.backup-panel h3 {
    margin: 0;
    color: var(--white);
    font-size: 22px;
    font-weight: 650;
}

.section-white .support-panel h3,
.section-soft .backup-panel h3 {
    color: var(--dark);
}

.plain-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.plain-list li {
    position: relative;
    padding: 10px 0 10px 21px;
    color: #c8d6d2;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
}

.section-white .support-panel .plain-list li,
.section-soft .backup-panel .plain-list li {
    color: var(--text-muted);
    border-color: var(--border);
}

.plain-list li::before {
    position: absolute;
    top: 1.4em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: #8eaca1;
    border-radius: 50%;
}

.solution-note {
    margin-top: 27px;
    padding: 21px;
    color: #c9d7d3;
    background: rgba(255, 255, 255, 0.045);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-size: 13px;
}

.solution-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
}

.backup-checks {
    display: grid;
    gap: 11px;
    margin-top: 23px;
}

.backup-checks div {
    padding: 16px 17px;
    background: #f5f7f6;
    border: 1px solid var(--border);
    border-radius: 7px;
}

.backup-checks strong,
.backup-checks span {
    display: block;
}

.backup-checks strong {
    color: var(--dark);
    font-size: 13px;
}

.backup-checks span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.support-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.support-mode {
    min-height: 270px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.support-mode > span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.support-mode h3 {
    margin: 28px 0 0;
    font-size: 21px;
}

.support-mode p {
    margin: 15px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.guide-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

.guide-card:hover {
    border-color: #9eb3ac;
    transform: translateY(-3px);
}

.guide-card > span:first-child {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.guide-card h3 {
    margin: 27px 0 0;
    font-size: 19px;
}

.guide-card p {
    margin: 12px 0 23px;
    color: var(--text-muted);
    font-size: 13px;
}

.guide-card .card-link {
    margin-top: auto;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 750;
}

.local-band-private {
    color: var(--white);
    background: var(--green-dark);
}

.local-inner {
    min-height: 180px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding-block: 38px;
}

.local-inner h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 610;
    letter-spacing: -0.04em;
}

.local-inner p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #c9d8d3;
}

@media (max-width: 1060px) {
    .private-hero-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 46px;
    }

    .service-grid-private,
    .problem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .private-hero-layout,
    .private-heading.split,
    .feature-layout,
    .security-layout,
    .backup-layout,
    .support-layout,
    .local-inner {
        grid-template-columns: 1fr;
    }

    .private-hero-layout {
        min-height: auto;
    }

    .home-status {
        width: min(100%, 580px);
    }

    .local-inner .button {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .problem-grid,
    .service-grid-private,
    .support-compare,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .service-card-private,
    .support-mode,
    .guide-card {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .private-hero-layout {
        padding-block: 62px 72px;
    }

    .private-hero h1 {
        font-size: clamp(43px, 14vw, 60px);
    }

    .home-status {
        min-height: 0;
        padding: 18px;
    }

    .service-card-private,
    .safety-panel,
    .support-panel,
    .backup-panel {
        padding: 25px;
    }

    .topic-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
