@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #02050a;
  --surface: #07101b;
  --text: #f7f9fc;
  --muted: #b8c0cc;
  --blue: #1677ff;
  --blue-deep: #0753d5;
  --cyan: #35dff2;
  --line: rgba(174, 203, 230, 0.2);
  --header-height: 104px;
  --page-gutter: 4vw;
  --hero-gutter: min(12vw, 180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid rgba(136, 182, 222, 0.11);
  background: rgba(2, 5, 10, 0.88);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 84px;
  background: rgba(2, 5, 10, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 17px;
  width: max-content;
  transition: opacity 200ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
}

.brand-mark {
  position: relative;
  width: 49px;
  height: 49px;
  overflow: hidden;
  border: 3px solid #e9f6ff;
  border-radius: 50%;
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 10px rgba(51, 196, 255, 0.22));
}

.brand-mark span {
  position: absolute;
  width: 6px;
  height: 62px;
  top: -9px;
  background: #e9f6ff;
  transform: rotate(-43deg);
}

.brand-mark span:nth-child(1) { left: 8px; }
.brand-mark span:nth-child(2) { left: 20px; }
.brand-mark span:nth-child(3) { left: 32px; }

.brand-copy {
  display: grid;
  gap: 3px;
}

/* Normale Schreibweise statt gesperrter Versalien: bei einem echten Namen
   liest sich Groß-/Kleinschreibung deutlich besser. */
.brand-copy strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
}

.brand-copy small {
  color: #58c7ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  white-space: nowrap;
}

.site-nav a,
.site-nav button {
  position: relative;
  color: rgba(247, 249, 252, 0.83);
  font-size: 16px;
  transition: color 180ms ease;
}

.site-nav a::after,
.site-nav button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav button:hover::after,
.site-nav button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 5px 6px 5px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 500ms cubic-bezier(0.32, 0.72, 0, 1), background-color 500ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 500ms cubic-bezier(0.32, 0.72, 0, 1), transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.dialog-close:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color 500ms cubic-bezier(0.32, 0.72, 0, 1), border-color 500ms cubic-bezier(0.32, 0.72, 0, 1), color 500ms cubic-bezier(0.32, 0.72, 0, 1), transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.button:hover .arrow {
  color: #fff;
  transform: translate(2px, -2px) scale(1.04);
}

