/* =====================================================================
   ws IT Service – Design-System
   Schrift: Plus Jakarta Sans (selbst gehostet, SIL Open Font License)
   ===================================================================== */
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #4f86b3;
  --brand-strong: #2f6a9a;
  --brand-ink: #1e4a6e;
  --brand-soft: #e9f2f9;
  --cyan: #5ec2f0;
  --ok: #22a66e;

  --bg: #f7f9fc;
  --bg-alt: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f2f6fa;
  --text: #0e1824;
  --text-2: #2b3a4b;
  --muted: #5d6c7d;
  --border: #e2e8f0;
  --border-strong: #cfd9e4;
  --glass: rgba(255, 255, 255, .72);
  --grid-line: rgba(30, 74, 110, .07);
  --shadow-sm: 0 1px 2px rgba(15, 30, 50, .05);
  --shadow: 0 1px 2px rgba(15, 30, 50, .04), 0 10px 30px -10px rgba(15, 30, 50, .12);
  --shadow-lg: 0 2px 6px rgba(15, 30, 50, .04), 0 30px 60px -20px rgba(30, 70, 110, .25);
  --spot: rgba(79, 134, 179, .12);

  --r-sm: 10px; --r: 18px; --r-lg: 26px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --brand: #6ea8db;
  --brand-strong: #8cbde8;
  --brand-ink: #b9d7f1;
  --brand-soft: rgba(110, 168, 219, .12);
  --cyan: #6fd0ff;
  --ok: #3ccf8e;

  --bg: #080d13;
  --bg-alt: #0c121a;
  --surface: #0f1720;
  --surface-2: #141e29;
  --text: #e9f0f7;
  --text-2: #c4d0dc;
  --muted: #8d9db0;
  --border: #1c2733;
  --border-strong: #2a3846;
  --glass: rgba(12, 18, 26, .72);
  --grid-line: rgba(140, 190, 235, .06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --spot: rgba(110, 168, 219, .14);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 450;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 750; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); letter-spacing: -.032em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.18rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
address { font-style: normal; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 3rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { left: 10px; color: #fff; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand); color: #fff; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.25rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .96rem; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .i { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .i:last-child { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn-lg { --h: 52px; padding: 0 1.6rem; font-size: 1rem; }
.btn-sm { --h: 38px; padding: 0 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #5b93c1, var(--brand) 60%, #4579a4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(20,50,80,.2), 0 8px 20px -6px rgba(79,134,179,.6);
}
.btn-primary:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(20,50,80,.2), 0 12px 28px -6px rgba(79,134,179,.75); transform: translateY(-1px); }
[data-theme="dark"] .btn-primary { background: linear-gradient(180deg, #7db3e2, #5f9bd0); color: #061019; }
[data-theme="dark"] .btn-primary:hover { color: #061019; }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--text); border-color: var(--brand); transform: translateY(-1px); }
.btn-white { background: #fff; color: #1e4a6e; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-white:hover { color: #1e4a6e; transform: translateY(-1px); }
.btn-glass { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.18); }
.btn.is-disabled, .btn:disabled { opacity: .4; pointer-events: none; filter: grayscale(.4); box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--brand-strong); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  color: var(--muted); border: 1px solid var(--border); background: var(--surface); transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }

.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem .35rem .45rem; margin-bottom: 1.6rem;
  border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text-2);
  background: var(--glass); border: 1px solid var(--border); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px);
}
.pill:hover { color: var(--text); border-color: var(--brand); }
.pill .i { width: .95em; color: var(--muted); }
.pill-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); position: relative; }
.pill-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #e57000; box-shadow: 0 0 0 4px rgba(229,112,0,.18); }
.pill-static { padding: .35rem .9rem; margin: 0 auto 1rem; }

