/* ==========================================================================
   NxGn Media – neue Variante
   Helles, typografisches Design. Einzige feste Vorgabe ist das Logo; dessen
   Verlauf (Himmelblau → Blau → Violett) ist die Akzentfarbe der ganzen Seite.
   Schriften liegen lokal (werden von werkzeuge/bauen.cjs kopiert).
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Gestaltungsgrundlagen
   -------------------------------------------------------------------------- */

:root {
  --papier: #f6f6fa;
  --papier-2: #ededf5;
  --flaeche: #ffffff;
  --tinte: #0b0b1e;
  --tinte-2: #2c2c44;
  --grau: #5b5b76;
  --linie: #e2e2ee;
  --linie-stark: #cfcfe0;

  --himmel: #3fbbff;
  --blau: #5469ff;
  --violett: #7a42ff;
  --akzent-text: #3d46e0;
  --verlauf: linear-gradient(120deg, #3fbbff 0%, #5469ff 52%, #7a42ff 100%);
  --verlauf-weich: linear-gradient(120deg, rgba(63, 187, 255, 0.14), rgba(122, 66, 255, 0.14));

  --nacht: #08081a;
  --nacht-2: #121230;
  --nacht-linie: rgba(255, 255, 255, 0.1);
  --nacht-grau: #a9a9c6;

  --gruen: #0f9b72;
  --fehler: #c4264f;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;

  --schatten-1: 0 1px 2px rgba(11, 11, 30, 0.05), 0 10px 30px -14px rgba(11, 11, 30, 0.22);
  --schatten-2: 0 2px 6px rgba(11, 11, 30, 0.05), 0 40px 80px -30px rgba(42, 42, 140, 0.38);

  --schrift-display: "Outfit", system-ui, sans-serif;
  --schrift: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --aus: cubic-bezier(0.2, 0.8, 0.2, 1);
  --feder: cubic-bezier(0.34, 1.56, 0.64, 1);

  --rand: clamp(20px, 4.2vw, 48px);
  --breite: 1240px;
  --kopf-hoehe: 72px;

  interpolate-size: allow-keywords;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Das schräge Laufband ragt bewusst über den Rand; seitliches Wischen
     soll das auf keinem Gerät (auch nicht iOS) möglich machen. */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(84, 105, 255, 0.22);
}

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.symbole {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprunglink {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--tinte);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.sprunglink:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

.sektion {
  position: relative;
  padding-block: clamp(80px, 11vw, 150px);
}
.sektion-eng {
  padding-block: clamp(48px, 7vw, 96px);
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--schrift);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent-text);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--verlauf);
}

.display {
  font-family: var(--schrift-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.titel,
.titel-gross {
  font-family: var(--schrift-display);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.titel {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}
.titel-gross {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 0.96;
}

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.62;
  color: var(--tinte-2);
  text-wrap: pretty;
}

.verlauf-text {
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.klein {
  font-size: 0.875rem;
  color: var(--grau);
}

.sektionskopf {
  display: grid;
  gap: 22px;
  max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.sektionskopf .lead {
  max-width: 640px;
}
.sektionskopf-mitte {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* --------------------------------------------------------------------------
   Knöpfe, Pillen, Chips
   -------------------------------------------------------------------------- */

.btn {
  --btn-hg: var(--flaeche);
  --btn-text: var(--tinte);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0.95rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-hg);
  color: var(--btn-text);
  font-family: var(--schrift);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.35s var(--aus), box-shadow 0.35s var(--aus), background-color 0.25s, color 0.25s;
}
.btn .i {
  transition: transform 0.35s var(--aus);
}
.btn:hover .i:last-child:not(:first-child) {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.98);
}

.btn-primaer {
  --btn-hg: var(--tinte);
  --btn-text: #fff;
  box-shadow: 0 10px 30px -12px rgba(11, 11, 30, 0.55);
}
.btn-primaer::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--verlauf);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.35s var(--aus);
}
.btn-primaer:hover::before {
  opacity: 0.55;
}
.btn-primaer:hover {
  box-shadow: 0 14px 36px -12px rgba(84, 105, 255, 0.65);
}

.btn-leise {
  --btn-hg: transparent;
  box-shadow: inset 0 0 0 1.5px var(--linie-stark);
}
.btn-leise:hover {
  --btn-hg: var(--flaeche);
  box-shadow: inset 0 0 0 1.5px var(--tinte), var(--schatten-1);
}

.btn-hell {
  --btn-hg: #fff;
  --btn-text: var(--tinte);
}
.btn-hell:hover {
  box-shadow: 0 14px 36px -14px rgba(122, 66, 255, 0.8);
}

.btn-glas {
  --btn-hg: rgba(255, 255, 255, 0.08);
  --btn-text: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.btn-glas:hover {
  --btn-hg: rgba(255, 255, 255, 0.16);
}

.btn-klein {
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  font-size: 0.92rem;
}
.btn-voll {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.preis-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.6em;
  border-radius: 999px;
  background: var(--verlauf);
  color: #fff;
  font-size: 0.8em;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.link-pfeil {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  color: var(--tinte);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--aus);
}
.link-pfeil:hover {
  background-size: 100% 2px;
}
.link-pfeil .i {
  transition: transform 0.35s var(--aus);
}
.link-pfeil:hover .i {
  transform: translateX(4px);
}

.link-knopf {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

/* Magnetischer Knopf: JS setzt --mx/--my (nur bei Maus) */
.magnet {
  translate: var(--mx, 0) var(--my, 0);
  transition: translate 0.4s var(--aus), transform 0.35s var(--aus), box-shadow 0.35s var(--aus);
}

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  view-transition-name: kopf;
}
.kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 246, 250, 0.9);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.kopf.ist-gescrollt::before {
  border-bottom-color: var(--linie);
}
.kopf.menu-offen::before {
  background: var(--papier);
}

.kopf-innen {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--kopf-hoehe);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.marke img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  transition: transform 0.5s var(--feder);
}
.marke:hover img {
  transform: rotate(-8deg) scale(1.06);
}
.marke-name {
  font-family: var(--schrift-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.marke-name span {
  font-weight: 400;
  color: var(--grau);
}

.kopf-nav {
  display: flex;
  gap: 4px;
  margin-left: 18px;
}
.kopf-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tinte-2);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.kopf-nav a:hover {
  background: rgba(11, 11, 30, 0.05);
  color: var(--tinte);
}
.kopf-nav a[aria-current="page"] {
  color: var(--tinte);
}
.kopf-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--verlauf);
}

.kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.kopf-cta[aria-current="page"] {
  pointer-events: none;
  opacity: 0.55;
}

.nur-schmal {
  display: none;
}

.menu-knopf {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tinte);
  color: #fff;
}
.menu-striche {
  display: grid;
  gap: 6px;
  width: 18px;
}
.menu-striche i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--aus);
}
.kopf.menu-offen .menu-striche i:first-child {
  transform: translateY(4px) rotate(45deg);
}
.kopf.menu-offen .menu-striche i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.kopf-fortschritt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.kopf-fortschritt span {
  display: block;
  height: 100%;
  background: var(--verlauf);
  transform: scaleX(var(--fortschritt, 0));
  transform-origin: 0 50%;
}