.button-primary {
  min-width: 188px;
  border-color: rgba(118, 179, 255, 0.3);
  background: rgba(26, 108, 226, 0.94);
  box-shadow: 0 8px 22px rgba(8, 77, 174, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button-primary:hover {
  border-color: rgba(153, 203, 255, 0.5);
  background: rgba(34, 120, 238, 0.98);
  box-shadow: 0 10px 26px rgba(8, 79, 181, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-secondary,
.button-outline {
  border-color: rgba(197, 219, 239, 0.22);
  background: rgba(4, 10, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: rgba(102, 167, 245, 0.56);
  background: rgba(8, 22, 37, 0.9);
}

.button-secondary .arrow,
.button-outline .arrow {
  background: rgba(74, 141, 235, 0.12);
  border-color: rgba(117, 173, 246, 0.18);
}

.header-cta {
  justify-self: end;
  min-width: 156px;
  min-height: 48px;
  padding: 4px 5px 4px 17px;
  font-size: 13px;
}

.header-cta .arrow {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero-media,
.hero-shade,
.ambient-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: clamp(110px, 8vw, 180px);
  background: linear-gradient(90deg, #02050a 0%, rgba(2, 5, 10, 0.98) 58%, transparent 100%);
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(1, 4, 9, 0.97) 0%, rgba(1, 4, 9, 0.82) 32%, rgba(1, 4, 9, 0.18) 61%, rgba(1, 4, 9, 0.06) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.7) 0%, transparent 35%),
    linear-gradient(180deg, rgba(1, 4, 9, 0.42) 0%, transparent 28%);
}

.ambient-grid {
  z-index: -2;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(60, 180, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 180, 255, 0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, black 40%, transparent 83%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding: calc(var(--header-height) + 10vh) var(--hero-gutter) 7vh;
}

.hero-copy {
  width: min(680px, 48vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 21px;
  margin: 0 0 28px;
  color: #3fceef;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #effcff, var(--blue));
  box-shadow: 0 0 14px rgba(35, 126, 255, 0.75);
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 76px;
  font-weight: 680;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 em {
  color: #2688ff;
  font-style: normal;
  font-weight: 680;
  text-shadow: 0 0 30px rgba(21, 111, 246, 0.19);
}

.hero-lead {
  display: grid;
  gap: 5px;
  max-width: 580px;
  margin: 34px 0 0;
  color: #e1e6ed;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-lead span {
  color: inherit;
  font: inherit;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 37px;
}

/* Ohne Pfeil-Kreis: Text mittig, symmetrische Polsterung. */
.hero-actions .button-secondary {
  min-width: 178px;
  justify-content: center;
  padding: 5px 26px;
}

.feature-strip {
  display: flex;
  align-items: stretch;
  width: min(680px, 50vw);
}

.feature-item {
  display: grid;
  grid-template-columns: 58px auto;
  align-items: center;
  gap: 17px;
  min-width: 0;
  margin: 0;
  padding: 0 27px;
}

.feature-item:first-child {
  padding-left: 0;
}

.feature-item + .feature-item {
  border-left: 1px solid rgba(185, 207, 226, 0.28);
}

.feature-item p {
  margin: 0;
  color: #d7dde5;
  font-size: 15px;
  line-height: 1.55;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  clip-path: polygon(23% 0, 77% 0, 100% 23%, 100% 77%, 77% 100%, 23% 100%, 0 77%, 0 23%);
  color: #7eeeff;
  font-size: 19px;
  filter: drop-shadow(0 0 9px rgba(44, 220, 243, 0.18));
}

.screen-icon i {
  width: 22px;
  height: 16px;
  border: 1px solid currentColor;
}

.screen-icon i::after {
  content: "";
  display: block;
  width: 10px;
  height: 4px;
  margin: 17px auto 0;
  border-top: 1px solid currentColor;
}

.launch-icon {
  font-size: 27px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 800ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.feature-strip[data-reveal] {
  animation-delay: 220ms;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-anchor {
  position: absolute;
  bottom: 0;
}

.hero--centered .hero-shade {
  background:
    linear-gradient(90deg, transparent 28%, rgba(1, 4, 9, 0.94) 40%, rgba(1, 4, 9, 0.98) 63%, rgba(1, 4, 9, 0.42) 67%, transparent 71%),
    radial-gradient(circle at 16% 53%, rgba(37, 103, 169, 0.07) 0%, transparent 25%),
    linear-gradient(90deg, rgba(1, 4, 9, 0.29) 0%, rgba(1, 4, 9, 0.36) 24%, rgba(1, 4, 9, 0.57) 48%, rgba(1, 4, 9, 0.24) 78%, rgba(1, 4, 9, 0.16) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.64) 0%, transparent 47%),
    linear-gradient(180deg, rgba(1, 4, 9, 0.5) 0%, transparent 35%);
}

.hero--centered .ambient-grid {
  opacity: 0.07;
}

/* Der Hero-Block bleibt in jeder Ansicht an derselben optischen Position. */
.hero--centered .hero-inner {
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  height: 100svh;
  box-sizing: border-box;
  padding: var(--header-height) 24px 0;
}

.hero--centered .hero-copy {
  width: min(900px, calc(100vw - 48px));
  text-align: center;
  position: relative;
  top: -60px;
}

/* Übernimmt die Typografie der Überschrift aus der Vorteile-Sektion:
   ein durchlaufender Satz, ein Wort im Akzentblau. */
/* Lesbarkeit: reines Weiß, leicht geöffnete Buchstabenabstände und eine
   etwas größere Schrift — keine Effekte, die das Auge ablenken. */
.hero--centered h1 {
  max-width: 900px;
  margin-inline: auto;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.85rem, calc(1rem + 2.45vw), 3.7rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.005em;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.85);
}

/* Zweizeiler: Umbruch nach "Entwicklung". */
.hero--centered h1 span {
  display: block;
}

.hero--centered h1 em {
  color: #4a8df6;
  -webkit-text-fill-color: #4a8df6;
  font-style: normal;
  font-weight: 600;
}

.hero--centered h1 em .hero-word-light {
  display: inline;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero--centered .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

/* Liquid Glass: die Scheibe selbst ist durchscheinend und mattiert das
   Bild dahinter. Der Lichtrand oben und der Schimmer darüber erzeugen
   den Eindruck von echtem Glas statt einer dunklen Fläche. */
.contact-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  overflow: visible;
  width: min(560px, calc(100vw - 32px));
  padding: 44px;
  border: 1px solid rgba(182, 211, 235, 0.24);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(10, 20, 34, 0.72) 0%, rgba(5, 11, 20, 0.82) 48%, rgba(8, 18, 34, 0.86) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(140%) brightness(65%);
  backdrop-filter: blur(30px) saturate(140%) brightness(65%);
  color: var(--text);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.7),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.3),
    inset 1px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Lichtreflex, der schräg über die Scheibe läuft. */
.contact-dialog::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(115% 65% at 10% -12%, rgba(255, 255, 255, 0.1) 0%, transparent 58%),
    radial-gradient(90% 60% at 100% 112%, rgba(90, 150, 230, 0.1) 0%, transparent 62%);
  pointer-events: none;
}

.contact-dialog[open] {
  animation: dialog-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 701px) {
  .contact-dialog[open] {
    animation: none;
  }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
}

/* Nur leicht abdunkeln: das Bild dahinter muss sichtbar bleiben, sonst
   gibt es nichts, was das Glas brechen kann. */
.contact-dialog::backdrop {
  background: rgba(0, 3, 8, 0.68);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* Sitzt diagonal außerhalb der abgerundeten Ecke — schlicht ohne Kreis. */
.dialog-close {
  position: absolute;
  top: -40px;
  right: -40px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(226, 235, 245, 0.72);
  font-size: 27px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: color 200ms ease;
}

.dialog-close:hover {
  color: #fff;
}

/* Fokus ohne Rahmen oder Kreis: das Zeichen selbst leuchtet auf. */
.dialog-close:focus-visible {
  outline: none;
  color: #fff;
  text-shadow: 0 0 10px rgba(150, 200, 255, 0.9);
}

/* Auf schmalen Bildschirmen fehlt seitlich der Platz: dort bleibt das X
   rechtsbündig über der Karte. */
@media (max-width: 680px) {
  .dialog-close {
    top: -40px;
    right: 0;
  }
}

.dialog-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-dialog h2 {
  max-width: 430px;
  margin: 0 0 31px;
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: 0;
}

/* Zwischenfenster: gleichwertige Auswahl der Kontaktwege im Glas-Stil. */
.choice-options {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.choice {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(120, 170, 255, 0.28);
  border-radius: 16px;
  background: rgba(8, 19, 34, 0.72);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(45, 125, 235, 0.06);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.choice:hover {
  border-color: rgba(120, 170, 255, 0.42);
  background: rgba(10, 24, 44, 0.55);
  transform: translateY(-2px);
}

.choice:focus-visible {
  outline: none;
  border-color: rgba(120, 170, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 4px rgba(70, 130, 240, 0.18);
}

.choice__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(80, 140, 235, 0.2);
  color: #9ec6ff;
}

.choice__icon svg {
  width: 22px;
  height: 22px;
}

.choice__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.choice__body strong {
  font-size: 16px;
  font-weight: 600;
  color: #f2f7ff;
}

.choice__body small {
  color: #a9b6c6;
  font-size: 13px;
  line-height: 1.4;
}

.choice__arrow {
  color: rgba(190, 215, 245, 0.62);
  font-size: 18px;
  transition: transform 220ms ease, color 220ms ease;
}

.choice:hover .choice__arrow {
  color: #fff;
  transform: translateX(3px);
}

/* Telefon-Fenster */
.phone-note {
  margin: 18px 0 26px;
  color: #a9b6c6;
  font-size: 14px;
}

.phone-number {
  display: inline-block;
  color: #fff;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 200ms ease;
}

.phone-number:hover {
  color: #8fbcff;
}

.phone-call {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
  min-width: 220px;
  padding: 8px 10px 8px 24px;
  font-size: 16px;
  font-weight: 600;
  border-color: rgba(120, 170, 255, 0.28);
  background: rgba(8, 19, 34, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(45, 125, 235, 0.06);
}

.phone-call:hover {
  border-color: rgba(120, 170, 255, 0.42);
  background: rgba(10, 24, 44, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px rgba(45, 125, 235, 0.1);
}

.phone-call .phone-call__icon {
  border-color: rgba(117, 173, 246, 0.18);
  background: rgba(74, 141, 235, 0.12);
  color: #9ec6ff;
}

.phone-call__icon svg {
  width: 19px;
  height: 19px;
}

.phone-hours {
  margin: 18px 0 0;
  color: #98a6b8;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #c8d2dd;
  font-size: 14px;
}

/* Die Felder sind kleine Glasflächen auf der großen Scheibe. */
input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 16px;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

input:hover,
textarea:hover {
  background: rgba(0, 0, 0, 0.38);
}

/* Fokus: das Glas hellt auf und bekommt einen weichen blauen Ring. */
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(120, 170, 255, 0.6);
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 4px rgba(70, 130, 240, 0.16);
}

/* Ohne Pfeil-Kreis: Text mittig, gleichmäßige Polsterung. */
.form-submit {
  width: 100%;
  margin-top: 5px;
  justify-content: center;
  min-height: 54px;
  padding: 5px 24px;
  border-radius: 14px;
  font-size: 15px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #80e8f7;
  font-size: 14px;
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 36px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 25px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    letter-spacing: 3px;
  }

  h1 {
    font-size: 66px;
  }

  .hero-copy,
  .feature-strip {
    width: 55vw;
  }

  .feature-item {
    grid-template-columns: 48px auto;
    gap: 12px;
    padding-inline: 18px;
  }

  .feature-icon {
    width: 48px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 78px;
    --page-gutter: 25px;
    --hero-gutter: 40px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .brand {
    gap: 11px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }

  .brand-mark span {
    width: 4px;
    height: 48px;
  }

  .brand-mark span:nth-child(1) { left: 7px; }
  .brand-mark span:nth-child(2) { left: 16px; }
  .brand-mark span:nth-child(3) { left: 25px; }

  .brand-copy strong {
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  .brand-copy small {
    font-size: 8px;
    letter-spacing: 2.5px;
  }

  .menu-toggle {
    position: relative;
    z-index: 24;
    display: grid;
    place-content: center;
    justify-self: end;
    gap: 7px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #eaf5ff;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px var(--page-gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 5, 10, 0.98);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
  }

  .site-nav.menu-animated {
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(164, 194, 220, 0.12);
    font-size: 16px;
  }

  .site-nav a::after,
  .header-cta {
    display: none;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 4, 9, 0.98) 0%, rgba(1, 4, 9, 0.79) 52%, rgba(1, 4, 9, 0.34) 100%),
      linear-gradient(0deg, rgba(1, 4, 9, 0.88) 0%, transparent 50%);
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 9vh);
    padding-bottom: 4vh;
  }

  .hero-copy,
  .feature-strip {
    width: min(590px, 76vw);
  }

  h1 {
    font-size: 60px;
  }
}

/* Der zentrierte Hero nutzt zwischen Tablet und kleiner Desktopbreite
   dieselbe optische Mitte unterhalb der fixierten Navigation. */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero--centered .hero-inner {
    padding-inline: 24px;
  }

  .hero--centered .hero-copy {
    width: min(900px, calc(100vw - 48px));
    position: relative;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 20px;
    --hero-gutter: 20px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media img {
    object-position: 66% center;
    opacity: 0.72;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 4, 9, 0.98) 0%, rgba(1, 4, 9, 0.76) 70%, rgba(1, 4, 9, 0.5) 100%),
      linear-gradient(0deg, rgba(1, 4, 9, 0.96) 0%, rgba(1, 4, 9, 0.45) 60%, rgba(1, 4, 9, 0.35) 100%);
  }

  .ambient-grid {
    opacity: 0.07;
  }

  .hero-inner {
    min-height: 820px;
    justify-content: center;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 96px;
  }

  .hero--centered {
    min-height: 100svh;
  }

  .hero--centered .hero-media img {
    opacity: 0.58;
    object-position: 68% center;
  }

  .hero--centered .hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 4, 9, 0.72), rgba(1, 4, 9, 0.47)),
      linear-gradient(0deg, rgba(1, 4, 9, 0.72), rgba(1, 4, 9, 0.27));
  }

  .hero--centered .hero-inner {
    min-height: 100svh;
    height: 100svh;
    box-sizing: border-box;
    padding: var(--header-height) 20px 0;
  }

  .hero--centered .hero-copy {
    width: 100%;
    position: relative;
    top: -60px;
  }

  .hero--centered .hero-actions {
    margin-top: 24px;
  }

  .hero-copy,
  .feature-strip {
    width: 100%;
  }

  .eyebrow {
    gap: 12px;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .eyebrow span {
    width: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.06;
  }

  .hero-lead {
    margin-top: 24px;
    gap: 5px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .button,
  .hero-actions .button-secondary {
    min-width: 0;
    min-height: 54px;
    gap: 9px;
    padding: 4px 5px 4px 15px;
    font-size: 13px;
  }

  .hero-actions .button-secondary {
    padding: 4px 15px;
  }

  .hero--centered .hero-actions {
    grid-template-columns: minmax(0, 188px) minmax(0, 200px);
    justify-content: center;
  }

  .arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 14px;
  }

  .feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
  }

  .feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 11px;
  }

  .feature-item:first-child {
    padding-left: 0;
  }

  .feature-item:last-child {
    padding-right: 0;
  }

  .feature-icon {
    width: 43px;
  }

  .feature-item p {
    font-size: 11px;
    line-height: 1.42;
  }

  .contact-dialog {
    padding: 34px 22px 24px;
  }

  .contact-dialog h2 {
    font-size: 28px;
  }
}

@media (max-width: 360px) {
  .brand-copy strong {
    font-size: 15px;
  }

  h1 {
    font-size: 37px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
  }

  .hero-inner {
    min-height: 900px;
  }
}

@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;
  }
}


