/* ============================================================
   NORANTIX – Souveräne Enterprise-IT
   ============================================================ */

:root {
    --bg:           #f6f7fb;
    --surface:      #ffffff;
    --surface-2:    #f1f3f9;
    --ink:          #0d1b2e;
    --ink-2:        #1a2940;
    --muted:        #5a6478;
    --line:         #e3e7ef;

    --night:        #0a1628;
    --night-2:      #0d1b2e;
    --night-3:      #122438;
    --night-line:   #1f3046;

    --accent:       #1cb4e8;
    --accent-2:     #5ed1f2;
    --accent-soft:  rgba(28, 180, 232, 0.12);

    --ok:           #2ecc71;

    --radius:       14px;
    --radius-sm:    8px;
    --radius-lg:    22px;

    --shadow-sm:    0 1px 2px rgba(13, 27, 46, 0.06), 0 2px 6px rgba(13, 27, 46, 0.04);
    --shadow-md:    0 6px 20px rgba(13, 27, 46, 0.08), 0 2px 6px rgba(13, 27, 46, 0.04);
    --shadow-lg:    0 30px 60px -20px rgba(13, 27, 46, 0.35);

    --container:    1180px;
    --header-h:     74px;

    --easing:       cubic-bezier(.2, .7, .2, 1);
}

/* ----------- Reset / Base ---------------------------------- */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--ink); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { margin: 0; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }

p  { margin: 0 0 1rem; color: var(--ink-2); }

ul { margin: 0; padding: 0; list-style: none; }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(64px, 9vw, 120px) 0;
}
.section-soft { background: var(--surface-2); }
.section-dark {
    background: var(--night);
    color: #e8eef5;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p  { color: #b8c4d6; }

.section-head {
    margin: 0 0 56px;
}
.section-head h2 { max-width: 920px; }
.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 820px;
}
.section-dark .section-head p { color: #92a3bd; }

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.accent { color: var(--accent); }

/* ----------- Buttons --------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--easing), background .2s var(--easing), color .2s var(--easing), border-color .2s var(--easing), box-shadow .2s var(--easing);
    white-space: nowrap;
}
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 22px -6px rgba(28, 180, 232, 0.55);
}
.btn-primary:hover {
    background: #0fa1d4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -8px rgba(28, 180, 232, 0.65);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn:active { transform: scale(0.97) !important; box-shadow: none !important; }

/* ----------- Header ---------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid transparent;
    transition: background .25s var(--easing), border-color .25s var(--easing), box-shadow .25s var(--easing);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
}
.brand-logo {
    height: 32px;
    width: auto;
    display: block;
}
.brand-mark {
    display: inline-flex;
    color: var(--accent);
}
.brand-name { font-size: 1.05rem; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.primary-nav > a {
    color: var(--ink-2);
    font-size: 0.94rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color .2s var(--easing), background .2s var(--easing);
}
.primary-nav > a:hover { color: var(--accent); }

.nav-group {
    position: relative;
}

.nav-group-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--ink-2);
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;
    transition: color .2s var(--easing), background .2s var(--easing);
}
.nav-group-trigger:hover { color: var(--accent); }
.nav-group.open .nav-group-trigger {
    color: var(--accent);
    background: var(--surface-2);
}

.nav-caret {
    width: 7px;
    height: 7px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .2s var(--easing);
}
.nav-group.open .nav-caret {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.nav-group-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 320px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--easing), transform .18s var(--easing), visibility .18s;
    z-index: 60;
}
.nav-group.open .nav-group-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-group-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-decoration: none;
    transition: background .15s var(--easing);
}
.nav-group-menu a:hover {
    background: var(--surface-2);
}
.nav-group-menu .menu-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    transition: color .15s var(--easing);
}
.nav-group-menu a:hover .menu-title {
    color: var(--accent);
}
.nav-group-menu .menu-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 2px;
    line-height: 1.4;
    font-weight: 400;
}


.nav-direct {
    padding: 10px 14px;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.94rem;
    white-space: nowrap;
    opacity: 0.85;
    transition: color .2s var(--easing), opacity .2s var(--easing);
}
.nav-direct:hover { color: var(--accent); opacity: 1; }

.nav-cta {
    padding: 10px 22px;
    margin-left: 12px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.94rem;
    white-space: nowrap;
    transition: background .2s var(--easing), border-color .2s var(--easing);
}
.primary-nav .nav-cta:hover {
    background: #0fa1d4;
    border-color: #0fa1d4;
    color: #fff;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 70;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .25s var(--easing), opacity .2s var(--easing);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, -8px); }
.nav-toggle span:nth-child(2) { transform: translate(-50%, -50%); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, 6px); }
.nav-toggle.open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ----------- Hero ------------------------------------------ */

.hero {
    position: relative;
    background: var(--night);
    background-image: url('/pic/Hero.png');
    background-size: cover;
    background-position: center 40%;
    color: #e8eef5;
    padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 12vw, 130px);
    overflow: hidden;
    isolation: isolate;
}

.hero h1 {
    color: #fff;
    margin-bottom: 24px;
}

