/* =========================================================
   Beckbone IT – Stylesheet
   Schriften lokal eingebunden (keine Verbindung zu Google)
   ========================================================= */

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    --bg: #070d1a;
    --bg-elev: #0c1527;
    --surface: rgba(17, 27, 48, 0.72);
    --surface-solid: #111b30;
    --border: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(148, 163, 184, 0.26);
    --primary: #3b82f6;
    --primary-strong: #2563eb;
    --primary-soft: rgba(59, 130, 246, 0.12);
    --accent: #38bdf8;
    --text: #e8eef7;
    --text-strong: #ffffff;
    --muted: #9aa8bd;
    --subtle: #6b7a90;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 2000;
}
.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Platzhalter, die noch ersetzt werden müssen */
.todo {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
    border: 1px dashed rgba(250, 204, 21, 0.55);
    border-radius: 4px;
    padding: 0 0.3em;
}

/* ---------- Hintergrund ---------- */
#canvas-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}
#canvas-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 10%, rgba(37, 99, 235, 0.16), transparent 60%),
        linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

/* ---------- Typografie ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
h1 .grad {
    background: linear-gradient(120deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

p {
    color: var(--muted);
}

strong {
    color: var(--text);
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(7, 13, 26, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
    background: rgba(7, 13, 26, 0.9);
    border-bottom-color: var(--border);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--text-strong);
}
.brand img {
    height: 40px;
    width: auto;
}
.brand .brand-sub {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-strong);
}
.nav-links .btn {
    color: #fff;
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-btn .icon-close {
    display: none;
}
.menu-btn[aria-expanded='true'] .icon-open {
    display: none;
}
.menu-btn[aria-expanded='true'] .icon-close {
    display: block;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}
.btn-ghost {
    color: var(--text);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
    border-color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 3rem;
}
.hero-lead {
    font-size: 1.15rem;
    max-width: 580px;
    margin-bottom: 2.25rem;
}
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-visual::before {
    content: '';
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 65%);
    filter: blur(20px);
}
.hero-visual img {
    position: relative;
    width: min(320px, 70vw);
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(37, 99, 235, 0.35));
}

.trust {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.trust-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}
.trust-item .icon {
    color: var(--accent);
    margin-top: 0.15rem;
}
.trust-item strong {
    display: block;
    font-size: 0.95rem;
}
.trust-item span {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
    padding: 6.5rem 0;
    position: relative;
}
.section-alt {
    background: linear-gradient(to bottom, rgba(12, 21, 39, 0.85), rgba(12, 21, 39, 0.85));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-head {
    max-width: 680px;
    margin-bottom: 3.5rem;
}
.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-head p {
    font-size: 1.08rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover {
    border-color: rgba(59, 130, 246, 0.45);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent);
    margin-bottom: 1.4rem;
}
.icon-box .icon {
    width: 24px;
    height: 24px;
}

/* ---------- Leistungen ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service p {
    margin-bottom: 1.25rem;
}
.checklist {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.checklist li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--text);
}
.checklist .icon {
    color: var(--primary);
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
}

/* ---------- IT-Beratung ---------- */
.consulting {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}
.consulting h2 {
    margin-bottom: 0;
}
.consulting-text .lead {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.6;
}
.consulting-text p + p {
    margin-top: 1.1rem;
}

/* ---------- Über Beckbone ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}
.about-text p + p {
    margin-top: 1rem;
}
.name-story {
    margin: 0;
    padding: 1.4rem 1.6rem;
    border-left: 3px solid var(--primary);
    background: rgba(59, 130, 246, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.name-story .formula {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 0.4rem;
}
.name-story .formula span {
    color: var(--accent);
}
.name-story p {
    font-size: 0.95rem;
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.value {
    padding: 1.6rem;
}
.value .icon-box {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}
.value .icon-box .icon {
    width: 20px;
    height: 20px;
}
.value h3 {
    font-size: 1.05rem;
}
.value p {
    font-size: 0.93rem;
}

.process {
    margin-top: 4.5rem;
}
.process h3 {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    counter-increment: step;
}
.step::before {
    content: '0' counter(step);
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.step p {
    font-size: 0.9rem;
}

/* ---------- Über mich ---------- */
.person {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
}
.portrait {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.portrait-frame {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.35), transparent 60%),
        linear-gradient(160deg, #13213d, #0a1222);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}
.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portrait-frame .initials {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.04em;
}
.portrait-meta {
    margin-top: 1.25rem;
}
.portrait-meta .name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-strong);
}
.portrait-meta .role {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
}
.portrait-meta .contact-mini {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.92rem;
}
.portrait-meta .contact-mini a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    text-decoration: none;
}
.portrait-meta .contact-mini a:hover {
    color: var(--text-strong);
}

