:root {
  --bg0: #050c0b;
  --bg1: #070b12;
  --fg: #f5f7fa;
  --muted: #a2acba;
  --muted2: #7e8897;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #5eead4;
  --accent2: #60a5fa;
  --warn: #fbbf24;
  --danger: #fb7185;
  --maxw: 1120px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow2: 0 10px 30px rgba(0, 0, 0, 0.4);
  --focus: 0 0 0 3px rgba(94, 234, 212, 0.22), 0 0 0 1px rgba(94, 234, 212, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  color: var(--fg);
  background:
    radial-gradient(1200px 760px at 50% 10%, rgba(49, 21, 172, 0.1), transparent 65%),
    radial-gradient(1000px 700px at 50% 55%, rgba(126, 185, 16, 0.08), transparent 66%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  line-height: 1.65;
  padding-top: var(--headerH, 0px);
}

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

button {
  font: inherit;
  color: inherit;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand .t {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand .name {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand .sub {
  font-size: 12.5px;
  color: var(--muted2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navlinks {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navlinks a {
  padding: 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  transition: 0.18s ease;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.lang {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang--dropdown {
  position: relative;
  padding: 6px;
}

.langToggle {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-weight: 850;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}

.langToggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.langToggle:focus-visible {
  box-shadow: var(--focus);
}

.langToggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid var(--muted2);
  border-bottom: 2px solid var(--muted2);
  transform: rotate(45deg);
  opacity: 0.9;
}

.langMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  bottom: auto;
  min-width: 180px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
}

footer #langWrap .langMenu {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
}

.langOption {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}

.langOption:hover {
  background: rgba(255, 255, 255, 0.06);
}

.langOption[aria-selected="true"] {
  background: rgba(94, 234, 212, 0.12);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.18) inset;
}

.langFlag {
  display: inline-flex;
  align-items: center;
}

.flagSvg {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.lang button {
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
  transition: 0.18s ease;
}

.lang button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.lang button[aria-pressed="true"] {
  background: rgba(94, 234, 212, 0.12);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.18) inset;
  color: var(--fg);
}

.primary {
  border: 0;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0.06px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.95), rgba(96, 165, 250, 0.9));
  box-shadow:
    0 14px 30px rgba(94, 234, 212, 0.12),
    0 14px 30px rgba(96, 165, 250, 0.1);
  color: rgba(6, 12, 20, 0.96);
}

.primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.primary:active {
  transform: translateY(0px);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 850;
  padding: 11px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

section {
  padding: 84px 0;
}

.kicker {
  color: var(--muted2);
  font-size: 12.5px;
  letter-spacing: 0.14px;
  font-weight: 700;
  text-transform: uppercase;
}

.h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.35px;
  margin: 14px 0 18px;
  font-weight: 900;
}

.h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -0.12px;
  font-weight: 700;
}

.h3 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02px;
}

.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 72ch;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

strong {
  color: rgba(255, 255, 255, 0.94);
}

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

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

.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(94,234,212,.12), transparent 60%),
    radial-gradient(600px 300px at 80% 30%, rgba(96,165,250,.10), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  background: rgba(94,234,212,.12);
  border: 1px solid rgba(94,234,212,.25);
}

.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

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

.hero-text {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 18px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  opacity: 0.35;
  filter: saturate(.85) contrast(.95);
  transform: translateY(8px);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .hero-media img {
    opacity: 0.28;
  }
}


.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.14);
}

.ctaRow {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.splashWrap {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.splashWrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(96, 165, 250, 0.16), transparent 60%),
    radial-gradient(820px 420px at 90% 60%, rgba(94, 234, 212, 0.12), transparent 62%);
  pointer-events: none;
  opacity: 0.9;
}

.splashInner {
  position: relative;
  padding: 14px;
}

.splashImg {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted2);
  font-size: 13px;
  align-items: center;
}

.caption .chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 850;
}

.caption .chip i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.14);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.sectionHead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 18px;
}

.sectionHead .h2 {
  margin-bottom: 4px;
}

.sectionHead .hint {
  color: var(--muted2);
  font-size: 13px;
  max-width: none;
  width: 100%;
  text-align: left;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.grid2--center {
  align-items: center;
}

.grid2--tech {
  align-items: stretch;
}

.grid2--tech > .panel {
  min-height: 430px;
}

.grid2 > .panel:only-child {
  grid-column: 1 / -1;
}

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

.grid3 > .panel {
  min-height: 320px;
}

.panel {
  --panelPadX: 18px;
  --panelPadY: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 76, 136, 0.11);
  box-shadow: var(--shadow2);
  padding: var(--panelPadY) var(--panelPadX);
  position: relative;
  overflow: hidden;
}

.panel--compact30 {
  --panelPadY: 3px;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.panel--verteilung {
  background-image: none;
  isolation: isolate;
}

.panel--validierung {
  background-image: none;
  isolation: isolate;
}

.panel--pflichtfelder {
  background-image: none;
  isolation: isolate;
}

.panel--ausgabe {
  background-image: none;
  isolation: isolate;
}

.panel--ausgabe::before {
  opacity: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.88) 0%,
      rgba(7, 11, 18, 0.55) 18%,
      rgba(7, 11, 18, 0) 30%
    ),
    radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
}