.mobilmenu {
  position: fixed;
  inset: var(--kopf-hoehe) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 28px var(--rand) calc(28px + env(safe-area-inset-bottom));
  background: var(--papier);
  overflow-y: auto;
}
.mobilmenu[hidden] {
  display: none;
}
.mobilmenu-nav {
  display: grid;
}
.mobilmenu-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linie);
  font-family: var(--schrift-display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-decoration: none;
}
.mobilmenu-nav small {
  font-family: var(--schrift-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--grau);
}
.mobilmenu-nav a[aria-current="page"] {
  color: var(--akzent-text);
}
.mobilmenu-fuss {
  display: grid;
  gap: 16px;
}
.mobilmenu-fuss p {
  font-size: 0.9rem;
  color: var(--grau);
  text-align: center;
}
.js .mobilmenu.ist-offen .mobilmenu-nav a,
.js .mobilmenu.ist-offen .mobilmenu-fuss {
  animation: menu-rein 0.55s var(--aus) both;
}
.mobilmenu-nav a:nth-child(2) { animation-delay: 0.04s !important; }
.mobilmenu-nav a:nth-child(3) { animation-delay: 0.08s !important; }
.mobilmenu-nav a:nth-child(4) { animation-delay: 0.12s !important; }
.mobilmenu-nav a:nth-child(5) { animation-delay: 0.16s !important; }
.mobilmenu-fuss { animation-delay: 0.22s !important; }
@keyframes menu-rein {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (max-width: 980px) {
  .kopf-nav,
  .kopf-code {
    display: none;
  }
  .menu-knopf {
    display: grid;
  }
}
@media (max-width: 560px) {
  :root {
    --kopf-hoehe: 64px;
  }
  .nur-breit {
    display: none;
  }
  .nur-schmal {
    display: inline;
  }
  .marke-name span {
    display: none;
  }
  .kopf-cta {
    padding-inline: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Erscheinen beim Scrollen
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--aus),
    transform 0.9s var(--aus);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].ist-sichtbar {
  opacity: 1;
  transform: none;
}

/* Wortweise aufgebaute Überschriften (JS zerlegt sie in Wörter) */
.wort {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.12em;
  vertical-align: top;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.wort-innen {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--aus);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.ist-sichtbar .wort-innen,
.wort-innen.ist-sichtbar {
  transform: none;
}
/* Elemente mit eigenem Schmuck (z. B. der Kreis um „Ja“) nicht abschneiden */
.wort-frei {
  overflow: visible;
}
.wort-frei .wort-innen {
  opacity: 0;
  transform: translateY(40%);
  transition:
    transform 1s var(--aus),
    opacity 0.7s var(--aus);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.ist-sichtbar .wort-frei .wort-innen {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Startseite – Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(70px, 8vw, 120px);
  overflow: clip;
}

.hero-hg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
}
.aurora-1 {
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  top: -24%;
  right: -16%;
  background: radial-gradient(circle at center, rgba(63, 187, 255, 0.38), transparent 62%);
  animation: treiben-1 22s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 55vw;
  height: 55vw;
  max-width: 780px;
  max-height: 780px;
  top: 18%;
  right: 8%;
  background: radial-gradient(circle at center, rgba(122, 66, 255, 0.26), transparent 62%);
  animation: treiben-2 26s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle at center, rgba(84, 105, 255, 0.18), transparent 64%);
  animation: treiben-1 30s ease-in-out infinite alternate-reverse;
}
@keyframes treiben-1 {
  to {
    transform: translate(-8%, 10%) scale(1.12);
  }
}
@keyframes treiben-2 {
  to {
    transform: translate(10%, -6%) scale(0.92);
  }
}
.raster {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 11, 30, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 30, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
}
.lichtkegel {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--lx, 70%) var(--ly, 30%), rgba(255, 255, 255, 0.75), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.hero-oben {
  display: grid;
  gap: 26px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.hero-titel {
  font-size: clamp(2.75rem, 6.9vw, 6.3rem);
}
.hero-titel .ja {
  position: relative;
  display: inline-block;
  padding-inline: 0.06em;
  margin-inline: 0.12em;
}
.hero-titel .ja-text {
  position: relative;
  z-index: 1;
}
.ja-kreis {
  position: absolute;
  left: -14%;
  top: -10%;
  width: 128%;
  height: 128%;
  /* Der allgemeine svg-Reset (max-width: 100 %) würde den Kreis sonst auf die
     Wortbreite stauchen und nach links verschieben. */
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.ja-kreis path {
  fill: none;
  stroke: url(#verlauf-strich);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--aus) 1.05s;
}
.ist-sichtbar .ja-kreis path,
.no-js .ja-kreis path {
  stroke-dashoffset: 0;
}

.hero-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.hero-text {
  display: grid;
  gap: 30px;
  padding-top: 8px;
}
.cta-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.datum-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
  font-size: 0.93rem;
  color: var(--tinte-2);
}
.datum-chip strong {
  color: var(--tinte);
  font-weight: 800;
}
.puls {
  position: relative;
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--gruen);
}
.puls::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gruen);
  animation: puls 2s var(--aus) infinite;
}
@keyframes puls {
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

.fakten {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 34px;
  padding-top: 26px;
  border-top: 1px solid var(--linie);
}
.fakten div {
  display: grid;
  gap: 4px;
}
.fakten dt {
  order: 2;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--grau);
  max-width: 15ch;
}
.fakten dd {
  font-family: var(--schrift-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fakten div:first-child dd {
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 980px) {
  .hero-raster {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .fakten {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .cta-reihe .btn {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Startseite – Vorschau-Demo (Browser mit fiktiver Beispielseite)
   -------------------------------------------------------------------------- */

.demo {
  position: relative;
  display: grid;
  gap: 16px;
}

.demo-steuerung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
  backdrop-filter: blur(10px);
}
.demo-feld {
  position: relative;
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.demo-feld .i {
  position: absolute;
  left: 14px;
  color: var(--grau);
  pointer-events: none;
}
.demo-feld input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px 0 42px;
  border: 0;
  border-radius: 14px;
  background: var(--papier);
  font-weight: 700;
  outline: none;
  transition: box-shadow 0.25s;
}
.demo-feld input:focus-visible {
  box-shadow: 0 0 0 2px var(--blau);
}
.demo-feld input::placeholder {
  color: var(--grau);
  font-weight: 500;
}
.demo-branchen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--linie-stark);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tinte-2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.3s var(--feder);
}
.chip span:hover {
  box-shadow: inset 0 0 0 1.5px var(--tinte);
}
.chip input:checked + span {
  background: var(--tinte);
  box-shadow: none;
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}
.chip input:active + span {
  transform: scale(0.95);
}

.demo-buehne {
  position: relative;
  container-type: size;
  aspect-ratio: 16 / 11.4;
  display: flex;
  justify-content: center;
}
@media (max-width: 640px) {
  .demo-buehne {
    aspect-ratio: 4 / 5;
  }
}

.browser {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 11, 30, 0.1), var(--schatten-2);
  transition:
    width 0.8s var(--aus),
    border-radius 0.8s var(--aus),
    box-shadow 0.8s var(--aus);
}
.browser[data-geraet="handy"] {
  width: min(100%, 51cqh);
  border-radius: 38px;
  box-shadow: 0 0 0 9px var(--tinte), 0 0 0 10px #2c2c44, var(--schatten-2);
}
.browser-leiste {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  flex: none;
  padding: 0 14px;
  background: #f1f1f6;
  border-bottom: 1px solid #e6e6ef;
  transition: height 0.8s var(--aus), background-color 0.8s;
}
.browser-leiste > i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dcdce6;
  transition: opacity 0.4s, transform 0.6s var(--aus);
}
.browser-leiste > i:nth-child(1) { background: #ff6159; }
.browser-leiste > i:nth-child(2) { background: #ffbd2e; }
.browser-leiste > i:nth-child(3) { background: #28c941; }
.browser-url {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 56%;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  color: #55556e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translate(-50%, -50%);
  transition: all 0.8s var(--aus);
}
.browser-url .i {
  width: 12px;
  height: 12px;
  color: var(--gruen);
}
.browser[data-geraet="handy"] .browser-leiste {
  height: 30px;
  background: var(--m-bg, #fff);
  border-bottom-color: transparent;
}
.browser[data-geraet="handy"] .browser-leiste > i {
  opacity: 0;
  transform: scale(0.2);
}
.browser[data-geraet="handy"] .browser-url {
  top: 13px;
  max-width: 34%;
  padding: 0;
  height: 18px;
  width: 34%;
  background: var(--tinte);
  color: transparent;
}

.demo-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.demo-geraete {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.demo-geraete button,
.demo-pause {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grau);
  transition: background-color 0.25s, color 0.25s;
}
.demo-geraete button[aria-pressed="true"] {
  background: var(--tinte);
  color: #fff;
}
.demo-pause {
  min-width: 38px;
  padding: 6px 12px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.demo-pause:hover {
  color: var(--tinte);
}
.demo-hinweis {
  font-size: 0.8rem;
  color: var(--grau);
}
.demo-rechts {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Rotierender Stempel „0 €“ */
.stempel {
  position: absolute;
  z-index: 3;
  top: -40px;
  right: -34px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tinte);
  color: #fff;
  box-shadow: 0 20px 40px -16px rgba(11, 11, 30, 0.6);
  transform: rotate(-10deg);
  pointer-events: none;
}
.stempel svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: drehen 18s linear infinite;
}
.stempel text {
  fill: #fff;
  font-family: var(--schrift);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.9px;
}
.stempel strong {
  font-family: var(--schrift-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 980px) {
  .stempel {
    top: -30px;
    right: -8px;
    width: 104px;
    height: 104px;
  }
  .stempel strong {
    font-size: 1.6rem;
  }
}

/* Die Beispielseite selbst. Alle Maße in cqw – sie skaliert mit dem Rahmen.
   Die Farben hängen am Browser-Rahmen, damit auch dessen Handy-Leiste mitzieht. */
[data-thema] {
  --m-bg: #fbf3f0;
  --m-ink: #2a1a1d;
  --m-akzent: #c25e73;
  --m-weich: #f3d9db;
  --m-schrift: Georgia, "Times New Roman", serif;
  --m-titel-gewicht: 400;
  --m-titel-stil: italic;
  --m-titel-abstand: -0.02em;
  --m-knopf-radius: 999px;
  --m-karten-radius: 1.6cqw;
}
.mock {
  position: relative;
  flex: 1;
  container-type: inline-size;
  overflow: hidden;
  background: var(--m-bg);
  color: var(--m-ink);
  font-family: var(--m-schrift);
  transition: background-color 0.7s var(--aus), color 0.7s var(--aus);
}
[data-thema="handwerk"] {
  --m-bg: #f4eee6;
  --m-ink: #1e1912;
  --m-akzent: #c45b1c;
  --m-weich: #e9d6c0;
  --m-schrift: var(--schrift-display);
  --m-titel-gewicht: 800;
  --m-titel-stil: normal;
  --m-titel-abstand: -0.04em;
  --m-knopf-radius: 0.5cqw;
  --m-karten-radius: 0.6cqw;
}
[data-thema="praxis"] {
  --m-bg: #eef7f6;
  --m-ink: #0e2b2a;
  --m-akzent: #14857d;
  --m-weich: #cbe8e4;
  --m-schrift: var(--schrift);
  --m-titel-gewicht: 800;
  --m-titel-stil: normal;
  --m-titel-abstand: -0.035em;
  --m-knopf-radius: 1.4cqw;
  --m-karten-radius: 2.2cqw;
}
[data-thema="cafe"] {
  --m-bg: #f2f3e8;
  --m-ink: #1f2717;
  --m-akzent: #5f7f2b;
  --m-weich: #dde6c5;
  --m-schrift: Georgia, "Times New Roman", serif;
  --m-titel-gewicht: 700;
  --m-titel-stil: normal;
  --m-titel-abstand: -0.03em;
  --m-knopf-radius: 999px;
  --m-karten-radius: 3cqw;
}

.mock-rolle {
  transform: translateY(0);
}
.browser[data-geraet="handy"] .mock-rolle.rollt {
  animation: mock-rollen 16s ease-in-out 1.4s infinite alternate;
}
@keyframes mock-rollen {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(calc(var(--rollweg, 0px) * -1));
  }
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 2.4cqw 3.6cqw;
}
.m-logo {
  width: 3.4cqw;
  height: 3.4cqw;
  flex: none;
  border-radius: var(--m-karten-radius);
  background: var(--m-akzent);
  transition: background-color 0.7s, border-radius 0.7s;
}
.m-marke {
  font-size: 2.3cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 36cqw;
}
.m-links {
  display: flex;
  gap: 2.4cqw;
  margin-left: auto;
}
.m-links i {
  display: block;
  width: 6cqw;
  height: 0.9cqw;
  border-radius: 1cqw;
  background: currentColor;
  opacity: 0.22;
}
.m-knopf-klein {
  padding: 1cqw 2cqw;
  border-radius: var(--m-knopf-radius);
  background: var(--m-ink);
  color: var(--m-bg);
  font-family: var(--schrift);
  font-size: 1.5cqw;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.7s, color 0.7s, border-radius 0.7s;
}
.m-burger {
  display: none;
  margin-left: auto;
  width: 6cqw;
  gap: 1.3cqw;
}
.m-burger i {
  display: block;
  height: 0.8cqw;
  border-radius: 1cqw;
  background: currentColor;
}

.m-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 3.6cqw 2.6cqw;
}
.m-text {
  display: grid;
  gap: 1.8cqw;
  justify-items: start;
}
.m-kicker {
  font-family: var(--schrift);
  font-size: 1.35cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-akzent);
  transition: color 0.7s;
}
.m-titel {
  font-size: 6.4cqw;
  font-weight: var(--m-titel-gewicht);
  font-style: var(--m-titel-stil);
  letter-spacing: var(--m-titel-abstand);
  line-height: 0.98;
  overflow-wrap: anywhere;
  min-height: 1em;
}
.mock.tippt .m-titel::after {
  content: "";
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.04em;
  vertical-align: -0.04em;
  background: var(--m-akzent);
  animation: blinken 0.9s steps(1) infinite;
}
@keyframes blinken {
  50% {
    opacity: 0;
  }
}
.m-zeile {
  font-family: var(--schrift);
  font-size: 1.75cqw;
  line-height: 1.5;
  opacity: 0.74;
  max-width: 34ch;
}
.m-knopf {
  padding: 1.3cqw 2.6cqw;
  border-radius: var(--m-knopf-radius);
  background: var(--m-akzent);
  color: #fff;
  font-family: var(--schrift);
  font-size: 1.6cqw;
  font-weight: 700;
  transition: background-color 0.7s, border-radius 0.7s;
}
.m-bild {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
}
.m-schwebe {
  position: absolute;
  inset: 0;
  animation: schweben 7s ease-in-out infinite alternate;
}
@keyframes schweben {
  to {
    transform: translateY(-2.5%) rotate(1.5deg);
  }
}
.m-form {
  position: absolute;
  transition:
    left 0.9s var(--aus),
    top 0.9s var(--aus),
    width 0.9s var(--aus),
    height 0.9s var(--aus),
    border-radius 0.9s var(--aus),
    rotate 0.9s var(--aus),
    background-color 0.9s var(--aus);
}
/* Friseur: Bögen und Kreis */
.m-f1 { left: 6%; top: 20%; width: 46%; height: 74%; border-radius: 999px 999px 1.2cqw 1.2cqw; background: var(--m-akzent); rotate: 0deg; }
.m-f2 { left: 44%; top: 4%; width: 46%; height: 70%; border-radius: 999px 999px 1.2cqw 1.2cqw; background: var(--m-weich); rotate: 0deg; }
.m-f3 { left: 62%; top: 64%; width: 26%; height: 26%; border-radius: 50%; background: var(--m-ink); rotate: 0deg; }
/* Handwerk: Bretter */
[data-thema="handwerk"] .m-f1 { left: 4%; top: 34%; width: 74%; height: 18%; border-radius: 0.6cqw; rotate: -9deg; }
[data-thema="handwerk"] .m-f2 { left: 20%; top: 56%; width: 74%; height: 18%; border-radius: 0.6cqw; rotate: 7deg; }
[data-thema="handwerk"] .m-f3 { left: 58%; top: 6%; width: 30%; height: 30%; border-radius: 0.6cqw; rotate: 14deg; }
/* Praxis: Kreuz auf Fläche */
[data-thema="praxis"] .m-f2 { left: 10%; top: 10%; width: 80%; height: 80%; border-radius: 26%; rotate: 0deg; }
[data-thema="praxis"] .m-f1 { left: 26%; top: 43%; width: 48%; height: 14%; border-radius: 999px; rotate: 0deg; }
[data-thema="praxis"] .m-f3 { left: 43%; top: 26%; width: 14%; height: 48%; border-radius: 999px; rotate: 0deg; background: var(--m-akzent); }
/* Café: Teller, Tasse, Bohne */
[data-thema="cafe"] .m-f2 { left: 8%; top: 10%; width: 80%; height: 80%; border-radius: 50%; rotate: 0deg; }
[data-thema="cafe"] .m-f1 { left: 28%; top: 34%; width: 40%; height: 36%; border-radius: 1cqw 1cqw 50% 50%; rotate: 0deg; }
[data-thema="cafe"] .m-f3 { left: 62%; top: 12%; width: 16%; height: 24%; border-radius: 50%; rotate: 32deg; }

.m-karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8cqw;
  padding: 0 3.6cqw 2.2cqw;
}
.m-karte {
  display: grid;
  gap: 1cqw;
  padding: 2cqw;
  border-radius: var(--m-karten-radius);
  background: color-mix(in srgb, var(--m-weich) 60%, #fff);
  transition: background-color 0.7s, border-radius 0.7s;
}
.m-karte b {
  font-family: var(--schrift);
  font-size: 1.55cqw;
  font-weight: 800;
}
.m-karte i {
  display: block;
  height: 0.8cqw;
  border-radius: 1cqw;
  background: currentColor;
  opacity: 0.16;
}
.m-karte i:last-child {
  width: 66%;
}
.m-symbol {
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  background: var(--m-akzent);
  opacity: 0.85;
  transition: background-color 0.7s;
}
.m-info {
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  margin: 0 3.6cqw;
  padding: 1.6cqw 2.2cqw;
  border-radius: var(--m-karten-radius);
  background: var(--m-ink);
  color: var(--m-bg);
  font-family: var(--schrift);
  font-size: 1.4cqw;
  font-weight: 700;
  transition: background-color 0.7s, color 0.7s;
}
.m-mehr {
  display: none;
}

/* Handy-Ansicht der Beispielseite */
@container (max-width: 460px) {
  .m-nav {
    padding: 5cqw 6cqw;
    gap: 3cqw;
  }
  .m-logo {
    width: 7cqw;
    height: 7cqw;
  }
  .m-marke {
    font-size: 5.4cqw;
    max-width: 62cqw;
  }
  .m-links,
  .m-knopf-klein {
    display: none;
  }
  .m-burger {
    display: grid;
  }
  .m-hero {
    grid-template-columns: 1fr;
    gap: 6cqw;
    padding: 4cqw 6cqw 8cqw;
  }
  .m-text {
    gap: 3.6cqw;
  }
  .m-kicker {
    font-size: 3.1cqw;
  }
  .m-titel {
    font-size: 13cqw;
  }
  .m-zeile {
    font-size: 4.2cqw;
  }
  .m-knopf {
    font-size: 4cqw;
    padding: 3.2cqw 6cqw;
  }
  .m-bild {
    width: 82%;
    aspect-ratio: 1;
    justify-self: center;
  }
  .m-karten {
    grid-template-columns: 1fr;
    gap: 3.4cqw;
    padding: 0 6cqw 6cqw;
  }
  .m-karte {
    padding: 5cqw;
    gap: 2.4cqw;
    border-radius: calc(var(--m-karten-radius) * 2.2);
  }
  .m-karte b {
    font-size: 4.4cqw;
  }
  .m-karte i {
    height: 2cqw;
  }
  .m-symbol {
    width: 8cqw;
    height: 8cqw;
  }
  .m-info {
    flex-direction: column;
    margin: 0 6cqw;
    padding: 4.4cqw 5cqw;
    font-size: 3.7cqw;
    gap: 1.6cqw;
    border-radius: calc(var(--m-karten-radius) * 2.2);
  }
  .m-mehr {
    display: grid;
    gap: 3cqw;
    padding: 9cqw 6cqw 10cqw;
  }
  .m-mehr b {
    font-size: 7cqw;
    font-weight: var(--m-titel-gewicht);
    font-style: var(--m-titel-stil);
    letter-spacing: var(--m-titel-abstand);
  }
  .m-mehr i {
    display: block;
    height: 2cqw;
    border-radius: 2cqw;
    background: currentColor;
    opacity: 0.15;
  }
  .m-mehr i:nth-of-type(3) {
    width: 70%;
  }
  .m-karte-ort {
    height: 38cqw;
    margin-top: 3cqw;
    border-radius: calc(var(--m-karten-radius) * 2.2);
    background:
      radial-gradient(circle at 60% 45%, var(--m-akzent) 0 3.4cqw, transparent 3.6cqw),
      repeating-linear-gradient(35deg, transparent 0 7cqw, rgba(255, 255, 255, 0.55) 7cqw 8cqw),
      var(--m-weich);
  }
}

/* --------------------------------------------------------------------------
   Laufband
   -------------------------------------------------------------------------- */

.laufband {
  position: relative;
  padding-block: 26px;
  background: var(--tinte);
  color: #fff;
  overflow: hidden;
  rotate: -1.6deg;
  margin-inline: -2vw;
  box-shadow: 0 30px 60px -30px rgba(11, 11, 30, 0.6);
}
.laufband-spur {
  display: flex;
  width: max-content;
  animation: laufen 38s linear infinite;
}
.laufband:hover .laufband-spur {
  animation-play-state: paused;
}
.laufband-gruppe {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.laufband-gruppe span {
  font-family: var(--schrift-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.laufband-gruppe span:nth-child(4n + 3) {
  color: rgba(255, 255, 255, 0.4);
}
.laufband-gruppe em {
  font-style: normal;
  font-family: var(--schrift-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.laufband-gruppe .stern {
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--verlauf);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@keyframes laufen {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Startseite – „Andersherum“ (Reihenfolge tauschen)
   -------------------------------------------------------------------------- */

.tausch {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.tausch-links {
  display: grid;
  gap: 28px;
}
.umschalter {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  padding: 5px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
}
.umschalter::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--tinte);
  transition: transform 0.6s var(--feder), background 0.4s;
}
.umschalter[data-zustand="nxgn"]::before {
  transform: translateX(100%);
  background: var(--verlauf);
}
.umschalter button {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--grau);
  transition: color 0.35s;
}
.umschalter button[aria-selected="true"] {
  color: #fff;
}

.tausch-buehne {
  --buehne-rand: clamp(22px, 3vw, 34px);
  --rund: clamp(88px, 11vw, 116px);
  /* Linie und Pfeil laufen durch die Kreismitten, nicht durch die Kartenmitte */
  --kreis-mitte: calc(var(--buehne-rand) + var(--rund) / 2);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: var(--buehne-rand);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
}
.tausch-buehne::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: var(--kreis-mitte);
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--linie-stark) 0 8px, transparent 8px 16px);
}
.tausch-pfeil {
  position: absolute;
  left: 50%;
  top: var(--kreis-mitte);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--linie);
  transform: translate(-50%, -50%);
  color: var(--grau);
}
.marke-rund {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: clamp(120px, 15vw, 160px);
  text-align: center;
  will-change: transform;
}
.marke-sehen {
  z-index: 2;
}
.marke-rund .rund {
  display: grid;
  place-items: center;
  width: var(--rund);
  height: var(--rund);
  border-radius: 50%;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}
.marke-rund .rund .i {
  width: 1em;
  height: 1em;
  stroke-width: 1.8;
}
.marke-rund b {
  font-family: var(--schrift-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.marke-rund small {
  font-size: 0.8rem;
  color: var(--grau);
  line-height: 1.3;
  min-height: 2.6em;
}
.tausch-buehne[data-zustand="nxgn"] .marke-sehen {
  order: -1;
}
.marke-zahlen .rund {
  background: var(--papier-2);
  color: var(--tinte);
  box-shadow: inset 0 0 0 1px var(--linie-stark);
}
.marke-sehen .rund {
  background: var(--verlauf);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(84, 105, 255, 0.8);
}

/* Beide Abläufe liegen übereinander in derselben Zelle. So bleibt die Höhe
   beim Umschalten gleich und die linke Spalte springt nicht mit. */
.tausch-panels {
  display: grid;
}
.js .tausch-panel {
  grid-area: 1 / 1;
  transition:
    opacity 0.45s var(--aus),
    visibility 0.45s;
}
.js .tausch-panel:not(.ist-aktiv) {
  opacity: 0;
  visibility: hidden;
}
.no-js .tausch-panel + .tausch-panel {
  margin-top: 32px;
}
.weg {
  display: grid;
  counter-reset: weg;
}
.weg li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linie);
  counter-increment: weg;
}
.weg li:last-child {
  border-bottom: 0;
}
.weg li::before {
  content: counter(weg, decimal-leading-zero);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-family: var(--schrift-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grau);
}
.weg b {
  font-family: var(--schrift-display);
  font-size: 1.22rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.weg span {
  font-size: 0.95rem;
  color: var(--grau);
}
.weg li.ist-zahlen::before {
  content: "€";
  font-family: var(--schrift-display);
  font-size: 1.2rem;
  background: var(--papier-2);
  box-shadow: inset 0 0 0 1.5px var(--tinte);
  color: var(--tinte);
}
.weg li.ist-sehen::before {
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 22px no-repeat,
    var(--verlauf);
  box-shadow: none;
}
.tausch-fazit {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--r-m);
  background: var(--verlauf-weich);
  font-weight: 700;
  color: var(--tinte);
}

@media (max-width: 900px) {
  .tausch {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .umschalter button {
    padding-inline: 14px;
    font-size: 0.9rem;
  }
  .stempel {
    right: 4px;
  }
}

/* --------------------------------------------------------------------------
   Startseite – 3 · 2 · 0
   -------------------------------------------------------------------------- */

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em 0.42em;
  font-size: clamp(2.6rem, 6.8vw, 6rem);
}
.countdown span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  white-space: nowrap;
}
.countdown .ziffer {
  display: inline-block;
  overflow: clip;
  height: 0.98em;
  line-height: 0.98;
  vertical-align: bottom;
}
.countdown .ziffer b {
  display: inline-block;
  font-weight: 800;
  transform: translateY(100%);
  transition: transform 1s var(--feder);
}
.countdown span:nth-child(2) .ziffer b { transition-delay: 0.15s; }
.countdown span:nth-child(3) .ziffer b { transition-delay: 0.3s; }
.countdown.ist-sichtbar .ziffer b,
.no-js .countdown .ziffer b {
  transform: none;
}
.countdown span:nth-child(3) .ziffer b {
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.schritte {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.schritte-linie {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 34px;
  height: 2px;
  background: var(--linie);
  overflow: hidden;
}
.schritte-linie::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--verlauf);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.8s var(--aus) 0.3s;
}
.schritte.ist-sichtbar .schritte-linie::after {
  transform: scaleX(1);
}
.schritt {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
}
.schritt-punkt {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
  font-size: 1.5rem;
  color: var(--tinte);
}
.schritt:nth-child(4) .schritt-punkt {
  background: var(--verlauf);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(84, 105, 255, 0.8);
}
.schritt-zeit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--akzent-text);
}
.schritt h3 {
  font-family: var(--schrift-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.schritt p {
  color: var(--grau);
  max-width: 34ch;
}
.schritte-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--linie);
}