.hero .lead {
    color: #b8c4d6;
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 36px;
}

/* Hero entrance animations */
.hero-content .eyebrow {
    animation: hero-fade-up 0.7s var(--easing) both;
    animation-delay: 0.05s;
}
.hero-content h1 {
    animation: hero-fade-up 0.75s var(--easing) both;
    animation-delay: 0.18s;
}
.hero-content .lead {
    animation: hero-fade-up 0.75s var(--easing) both;
    animation-delay: 0.32s;
}
.hero-content .hero-actions {
    animation: hero-fade-up 0.7s var(--easing) both;
    animation-delay: 0.44s;
}
.hero-content .hero-meta {
    animation: hero-fade-up 0.7s var(--easing) both;
    animation-delay: 0.56s;
}
.hero-services {
    animation: hero-fade-in-right 0.85s var(--easing) both;
    animation-delay: 0.3s;
}
@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in-right {
    from { opacity: 0; transform: translateX(24px) translateY(0); }
    to   { opacity: 1; transform: translateX(0) translateY(0); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(10,22,40,0.97) 0%,
        rgba(10,22,40,0.62) 45%,
        rgba(10,22,40,0.28) 100%
    );
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
}
.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    right: -200px;
    top: -300px;
    background: radial-gradient(circle, rgba(28, 180, 232, 0.18), transparent 60%);
    filter: blur(20px);
}

/* Hero network SVG – animations */
.hero-network {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-52%);
    width: 580px;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
}

/* Dashed edges: marching-ants data-flow – inherits stroke-dasharray from SVG attr */
.hn-e {
    animation: hn-dash 3s linear infinite;
}
@keyframes hn-dash {
    to { stroke-dashoffset: -22; }
}

/* Ping circles: expanding ripple */
.hn-ping {
    animation: hn-ping 3s ease-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}
@keyframes hn-ping {
    0%   { r: 5; opacity: 0.6; }
    80%  { r: 18; opacity: 0; }
    100% { r: 18; opacity: 0; }
}

/* Hub outer ring: dashed ring spinning slowly */
.hn-hub-ring {
    stroke-dasharray: 10 6;
    stroke-opacity: 0.35;
    animation: hn-hub-spin 14s linear infinite;
    transform-box: fill-box;
    transform-origin: center;
}
@keyframes hn-hub-spin {
    to { transform: rotate(360deg); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(28, 180, 232, 0.08);
    border: 1px solid rgba(28, 180, 232, 0.25);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--accent-2);
    margin-bottom: 28px;
}
.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(28, 180, 232, 0.25);
    animation: pulse 2.4s var(--easing) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(28, 180, 232, 0.25); }
    50%      { box-shadow: 0 0 0 7px rgba(28, 180, 232, 0); }
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--night-line);
}
.hero-meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-meta strong {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.hero-meta span {
    font-size: 0.85rem;
    color: #92a3bd;
}

/* Hero service tiles */
.hero-services {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: hero-fade-in-right 0.85s var(--easing) both;
    animation-delay: 0.3s;
}

.hs-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    opacity: 0.8;
    margin: 0;
}

.hs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.hs-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(20, 44, 76, 0.72);
    border: 1px solid rgba(28, 180, 232, 0.26);
    border-radius: 12px;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: background 0.2s var(--easing), border-color 0.2s var(--easing), transform 0.2s var(--easing), box-shadow 0.2s var(--easing);
    cursor: pointer;
}
.hs-tile:hover {
    background: rgba(28, 180, 232, 0.12);
    border-color: rgba(28, 180, 232, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(28, 180, 232, 0.14);
}
.hs-tile:nth-child(1) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.38s; }
.hs-tile:nth-child(2) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.46s; }
.hs-tile:nth-child(3) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.54s; }
.hs-tile:nth-child(4) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.62s; }
.hs-tile:nth-child(5) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.70s; }
.hs-tile:nth-child(6) { animation: hero-fade-up 0.55s var(--easing) both; animation-delay: 0.78s; }

.hs-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(28, 180, 232, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.hs-icon svg { width: 20px; height: 20px; }

.hs-tile-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hs-tile-text strong {
    display: block;
    font-size: 0.87rem;
    font-weight: 600;
    color: #e4eef7;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hs-tile-text em {
    font-style: normal;
    font-size: 0.74rem;
    color: rgba(94, 209, 242, 0.72);
    font-family: 'JetBrains Mono', monospace;
}

.hs-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s, gap 0.2s var(--easing);
    margin-top: 2px;
}
.hs-more:hover { opacity: 1; gap: 11px; }

/* ----------- Trust ----------------------------------------- */

.trust {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
}
.trust-label {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
}
.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 0.95rem;
}
.trust-row i {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line);
}

/* ----------- Cards (Leistungen) ---------------------------- */

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .2s var(--easing), box-shadow .3s var(--easing);
    position: relative;
}
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(28, 180, 232, 0.35);
    box-shadow: 0 12px 40px -14px rgba(28, 180, 232, 0.22), var(--shadow-md);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: transparent;
    border: 1.5px solid var(--line);
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: border-color .2s var(--easing), color .2s var(--easing), background .2s var(--easing);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.card.card-dark .card-icon {
    border-color: var(--night-line);
    color: #7d8fa8;
}
.card.card-dark:hover .card-icon {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(28,180,232,0.08);
}

