:root {
    --color-bg: #050b12;
    --color-bg-deep: #02070c;
    --color-surface: #07131f;
    --color-surface-2: #0a1a29;
    --color-surface-3: #0d2236;
    --color-text: #f5f8fb;
    --color-muted: #a7b6c5;
    --color-muted-2: #7f93a6;
    --color-line: rgba(109, 190, 236, .18);
    --color-line-strong: rgba(31, 176, 255, .34);
    --color-accent: #18d9ff;
    --color-accent-2: #087cff;
    --color-accent-soft: rgba(24, 217, 255, .12);
    --shadow-blue: 0 22px 80px rgba(0, 113, 255, .16);
    --shadow-panel: 0 18px 50px rgba(0, 0, 0, .32);
    --max-width: 1260px;
    --header-height: 86px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-bg-deep); }
body {
    margin: 0;
    color: var(--color-text);
    background:
        radial-gradient(circle at 82% 6%, rgba(9, 126, 255, .11), transparent 34rem),
        linear-gradient(180deg, #050b12 0%, #06111c 48%, #040a11 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 9999; transform: translateY(-160%);
    padding: 10px 14px; border-radius: 8px; background: var(--color-accent); color: #001018;
    font-weight: 800; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

/* Header */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height);
    border-bottom: 1px solid rgba(126, 187, 224, .08);
    background: linear-gradient(180deg, rgba(2, 8, 14, .90), rgba(2, 8, 14, .72));
    backdrop-filter: blur(12px);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
    background: rgba(3, 10, 17, .96);
    border-color: var(--color-line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; min-width: 230px; text-decoration: none; }
.brand-picture { display: block; width: 188px; }
.brand-logo { width: 188px; height: auto; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.main-nav a {
    position: relative; color: #d6e2eb; text-decoration: none; font-size: .93rem; font-weight: 650;
    white-space: nowrap; transition: color var(--transition);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px;
    transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    box-shadow: 0 0 14px rgba(24, 217, 255, .55); transition: transform var(--transition);
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.language-switch {
    display: flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--color-line);
    color: #73879a; font-size: .79rem; font-weight: 850; letter-spacing: .08em;
}
.language-switch .is-current { color: var(--color-accent); }
.menu-toggle {
    display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--color-line);
    border-radius: 12px; background: rgba(6, 17, 28, .9); color: #fff;
}
.menu-toggle-lines { display: grid; gap: 5px; width: 20px; margin: auto; }
.menu-toggle-lines i { height: 2px; border-radius: 99px; background: currentColor; }

/* Shared typography */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px;
    color: #d8e6ef; text-transform: uppercase; letter-spacing: .20em; font-size: .72rem; font-weight: 850;
}
.eyebrow::after { content: ""; width: 44px; height: 2px; background: linear-gradient(90deg, var(--color-accent), transparent); }
h1, h2, h3, p { overflow-wrap: anywhere; }
.section { position: relative; padding: 96px 0; }
.section-heading { margin-bottom: 34px; max-width: 780px; }
.section-heading h2, .intro-heading h2, .history-copy h2, .two-column h2, .closing-panel h2 {
    margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em;
}
.section-heading > p:last-child, .section-heading-split > p { color: var(--color-muted); margin: 14px 0 0; max-width: 680px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.narrow { max-width: 760px; }
.section-heading-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 50px; align-items: end; }