@media (max-width: 860px) {
  .schritte {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-left: 0;
  }
  .schritte-linie {
    left: 33px;
    right: auto;
    top: 34px;
    bottom: 34px;
    width: 2px;
    height: auto;
  }
  .schritte-linie::after {
    transform: scaleY(0);
    transform-origin: 50% 0;
  }
  .schritte.ist-sichtbar .schritte-linie::after {
    transform: scaleY(1);
  }
  .schritt {
    grid-template-columns: 68px 1fr;
    column-gap: 20px;
  }
  .schritt > :not(.schritt-punkt) {
    grid-column: 2;
  }
  .schritt-punkt {
    grid-row: span 3;
  }
  .schritt-zeit {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Startseite – „Wo ist der Haken?“ (dunkel)
   -------------------------------------------------------------------------- */

.nacht {
  background: var(--nacht);
  color: #fff;
  isolation: isolate;
  overflow: clip;
}
.nacht .eyebrow {
  color: #8fd6ff;
}
.nacht .lead {
  color: #c8c8de;
}
.nacht-glut {
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 105, 255, 0.35), rgba(122, 66, 255, 0.12) 40%, transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}
.haken-kopf {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 24px;
}
.haken-frage {
  font-size: clamp(3rem, 9vw, 8.4rem);
}
.haken-zeichen {
  width: clamp(120px, 16vw, 200px);
  height: clamp(120px, 16vw, 200px);
  margin-block: 6px;
  overflow: visible;
}
.haken-zeichen circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}
.haken-zeichen path {
  fill: none;
  stroke: url(#verlauf-haken);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--aus) 0.35s;
}
.haken-zeichen.ist-sichtbar path,
.no-js .haken-zeichen path {
  stroke-dashoffset: 0;
}
.haken-antwort {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  max-width: 20ch;
}

.kein-liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.kein-liste li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--nacht-linie);
  font-weight: 700;
}
.kein-liste .i {
  color: #8fd6ff;
}