/* ============================================================
   Sektion: Ihre Vorteile
   ============================================================ */

/* Der Kontaktpunkt in der Navigation ist ein Button, soll aber
   aussehen wie die Links daneben. */
.site-nav button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.section {
  position: relative;
  padding: clamp(96px, 12vw, 168px) var(--page-gutter);
}

.benefits-section {
  overflow: hidden;
}

/* Sprungziel: die Überschrift landet immer knapp unter dem Kopfbereich —
   unabhängig davon, wie groß die Polsterung der Sektion gerade ist.
   Die Textbox bringt oben selbst noch Luft mit, deshalb der kleine Wert. */
.section-head[id] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.section-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(56px, 6vw, 84px);
  text-align: center;
}

.section-head#vorteile {
  max-width: 1080px;
  margin-bottom: clamp(76px, 5.5vw, 88px);
}

.section-head__kicker {
  margin: 0 0 18px;
  color: rgba(143, 218, 244, 0.88);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-head .eyebrow {
  justify-content: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section h2 em {
  color: #4a8df6;
  font-style: normal;
  filter: drop-shadow(0 8px 24px rgba(14, 91, 205, 0.28));
}

#vorteile-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.025em;
}

@media (min-width: 1050px) {
  #vorteile-title {
    white-space: nowrap;
  }
}