/* Home hero */
.hero {
    position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; isolation: isolate;
    background: #030a11; border-bottom: 1px solid var(--color-line);
}
.hero-media {
    position: absolute; inset: 0; z-index: -3; background-image: url('../images/hero-server.webp');
    background-size: cover; background-position: center; filter: saturate(.94) contrast(1.08) brightness(.70);
}
.hero-vignette {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 8, 14, .98) 0%, rgba(2, 8, 14, .93) 38%, rgba(2, 8, 14, .47) 72%, rgba(2, 8, 14, .34) 100%),
        linear-gradient(0deg, rgba(3, 10, 16, .92), transparent 44%);
}
.hero::after {
    content: ""; position: absolute; inset: auto 0 0; height: 180px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(4, 12, 20, .72));
}
.hero-shell {
    position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr);
    gap: 54px; align-items: center; padding-top: calc(var(--header-height) + 52px); padding-bottom: 58px;
}
.hero-copy { max-width: 680px; }
.hero h1 {
    margin: 0; max-width: 780px; font-size: clamp(3rem, 5.7vw, 5.7rem); line-height: .96; letter-spacing: -.055em;
    text-wrap: balance;
}
.hero h1 span { color: var(--color-accent); text-shadow: 0 0 28px rgba(24, 217, 255, .18); }
.hero-lead { margin: 26px 0 0; color: #c2ced8; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.72; max-width: 650px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.primary-button {
    display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid #18a7ff;
    border-radius: 9px; background: linear-gradient(180deg, #1298ff, #0668da); color: white; text-decoration: none;
    font-weight: 800; box-shadow: 0 0 0 1px rgba(82, 202, 255, .20) inset, 0 10px 28px rgba(0, 123, 255, .25);
    transition: transform var(--transition), box-shadow var(--transition);
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(82, 202, 255, .25) inset, 0 16px 36px rgba(0, 123, 255, .34); }
.primary-button svg, .service-arrow svg, .solution-link svg, .text-link svg, .service-secondary-grid svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-since { display: inline-flex; align-items: center; gap: 10px; color: #9baab7; font-size: .9rem; }
.hero-since i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 14px rgba(24,217,255,.8); }
.hero-brand-card {
    position: relative; overflow: hidden; border: 1px solid rgba(48, 175, 255, .25); border-radius: 20px;
    background: rgba(3, 12, 20, .68); box-shadow: var(--shadow-panel), 0 0 70px rgba(0, 114, 255, .13);
    min-height: 390px;
}
.hero-brand-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), inset 0 -80px 90px rgba(0,0,0,.30); pointer-events: none; }
.hero-brand-card picture, .hero-brand-card img { width: 100%; height: 100%; }
.hero-brand-card img { min-height: 390px; object-fit: cover; object-position: center; filter: contrast(1.04) saturate(1.08); }

