html {
    overflow-y: scroll;
    overflow-x: hidden;
}


:root {
    --bg: #ededed;
    --bg-alt: #f3f4f6;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.1);
    --text: #020617;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-subtle: #e5e7eb;
    --danger: #f97373;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(to right,
        #e5e7eb 0%,
        #f3f4f6 8%,
        #ffffff 22%,
        #ffffff 78%,
        #f3f4f6 92%,
        #e5e7eb 100%);
    color: var(--text);
    line-height: 1.6;

    /* gør at siden altid fylder mindst hele vinduet,
       og at footer kan “klæbe” til bunden når der er lidt indhold */
    min-height: 100%;
    display: flex;
    flex-direction: column;

    /* Undgå horisontal scroll på fx tablet / Fold */
    max-width: 100%;
    overflow-x: hidden;
}


/* main fylder alt mellem header og footer */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}


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


/* Tilgængelighed: skip-link og fokus-styles */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    padding: 0.5rem 0.75rem;
    background: #020617;
    color: #ffffff;
    border-radius: 999px;
    z-index: 1000;
}

.skip-link:focus-visible {
    left: 1rem;
    top: 1rem;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduceret bevægelse for brugere der ønsker det */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Layout / container */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / navigation */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.55));
}

.logo-badge {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #38bdf8, #0ea5e9, #1e293b);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    color: var(--text);
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, #38bdf8, #22c55e);
    transition: width 0.18s ease-out;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background-color: var(--accent-color);
    color: #fff !important;
}



.nav-cta {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #0b1120;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, filter 0.1s ease-out;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.nav-cta:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    left: 0;
}

.nav-toggle span::before {
    top: -5px;
}

.nav-toggle span::after {
    top: 5px;
}

/* Sections */

section {
    padding: 3.4rem 0;
}

section.alt {
    background: #ffffff;
}

.section-title {
    font-size: 1.5rem;
    margin: 0 0 0.4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text);
    max-width: 32rem;
    margin-bottom: 1.8rem;
}
.section-subtitle + .section-subtitle {
    margin-top: 0.8rem;
}

.info-panel .btn-primary.info-panel-cta {
    margin-top: 1.4rem;
}


/* Hero */


/* Tom sektion over hero 1 */
.spacer-top {
    height: 4.5rem;
}

/* Tom sektion mellem hero 1 og 2 */
.spacer-between {
    height: 3rem;
}

/* New full-width hero inspired af Sanocast */
.hero-full {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}

.hero-front {
    background-image: url("hero_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-full .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.70));
    z-index: 1;
}

.hero-full .hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 0;
}




.hero-content {
    max-width: 40rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 0.7rem;
}

.hero-full .hero-title {
    font-size: clamp(2.2rem, 3.2vw + 1rem, 3rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.hero-full .hero-subtitle {
    font-size: 0.98rem;
    max-width: 34rem;
    color: var(--text);
    margin-bottom: 1.6rem;
}
.hero-subtitle + .hero-subtitle {
    margin-top: 0.6rem;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.ghost-link {
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
}

.ghost-link:hover {
    color: #374151;
}

/* Secondary hero (Automation, web & apps) – spacing og fuld bredde ramme */
.hero-secondary {
    margin-bottom: 4rem;
    border-top: 1px solid #1f2933;
    border-bottom: 1px solid #1f2933;
    background: radial-gradient(circle at top left,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.99));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    color: #ffffff;
}



.hero-secondary .container {
    padding: 2.2rem 1.5rem;
}


/* Mobiljusteringer */
@media (max-width: 720px) {
    .hero-full {
        align-items: flex-start;
    }

    .hero-full .hero-inner {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1040px) {
    .hero-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
        align-items: center;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.55rem 0.2rem 0.2rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.95));
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
}

.eyebrow-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #22c55e, #22c55e, #14532d);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 2.7rem);
    line-height: 1.12;
    margin: 0 0 0.9rem;
}