.card h3 { margin-bottom: 10px; }

.card-list {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.card-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 8px;
}
.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 2px;
    background: var(--accent);
}

/* ----------- Cards on dark sections ------------------------ */

.card.card-dark {
    background: var(--night-2);
    border-color: var(--night-line);
}
.card.card-dark h3 { color: #fff; }
.card.card-dark p  { color: #b8c4d6; }
.card.card-dark .card-list {
    border-top-color: var(--night-line);
}
.card.card-dark .card-list li { color: #92a3bd; }
.card.card-dark:hover {
    border-color: rgba(28, 180, 232, 0.45);
    box-shadow: 0 14px 32px -16px rgba(0, 0, 0, 0.5);
}

/* ----------- Tech stack infographic ------------------------ */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-stack {
    max-width: 940px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.stack-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.stack-end-top {
    background: var(--surface-2);
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
}
.stack-end-bottom {
    background: var(--night);
    color: #b8c4d6;
}
.stack-end .end-label { font-weight: 500; }
.stack-end-top .end-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid var(--accent);
}
.stack-end-bottom .end-dot {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(28, 180, 232, 0.18);
}

.stack-layer {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 26px 32px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    position: relative;
    transition: background .25s var(--easing);
}
.stack-layer:first-of-type { border-top: 0; }
.stack-layer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transition: opacity .25s var(--easing), width .25s var(--easing);
}
.stack-layer-04::before { opacity: 0.95; }
.stack-layer-03::before { opacity: 0.7; }
.stack-layer-02::before { opacity: 0.5; }
.stack-layer-01::before { opacity: 0.3; }
.stack-layer:hover {
    background: rgba(28, 180, 232, 0.05);
}
.stack-layer:hover::before {
    opacity: 1;
    width: 6px;
}

.stack-layer .layer-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stack-layer .layer-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stack-layer .layer-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.stack-layer .layer-content h4 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.stack-layer .layer-content p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}

.stack-layer .layer-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    max-width: 280px;
}
.tech-chip {
    display: inline-block;
    padding: 5px 11px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-2);
    white-space: nowrap;
}
.tech-chip.chip-accent {
    background: rgba(28, 180, 232, 0.1);
    border-color: rgba(28, 180, 232, 0.4);
    color: var(--accent);
    font-weight: 600;
}

.stack-caption {
    max-width: 940px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}
.stack-caption strong { color: var(--ink); font-weight: 600; }

@media (max-width: 768px) {
    .stack-layer {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px 22px 22px 26px;
    }
    .stack-layer .layer-techs { justify-content: flex-start; max-width: none; }
    .stack-layer .layer-meta { flex-direction: row; align-items: baseline; gap: 14px; }
    .stack-end { padding: 14px 20px; font-size: 0.7rem; letter-spacing: 0.12em; text-align: center; }
    .stack-end .end-label { line-height: 1.4; }
}

/* ----------- Solution cards (Problem → Lösung) ------------- */

.card.solution-card { padding-top: 28px; }
.card.solution-card .problem-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.card.solution-card h3 { margin-bottom: 10px; }
.card.solution-card .problem-text {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.card.solution-card .solution-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.card.solution-card .solution-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.card.solution-card .solution-block p {
    color: var(--ink-2);
    font-size: 0.95rem;
    margin: 0;
}

/* ----------- School highlight ------------------------------ */

.school-highlight {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--night), var(--night-2));
    color: #e8eef5;
    border: 1px solid var(--night-line);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.school-highlight::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, rgba(28, 180, 232, 0.18), transparent 70%);
    pointer-events: none;
}
.sh-content { position: relative; z-index: 1; }
.sh-content .section-tag {
    color: var(--accent-2);
    margin-bottom: 16px;
}
.sh-content h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.sh-content p {
    color: #b8c4d6;
    font-size: 1rem;
    margin: 0 0 14px;
}