/* Services */
.services-stage { background: linear-gradient(180deg, #06111c 0%, #071522 100%); }
.service-grid { display: grid; gap: 16px; }
.service-grid-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card {
    position: relative; min-height: 245px; padding: 26px; border: 1px solid var(--color-line-strong); border-radius: var(--radius-md);
    background:
        linear-gradient(150deg, rgba(15, 55, 84, .42), rgba(5, 18, 30, .82) 58%),
        rgba(4, 16, 26, .84);
    color: inherit; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(24,217,255,.62); box-shadow: 0 22px 45px rgba(0,0,0,.24), 0 0 32px rgba(0,130,255,.08); }
.icon-wrap {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
    color: var(--color-accent); background: rgba(8, 124, 180, .11); border: 1px solid rgba(24,217,255,.22);
}
.icon-wrap svg, .solution-icon svg, .subhero-icon svg, .closing-mark svg, .legal-badge svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.service-card h3 { margin: 22px 0 8px; font-size: 1.14rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--color-muted); font-size: .93rem; line-height: 1.62; }
.service-arrow { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #25bfff; border-radius: 50%; color: var(--color-accent); }
.service-secondary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.service-secondary-grid a {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 14px;
    border: 1px solid rgba(108, 175, 212, .12); border-radius: 10px; color: #bdc9d3; background: rgba(6, 18, 28, .48);
    text-decoration: none; font-size: .84rem; font-weight: 700;
}
.service-secondary-grid a:hover { color: white; border-color: rgba(24,217,255,.35); }
.service-secondary-grid svg { width: 15px; color: var(--color-accent); }

/* Solutions */
.solution-stage { background: linear-gradient(180deg, #050c13 0%, #06101a 100%); border-top: 1px solid rgba(120, 190, 225, .05); }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.solution-card {
    position: relative; min-height: 310px; padding: 30px; border: 1px solid rgba(35, 167, 226, .22); border-radius: 20px;
    background:
        radial-gradient(circle at 100% 100%, rgba(18, 210, 199, .10), transparent 36%),
        linear-gradient(145deg, rgba(10, 47, 74, .50), rgba(5, 15, 24, .90));
    color: inherit; text-decoration: none; overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.solution-card:hover { transform: translateY(-4px); border-color: rgba(24,217,255,.55); box-shadow: var(--shadow-blue); }
.solution-card-top { display: flex; align-items: center; gap: 16px; }
.solution-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(24,217,255,.24); border-radius: 12px; color: var(--color-accent); background: rgba(7, 93, 119, .14); }
.solution-kicker { color: #98aaba; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 800; }
.solution-card h3, .solution-card h2 { margin: 48px 0 12px; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.12; }
.solution-card p { margin: 0; max-width: 560px; color: var(--color-muted); }
.solution-link { position: absolute; left: 30px; bottom: 26px; display: inline-flex; align-items: center; gap: 10px; color: #43ddd8; font-weight: 800; font-size: .87rem; }
.solution-card-large { min-height: 380px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #e8f6ff; text-decoration: none; font-weight: 800; }
.text-link:hover { color: var(--color-accent); }

/* Intro / pillars / process */
.intro-stage, .why-stage, .principles-stage { background: #07121d; }
.intro-panel, .about-story-panel, .history-panel, .closing-panel {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 58px; align-items: start;
    padding: 48px; border: 1px solid var(--color-line); border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(10, 29, 44, .88), rgba(4, 13, 22, .86)); box-shadow: var(--shadow-panel);
}
.prose p, .history-copy p, .two-column p, .closing-panel p { color: var(--color-muted); margin: 0 0 18px; }
.prose p:last-child, .history-copy p:last-child, .two-column p:last-child, .closing-panel p:last-child { margin-bottom: 0; }
.pillars-stage, .values-stage { background: linear-gradient(180deg, #06101a, #071522); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { position: relative; padding: 30px; min-height: 240px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: rgba(6, 20, 32, .62); }
.pillar-number { display: inline-block; margin-bottom: 34px; color: var(--color-accent); font-size: .78rem; font-weight: 850; letter-spacing: .16em; }
.pillar h3, .pillar h2 { margin: 0 0 10px; font-size: 1.45rem; }
.pillar p { margin: 0; color: var(--color-muted); }
.history-stage { background: #050b12; }
.history-panel { grid-template-columns: 300px minmax(0, 1fr); align-items: center; }
.history-year { color: transparent; -webkit-text-stroke: 1px rgba(24,217,255,.36); font-weight: 900; font-size: clamp(4.4rem, 10vw, 8.2rem); line-height: .8; letter-spacing: -.08em; }
.process-stage { background: linear-gradient(180deg, #06111d, #050c13); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process-card { padding: 25px; border-top: 2px solid rgba(24,217,255,.55); background: rgba(7, 20, 31, .58); border-radius: 0 0 14px 14px; }
.process-card > span { color: var(--color-accent); font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
.process-card h3 { margin: 18px 0 9px; }
.process-card p { margin: 0; color: var(--color-muted); font-size: .91rem; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 70px; align-items: start; }
.statement-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.statement-list li { display: grid; grid-template-columns: 10px 1fr; gap: 13px; align-items: start; padding: 15px 17px; border: 1px solid var(--color-line); border-radius: 11px; background: rgba(5, 18, 28, .60); color: #dce6ed; }
.statement-list li span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); margin-top: 8px; box-shadow: 0 0 14px rgba(24,217,255,.5); }
.audience-stage { background: #050b12; }
.audience-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.audience-tags span { padding: 11px 15px; border: 1px solid var(--color-line); border-radius: 999px; color: #c0cdd7; background: rgba(8, 21, 32, .62); }

/* Subpages */
.subhero {
    position: relative; min-height: 585px; display: flex; align-items: center; overflow: hidden; isolation: isolate;
    border-bottom: 1px solid var(--color-line); background: #030a11;
}
.subhero-media {
    position: absolute; inset: 0; z-index: -3;
    background: url('../images/hero-server.webp') 62% center/cover no-repeat;
    filter: saturate(.9) contrast(1.06) brightness(.55);
}
.subhero-vignette {
    position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(90deg, rgba(2,8,14,.98) 0%, rgba(2,8,14,.92) 45%, rgba(2,8,14,.55) 100%), linear-gradient(0deg, rgba(2,8,14,.84), transparent 50%);
}
.subhero-shell {
    display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: center;
    padding-top: calc(var(--header-height) + 70px); padding-bottom: 72px;
}
.subhero-copy { max-width: 780px; }
.subhero h1, .legal-hero h1, .error-page h1 { margin: 0; font-size: clamp(3rem, 5.3vw, 5.1rem); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.subhero-copy > p:last-child { margin: 26px 0 0; max-width: 690px; color: #bdcad5; font-size: 1.08rem; }
.subhero-visual {
    min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid rgba(24,217,255,.25); border-radius: 22px;
    background: radial-gradient(circle at 50% 30%, rgba(15,133,255,.18), transparent 44%), rgba(4, 15, 24, .74);
    box-shadow: var(--shadow-panel), 0 0 55px rgba(0,119,255,.11); overflow: hidden;
}
.subhero-icon { display: grid; place-items: center; width: 106px; height: 106px; border-radius: 28px; color: var(--color-accent); border: 1px solid rgba(24,217,255,.28); background: linear-gradient(145deg, rgba(6,108,178,.25), rgba(3,21,35,.74)); }
.subhero-icon svg { width: 54px; height: 54px; }
.subhero-visual > span { font-size: 1.55rem; font-weight: 900; letter-spacing: .08em; }
.subhero-visual > small { color: #a7b6c5; letter-spacing: .28em; }
.subhero-visual.brand-visual { padding: 0; }
.subhero-visual.brand-visual picture, .subhero-visual.brand-visual img { width: 100%; height: 100%; }
.subhero-visual.brand-visual img { object-fit: cover; object-position: center; min-height: 290px; }
.detail-stage { background: linear-gradient(180deg, #06111c, #050c13); }
.detail-grid { display: grid; gap: 16px; }
.detail-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-card { position: relative; padding: 30px; min-height: 320px; border: 1px solid var(--color-line); border-radius: 18px; background: linear-gradient(145deg, rgba(10,39,60,.48), rgba(5,15,24,.80)); }
.detail-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(24,217,255,.05), transparent 36%); }
.detail-index { display: block; color: var(--color-accent); font-size: .72rem; font-weight: 850; letter-spacing: .16em; margin-bottom: 28px; }
.detail-card h2 { margin: 0 0 12px; font-size: 1.55rem; line-height: 1.15; }
.detail-card > p { margin: 0 0 20px; color: var(--color-muted); }
.detail-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.detail-card li { position: relative; padding-left: 18px; color: #c5d1da; font-size: .93rem; }
.detail-card li::before { content: ""; position: absolute; left: 0; top: .67em; width: 7px; height: 2px; background: var(--color-accent); }
.closing-stage { background: #050b12; padding-top: 28px; }
.closing-panel { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
.closing-mark { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 26px; color: var(--color-accent); border: 1px solid rgba(24,217,255,.26); background: rgba(7,54,81,.24); }
.closing-mark svg { width: 46px; height: 46px; }

/* About */
.about-story-stage { background: #050b12; }
.about-story-panel { grid-template-columns: 300px minmax(0, 1fr); align-items: center; }
.large-prose h2 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.035em; }
.values-stage { border-top: 1px solid rgba(113,186,222,.07); }

/* Legal */
.legal-hero {
    position: relative; min-height: 430px; display: flex; align-items: center; padding-top: var(--header-height);
    background: radial-gradient(circle at 85% 20%, rgba(0,134,255,.14), transparent 26rem), linear-gradient(180deg, #06111c, #040b12);
    border-bottom: 1px solid var(--color-line);
}
.legal-hero-shell { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 50px; align-items: center; }
.legal-hero p { color: var(--color-muted); max-width: 720px; }
.legal-badge { display: grid; place-items: center; width: 130px; height: 130px; border-radius: 32px; color: var(--color-accent); border: 1px solid rgba(24,217,255,.25); background: rgba(5, 42, 66, .34); }
.legal-badge svg { width: 58px; height: 58px; }
.legal-section { background: #050b12; }
.legal-layout { display: grid; gap: 14px; max-width: 980px; }
.legal-block { padding: 26px 28px; border: 1px solid var(--color-line); border-radius: 14px; background: rgba(8, 22, 34, .58); }
.legal-block h2 { margin: 0 0 12px; font-size: 1.28rem; }
.legal-block p, .legal-block li { color: var(--color-muted); }
.legal-block p { margin: 0 0 10px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { margin: 14px 0 0; padding-left: 20px; }
.legal-updated { color: var(--color-muted-2); font-size: .84rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-line); background: #02070c; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 42px 0; }
.footer-brand a { display: inline-block; }
.footer-logo { width: 210px; height: auto; object-fit: contain; object-position: left center; }
.footer-brand p { margin: 12px 0 0; color: #71879a; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; }
.footer-meta { display: grid; gap: 14px; justify-items: end; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: #c5d1da; text-decoration: none; font-size: .88rem; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-meta small { color: #62778a; font-size: .76rem; }

/* Errors */
.error-page { min-height: 70vh; display: grid; place-items: center; padding: calc(var(--header-height) + 70px) 0 90px; background: radial-gradient(circle at 50% 25%, rgba(0,130,255,.14), transparent 32rem), #050b12; }
.error-page .container { max-width: 800px; text-align: center; }
.error-page p { color: var(--color-muted); }

/* Desktop refinements */
@media (min-width: 1121px) {
    .hero-shell { min-height: 610px; }
    html[lang="de"] .hero h1 { max-width: 780px; }
}

/* Tablet */
@media (max-width: 1120px) {
    :root { --header-height: 78px; }
    .main-nav ul { gap: 14px; }
    .main-nav a { font-size: .84rem; }
    .brand { min-width: 200px; }
    .brand-picture, .brand-logo { width: 165px; }
    .hero-shell { grid-template-columns: 1fr 390px; gap: 34px; }
    .service-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .subhero-shell { grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; }
}

/* Mobile navigation + layout */
@media (max-width: 980px) {
    .container { width: min(calc(100% - 28px), var(--max-width)); }
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed; top: var(--header-height); left: 14px; right: 14px; margin: 0; padding: 18px;
        display: none; align-items: stretch; border: 1px solid var(--color-line); border-radius: 16px;
        background: rgba(3, 11, 18, .98); backdrop-filter: blur(18px); box-shadow: 0 24px 50px rgba(0,0,0,.4);
    }
    .main-nav.is-open { display: grid; gap: 16px; }
    .main-nav ul { display: grid; gap: 0; }
    .main-nav li a { display: block; padding: 12px 8px; font-size: .96rem; }
    .main-nav ul a::after { bottom: 5px; }
    .language-switch { padding: 14px 8px 0; border-left: 0; border-top: 1px solid var(--color-line); }
    .hero { min-height: auto; }
    .hero-shell { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--header-height) + 44px); padding-bottom: 46px; }
    .hero-copy { max-width: 760px; }
    .hero-brand-card { min-height: 0; max-width: 760px; width: 100%; justify-self: start; }
    .hero-brand-card img { min-height: 0; aspect-ratio: 16 / 7.6; }
    .section { padding: 76px 0; }
    .section-heading-split { grid-template-columns: 1fr; gap: 12px; }
    .solution-grid, .two-column, .intro-panel, .history-panel, .about-story-panel, .closing-panel { grid-template-columns: 1fr; }
    .history-panel, .about-story-panel { gap: 30px; }
    .history-year { font-size: 5rem; }
    .subhero { min-height: auto; }
    .subhero-shell { grid-template-columns: 1fr; gap: 26px; padding-top: calc(var(--header-height) + 48px); padding-bottom: 46px; }
    .subhero-visual { min-height: 210px; max-width: 680px; width: 100%; }
    .subhero-visual.brand-visual img { min-height: 210px; }
    .detail-grid--3, .detail-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr; align-items: start; }
    .footer-meta { justify-items: start; }
}

@media (max-width: 720px) {
    :root { --header-height: 68px; }
    .container { width: min(calc(100% - 24px), var(--max-width)); }
    .site-header { background: rgba(3, 10, 17, .97); }
    .header-inner { gap: 14px; }
    .brand { min-width: 0; }
    .brand-picture, .brand-logo { width: 142px; }
    .menu-toggle { width: 42px; height: 42px; }
    .hero-shell { padding-top: calc(var(--header-height) + 34px); padding-bottom: 42px; gap: 22px; }
    .hero h1 { font-size: clamp(2.55rem, 12vw, 4.15rem); line-height: .98; }
    .hero-lead { margin-top: 20px; font-size: .99rem; line-height: 1.66; }
    .eyebrow { font-size: .65rem; letter-spacing: .16em; margin-bottom: 13px; }
    .hero-actions { margin-top: 24px; gap: 16px; }
    .primary-button { width: 100%; justify-content: center; }
    .hero-since { width: 100%; }
    .hero-brand-card { border-radius: 14px; }
    .hero-brand-card img { aspect-ratio: 16 / 8.2; }
    .section { padding: 62px 0; }
    .section-heading { margin-bottom: 26px; }
    .section-heading h2, .intro-heading h2, .history-copy h2, .two-column h2, .closing-panel h2 { font-size: clamp(1.85rem, 8vw, 2.65rem); }
    .service-grid-featured, .service-secondary-grid, .solution-grid, .pillars-grid, .process-grid, .detail-grid--3, .detail-grid--4 { grid-template-columns: 1fr; }
    .service-card { min-height: 205px; padding: 22px; }
    .service-card h3 { margin-top: 18px; }
    .solution-card { min-height: 285px; padding: 24px; }
    .solution-card h3, .solution-card h2 { margin-top: 34px; }
    .solution-link { left: 24px; bottom: 22px; }
    .intro-panel, .about-story-panel, .history-panel, .closing-panel { padding: 26px; border-radius: 18px; gap: 26px; }
    .history-year { font-size: 4.2rem; }
    .two-column { gap: 30px; }
    .subhero-shell { padding-top: calc(var(--header-height) + 36px); padding-bottom: 42px; }
    .subhero h1, .legal-hero h1, .error-page h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
    .subhero-copy > p:last-child { margin-top: 20px; font-size: .98rem; }
    .subhero-visual { min-height: 180px; border-radius: 16px; }
    .subhero-icon { width: 84px; height: 84px; border-radius: 22px; }
    .subhero-icon svg { width: 42px; height: 42px; }
    .subhero-visual > span { font-size: 1.28rem; }
    .subhero-visual.brand-visual img { min-height: 180px; }
    .detail-card { min-height: 0; padding: 24px; }
    .closing-panel { grid-template-columns: 72px 1fr; }
    .closing-mark { width: 68px; height: 68px; border-radius: 18px; }
    .closing-mark svg { width: 32px; height: 32px; }
    .legal-hero { min-height: 360px; }
    .legal-hero-shell { grid-template-columns: 1fr; gap: 24px; }
    .legal-badge { width: 88px; height: 88px; border-radius: 22px; }
    .legal-badge svg { width: 40px; height: 40px; }
    .legal-block { padding: 22px; }
    .footer-logo { width: 180px; }
    .footer-nav { flex-wrap: wrap; }
}

@media (max-width: 430px) {
    .container { width: min(calc(100% - 20px), var(--max-width)); }
    .brand-picture, .brand-logo { width: 132px; }
    .hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
    .hero-brand-card img { aspect-ratio: 16 / 8.8; }
    .service-card { padding: 20px; }
    .service-secondary-grid a { padding: 12px; }
    .closing-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