.panel--ausgabe > * {
  position: relative;
  z-index: 2;
}

.panel--ausgabe::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 1) 10%,
      rgba(7, 11, 18, 0) 30%
    ),
    url("../assets/img/ausgabe.png");
  background-repeat: no-repeat;
  background-position: center calc(100%);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 100%
  );
}

.panel--pflichtfelder::before {
  opacity: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.88) 0%,
      rgba(7, 11, 18, 0.55) 18%,
      rgba(7, 11, 18, 0) 30%
    ),
    radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
}

.panel--pflichtfelder > * {
  position: relative;
  z-index: 2;
}

.panel--pflichtfelder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 0) 30%
    ),
    url("../assets/img/pflichtfelder.png");
  background-repeat: no-repeat;
  background-position: center calc(100% + 30px);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 2%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 2%,
    rgba(0, 0, 0, 1) 100%
  );
}

.panel--validierung::before {
  opacity: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.88) 0%,
      rgba(7, 11, 18, 0.55) 18%,
      rgba(7, 11, 18, 0) 30%
    ),
    radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
}

.panel--validierung > * {
  position: relative;
  z-index: 2;
}

.panel--validierung::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 1) 10%,
      rgba(7, 11, 18, 0) 30%
    ),
    url("../assets/img/validierung.png");
  background-repeat: no-repeat;
  background-position: center calc(100px);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.panel--versionierung {
  background-image: none;
  isolation: isolate;
}

.panel--versionierung::before {
  opacity: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.88) 0%,
      rgba(7, 11, 18, 0.55) 18%,
      rgba(7, 11, 18, 0) 30%
    ),
    radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
}

.panel--versionierung > * {
  position: relative;
  z-index: 2;
}

.panel--versionierung::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 1) 10%,
      rgba(7, 11, 18, 0) 30%
    ),
    url("../assets/img/versionierung.png");
  background-repeat: no-repeat;
  background-position: center calc(110px);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.panel--verteilung::before {
  opacity: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.88) 0%,
      rgba(7, 11, 18, 0.55) 18%,
      rgba(7, 11, 18, 0) 30%
    ),
    radial-gradient(640px 260px at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%);
}

.panel--verteilung > * {
  position: relative;
  z-index: 2;
}

.panel--verteilung::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 1) 0%,
      rgba(7, 11, 18, 1) 10%,
      rgba(7, 11, 18, 0) 30%
    ),
    url("../assets/img/verteilung.png");
  background-repeat: no-repeat;
  background-position: center calc(90px);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.panel--validierung .featureList,
.panel--versionierung .featureList,
.panel--verteilung .featureList {
  margin-top: clamp(120px, 16vw, 190px);
}

.panel > * {
  position: relative;
}

.featureList {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.featureList li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-top: 2px;
  background: color-mix(in srgb, var(--danger) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 38%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

.tick::before,
.tick::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--danger);
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.tick::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.tick::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.tick.tick--ok {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}

.tick.tick--ok::before,
.tick.tick--ok::after {
  background: var(--accent);
}

.tick.tick--ok::before {
  width: 6px;
  transform: translate(-88%, -5%) rotate(45deg);
}

.tick.tick--ok::after {
  width: 11px;
  transform: translate(-34%, -28%) rotate(-45deg);
}

.tick svg {
  width: 12px;
  height: 12px;
  display: none;
}

.callout {
  border-left: 2px solid rgba(94, 234, 212, 0.45);
  padding-left: 14px;
  margin-top: 12px;
}

.diagramWrap {
  display: flex;
  justify-content: center;
}

.diagram {
  width: 100%;
  max-width: 980px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(136, 6, 6, 0.02);
  box-shadow: var(--shadow2);
  padding: 16px;
}

.diagram--workflow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.diagram--workflow .featureList {
  margin-top: clamp(260px, 22vw, 340px);
}



.diagram--workflow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/workflow.png");
  background-repeat: no-repeat;
  background-position: center calc(16px - 185px);
  background-size: 100% auto;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  pointer-events: none;
  z-index: 0;
}

.diagram--workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 18, 0) 0%,
    rgba(7, 11, 18, 1) 85%,
    rgba(7, 11, 18, 0.92) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.diagram--workflow > * {
  position: relative;
  z-index: 2;
}

.diagramTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
}

.panelImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);

  /* Fade all 4 sides to transparent. */
  --imgFadeEdge: 12%;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) var(--imgFadeEdge),
      rgba(0, 0, 0, 1) calc(100% - var(--imgFadeEdge)),
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) var(--imgFadeEdge),
      rgba(0, 0, 0, 1) calc(100% - var(--imgFadeEdge)),
      rgba(0, 0, 0, 0) 100%
    );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) var(--imgFadeEdge),
      rgba(0, 0, 0, 1) calc(100% - var(--imgFadeEdge)),
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) var(--imgFadeEdge),
      rgba(0, 0, 0, 1) calc(100% - var(--imgFadeEdge)),
      rgba(0, 0, 0, 0) 100%
    );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: intersect;
}

