/* Tving hvid baggrund og mørk, læsbar tekst på den mørke hjemmeside */
.Firmafon-external-css-widget-container {
    background: #ffffff !important;
    border: 1px solid #d9dee7 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.Firmafon-external-css-widget-container,
.Firmafon-external-css-widget-container h2,
.Firmafon-external-css-widget-container p,
.Firmafon-external-css-widget-container div,
.Firmafon-external-css-widget-container span,
.Firmafon-external-css-widget-container a,
.Firmafon-external-css-widget-container strong,
.Firmafon-external-css-widget-container .Firmafon-external-css-widget-phone-number a {
    color: #1f2937 !important;
}

.Firmafon-external-css-widget-container .Firmafon-external-css-widget-phone-number a {
    font-weight: 800 !important;
    font-size: 22px !important;
    color: #111827 !important;
}

.Firmafon-external-css-widget-container .Firmafon-external-css-widget-opening-hours {
    color: #4b5563 !important;
}

.Firmafon-external-css-widget-container a.Firmafon-opening-hours-link-for-4552527327 {
    color: #2563eb !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}/* ==========================================================================
   Din-Server Group ApS – Stylesheet
   ========================================================================== */

:root {
    --bg: #0b1220;
    --bg-soft: #101a2e;
    --bg-card: #131f36;
    --text: #e8eef7;
    --text-muted: #93a3bc;
    --primary: #4f8cff;
    --accent: #27c2a3;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3668d6);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 140, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(79, 140, 255, 0.45);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(11, 18, 32, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 200px;
    max-height: 38px;
    object-fit: contain;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(79, 140, 255, 0.35);
}

.logo-text {
    font-weight: 500;
    font-size: 1.05rem;
}

.logo-text strong {
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    background:
        radial-gradient(ellipse 80% 60% at 70% 10%, rgba(79, 140, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 90%, rgba(39, 194, 163, 0.14), transparent 60%),
        var(--bg);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(11, 18, 32, 0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-overlay-hidden {
    display: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(39, 194, 163, 0.8);
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
    position: relative;
    padding: 100px 0;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.12);
    border: 1px solid rgba(79, 140, 255, 0.3);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   About / Stats
   ========================================================================== */

.about {
    background: var(--bg-soft);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 140, 255, 0.4);
}

.stat-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Company cards
   ========================================================================== */

.company-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 140, 255, 0.35);
    box-shadow: var(--shadow);
}

.company-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.company-logo {
    display: grid;
    place-items: center;
    width: 120px;
    height: 72px;
    padding: 10px;
    border-radius: 14px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-info {
    flex: 1;
    min-width: 180px;
}

.company-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.company-role a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.company-role a:hover {
    text-decoration: underline;
}

.company-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.company-tags span {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
    background:
        radial-gradient(ellipse 70% 80% at 50% 120%, rgba(79, 140, 255, 0.22), transparent 60%),
        var(--bg-soft);
    text-align: center;
}

.cta-inner {
    max-width: 640px;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding-top: 70px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand .logo-mark {
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col li:not(:has(a)) {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-phone-note {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(79, 140, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-phone-note strong {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.team-card {
    background: var(--bg-surface, #121b2e);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(, 0, 0, 0.35);
}

.team-photo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 14px rgba(79, 140, 255, 0.3);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .stats {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 76px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        background: var(--bg-soft);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1.05rem;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .hero {
        padding: 120px 0 90px;
    }

    .company-top .btn-small {
        width: 100%;
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll-line {
        animation: none;
    }
}

/* ==========================================================================
   Firmafon widget (telefon) – Gør boksen hvid og læsbar
   ========================================================================== */

/* 1) Selve boksen: hvid baggrund + mørk tekst. Gælder uanset placering */
.Firmafon-external-css-widget-container {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d9dee7 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

/* 2) Al tekst i boksen: mørk og læsbar */
.Firmafon-external-css-widget-container h2,
.Firmafon-external-css-widget-container p,
.Firmafon-external-css-widget-container div,
.Firmafon-external-css-widget-container span,
.Firmafon-external-css-widget-container strong,
.Firmafon-external-css-widget-container a {
    color: #111827 !important;
}

/* 3) Telefonnummeret ekstra tydeligt */
.Firmafon-external-css-widget-container .Firmafon-external-css-widget-phone-number a {
    color: #0a0f1e !important;
    font-weight: 800 !important;
}

/* 4) Links (fx "Se åbningstider") i accentfarve – stadig nem at læse */
.Firmafon-external-css-widget-container .Firmafon-opening-hours-link-for-4552527327 {
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

.cta .Firmafon-widget-4552527327,
.footer .Firmafon-widget-4552527327 {
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
}

.cta .Firmafon-widget-4552527327 iframe,
.footer .Firmafon-widget-4552527327 iframe {
    max-width: 100%;
}

.footer .Firmafon-widget-4552527327 {
    margin: 18px 0 0;
    justify-content: flex-start;
}

/* ==========================================================================
   Servicevilkår side (page-hero + terms)
   ========================================================================== */

.page-hero {
    padding: 160px 0 60px;
    background:
        radial-gradient(ellipse 80% 60% at 70% 10%, rgba(79, 140, 255, 0.15), transparent 60%),
        var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.page-hero .section-head {
    margin-bottom: 0;
}

.page-hero .section-head h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero .section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.terms {
    padding-top: 60px;
}

.terms-content {
    max-width: 820px;
    margin: 0 auto;
}

.term-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 44px;
    margin-bottom: 36px;
    text-align: center;
}

.term-block h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.term-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--primary);
}

.term-block p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.term-block p:last-child {
    margin-bottom: 0;
}

.term-block ul {
    list-style: disc;
    padding-left: 0;
    margin-bottom: 16px;
    display: inline-block;
    text-align: left;
}

.term-block ul li {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.term-block ul li strong {
    color: var(--text);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 40px;
    }

    .term-block {
        padding: 28px 22px;
        margin-bottom: 28px;
    }
}
