:root {
  --bg: #090909;
  --surface: #131313;
  --surface-soft: #1b1b1b;
  --text: #f2f2f2;
  --text-soft: #dfdfdf;
  --muted: #bcbcbc;
  --accent: #d7a23f;
  --accent-soft: #ffd389;
  --accent-deep: #cf852c;
  --line: #2a2a2a;
  --max-width: 1160px;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 88% -10%, rgba(215, 162, 63, 0.24), transparent 70%),
    radial-gradient(900px 380px at 8% 10%, rgba(255, 255, 255, 0.06), transparent 80%),
    radial-gradient(800px 600px at 50% 120%, rgba(215, 162, 63, 0.08), transparent 78%),
    var(--bg);
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10000;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  background: #f1c46d;
  color: #1a1102;
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 0.8rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.4px, transparent 0.4px);
  background-size: 3px 3px;
}

.hero,
main,
.footer {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 90vh;
  padding: 1.3rem 0 3rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(215, 162, 63, 0.18), rgba(0, 0, 0, 0) 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.42;
  filter: saturate(0.9) contrast(1.06);
  transform: scale(1.03);
}

.top-nav,
.hero-content {
  position: relative;
  z-index: 2;
}

.top-nav {
  position: sticky;
  top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: nowrap;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-soft);
}

.hero-content {
  padding: 6rem 0 2rem;
  max-width: 980px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .lead,
.hero-content .cta,
.hero-content .quick-facts {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.8s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.08s;
}

.hero-content .lead {
  animation-delay: 0.16s;
}

.hero-content .cta {
  animation-delay: 0.24s;
}

.hero-content .quick-facts {
  animation-delay: 0.32s;
}

.eyebrow {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

h1,
h2,
h3 {
  line-height: 1.14;
  margin-top: 0;
}

h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5.8vw, 4.35rem);
  margin-bottom: 0.8rem;
  max-width: 16ch;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
}

.lead {
  max-width: 760px;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  color: #130d03;
  font-weight: 700;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(207, 133, 44, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(207, 133, 44, 0.45);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.quick-facts article {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.42));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem;
  min-height: 94px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.quick-facts article:hover,
.quick-facts article:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 211, 137, 0.55);
}

.quick-facts .label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-facts .value {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: #efefef;
}

.section {
  padding: 4.6rem 0;
}

.section[id] {
  scroll-margin-top: 6rem;
}

#komponenten {
  scroll-margin-top: 6rem;
}

.section-head h2 {
  margin-bottom: 0.8rem;
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 1.4rem;
  max-width: 760px;
  color: #dcdcdc;
  font-size: 1.03rem;
}

.system-section {
  position: relative;
  padding: 3rem clamp(1rem, 2vw, 1.4rem) 3.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(120% 70% at 12% -10%, rgba(255, 211, 137, 0.12), transparent 58%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.45)),
    #0c0c0e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.system-section::after {
  content: "";
  position: absolute;
  inset: auto -25% -40% auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 162, 63, 0.15), transparent 68%);
  pointer-events: none;
}

.system-section .section-head,
.system-section .section-lead,
.system-section .signal-chain,
.system-section .visual-focus,
.system-section .system-bridge,
.system-section .component-grid,
.system-section .source-note {
  position: relative;
  z-index: 1;
}

.visual-focus {
  margin: 0.35rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 211, 137, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 211, 137, 0.08), rgba(0, 0, 0, 0.36));
}

.visual-focus-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.visual-focus-copy {
  margin: 0 0 0.9rem;
  color: #e3e3e3;
}

.component-grid.visual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.visual-card {
  border-color: rgba(255, 211, 137, 0.25);
}

.visual-card img {
  height: 240px;
}

.system-bridge {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.8fr;
  gap: 1rem;
  align-items: start;
  margin: 1.35rem 0 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(255, 211, 137, 0.3);
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(215, 162, 63, 0.12), rgba(0, 0, 0, 0.35));
}

.system-bridge-eyebrow {
  margin: 0;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.system-bridge-copy {
  margin: 0;
  color: #e4e4e4;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 30vw);
  gap: 0.9rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.2rem 0.1rem 0.6rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 211, 137, 0.45) transparent;
}

.gallery::-webkit-scrollbar {
  height: 0.55rem;
}

.gallery::-webkit-scrollbar-track {
  background: transparent;
}

.gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 211, 137, 0.4);
  border-radius: 999px;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0d0d0d;
  min-height: 0;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal-up 0.65s ease forwards;
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery figure:nth-child(1) { animation-delay: 0.04s; }
.gallery figure:nth-child(2) { animation-delay: 0.08s; }
.gallery figure:nth-child(3) { animation-delay: 0.12s; }
.gallery figure:nth-child(4) { animation-delay: 0.16s; }
.gallery figure:nth-child(5) { animation-delay: 0.2s; }
.gallery figure:nth-child(6) { animation-delay: 0.24s; }
.gallery figure:nth-child(7) { animation-delay: 0.28s; }
.gallery figure:nth-child(8) { animation-delay: 0.32s; }

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.45s ease;
}

.gallery figure:hover img,
.gallery-trigger:hover img {
  transform: scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1200px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(36, 36, 36, 0.92);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.45rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: 0 auto;
  text-align: center;
  color: #f3f3f3;
  font-size: 0.95rem;
  padding: 0 4rem;
}

.signal-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.45rem;
}

.flow-step {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.26));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.flow-step:hover {
  border-color: rgba(255, 211, 137, 0.4);
  transform: translateY(-2px);
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid var(--accent-soft);
  border-right: 1px solid var(--accent-soft);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.65;
}

.flow-step:last-child::after {
  display: none;
}

.step-id {
  margin: 0 0 0.2rem;
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
}

.flow-step h3 {
  font-family: "Syne", sans-serif;
  margin-bottom: 0.35rem;
}

.flow-step p {
  margin: 0;
  color: #d8d8d8;
  font-size: 0.96rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.22));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color 0.25s ease;
}

.card:hover {
  border-color: rgba(255, 211, 137, 0.32);
}

.card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.card-copy {
  margin: 0;
  color: #dddddd;
  line-height: 1.55;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.component-grid.tech-grid,
.component-grid.speaker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.component-grid.tech-grid {
  margin-top: 0.15rem;
}

.component-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.24));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.component-card:hover {
  border-color: rgba(255, 211, 137, 0.35);
  transform: translateY(-2px);
}

.component-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 0.75rem;
  background: linear-gradient(120deg, #151515, #0f0f0f);
}

.component-visual {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 220px;
  padding: 1rem;
  background:
    radial-gradient(500px 150px at 10% 0%, rgba(215, 162, 63, 0.2), transparent 80%),
    linear-gradient(140deg, #171717, #0c0c0c);
}

.component-visual span {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #f0e2c0;
}

.component-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.component-tag {
  margin: 0;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.component-body h3 {
  margin: 0.25rem 0 0.65rem;
  font-family: "Syne", sans-serif;
}

.component-role {
  margin: 0 0 0.5rem;
  color: #f0e0bb;
  font-size: 0.87rem;
  line-height: 1.45;
}

.component-copy {
  margin: 0 0 0.8rem;
  color: #dddddd;
  line-height: 1.55;
}

.source-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.calibration {
  background: linear-gradient(95deg, rgba(215, 162, 63, 0.2), rgba(19, 19, 19, 0.95));
  border: 1px solid rgba(215, 162, 63, 0.45);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.calibration h3 {
  font-family: "Syne", sans-serif;
  margin-bottom: 0.5rem;
}

.calibration p {
  margin: 0;
  color: #f0ede7;
}

.calibration a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  color: var(--muted);
}

.footer-content {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  margin: 0;
  color: #e6e6e6;
  font-family: "Syne", sans-serif;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #d4d4d4;
  font-size: 0.94rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-soft);
}

.footer-note {
  margin: 0;
  font-size: 0.85rem;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .signal-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-bridge {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .component-grid.tech-grid,
  .component-grid.speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.3rem));
  }

  .top-nav {
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }

  .hero-content {
    padding-top: 3.2rem;
  }

  .system-section {
    padding: 2.15rem 0.9rem 2.35rem;
    border-radius: var(--radius);
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    white-space: nowrap;
    gap: 1rem;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .signal-chain {
    grid-template-columns: 1fr;
  }

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

  .lightbox {
    padding: 0.8rem;
  }

  .lightbox-nav {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }

  .lightbox-caption {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .gallery {
    grid-auto-columns: minmax(78vw, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.45rem;
  }

  .footer-links {
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