.bio .lead {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.bio p + p {
    margin-top: 1rem;
}

.focus {
    margin-top: 2.25rem;
}
.focus h3,
.timeline-wrap h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1rem;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}
.tags li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.875rem;
    color: var(--text);
}

.timeline-wrap {
    margin-top: 2.5rem;
}
.timeline {
    list-style: none;
    border-left: 1px solid var(--border-strong);
    margin-left: 0.4rem;
}
.timeline li {
    position: relative;
    padding: 0 0 1.5rem 1.6rem;
}
.timeline li:last-child {
    padding-bottom: 0;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.45rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--primary);
}
.timeline .when {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}
.timeline .what {
    color: var(--text-strong);
    font-weight: 600;
}
.timeline p {
    font-size: 0.92rem;
}

.project-card {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
}
.project-card .icon-box {
    margin-bottom: 0;
}
.project-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.project-card p {
    font-size: 0.93rem;
}
.project-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.project-card a:hover {
    text-decoration: underline;
}

/* ---------- Projekte ---------- */
.project-feature {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    padding: 2.75rem;
}
.project-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.project-feature h3 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}
.project-claim {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 1rem;
}
.project-feature .checklist {
    margin: 1.5rem 0 2rem;
}
.project-visual {
    display: flex;
    justify-content: center;
}
.tl-mock {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.25), transparent 60%),
        linear-gradient(160deg, #13213d, #0a1222);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.tl-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 1.25rem;
}
.tl-head .icon {
    color: var(--accent);
}
.tl-mock ol {
    list-style: none;
    border-left: 1px solid var(--border-strong);
    margin-left: 0.3rem;
    display: grid;
    gap: 1rem;
}
.tl-mock li {
    position: relative;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}
.tl-mock li::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.35rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
}
.tl-year {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}
.tl-bar {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Kontakt ---------- */
.contact-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
        var(--surface);
}
.contact-box h2 {
    margin-bottom: 0.75rem;
}
.contact-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}
.contact-list a,
.contact-list span {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(7, 13, 26, 0.5);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: border-color 0.2s ease;
}
.contact-list a:hover {
    border-color: var(--primary);
}
.contact-list .icon {
    color: var(--accent);
}
.contact-list small {
    display: block;
    color: var(--subtle);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    background: rgba(7, 13, 26, 0.9);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.footer-inner p {
    font-size: 0.875rem;
    color: var(--subtle);
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--text-strong);
}
.site-footer .brand img {
    height: 32px;
}
.site-footer .brand {
    font-size: 1rem;
}

/* ---------- Rechtstexte ---------- */
.legal {
    padding: calc(var(--header-h) + 4rem) 0 5rem;
}
.legal .container {
    max-width: 820px;
}
.legal h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 2.5rem;
}
.legal h2 {
    font-size: 1.3rem;
    margin: 2.5rem 0 0.75rem;
}
.legal h3 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.5rem;
}
.legal p,
.legal li,
.legal address {
    color: var(--muted);
    font-style: normal;
    font-size: 0.98rem;
}
.legal p + p {
    margin-top: 0.75rem;
}
.legal ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
.legal li + li {
    margin-top: 0.35rem;
}
.legal a {
    color: var(--accent);
}
.legal .card {
    padding: 1.75rem 2rem;
}
.legal .card + .card {
    margin-top: 1.25rem;
}
.legal .stand {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--subtle);
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}
.back-link:hover {
    color: var(--text-strong);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .services {
        grid-template-columns: 1fr;
    }
    .about-grid,
    .consulting,
    .project-feature,
    .person,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .portrait {
        position: static;
        display: grid;
        grid-template-columns: 160px 1fr;
        gap: 1.5rem;
        align-items: center;
    }
    .portrait-meta {
        margin-top: 0;
    }
    .portrait-frame .initials {
        font-size: 3rem;
    }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
        justify-content: flex-start;
    }
    .hero-visual img {
        width: 120px;
    }
    .hero-visual::before {
        width: 160px;
    }
    .trust {
        grid-template-columns: 1fr;
    }

    .menu-btn {
        display: inline-flex;
    }
    .nav-links {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.5rem 1.5rem;
        background: rgba(7, 13, 26, 0.97);
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li a {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links li:last-child a {
        border-bottom: 0;
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 4.5rem 0;
    }
    .values,
    .steps {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 1.5rem;
    }
    .contact-box {
        padding: 1.75rem 1.25rem;
    }
    .portrait {
        grid-template-columns: 110px 1fr;
        gap: 1rem;
    }
    .portrait-frame .initials {
        font-size: 2.2rem;
    }
    .cta-group .btn {
        flex: 1 1 100%;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .project-feature {
        padding: 1.5rem;
    }
    .project-visual {
        display: none;
    }
}
