/* ============================================================
   Nexavaris — nullmask-style
   Visual DNA: floating pill nav, light grey canvas,
   monochrome isometric line-art, single Nexavaris-blue accent.
   DSGVO: alle Fonts lokal, keine externen CDN-Requests.
   ============================================================ */

/* Local Fonts — DSGVO-konform */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter/inter-400.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter/inter-500.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter/inter-600.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter/inter-700.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter/inter-700.ttf') format('truetype'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono/space-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-mono/space-mono-700.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; background: #e8e8e8; color: #111; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px; line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --accent: #0071e3;
    --accent-soft: #9fc6f4;
    --accent-dim: #e6f0fc;
    --ink: #111;
    --ink-soft: #3a3a3a;
    --ink-mute: #6a6a6a;
    --page: #e8e8e8;
    --page-alt: #dcdcdc;
    --line: #111;
}

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

/* ============================================================
   Scroll-Snap host (Homepage only — opt-in via body.nm-snap)
   Each <section> in #nmSnap becomes a full-viewport snap target.
   ============================================================ */
body.nm-snap, html:has(body.nm-snap) {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}
#nmSnap {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}
#nmSnap::-webkit-scrollbar { width: 6px; }
#nmSnap::-webkit-scrollbar-track { background: transparent; }
#nmSnap::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

#nmSnap > section,
#nmSnap > footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-top: 110px;
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow: hidden;
}
#nmSnap > footer {
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 30px;
}
#nmSnap > footer .nm-container { margin: auto 0; width: 100%; }
#nmSnap > footer.nm-snap--dark {
    background: var(--ink);
    color: #fff;
    border-top: none;
}
#nmSnap > footer.nm-snap--dark .nm-footer__brand,
#nmSnap > footer.nm-snap--dark .nm-footer__col h4 { color: #fff; }
#nmSnap > footer.nm-snap--dark .nm-footer__about,
#nmSnap > footer.nm-snap--dark .nm-footer__col a,
#nmSnap > footer.nm-snap--dark .nm-footer__legal { color: rgba(255,255,255,0.6); }
#nmSnap > footer.nm-snap--dark .nm-footer__col a:hover { color: var(--accent); }
#nmSnap > footer.nm-snap--dark .nm-footer__social a {
    border-color: rgba(255,255,255,0.25);
    background: transparent;
    color: #fff;
}
#nmSnap > footer.nm-snap--dark .nm-footer__social a:hover {
    background: #fff; color: var(--ink);
}
#nmSnap > footer.nm-snap--dark .nm-footer__legal { border-top-color: rgba(255,255,255,0.12); }

/* Sections with dark background breather between light ones */
#nmSnap > section.nm-snap--dark {
    background: var(--ink);
    color: #fff;
}
#nmSnap > section.nm-snap--dark h1,
#nmSnap > section.nm-snap--dark h2,
#nmSnap > section.nm-snap--dark h3,
#nmSnap > section.nm-snap--dark .nm-display { color: #fff; }
#nmSnap > section.nm-snap--dark p { color: rgba(255,255,255,0.75); }
#nmSnap > section.nm-snap--dark .nm-btn {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,0.4);
}
#nmSnap > section.nm-snap--dark .nm-btn:hover {
    background: #fff; color: var(--ink);
    border-color: #fff;
}
#nmSnap > section.nm-snap--dark .nm-btn--accent {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
}
#nmSnap > section.nm-snap--dark .nm-btn--accent:hover {
    background: #fff; color: var(--ink);
    border-color: #fff;
}
#nmSnap > section.nm-snap--alt { background: var(--page-alt); }

/* When snap is active, collapse the Hero's built-in large padding */
body.nm-snap .nm-hero,
body.nm-snap .nm-section,
body.nm-snap .nm-manifesto,
body.nm-snap .nm-wallet {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.nm-snap .nm-hero__sub {
    margin-top: 40px;
    padding-top: 32px;
}

/* Sections whose content may exceed viewport — allow inner scroll */
#nmSnap > section.nm-snap--tall {
    justify-content: flex-start;
}
#nmSnap > section.nm-snap--tall > .nm-container {
    overflow-y: auto;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
}