.school-features {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(28, 180, 232, 0.25);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    z-index: 1;
}
.school-features h4 {
    color: var(--accent-2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.school-features ul li {
    position: relative;
    padding-left: 26px;
    color: #cfd9e8;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.45;
}
.school-features ul li:last-child { margin-bottom: 0; }
.school-features ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ----------- Stack table ----------------------------------- */

.stack-table {
    background: var(--night-2);
    border: 1px solid var(--night-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.stack-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.4fr;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 1px solid var(--night-line);
    font-size: 0.96rem;
}
.stack-row:last-child { border-bottom: 0; }
.stack-head {
    background: rgba(255, 255, 255, 0.03);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7e9a;
}
.stack-row .layer { color: #fff; font-weight: 600; }
.stack-row .ms    { color: #7d8ba2; text-decoration: line-through; text-decoration-color: rgba(125, 139, 162, 0.4); }
.stack-row .us    { color: var(--accent-2); font-weight: 500; }

.stack-note {
    margin: 28px auto 0;
    max-width: 800px;
    text-align: center;
    color: #92a3bd;
    font-size: 0.95rem;
}

/* ----------- Warum ----------------------------------------- */

/* Sovereign comparison panels */
.sv-vis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 56px;
}

.sv-panel {
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.sv-panel.sv-other {
    background: var(--surface);
    border: 1px solid var(--line);
    opacity: 0.75;
}

.sv-panel.sv-norantix {
    background: linear-gradient(135deg, #071828 0%, #0c2340 100%);
    border: 1px solid rgba(28, 180, 232, 0.3);
    box-shadow: 0 0 0 1px rgba(28, 180, 232, 0.08), 0 12px 40px -10px rgba(28, 180, 232, 0.18);
}

/* Animated glow behind norantix panel */
.sv-panel.sv-norantix::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(28,180,232,0.12), transparent 60%);
    pointer-events: none;
    animation: sv-glow-pulse 3.5s ease-in-out infinite;
}
@keyframes sv-glow-pulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

.sv-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.sv-icon svg { width: 22px; height: 22px; }
.sv-other .sv-icon {
    background: rgba(255,255,255,0.04);
    color: var(--muted);
}
.sv-norantix .sv-icon {
    background: rgba(28, 180, 232, 0.12);
    border: 1px solid rgba(28, 180, 232, 0.25);
    color: var(--accent);
}

.sv-provider {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.sv-other .sv-provider  { color: var(--text); }
.sv-norantix .sv-provider { color: #fff; }

.sv-geo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.sv-other .sv-geo    { color: var(--muted); }
.sv-norantix .sv-geo { color: var(--accent); }

.sv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-list li {
    font-size: 0.9rem;
    padding-left: 22px;
    position: relative;
}
.sv-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    font-size: 0.75rem;
    color: #e05252;
    font-weight: 700;
    top: 1px;
}
.sv-list.sv-list-ok li { color: #c8d6e8; }
.sv-list.sv-list-ok li::before {
    content: '✓';
    color: #6ee7b7;
}


.grid-2-feat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 64px;
}
.feat {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0 36px 40px;
    position: relative;
    transition: border-color .25s var(--easing);
}
.feat:nth-child(odd) {
    border-right: 2px solid var(--line);
    padding: 8px 40px 36px 0;
}
.feat:nth-child(1), .feat:nth-child(2) { padding-top: 0; }
.feat:nth-child(odd):hover { border-right-color: rgba(28, 180, 232, 0.5); }

.feat-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--line);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 18px;
    transition: color .25s var(--easing);
    font-variant-numeric: tabular-nums;
}
.feat:hover .feat-num { color: var(--accent); }
.feat h3 { margin-bottom: 10px; font-size: 1.12rem; }
.feat p { color: var(--muted); margin-bottom: 0; max-width: 54ch; }

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: linear-gradient(135deg, var(--night), var(--night-2));
    color: #e8eef5;
    border-radius: var(--radius);
    padding: 36px;
}
.kpi { text-align: left; }
.kpi strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--accent-2);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.kpi span {
    color: #92a3bd;
    font-size: 0.88rem;
    line-height: 1.45;
    display: block;
}

/* ----------- Prozess --------------------------------------- */

.process {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.process::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--night-line);
    z-index: 0;
}
.process li {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 28px 0 0;
    position: relative;
    z-index: 1;
    transition: none;
}
.process li:last-child { padding-right: 0; }
.process li:hover h3 { color: var(--accent); }
.process .step {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--night);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.76rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 0 0 5px var(--night);
    transition: background .2s var(--easing), color .2s var(--easing), box-shadow .2s var(--easing);
}
.process li:hover .step {
    background: var(--accent);
    color: var(--night);
    box-shadow: 0 0 0 5px var(--night), 0 0 0 7px rgba(28,180,232,0.18);
}
.process h3 { margin-bottom: 10px; color: #e8eef5; transition: color .2s var(--easing); }
.process p {
    color: #7d8fa8;
    margin-bottom: 16px;
    font-size: 0.93rem;
    line-height: 1.55;
}
.process .duration {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #5a7090;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--night-line);
    padding: 3px 10px;
    border-radius: 6px;
}

/* ----------- CTA banner ------------------------------------ */

.cta {
    background: linear-gradient(135deg, var(--night-3), var(--night-2));
    color: #fff;
    padding: 64px 0;
    border-top: 1px solid var(--night-line);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: -200px;
    background: radial-gradient(circle, rgba(28, 180, 232, 0.18), transparent 70%);
    pointer-events: none;
}
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #b8c4d6; margin: 0; font-size: 1.05rem; }

/* ----------- Kontakt --------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info h2 .legal-suffix {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 4px;
    vertical-align: middle;
}
.contact-claim {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 36px;
}

.contact-dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    row-gap: 16px;
    column-gap: 18px;
    margin: 0;
}
.contact-dl dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 4px;
}
.contact-dl dd {
    margin: 0;
    color: var(--ink-2);
}
.contact-dl a:hover { color: var(--accent); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.contact-form h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form label {
    display: block;
    margin-bottom: 16px;
}
.contact-form label > span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font: inherit;
    color: var(--ink);
    transition: border-color .2s var(--easing), box-shadow .2s var(--easing);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(28, 180, 232, 0.18);
}
.contact-form textarea { resize: vertical; }

.checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px !important;
    font-size: 0.9rem;
    color: var(--muted);
}
.checkbox input { width: auto; margin-top: 4px; }
.checkbox a { color: var(--accent); text-decoration: underline; }

.form-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(46, 204, 113, 0.12);
    color: #1c8b4f;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.form-error {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #b91c1c;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

/* Turnstile-Widget — Bot-Schutz */
.form-turnstile {
    margin: 6px 0 18px;
    min-height: 65px;
    display: flex;
    justify-content: flex-start;
}

/* Honeypot — off-screen, für Bots sichtbar, für Menschen nicht */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ----------- Footer ---------------------------------------- */

.site-footer {
    background: var(--night);
    border-top: 2px solid var(--accent);
    padding: 64px 0 0;
    color: #7a8fa8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px 48px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    display: block;
    margin-bottom: 18px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: #5a7090;
    line-height: 1.65;
    margin: 0 0 10px;
}

.footer-location {
    font-size: 0.78rem;
    color: #3d5268;
    margin: 0;
}

.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a6070;
    margin-bottom: 16px;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col nav a {
    color: #6a8099;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col nav a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 16px;
}

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: #3d5060;
}