/* --- 3D-Kartenkarussell ---
   Eine Karte steht scharf im Vordergrund. Die übrigen Karten bilden zwei
   echte Tiefenebenen: kleiner, dunkler und zunehmend unscharf. */

.benefit-deck {
  position: relative;
  isolation: isolate;
  min-height: 545px;
}

.benefit-deck__stage,
.benefit-deck__navigation,
.benefit-deck::before {
  transition: opacity 240ms ease;
}

.benefit-deck.is-detail-open .benefit-deck__stage,
.benefit-deck.is-detail-open .benefit-deck__navigation,
.benefit-deck.is-detail-open::before {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .benefit-deck__stage,
  .benefit-deck__navigation,
  .benefit-deck::before {
    transition: none;
  }
}

.benefit-deck::before {
  content: "";
  position: absolute;
  inset: -10% -6% 8%;
  z-index: -2;
  background:
    linear-gradient(rgba(76, 132, 190, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 132, 190, 0.055) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 62%, rgba(31, 115, 220, 0.14), transparent 54%);
  background-size: 84px 84px, 84px 84px, auto;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
  pointer-events: none;
}

.benefit-deck__stage {
  position: relative;
  min-height: 500px;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  touch-action: pan-y;
}

.benefit-deck__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: min(86%, 920px);
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 136, 229, 0.18), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.benefit-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  isolation: isolate;
  display: flex;
  width: min(460px, 42vw);
  min-height: 440px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(40px, 3.6vw, 52px) clamp(34px, 3.8vw, 54px) 34px;
  border: 1px solid transparent;
  border-radius: 22px;
  text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E") padding-box,
    linear-gradient(164deg, rgba(28, 62, 105, 0.82), rgba(7, 18, 33, 0.95) 58%, rgba(3, 9, 18, 0.98)) padding-box,
    linear-gradient(145deg, rgba(202, 235, 255, 0.8), rgba(77, 153, 238, 0.16) 44%, rgba(53, 223, 242, 0.72)) border-box;
  background-size: 160px 160px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(218, 241, 255, 0.2),
    0 42px 100px rgba(0, 0, 0, 0.68),
    0 0 80px rgba(29, 108, 218, 0.14);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, filter, opacity;
  transition:
    transform 680ms cubic-bezier(0.22, 0.8, 0.2, 1),
    filter 680ms cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 680ms ease,
    box-shadow 420ms ease;
}