.hero-title span.highlight {
    background: linear-gradient(to right, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text);
    max-width: 36rem;
    margin-bottom: 1.6rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
}

.pill span {
    color: #374151;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.btn-primary {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.btn-primary span.icon {
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
    font-size: 0.86rem;
    cursor: pointer;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Hero card */

.hero-card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.95));
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 1.4rem 1.35rem 1.25rem;
    box-shadow:
        0 22px 50px rgba(15, 23, 42, 0.95),
        0 0 80px rgba(56, 189, 248, 0.5);
    position: relative;
    overflow: hidden;
}


.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    color: #374151;
}

.hero-card-tag {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.8rem;
}

.metric {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 0.9rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.metric-label {
    font-size: 0.7rem;
    color: #6b7280;
}

.metric-value {
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 0.1rem;
}

.metric-sub {
    font-size: 0.7rem;
    color: #6b7280;
}

.hero-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero-card-footer p {
    font-size: 0.75rem;
    color: #374151;
    margin: 0;
    max-width: 11rem;
}

.hero-status-pill {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.8);
    font-size: 0.76rem;
    color: #bbf7d0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.9);
}

/* Cards / grid */

.grid {
    display: grid;
    gap: 1.3rem;
}

@media (min-width: 800px) {
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 1));
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.85);
    color: #ffffff;
}



.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.card p {
    margin: 0;
    font-size: 0.86rem;
    color: #e5e7eb;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.card-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.card-list li {
    font-size: 0.84rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

/* Case styling */

.case {
    border-left: 2px solid rgba(56, 189, 248, 0.6);
    padding-left: 0.9rem;
}

.case-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.4rem;
}

.case-label span {
    color: var(--text);
}

/* Cases layout */

.cases-layout {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1.2rem;
}

.case-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-media {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
    object-fit: cover;
}

.case-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.case-tags .tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.7);
}

.case-body h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.case-body p {
    margin: 0;
}

.case-actions {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-case {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.8);
    background: rgba(15, 23, 42, 0.9);
    color: #e5f9ff;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-case::after {
    content: "→";
    font-size: 0.8rem;
}

.btn-case:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.8);
}

.btn-case:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Sørg for lys tekst i case-kort */

.card.case p,
.card.case .case-label {
    color: #e5e7eb;
}

.card.case .case-label span {
    color: #f9fafb;
}

/* Desktop: billede + tekst side om side */

@media (min-width: 1040px) {
    .case-layout {
        flex-direction: row;
        align-items: stretch;
    }

    .case-media {
        flex: 0 0 42%;
    }

    .case-body {
        flex: 1 1 58%;
    }
}

/* About */

.about-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.about-text p {
    margin-bottom: 0.85rem;
}

@media (min-width: 1040px) {
    .about-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .about-text {
        flex: 2 1 0;
    }

    .about-photo-wrapper {
        flex: 0 0 auto;
    }
}

.about-highlight {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    font-size: 0.86rem;
    color: #e5e7eb;
    max-width: 34rem;
    align-self: flex-start;
}

.about-highlight strong {
    color: var(--text);
}

.traits-list {
    list-style: none;
    padding: 0;
    margin: 0.65rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.traits-list li {
    font-size: 0.82rem;
    color: #f9fafb;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
    align-self: flex-start;
}

.stack-how {
    margin-top: 1.6rem;
}

.stack-how-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.contact-heading {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contact-info p.contact-note {
    margin-top: 0.8rem;
}
/* Tech stack */

.stack-columns {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 800px) {
    .stack-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stack-col h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
}

.stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-list li {
    font-size: 0.84rem;
    color: #e5e7eb;
    padding: 0.12rem 0;
}

/* Kontakt */

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    }
}

.contact-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 1));
    border: 1px solid rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    font-size: 0.9rem;
    color: #ffffff;
}


.contact-info p {
    margin: 0.1rem 0;
    font-size: 0.86rem;
}

.contact-info span.label {
    color: #ffffff;
    font-weight: 500;
}