.footer-crm-link {
    font-size: 0.78rem;
    color: #2e3d4e;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-crm-link:hover { color: var(--accent); }

/* ----------- Legal pages (Impressum / Datenschutz) --------- */

.legal-hero {
    background: var(--night);
    color: #e8eef5;
    padding: clamp(80px, 11vw, 130px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--night-line);
    position: relative;
    overflow: hidden;
}
.legal-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: -250px;
    background: radial-gradient(circle, rgba(28, 180, 232, 0.18), transparent 65%);
    pointer-events: none;
}
.legal-hero .section-tag {
    color: var(--accent-2);
    margin-bottom: 14px;
}
.legal-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 16px;
}
.legal-hero p {
    color: #b8c4d6;
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0;
}

.legal-content {
    padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 100px);
    background: var(--surface);
}
.legal-content .container {
    max-width: 820px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 40px 0 14px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--ink);
}

.legal-content p {
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 22px;
    margin: 4px 0 18px;
}
.legal-content ul li {
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent);
    word-break: break-word;
}
.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .legal-meta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ----------- Reveal animations ----------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--easing), transform .7s var(--easing);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .nav-toggle { display: flex; z-index: 250; }

    /* height statt bottom:0 – verhindert Positionierungsfehler bei backdrop-filter als containing block */
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 32px;
        background: var(--night);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 200;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .22s var(--easing), visibility .22s;
    }
    .primary-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-locked { overflow: hidden; }

    /* Bereichs-Gruppen */
    .nav-group {
        width: 100%;
        border-bottom: 1px solid var(--night-line);
    }
    .nav-group:last-of-type { border-bottom: 0; }

    /* Trigger als Abschnitts-Label (kein Dropdown auf Mobile) */
    .nav-group-trigger {
        width: 100%;
        padding: 14px 24px 6px;
        border-bottom: 0;
        border-radius: 0;
        background: transparent;
        justify-content: flex-start;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: #3d5470;
        cursor: default;
        pointer-events: none;
    }
    .nav-group-trigger .nav-caret { display: none; }
    .nav-group.open .nav-group-trigger { background: transparent; color: #3d5470; }

    /* Menü-Einträge immer sichtbar */
    .nav-group-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 10px;
        min-width: 0;
        max-height: none;
        overflow: visible;
        transition: none;
    }
    .nav-group.open .nav-group-menu { max-height: none; padding: 0 0 10px; }

    .nav-group-menu a {
        display: block;
        padding: 10px 24px;
        border-radius: 0;
        color: #c8d6e8;
    }
    .nav-group-menu a:hover { background: rgba(255,255,255,0.05); }
    .nav-group-menu .menu-title {
        display: block;
        font-size: 0.94rem;
        font-weight: 600;
        color: #e8eef5;
        transition: color .15s;
    }
    .nav-group-menu a:hover .menu-title { color: var(--accent); }
    .nav-group-menu .menu-meta {
        display: block;
        font-size: 0.77rem;
        color: #3d5470;
        margin-top: 2px;
    }

    /* CTA – höhere Spezifität überschreibt .primary-nav > a */
    .primary-nav .nav-cta {
        margin: 20px 24px 0;
        padding: 15px 22px;
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        border-radius: var(--radius);
        text-align: center;
        font-weight: 700;
        font-size: 1rem;
        box-shadow: 0 8px 22px -6px rgba(28, 180, 232, 0.45);
    }
    .primary-nav .nav-cta:hover { background: #0fa1d4; border-color: #0fa1d4; color: #fff; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
    .process::before { display: none; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .school-highlight { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-col--brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 768px) {
    .sv-vis { grid-template-columns: 1fr; }
    .sv-panel.sv-other.reveal,
    .sv-panel.sv-norantix.reveal { transform: translateY(20px); }

    .grid-3,
    .grid-4,
    .solutions-grid,
    .form-row,
    .contact-grid { grid-template-columns: 1fr; }
    .feat:nth-child(odd), .feat { border-right: none; border-left: 2px solid var(--line); padding: 8px 0 28px 24px; }
    .feat:nth-child(1), .feat:nth-child(2) { padding-top: 0; }
    .grid-2-feat { row-gap: 0; }
    .contact-grid { gap: 40px; }

    .hs-grid { grid-template-columns: 1fr; }

    .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero-meta strong { font-size: 1.15rem; }

    .stack-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
    .stack-row .ms,
    .stack-row .us { padding-left: 0; }

    .kpis { grid-template-columns: 1fr 1fr; padding: 28px; }

    .cta-inner { flex-direction: column; align-items: flex-start; }

    .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
    .hero-meta { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .process { grid-template-columns: 1fr; gap: 36px 0; }
    .kpis { grid-template-columns: 1fr; }
    .trust-row { gap: 14px; font-size: 0.88rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

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

/* ================================================================
   LÖSUNGSBEREICHE – flex-grid + Solution-Link
   ================================================================ */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.solutions-grid .card {
    min-width: 0;
}
.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap .2s;
}
.solution-link:hover { gap: 10px; }

@media (max-width: 640px) {
    .solutions-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   LANDING PAGE – Komponenten
   ================================================================ */

.lp-hero {
    background: var(--night);
    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(28,180,232,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero::after {
    content: '';
    position: absolute;
    left: 0;
    top: 80px;
    height: 200px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    opacity: 0.55;
    pointer-events: none;
}

/* lp-hero with full-bleed background image */
.lp-hero--with-image .lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.lp-hero--with-image .lp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.42;
    display: block;
}
.lp-hero--with-image::before {
    background: linear-gradient(135deg,
        rgba(10,22,40,0.88) 0%,
        rgba(10,22,40,0.65) 55%,
        rgba(10,22,40,0.45) 100%) !important;
    z-index: 1;
}
.lp-hero--with-image .container {
    position: relative;
    z-index: 2;
}

.lp-hero h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 820px;
    color: #fff;
}

.lp-hero p.lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    max-width: 640px;
    margin-bottom: 36px;
}

.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.lp-hero-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    list-style: none;
    padding: 28px 0 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.meta-item span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.58);
}

/* Symptom-Grid */
.symptom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    margin-top: 48px;
}

.symptom-item {
    background: transparent;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 28px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: none;
    transition: border-top-color .2s var(--easing);
}

.symptom-item:hover {
    border-top-color: var(--accent);
}

.sym-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(239,68,68,0.55);
    border: none;
    display: block;
    flex-shrink: 0;
    font-size: 0;
    margin-top: 6px;
}