/* Skip snap behaviour on small screens — UX is bad on phones */
@media (max-width: 900px) {
    body.nm-snap, html:has(body.nm-snap) {
        overflow: auto;
        height: auto;
    }
    #nmSnap {
        height: auto;
        overflow: visible;
        scroll-snap-type: none;
    }
    #nmSnap > section,
    #nmSnap > footer {
        scroll-snap-align: none;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 60px;
        display: block;
    }
    body.nm-snap .nm-hero,
    body.nm-snap .nm-section,
    body.nm-snap .nm-manifesto,
    body.nm-snap .nm-wallet {
        flex: initial;
        display: block;
    }
}

/* ---------- Reveal on scroll ---------- */
.nm-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.25,0.1,0.25,1),
                transform 0.7s cubic-bezier(0.25,0.1,0.25,1);
}
.nm-reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .nm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile menu (toggled via burger) ---------- */
.nm-mobile-menu {
    position: fixed; top: 90px; left: 16px; right: 16px;
    z-index: 99;
    background: #fff;
    border: 1.5px solid #111;
    border-radius: 16px;
    box-shadow: 0 2px 0 #111, 0 8px 24px rgba(0,0,0,0.08);
    padding: 12px 8px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    display: none;
}
.nm-mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.nm-mobile-menu a {
    display: block; padding: 12px 16px;
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
    color: #3a3a3a; border-radius: 8px;
    transition: background 0.2s;
}
.nm-mobile-menu a:hover { background: #f5f5f5; color: #111; }

@media (max-width: 900px) {
    .nm-mobile-menu { display: block; }
}

/* ---------- Layout ---------- */
.nm-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nm-section { padding: 160px 0; position: relative; }
.nm-section--tight { padding: 100px 0; }

/* ---------- Floating pill header ---------- */
.nm-header {
    position: sticky; top: 20px; z-index: 100;
    display: flex; justify-content: center;
    pointer-events: none;
    padding: 0 32px;
    margin-top: 20px;
}
.nm-header__pill {
    pointer-events: auto;
    display: flex; align-items: center;
    width: 100%; max-width: 720px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 10px 14px 10px 18px;
    box-shadow: 0 2px 0 #111, 0 8px 24px rgba(0,0,0,0.08);
}
.nm-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--ink);
}
.nm-logo__mark {
    width: 26px; height: 26px;
    border: 1.5px solid var(--ink); border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    position: relative;
}
.nm-logo__mark::before {
    content: ''; position: absolute; inset: 4px;
    border: 1.5px solid var(--ink); border-radius: 2px;
    background: var(--accent);
}
.nm-logo__name {
    font-family: 'Space Mono', 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700; font-size: 19px; letter-spacing: 0.04em;
    text-transform: uppercase;
}
.nm-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nm-nav a {
    color: var(--ink-soft); text-decoration: none;
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500;
    font-family: 'Space Mono', ui-monospace, monospace;
    letter-spacing: 0.02em;
    transition: all .2s;
}
.nm-nav a:hover { background: #f5f5f5; color: var(--ink); }
.nm-nav__burger {
    width: 36px; height: 36px;
    border: 1.5px solid var(--ink); border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    background: #fff; cursor: pointer;
    margin-left: 6px;
}
.nm-nav__burger span {
    display: block; width: 14px; height: 1.5px; background: var(--ink);
    position: relative;
}
.nm-nav__burger span::before, .nm-nav__burger span::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
}
.nm-nav__burger span::before { top: -5px; }
.nm-nav__burger span::after  { top: 5px; }