.js .benefit-card {
  display: grid;
}

.benefit-card__front,
.benefit-card__details {
  grid-area: 1 / 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: none;
}

.benefit-card__front {
  visibility: visible;
}

.benefit-card__details {
  align-items: flex-start;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.benefit-card.is-expanded .benefit-card__front {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.benefit-card.is-expanded .benefit-card__details {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.benefit-card .benefit-card__details h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.benefit-card__details .benefit__detail {
  margin: 20px 0 0;
  color: #bdcbd9;
  font-size: 16px;
  line-height: 1.75;
}

.benefit__back {
  margin-top: 22px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  color: #8fe9f5;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.benefit__back:hover { color: #fff; }
.benefit__back:focus-visible { outline: 1px solid #8fe9f5; outline-offset: 5px; }

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.78;
  background: radial-gradient(
    circle 360px at var(--mx, 50%) var(--my, 0%),
    rgba(91, 169, 255, 0.24),
    rgba(53, 223, 242, 0.06) 38%,
    transparent 72%
  );
  transition: opacity 400ms ease;
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 34px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(90, 213, 245, 0.84);
  border-left: 1px solid rgba(90, 213, 245, 0.84);
}

.benefit-card[data-slot="0"] {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) translateZ(120px) scale(1);
}

.benefit-card[data-slot="-1"] {
  z-index: 3;
  opacity: 0.42;
  filter: blur(5px) brightness(0.64) saturate(0.76);
  cursor: pointer;
  transform: translateX(calc(-50% - clamp(240px, 25vw, 360px))) translateY(54px) translateZ(-230px) rotateY(12deg) scale(0.7);
}

.benefit-card[data-slot="1"] {
  z-index: 3;
  opacity: 0.42;
  filter: blur(5px) brightness(0.64) saturate(0.76);
  cursor: pointer;
  transform: translateX(calc(-50% + clamp(240px, 25vw, 360px))) translateY(54px) translateZ(-230px) rotateY(-12deg) scale(0.7);
}

.benefit-card[data-slot="-2"] {
  z-index: 2;
  opacity: 0.2;
  filter: blur(10px) brightness(0.48) saturate(0.62);
  cursor: pointer;
  transform: translateX(calc(-50% - clamp(390px, 39vw, 550px))) translateY(90px) translateZ(-420px) rotateY(18deg) scale(0.56);
}

.benefit-card[data-slot="2"] {
  z-index: 2;
  opacity: 0.2;
  filter: blur(10px) brightness(0.48) saturate(0.62);
  cursor: pointer;
  transform: translateX(calc(-50% + clamp(390px, 39vw, 550px))) translateY(90px) translateZ(-420px) rotateY(-18deg) scale(0.56);
}

.benefit-card.is-active:hover {
  box-shadow:
    inset 0 1px 0 rgba(235, 248, 255, 0.28),
    0 50px 118px rgba(0, 0, 0, 0.72),
    0 0 96px rgba(38, 126, 235, 0.2);
}

.benefit__kicker {
  margin: 0 0 24px;
  color: rgba(143, 218, 244, 0.96);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.benefit-card h3 {
  max-width: 100%;
  margin: 0;
  color: rgba(244, 248, 252, 0.98);
  font-size: clamp(1.75rem, 2.1vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35);
}

.benefit-card h3 span {
  display: block;
}

.benefit-card h3 span + span {
  margin-top: 0.08em;
}

.benefit-card__divider {
  display: block;
  width: 54px;
  height: 1px;
  margin: 32px auto 25px;
  background: linear-gradient(90deg, transparent, #35dff2 22%, #35dff2 78%, transparent);
  box-shadow: 0 0 16px rgba(53, 223, 242, 0.38);
}

.benefit__teaser {
  max-width: 32ch;
  min-height: 3.5em;
  margin: 0;
  color: #d0dbe6;
  font-size: 17px;
  line-height: 1.72;
  text-wrap: balance;
  transition: opacity 340ms ease, transform 500ms ease;
}

.benefit__more {
  display: inline-flex;
  min-width: 220px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 25px;
  padding: 13px 24px;
  border: 1px solid rgba(53, 223, 242, 0.86);
  border-radius: 15px;
  color: #8fe9f5;
  background: rgba(3, 13, 25, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 240ms ease, background-color 240ms ease, box-shadow 240ms ease, transform 240ms ease, opacity 340ms ease;
}

.benefit__more:hover,
.benefit__more:focus-visible {
  color: #ffffff;
  background: rgba(24, 104, 188, 0.34);
  box-shadow: 0 0 28px rgba(53, 223, 242, 0.13);
  transform: translateY(-2px);
}

.benefit-card:not(.is-active) .benefit__teaser,
.benefit-card:not(.is-active) .benefit__more,
.benefit-card:not(.is-active) .benefit-card__divider {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.benefit-card:not(.is-active) h3 {
  font-size: clamp(1.5rem, 1.8vw, 1.75rem);
}

@media (min-width: 701px) {
  .benefit-card--lead h3 {
    font-size: clamp(1.72rem, 2vw, 2.08rem);
  }

  .benefit-card--lead h3 span {
    white-space: nowrap;
  }
}

.benefit-deck__navigation {
  position: absolute;
  top: 212px;
  bottom: auto;
  left: 50%;
  z-index: 8;
  display: flex;
  width: min(1320px, calc(100vw - 40px));
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateX(-50%);
}

.benefit-deck__arrow {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(129, 185, 230, 0.38);
  border-radius: 50%;
  color: rgba(235, 247, 255, 0.94);
  background: rgba(5, 14, 27, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 35px rgba(0, 0, 0, 0.32);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.benefit-deck__arrow:hover,
.benefit-deck__arrow:focus-visible {
  border-color: rgba(53, 223, 242, 0.86);
  background: rgba(18, 69, 125, 0.72);
  box-shadow: 0 0 28px rgba(53, 223, 242, 0.15);
  transform: translateY(-2px);
}

.benefit-deck__counter {
  position: absolute;
  top: 278px;
  left: 50%;
  display: flex;
  min-width: 76px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: rgba(126, 154, 181, 0.78);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.benefit-deck__counter [data-benefit-current] {
  color: #a9eaf4;
}

/* Detailfenster: der lange Text erscheint erst nach bewusster Auswahl. */
.benefit-dialog {
  width: 100%;
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 72px 88px 168px;
  border: 0;
  overflow: visible;
  color: inherit;
  background: transparent;
}

.benefit-dialog::backdrop {
  background: rgba(2, 7, 14, 0.1);
  backdrop-filter: blur(10px) saturate(0.92);
}

.benefit-dialog__panel {
  position: relative;
  width: min(680px, calc(100vw - 176px));
  margin: auto;
  padding: clamp(46px, 4.5vw, 54px) clamp(38px, 5vw, 52px) clamp(50px, 4.5vw, 58px);
  border: 1px solid rgba(160, 190, 216, 0.2);
  border-radius: 22px;
  overflow: visible;
  text-align: left;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 0% 0%, rgba(45, 99, 169, 0.1), transparent 38%),
    radial-gradient(ellipse at 100% 100%, rgba(25, 129, 153, 0.065), transparent 32%),
    linear-gradient(155deg, #0c1520, #080f18 55%, #09121c);
  background-size: 160px 160px, auto, auto, auto;
  -webkit-backdrop-filter: blur(30px) saturate(110%);
  backdrop-filter: blur(30px) saturate(110%);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.58),
    -18px -18px 70px rgba(43, 90, 164, 0.055),
    18px 22px 64px rgba(29, 127, 150, 0.04),
    inset 0 1px 0 rgba(160, 207, 239, 0.06),
    inset 1px 0 0 rgba(255, 255, 255, 0.07),
    inset -1px 0 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.benefit-dialog__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(150, 193, 243, 0.48), rgba(113, 164, 218, 0.08) 32%, transparent 52%, rgba(79, 185, 204, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.benefit-dialog[open] .benefit-dialog__panel {
  animation: benefit-dialog-in 380ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.benefit-dialog__close {
  position: absolute;
  top: -40px;
  right: -40px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(226, 235, 245, 0.72);
  background: transparent;
  font: inherit;
  font-size: 27px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: color 200ms ease;
}

.benefit-dialog__close:hover {
  color: #ffffff;
}

.benefit-dialog__close:focus-visible {
  color: #ffffff;
  outline: 0;
  text-shadow: 0 0 10px rgba(150, 200, 255, 0.9);
}

.benefit-dialog__kicker {
  margin: 0 0 12px;
  color: rgba(104, 212, 231, 0.88);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.benefit-dialog h3 {
  max-width: 28ch;
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.benefit-dialog__divider {
  display: none;
}

.benefit-dialog__text {
  max-width: 58ch;
  margin: 24px 0 0;
  color: rgba(181, 194, 207, 0.92);
  font-size: clamp(1.02rem, 1.15vw, 1.08rem);
  line-height: 1.82;
  text-wrap: pretty;
}

@keyframes benefit-dialog-in {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

html:not(.js) .benefit-deck {
  min-height: auto;
}

html:not(.js) .benefit-deck__stage {
  display: grid;
  min-height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html:not(.js) .benefit-card {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  min-height: 420px;
  opacity: 1;
  filter: none;
  transform: none;
}

html:not(.js) .benefit-card:not(.is-active) .benefit__teaser,
html:not(.js) .benefit-card:not(.is-active) .benefit__more,
html:not(.js) .benefit-card:not(.is-active) .benefit-card__divider {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

html:not(.js) .benefit-deck__navigation {
  display: none;
}

/* Einblenden beim Scrollen — nur wenn JS läuft, sonst bleibt alles sichtbar. */
.js [data-reveal-scroll] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.js [data-reveal-scroll].is-revealed {
  opacity: 1;
  transform: none;
}

/* Das große Kartenkarussell kommt bewusster und weicher ins Bild als
   die übrigen Inhalte. Die Animation bleibt auf transform/opacity und
   damit auch auf mobilen Geräten flüssig. */
.js [data-reveal-scroll][data-reveal-late] {
  opacity: 0;
  transform: translateY(64px) scale(0.985);
  transform-origin: 50% 18%;
  will-change: transform, opacity;
  transition:
    opacity 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal-scroll][data-reveal-late].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .benefit-deck {
    min-height: 560px;
  }

  .benefit-deck__stage {
    min-height: 510px;
  }

  .benefit-card {
    width: min(440px, 58vw);
    min-height: 450px;
  }

  .benefit-card[data-slot="-1"] {
    transform: translateX(calc(-50% - 31vw)) translateY(56px) translateZ(-230px) rotateY(12deg) scale(0.68);
  }

  .benefit-card[data-slot="1"] {
    transform: translateX(calc(-50% + 31vw)) translateY(56px) translateZ(-230px) rotateY(-12deg) scale(0.68);
  }

  .benefit-card[data-slot="-2"] {
    transform: translateX(calc(-50% - 48vw)) translateY(88px) translateZ(-420px) rotateY(18deg) scale(0.52);
  }

  .benefit-card[data-slot="2"] {
    transform: translateX(calc(-50% + 48vw)) translateY(88px) translateZ(-420px) rotateY(-18deg) scale(0.52);
  }
}

@media (max-width: 920px) {
  .site-nav button {
    padding: 14px 0;
    border-bottom: 1px solid rgba(164, 194, 220, 0.12);
    text-align: left;
  }
}

@media (max-width: 700px) {
  /* Mobile card navigation changes immediately, including its content. */
  .benefit-card,
  .benefit-card::before,
  .benefit-card .benefit__teaser,
  .benefit-card .benefit__more {
    transition: none;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .section-head#vorteile {
    margin-bottom: 56px;
  }

  .section-head__kicker {
    margin-bottom: 14px;
    font-size: 10px;
  }

  #vorteile-title {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .benefit-deck {
    min-height: max(540px, calc(var(--active-card-height, 430px) * 1.1 + 110px));
  }

  .benefit-deck::before {
    inset-inline: -10%;
    background-size: 58px 58px, 58px 58px, auto;
  }

  .benefit-deck__stage {
    min-height: max(475px, calc(var(--active-card-height, 430px) * 1.1 + 40px));
  }

  .benefit-card {
    top: 8px;
    width: min(86vw, 360px);
    min-height: 430px;
    padding: 45px 26px 34px;
    border-radius: 18px;
  }

  .benefit-card::after {
    top: 22px;
    left: 22px;
    width: 24px;
    height: 24px;
  }

  .benefit__kicker {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .benefit-card h3,
  .benefit-card:not(.is-active) h3 {
    font-size: clamp(1.45rem, 6.3vw, 1.75rem);
    line-height: 1.12;
  }

  .benefit-card__divider {
    margin-block: 24px 18px;
  }

  .benefit__teaser {
    min-height: 3.2em;
    font-size: 15px;
    line-height: 1.62;
  }

  .benefit__more {
    min-width: 204px;
    min-height: 50px;
    margin-top: 20px;
  }

  .benefit-card[data-slot="-1"] {
    opacity: 0.32;
    filter: blur(7px) brightness(0.56) saturate(0.7);
    transform: translateX(calc(-50% - 57vw)) translateY(54px) translateZ(-240px) rotateY(14deg) scale(0.66);
  }

  .benefit-card[data-slot="1"] {
    opacity: 0.32;
    filter: blur(7px) brightness(0.56) saturate(0.7);
    transform: translateX(calc(-50% + 57vw)) translateY(54px) translateZ(-240px) rotateY(-14deg) scale(0.66);
  }

  .benefit-card[data-slot="-2"],
  .benefit-card[data-slot="2"] {
    opacity: 0;
    pointer-events: none;
  }

  .benefit-deck__navigation {
    top: max(470px, calc(var(--active-card-height, 430px) * 1.1 + 40px));
    bottom: auto;
    width: auto;
    justify-content: center;
    gap: 16px;
    pointer-events: auto;
  }

  .benefit-deck__counter {
    position: static;
    transform: none;
  }

  .benefit-deck__arrow {
    width: 50px;
    height: 50px;
  }

  .benefit-dialog {
    padding: 62px 14px 66px;
  }

  .benefit-dialog__panel {
    width: min(100%, calc(100vw - 28px));
    padding: 38px 24px 42px;
    border-radius: 18px;
  }

  .benefit-dialog__close {
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    font-size: 27px;
  }

  .benefit-dialog__kicker {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .benefit-dialog h3 {
    font-size: clamp(1.45rem, 6.4vw, 1.65rem);
  }

  .benefit-dialog__divider {
    display: none;
  }

  .benefit-dialog__text {
    margin-top: 21px;
    font-size: 1rem;
    line-height: 1.78;
  }
}

/* ============================================================
   Fußzeile
   ============================================================ */

.site-footer {
  padding: clamp(48px, 5vw, 72px) var(--page-gutter) clamp(32px, 3vw, 44px);
  border-top: 1px solid rgba(136, 182, 222, 0.11);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  text-align: center;
}

/* Das Logo erbt aus dem Kopfbereich justify-self: start — hier mittig. */
.footer-inner .brand {
  justify-self: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 14px;
}

.footer-legal a {
  color: rgba(247, 249, 252, 0.7);
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--cyan);
}

.footer-cta {
  min-width: 208px;
  min-height: 52px;
  padding: 4px 5px 4px 20px;
  font-size: 13px;
}

.footer-cta .arrow {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  font-size: 15px;
}

.footer-copy {
  width: min(560px, 100%);
  margin: clamp(8px, 1.5vw, 18px) 0 0;
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid rgba(136, 182, 222, 0.09);
  color: rgba(184, 192, 204, 0.78);
  font-size: 13px;
}

@media (max-width: 640px) {
  .footer-inner {
    gap: 22px;
  }

  .footer-cta {
    width: min(260px, 100%);
  }

  /* iOS zoomt Eingabefelder unter 16px beim Antippen automatisch. */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

/* ============================================================
   Rechtliche Unterseiten
   ============================================================ */

.legal {
  padding: calc(var(--header-height) + clamp(48px, 6vw, 90px)) var(--page-gutter) clamp(64px, 7vw, 110px);
}

.legal-inner {
  width: min(760px, 100%);
  margin-inline: auto;
}

.legal h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
}

.legal__intro {
  margin: 0 0 clamp(36px, 4vw, 56px);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal h2 {
  margin: clamp(34px, 3.4vw, 48px) 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.legal p,
.legal li {
  margin: 0 0 12px;
  color: #a9b6c6;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 223, 242, 0.35);
}

/* Auszufüllende Stellen deutlich sichtbar markieren. */
.legal mark {
  padding: 2px 7px;
  border: 1px dashed rgba(255, 190, 90, 0.55);
  border-radius: 4px;
  background: rgba(255, 176, 60, 0.1);
  color: #ffce87;
  font-size: 0.94em;
}

.legal__note {
  margin: clamp(40px, 4vw, 60px) 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 190, 90, 0.32);
  border-radius: 12px;
  background: rgba(255, 176, 60, 0.06);
  color: #e8d3b4;
  font-size: 14.5px;
  line-height: 1.65;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: rgba(247, 249, 252, 0.62);
  font-size: 14px;
  transition: color 180ms ease;
}

.legal__back:hover {
  color: var(--cyan);
}