.symptom-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.symptom-item p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* Ergebnis-Grid */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
    margin-top: 60px;
}

.outcome-item {
    background: transparent;
    border: none;
    border-top: 2px solid var(--line);
    border-radius: 0;
    padding: 28px 0;
    text-align: left;
    box-shadow: none;
    transition: border-top-color .2s var(--easing);
}

.outcome-item:hover {
    border-top-color: var(--accent);
}

.outcome-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    display: block;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.outcome-item p {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.5;
    color: var(--ink-2);
}

/* CTA-Banner */
.cta-banner {
    background: var(--accent);
    padding: 56px 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-banner h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
}

.btn-white {
    background: #fff;
    color: var(--accent);
    border: 2px solid #fff;
    border-radius: var(--radius-sm);
    padding: 13px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-block;
    transition: background .2s var(--easing);
}

.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--accent); }

/* FAQ-Akkordeon */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    user-select: none;
    gap: 16px;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }

.faq-body {
    padding: 0 24px 20px;
    font-size: 0.91rem;
    line-height: 1.65;
    color: var(--muted);
}

/* Regionale Referenz */
.region-strip {
    background: var(--night);
    color: #fff;
    padding: 52px 0;
}

.region-strip-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.region-accent {
    width: 4px;
    height: 56px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.region-strip h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.region-strip p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.region-dots {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.region-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
}

.region-dot:first-child { opacity: 1; }

/* Landing Page – Prozessschritte */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
    margin-top: 60px;
}

.lp-step {
    background: transparent;
    border: none;
    border-top: 2px solid var(--night-line);
    border-radius: 0;
    padding: 24px 0 0;
    box-shadow: none;
    transition: border-top-color .2s var(--easing);
}

.lp-step:hover {
    border-top-color: var(--accent);
}

.lp-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .1em;
    display: block;
    margin-bottom: 16px;
    opacity: 0.75;
}

.lp-step h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}

.lp-step p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

/* Responsive – Landing Pages */
@media (max-width: 1024px) {
    .outcome-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .cta-banner-inner { flex-direction: column; align-items: flex-start; }
    .lp-hero::after { display: none; }
}