.wie-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
}
.wie-karte {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--nacht-linie);
  overflow: hidden;
}
.wie-karte::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 0%), rgba(84, 105, 255, 0.22), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.wie-karte:hover::before {
  opacity: 1;
}
.wie-karte .nr {
  font-family: var(--schrift-mono);
  font-size: 0.8rem;
  color: var(--nacht-grau);
}
.wie-karte h3 {
  font-family: var(--schrift-display);
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.wie-karte p {
  color: var(--nacht-grau);
}
@media (max-width: 860px) {
  .wie-raster {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Startseite – Bento „Was Sie bekommen“
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.kachel {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  min-height: 300px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  overflow: hidden;
  transition: box-shadow 0.4s var(--aus), transform 0.5s var(--aus);
}
.kachel:hover {
  box-shadow: inset 0 0 0 1px var(--linie-stark), var(--schatten-2);
  transform: translateY(-4px);
}
.kachel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), rgba(84, 105, 255, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.kachel:hover::after {
  opacity: 1;
}
.kachel h3 {
  font-family: var(--schrift-display);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.kachel p {
  color: var(--grau);
  font-size: 0.97rem;
}
.k-breit { grid-column: span 4; }
.k-schmal { grid-column: span 2; }
.k-drittel { grid-column: span 2; }
.k-dunkel {
  background: var(--tinte);
  color: #fff;
  box-shadow: none;
}
.k-dunkel p {
  color: var(--nacht-grau);
}
.k-verlauf {
  background: var(--verlauf);
  color: #fff;
  box-shadow: none;
}
.k-verlauf p {
  color: rgba(255, 255, 255, 0.86);
}

.k-bild {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
}

/* Kachel: Inhalte füllen sich */
.inhalt-demo {
  width: min(100%, 460px);
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.inhalt-demo .zeile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}
.inhalt-demo .zeile .i {
  color: var(--akzent-text);
}
.inhalt-demo .feld {
  position: relative;
  flex: 1;
  height: 28px;
  border-radius: 8px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  overflow: hidden;
}
.inhalt-demo .feld span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: 10px;
  font-weight: 600;
  color: var(--tinte-2);
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
}
.laeuft .inhalt-demo .feld span {
  animation: tippen 6s steps(26, end) infinite;
}
.inhalt-demo .zeile:nth-child(2) .feld span { animation-delay: 0.6s; }
.inhalt-demo .zeile:nth-child(3) .feld span { animation-delay: 1.2s; }
.inhalt-demo .zeile:nth-child(4) .feld span { animation-delay: 1.8s; }
@keyframes tippen {
  0% { clip-path: inset(0 100% 0 0); }
  35%, 85% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

/* Kachel: Geräte wechseln */
.geraet-morph {
  width: 160px;
  height: 104px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 50% 22% / 60% 9% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 50% 42% / 74% 6% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 50% 54% / 50% 6% no-repeat,
    rgba(255, 255, 255, 0.12);
}
.laeuft .geraet-morph {
  animation: geraete 7.5s var(--aus) infinite;
}
@keyframes geraete {
  0%, 26% { width: 160px; height: 104px; border-radius: 10px; }
  33%, 59% { width: 96px; height: 124px; border-radius: 12px; }
  66%, 92% { width: 58px; height: 116px; border-radius: 14px; }
  100% { width: 160px; height: 104px; border-radius: 10px; }
}

/* Kachel: Farbfelder mischen sich neu */
.farbfelder {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 8px;
}
.farbfelder i {
  height: 34px;
  border-radius: 10px;
  transition: border-radius 0.5s;
}
.laeuft .farbfelder i {
  animation: farbe 6s ease-in-out infinite;
}
.farbfelder i:nth-child(1) { background: #c25e73; }
.farbfelder i:nth-child(2) { background: #f3d9db; animation-delay: -1s; }
.farbfelder i:nth-child(3) { background: #c45b1c; animation-delay: -2s; }
.farbfelder i:nth-child(4) { background: #e9d6c0; animation-delay: -3s; }
.farbfelder i:nth-child(5) { background: #14857d; animation-delay: -1.5s; }
.farbfelder i:nth-child(6) { background: #cbe8e4; animation-delay: -2.5s; }
.farbfelder i:nth-child(7) { background: #5f7f2b; animation-delay: -3.5s; }
.farbfelder i:nth-child(8) { background: #dde6c5; animation-delay: -0.5s; }
@keyframes farbe {
  0%, 100% { border-radius: 10px; transform: none; }
  50% { border-radius: 50%; transform: scale(0.82) rotate(45deg); }
}

/* Kachel: Code */
.code-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-family: var(--schrift-mono);
  font-size: 1rem;
  color: #fff;
}
.code-demo .i {
  color: #8fd6ff;
}
.code-demo .punkte {
  display: inline-flex;
  gap: 6px;
}
.code-demo .punkte i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.laeuft .code-demo .punkte i {
  animation: punkt 2.4s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.18s);
}
@keyframes punkt {
  0%, 60%, 100% { background: rgba(255, 255, 255, 0.3); transform: none; }
  20% { background: #8fd6ff; transform: translateY(-5px); }
}

/* Kachel: Tempo */
.tempo {
  font-family: var(--schrift-display);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.tempo small {
  display: block;
  font-family: var(--schrift);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 10px;
}

.avatar-paar {
  display: flex;
}
.avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--papier);
  box-shadow: 0 0 0 4px var(--flaeche), inset 0 0 0 1px var(--linie);
  font-family: var(--schrift-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.avatar + .avatar {
  margin-left: -14px;
  background: var(--verlauf);
  color: #fff;
  box-shadow: 0 0 0 4px var(--flaeche);
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .k-breit {
    grid-column: span 2;
  }
  .k-schmal,
  .k-drittel {
    grid-column: span 1;
  }
}
@media (max-width: 620px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .k-breit,
  .k-schmal,
  .k-drittel {
    grid-column: auto;
  }
  .kachel {
    min-height: 0;
  }
}

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */

.preise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.preis {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.preis-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.preis-kopf h2,
.preis-kopf h3 {
  font-family: var(--schrift-display);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.preis-marke {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grau);
}
.betrag {
  font-family: var(--schrift-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.betrag small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--grau);
}
.preis-text {
  color: var(--grau);
}
.preis-liste {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
}
.preis-liste li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.preis-liste .i {
  margin-top: 0.2em;
  color: var(--akzent-text);
}
.preis-null {
  background: var(--tinte);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(11, 11, 30, 0.7);
}
.preis-null .betrag {
  font-size: clamp(4.6rem, 8vw, 6.6rem);
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preis-null .preis-text,
.preis-null .preis-liste li {
  color: #d4d4e6;
}
.preis-null .preis-liste {
  border-top-color: var(--nacht-linie);
}
.preis-null .preis-liste .i {
  color: #8fd6ff;
}
.preis-null .preis-marke {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--nacht-linie);
  color: #fff;
}
.preis-hinweis {
  max-width: 760px;
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--grau);
}
@media (max-width: 920px) {
  .preise {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Häufige Fragen (details/summary)
   -------------------------------------------------------------------------- */

.fragen {
  display: grid;
  gap: 10px;
}
.frage {
  border-radius: var(--r-m);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: box-shadow 0.3s;
}
.frage[open] {
  box-shadow: inset 0 0 0 1.5px var(--blau), var(--schatten-1);
}
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--schrift-display);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.frage summary::-webkit-details-marker {
  display: none;
}
.frage summary::after {
  content: "";
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background:
    linear-gradient(var(--tinte), var(--tinte)) center / 12px 2px no-repeat,
    linear-gradient(var(--tinte), var(--tinte)) center / 2px 12px no-repeat,
    var(--papier);
  transition: transform 0.4s var(--feder), background-color 0.3s;
}
.frage[open] summary::after {
  transform: rotate(135deg);
}
.frage summary:focus-visible {
  outline-offset: -3px;
  border-radius: var(--r-m);
}
.frage::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--aus), content-visibility 0.45s allow-discrete;
}
.frage[open]::details-content {
  block-size: auto;
}
.frage-antwort {
  padding: 0 22px 22px;
  color: var(--tinte-2);
  max-width: 72ch;
}
.frage-antwort p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Schluss-Aufruf
   -------------------------------------------------------------------------- */

.schluss {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: var(--nacht);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.schluss::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% -10% auto auto;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 187, 255, 0.35), rgba(122, 66, 255, 0.25) 35%, transparent 65%);
  animation: treiben-2 18s ease-in-out infinite alternate;
}
.schluss-null {
  font-family: var(--schrift-display);
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.78;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.schluss-text {
  display: grid;
  gap: 22px;
  max-width: 560px;
}
.schluss-text h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}
.schluss-text p {
  color: #c8c8de;
}
.schluss .datum-chip {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--nacht-linie);
  color: #d4d4e6;
}
.schluss .datum-chip strong {
  color: #fff;
}
.schluss-kontakt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.92rem;
  color: var(--nacht-grau);
}
.schluss-kontakt a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.schluss-kontakt a:hover {
  text-decoration: underline;
}
@media (max-width: 860px) {
  .schluss {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .schluss-null {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */

.fuss {
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: clamp(56px, 7vw, 90px);
  background: var(--nacht);
  color: #fff;
  overflow: hidden;
}
/* Oben: Aussage + Knopf links, Kontaktwege rechts */
.fuss-oben {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: end;
  gap: 40px 64px;
}
.fuss-aufruf {
  display: grid;
  justify-items: start;
  gap: 28px;
}
.fuss-satz {
  font-family: var(--schrift-display);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.fuss-kontakt {
  display: grid;
  gap: 10px;
}
.fuss-kontakt a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--nacht-linie);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--aus);
}
.fuss-kontakt a:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(143, 214, 255, 0.35);
  transform: translateX(4px);
}
.fuss-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--verlauf);
  font-size: 1.15rem;
}
.fuss-kontakt-text {
  display: grid;
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.fuss-kontakt-text small {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nacht-grau);
}
.fuss-kontakt .fuss-pfeil {
  margin-left: auto;
  color: var(--nacht-grau);
  transition: transform 0.4s var(--aus), color 0.3s;
}
.fuss-kontakt a:hover .fuss-pfeil {
  color: #fff;
  transform: translate(2px, -2px);
}

/* Mitte: Marke, Seiten, Rechtliches in einer Zeile */
.fuss-mitte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--nacht-linie);
}
.marke-hell .marke-name span {
  color: var(--nacht-grau);
}
.fuss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.fuss-links a,
.fuss-links button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #e6e6f2;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.fuss-links a:hover,
.fuss-links button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fuss-links a[aria-current="page"] {
  color: #8fd6ff;
}
.fuss-recht a {
  color: var(--nacht-grau);
  font-weight: 500;
}
.fuss-wortmarke {
  margin-top: clamp(40px, 6vw, 80px);
  font-family: var(--schrift-display);
  font-size: clamp(6rem, 27vw, 24rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.72;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(84, 105, 255, 0.4), rgba(122, 66, 255, 0.08) 70%, transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  translate: 0 0.08em;
}
.fuss-unten {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--nacht-linie);
  font-size: 0.85rem;
  color: var(--nacht-grau);
}
@media (max-width: 860px) {
  .fuss-oben {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fuss-mitte {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Code-Dialog
   -------------------------------------------------------------------------- */

.code-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(26px, 4vw, 40px);
  border: 0;
  border-radius: var(--r-xl);
  background: var(--flaeche);
  color: var(--tinte);
  box-shadow: 0 50px 100px -30px rgba(11, 11, 30, 0.6);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.35s var(--aus),
    transform 0.45s var(--aus),
    overlay 0.45s allow-discrete,
    display 0.45s allow-discrete;
}
.code-dialog[open] {
  opacity: 1;
  transform: none;
}
@starting-style {
  .code-dialog[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}
.code-dialog::backdrop {
  background: rgba(8, 8, 26, 0);
  backdrop-filter: blur(0);
  transition:
    background-color 0.35s,
    backdrop-filter 0.35s,
    overlay 0.35s allow-discrete,
    display 0.35s allow-discrete;
}
.code-dialog[open]::backdrop {
  background: rgba(8, 8, 26, 0.55);
  backdrop-filter: blur(6px);
}
@starting-style {
  .code-dialog[open]::backdrop {
    background: rgba(8, 8, 26, 0);
    backdrop-filter: blur(0);
  }
}
.dialog-x {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--papier);
  transition: background-color 0.2s, transform 0.4s var(--feder);
}
.dialog-x:hover {
  background: var(--papier-2);
  transform: rotate(90deg);
}
.code-kopf {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.code-kopf h2 {
  font-family: var(--schrift-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.code-kopf p:last-child {
  color: var(--grau);
}
.code-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 18px;
  background: var(--verlauf);
  color: #fff;
  font-size: 1.4rem;
}
.code-form {
  display: grid;
  gap: 14px;
}
.code-feld {
  position: relative;
  display: flex;
  align-items: center;
}
.code-feld .i {
  position: absolute;
  left: 18px;
  color: var(--grau);
}
.code-feld input {
  width: 100%;
  height: 62px;
  padding: 0 18px 0 50px;
  border: 0;
  border-radius: 18px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--linie);
  font-family: var(--schrift-mono);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  outline: none;
  transition: box-shadow 0.25s, background-color 0.25s;
}
.code-feld input:focus {
  background: var(--flaeche);
  box-shadow: inset 0 0 0 2px var(--blau), 0 0 0 5px rgba(84, 105, 255, 0.14);
}
.code-feld input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--fehler);
}
.code-fuss {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
  font-size: 0.88rem;
  color: var(--grau);
}
.code-fuss .i {
  margin-top: 0.2em;
  color: var(--akzent-text);
}
.code-fuss a {
  color: var(--tinte);
  font-weight: 700;
}
.feld-fehler {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fehler);
}
.schuettel {
  animation: schuetteln 0.45s var(--aus);
}
@keyframes schuetteln {
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   Unterseiten – Seitenkopf
   -------------------------------------------------------------------------- */

.seitenkopf {
  position: relative;
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: clip;
}
.seitenkopf .wrap {
  display: grid;
  gap: 24px;
}
.seitenkopf .lead {
  max-width: 660px;
}
.seitenkopf-schlicht {
  padding-bottom: 0;
}
.seitenkopf-hg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.seitenkopf-hg .aurora-1 {
  top: -60%;
  right: -20%;
  opacity: 0.45;
}

/* Kurzübersicht mit echten Daten */
.zeitstrahl-kurz {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  overflow: hidden;
}
.zeitstrahl-kurz li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-left: 1px solid var(--linie);
}
.zeitstrahl-kurz li:first-child {
  border-left: 0;
}
.zeitstrahl-kurz small {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--akzent-text);
}
.zeitstrahl-kurz b {
  font-family: var(--schrift-display);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.zeitstrahl-kurz li.ist-gratis {
  background: linear-gradient(180deg, rgba(63, 187, 255, 0.07), transparent);
}
@media (max-width: 900px) {
  .zeitstrahl-kurz {
    grid-template-columns: 1fr 1fr;
  }
  .zeitstrahl-kurz li {
    border-left: 0;
    border-top: 1px solid var(--linie);
  }
  .zeitstrahl-kurz li:nth-child(-n + 2) {
    border-top: 0;
  }
  .zeitstrahl-kurz li:nth-child(even) {
    border-left: 1px solid var(--linie);
  }
  .zeitstrahl-kurz li:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }
}

/* --------------------------------------------------------------------------
   So geht’s – ausführlicher Zeitstrahl
   -------------------------------------------------------------------------- */

.zeitstrahl {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  max-width: 980px;
  padding-left: clamp(64px, 9vw, 110px);
}
.zeitstrahl-schiene {
  position: absolute;
  left: clamp(23px, 4vw, 39px);
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--linie);
  overflow: hidden;
}
.zeitstrahl-schiene span {
  position: absolute;
  inset: 0;
  background: var(--verlauf);
  background-size: 100% 300%;
  transform: scaleY(var(--p, 0));
  transform-origin: 50% 0;
}
.etappe {
  position: relative;
  display: grid;
  gap: 16px;
}
.etappe-punkt {
  position: absolute;
  left: calc(-1 * clamp(64px, 9vw, 110px) + clamp(23px, 4vw, 39px) + 1.5px);
  top: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-1);
  font-family: var(--schrift-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--grau);
  transform: translateX(-50%);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--feder);
}
.etappe.ist-aktiv .etappe-punkt {
  background: var(--verlauf);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(84, 105, 255, 0.8);
  transform: translateX(-50%) scale(1.06);
}
.etappe-zeit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--akzent-text);
}
.etappe h2 {
  font-family: var(--schrift-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.etappe > p {
  max-width: 62ch;
  color: var(--tinte-2);
  font-size: 1.05rem;
}
.check-liste {
  display: grid;
  gap: 10px;
}
.check-liste li {
  display: flex;
  gap: 12px;
}
.check-liste .i {
  margin-top: 0.22em;
  color: var(--gruen);
}
.zwei-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.box {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border-radius: var(--r-m);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.box h3 {
  font-family: var(--schrift-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.box p {
  color: var(--grau);
}
.box-markiert {
  box-shadow: inset 0 0 0 1.5px var(--blau);
  background: linear-gradient(160deg, rgba(63, 187, 255, 0.08), rgba(122, 66, 255, 0.06)), var(--flaeche);
}
.box-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
}
.box-kopf .rund-klein {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.box-markiert .rund-klein {
  background: var(--verlauf);
  color: #fff;
  box-shadow: none;
}
@media (max-width: 720px) {
  .zwei-spalten {
    grid-template-columns: 1fr;
  }
}

/* Grenze: ab hier verbindlich */
.grenze {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border-radius: var(--r-l);
  background: var(--tinte);
  color: #fff;
}
.grenze-punkt {
  position: absolute;
  left: calc(-1 * clamp(64px, 9vw, 110px) + clamp(23px, 4vw, 39px) + 1.5px);
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tinte);
  box-shadow: 0 0 0 6px var(--papier), 0 0 0 7px var(--linie-stark);
  transform: translate(-50%, -50%);
}
.grenze-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-family: var(--schrift-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.grenze-zeile .verlauf-text {
  font-weight: 800;
}
.grenze p {
  color: var(--nacht-grau);
  max-width: 64ch;
}

/* --------------------------------------------------------------------------
   Preise-Seite
   -------------------------------------------------------------------------- */

.preise-vier {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.preise-vier .preis-null {
  grid-row: span 2;
}
.preise-vier .preis-null .betrag {
  font-size: clamp(6rem, 14vw, 12.5rem);
  letter-spacing: -0.07em;
  line-height: 0.85;
}
@media (max-width: 920px) {
  .preise-vier {
    grid-template-columns: 1fr;
  }
  .preise-vier .preis-null {
    grid-row: auto;
  }
}
.inklusive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.inklusive li {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--r-m);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.inklusive li > .i {
  width: 28px;
  height: 28px;
  color: var(--akzent-text);
}
.inklusive b {
  font-family: var(--schrift-display);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.inklusive span {
  font-size: 0.93rem;
  color: var(--grau);
}
.hinweis-streifen {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--r-l);
  background: var(--verlauf-weich);
  box-shadow: inset 0 0 0 1px rgba(84, 105, 255, 0.18);
}
.hinweis-streifen p {
  flex: 1 1 360px;
  color: var(--tinte-2);
}

/* --------------------------------------------------------------------------
   Fragen-Seite – Filter
   -------------------------------------------------------------------------- */

.fragen-werkzeug {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 10px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(246, 246, 250, 0.86);
  box-shadow: inset 0 0 0 1px var(--linie);
  backdrop-filter: blur(14px);
}
.suchfeld {
  position: relative;
  flex: 1 1 260px;
  display: flex;
  align-items: center;
}
.suchfeld .i {
  position: absolute;
  left: 16px;
  color: var(--grau);
  pointer-events: none;
}
.suchfeld input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 46px;
  border: 0;
  border-radius: 14px;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-weight: 600;
  outline: none;
}
.suchfeld input:focus-visible {
  box-shadow: inset 0 0 0 2px var(--blau);
}
.fragen-gruppe {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.fragen-gruppe:first-of-type {
  margin-top: 0;
}
.fragen-gruppe h2 {
  font-family: var(--schrift);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
}
.fragen-leer {
  padding: 30px;
  border-radius: var(--r-m);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  text-align: center;
  color: var(--grau);
}
.fragen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.fragen-seite {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 24px);
}
.fragen-layout-links {
  grid-template-columns: 360px minmax(0, 1fr);
}
@media (max-width: 980px) {
  .fragen-layout-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .fragen-layout {
    grid-template-columns: 1fr;
  }
  .fragen-seite {
    position: static;
  }
}
mark {
  background: rgba(84, 105, 255, 0.18);
  color: inherit;
  border-radius: 4px;
  padding-inline: 2px;
}

/* --------------------------------------------------------------------------
   Anfrage-Seite – mehrstufiges Formular
   -------------------------------------------------------------------------- */

.anfrage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.formular-karte {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie), var(--schatten-2);
  overflow: hidden;
}
.stufen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 30px;
}
.stufe-knopf {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: default;
}
.stufe-knopf[data-erreichbar="true"] {
  cursor: pointer;
}
.stufe-balken {
  height: 5px;
  border-radius: 5px;
  background: var(--papier-2);
  overflow: hidden;
}
.stufe-balken i {
  display: block;
  height: 100%;
  background: var(--verlauf);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--aus);
}
.stufe-knopf[data-stand="aktiv"] .stufe-balken i,
.stufe-knopf[data-stand="fertig"] .stufe-balken i {
  transform: scaleX(1);
}
.stufe-knopf[data-stand="aktiv"] .stufe-balken i {
  transform: scaleX(0.5);
}
.stufe-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--grau);
}
.stufe-name small {
  display: block;
  font-family: var(--schrift-mono);
  font-size: 0.72rem;
  font-weight: 500;
}
.stufe-knopf[data-stand="aktiv"] .stufe-name {
  color: var(--tinte);
}