form {
    display: grid;
    gap: 0.7rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

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

.field input,
.field textarea {
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 0.5rem 0.65rem;
    font-size: 0.86rem;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.field-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.field-inline input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */

footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.1rem 0 1.3rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Mobile navigation */

@media (max-width: 720px) {
    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: rgba(3, 7, 18, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
        flex-direction: column;
        padding: 0.5rem 1.5rem 0.9rem;
        transform-origin: top;
        transform: scaleY(0.8);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.12s ease-out, transform 0.12s ease-out;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

/* === Topbar / navigation overhaul === */

.nav {
    padding: 0.85rem 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        background 0.15s ease-out,
        color 0.15s ease-out,
        border-color 0.15s ease-out,
        box-shadow 0.15s ease-out,
        transform 0.1s ease-out;
}

/* fjern den gamle underline-effekt */
.nav-links a::after {
    content: none;
}

.nav-links a:hover {
    color: #374151;
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--accent);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

/* aktiv side – tydelig knap */
.nav-links a[aria-current="page"] {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

/* på mobil må knapperne gerne fylde hele bredden */
@media (max-width: 720px) {
    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 0.5rem 0.9rem;
        border-radius: 0.7rem;
    }
}


/* Messenger chat bubble */
.chat-bubble {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0%, #38bdf8, #22c55e);
    color: #020617;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    cursor: pointer;
}

.chat-bubble .chat-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.chat-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.8);
}

@media (max-width: 640px) {
    .chat-bubble {
        right: 1rem;
        bottom: 1rem;
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
    }
}


/* Floating chat widget */
.chat-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: radial-gradient(circle at 20% 0%, #38bdf8, #22c55e);
    color: #020617;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    cursor: pointer;
}

.chat-toggle .chat-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.chat-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.8);
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 3.2rem;
    width: 280px;
    max-width: 90vw;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    padding: 0.75rem 0.9rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: none;
}

.chat-panel.open {
    display: block;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.chat-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.chat-field span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.chat-field input,
.chat-field textarea {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid rgba(30, 64, 175, 0.9);
    background: rgba(15, 23, 42, 0.9);
    color: #e2e8f0;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
}

.chat-field textarea {
    resize: vertical;
    min-height: 60px;
}

.chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.2rem;
    color: var(--text);
}

.chat-send {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(to right, #22c55e, #38bdf8);
    color: #020617;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.chat-status {
    font-size: 0.7rem;
    color: #a5b4fc;
}

.hidden-field {
    display: none;
}

@media (max-width: 640px) {
    .chat-widget {
        right: 1rem;
        bottom: 1rem;
    }
}


/* Portrait image styling */
.hero-photo-wrapper {
    max-width: 18rem;
    justify-self: center;
    border-radius: 1.7rem;
    padding: 0.25rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.4rem;
    object-fit: cover;
    object-position: center;
}

.about-photo-wrapper {
    max-width: 18rem;
    border-radius: 1.7rem;
    padding: 0.25rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.about-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.4rem;
    object-fit: cover;
    object-position: center;
}


.info-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2.4rem;
    border-radius: 1.4rem;
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    color: #ffffff;
}




/* Services: hero-inspirerede sektioner */
.service-hero {
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    background: radial-gradient(circle at top left,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.99));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    margin-bottom: 3rem;
    color: #ffffff;
}



.hero-grid-service {
    align-items: stretch;
}

.service-copy {
    padding-right: 2rem;
}

.hero-title-sm {
    font-size: 1.6rem;
}

.service-hero-image {
    border-radius: 1.4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260px;
}

/* Brug samme billede, men med lidt forskellig toning – kan senere skiftes til rigtige fotos */
.service-hero-image-web {
    background-image:
        linear-gradient(135deg, rgba(56, 189, 248, 0.55), rgba(34, 197, 94, 0.35)),
        url("hero_bg.jpg");
}

