:root {
  --bg: #05070f;
  --bg-elevated: #0b1020;
  --bg-alt: #0a0f1c;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --muted: #93a0b8;
  --blue: #0045ff;
  --blue-bright: #3d7aff;
  --blue-soft: #7eb0ff;
  --blue-deep: #0030b8;
  --navy: #00152e;
  --live: #3dff9a;
  --live-soft: #4ae3a8;
  --gradient: linear-gradient(120deg, #0030b8 0%, #0045ff 42%, #3d7aff 100%);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 14px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Nav —— */
#mainNav {
  padding: 0.85rem 0;
  background: transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

#mainNav.is-scrolled {
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.brand-logo {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.btn-discord {
  --bs-btn-color: #fff;
  --bs-btn-bg: #5865f2;
  --bs-btn-border-color: #5865f2;
  --bs-btn-hover-bg: #4752c4;
  --bs-btn-hover-border-color: #4752c4;
  --bs-btn-hover-color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.42rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  color: #fff;
  background: rgba(0, 69, 255, 0.55);
}

.lang-btn:focus-visible {
  outline: 2px solid rgba(61, 122, 255, 0.8);
  outline-offset: 2px;
}

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: #0036cc;
  --bs-btn-hover-border-color: #0036cc;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 600;
  background-image: var(--gradient);
  border: 0;
  padding-inline: 1.35rem;
}

.btn-primary:hover {
  filter: brightness(1.08);
  background-image: var(--gradient);
}

.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.28);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
  --bs-btn-hover-color: #fff;
  font-weight: 600;
  padding-inline: 1.35rem;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 4.5rem;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(0, 69, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(0, 69, 255, 0.14), transparent 50%),
    linear-gradient(180deg, #060a16 0%, #05070f 100%);
}

.hero-map-plane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.92;
  mask-image: radial-gradient(ellipse 92% 78% at 48% 46%, #000 20%, rgba(0, 0, 0, 0.8) 55%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 48% 46%, #000 20%, rgba(0, 0, 0, 0.8) 55%, transparent 82%);
}

.hero-map-stage {
  position: absolute;
  /* Größe/Position setzt JS (2:1 Cover + Standort-Fit) */
  width: 200%;
  aspect-ratio: 2 / 1;
  left: 0;
  top: 0;
  transform-origin: center center;
  will-change: transform;
}

@media (max-width: 767.98px) {
  .hero-map-plane {
    mask-image: radial-gradient(ellipse 115% 68% at 50% 28%, #000 28%, rgba(0, 0, 0, 0.78) 58%, transparent 84%);
    -webkit-mask-image: radial-gradient(ellipse 115% 68% at 50% 28%, #000 28%, rgba(0, 0, 0, 0.78) 58%, transparent 84%);
  }
}

.hero-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* innerhalb 2:1-Stage: keine Verzerrung der Geografie */
  filter:
    brightness(2.1)
    contrast(1.25)
    saturate(0.55);
  opacity: 0.8;
}

.hero-map-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-map-links path {
  fill: none;
  stroke: rgba(126, 176, 255, 0.3);
  stroke-width: 0.16;
  stroke-linecap: round;
  stroke-dasharray: 1.5 3.5;
  animation: linkFlow 22s linear infinite;
}

.hero-map-links path:nth-child(2n) {
  stroke: rgba(61, 122, 255, 0.22);
  animation-duration: 28s;
  animation-direction: reverse;
}

.hero-map-links path:nth-child(3n) {
  animation-duration: 32s;
  animation-delay: -10s;
}

.hero-map-links .hero-packet {
  fill: #b7d4ff;
  filter: drop-shadow(0 0 1.2px rgba(183, 212, 255, 0.35));
  opacity: 0.5;
}

@keyframes linkFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -24; }
}

.hero-map-nodes {
  position: absolute;
  inset: 0;
}