/* ---------- Header (schwebende Navigation) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.nav-shell {
  width: min(1240px, 100% - 1.5rem); margin-inline: auto; height: 66px; padding: 0 .6rem 0 1.3rem;
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--glass); border: 1px solid transparent; border-radius: 22px;
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.scrolled { padding: 8px 0; }
.site-header.scrolled .nav-shell { border-color: var(--border); box-shadow: var(--shadow); }
.brand { display: flex; flex: none; }
.logo { display: inline-grid; }
.logo img { grid-area: 1 / 1; width: 132px; height: auto; transition: opacity .3s; }
.logo .logo-d { opacity: 0; }
[data-theme="dark"] .logo .logo-l { opacity: 0; }
[data-theme="dark"] .logo .logo-d { opacity: 1; }

.main-nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.main-nav a {
  position: relative; padding: .5rem .9rem; border-radius: 10px;
  color: var(--text-2); font-weight: 580; font-size: .96rem; transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand);
}
.nav-cta-mobile { display: none !important; }
.header-tools { display: flex; align-items: center; gap: .55rem; }

/* Theme-Schalter */
.theme-switch { background: none; border: 0; padding: 4px; cursor: pointer; border-radius: 999px; }
.theme-switch .track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 62px; height: 32px; padding: 0 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: background-color .3s, border-color .3s;
}
.theme-switch .i { width: 14px; height: 14px; position: relative; z-index: 1; transition: color .3s; }
.theme-switch .ts-sun { color: #e8a000; }
.theme-switch .thumb {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.08);
  transition: transform .35s cubic-bezier(.5, 1.6, .4, .8), background-color .3s;
}
[data-theme="dark"] .theme-switch .track { background: #172331; border-color: #2a3a4c; }
[data-theme="dark"] .theme-switch .thumb { transform: translateX(30px); background: #0b121a; box-shadow: 0 0 0 1px #34485d; }
[data-theme="dark"] .theme-switch .ts-moon { color: #b9d7f1; }
[data-theme="dark"] .theme-switch .ts-sun { color: var(--muted); }
.theme-switch .thumb { z-index: 2; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; border-radius: 12px; }
.menu-btn span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hintergrund-Effekte ---------- */
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(94,194,240,.22), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgba(79,134,179,.20), transparent 70%);
  filter: blur(10px);
}
[data-theme="dark"] .hero-glow {
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(80,170,230,.16), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgba(79,134,179,.18), transparent 70%);
}
.hero-gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: -94px; padding: calc(94px + clamp(3rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--muted); font-size: .94rem; font-weight: 550; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .i { color: var(--ok); stroke-width: 2.6; }

/* Infrastruktur-Grafik */
.hub { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines .ring { fill: none; stroke: var(--border-strong); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; }
.hub-lines .ring-2 { opacity: .6; }
.link-base { stroke: var(--border-strong); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.link-flow {
  stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round;
  stroke-dasharray: 6 60; animation: flow 3.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -66; } }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 28%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.hub-core img { width: 70%; border-radius: 18%; }
.core-pulse { position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--brand); opacity: 0; animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.node {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .85rem .5rem .5rem;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: .84rem; font-weight: 650; color: var(--text-2); white-space: nowrap;
  animation: float 6s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes float { 50% { transform: translateY(-6px); } }
.node-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.node-ic .i { width: 16px; height: 16px; }
.status {
  position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .75rem;
  border-radius: 16px; background: var(--glass); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .82rem; line-height: 1.3;
  animation: float 7s ease-in-out infinite;
}
.status strong { display: block; font-size: .86rem; color: var(--text); }
.status small { color: var(--muted); }
.status-a { left: 46%; top: 29%; animation-delay: -2s; }
.status-b { right: 52%; bottom: 28%; animation-delay: -4s; }
.status .ok { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(34,166,110,.14); color: var(--ok); }
.status .ok .i { width: 16px; height: 16px; stroke-width: 3; }
.dot-live { width: 10px; height: 10px; margin: 0 .5rem 0 .4rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34,166,110,.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(34,166,110,0); } 100% { box-shadow: 0 0 0 0 rgba(34,166,110,0); } }

/* ---------- Partner-Laufband ---------- */
.logo-band { padding: 2.2rem 0 3rem; }
.band-label { text-align: center; color: var(--muted); font-size: .88rem; font-weight: 600; margin-bottom: 1.4rem; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }
.logo-tile {
  /* Partnerlogos sind für helle Flächen gestaltet – Kacheln bleiben im Dark Mode hell */
  display: grid; place-items: center; width: 200px; height: 96px; padding: 1.1rem 1.6rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.logo-tile img { max-height: 52px; width: auto; object-fit: contain; }
.logo-tile:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
[data-theme="dark"] .logo-tile { border-color: transparent; background: #f3f6f9; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--bg-alt); }
.section-alt::before, .section-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }

/* ---------- Karten / Bento ---------- */
.tile, .partner-card, .contact-card, .step, .value, .person-card, .highlight-card, .download-card, .job-block, .job-aside, .empty-state, .team, .map-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.tile { padding: 1.8rem; display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.tile h3 { margin: 1.2rem 0 .45rem; }
.tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.tile-ic .i { width: 22px; height: 22px; stroke-width: 1.8; }
.tile-tag {
  align-self: flex-start; margin-top: auto; padding-top: 1.1rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.tile-tag::before { content: "● "; color: var(--brand); }

/* Spotlight-Effekt (folgt der Maus) */
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 45%);
}
.spot:hover::before { opacity: 1; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile-feature {
  grid-column: span 2; grid-row: span 2; padding: 2.4rem;
  background:
    radial-gradient(80% 60% at 100% 100%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    var(--surface);
}
.tile-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; margin: 0 0 .8rem; max-width: 16em; }
.tile-feature > p { font-size: 1.04rem; max-width: 34em; }
.tile-feature .link-arrow { margin-top: auto; padding-top: 1.5rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 560; color: var(--text-2); }
.ticks .i { margin-top: .22em; color: var(--brand); stroke-width: 2.6; width: 1em; height: 1em; }
.ticks-col { grid-template-columns: 1fr; }
.feature-art { position: absolute; right: 2rem; bottom: 2.2rem; display: flex; gap: 6px; opacity: .9; }
.rack { display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.rack i { display: block; width: 34px; height: 8px; border-radius: 3px; background: var(--border-strong); position: relative; }
.rack i::after { content: ""; position: absolute; right: 4px; top: 2.5px; width: 3px; height: 3px; border-radius: 50%; background: var(--ok); animation: blink 2.4s infinite; }
.rack:nth-child(2) i::after { animation-delay: -.8s; } .rack:nth-child(3) i::after { animation-delay: -1.6s; }
.rack i:nth-child(2)::after { animation-duration: 1.7s; }
@keyframes blink { 50% { opacity: .2; } }
.tile-remote { grid-column: span 2; flex-direction: row; align-items: center; gap: 1.3rem; color: inherit; }
.tile-remote h3 { margin-top: 0; }
.tile-remote:hover { color: inherit; }
.round-arrow { margin-left: auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--brand); color: #fff; transition: transform .3s var(--ease); }
[data-theme="dark"] .round-arrow { color: #061019; }
.tile-remote:hover .round-arrow { transform: rotate(-45deg); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

/* Werte */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.value { padding: 1.8rem; }
.value .num { display: block; font-size: 2.8rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 1.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.value p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .85rem .42rem .65rem; border-radius: 999px; font-size: .9rem; font-weight: 600; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.chips .i { width: .95em; color: var(--muted); }
.chips li.hq { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips li.hq .i { color: #fff; }
.chips li.branch { border-color: var(--brand); color: var(--brand-strong); }
.chips li.branch .i { color: var(--brand); }
[data-theme="dark"] .chips li.hq { color: #061019; } [data-theme="dark"] .chips li.hq .i { color: #061019; }

/* Karte */
.map-card { margin: 0; overflow: hidden; padding: 0; box-shadow: var(--shadow); }
.map-card > svg { display: block; width: 100%; height: auto; }
.map-card figcaption { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.2rem; border-top: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--muted); }
.map-card figcaption .i { color: var(--brand); }
.map-dot { fill: var(--border-strong); }
.g0 { stop-color: var(--brand); stop-opacity: .22; } .g1 { stop-color: var(--brand); stop-opacity: 0; }
.map-ring { fill: none; stroke: var(--brand); stroke-opacity: .35; stroke-width: 1.2; stroke-dasharray: 4 6; }
.map-km { font-size: 13px; font-weight: 700; fill: var(--brand); opacity: .7; }
.map-link { stroke: var(--brand); stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 2 5; }
.map-pt { fill: var(--surface); stroke: var(--brand); stroke-width: 3; }
.is-hq .map-pt { fill: var(--brand); stroke: var(--surface); stroke-width: 3; }
.map-pulse { fill: var(--brand); opacity: .35; transform-box: fill-box; transform-origin: center; animation: mappulse 2.4s ease-out infinite; }
@keyframes mappulse { from { transform: scale(1); opacity: .45; } to { transform: scale(3.2); opacity: 0; } }
.map-label { font-size: 17px; font-weight: 700; fill: var(--text-2); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.is-hq .map-label, .is-branch .map-label { fill: var(--brand-strong); font-size: 19px; }
.is-branch .map-pt { fill: var(--brand); stroke: var(--surface); stroke-width: 3; }
.map-lens { fill: var(--brand); fill-opacity: .15; }
.map-link-hubs { stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 6 6; }

/* Zitat + Team */
.split-quote { align-items: stretch; grid-template-columns: 1.3fr 1fr; }
.big-quote { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.big-quote blockquote { margin: 0 0 2rem; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; font-weight: 650; letter-spacing: -.025em; color: var(--text); text-wrap: balance; }
.big-quote figcaption, .person { display: flex; align-items: center; gap: .9rem; }
.big-quote small, .person small { display: block; color: var(--muted); font-size: .88rem; font-weight: 500; }
.avatar {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; font-weight: 750; letter-spacing: .02em;
  box-shadow: 0 6px 16px -6px rgba(79,134,179,.6);
}
.avatar-lg { width: 76px; height: 76px; border-radius: 22px; font-size: 1.4rem; margin: 0 auto 1.1rem; }
.avatar-ic { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.team { padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; box-shadow: var(--shadow); }
.person { padding: .85rem; border-radius: 16px; transition: background-color .2s; color: inherit; }
.person:hover { background: var(--surface-2); color: inherit; }
.person-meta { flex: 1; } .person-meta strong { color: var(--text); }
.person-main { margin-top: .4rem; border: 1px dashed var(--border-strong); }

/* CTA-Band */
.cta-section { padding-top: 0; }
.section-alt + .cta-section { padding-top: clamp(4.5rem, 9vw, 7.5rem); background: var(--bg-alt); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2.2rem, 5vw, 4rem); border-radius: 32px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, #6fc4f0 0%, transparent 60%), linear-gradient(120deg, #1f4a6e, #3a74a3 55%, #4f86b3);
  box-shadow: 0 40px 80px -30px rgba(31,74,110,.6);
}
[data-theme="dark"] .cta-band { background: radial-gradient(60% 120% at 100% 0%, rgba(111,196,240,.45) 0%, transparent 60%), linear-gradient(120deg, #0f2436, #1f4a6e 55%, #2f6a9a); }
.cta-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 17em; margin-bottom: .4rem; }
.cta-copy p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -94px; padding: calc(94px + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 15em; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--text-2); }

.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--text-2); }
.highlight-card, .download-card { padding: 2.2rem; box-shadow: var(--shadow-lg); }
.highlight-card h3 { font-size: 1.5rem; margin: 1.2rem 0 0; }
.highlight-card .btn { margin-top: 1.8rem; }

.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.partner-card { padding: 1rem 1rem 1.8rem; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.partner-logo { display: grid; place-items: center; height: 150px; margin-bottom: 1.3rem; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
[data-theme="dark"] .partner-logo { background: #f3f6f9; border-color: transparent; }
.partner-logo img { max-width: 62%; max-height: 76px; object-fit: contain; }
.partner-card .tile-tag { padding: 0 .8rem; margin: 0; }
.partner-card h3, .partner-card p { padding: 0 .8rem; }
.partner-card h3 { margin: .5rem 0 .4rem; }
.partner-card p { color: var(--muted); margin: 0; font-size: .97rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: s; }
.step { padding: 2rem; }
.step h3 { margin: 1.2rem 0 .4rem; } .step p { color: var(--muted); margin: 0; }
.step-n { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 3.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); }
.split-download { align-items: start; grid-template-columns: 1.25fr 1fr; }
.download-card { position: sticky; top: 110px; display: grid; gap: 1rem; }
.download-card h3 { margin: 0; font-size: 1.35rem; }
.download-card p { margin: 0; color: var(--muted); }
.dl-logo { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #1d6bff 0%, #0b3fb8 45%, #050a54 100%); color: #fff;
  box-shadow: 0 14px 34px -14px rgba(13, 63, 184, .65), inset 0 1px 0 rgba(255,255,255,.18); }
.dl-logo::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); pointer-events: none; }
.dl-logo img { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 8px 20px -6px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.25); }
.dl-name { display: grid; line-height: 1.1; }
.dl-name strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.dl-name span { font-size: .95rem; font-weight: 600; opacity: .8; letter-spacing: .02em; }
.dl-badge { margin-left: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.dl-badge svg { width: 12px; height: 12px; }
.dl-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; font-weight: 550; color: var(--text-2); }
.dl-meta li { display: flex; gap: .55rem; align-items: center; }
.dl-meta svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.agree { display: flex; gap: .75rem; padding: 1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: .92rem; font-weight: 550; color: var(--text-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--brand); flex: none; cursor: pointer; }

.empty-state { display: flex; gap: 1.4rem; align-items: center; padding: 2rem; }
.empty-state h3 { margin-bottom: .3rem; } .empty-state p { margin: 0; color: var(--muted); }

.job-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.job-col { display: grid; gap: 1.1rem; }
.job-block, .job-aside { padding: 2rem; }
.job-block h2, .job-aside h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; }
.job-block h2 .i { color: var(--brand); }
.job-aside { position: sticky; top: 110px; box-shadow: var(--shadow-lg); }
.perks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.perks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.perks .i { margin-top: .2rem; color: var(--brand); }
.perks strong { display: block; color: var(--text); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.contact-card { display: flex; flex-direction: column; gap: .5rem; padding: 2rem; color: inherit; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.contact-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.contact-card .tile-ic { margin-bottom: .8rem; }
.cc-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-card strong { font-size: 1.2rem; letter-spacing: -.01em; color: var(--text); }
.contact-card .link-arrow { margin-top: auto; padding-top: 1rem; font-size: .93rem; }
.contact-extra { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 1.6rem; padding: 1.3rem 1.6rem; border-radius: var(--r); border: 1px dashed var(--border-strong); }
.ce-item { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.ce-item .i { color: var(--brand); }
.ce-item small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 1.1rem; }
.person-card { padding: 2.2rem 1.5rem; text-align: center; }
.person-card h3 { margin-bottom: .2rem; }

/* Rechtstexte */
.legal-wrap { max-width: 860px; }
.legal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.6rem, 5vw, 3.5rem); font-size: 1rem; overflow-wrap: anywhere; }
.legal h1 { font-size: 1.5rem; letter-spacing: -.02em; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3, .legal h4 { font-size: 1.1rem; margin-top: 1.8rem; }
.legal ol, .legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: .35rem; }
.legal ol > li::marker { font-weight: 700; color: var(--brand); }
.legal ol > li { font-size: 1.1rem; margin-top: 1.6rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.hero-404 { text-align: center; min-height: 70vh; display: grid; align-items: center; }
.big-404 { font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0; }
.center-actions { justify-content: center; }
.hero-404 .lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; padding: clamp(3.5rem, 7vw, 5rem) 0 1.6rem; background: var(--bg-alt); border-top: 1px solid var(--border); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); max-width: 26em; }
.logo-footer img { width: 150px; margin-bottom: 1.2rem; }
.footer-quote { font-style: italic; font-size: .9rem; border-left: 2px solid var(--brand); padding-left: 1rem; }
.site-footer h2 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .55rem; }
.site-footer nav a, .site-footer address { color: var(--text-2); font-weight: 520; }
.site-footer nav a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.footer-bottom nav { flex-direction: row; gap: 1.4rem; }
.footer-bottom nav a { color: var(--muted); }

/* ---------- Login ---------- */
.login-body { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.2rem; overflow: hidden; }
.login-body .hero-glow { inset: -10% -10% auto; }
.login-top { position: fixed; top: 1.2rem; right: 1.2rem; }
.login-card {
  width: min(420px, 100%); padding: 2.6rem 2.2rem; text-align: center;
  background: var(--glass); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.logo-login { margin: 0 auto 1.6rem; } .logo-login img { width: 170px; }
.login-card h1 { font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: .35rem; }
.login-card form { display: grid; gap: 1rem; margin-top: 1.8rem; text-align: left; }
.login-card .btn { margin-top: .4rem; }
.field span { display: block; font-size: .86rem; font-weight: 650; margin-bottom: .4rem; color: var(--text-2); }
.field input {
  width: 100%; height: 50px; padding: 0 1rem; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.alert { margin-top: 1.2rem; padding: .8rem 1rem; border-radius: 14px; font-size: .92rem; font-weight: 550; background: #fdeeee; color: #a1221f; border: 1px solid #f5c9c8; }
[data-theme="dark"] .alert { background: #2b1214; color: #ffb3b0; border-color: #4d1f22; }
.login-foot { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }
.login-foot a { color: var(--muted); } .login-foot a:hover { color: var(--brand); }

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Theme-Wechsel als Kreis-Animation (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .status-a { left: 52%; } .status-b { right: 48%; }
}
@media (max-width: 960px) {
  .main-nav {
    position: absolute; top: calc(100% + 6px); left: .75rem; right: .75rem; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { background: var(--surface-2); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: .5rem; }
  .nav-cta { display: none; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: block; }
  .hero-inner, .split, .split-quote, .split-download, .job-grid { grid-template-columns: 1fr; }
  .hub { max-width: 520px; margin-top: 1rem; }
  .card-grid, .partner-cards, .steps, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card, .job-aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(100% - 2rem, 1200px); }
  .nav-shell { padding: 0 .4rem 0 1rem; height: 60px; border-radius: 18px; }
  .logo img { width: 112px; }
  .bento, .values, .card-grid, .partner-cards, .steps, .contact-grid, .people, .footer-grid { grid-template-columns: 1fr; }
  .tile-feature, .tile-remote { grid-column: auto; grid-row: auto; }
  .tile-feature { padding: 1.8rem; }
  .feature-art { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .hub { width: 76%; margin-inline: auto; }
  .node { font-size: .72rem; padding: .35rem .6rem .35rem .35rem; gap: .4rem; }
  .node-ic { width: 24px; height: 24px; }
  .status { display: none; }
  .logo-tile { width: 150px; height: 76px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .empty-state { flex-direction: column; align-items: flex-start; }
  .icon-btn { width: 36px; height: 36px; }
}
