:root {
    --color-navy: #0f1a2b;
    --color-charcoal: #2b2e34;
    --color-offwhite: #f4f3ef;
    --color-grey: #c9c7c2;
    --color-bronze: #8a7a5e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        system-ui, sans-serif;
    background-color: var(--color-navy);
    color: var(--color-offwhite);
    line-height: 1.6;
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header / navigation */

header {
    border-bottom: 1px solid rgba(244, 243, 239, 0.08);
    background: rgba(15, 26, 43, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

.logo-main {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-weight: 600;
    font-size: 16px;
}

.logo-sub {
    color: var(--color-grey);
    font-size: 10px;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
}

.nav-links a {
    opacity: 0.82;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-bronze);
    font-size: 13px;
    background: transparent;
}

.nav-cta:hover {
    background: rgba(138, 122, 94, 0.16);
}

/* Language switch */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-grey);
}

.lang-switch a {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    opacity: 0.8;
}

.lang-switch a:hover {
    opacity: 1;
    border-color: rgba(244, 243, 239, 0.25);
}

.lang-switch .active {
    border-color: rgba(244, 243, 239, 0.5);
    opacity: 1;
}

/* Layout */

main {
    flex: 1;
}

/* Hero */

.hero {
    padding: 72px 20px 72px;
    background: radial-gradient(
            circle at top left,
            rgba(138, 122, 94, 0.16),
            transparent 55%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(201, 199, 194, 0.09),
            transparent 55%
        );
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    color: var(--color-grey);
    margin-bottom: 12px;
}

h1 {
    margin: 0 0 18px;
    font-family: "Playfair Display", "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 40px);
}

.hero-sub {
    max-width: 540px;
    font-size: 15px;
    color: rgba(244, 243, 239, 0.9);
    margin-bottom: 28px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--color-grey);
}

.meta-block {
    min-width: 160px;
}

.meta-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    margin-bottom: 6px;
    color: rgba(244, 243, 239, 0.7);
}

.meta-value {
    font-size: 13px;
}

/* Hero side panel */

.hero-panel {
    border-radius: 20px;
    border: 1px solid rgba(201, 199, 194, 0.25);
    background: linear-gradient(
            135deg,
            rgba(11, 18, 32, 0.95),
            rgba(23, 33, 52, 0.98)
        );
    padding: 24px 22px 22px;
}

.hero-panel-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.hero-panel-main {
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-panel-main strong {
    color: var(--color-offwhite);
}

.hero-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-pill {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(138, 122, 94, 0.4);
    background: rgba(15, 26, 43, 0.9);
    color: var(--color-grey);
}

.hero-panel-note {
    font-size: 11px;
    color: rgba(244, 243, 239, 0.72);
}

/* Sections */

.section {
    padding: 64px 20px;
}

.section-alt {
    background: #f4f3ef;
    color: #2b2e34;
}

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

.section-header {
    max-width: 640px;
    margin-bottom: 32px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.section-alt .section-kicker {
    color: #8e8b84;
}

.section-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 8px;
}

.section-text {
    font-size: 14px;
    color: rgba(244, 243, 239, 0.9);
}

.section-alt .section-text {
    color: #5a5955;
}

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

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

.card {
    border-radius: 14px;
    border: 1px solid rgba(201, 199, 194, 0.16);
    padding: 18px 18px 16px;
    background: rgba(15, 26, 43, 0.98);
}

.section-alt .card {
    background: #ffffff;
    border-color: #dedcd7;
}

.card-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.card-sub {
    font-size: 12px;
    color: var(--color-grey);
    margin-bottom: 6px;
}

/* Make whole team cards clickable */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    border-color: rgba(138, 122, 94, 0.7);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}

.card-link:hover .card-title {
    text-decoration: underline;
}

.section-alt .card-sub {
    color: #9a978e;
}

.card-text {
    font-size: 13px;
    color: rgba(244, 243, 239, 0.8);
}

.section-alt .card-text {
    color: #66645f;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.list li {
    margin-bottom: 6px;
}

.list span {
    color: var(--color-grey);
}

/* Kontakt / footer */

.contact-box {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(138, 122, 94, 0.4);
    padding: 24px 24px 22px;
    background: linear-gradient(
        135deg,
        rgba(15, 26, 43, 0.98),
        rgba(27, 41, 66, 0.98)
    );
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.contact-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--color-offwhite);   /* NY linje: gør teksten lys og læsbar */
}