.hero-node {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.hero-node-core {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #9ec2ff;
  box-shadow:
    0 0 10px rgba(126, 176, 255, 0.95),
    0 0 28px rgba(0, 69, 255, 0.55);
}

.hero-node-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(126, 176, 255, 0.55);
  animation: nodePulse 3.6s ease-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

.hero-node-ring-2 {
  inset: -10px;
  border-color: rgba(126, 176, 255, 0.28);
  animation-delay: calc(var(--pulse-delay, 0s) + 0.8s);
}

@keyframes nodePulse {
  0% { transform: scale(0.55); opacity: 0.75; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: orbDrift 22s ease-in-out infinite alternate;
}

.hero-orb-a {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  top: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(0, 69, 255, 0.55), transparent 70%);
}

.hero-orb-b {
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  bottom: 10%;
  left: 4%;
  background: radial-gradient(circle, rgba(0, 69, 255, 0.28), transparent 70%);
  animation-duration: 28s;
  animation-delay: -8s;
}

.hero-orb-c {
  width: min(28vw, 320px);
  height: min(28vw, 320px);
  top: 42%;
  left: 42%;
  background: radial-gradient(circle, rgba(61, 122, 255, 0.28), transparent 70%);
  animation-duration: 18s;
  opacity: 0.35;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 4%) scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 55% 45%, black 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 45%, black 15%, transparent 72%);
  animation: gridDrift 32s linear infinite;
  opacity: 0.7;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(61, 122, 255, 0.045) 48%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(61, 122, 255, 0.045) 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: scanSweep 9s ease-in-out infinite;
  opacity: 0.55;
  mix-blend-mode: screen;
}

@keyframes scanSweep {
  0%, 100% { background-position: 0 -40%; }
  50% { background-position: 0 140%; }
}

.hero-beams {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(61, 122, 255, 0.045) 50%, transparent 60%),
    linear-gradient(155deg, transparent 45%, rgba(0, 69, 255, 0.035) 53%, transparent 63%);
  background-size: 220% 220%;
  animation: beamSweep 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  opacity: 0.4;
}

@keyframes beamSweep {
  from { background-position: 0% 40%, 100% 60%; }
  to { background-position: 100% 55%, 0% 45%; }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0.22) 0%, rgba(5, 7, 15, 0.38) 36%, rgba(5, 7, 15, 0.9) 100%),
    radial-gradient(ellipse 52% 46% at 50% 38%, rgba(5, 7, 15, 0.42), transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.55);
  animation: livePulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.04em;
}

.brand-gradient {
  background: var(--gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(0, 69, 255, 0.35));
  animation: brandShift 8s ease-in-out infinite alternate;
}

@keyframes brandShift {
  from { background-position: 0% 50%; filter: drop-shadow(0 0 28px rgba(0, 69, 255, 0.28)); }
  to { background-position: 100% 50%; filter: drop-shadow(0 0 52px rgba(61, 122, 255, 0.32)); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0.75rem 0 1.25rem;
  font-weight: 500;
}

.hero-tagline span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.hero-tagline span::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 176, 255, 0.75), rgba(126, 176, 255, 0.55), transparent);
  transform-origin: center;
  animation: taglineBeam 3.8s ease-in-out infinite;
}