@media (max-width: 768px) {
    .lp-hero { padding: 100px 0 60px; }
    .lp-hero-meta { gap: 20px; }
    .symptom-grid { grid-template-columns: 1fr; gap: 0; }
    .outcome-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .region-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .region-dots { margin-left: 0; }
}

@media (max-width: 480px) {
    .outcome-grid { grid-template-columns: 1fr; gap: 0; }
    .lp-hero-actions { flex-direction: column; }
    .lp-steps { grid-template-columns: 1fr; gap: 0; }
}

/* card-more: "Mehr erfahren" link on leistungen.html cards */
.card-more { display:inline-block; margin-top:16px; font-size:.88rem; font-weight:600; color:var(--accent); text-decoration:none; }
.card-more:hover { text-decoration:underline; }

/* ============================================================
   CHALLENGES LIST — editorial numbered alternative to card grid
   ============================================================ */
.challenges-list {
    border-top: 1px solid var(--line);
}
.challenge-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 40px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    transition: padding-left .2s var(--easing);
    cursor: default;
}
.challenge-item:hover { padding-left: 8px; }
.challenge-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--line);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
    transition: color .25s var(--easing);
    user-select: none;
}
.challenge-item:hover .challenge-num { color: var(--accent); }
.challenge-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.challenge-body p {
    color: var(--muted);
    font-size: 0.97rem;
    max-width: 64ch;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 640px) {
    .challenge-item { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; }
    .challenge-num { font-size: 1.8rem; }
}

/* generic 2-column grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE ARCHITECTURE INFOGRAPHIC
   ============================================================ */
.services-arch {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 40px;
}
.arch-layer {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1.5px solid var(--line);
}
.arch-layer-meta {
    padding: 20px 20px;
    border-right: 1.5px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.arch-layer-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}
.arch-layer-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.arch-tiles {
    padding: 18px 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.arch-tile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s, color .2s, transform .25s cubic-bezier(0.34,1.56,0.64,1);
    white-space: nowrap;
}
.arch-tile:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.arch-tile svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
}
.arch-cross {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.arch-cross-item {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--night);
    text-decoration: none;
    transition: background .2s;
}
.arch-cross-item:hover { background: color-mix(in srgb, var(--night) 85%, var(--accent)); }
.arch-cross-item:first-child { border-right: 1.5px solid var(--line); }
.arch-cross-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}
.arch-cross-icon svg { width: 19px; height: 19px; }
.arch-cross-info h4 { font-size: .88rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.arch-cross-info p  { font-size: .78rem; color: var(--muted); margin: 0; }
.arch-cross-badge {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 20px;
    padding: 3px 10px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 860px) {
    .arch-layer { grid-template-columns: 1fr; }
    .arch-layer-meta {
        border-right: none;
        border-bottom: 1.5px solid var(--line);
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
    }
    .arch-cross { grid-template-columns: 1fr; }
    .arch-cross-item:first-child { border-right: none; border-bottom: 1.5px solid var(--line); }
}

/* bridge-cta: GF-Layer → IT-Layer crosslink section */
.bridge-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.bridge-cta h2 { margin: 8px 0 12px; }
.bridge-cta p { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 680px) {
    .bridge-cta { grid-template-columns: 1fr; }
}

/* ============================================================
   MANAGED SERVICES SUBPAGES — SLA Tiers, Tech Partner, Leistungen
   ============================================================ */

/* --- SLA Tier Grid --- */
.sla-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    padding-top: 32px;
}

/* ── Base card ── */
.sla-tier {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s var(--easing), transform .25s var(--easing);
}

.sla-tier:not(.recommended):hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ── Recommended — dark premium card ── */
.sla-tier.recommended {
    background: var(--night);
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 24px 52px rgba(28, 180, 232, .18);
    transform: translateY(-10px);
    z-index: 1;
}

.sla-tier.recommended:hover {
    transform: translateY(-13px);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 28px 60px rgba(28, 180, 232, .24);
}

/* Gradient top bar */
/* ── Empfehlung badge — sitzt am oberen Card-Rand ── */
.sla-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--night);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 5px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(28, 180, 232, .45);
}

/* ── Tier name ── */
.sla-tier-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.sla-tier.recommended .sla-tier-name {
    color: #fff;
}

/* ── Tier sub-line ── */
.sla-tier-sub {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.sla-tier.recommended .sla-tier-sub {
    color: rgba(255, 255, 255, .5);
    border-bottom-color: rgba(255, 255, 255, .1);
}

/* ── Feature list ── */
.sla-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sla-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: var(--ink-2);
    line-height: 1.5;
}

/* SVG checkmark circle */
.sla-feature-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6.5l3 3 5-5' stroke='%231cb4e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.sla-tier.recommended .sla-feature-list li {
    color: rgba(255, 255, 255, .85);
}

/* Disabled/missing features */
.sla-feature-list li.sla-no {
    opacity: .5;
}

