/* ═══════════════════════════════════════════════
   1. DESIGN SYSTEM TOKENS (March 2026 Standards)
   ═══════════════════════════════════════════════ */

:root {
    /* --- BASE PALETTE (Absolute Colors) --- */
    --c-ink-black: #0D0D0D;
    --c-platinum: #E5E5E5;
    --c-baltic-blue: #1A3A5F;
    --c-tech-blue: #70A1D7;
    --c-scarlet-rush: #D10000;
    --c-white: #ffffff;
    --c-true-black: #000000;

    /* --- SEMANTIC TOKENS (Native Theming via light-dark()) --- */
    color-scheme: light dark;

    --bg-page:          light-dark(var(--c-white), var(--c-ink-black));
    --text-primary:     light-dark(#1A1A1A, var(--c-platinum));
    --bg-card:          light-dark(#F7F7F7, #080808);
    --bg-card-elevated: light-dark(#EFEFEF, #111111);

    /* --- RELATIVE COLOR OPACITIES (RCS) --- */
    --text-muted:    rgb(from var(--text-primary) r g b / 85%);
    --text-dim:      rgb(from var(--text-primary) r g b / 95%);
    --border-subtle: rgb(from var(--text-primary) r g b / 15%);
    --border-faint:  rgb(from var(--text-primary) r g b / 10%);
    --border-ghost:  rgb(from var(--text-primary) r g b / 5%);

    /* --- COMPONENT TOKENS --- */
    --accent-label:   light-dark(var(--c-baltic-blue), var(--c-tech-blue));
    --nav-bg:         rgb(from var(--bg-page) r g b / 90%);
    --dropdown-bg:    rgb(from var(--bg-page) r g b / 98%);
    --dropdown-hover: rgb(from var(--c-baltic-blue) r g b / 12%);
    --bg-form:        rgb(from var(--text-primary) r g b / 3%);
    --bg-form-focus:  rgb(from var(--text-primary) r g b / 6%);

    --toggle-bg:  rgb(from var(--bg-page) r g b / 95%);
    --track-bg:   rgb(from var(--text-primary) r g b / 15%);
    --thumb-bg:   light-dark(var(--c-baltic-blue), var(--c-platinum));

    --cta-box-bg:       light-dark(var(--c-baltic-blue), var(--c-white));
    --cta-box-text:     light-dark(var(--c-white), var(--c-true-black));
    --cta-box-sub:      rgb(from var(--cta-box-text) r g b / 70%);
    --cta-box-btn-bg:   light-dark(var(--c-white), var(--c-baltic-blue));
    --cta-box-btn-text: light-dark(var(--c-baltic-blue), var(--c-white));

    /* --- BACKWARD-COMPAT ALIASES (theme-responsive) --- */
    /* Inline styles in HTML using these will still adapt to the active theme */
    --platinum:     light-dark(#1A1A1A, #E5E5E5);
    --ink-black:    light-dark(#FFFFFF, #0D0D0D);
    --baltic-blue:  var(--c-baltic-blue);
    --tech-blue:    var(--c-tech-blue);
    --scarlet-rush: var(--c-scarlet-rush);
    --white:        var(--c-white);

    /* --- LAYOUT CONSTANTS --- */
    --nav-height:  72px;
    --grid-unit:   8px;
    --border-width: 0.5px;

    /* --- ASSETS --- */
    --partner-siemens:  url('../assets/partners/siemens.svg');
    --partner-oebb:     url('../assets/partners/oebb.svg');
    --partner-avl:      url('../assets/shared/logos/avl.svg');
    --partner-alstom:   url('../assets/partners/alstom.svg');
    --partner-westbahn: url('../assets/partners/westbahn.svg');
    --viz-radsatz:      url('../assets/products/radsatz.png');
}

/* Manual theme override via JS data-attribute */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }


/* ═══════════════════════════════════════════════
   2. GLOBAL RESETS & TYPOGRAPHY
   ═══════════════════════════════════════════════ */

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

:focus-visible {
    outline: 2px solid var(--c-tech-blue);
    outline-offset: 2px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Inter Tight', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s, color 0.4s;
}

h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--text-primary);
    transition: color 0.4s;
}

.mono {
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 calc(var(--grid-unit) * 6);
}

section {
    padding: calc(var(--grid-unit) * 16) 0;
    border-bottom: var(--border-width) solid var(--border-faint);
}


/* ═══════════════════════════════════════════════
   3. UTILITIES (Replacing HTML Inline Styles)
   ═══════════════════════════════════════════════ */

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

.site-footer {
    padding: 48px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-faint);
}

.data-box-ghost {
    background: var(--border-ghost);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-primary);
    transition: background 0.4s, border-color 0.4s;
}