.service-hero-image-automation {
    background-image:
        linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(59, 130, 246, 0.55)),
        url("hero_bg.jpg");
}

.service-hero-image-robotics {
    background-image:
        linear-gradient(135deg, rgba(147, 51, 234, 0.55), rgba(56, 189, 248, 0.35)),
        url("hero_bg.jpg");
}

@media (max-width: 900px) {
    .service-hero .hero-grid {
        grid-template-columns: 1fr;
    }
    .service-copy {
        padding-right: 0;
        order: 2;
    }
    .service-hero-image {
        order: 1;
        margin-bottom: 1.2rem;
        min-height: 200px;
    }
}


.service-hero-web {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.96)),
        url("service_web_hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Når sektionen har fuld baggrund, behøver vi ikke den ekstra billedkolonne */
.service-hero-web .service-hero-image-web {
    display: none;
}


/* Lidt lysere overlay på web-hero, så baggrundsbilledet træder tydeligere frem */
.service-hero-web {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.84)),
        url("service_web_hero.jpg");
}


/* Fuld baggrund til PLC / automation hero */
.service-hero-automation {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0.90)),
        url("service_plc_hero.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Skjul den ekstra billedkolonne når sektionen bruger fuld baggrund */
.service-hero-automation .service-hero-image-automation {
    display: none;
}


/* Fuld baggrund til robot / værktøjs-hero */
.service-hero-robotics {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0.92)),
        url("service_robot_hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Skjul den ekstra billedkolonne når sektionen bruger fuld baggrund */
.service-hero-robotics .service-hero-image-robotics {
    display: none;
}

/* Ydelser text contrast fix */

.service-hero .service-copy,
.service-hero .service-copy .hero-title,
.service-hero .service-copy .hero-subtitle,
.service-hero .service-copy .card-list li {
    color: #ffffff;
}


/* Forside hero tekst skal være hvid (undtagen knap-tekst) */
.hero-front .hero-kicker,
.hero-front .hero-title,
.hero-front .hero-subtitle {
    color: #ffffff;
}

.hero-front .ghost-link {
    color: #ffffff;
}

.hero-front .ghost-link:hover {
    color: #e5e7eb;
}

/* Ydelser info-panel: hvid tekst */
.info-panel .section-subtitle,
.info-panel .section-subtitle strong,
.info-panel .card-list li {
    color: #ffffff;
}

/* Force white text in hero-secondary */
.hero-secondary .hero-title,
.hero-secondary .hero-subtitle,
.hero-secondary p,
.hero-secondary li {
    color: #ffffff !important;
}

/* Traits list: white text */
.traits-list li,
.traits-list li span {
    color: #ffffff !important;
}

/* Finjuster vandret alignment mellem hero 1 og hero 2 */
.hero-secondary .hero-grid > div:first-child {
    margin-left: 0.25rem;
}

/* Juster første hero-tekst mere mod venstre på desktop */
@media (min-width: 1040px) {
    .hero-full .hero-content {
        margin-left: -3rem;
    }
}

/* Juster tekstposition i øverste hero (kun desktop) */
@media (min-width: 1040px) {
    .hero-front .hero-content {
        margin-left: 0rem;     /* lidt længere mod højre end de andre hero-sektioner */
        margin-top: 1.5rem;    /* stadig lidt nedad for luft */
    }
}



.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-lightbox.is-visible {
    display: flex;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(2px);
}

.image-lightbox-content {
    position: relative;
    max-width: 96vw;
    max-height: 96vh;
    padding: 0.75rem;
}

.image-lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

body.lightbox-open {
    overflow: hidden;
}


.image-lightbox-close {
    position: absolute;
    top: 0.35rem;
    right: 0.55rem;
    width: 64px;      /* før: 32px */
    height: 64px;     /* før: 32px */
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    font-size: 2.4rem;  /* før: 1.2rem */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}


.image-lightbox-close:hover {
    background: rgba(30, 64, 175, 0.95);
}


.hero-logo-wrapper {
    display: flex;
    align-items: flex-start;   /* løft logoet opad */
    justify-content: flex-end; /* skub det mod højre */
    padding-right: 2rem;       /* lidt luft fra midten */
}

.hero-logo-img {
    max-width: 960px;  /* stor nok – nu skalerer vi oveni */
    width: 100%;
    height: auto;
    transform: translate(20%, -40px) scale(1.9);  /* mere til højre, højere og markant større */
    transform-origin: center;
    filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.9));
}