.formular-stufe {
  display: grid;
  gap: 20px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.js .formular-stufe:not(.ist-aktiv) {
  display: none;
}
/* Ohne JavaScript kein Absenden: Das Formular würde die Angaben sonst
   als Adresszeile an die eigene Seite schicken. */
.no-js .stufen,
.no-js .formular-aktionen {
  display: none;
}
.no-js .formular-stufe + .formular-stufe {
  margin-top: 36px;
}
.formular-stufe legend {
  padding: 0;
  margin-bottom: 12px;
  font-family: var(--schrift-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.stufe-intro {
  color: var(--grau);
}
.felder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feld {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.feld-voll {
  grid-column: 1 / -1;
}
.feld label,
.feld .feld-titel {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--tinte-2);
}
.feld label .pflicht {
  color: var(--akzent-text);
}
.feld label .optional {
  font-weight: 600;
  color: var(--grau);
}
.feld input,
.feld textarea {
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--linie);
  font-size: 1rem;
  line-height: 1.45;
  outline: none;
  transition: box-shadow 0.25s, background-color 0.25s;
}
.feld textarea {
  resize: vertical;
  min-height: 130px;
}
.feld input::placeholder,
.feld textarea::placeholder {
  color: #8b8ba3;
}
.feld input:focus,
.feld textarea:focus {
  background: var(--flaeche);
  box-shadow: inset 0 0 0 2px var(--blau), 0 0 0 5px rgba(84, 105, 255, 0.12);
}
.feld [aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--fehler);
}
.feld-hilfe {
  font-size: 0.82rem;
  color: var(--grau);
}
.zaehler {
  justify-self: end;
  font-family: var(--schrift-mono);
  font-size: 0.75rem;
  color: var(--grau);
}
.bausteine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bausteine .chip span {
  min-height: 38px;
  font-size: 0.85rem;
}
.bausteine .chip input:checked + span::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.honig {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formular-aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--linie);
}
.formular-aktionen .rechts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.formular-fehler {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(196, 38, 79, 0.08);
  box-shadow: inset 0 0 0 1px rgba(196, 38, 79, 0.25);
  color: #8f1236;
  font-weight: 600;
  font-size: 0.93rem;
}
.datenschutz-hinweis {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--grau);
}
.datenschutz-hinweis .i {
  margin-top: 0.2em;
  color: var(--akzent-text);
}
.datenschutz-hinweis a {
  color: var(--tinte);
  font-weight: 700;
}
.btn .dreht {
  animation: drehen 0.9s linear infinite;
}