.data-box-label {
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Inline positioning utilities for hero elements */
.hero-visual-label {
    position: absolute;
    bottom: 24px;
    font-size: 10px;
    color: var(--text-muted);
}

.peak-alert-label {
    position: absolute;
    color: var(--c-scarlet-rush);
    font-size: 8px;
    bottom: 10px;
}

.map-live-label {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 8px;
    color: var(--c-baltic-blue);
}

.status-active  { color: var(--c-baltic-blue); }
.status-idle    { color: var(--text-muted); }



/* ═══════════════════════════════════════════════
   4. NAVIGATION
   ═══════════════════════════════════════════════ */

nav {
    height: var(--nav-height);
    border-bottom: var(--border-width) solid var(--border-subtle);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: background 0.4s, border-color 0.4s;
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-wrapper { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: 0.2em; color: var(--text-primary); text-decoration: none; }
.logo-img { height: 32px; width: auto; display: block; transition: filter 0.4s; }
html[data-theme="light"] .logo-img { filter: brightness(0); }
.nav-breadcrumb {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    opacity: 0.35;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.nav-links > a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s;
    letter-spacing: 0.1em;
}
.nav-links > a:hover { opacity: 1; }

/* Dropdown Menu */
.nav-group { position: relative; display: inline-block; }
.nav-group:hover .nav-label { opacity: 1; }
.nav-group:hover .dropdown-content { display: block; }

.nav-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 24px 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-label::after { content: '▾'; font-size: 10px; opacity: 0.5; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    left: -12px;
    background: var(--dropdown-bg);
    backdrop-filter: blur(20px);
    min-width: 220px;
    border: 1px solid var(--border-faint);
    box-shadow: 0 10px 30px rgb(from var(--c-true-black) r g b / 50%);
    z-index: 1001;
    padding: 12px 0;
    transition: background 0.4s, border-color 0.4s;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: all 0.3s;
}
.dropdown-content a:hover {
    background: var(--dropdown-hover);
    opacity: 1;
    padding-left: 28px;
}
.dropdown-content .active {
    opacity: 1;
    color: var(--c-baltic-blue);
    font-weight: 700;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 968px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0; bottom: 0;
        z-index: 1001;
        background: var(--dropdown-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 48px;
        gap: 32px;
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }

    nav .cta-btn { display: none; }
    .nav-group { width: 100%; }

    .dropdown-content {
        display: block;
        position: static;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 8px 0 0 16px;
        min-width: unset;
    }
    .dropdown-content a { padding: 12px 0; font-size: 14px; }
    .dropdown-content a:hover { padding-left: 12px; }
    .nav-label::after { display: none; }

    .container { padding: 0 calc(var(--grid-unit) * 3); }
}


/* ═══════════════════════════════════════════════
   5. BUTTONS & TOGGLES
   ═══════════════════════════════════════════════ */

.cta-btn {
    background-color: var(--c-baltic-blue);
    color: var(--c-white);
    padding: calc(var(--grid-unit) * 1.5) calc(var(--grid-unit) * 4);
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.3s;
    display: inline-block;
}
.cta-btn:hover  { opacity: 0.85; }
.cta-btn:active { transform: scale(0.97); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: calc(var(--grid-unit) * 1.5) calc(var(--grid-unit) * 4);
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.4s, color 0.4s;
    display: inline-block;
}

.btn-white {
    background: var(--c-white);
    color: var(--c-baltic-blue);
}

/* Language Toggle */
.lang-toggle { display: flex; gap: 4px; margin-right: 16px; }

.lang-toggle-btn {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    min-width: 38px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.lang-toggle-btn.active {
    opacity: 1;
    border-color: var(--c-tech-blue);
    color: var(--c-tech-blue);
}
.lang-toggle-btn:hover:not(.active) { opacity: 0.8; }

/* Theme Switch (new, matches lang-toggle style) */
.theme-switch {
    display: flex;
    gap: 4px;
    margin-right: 16px;
}

.theme-switch-btn {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px;
    min-width: 38px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s, border-color 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.theme-switch-btn.active {
    opacity: 1;
    border-color: var(--c-tech-blue);
    color: var(--c-tech-blue);
}
.theme-switch-btn:hover:not(.active) { opacity: 0.8; }

@media (max-width: 968px) {
    .nav-breadcrumb { display: none; }

    .lang-toggle {
        position: fixed;
        bottom: 48px;
        left: 48px;
        z-index: 1002;
        display: none;
    }

    .theme-switch {
        position: fixed;
        bottom: 48px;
        right: 48px;
        z-index: 1002;
        display: none;
        margin-right: 0;
    }

    /* Show lang + theme toggles only when mobile menu is open */
    .nav-links.open ~ .lang-toggle,
    .nav-links.open ~ .theme-switch { display: flex; }
}


/* ═══════════════════════════════════════════════
   6. HERO
   ═══════════════════════════════════════════════ */

.hero {
    padding-top: calc(var(--nav-height) + var(--grid-unit) * 8);
    padding-bottom: calc(var(--grid-unit) * 8);
}

.hero-layout { display: flex; flex-direction: column; gap: 48px; }

.hero-main-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.hero h1  { font-size: clamp(32px, 4vw, 56px); margin-bottom: 16px; line-height: 1.1; }
.hero .sub {
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
    border-left: 2px solid var(--c-baltic-blue);
    padding-left: 16px;
    opacity: 0.9;
}
.hero p {
    margin-top: 24px;
    max-width: 680px;

    & p {
        /* Beispiel: Skaliert fließend zwischen 16px (Mobile) und 24px (Desktop) */
        font-size: clamp(16px, 2vw, 24px); 
        line-height: 1.7;
        color: var(--text-dim);
        margin-bottom: 16px;

        &:last-child {
            margin-bottom: 0;
        }
    }
    
    @media (max-width: 600px) {
        margin-top: 16px;
        
        & p {
            line-height: 1.6;
        }
    }
}

.hero-buttons { display: flex; gap: 20px; margin-top: 32px; margin-bottom: 32px; flex-wrap: wrap; }

/* Hero Image Container (press-fit) */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: light-dark(normal, luminosity);
    opacity: light-dark(1, 0.9);
    transition: opacity 0.3s, mix-blend-mode 0.3s;
}
.hero-image-container:hover img { opacity: 1; mix-blend-mode: normal; }

/* Hero Visual (index.html full-width product shot) */
.hero-visual {
    width: 100%;
    min-height: 500px;
    margin-top: calc(var(--grid-unit) * 12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-visual img { max-width: 90%; max-height: 80%; object-fit: contain; }


/* ═══════════════════════════════════════════════
   7. TECHNOLOGY SECTION
   ═══════════════════════════════════════════════ */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 8);
}

.tech-card {
    border: var(--border-width) solid var(--border-subtle);
    padding: calc(var(--grid-unit) * 6);
    background: var(--bg-card);
    transition: border-color 0.3s, background-color 0.4s;
}
.tech-card.active   { border-color: var(--c-baltic-blue); }
.tech-card.critical { border-color: var(--c-scarlet-rush); }

/* Update your container if needed, but keep the existing flex properties */
.viz-container {
    height: 180px; /* You can adjust this if the images look too small */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden; 
}

/* ADD THIS: Forces the image to scale proportionally within the container */
.viz-container img.img-responsive {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the whole image is visible without stretching */
    display: block;
}

/* Field Rings (animated) */
.field-ring {
    position: absolute;
    border: 0.5px solid var(--text-primary);
    border-radius: 50%;
    opacity: 0.2;
}
.tech-card.active .field-ring   { border-color: var(--c-baltic-blue); opacity: 0.5; animation: pulse 2s infinite ease-in-out; }
.tech-card.critical .field-ring { border-color: var(--c-scarlet-rush); opacity: 1; border-width: 1px; border-style: dashed; }

@keyframes pulse {
    0%   { transform: scale(1); opacity: 0.2; }
    50%  { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* Deep Dive Section */
.tech-deep-dive {
    background: var(--bg-card-elevated);
    transition: background-color 0.4s;
}

.tech-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}
.tech-row h3 {
    font-size: 18px;
    margin-bottom: 16px;
    border-left: 2px solid var(--c-baltic-blue);
    padding-left: 16px;
}

/* Viz Image Box */
.viz-image-box {
    height: 320px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 24px;
}
.viz-image-box.radsatz { background-image: var(--viz-radsatz); }


/* ═══════════════════════════════════════════════
   8. SVG GRAPH STYLES
   ═══════════════════════════════════════════════ */

.graph-container { width: 100%; height: 100%; }
.axis            { stroke: var(--text-muted); stroke-width: 1; }
.axis-label      { fill: var(--text-muted); font-family: 'Roboto Mono', monospace; font-size: 10px; text-transform: uppercase; }
.curve-solid     { fill: none; stroke: var(--text-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.curve-dashed    { fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; }
.curve-critical  { fill: none; stroke: var(--c-scarlet-rush); stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; }
.indicator-pass  { fill: var(--text-primary); font-family: 'Roboto Mono', monospace; font-size: 18px; font-weight: bold; }
.indicator-fail  { fill: var(--c-scarlet-rush); font-family: 'Roboto Mono', monospace; font-size: 18px; font-weight: bold; }


/* ═══════════════════════════════════════════════
   9. COMPARISON & FEATURES (press-fit)
   ═══════════════════════════════════════════════ */

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; }
.comp-card {
    border: var(--border-width) solid var(--border-subtle);
    padding: 32px;
    background: var(--bg-card);
    transition: background-color 0.4s, border-color 0.4s;
}
.comp-card h3 { font-size: 14px; margin-bottom: 24px; opacity: 0.9; }
.comp-card--active { border-color: var(--c-baltic-blue); }

/* Research partner grid (press-fit) */
.research-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    gap: 32px 48px;
}

.partner-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner-logo-box {
    width: 120px;
    height: 64px;
    flex-shrink: 0;
    background: var(--c-white);
    padding: 10px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

.partner-text {
    font-size: 10px;
    line-height: 1.4;
    color: var(--text-dim);
}
.partner-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feature-item  { border-left: 2px solid var(--c-baltic-blue); padding-left: 24px; }
.feature-item h4 { font-size: 16px; margin-bottom: 12px; }
.feature-item p  { font-size: 14px; opacity: 0.7; }


/* ═══════════════════════════════════════════════
   10. PARTNER / TRUSTED-BY SECTIONS
   ═══════════════════════════════════════════════ */

/* Inline partner strip (index.html) */
.partners {
    padding: calc(var(--grid-unit) * 6) 0;
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid var(--border-ghost);
    transition: background-color 0.4s, border-color 0.4s;
}

.partner-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    opacity: 0.3;
    filter: brightness(0);
    margin-top: 32px;
    flex-wrap: wrap;
    transition: filter 0.4s, opacity 0.4s;
}
html[data-theme="dark"] .partner-list {
    opacity: 0.35;
    filter: brightness(0) invert(1);
}

.partner-logo-item {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo-item img { max-height: 100%; width: auto; object-fit: contain; }

/* Full partner section (press-fit.html) */
.trusted-by { padding: calc(var(--grid-unit) * 12) 0; border-bottom: var(--border-width) solid var(--border-faint); }
.section-label { font-size: 10px; opacity: 0.6; margin-bottom: 48px; letter-spacing: 0.2em; display: block; }
.partner-categories { display: flex; flex-direction: column; gap: 64px; }
.category-title { font-size: 11px; margin-bottom: 32px; opacity: 0.6; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

.framed-section {
    border: var(--border-width) solid var(--border-subtle);
    background: var(--bg-card);
    padding: 40px;
    border-radius: 4px;
    margin-top: 24px;
    transition: background-color 0.4s, border-color 0.4s;
}

.research-divider { border-top: 1px solid var(--border-faint); padding-top: 48px; }
.ecosystem-cta {
    display: block;
    margin-top: 24px;
    font-size: 11px;
    color: var(--text-primary);
    opacity: 0.8;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}
.ecosystem-cta:hover { opacity: 1; }

/* Logo grid (press-fit research partners) */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 40px;
    filter: light-dark(brightness(0), brightness(0) invert(1));
    opacity: light-dark(0.5, 0.6);
    margin-bottom: 24px;
    transition: filter 0.4s, opacity 0.4s;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    transition: opacity 0.3s;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.logo-item.siemens  { background-image: var(--partner-siemens); }
.logo-item.oebb     { background-image: var(--partner-oebb); }
.logo-item.alstom   { background-image: var(--partner-alstom); }
.logo-item.westbahn { background-image: var(--partner-westbahn); }
.logo-item:hover    { opacity: 1; }

.logo-placeholder {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.1;
}


/* ═══════════════════════════════════════════════
   11. CASE STUDY BANNER
   ═══════════════════════════════════════════════ */

.case-study-box {
    background: var(--c-baltic-blue);
    padding: 32px 48px;
    border-radius: 2px;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-left: 4px solid rgba(255,255,255,0.4);
    color: #ffffff;
}
.case-study-box::after {
    content: 'CASE STUDY // RADSATZ-QUALITÄT';
    position: absolute; top: 12px; right: 12px;
    font-family: 'Roboto Mono'; font-size: 9px; opacity: 0.3; letter-spacing: 0.1em;
}
.case-study-box h2 { font-size: 20px; margin-bottom: 12px; color: #FFFFFF; letter-spacing: 0.05em; }
.case-study-box p  { font-size: 15px; max-width: 900px; margin-bottom: 24px; opacity: 0.9; color: #ffffff; }


/* ═══════════════════════════════════════════════
   12. SaaS / SPLIT LAYOUT (index.html)
   ═══════════════════════════════════════════════ */

.saas-footer {
    background: light-dark(
        rgba(26, 58, 95, 0.04),
        rgba(26, 58, 95, 0.08)
    );
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--grid-unit) * 12);
    align-items: center;
}

.dashboard-preview {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-faint);
    padding: 16px;
    height: 360px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background-color 0.4s, border-color 0.4s;
}
.preview-top     { height: 20px; background: var(--border-ghost); border-radius: 2px; }
.preview-grid    { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; height: 100%; }
.preview-sidebar { background: var(--border-ghost); }
.preview-map     { background: rgb(from var(--c-baltic-blue) r g b / 5%); border: 0.5px solid rgb(from var(--c-baltic-blue) r g b / 20%); position: relative; }


/* ═══════════════════════════════════════════════
   13. CONTACT FORM
   ═══════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-top: 64px;
}

.contact-form { display: flex; flex-direction: column; gap: 32px; }
.contact-form .cta-btn { align-self: flex-start; margin-top: 8px; }

.form-group {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    gap: 10px;
}
.form-group label {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-label);
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-form);
    border: var(--border-width) solid var(--border-subtle);
    padding: 16px;
    color: var(--text-primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    border-radius: 2px;
    transition: border-color 0.3s, background-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-baltic-blue);
    background: var(--bg-form-focus);
}
.form-group textarea { min-height: 160px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 48px; }
.info-block h3 {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.6;
    border-bottom: var(--border-width) solid var(--border-faint);
    padding-bottom: 12px;
}
.info-block p { font-size: 16px; line-height: 1.8; }
.info-link {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
    transition: color 0.3s;
}
.info-link:hover { color: var(--c-baltic-blue); }


/* ═══════════════════════════════════════════════
   14. TEAM PAGE
   ═══════════════════════════════════════════════ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.member-card {
    border: var(--border-width) solid var(--border-faint);
    background: var(--bg-card);
    padding: 24px;
    transition: border-color 0.3s, background-color 0.4s;
}
.member-card:hover {
    border-color: var(--c-baltic-blue);
    background: var(--bg-card-elevated);
}
.member-card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: 0.05em; }
.member-card p  { font-size: 14px; line-height: 1.6; opacity: 0.7; }

.portrait-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-card-elevated);
}
.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    opacity: 0.9;
    transition: filter 0.4s ease, transform 0.4s ease;
}
.member-card:hover .portrait-container img {
    filter: grayscale(0);
    transform: scale(1.05);
    opacity: 1;
}

.member-role  { font-size: 10px; color: var(--c-tech-blue); margin-bottom: 12px; display: block; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.member-title { font-size: 12px; opacity: 0.5; margin-bottom: 24px; display: block; }


/* ═══════════════════════════════════════════════
   15. BRAND PAGE
   ═══════════════════════════════════════════════ */

.brand-page {
    padding-top: 40px;
    padding-bottom: 100px;
}

.brand-system-tag { font-size: 12px; color: var(--accent-label); }
.brand-title      { font-size: 48px; margin-top: 16px; }
.brand-intro      { max-width: 600px; margin-top: 24px; color: var(--text-dim); }

.section-header {
    margin-top: 80px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-faint);
    padding-bottom: 16px;
}
.section-heading { font-size: 14px; color: var(--accent-label); }

/* Logo System */
.logo-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
.logo-card {
    border: 0.5px solid var(--border-subtle);
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 220px;
    transition: border-color 0.4s;
}
.logo-card--dark  { background: #0D0D0D; }
.logo-card--light { background: #F7F7F7; }
.logo-card img {
    max-width: 70%;
    max-height: 72px;
    height: auto;
    width: auto;
}
.logo-card--light img { filter: brightness(0); }
.logo-card-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.logo-card--dark .logo-card-label  { color: #E5E5E5; opacity: 0.5; }
.logo-card--light .logo-card-label { color: #0D0D0D; opacity: 0.5; }

/* Logo Rules Grid */
.logo-rules {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.logo-rule-card {
    border: 0.5px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 24px;
    transition: background-color 0.4s, border-color 0.4s;
}
.logo-rule-card h3 {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: var(--accent-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.logo-rule-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}
.logo-rule-demo {
    margin-bottom: 16px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-elevated);
    border: 0.5px solid var(--border-ghost);
    padding: 20px;
    position: relative;
}
.logo-rule-demo img {
    height: 32px;
    width: auto;
}
html[data-theme="light"] .logo-rule-demo img { filter: brightness(0); }

/* Clear Space demo: visible padding guides around the logo */
.logo-rule-demo--clearspace {
    padding: 0;
}
.logo-rule-demo--clearspace .clearspace-frame {
    position: relative;
    padding: 24px;
    border: 1px dashed var(--c-tech-blue);
}
.logo-rule-demo--clearspace .clearspace-frame::before,
.logo-rule-demo--clearspace .clearspace-frame::after {
    content: 'X';
    position: absolute;
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: var(--c-tech-blue);
    opacity: 0.8;
}
.logo-rule-demo--clearspace .clearspace-frame::before { top: 6px; left: 8px; }
.logo-rule-demo--clearspace .clearspace-frame::after  { bottom: 6px; right: 8px; }

/* Minimum Size demo */
.logo-rule-demo--minsize {
    gap: 24px;
}
.logo-rule-demo--minsize img { height: 20px; }
.logo-rule-demo--minsize .minsize-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: var(--c-tech-blue);
    margin-left: 12px;
}

/* Don'ts Grid */
.logo-donts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.logo-dont {
    border: 0.5px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 32px 16px 16px;
    text-align: center;
    position: relative;
    transition: background-color 0.4s, border-color 0.4s;
}
.logo-dont::before {
    content: '✕';
    position: absolute;
    top: 8px;
    right: 12px;
    color: var(--c-scarlet-rush);
    font-weight: 700;
    font-size: 14px;
}
.logo-dont img {
    height: 36px;
    width: auto;
    margin: 0 auto 16px;
    display: block;
}
html[data-theme="light"] .logo-dont img { filter: brightness(0); }
.logo-dont-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Specific misuse examples */
.logo-dont--stretch img  { transform: scaleX(1.6); }
.logo-dont--squish img   { transform: scaleY(0.5); }
.logo-dont--rotate img   { transform: rotate(-12deg); }
.logo-dont--recolor img  { filter: invert(35%) sepia(90%) saturate(4000%) hue-rotate(-10deg); }
html[data-theme="light"] .logo-dont--recolor img { filter: invert(35%) sepia(90%) saturate(4000%) hue-rotate(-10deg); }
.logo-dont--shadow img   { filter: drop-shadow(0 0 8px var(--c-tech-blue)); }
html[data-theme="light"] .logo-dont--shadow img { filter: brightness(0) drop-shadow(0 0 8px var(--c-tech-blue)); }

/* Color Palette */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.color-card {
    border: 0.5px solid var(--border-subtle);
    padding: 12px;
    background: var(--bg-card);
    transition: background-color 0.4s, border-color 0.4s;
}
.color-card--scarlet { border-color: var(--c-scarlet-rush); }
.color-swatch        { height: 120px; width: 100%; margin-bottom: 16px; }

/* Swatch backgrounds — hardcoded so they always show true brand colors */
.swatch-ink-black   { background: #0D0D0D; border: 1px solid var(--border-faint); }
.swatch-platinum    { background: #E5E5E5; }
.swatch-baltic-blue { background: var(--c-baltic-blue); }
.swatch-tech-blue   { background: var(--c-tech-blue); }
.swatch-scarlet-rush { background: var(--c-scarlet-rush); }

.color-name           { font-size: 12px; color: var(--text-primary); }
.color-name--inverted { color: #0D0D0D; background: #E5E5E5; display: inline-block; padding: 0 4px; }
.color-name--tech-blue { color: var(--c-tech-blue); }
.color-name--scarlet   { color: var(--c-scarlet-rush); }
.color-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Typography Scale */
.type-scale { display: flex; flex-direction: column; gap: 32px; }
.type-item  { border-bottom: 0.5px solid var(--border-ghost); padding-bottom: 16px; }
.type-label { font-size: 10px; color: var(--accent-label); margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.type-display { font-size: 84px; }
.type-h1      { font-size: 48px; }
.type-h2      { font-size: 32px; }
.type-body    { font-size: 16px; max-width: 800px; color: var(--text-dim); }
.type-data    { font-size: 14px; color: var(--accent-label); }

/* Component Library */
.component-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.component-item { display: flex; flex-direction: column; gap: 16px; }
.component-item--wide { grid-column: span 2; }
.component-item--full { grid-column: 1 / -1; }
.component-label { font-size: 10px; color: var(--text-muted); }

/* Data Card */
.data-card {
    border: 1px solid var(--border-faint);
    padding: 32px;
    background: var(--bg-card-elevated);
    transition: background-color 0.4s, border-color 0.4s;
}
.data-card-title { font-size: 24px; margin-bottom: 16px; }
.data-card-text  { font-size: 14px; color: var(--text-dim); }

/* CTA Box */
.cta-box {
    background: var(--cta-box-bg);
    padding: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: background-color 0.4s;
}
.cta-box-title { font-size: 24px; margin-bottom: 8px; color: var(--cta-box-text); }
.cta-box-text  { font-size: 14px; margin: 0; color: var(--cta-box-sub); }
.btn-cta-box {
    background: var(--cta-box-btn-bg);
    color: var(--cta-box-btn-text);
    border: none;
    padding: 12px 24px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 12px;
    border-radius: 2px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.4s, color 0.4s, opacity 0.2s;
}
.btn-cta-box:hover { opacity: 0.85; }

/* Viz Showcase */
.viz-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.viz-card {
    border: 0.5px solid var(--border-faint);
    background: var(--bg-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    color: var(--text-primary);
    transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.viz-card--active   { border-color: var(--c-baltic-blue); }
.viz-card--critical { border-color: var(--c-scarlet-rush); }
.viz-label          { font-size: 10px; color: var(--text-muted); position: absolute; top: 12px; left: 12px; }
.viz-label--active   { color: var(--c-tech-blue); }
.viz-label--critical { color: var(--c-scarlet-rush); }
.viz-svg { color: var(--text-primary); }


/* ═══════════════════════════════════════════════
   SPEC TABLE (continuous-monitoring)
   ═══════════════════════════════════════════════ */

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
}

.spec-table tr {
    border-bottom: var(--border-width) solid var(--border-faint);
    transition: border-color 0.4s;
}

.spec-table td {
    padding: 20px 0;
    font-size: 14px;
    vertical-align: top;
}

.spec-table td:first-child {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-label);
    width: 240px;
    padding-right: 32px;
}

.spec-table td:last-child {
    color: var(--text-primary);
}


/* ═══════════════════════════════════════════════
   COMPARISON CARDS (continuous-monitoring)
   ═══════════════════════════════════════════════ */

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--grid-unit) * 4);
    margin-top: 48px;
}

.comparison-card {
    border: var(--border-width) solid var(--border-subtle);
    padding: calc(var(--grid-unit) * 6);
    background: var(--bg-card);
    transition: border-color 0.3s, background-color 0.4s;
}

.comparison-card--highlighted {
    border-color: var(--c-baltic-blue);
}

.comparison-card h3 {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-card li {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.comparison-card li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border-subtle);
}

.comparison-card--highlighted li::before {
    content: '✓';
    color: var(--c-tech-blue);
}


/* ═══════════════════════════════════════════════
   16. UTILITY TYPOGRAPHY CLASSES
   ═══════════════════════════════════════════════ */

.tech-label    { font-size: 14px; color: var(--accent-label); margin-bottom: 16px; }
.section-title    { font-size: 32px; margin-bottom: 8px; }
.section-subtitle { font-size: 12px; opacity: 0.6; margin-bottom: 48px; }
.micro-label      { font-size: 10px; opacity: 0.5; }
.display-title    { font-size: 40px; margin-bottom: 24px; }


/* ═══════════════════════════════════════════════
   17. RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 968px) {
    .hero-main-row     { grid-template-columns: 1fr; gap: 32px; }
    .tech-grid         { grid-template-columns: 1fr; gap: 24px; }
    .split-layout      { grid-template-columns: 1fr; gap: 48px; }
    .comparison-grid   { grid-template-columns: 1fr; gap: 32px; }
    .features-grid     { grid-template-columns: 1fr; gap: 24px; }
    .tech-row          { grid-template-columns: 1fr; gap: 24px; }
    .partner-list      { gap: 32px; }
    .logo-grid         { grid-template-columns: repeat(3, 1fr); }
    .contact-grid      { grid-template-columns: 1fr; gap: 64px; }
    .viz-showcase      { grid-template-columns: 1fr; }
    .component-item--wide,
    .component-item--full { grid-column: span 1; }
    .comparison-cards    { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .team-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
    section { padding: calc(var(--grid-unit) * 8) 0; }
    .hero   { padding-top: calc(var(--nav-height) + var(--grid-unit) * 4); }
    .hero h1 { font-size: 28px; }
    .hero .sub { font-size: 14px; }
    .hero-visual { min-height: 300px; margin-top: calc(var(--grid-unit) * 6); }
    .tech-card { padding: calc(var(--grid-unit) * 4); }
    .viz-container { height: 140px; }
    .case-study-box { padding: 24px; }
    .dashboard-preview { height: 240px; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { gap: 48px; }
    .partner-list { gap: 24px; }
    .brand-title  { font-size: 32px; }
    .type-display { font-size: 48px; }
    .type-h1      { font-size: 32px; }
    .cta-box      { flex-direction: column; align-items: flex-start; }
    .spec-table td:first-child { width: auto; display: block; padding-bottom: 4px; }
    .spec-table td { display: block; padding: 8px 0; }
    .spec-table tr { padding: 12px 0; display: block; }
}

/* ═══════════════════════════════════════════════
   REUSABLE MODIFIERS & PATTERNS
   ═══════════════════════════════════════════════ */

/* Layout modifiers */
.hero--compact                { padding-bottom: 0; }
.section--last                { border-bottom: none; }
.section-title--spaced        { margin-bottom: 24px; }

/* Grid variants */
.tech-grid--2col              { grid-template-columns: repeat(2, 1fr); }
.features-grid--compact       { grid-template-columns: 1fr; gap: 16px; margin-top: 0; }

/* Tech card extensions */
a.tech-card                   { text-decoration: none; color: inherit; display: block; }
a.tech-card:hover             { border-color: var(--accent-label); }
.tech-card--dashed            { border-style: dashed; }
.tech-card h3                 { margin-bottom: 16px; }
.card-desc                    { font-size: 14px; opacity: 0.7; line-height: 1.6; margin-bottom: 24px; }
.card-action                  { font-size: 11px; color: var(--accent-label); }
.card-subtitle                { font-size: 14px; }

/* Stat values (large numbers in impact cards) */
.stat-value                   { font-size: 48px; letter-spacing: 0; line-height: 1; color: var(--c-tech-blue); margin-bottom: 16px; }
.stat-value--critical         { color: var(--c-scarlet-rush); }

/* Product cards (image + body) */
.product-card                 { padding: 0; overflow: hidden; }
.product-card-img             { height: 240px; margin-bottom: 0; border-bottom: var(--border-width) solid var(--border-subtle); }
.product-card-body            { padding: 32px; }
.product-card-body .btn-secondary { font-size: 11px; }

/* Lists */
.plain-list                   { list-style: none; padding: 0; line-height: 1.9; opacity: 0.85; }
.benefits-list                { list-style: none; padding: 0; font-size: 14px; line-height: 1.9; opacity: 0.8; }

/* Job detail page */
.job-back                     { opacity: 0.6; margin-bottom: 16px; }
.job-meta                     { opacity: 0.6; margin-top: 16px; }
.detail-label                 { font-size: 11px; opacity: 0.6; margin-bottom: 6px; }
.detail-value                 { margin-bottom: 16px; font-size: 14px; }
.link-plain                   { color: inherit; text-decoration: none; }

/* Section description (body-size text under section title) */
.section-desc                 { font-size: 14px; opacity: 0.7; line-height: 1.7; margin-bottom: 32px; }

/* Brand page subsection headings */
.brand-subsection             { font-size: 11px; color: var(--accent-label); margin-bottom: 20px; letter-spacing: 0.12em; }

/* ═══════════════════════════════════════════════
   RICH TEXT (CMS / Bard output — no classes on inner elements)
   ═══════════════════════════════════════════════ */

.rich-text                    { line-height: 1.7; }
.rich-text h1                 { font-size: 32px; margin: 48px 0 16px; }
.rich-text h2                 { font-size: 24px; margin: 40px 0 12px; }
.rich-text h3                 { font-size: 18px; margin: 32px 0 8px; }
.rich-text p                  { margin-bottom: 16px; opacity: 0.85; }
.rich-text ul,
.rich-text ol                 { margin-bottom: 16px; padding-left: 24px; opacity: 0.85; }
.rich-text li                 { margin-bottom: 6px; }
.rich-text blockquote         { border-left: 2px solid var(--accent-label); padding-left: 16px; margin: 24px 0; opacity: 0.8; font-style: italic; }
.rich-text a                  { color: var(--accent-label); text-decoration: underline; }
.rich-text a:hover            { opacity: 0.7; }
.rich-text strong             { font-weight: 700; }
.rich-text img                { max-width: 100%; height: auto; margin: 24px 0; }
.rich-text hr                 { border: none; border-top: var(--border-width) solid var(--border-subtle); margin: 32px 0; }
.rich-text :first-child       { margin-top: 0; }

@media (max-width: 968px) {
    .tech-grid--2col { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   DATA SHEETS / DOWNLOAD PAGE
   ═══════════════════════════════════════════════ */

.download-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.download-success {
    display: none;
    padding: 40px;
    background: var(--bg-card-elevated);
    border: 1px solid var(--c-tech-blue);
    margin-top: 32px;
    border-radius: 4px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}
.download-item:hover {
    border-color: var(--c-tech-blue);
    background: var(--bg-form-focus);
}
.download-item .mono {
    font-size: 11px;
    color: var(--c-tech-blue);
}
.download-item .file-info {
    text-align: left;
}
.download-item .file-name {
    font-weight: 700;
    display: block;
}

.download-form-subtitle {
    margin-bottom: 32px;
}

.download-form {
    text-align: left;
}

.download-form-submit {
    margin-top: 32px;
}

.download-form-submit .cta-btn {
    width: 100%;
}

.download-success-label {
    color: var(--c-tech-blue);
}

.download-success-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.download-success-text {
    font-size: 14px;
    opacity: 0.8;
}

.download-btn {
    font-size: 10px;
}