.sla-feature-list li.sla-no::before {
    background-color: rgba(0, 0, 0, .04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' stroke='%235a6478' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sla-tier.recommended .sla-feature-list li.sla-no::before {
    background-color: rgba(255, 255, 255, .07);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' stroke='rgba(255%2C255%2C255%2C.35)' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── CTA ── */
.sla-cta {
    margin-top: 28px;
}

.sla-cta .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: border-color .18s var(--easing), background .18s var(--easing),
                color .18s var(--easing), box-shadow .18s var(--easing);
}

.sla-cta .btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 4px 14px rgba(28, 180, 232, .15);
}

.sla-tier.recommended .sla-cta .btn-outline {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--night);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(28, 180, 232, .35);
}

.sla-tier.recommended .sla-cta .btn-outline:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    box-shadow: 0 6px 22px rgba(28, 180, 232, .45);
}

/* --- Tech Partner Card --- */
.tech-partner-card {
    background: var(--night);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    color: #e8eef5;
}

.tech-partner-card + .tech-partner-card {
    margin-top: 24px;
}

.tech-partner-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tech-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    border: 1px solid rgba(28, 180, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-logo-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.tech-partner-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tech-partner-type {
    font-size: .8rem;
    color: #92a3bd;
    margin: 0;
}

.tech-partner-desc {
    font-size: .95rem;
    color: #b8c4d6;
    line-height: 1.6;
    margin-bottom: 0;
}

.tech-bullet-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: #b8c4d6;
    line-height: 1.45;
}

.tech-bullet-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

/* --- Leistungen Grid --- */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.leistung-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s var(--easing), box-shadow .2s var(--easing);
}

.leistung-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.leistung-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leistung-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.leistung-text h4 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.leistung-text p {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
}

/* --- Managed Services Breadcrumb --- */
.ms-breadcrumb {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.ms-breadcrumb a {
    color: var(--muted);
}

.ms-breadcrumb a:hover {
    color: var(--accent);
}

.ms-breadcrumb span {
    margin: 0 6px;
    opacity: .5;
}

/* ============================================================
   VORGEHEN — weißer Hintergrund (überschreibt section-dark)
   ============================================================ */

#prozess {
    background: var(--surface);
}

#prozess h2,
#prozess h3 {
    color: var(--ink);
}

#prozess .section-head p {
    color: var(--muted);
}

/* Timeline-Linie: hell statt dunkel */
#prozess .process::before {
    background: var(--line);
}

/* Step-Kreise: weißer Halo statt --night */
#prozess .process .step {
    background: var(--surface);
    box-shadow: 0 0 0 5px var(--surface);
}

#prozess .process li:hover .step {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 5px var(--surface), 0 0 0 7px rgba(28,180,232,0.18);
}

/* Prozess-Texte */
#prozess .process h3 {
    color: var(--ink);
}

#prozess .process p {
    color: var(--muted);
}

/* Dauer-Badge */
#prozess .process .duration {
    color: var(--muted);
    background: var(--surface-2);
    border-color: var(--line);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .sla-grid { grid-template-columns: 1fr; gap: 16px; }
    .sla-tier.recommended { transform: none; box-shadow: 0 0 0 3px var(--accent-soft), 0 12px 32px rgba(28, 180, 232, .18); }
    .sla-tier.recommended:hover { transform: translateY(-3px); }
    .tech-partner-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
    .leistungen-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PHOTO INTEGRATION — Startseite
   ============================================================ */

/* Section: Warum NORANTIX */
#warum {
    position: relative;
    background-image: url('/pic/warum_nornatix.png');
    background-size: cover;
    background-position: center;
}

#warum::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.87);
    pointer-events: none;
}

#warum .container {
    position: relative;
    z-index: 1;
}

/* Text-Overrides für dunklen Hintergrund */
#warum .section-head h2,
#warum .feat h3 {
    color: #ffffff;
}

#warum .section-head p {
    color: #b8c4d6;
}

#warum .feat p {
    color: #92a3bd;
}

/* Vertikale Trennlinie zwischen feat-Spalten: hell statt weiß */
#warum .feat:nth-child(odd) {
    border-right-color: var(--night-line);
}

@media (max-width: 768px) {
    #warum .feat,
    #warum .feat:nth-child(odd) {
        border-left-color: var(--night-line);
    }
}

/* Section: Herausforderungen — Foto nur als Textur */
#herausforderungen {
    position: relative;
    background-image: url('/pic/Herausforderung.png');
    background-size: cover;
    background-position: center;
}

#herausforderungen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.93);
    pointer-events: none;
}

#herausforderungen .container {
    position: relative;
    z-index: 1;
}

/* Text-Overrides für dunklen Hintergrund */
#herausforderungen .section-head h2,
#herausforderungen .challenge-body h3 {
    color: #ffffff;
}

#herausforderungen .section-head p {
    color: #b8c4d6;
}

#herausforderungen .challenge-body p {
    color: #92a3bd;
}

/* Trennlinien: subtiles Weiß statt helles Grau */
#herausforderungen .challenges-list {
    border-top-color: rgba(255, 255, 255, 0.12);
}

#herausforderungen .challenge-item {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