/* Sprogvisning / language visibility */
[data-lang] {
    display: none;
}

html:not([data-current-lang]) [data-lang="da"],
html[data-current-lang="da"] [data-lang="da"],
html[data-current-lang="en"] [data-lang="en"] {
    display: inline;
}

/* Sprog-knap i topbaren */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.06em;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
    background: #e5f6ff;
    outline: none;
}

/* Mobil: lidt mindre mellemrum */
@media (max-width: 720px) {
    .nav-right {
        gap: 0.35rem;
    }
}

/* Sprogknapper i topbaren */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition:
        background 0.12s ease-out,
        color 0.12s ease-out,
        box-shadow 0.12s ease-out,
        transform 0.08s ease-out,
        border-color 0.12s ease-out,
        filter 0.12s ease-out;
}

/* Inaktiv knap: bliver mørk ved hover – som de andre topbar-knapper */
.lang-toggle:hover {
    background: #020617;
    color: #e5e7eb;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(15, 23, 42, 0.45);
}

/* Aktiv knap: samme stil som nav-cta */
.lang-toggle--active {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #0b1120;
    border-color: transparent;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
}

.lang-toggle--active:hover {
    filter: brightness(1.06);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

/* Mobil: lidt mindre mellemrum */
@media (max-width: 720px) {
    .nav-right {
        gap: 0.35rem;
    }
}

/* About page */

.about-section {
    margin-top: 1.2rem;
}

.about-header-subtitle {
    margin-top: 0.4rem;
    margin-bottom: 1.4rem;
    max-width: 44rem;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.about-layout {
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.28), rgba(15, 23, 42, 0.98));
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    padding: 1.5rem 1.4rem 1.4rem;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.9),
        0 0 50px rgba(148, 163, 184, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.about-subheading {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.about-text p {
    margin-bottom: 0.85rem;
    font-size: 0.94rem;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.about-points li {
    font-size: 0.86rem;
    color: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
}

.about-photo-wrapper {
    flex: 0 0 auto;
}

.about-photo-card {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
}

.about-photo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    box-shadow:
        0 22px 55px rgba(15, 23, 42, 0.96),
        0 0 40px rgba(56, 189, 248, 0.55);
    object-fit: cover;
    object-position: center;
}

.about-photo-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 18rem;
}

.about-highlight {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.96));
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.1rem;
    font-size: 0.86rem;
    color: #e5e7eb;
    max-width: 34rem;
}

.traits-list {
    list-style: none;
    padding: 0;
    margin: 0.65rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.traits-list li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
}


.about-layout {
    background: #f3f4f6;
}

.about-header-subtitle {
    color: var(--text);
}

.about-photo-name,
.about-photo-caption {
    color: #f9fafb;
}

.about-points li,
.traits-list li {
    color: #f9fafb;
}

/* About – responsive layout */
@media (min-width: 1040px) {
    .about-layout {
        padding: 1.8rem 1.9rem 1.6rem;
        gap: 1.8rem;
    }

    .about-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.8rem;
    }

    .about-text {
        flex: 2 1 0;
    }

    .about-photo-wrapper {
        flex: 0 0 auto;
    }

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