/* ---------- Buttons ---------- */
.nm-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 11px 22px;
    font: 700 14px/1 'Space Mono', ui-monospace, monospace;
    letter-spacing: 0.04em;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: #fff; color: var(--ink);
    cursor: pointer; text-decoration: none;
    transition: all .2s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.nm-btn:hover { background: var(--ink); color: #fff; }
.nm-btn--accent { background: var(--accent); color: #fff; border-color: var(--ink); }
.nm-btn--accent:hover { background: var(--ink); color: #fff; }
.nm-btn--lg { padding: 14px 28px; font-size: 15px; }
.nm-btn--block { width: 100%; justify-content: center; }

/* ---------- Typography ---------- */
.nm-display {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.05; color: var(--ink);
    text-wrap: balance;
}
.nm-h1 { font-size: clamp(40px, 5vw, 64px); }
.nm-h2 { font-size: clamp(32px, 4vw, 52px); }
.nm-h3 { font-size: clamp(22px, 2vw, 28px); }

.nm-overline {
    font-family: 'Space Mono', ui-monospace, monospace;
    font-weight: 500; font-size: 12px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-mute);
}
.nm-accent-text { color: var(--accent); }

/* ---------- HERO ---------- */
.nm-hero { padding: 100px 0 160px; }
.nm-hero__grid {
    display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center;
}
.nm-hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.nm-hero__art { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.nm-hero__sub {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    max-width: 1080px; margin: 80px auto 0;
    padding-top: 60px; border-top: 1px solid rgba(0,0,0,0.12);
}
.nm-hero__sub h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.nm-hero__sub p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 360px; }
.nm-hero__sub--right h3, .nm-hero__sub--right p { text-align: right; margin-left: auto; }

/* ---------- Split sections ---------- */
.nm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nm-split--flip > *:first-child { order: 2; }
.nm-split p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; margin: 0 0 16px; max-width: 520px; }
.nm-split p:last-child { margin-bottom: 0; }
.nm-split__bullets { list-style: none; padding: 0; margin: 24px 0 0; }
.nm-split__bullets li {
    padding: 14px 0;
    display: flex; gap: 16px; align-items: flex-start;
    font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.nm-split__bullets strong { color: var(--ink); font-weight: 700; margin-right: 4px; }

/* ---------- Feature tiles grid ---------- */
.nm-features__head { text-align: center; margin-bottom: 60px; }
.nm-features__head .nm-display { margin: 0; }
.nm-features__grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.nm-tile {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 18px 16px 20px;
    aspect-ratio: 1 / 1.1;
    display: flex; flex-direction: column;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .25s, box-shadow .25s;
}
.nm-tile:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.nm-tile__art {
    flex: 1; display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; overflow: hidden;
}
.nm-tile__art svg { width: 80%; height: auto; max-height: 110px; }
.nm-tile__label { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -0.005em; }

/* ---------- Manifesto block ---------- */
.nm-manifesto { padding: 120px 0; }
.nm-manifesto__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.nm-manifesto h2 { margin: 0 0 24px; }
.nm-manifesto p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 460px; }
.nm-manifesto__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Daten-Souveränität visual (hybrid SVG+HTML) ---------- */
.nm-data-viz {
    display: flex; flex-direction: column; align-items: center;
    gap: 0; max-width: 420px; margin: 0 auto;
    font-family: 'Space Mono', ui-monospace, monospace;
}
.nm-data-viz__cloud {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.nm-data-viz__label {
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--ink);
}
.nm-data-viz__crossout {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 0 18px;
}
.nm-data-viz__crossout-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 500; line-height: 1.45;
    color: var(--ink-soft); text-align: center;
    margin: 0;
}
.nm-server {
    width: 100%; max-width: 380px;
    background: #fff; border: 2px solid var(--ink);
    border-radius: 10px; overflow: hidden;
    box-shadow: 3px 3px 0 var(--ink);
}
.nm-server__head {
    background: var(--accent); color: #fff;
    padding: 12px 16px;
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
    text-align: center;
}
.nm-server__list { list-style: none; padding: 10px; margin: 0; display: grid; gap: 6px; }
.nm-server__list li {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center; gap: 10px;
    padding: 10px 14px;
    background: #f5f5f7; border: 1px solid #e4e4e7;
    border-radius: 6px;
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 13px; font-weight: 700;
    color: var(--ink);
}
.nm-server__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 0 2px rgba(52,199,89,0.2);
}
.nm-server__key { letter-spacing: 0.01em; }
.nm-server__val { color: var(--ink-mute); font-size: 11px; letter-spacing: 0.1em; }

.nm-data-viz__badges {
    display: flex; gap: 28px; justify-content: center;
    margin-top: 22px; padding-top: 18px;
    position: relative; width: 100%;
}
.nm-data-viz__badges::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%;
    height: 1px; background: repeating-linear-gradient(90deg, rgba(0,0,0,0.25) 0 3px, transparent 3px 7px);
}
.nm-badge {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--ink);
}