.contact-text {
    font-size: 14px;
    color: rgba(244, 243, 239, 0.85);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-bronze);
    color: var(--color-offwhite);
    border-color: var(--color-bronze);
}

.btn-primary:hover {
    background: #7a6b52;
}

.btn-ghost {
    background: transparent;
    color: var(--color-offwhite);
    border-color: rgba(244, 243, 239, 0.3);
}

.btn-ghost:hover {
    border-color: rgba(244, 243, 239, 0.6);
}

/* Footer */

footer {
    border-top: 1px solid rgba(244, 243, 239, 0.08);
    padding: 18px 20px 22px;
    font-size: 12px;
    color: rgba(244, 243, 239, 0.7);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Responsive */

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

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

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

    .contact-row {
        align-items: flex-start;
    }
}

/* Team cards – opdateret */

/* Team cards – updated layout */

.team-card {
    display: flex;
    flex-direction: column;   /* foto+navn som header, tekst nedenunder */
    gap: 16px;
    align-items: flex-start;
}

.team-header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(201, 199, 194, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

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

.team-info {
    flex: 1;
}

@media (max-width: 600px) {
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Large profile photo on hero right */

.profile-hero-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(201, 199, 194, 0.25);
    background: radial-gradient(
        circle at top,
        rgba(201, 199, 194, 0.18),
        rgba(11, 18, 32, 0.95)
    );
    padding: 24px 12px;
}

.profile-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 880px) {
    .profile-hero-panel {
        margin-top: 32px;
    }
}

/* Portfolio */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(201, 199, 194, 0.18);
    padding: 16px 16px 14px;
    background: rgba(15, 26, 43, 0.98);
    transition: border-color 0.15s ease, transform 0.15s ease,
        box-shadow 0.15s ease;
}

.section-alt .portfolio-card {
    background: #ffffff;
    border-color: #dedcd7;
}

.portfolio-card:hover {
    border-color: rgba(138, 122, 94, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.portfolio-logo-box {
    height: 44px;              /* fast højde til ens linjehøjde */
    display: flex;
    align-items: center;
}

.portfolio-logo-box img {
    max-height: 40px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.portfolio-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #ffffff; /* ren hvid for maksimal kontrast */
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}

.portfolio-logo-badge img {
    max-height: 28px;
    max-width: 160px;
    object-fit: contain;
    display: block;
    filter: grayscale(0.2);   /* lidt, men ikke voldsomt */
    opacity: 0.95;
    transition: filter 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

/* Logos that are pure white or very light */
.logo-solid-white {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.55));
    opacity: 1;
}

.portfolio-card:hover .logo-solid-white {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
}
.portfolio-card:hover .portfolio-logo-badge img {
    filter: none;
    opacity: 1;
    transform: translateY(-1px);
}

.portfolio-name {
    font-size: 14px;
    font-weight: 500;
}

.portfolio-text {
    font-size: 13px;
    color: rgba(244, 243, 239, 0.8);
}

.section-alt .portfolio-text {
    color: #66645f;
}

/* Hero right column with image + text */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Large hero visual */
.hero-visual {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 220px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
    background: #000;
}

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

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 26, 43, 0.7),
        rgba(15, 26, 43, 0.25),
        rgba(15, 26, 43, 0.0)
    );
}

.hero-visual-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    font-size: 13px;
    color: var(--color-offwhite);
}

/* Mobile: stack hero and keep image readable */
@media (max-width: 880px) {
    .hero-right {
        order: -1; /* image above text on small screens */
    }
}

/* Full-width visual band (rocket image) */
.section-growth-visual {
    padding: 0; /* let the image fill the width */
    background: #000;
}

.growth-visual-wrap {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.growth-visual-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.growth-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 26, 43, 0.8),
        rgba(15, 26, 43, 0.2),
        rgba(15, 26, 43, 0.8)
    );
}

.growth-visual-text {
    position: absolute;
    inset: 18px 22px;
    max-width: 420px;
    color: var(--color-offwhite);
}

.growth-visual-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    color: var(--color-grey);
    margin-bottom: 8px;
}

.growth-visual-heading {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 20px;
    margin: 0 0 6px;
}

.growth-visual-body {
    font-size: 13px;
    max-width: 380px;
}