@media (max-width: 599px) {
    .about-layout {
        padding: 1.3rem 1.1rem 1.2rem;
    }

    .about-photo-card {
        align-items: center;
    }

    .about-photo {
        max-width: 260px;
    }

    .traits-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* About page color inversion (user request) */
.about-layout {
    background: #020617; /* dark navy instead of light frame */
}

/* Make general text inside about card light on dark */
.about-layout,
.about-layout p,
.about-layout h2,
.about-layout strong {
    color: #e5e7eb;
}

/* Light cards / chips with dark text */
.about-points li {
    background: #e5e7eb;
    color: #020617;
    border-color: rgba(15, 23, 42, 0.25);
}

.about-points li strong {
    color: #020617;
}

.about-highlight {
    background: #e5e7eb;
    color: #020617;
}

/* Traits chips: light background, dark text */
.traits-list li {
    background: #e5e7eb;
    color: #020617;
    border-color: rgba(15, 23, 42, 0.25);
}

/* About page – tweak "Mine kendetegn" for better contrast */
.about-highlight {
    background: #020617;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.6);
}

.about-highlight strong {
    color: #e5e7eb;
}

.traits-list li {
    background: #0b1120;
    color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.55);
}

/* Tech stack – redesigned */

.stack-section {
    margin-top: 1.2rem;
}

.stack-hero .section-subtitle {
    max-width: 46rem;
}


.stack-layout {
    margin-top: 1.4rem;
    display: grid;
    gap: 1.4rem;
}

/* Tech stack – responsive columns */
/* Default: 1 column (mobile) */

@media (min-width: 720px) {
    /* Tablet – fx Galaxy Fold åben: 2 kolonner */
    .stack-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        align-items: flex-start;
    }

    .stack-column-narrow {
        max-width: none;
        margin-left: 0;
    }
}

@media (min-width: 1120px) {
    /* Desktop: 3 kolonner */
    .stack-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .stack-column-narrow {
        max-width: 22rem;
        margin-left: auto;
    }
}


.stack-column {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.stack-column-narrow {
    max-width: 22rem;
    margin-left: auto;
}

.stack-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 1));
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.9);
    padding: 1.0rem 1.1rem 1.0rem;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.95),
        0 0 36px rgba(15, 23, 42, 0.9);
}

.stack-card.stack-card-ai {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.95),
        0 0 48px rgba(56, 189, 248, 0.45);
}

.stack-card.stack-steps-card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.98));
}

.stack-card-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
}

.stack-card-text {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.stack-tag-groups {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.stack-tag-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stack-tag-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.stack-tag {
    font-size: 0.78rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
}

/* Reuse stack-list for bullets but tighten spacing */
.stack-list {
    list-style: none;
    padding: 0;
    margin: 0.1rem 0 0;
}

.stack-list li {
    font-size: 0.86rem;
    color: #e5e7eb;
    padding: 0.16rem 0;
}

.stack-steps-list li + li {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin-top: 0.32rem;
    padding-top: 0.32rem;
}

.stack-steps-list strong {
    color: #f9fafb;
}

/* Stack – responsive tweaks */
@media (max-width: 799px) {
    .stack-card {
        padding: 0.9rem 0.9rem 0.95rem;
    }

    .stack-column-narrow {
        max-width: none;
        margin-left: 0;
    }
}

/* Tech stack – improve contrast on dark cards */
.stack-card-text {
    color: #f9fafb;
}

.stack-tag-label {
    color: #e5e7eb;
}

.stack-section .section-subtitle span[data-lang] {
    color: #e5e7eb;
}

.stack-card li span[data-lang] {
    color: #e5e7eb;
}

/* Tech stack – hero subtitle should be dark text on light background */
.stack-hero .section-subtitle span[data-lang] {
    color: var(--text);
}


/* Tablet contact layout */
@media (min-width: 720px) and (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Tablet topbar spacing (e.g. Galaxy Fold unfolded) */
@media (min-width: 720px) and (max-width: 1119px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.88rem;
    }

    .nav-right {
        gap: 0.4rem;
    }
}

/* Kontakt – succes-besked efter sendt formular */
.contact-success {
    display: none;
    margin-top: 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
    font-size: 0.9rem;
}

.contact-success--visible {
    display: block;
}