/* ---------- Wallet / Small hero section ---------- */
.nm-wallet { padding: 120px 0; }
.nm-wallet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nm-wallet h2 { margin: 0 0 10px; }
.nm-wallet .nm-sub { color: var(--ink-soft); font-size: 17px; line-height: 1.5; margin: 0; }

/* ---------- Products list ---------- */
.nm-products__list { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 900px; margin: 0 auto; }
.nm-product-row {
    display: grid; grid-template-columns: 56px 1fr auto 28px;
    align-items: center; gap: 24px;
    background: #fff; border: 1.5px solid var(--ink); border-radius: 14px;
    padding: 22px 28px;
    box-shadow: 3px 3px 0 var(--ink);
    text-decoration: none; color: var(--ink);
    transition: transform .2s, box-shadow .2s;
}
.nm-product-row:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.nm-product-row__num { font-family: 'Space Mono', monospace; font-size: 22px; font-weight: 700; color: var(--accent); }
.nm-product-row__title { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 4px; }
.nm-product-row__desc { font-size: 14px; color: var(--ink-soft); }
.nm-product-row__tag {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 0.1em; color: var(--ink-mute);
    padding: 4px 10px; border: 1px solid var(--ink); border-radius: 999px;
}
.nm-product-row__arrow { font-family: 'Space Mono', monospace; font-size: 20px; color: var(--ink); }

/* ---------- Contact form ---------- */
.nm-contact-head { text-align: center; margin-bottom: 40px; }
.nm-contact-form {
    background: #fff; border: 1.5px solid var(--ink); border-radius: 14px;
    padding: 32px;
    box-shadow: 3px 3px 0 var(--ink);
}
.nm-field { display: block; margin-bottom: 14px; }
.nm-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.nm-field__label {
    display: block; font-family: 'Space Mono', monospace;
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: 6px;
}
.nm-field__optional { color: var(--ink-mute); font-weight: 400; }
.nm-field input, .nm-field textarea, .nm-select {
    width: 100%; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
    padding: 11px 14px; border: 1.5px solid var(--ink); border-radius: 8px;
    background: #fff; outline: none; box-sizing: border-box; font-weight: 400;
    transition: box-shadow .2s;
}
.nm-field input:focus, .nm-field textarea:focus, .nm-select:focus {
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.nm-field textarea { resize: vertical; min-height: 100px; }
.nm-select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px; cursor: pointer;
}
.nm-checkbox {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 12px; color: var(--ink-soft); margin: 18px 0 20px;
    line-height: 1.5; font-family: 'Space Mono', monospace;
}
.nm-checkbox input { margin-top: 3px; accent-color: var(--accent); }
.nm-checkbox a { color: var(--accent); text-decoration: underline; }

/* ---------- Contact-end (form + channels + inline footer) ---------- */
.nm-contact-end .nm-contact-head { margin-bottom: 40px; }
.nm-contact-end .nm-contact-form {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.14);
    box-shadow: none;
    margin-top: 0;
    padding: 36px;
}
.nm-contact-end .nm-field__label { color: rgba(255,255,255,0.75); }
.nm-contact-end .nm-field input,
.nm-contact-end .nm-field textarea,
.nm-contact-end .nm-select {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}
.nm-contact-end .nm-field input::placeholder,
.nm-contact-end .nm-field textarea::placeholder { color: rgba(255,255,255,0.35); }
/* Chip-group (replaces native <select> on dark bg — renders cleanly) */
.nm-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 0; margin: 0;
}
.nm-chip {
    display: inline-flex; align-items: center;
    padding: 9px 14px;
    font: 600 13px/1 'Space Mono', ui-monospace, monospace;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    cursor: pointer;
    transition: all .18s ease;
}
.nm-chip:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}
.nm-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
/* Dark-bg variant (inside contact-end) */
.nm-contact-end .nm-chip {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.22);
}
.nm-contact-end .nm-chip:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}
.nm-contact-end .nm-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.nm-contact-end .nm-checkbox { color: rgba(255,255,255,0.65); }
.nm-contact-end .nm-checkbox a { color: var(--accent); }

