:root {
  --bg: #05010b;
  --bg-2: #0b0f1e;
  --panel: rgba(7, 10, 23, 0.84);
  --panel-strong: rgba(10, 14, 30, 0.94);
  --line: rgba(126, 92, 255, 0.28);
  --line-strong: rgba(39, 229, 255, 0.42);
  --text: #f5ecff;
  --muted: #aba1ca;
  --cyan: #27e5ff;
  --magenta: #ff3ca6;
  --lime: #d3ff3f;
  --amber: #ffb347;
  --shadow: 0 0 0 1px rgba(39, 229, 255, 0.08), 0 20px 80px rgba(0, 0, 0, 0.58);
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 60, 166, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(39, 229, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 85%, rgba(211, 255, 63, 0.08), transparent 28%),
    linear-gradient(180deg, #020106 0%, #090412 18%, #040816 58%, #020208 100%);
  color: var(--text);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.1;
  mix-blend-mode: screen;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 229, 255, 0.45);
}

a:hover,
a:focus-visible {
  color: #d9feff;
  border-bottom-color: rgba(217, 254, 255, 0.9);
}

code {
  font-family: inherit;
  color: var(--lime);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: #04111a;
  border: 0;
}

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

.lang-toggle-input {
  position: fixed;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.lang-de,
.lang-en {
  display: inline;
}

#lang-de:checked ~ .page-shell .lang-en,
#lang-en:checked ~ .page-shell .lang-de {
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(39, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 85%);
  opacity: 0.22;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header,
.site-footer,
.panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header::before,
.site-footer::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 60, 166, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(39, 229, 255, 0.08), transparent 40%);
}

.site-header::after,
.panel::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--magenta);
  border-right: 2px solid var(--magenta);
  opacity: 0.8;
}

.site-header,
.site-footer {
  padding: 1.35rem;
}

.site-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(90deg, rgba(39, 229, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 60, 166, 0.07), transparent 40%),
    var(--panel-strong);
}

.header-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.brand-lockup {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-strong);
  background: rgba(3, 7, 20, 0.9);
  padding: 0.35rem;
  box-shadow: 0 0 28px rgba(39, 229, 255, 0.18);
}

.eyebrow,
.section-tag,
.meta-label,
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
.claim {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 60, 166, 0.22);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.claim {
  max-width: 44rem;
  color: var(--cyan);
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase;
}

.header-trace {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-trace span {
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(211, 255, 63, 0.22);
  background: rgba(211, 255, 63, 0.06);
}

.lang-switch {
  margin: 0;
  padding: 0.3rem;
  display: inline-flex;
  gap: 0.3rem;
  border: 1px solid rgba(39, 229, 255, 0.22);
  background: rgba(1, 4, 13, 0.75);
}

.lang-switch legend {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.lang-switch label,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  border-bottom: 0;
}

#lang-de:checked ~ .page-shell .lang-switch label[for="lang-de"],
#lang-en:checked ~ .page-shell .lang-switch label[for="lang-en"],
.lang-switch a[aria-current="page"] {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(39, 229, 255, 0.25);
}

main {
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.35rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.9fr) minmax(220px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.hero-schematic {
  min-height: 100%;
  border: 1px solid rgba(255, 60, 166, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 60, 166, 0.08), transparent 22%),
    rgba(255, 255, 255, 0.02);
  padding: 1rem;
}

.hero-schematic img {
  width: 100%;
  height: auto;
}

.hero-meta {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.meta-block {
  border: 1px solid var(--line);
  padding: 0.9rem;
  background:
    linear-gradient(90deg, rgba(39, 229, 255, 0.06), transparent 40%),
    rgba(255, 255, 255, 0.02);
}

.meta-value {
  display: block;
  margin-top: 0.4rem;
  color: var(--text);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.node-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.node-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid rgba(39, 229, 255, 0.22);
  border-left: 4px solid var(--magenta);
  background:
    linear-gradient(90deg, rgba(255, 60, 166, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.02);
}

.node-list a,
.node-title {
  width: fit-content;
  font-size: 1.05rem;
  color: var(--lime);
  border-bottom-color: rgba(211, 255, 63, 0.35);
}

.status-panel h2 {
  color: var(--amber);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
}

label {
  font-size: 0.95rem;
  color: var(--muted);
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid rgba(39, 229, 255, 0.2);
  border-radius: 0;
  background: rgba(1, 4, 13, 0.9);
  color: var(--text);
  font: inherit;
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 60, 166, 0.04);
}

textarea {
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.submit-button {
  background:
    linear-gradient(90deg, rgba(39, 229, 255, 0.18), rgba(255, 60, 166, 0.16)),
    rgba(1, 4, 13, 0.9);
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  border-color: rgba(39, 229, 255, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 60, 166, 0.04),
    0 0 24px rgba(39, 229, 255, 0.14);
}

.submit-button:active {
  transform: translateY(1px);
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

  .hero-schematic {
    order: 3;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .site-footer,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .header-topbar {
    flex-direction: column;
  }

  .brand-lockup {
    align-items: start;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .panel,
  .site-header,
  .site-footer {
    padding: 1rem;
  }
}