@keyframes taglineBeam {
  0%, 100% { opacity: 0.35; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-actions .btn-primary {
  box-shadow: 0 10px 36px rgba(0, 69, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0, 69, 255, 0.45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
  padding: 0.35rem 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(126, 176, 255, 0.35), transparent) 1;
  backdrop-filter: blur(8px);
}

.hero-stats .stat {
  position: relative;
  padding: 1.15rem 1rem;
}

.hero-stats .stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767.98px) {
  .hero-stats .stat:nth-child(2n)::after {
    display: none;
  }
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.hero-scroll:hover {
  opacity: 1;
  border-color: rgba(126, 176, 255, 0.55);
  color: inherit;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #9ec2ff;
  animation: scrollNudge 1.8s ease-in-out infinite;
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* —— Partners —— */
.partners-strip {
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .partners-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 0.5rem;
}

.partner-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 120px;
  max-height: 28px;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.partner-item:hover .partner-logo {
  opacity: 0.9;
}

/* —— Sections —— */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 3rem;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: 0.55rem;
  align-items: start;
}

.section-head .section-eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0;
}

.section-head .section-title {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}

.section-head .section-text {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  max-width: none;
  margin: 0;
  padding-top: 0.45rem;
  border-left: 1px solid rgba(61, 122, 255, 0.35);
  padding-left: clamp(1rem, 2.2vw, 1.35rem);
}

.section-head.text-center {
  display: block;
  margin-inline: auto;
  max-width: min(42rem, 100%);
}

.section-head.text-center .section-text {
  border-left: 0;
  padding-left: 0;
  padding-top: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.text-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: none;
}

@media (max-width: 767.98px) {
  .section-head {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .section-head .section-eyebrow,
  .section-head .section-title,
  .section-head .section-text {
    grid-column: 1;
    grid-row: auto;
  }

  .section-head .section-text {
    border-left: 0;
    padding-left: 0;
    padding-top: 0;
  }
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.mission-list i {
  color: var(--blue-bright);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(5, 7, 15, 0.92));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.media-caption span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.media-caption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* —— Offers —— */
.offers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.25rem 1.5rem;
  align-items: stretch;
}

.offer {
  position: relative;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.offer-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 69, 255, 0.15);
  color: var(--blue-bright);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.offer h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.offer p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.offer-feature {
  padding: 2rem 2.1rem 2.15rem;
  border-color: rgba(61, 122, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(0, 69, 255, 0.16), rgba(0, 69, 255, 0.04) 48%, transparent 75%),
    var(--bg-elevated);
}

.offer-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  border: 1px solid rgba(61, 122, 255, 0.35);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.offer-feature .offer-icon {
  width: 56px;
  height: 56px;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 69, 255, 0.22);
}

.offer-feature h3 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.offer-feature p {
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.55;
}

.offer-feature-points {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.offer-feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.offer-feature-points i {
  color: var(--blue-bright);
  margin-top: 0.15rem;
}

.offer-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.offers-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.offers-side-label {
  margin: 0.15rem 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.offers-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.offer-side {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.06);
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.offer-side:hover {
  opacity: 0.92;
  border-color: rgba(61, 122, 255, 0.28);
  background: rgba(0, 69, 255, 0.05);
}

.offer-side .offer-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  font-size: 1.05rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(126, 176, 255, 0.75);
}

.offer-side h3 {
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
  color: rgba(232, 237, 247, 0.88);
}

.offer-side p {
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(147, 160, 184, 0.85);
}

@media (max-width: 991.98px) {
  .offers-layout {
    grid-template-columns: 1fr;
  }

  .offers-side-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 575.98px) {
  .offer-feature {
    padding: 1.5rem 1.25rem 1.55rem;
  }

  .offers-side-list {
    grid-template-columns: 1fr;
  }
}

/* —— YABS bench readout —— */
.bench {
  margin: 2rem 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 69, 255, 0.06), transparent 42%),
    var(--bg-elevated);
}

.bench-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 0.65rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.bench-chrome-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.bench-prompt {
  color: var(--blue-bright);
  font-weight: 600;
}

.bench-cmd {
  color: var(--text);
  letter-spacing: 0.02em;
}