.nm-contact-channels {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 28px; max-width: 720px; margin: 32px auto 0;
}
.nm-contact-channel {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 0;
    background: transparent; border: none;
    text-decoration: none;
    transition: color .2s;
    color: rgba(255,255,255,0.85);
}
.nm-contact-channel:hover { color: var(--accent); }
.nm-contact-channel__label {
    font-family: 'Space Mono', monospace;
    font-size: 10px; letter-spacing: 0.14em;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    text-transform: uppercase;
}
.nm-contact-channel__value {
    font-family: 'Space Mono', monospace;
    font-size: 13px; font-weight: 700;
    color: inherit; letter-spacing: 0.02em;
}

.nm-footer-inline {
    display: grid; grid-template-columns: 1.2fr 2fr;
    gap: 48px; align-items: start;
    max-width: 920px; margin: 72px auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nm-footer-inline__brand .nm-footer__brand {
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-weight: 700; font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.nm-footer-inline__about {
    color: rgba(255,255,255,0.6);
    font-size: 13px; line-height: 1.55;
    margin: 0;
}
.nm-footer-inline__cols {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.nm-footer-inline__cols h4 {
    font-family: 'Space Mono', monospace;
    font-weight: 700; font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}
.nm-footer-inline__cols a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px; line-height: 1.85;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color .2s;
}
.nm-footer-inline__cols a:hover { color: var(--accent); }

.nm-footer-inline__legal {
    display: flex; justify-content: space-between;
    max-width: 920px; margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .nm-contact-channels { grid-template-columns: 1fr; }
    .nm-footer-inline { grid-template-columns: 1fr; gap: 32px; }
    .nm-footer-inline__cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .nm-footer-inline__legal { flex-direction: column; gap: 6px; align-items: flex-start; }
}

.nm-success {
    text-align: center; padding: 24px 0; display: none;
}
.nm-success.show { display: block; }
.nm-success__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--accent); border: 1.5px solid var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.nm-footer {
    padding: 80px 0 36px;
    border-top: 1px solid rgba(0,0,0,0.14);
    margin-top: 60px;
}
.nm-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.nm-footer__brand { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.nm-footer__about { color: var(--ink-soft); font-size: 14px; line-height: 1.6; max-width: 320px; }
.nm-footer__col h4 { margin: 0 0 12px; font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.nm-footer__col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14px; line-height: 1.9; }
.nm-footer__col a:hover { color: var(--accent); }
.nm-footer__legal { display: flex; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 12px; color: var(--ink-mute); padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.1); letter-spacing: 0.04em; }
.nm-footer__social { margin-top: 12px; display: flex; gap: 10px; }
.nm-footer__social a {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--ink); border-radius: 50%;
    color: var(--ink); background: #fff;
    transition: background 0.2s, color 0.2s;
}
.nm-footer__social a:hover { background: var(--ink); color: #fff; }

/* ============================================================
   Sub-Pages: Legal (Impressum/Datenschutz/AGB) + Detail
   ============================================================ */

/* ---------- Legal text page ---------- */
.nm-legal {
    padding: 140px 0 100px;
    min-height: 80vh;
}
.nm-legal__inner {
    max-width: 760px; margin: 0 auto;
}
.nm-legal__eyebrow {
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 12px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink-mute);
    margin-bottom: 16px;
}
.nm-legal h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.05; margin-bottom: 48px;
    text-wrap: balance;
}
.nm-legal section {
    padding: 28px 0;
    border-top: 1px solid rgba(0,0,0,0.12);
}
.nm-legal section:first-of-type { border-top: none; padding-top: 0; }
.nm-legal h2 {
    font-family: 'Inter', sans-serif;
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.015em; color: var(--ink);
    margin-bottom: 16px;
}
.nm-legal h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px; font-weight: 700;
    letter-spacing: -0.01em; color: var(--ink);
    margin-top: 24px; margin-bottom: 10px;
}
.nm-legal p {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px; line-height: 1.7;
    color: var(--ink-soft); margin-bottom: 14px;
}
.nm-legal p:last-child { margin-bottom: 0; }
.nm-legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nm-legal a:hover { color: var(--ink); }
.nm-legal strong { color: var(--ink); font-weight: 700; }
.nm-legal ul, .nm-legal ol {
    padding-left: 22px; margin: 14px 0;
}
.nm-legal li {
    font-size: 15.5px; line-height: 1.7;
    color: var(--ink-soft); margin-bottom: 8px;
}
.nm-legal code, .nm-legal pre {
    font-family: 'Space Mono', ui-monospace, monospace;
    font-size: 13px; background: #fff;
    border: 1px solid var(--ink); border-radius: 6px;
    padding: 2px 6px;
}
.nm-legal pre { padding: 14px 16px; overflow-x: auto; }