.erfolg {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(30px, 6vw, 70px) 10px;
  text-align: center;
}
.erfolg[hidden] {
  display: none;
}
.erfolg svg.haken-gross {
  width: 92px;
  height: 92px;
  overflow: visible;
}
.erfolg svg.haken-gross circle {
  fill: rgba(15, 155, 114, 0.1);
  stroke: var(--gruen);
  stroke-width: 2.5;
}
.erfolg svg.haken-gross path {
  fill: none;
  stroke: var(--gruen);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: zeichnen 0.7s var(--aus) 0.2s forwards;
}
@keyframes zeichnen {
  to {
    stroke-dashoffset: 0;
  }
}
.erfolg h2 {
  font-family: var(--schrift-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  outline: none;
}
.erfolg p {
  max-width: 44ch;
  color: var(--tinte-2);
}
.konfetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.konfetti i {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 9px;
  height: 14px;
  border-radius: 3px;
  background: var(--farbe);
  animation: konfetti 1.6s cubic-bezier(0.15, 0.7, 0.3, 1) forwards;
}
@keyframes konfetti {
  to {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}

.anfrage-seite {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 24px);
  display: grid;
  gap: 16px;
}
.naechstes {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r-l);
  background: var(--tinte);
  color: #fff;
}
.naechstes h2 {
  font-family: var(--schrift-display);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.naechstes ol {
  display: grid;
  gap: 16px;
  counter-reset: n;
}
.naechstes li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 14px;
  counter-increment: n;
}
.naechstes li::before {
  content: counter(n);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 0.9rem;
}
.naechstes li:nth-child(2)::before {
  background: var(--verlauf);
}
.naechstes b {
  font-weight: 800;
}
.naechstes span {
  font-size: 0.9rem;
  color: var(--nacht-grau);
}
.versprechen {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.versprechen li {
  display: flex;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.versprechen .i {
  margin-top: 0.2em;
  color: var(--gruen);
}
.direkt {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--r-l);
  background: var(--verlauf-weich);
  box-shadow: inset 0 0 0 1px rgba(84, 105, 255, 0.16);
}
.direkt p {
  font-size: 0.92rem;
  color: var(--tinte-2);
}
.direkt a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}
.direkt a:hover {
  text-decoration: underline;
}
@media (max-width: 980px) {
  .anfrage-layout {
    grid-template-columns: 1fr;
  }
  .anfrage-seite {
    position: static;
  }
}
@media (max-width: 600px) {
  .felder {
    grid-template-columns: 1fr;
  }
  .formular-aktionen .rechts {
    width: 100%;
  }
  .formular-aktionen .rechts .btn {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Rechtstexte & Fehlerseite
   -------------------------------------------------------------------------- */

.rechtstext {
  max-width: 760px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  color: var(--tinte-2);
}
.rechtstext h2 {
  margin: 2.4em 0 0.7em;
  font-family: var(--schrift-display);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--tinte);
}
.rechtstext h2:first-child {
  margin-top: 0;
}
.rechtstext p {
  margin-bottom: 1em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.fehlerseite {
  min-height: 70vh;
  display: grid;
  align-content: center;
}
.fehler-code {
  font-family: var(--schrift-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fehler-varianten [data-fall] {
  display: grid;
  gap: 24px;
}
.fehler-varianten [data-fall]:not(.ist-aktiv) {
  display: none;
}

/* --------------------------------------------------------------------------
   Seitenübergänge (Chrome, Edge, Safari 18+). Andere Browser ignorieren das.
   -------------------------------------------------------------------------- */

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-raus 0.28s var(--aus) both;
}
::view-transition-new(root) {
  animation: vt-rein 0.5s var(--aus) both;
}
@keyframes vt-raus {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes vt-rein {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* --------------------------------------------------------------------------
   Weniger Bewegung, wenn das System es wünscht
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .wort-innen,
  .countdown .ziffer b {
    transform: none;
  }
  .laufband-spur {
    animation: none;
    flex-wrap: wrap;
  }
  .inhalt-demo .feld span {
    animation: none !important;
    clip-path: none;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