.bench-tag {
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(61, 122, 255, 0.35);
  border-radius: 4px;
  color: var(--blue-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.bench-date {
  color: var(--muted);
}

.bench-body {
  padding: 1.25rem 1.25rem 1.3rem;
}

.bench-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.bench-intro-text {
  max-width: 560px;
}

.bench-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.bench-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-soft);
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.bench-link:hover {
  color: #fff;
}

.bench-link i {
  font-size: 0.85em;
}

.bench-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.28rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.bench-tab {
  flex: 1;
  border: 0;
  border-radius: 7px;
  padding: 0.5rem 0.7rem;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bench-tab:hover {
  color: var(--text);
}

.bench-tab.is-active {
  background: rgba(0, 69, 255, 0.28);
  color: #fff;
}

.bench-panes {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(5, 7, 15, 0.45);
  overflow: hidden;
}

.bench-pane {
  padding: 0.95rem 1rem 1rem;
}

.bench-pane[hidden] {
  display: none !important;
}

.bench-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.bench-chips span {
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(61, 122, 255, 0.28);
  background: rgba(0, 69, 255, 0.12);
  color: var(--blue-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.bench-sys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}

.bench-kv {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.bench-kv > div {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.bench-kv dt {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.bench-kv dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 500;
}

.bench-ok {
  color: #4ae3a8;
}

.bench-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-bottom: 0.75rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.bench-pane-note {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(147, 160, 184, 0.75);
}

.bench-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.bench-bars[hidden] {
  display: none !important;
}

.bench-bars li {
  display: grid;
  grid-template-columns: 5.6rem 1fr 5.2rem;
  gap: 0.65rem;
  align-items: center;
}

.bench-bars--net li {
  grid-template-columns: 5.8rem 1fr 4.6rem;
  gap: 0.55rem;
}

.bench-bar-label {
  font-size: 0.84rem;
  color: var(--text);
}

.bench-bar-track {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bench-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.bench-pane.is-active .bench-bar-fill,
.bench.is-visible .bench-pane.is-active .bench-bar-fill {
  width: var(--bench);
}

.bench-bar-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-align: right;
}

.bench-bar-meta strong {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-soft);
}

.bench-bar-meta small {
  font-size: 0.68rem;
  color: var(--muted);
}

.bench-chip {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  text-align: center;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(0, 69, 255, 0.2);
  color: var(--blue-soft);
}

.bench-subtabs {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.18rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  text-transform: none;
  letter-spacing: 0;
}

.bench-subtab {
  border: 0;
  border-radius: 6px;
  padding: 0.22rem 0.62rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.bench-subtab.is-active {
  background: rgba(0, 69, 255, 0.3);
  color: #fff;
}

.bench-raw-hint {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 36rem;
  margin: 0 0 0.85rem;
}

.bench-raw-log {
  margin: 0;
  max-height: min(28rem, 62vh);
  overflow: auto;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #d7e0f0;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 122, 255, 0.45) transparent;
}

.bench-raw-log:focus-visible {
  outline: 2px solid rgba(61, 122, 255, 0.7);
  outline-offset: 2px;
}

.bench-raw-loading {
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .bench-sys {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .bench-bars li,
  .bench-bars--net li {
    grid-template-columns: 4.8rem 1fr 4.2rem;
    gap: 0.45rem;
  }
}

@media (max-width: 575.98px) {
  .bench-body {
    padding: 1.05rem 0.9rem 1.1rem;
  }

  .bench-tab {
    font-size: 0.8rem;
    padding: 0.45rem 0.35rem;
  }
}

#technik {
  padding-bottom: 3.5rem;
}

.section-standorte {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background:
    linear-gradient(180deg, rgba(0, 69, 255, 0.07), transparent 28%),
    var(--bg);
  border-top: 1px solid rgba(61, 122, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* —— Partner-Community / Stimmen —— */
.section-community {
  background:
    radial-gradient(ellipse 70% 50% at 12% 20%, rgba(0, 69, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 80%, rgba(61, 122, 255, 0.08), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.partner-voice {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(1.2rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(0, 69, 255, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.02);
}

.partner-voice-head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: start;
}

.partner-voice-visual {
  margin: 0;
}

.partner-voice-visual img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  background: #1a1a1a;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 28px rgba(0, 21, 46, 0.4);
}

.partner-voice-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.partner-voice-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  font-weight: 600;
}

.partner-voice-intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.partner-voice-blurb {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.partner-voice-facts {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.partner-voice-facts li {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.partner-voice-facts span {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  vertical-align: 0.05em;
}

.partner-voice-quote {
  margin: 0;
  padding: 0.9rem 1.05rem;
  border: 0;
  border-radius: 12px;
  border-left: 3px solid var(--blue-bright);
  background: rgba(0, 69, 255, 0.11);
}

.partner-voice-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
}

.partner-voice-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partner-voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: contain;
  object-position: center;
  background: #1a1a1a;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.partner-voice-attr > div {
  min-width: 0;
  flex: 1 1 auto;
}

.partner-voice-attr strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.partner-voice-attr span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.3;
}

.partner-voice-cta {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .partner-voice-head {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .partner-voice-visual img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .partner-voice-cta {
    width: 100%;
    justify-content: center;
  }
}

/* —— FAQ —— */
.section-faq {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.faq-list {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(61, 122, 255, 0.35);
  background: rgba(0, 69, 255, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue-soft);
  border-bottom: 2px solid var(--blue-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.faq-answer {
  padding: 0 1.15rem 1.1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: none;
}

.faq-answer a {
  font-weight: 600;
}

/* —— Infra map —— */
.infra-map {
  margin: 0 0 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "map"
    "meta";
  position: relative;
}

.world-map-viewport {
  grid-area: map;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0e27;
}

.map-meta {
  grid-area: meta;
}

.map-mobile-hint {
  display: none;
}

.world-map-stage {
  position: relative;
  width: 100%;
  line-height: 0;
}

.world-map-bg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  pointer-events: none;
  user-select: none;
}

.world-map-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.world-map-markers .map-marker {
  pointer-events: auto;
}

.world-map-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(10, 14, 39, 0.35) 100%);
}

.map-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.map-marker-dot {
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
}

.map-marker-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.map-marker-pulse,
.map-marker-pulse-2 {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, 0.7);
  animation: markerPulse 2.4s ease-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

.map-marker-pulse-2 {
  animation-delay: calc(var(--pulse-delay, 0s) + 1.2s);
}

.map-marker.is-offline .map-marker-core {
  background: #6b7280;
  box-shadow: none;
}

.map-marker.is-offline .map-marker-pulse,
.map-marker.is-offline .map-marker-pulse-2 {
  display: none;
}

.map-marker.is-primary .map-marker-core {
  background: var(--live);
  box-shadow:
    0 0 0 3px rgba(61, 255, 154, 0.28),
    0 0 14px rgba(61, 255, 154, 0.45);
}

.map-marker.is-primary .map-marker-pulse,
.map-marker.is-primary .map-marker-pulse-2 {
  border-color: rgba(61, 255, 154, 0.75);
}

.map-marker.is-primary .map-marker-city {
  color: #062816;
  background: #e8fff4;
  box-shadow:
    0 0 0 1px rgba(61, 255, 154, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.28);
}

.map-marker-stem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stem-len, 26px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.15));
  transform-origin: 0 50%;
  transform: rotate(var(--stem-angle, 0deg));
  pointer-events: none;
  opacity: 0.9;
}

.map-marker-city {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0b1220;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  line-height: 1.2;
  transform: translate(var(--label-tx, 26px), var(--label-ty, -50%));
  z-index: 3;
}

.map-marker[data-label="right"] {
  --stem-angle: 0deg;
  --stem-len: 28px;
  --label-tx: 30px;
  --label-ty: -50%;
}

.map-marker[data-label="left"] {
  --stem-angle: 180deg;
  --stem-len: 28px;
  --label-tx: calc(-100% - 30px);
  --label-ty: -50%;
}

.map-marker[data-label="top"] {
  --stem-angle: -90deg;
  --stem-len: 30px;
  --label-tx: -50%;
  --label-ty: calc(-100% - 30px);
}

.map-marker[data-label="bottom"] {
  --stem-angle: 90deg;
  --stem-len: 30px;
  --label-tx: -50%;
  --label-ty: 30px;
}

.map-marker[data-label="top-right"] {
  --stem-angle: -35deg;
  --stem-len: 36px;
  --label-tx: 22px;
  --label-ty: calc(-100% - 14px);
}

.map-marker[data-label="top-left"] {
  --stem-angle: -145deg;
  --stem-len: 36px;
  --label-tx: calc(-100% - 22px);
  --label-ty: calc(-100% - 14px);
}

.map-marker[data-label="bottom-right"] {
  --stem-angle: 35deg;
  --stem-len: 36px;
  --label-tx: 22px;
  --label-ty: 14px;
}

.map-marker[data-label="bottom-left"] {
  --stem-angle: 145deg;
  --stem-len: 36px;
  --label-tx: calc(-100% - 22px);
  --label-ty: 14px;
}

.map-marker.is-active,
.map-marker:focus-visible {
  z-index: 6;
}

.map-marker.is-active .map-marker-city,
.map-marker:focus-visible .map-marker-city {
  color: #0b1220;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.35);
}

.map-marker.is-active .map-marker-core {
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .map-marker:hover {
    z-index: 6;
  }

  .map-marker:hover .map-marker-city {
    color: #0b1220;
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.35);
  }

  .map-marker:hover .map-marker-core {
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35);
  }
}

@keyframes markerPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Integrated popup — wide bottom dock (desktop overlay on map) */
.map-popup {
  position: absolute;
  z-index: 5;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 4.75rem;
  width: auto;
  max-width: none;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.map-popup[hidden] {
  display: none !important;
}

.map-popup.is-open {
  display: block;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.map-popup-inner {
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(8, 12, 28, 0.96);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(59, 130, 246, 0.12);
}

.map-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.map-popup-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.map-popup-head {
  padding-right: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.map-popup-head-main {
  min-width: 0;
}

.map-popup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.3rem;
}

.map-popup-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.map-popup-status.is-offline {
  color: #9ca3af;
}

.map-popup-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  margin: 0 0 0.2rem;
}

.map-popup-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-popup-head a,
.map-legend-provider a,
.loc-tile-body a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.map-popup-head a:hover,
.map-legend-provider a:hover,
.loc-tile-body a:hover {
  color: #fff;
}

.map-popup-servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  max-height: min(42vh, 320px);
  overflow: auto;
  padding-right: 0.15rem;
}

.map-server-card {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.map-server-card.is-colo {
  border-color: rgba(61, 122, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(0, 69, 255, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.map-server-badge {
  display: inline-flex;
  align-items: center;
  margin: 0.15rem 0 0.45rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-server-badge.is-colo {
  color: var(--blue-soft);
  background: rgba(0, 69, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(61, 122, 255, 0.4);
}

.map-server-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.map-server-card-top strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.map-server-type {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.map-server-site {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.map-server-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.map-server-specs li {
  display: grid;
  grid-template-columns: 18px 44px 1fr;
  gap: 0.45rem;
  align-items: start;
  font-size: 0.84rem;
  color: rgba(232, 237, 247, 0.9);
  line-height: 1.35;
}

.map-server-specs li i {
  color: #60a5fa;
  font-size: 0.95rem;
  line-height: 1.25;
}

.map-server-specs .spec-key {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}

.map-server-specs .spec-val {
  color: #e8edf7;
}

.map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.9rem 1.15rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.map-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
  animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.map-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
}

.map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}

.map-legend li:hover strong,
.map-legend li.is-active strong {
  color: var(--blue-bright);
}

.map-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.7);
}

.map-legend-code,
.map-legend-count {
  display: none;
}

.map-legend-provider {
  color: var(--muted);
  font-size: 0.8rem;
}

.map-legend li.is-primary .map-legend-dot {
  background: var(--live);
  box-shadow: 0 0 8px rgba(61, 255, 154, 0.5);
}

.map-legend li.is-primary strong {
  color: var(--live-soft);
}

.map-popup.is-primary .map-popup-inner {
  border-color: rgba(61, 255, 154, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(61, 255, 154, 0.16);
}

.map-popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}

.map-popup-badges[hidden] {
  display: none;
}

.map-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #062816;
  background: rgba(61, 255, 154, 0.9);
}

.map-popup-badge.is-colo {
  color: #dce8ff;
  background: rgba(0, 69, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(61, 122, 255, 0.45);
}

.loc-item {
  cursor: pointer;
}

.loc-item.is-active strong {
  color: #3b82f6;
}

@media (max-width: 767.98px) {
  .infra-map {
    grid-template-areas:
      "map"
      "meta"
      "sheet"
      "hint";
  }

  .map-popup {
    grid-area: sheet;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    transform: none;
  }

  .map-popup.is-open {
    border-top: 1px solid var(--border);
  }

  .map-popup-inner {
    border: 0;
    border-radius: 0;
    background: rgba(5, 7, 15, 0.55);
    box-shadow: none;
    backdrop-filter: none;
    padding: 1rem 1rem 1.15rem;
  }

  .map-popup-servers {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .map-mobile-hint {
    grid-area: hint;
    display: block;
    margin: 0;
    padding: 0.85rem 1rem 1rem;
    text-align: center;
    font-size: 0.84rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
  }

  .map-mobile-hint[hidden] {
    display: none !important;
  }

  .map-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .map-live {
    display: none;
  }

  .map-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    flex-wrap: unset;
    padding: 0;
  }

  .map-legend li {
    display: flex;
    min-width: 0;
    width: 100%;
    gap: 0.4rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .map-legend li strong {
    flex: 1;
    min-width: 0;
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .map-legend li.is-active {
    border-color: rgba(61, 122, 255, 0.5);
    background: rgba(0, 69, 255, 0.14);
  }

  .map-legend-dot {
    display: none;
  }

  .map-legend-code {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 2rem;
    height: 1.55rem;
    padding: 0 0.35rem;
    border-radius: 6px;
    background: rgba(0, 69, 255, 0.2);
    color: var(--blue-soft);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .map-legend-provider {
    display: none;
  }

  .map-legend-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .map-legend li.is-active .map-legend-count {
    background: rgba(61, 122, 255, 0.25);
    color: var(--blue-soft);
  }

  .map-marker-city,
  .map-marker-stem {
    display: none !important;
  }

  .map-marker {
    width: 44px;
    height: 44px;
  }

  .map-marker-dot {
    width: 16px;
    height: 16px;
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .map-marker-core {
    inset: 3px;
  }

  .map-marker-pulse,
  .map-marker-pulse-2 {
    inset: -3px;
  }
}

/* —— Standorte —— */
.standorte-head {
  margin-bottom: 1.75rem;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: 0.55rem;
  align-items: start;
}

.standorte-head-text {
  display: contents;
}

.standorte-head .section-eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0;
}

.standorte-head .section-title {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}

.standorte-head .section-text {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  max-width: none;
  margin: 0;
  padding-top: 0.45rem;
  border-left: 1px solid rgba(61, 122, 255, 0.35);
  padding-left: clamp(1rem, 2.2vw, 1.35rem);
}

@media (max-width: 767.98px) {
  .standorte-head {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .standorte-head .section-eyebrow,
  .standorte-head .section-title,
  .standorte-head .section-text {
    grid-column: 1;
    grid-row: auto;
  }

  .standorte-head .section-text {
    border-left: 0;
    padding-left: 0;
    padding-top: 0;
  }
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.loc-tile {
  appearance: none;
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.loc-tile:hover,
.loc-tile:focus-visible {
  border-color: rgba(61, 122, 255, 0.4);
  background: rgba(0, 69, 255, 0.08);
  outline: none;
}

.loc-tile.is-active {
  border-color: rgba(61, 122, 255, 0.55);
  background: rgba(0, 69, 255, 0.12);
}

.loc-tile.is-primary {
  border-color: rgba(61, 255, 154, 0.4);
  background:
    linear-gradient(135deg, rgba(61, 255, 154, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.loc-tile.is-primary:hover,
.loc-tile.is-primary:focus-visible {
  border-color: rgba(61, 255, 154, 0.55);
  background:
    linear-gradient(135deg, rgba(61, 255, 154, 0.12), transparent 55%),
    rgba(61, 255, 154, 0.05);
}

.loc-tile.is-primary.is-active {
  border-color: rgba(61, 255, 154, 0.65);
  background:
    linear-gradient(135deg, rgba(61, 255, 154, 0.16), transparent 55%),
    rgba(61, 255, 154, 0.07);
}

.loc-tile.is-primary .loc-tile-code {
  color: #062816;
  background: rgba(61, 255, 154, 0.88);
}

.loc-tile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.loc-tile-badge {
  display: inline-block;
  margin: 0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #062816;
  background: rgba(61, 255, 154, 0.88);
  white-space: nowrap;
}

.loc-tile-badge.is-colo {
  color: var(--blue-soft);
  background: rgba(0, 69, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(61, 122, 255, 0.35);
}

.loc-tile-code {
  grid-row: 1 / 3;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 69, 255, 0.16);
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.loc-tile-body {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.loc-tile-body strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.loc-tile-body > span:not(.loc-tile-badge):not(.loc-tile-badges) {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-tile-count {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-soft);
  white-space: nowrap;
}

.loc-tile-status {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(147, 160, 184, 0.45);
}

.loc-tile-status.is-online {
  background: var(--live-soft);
  box-shadow: 0 0 8px rgba(74, 227, 168, 0.45);
}

.standorte-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.standorte-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.standorte-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.standorte-shot:hover img {
  opacity: 1;
  transform: scale(1.02);
}

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

  .standorte-visual {
    grid-template-columns: 1fr;
  }

  .standorte-shot:nth-child(n + 2) {
    display: none;
  }
}

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

/* —— CTA —— */
.cta-band {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 69, 255, 0.28), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #03050a;
  font-size: 0.95rem;
}

.footer-tag {
  color: var(--muted);
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-sep {
  margin: 0 0.5rem;
  color: var(--muted);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.88rem;
}

/* —— Legal / Impressum —— */
.page-legal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-legal #main {
  flex: 1 0 auto;
}

.page-legal .site-footer {
  flex-shrink: 0;
}

.legal-page {
  position: relative;
  padding: calc(var(--nav-h) + 2.75rem) 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 12% 8%, rgba(0, 69, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 70%, rgba(61, 122, 255, 0.08), transparent 50%),
    var(--bg);
}

.legal-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.legal-glow {
  position: absolute;
  width: min(48rem, 80vw);
  height: min(48rem, 80vw);
  left: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 69, 255, 0.2), transparent 68%);
  filter: blur(8px);
}

.legal-page-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.legal-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.legal-crumb a {
  color: var(--muted);
  font-weight: 500;
}

.legal-crumb a:hover {
  color: #fff;
}

.legal-crumb span[aria-hidden="true"] {
  opacity: 0.45;
}

.legal-head {
  margin-bottom: 2.5rem;
}

.legal-head .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
}

.legal-doc {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(0, 69, 255, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.legal-block {
  margin: 0;
  padding: 1.45rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-block:first-child {
  border-top: 0;
}

.legal-block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.legal-block p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-block p + p,
.legal-block ul + p,
.legal-block p + ul {
  margin-top: 0.85rem;
}

.legal-block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-block li + li {
  margin-top: 0.3rem;
}

.legal-block a {
  font-weight: 600;
  color: var(--blue-bright);
}

.legal-block a:hover {
  color: #fff;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.legal-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-legal .footer-nav a[aria-current="page"] {
  color: #fff;
}

@media (max-width: 575.98px) {
  .legal-page {
    padding-bottom: 3.5rem;
  }

  .legal-block {
    padding: 1.2rem 1.15rem 1.25rem;
  }

  .legal-actions {
    flex-direction: column;
  }

  .legal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(8, 12, 24, 0.96);
    border: 1px solid var(--border);
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bench-bar-fill { transition: none; width: var(--bench); }
  .hero-grid,
  .hero-scan,
  .hero-beams,
  .hero-orb,
  .hero-map-links path,
  .hero-node-ring,
  .hero-node-ring-2,
  .brand-gradient,
  .hero-tagline span::after,
  .hero-live,
  .hero-scroll span { animation: none; }
}

/* —— Control Panel Showcase —— */
.section-panel {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(0, 69, 255, 0.16), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 69, 255, 0.1), transparent 40%),
    var(--bg);
}

.panel-features {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  align-items: flex-start;
}

.panel-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 69, 255, 0.15);
  color: var(--blue-bright);
  font-size: 1.2rem;
  border: 1px solid rgba(61, 122, 255, 0.22);
}

.panel-features strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.panel-features span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.panel-showcase {
  position: relative;
}

.panel-stage-wrap {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(61, 122, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(0, 69, 255, 0.12), transparent 40%),
    #0a1020;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.panel-stage {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.panel-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.panel-stage:hover img {
  transform: scale(1.015);
  filter: brightness(1.05);
}

.panel-stage-hint {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8edf7;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.panel-stage:hover .panel-stage-hint,
.panel-stage:focus-visible .panel-stage-hint {
  opacity: 1;
  transform: none;
}

.panel-stage-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.1rem 1.05rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}

.panel-stage-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.panel-stage-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-nav {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 0.65rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.panel-nav-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(8, 12, 24, 0.75);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.panel-nav-btn:hover {
  background: rgba(0, 69, 255, 0.55);
  border-color: rgba(61, 122, 255, 0.55);
}

.panel-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.panel-thumb {
  position: relative;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #0a1020;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.panel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.panel-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 122, 255, 0.45);
}

.panel-thumb:hover img,
.panel-thumb.is-active img {
  opacity: 1;
}

.panel-thumb.is-active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45), 0 8px 20px rgba(0, 69, 255, 0.25);
}

.panel-thumb.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #0045ff, #3d7aff);
}

/* Lightbox — echtes Vollbild */
.panel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.panel-lightbox[hidden] {
  display: none !important;
}

.panel-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 2, 8, 0.94);
  backdrop-filter: blur(12px);
}

.panel-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  padding: 0;
  margin: 0;
}

.panel-lightbox-figure {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.panel-lightbox-figure img {
  display: block;
  width: 100vw;
  height: calc(100vh - 4.5rem);
  height: calc(100dvh - 4.5rem);
  max-width: 100vw;
  max-height: calc(100vh - 4.5rem);
  max-height: calc(100dvh - 4.5rem);
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.panel-lightbox-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.25rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  text-align: center;
  pointer-events: none;
}

.panel-lightbox-figure strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.panel-lightbox-figure span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.panel-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.panel-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(8, 12, 24, 0.75);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.panel-lightbox-prev {
  left: 1rem;
}

.panel-lightbox-next {
  right: 1rem;
}

.panel-lightbox-nav:hover {
  background: rgba(0, 69, 255, 0.55);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .panel-lightbox-figure img {
    height: calc(100vh - 5.5rem);
    height: calc(100dvh - 5.5rem);
    max-height: calc(100vh - 5.5rem);
    max-height: calc(100dvh - 5.5rem);
  }

  .panel-lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .panel-lightbox-prev {
    left: 0.5rem;
  }

  .panel-lightbox-next {
    right: 0.5rem;
  }

  .panel-lightbox-close {
    top: 0.65rem;
    right: 0.65rem;
    width: 42px;
    height: 42px;
  }

  .panel-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }
}