/* Fallback: if mask composite isn't supported, use a soft radial fade. */
@supports not (mask-composite: intersect) {
  .panelImage {
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
  }
}

.panelImage--bleedFadeTop {
  width: calc(100% + var(--panelPadX) + var(--panelPadX));
  margin-left: calc(0px - var(--panelPadX));
  margin-right: calc(0px - var(--panelPadX));
  margin-bottom: calc(0px - var(--panelPadY));
  border-radius: 0 0 var(--radius) var(--radius);
  border: 0;
  /* Keep same 4-side fade, but a touch stronger for wide bleed images. */
  --imgFadeEdge: 10%;
}

/* PROBLEM section: content left, smaller graphic right (reduces card height). */
#problem .panel--compact30 {
  --panelPadY: 16px;
}

#problem .problemCard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#problem .problemCardTop {
  min-width: 0;
}

#problem .problemCardBottom {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
  align-items: start;
}

#problem .problemCardMedia {
  align-self: center;
}

#problem .problemCardMedia .panelImage {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 720px) {
  #problem .problemCardBottom {
    grid-template-columns: 1fr;
  }
}

.small {
  font-size: 13px;
  color: var(--muted2);
}

.tooltip {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
  background: rgba(10, 14, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow2);
  max-width: 320px;
}

.tooltip .t {
  font-weight: 900;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.tooltip .d {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.gptList {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.gptGraphic {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  margin: 12px -18px -150px;
  transform: translateY(-170px) scale(1.12);
  transform-origin: center top;
}

#gpts .panel {
  isolation: isolate;
}

#gpts .panel > .h3,
#gpts .panel > .small,
#gpts .gptActions {
  position: relative;
  z-index: 2;
}

#gpts .gptGraphic {
  position: relative;
  z-index: 1;
}

.gptActions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: -300px;
}

.gptActions .linkBtn {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.gptActions .linkBtn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.gptRow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.gptLeft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.gptIcon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(94, 234, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  flex: 0 0 auto;
}

.gptIcon svg {
  width: 20px;
  height: 20px;
  opacity: 0.92;
}

.gptText {
  min-width: 0;
}

.gptName {
  font-weight: 950;
  letter-spacing: -0.2px;
}

.gptDesc {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}

.linkBtn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
  flex: 0 0 auto;
}

.linkBtn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.downloadGraphic {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.35;
  filter: blur(0.5px) saturate(0.9);
  margin: -6px -18px -100px;
  transform: translateY(-100px) scale(1.12);
  transform-origin: center top;
}

.downloadActions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: -180px;
}

.downloadActions .linkBtn {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.downloadActions .linkBtn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.downloadGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.dlItem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.osTag {
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.2px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 auto;
}

.warnBox {
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
  border-radius: 16px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.dangerBox {
  border: 1px solid rgba(251, 113, 133, 0.22);
  background: rgba(251, 113, 133, 0.08);
  border-radius: 16px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.dlActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

footer {
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 18, 0.25);
}

.footGrid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footLinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footLinks a {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
}

.footLinks a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.progressRail {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: transparent;
  z-index: 60;
}

.progressBar {
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.12),
    0 6px 20px rgba(94, 234, 212, 0.1);
}

.modalBack {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px;
}

.modalBack[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  width: min(780px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(8, 12, 22, 0.94));
  box-shadow: var(--shadow);
  padding: 16px;
}

.modalHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.modalTitle {
  font-weight: 950;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.closeBtn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.closeBtn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.modalBody {
  padding: 0 6px 6px;
  color: var(--muted);
  line-height: 1.65;
}

.checkRow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.checkRow input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.modalActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 12px;
}

.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

@media (max-width: 980px) {
  .heroGrid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .splashImg {
    height: 300px;
  }

  .navlinks {
    display: none;
  }

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

  .sectionHead .hint {
    text-align: left;
  }

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

  .panel--validierung .featureList,
  .panel--versionierung .featureList,
  .panel--verteilung .featureList {
    margin-top: clamp(90px, 18vw, 140px);
  }

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

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

  .diagram--workflow {
    min-height: 500px;
  }

  .diagram--workflow .featureList {
    margin-top: clamp(210px, 34vw, 280px);
  }
}

/* extracted from inline styles */
.navActions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.flexCenterGap12 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mt4 {
  margin-top: 4px;
}

.mt10 {
  margin-top: 10px;
}

.mt12 {
  margin-top: 12px;
}

.mt14 {
  margin-top: 14px;
}

.mt18 {
  margin-top: 18px;
}

.spacer10 {
  height: 10px;
}

.fw950 {
  font-weight: 950;
}

.diagramNarrow {
  max-width: 520px;
}

.gptIconAlt1 {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.14), rgba(251, 191, 36, 0.1));
}

.gptIconAlt2 {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(251, 113, 133, 0.1));
}

.footerLogo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.icon18 {
  width: 18px;
  height: 18px;
}