/* ---------- Detail page hero (product / service pages) ---------- */
.nm-detail-hero {
    padding: 140px 0 80px;
}
.nm-detail-hero__grid {
    display: grid; grid-template-columns: 7fr 5fr;
    gap: 56px; align-items: center;
}
.nm-detail-hero .nm-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-mute);
    border: 1px solid var(--ink); border-radius: 999px;
    padding: 5px 12px; margin-bottom: 22px;
}
.nm-detail-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 800; letter-spacing: -0.028em;
    line-height: 1.05; margin-bottom: 18px;
    text-wrap: balance;
}
.nm-detail-hero__lead {
    font-size: 17px; color: var(--ink-soft);
    line-height: 1.6; max-width: 520px;
    margin-bottom: 28px;
}
.nm-detail-hero__cta {
    display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- Detail page feature rows ---------- */
.nm-detail-features { padding: 100px 0; }
.nm-detail-features__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.nm-detail-card {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .25s, box-shadow .25s;
}
.nm-detail-card:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 var(--ink);
}
.nm-detail-card__icon {
    width: 42px; height: 42px;
    border: 1.5px solid var(--ink); border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-dim); color: var(--accent);
    margin-bottom: 18px;
}
.nm-detail-card__icon svg { width: 22px; height: 22px; }
.nm-detail-card h3 {
    font-size: 17px; font-weight: 700;
    letter-spacing: -0.015em; margin-bottom: 8px;
    color: var(--ink);
}
.nm-detail-card p {
    font-size: 14.5px; line-height: 1.55;
    color: var(--ink-soft); margin: 0;
}

/* ---------- Steps (1/2/3) ---------- */
.nm-steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.nm-step {
    background: #fff;
    border: 1.5px solid var(--ink); border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 3px 3px 0 var(--ink);
}
.nm-step__num {
    font-family: 'Space Mono', monospace;
    font-size: 14px; font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
    display: inline-block;
    padding: 4px 10px;
    border: 1.5px solid var(--ink); border-radius: 999px;
    background: var(--accent-dim);
}
.nm-step h3 {
    font-size: 18px; font-weight: 700;
    letter-spacing: -0.015em; margin-bottom: 8px;
}
.nm-step p {
    font-size: 14.5px; line-height: 1.55;
    color: var(--ink-soft); margin: 0;
}

/* ---------- Error pages (404 / 403) ---------- */
.nm-error {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    padding: 140px 32px;
    text-align: center;
}
.nm-error__code {
    font-family: 'Space Mono', monospace;
    font-size: clamp(96px, 20vw, 220px);
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}
.nm-error h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.nm-error p {
    color: var(--ink-soft); font-size: 16px;
    line-height: 1.6; max-width: 480px;
    margin: 0 auto 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nm-hero__grid, .nm-split, .nm-manifesto__grid, .nm-wallet__grid { grid-template-columns: 1fr; gap: 48px; }
    .nm-split--flip > *:first-child { order: 0; }
    .nm-hero__sub { grid-template-columns: 1fr; gap: 32px; }
    .nm-hero__sub--right h3, .nm-hero__sub--right p { text-align: left; margin-left: 0; }
    .nm-features__grid { grid-template-columns: repeat(2, 1fr); }
    .nm-footer__top { grid-template-columns: 1fr 1fr; }
    .nm-nav { display: none; }
    .nm-nav__burger { display: flex; }
    .nm-section { padding: 100px 0; }
    .nm-field__row { grid-template-columns: 1fr; gap: 0; }
    .nm-product-row { grid-template-columns: 48px 1fr; gap: 16px; }
    .nm-product-row__tag, .nm-product-row__arrow { display: none; }

    .nm-detail-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .nm-detail-features__grid, .nm-steps-grid { grid-template-columns: 1fr; }
    .nm-legal { padding: 120px 0 80px; }
    .nm-legal__inner { padding: 0 8px; }
}
