/* moodo auf dem Webspace: die Startseite der Plattform ohne React. Werte 1:1 aus globals.css, Header, SlideNav,
   Wordmark, Hero, HeroDeck, SplitChars, MoodChip, HeroSteps, StepArt, LegalPage und Footer. */
@font-face {
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("questrial-start.woff2") format("woff2");
}

:root {
  --paper: #f2f3f6;
  --surface: #ffffff;
  --ink: #12132b;
  /* Schrift auf der Farbe der Stimmung: bei allen sechs Farben weiß (seit 12.11.2026) */
  --on-mood: #fff;
  --ink-hover: #2a2c55;
  --ink-soft: #595c75;
  --line: #dcdfe7;
  --line-strong: #c3c7d4;
  --mood: #19c48e;
  --green: #19c48e;
  --orange: #ff6a3d;
  --tone-lilac: #ebe4ff;
  --tone-sky: #dceaff;
  --tone-sun: #fff1c2;
  --tone-apricot: #ffc19c;
  --tone-lime: #f1ffc9;
  --tone-mint: #dbf4e6;
  --radius-xl: 32px;
  --gutter: clamp(16px, 4.2vw, 60px);
  --max: 2560px;
  --headline-size: clamp(3.25rem, 9vw, 8rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Questrial", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-synthesis-weight: none;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-weight: inherit;
}

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

::selection {
  background: var(--ink);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 1rem;
  white-space: nowrap;
  transition:
    background-color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    scale 0.3s var(--ease-out);
}

.btn:active {
  scale: 0.97;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mood);
  transition: background-color 0.9s var(--ease-out);
}

/* Beim Überfahren bleiben die Knöpfe in ihrer Farbe: der dunkle wird etwas heller, der helle bekommt einen dunklen
   Rand. Der Punkt behält die Farbe der Stimmung. */
.btn-primary:hover {
  background: var(--ink-hover);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.6);
}

.btn-deal {
  border: 1.5px solid var(--mood);
  transition:
    background-color 0.3s var(--ease-out),
    border-color 0.9s var(--ease-out),
    color 0.3s var(--ease-out),
    scale 0.3s var(--ease-out);
}

.btn-deal:hover {
  border-color: var(--mood);
  background: var(--mood);
  color: var(--on-mood);
}

@media (hover: hover) {
  .btn-zoom:hover {
    scale: 1.04;
  }
}

.btn-zoom:active {
  scale: 0.97;
}

@media (max-width: 420px) {
  .btn {
    gap: 10px;
    padding: 0 20px;
  }
}

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

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: top 0.3s var(--ease-out);
}

.skip:focus {
  top: 16px;
}

/* Logo: die beiden o fallen beim Laden nacheinander ins Wort */
.wm {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;
  -webkit-text-stroke: 0.035em currentColor;
}

.wm-o {
  display: inline-block;
  transform-origin: 50% 100%;
}

/* Die Buchstaben kommen aus data-c: Logos sind von der Kontrastregel ausgenommen (WCAG 1.4.3), Prüfwerkzeuge wie
   Lighthouse wissen das nicht und werten das orange Logo in der Fußzeile sonst als zu blassen Text. Der Link nennt
   „moodo“ für Screenreader. */
.wm [data-c]::before {
  content: attr(data-c);
}

/* Kopfzeile */
.hd {
  --glass: rgb(255 255 255 / 0.88);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  pointer-events: none;
}

.hd-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 16px var(--gutter);
}

.hd-in > * {
  pointer-events: auto;
}

.hd-logo {
  position: relative;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 18px;
  margin-left: -18px;
  border-radius: 999px;
  transition:
    background-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.hd-logo [data-bounce] {
  animation: o-drop 1.1s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.5s + var(--n) * 0.22s) both;
}

.hd-logo:hover [data-bounce] {
  animation:
    o-drop 1.1s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.5s + var(--n) * 0.22s) both,
    o-hop 0.7s cubic-bezier(0.3, 0.7, 0.4, 1) calc(var(--n) * 0.12s);
}

@keyframes o-drop {
  0% {
    opacity: 0;
    transform: translateY(-160%);
  }
  15% {
    opacity: 1;
  }
  45% {
    transform: translateY(0) scale(1.18, 0.8);
  }
  62% {
    transform: translateY(-38%) scale(0.94, 1.08);
  }
  78% {
    transform: translateY(0) scale(1.08, 0.92);
  }
  89% {
    transform: translateY(-9%);
  }
  100% {
    transform: none;
  }
}

@keyframes o-hop {
  0%,
  100% {
    transform: none;
  }
  25% {
    transform: scale(1.14, 0.84);
  }
  55% {
    transform: translateY(-45%) scale(0.94, 1.08);
  }
  82% {
    transform: scale(1.08, 0.92);
  }
}

.hd[data-scrolled="true"] .hd-logo,
.hd[data-menu="true"] .hd-logo {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(18 19 43 / 0.06);
}

.hd-dock {
  position: absolute;
  top: var(--dock-top);
  left: var(--nav-left);
  display: none;
  width: var(--nav-width);
  height: var(--dock-height);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(18 19 43 / 0.06);
  pointer-events: none;
  transition:
    left 0.7s var(--ease-out),
    width 0.7s var(--ease-out),
    box-shadow 0.7s var(--ease-out);
}

.hd[data-dock] .hd-dock {
  display: block;
}

.hd[data-dock] .hd-nav {
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hd[data-dock][data-scrolled="true"] .hd-dock {
  left: var(--dock-left);
  width: var(--dock-width);
  box-shadow:
    inset 0 0 0 1px rgb(18 19 43 / 0.06),
    0 14px 34px -20px rgb(18 19 43 / 0.4);
}

.hd[data-dock][data-scrolled="true"] .hd-logo {
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(var(--logo-x));
}

.hd .hd-cta {
  position: relative;
  transform-origin: left center;
  transition:
    background-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    scale 0.3s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.hd[data-dock][data-scrolled="true"] .hd-cta {
  transform: translateX(var(--cta-x)) scale(var(--cta-scale));
}

/* Zoom beim Überfahren aus der Mitte: Der Knopf wächst wegen transform-origin (fürs Andocken) von der linken Kante aus,
   translateX(-2%) rückt ihn um den halben Zuwachs zurück. Angedockt gilt dasselbe innerhalb der Verschiebung, so
   wandert er nicht zur Seite. Beim Drücken umgekehrt mit 0,97. */
@media (hover: hover) {
  .hd .hd-cta:hover {
    scale: 1;
    transform: translateX(-2%) scale(1.04);
    transition:
      background-color 0.3s var(--ease-out),
      color 0.3s var(--ease-out),
      transform 0.3s var(--ease-out);
  }

  .hd[data-dock][data-scrolled="true"] .hd-cta:hover {
    transform: translateX(var(--cta-x)) scale(var(--cta-scale)) translateX(-2%) scale(1.04);
  }
}

.hd .hd-cta:active {
  scale: 1;
  transform: translateX(1.5%) scale(0.97);
}

.hd[data-dock][data-scrolled="true"] .hd-cta:active {
  transform: translateX(var(--cta-x)) scale(var(--cta-scale)) translateX(1.5%) scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .hd-dock,
  .hd-logo,
  .hd .hd-cta {
    transition: none;
  }
}

/* Navigation mit Schieber */
.hd-nav {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(18 19 43 / 0.06);
  /* Eigener Stapelkontext: Schieber unten, Links darüber, auch in Safari (wie components/SlideNav.module.css) */
  isolation: isolate;
  touch-action: pan-y;
}

.sn-thumb {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition:
    translate 0.5s var(--ease-out),
    width 0.5s var(--ease-out),
    scale 0.35s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    opacity 0.25s var(--ease-out);
}

.sn-thumb[data-visible] {
  opacity: 1;
}

.hd-nav[data-dragging],
.hd-nav[data-dragging] .sn-link {
  cursor: grabbing;
}

.hd-nav[data-dragging] .sn-thumb {
  box-shadow: 0 8px 18px -10px rgb(18 19 43 / 0.45);
  transition:
    width 0.2s var(--ease-out),
    scale 0.12s linear,
    box-shadow 0.3s var(--ease-out);
}

/* Eigene Grafikebene über dem Schieber, sonst malt Safari den gleitenden Schieber über den Text */
.sn-link {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9375rem;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
  .sn-thumb {
    transition: opacity 0.2s linear;
  }
}

.hd-menu {
  display: none;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9375rem;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(18 19 43 / 0.08);
}

.hd-mob {
  display: none;
}

.hd-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.hd-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    translate 0.4s var(--ease-out),
    rotate 0.4s var(--ease-out);
}

.hd-icon i:first-child {
  top: 1px;
}

.hd-icon i:last-child {
  bottom: 1px;
}

.hd[data-menu="true"] .hd-icon i:first-child {
  translate: 0 4px;
  rotate: 45deg;
}

.hd[data-menu="true"] .hd-icon i:last-child {
  translate: 0 -4px;
  rotate: -45deg;
}

@media (max-width: 960px) {
  .hd-nav,
  .hd-dock {
    display: none;
  }

  .hd-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 18px;
  }

  .hd-mob {
    display: grid;
    grid-template-rows: 0fr;
    padding-inline: var(--gutter);
    transition: grid-template-rows 0.55s var(--ease-out);
    pointer-events: auto;
  }

  .hd[data-menu="true"] .hd-mob {
    grid-template-rows: 1fr;
  }

  .hd-mob-in {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 30px 60px -34px rgb(18 19 43 / 0.4);
  }

  .hd-mob-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }

  .hd-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 12px 0 24px;
    border-radius: 999px;
    background: var(--link-tone);
    font-size: 1.625rem;
    letter-spacing: -0.02em;
  }

  .hd-mob-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface);
    transition: rotate 0.4s var(--ease-out);
  }

  .hd-mob-arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    rotate: 45deg;
    translate: -2px 0;
  }

  .hd-mob-link:active .hd-mob-arrow {
    rotate: 90deg;
  }

  .hd-mob-card .hd-mob-cta {
    height: 60px;
    margin-top: 4px;
  }

  .hd-mob-card > a {
    opacity: 0;
    translate: 0 14px;
    transition:
      opacity 0.45s var(--ease-out),
      translate 0.6s var(--ease-out),
      background-color 0.3s var(--ease-out),
      scale 0.3s var(--ease-out);
    transition-delay: calc(var(--i) * 45ms);
  }

  .hd[data-menu="true"] .hd-mob-card > a {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .hd-mob,
  .hd-mob-card > a,
  .hd-icon i {
    transition: none;
  }
}

@media (max-width: 560px) {
  .hd-cta {
    display: none;
  }
}

/* Hero */
.hero {
  --card-w: clamp(240px, 26.25vw, 425px);
  /* Seit 6.11.2026 wie in components/Hero.module.css: der Stapel läuft nie in die Headline, rechts höchstens bis zum Rand */
  --deck-clear: calc(var(--gutter) + 48.3vw + 24px + 0.83 * var(--card-w));
  --deck-max: calc(100% - 0.86 * var(--card-w));
  --deck-left: min(var(--deck-max), max(72%, var(--deck-clear), calc(var(--gutter) + 722px + 0.8 * var(--card-w))));
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(760px, 100svh);
  padding-block: 96px 48px;
  overflow: clip;
}

@media (min-width: 821px) and (max-width: 1399px) {
  .hero {
    --deck-left: min(var(--deck-max), max(72%, var(--deck-clear)));
  }
}

.hero-content {
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: -12vw;
  z-index: -1;
  width: min(88vw, 1360px);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background-color: var(--mood);
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.45) 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.45) 45%, transparent 100%);
  transition: background-color 1.2s var(--ease-out);
}

@media (max-width: 820px) {
  .hero-glow {
    top: calc(88px + 46vw);
    right: auto;
    left: 50%;
    width: 165vw;
    translate: -50% -50%;
  }
}

.hero-title {
  position: relative;
  z-index: 2;
  /* Seit 30.10.2026 „Deine neue Website. In wenigen Minuten befüllt.“. Seit 6.11.2026 noch einmal kleiner (vorher 5.1vw),
     damit „befüllt“ nicht mehr über die linke Karte des Stapels läuft (Wunsch des Betreibers) */
  font-size: clamp(2.6rem, 4.4vw, 5.4rem);
  pointer-events: none;
}

.hero-line {
  display: block;
  white-space: normal;
}

/* Über der Headline, wie auf der Plattform (components/Hero.module.css, kicker) */
.hero-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  margin-bottom: 22px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: box-shadow 0.3s var(--ease-out);
}

.hero-kicker:hover {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.hero-kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mood);
}

/* Buchstaben: beim Laden hoch gestreckt herein */
.w {
  display: inline-block;
  white-space: nowrap;
}

.c {
  display: inline-block;
  transform-origin: 50% 100%;
  animation: stretch-in 1.15s cubic-bezier(0.2, 0.9, 0.25, 1) both;
  animation-delay: calc(0.12s + var(--i) * 26ms);
}

@keyframes stretch-in {
  from {
    opacity: 0;
    transform: scaleY(2.4);
  }
  35% {
    opacity: 1;
  }
}

/* Zwei Knöpfe unter der Headline, wo bis 20.11.2026 die Stimmungen standen (wie .actions in components/Hero.module.css) */
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

@keyframes appear {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 164px;
  animation: appear 1s var(--ease-out) 0.8s both;
}

.hero-intro {
  max-width: 50ch;
}

.hero-intro p {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* Hervorgehoben nur dunkler, ohne künstlich verdickte Questrial (wie .intro strong in components/Hero.module.css) */
.hero-intro strong {
  color: var(--ink);
  font-weight: inherit;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: calc(96px + 86vw);
  }

  .hero-title {
    font-size: clamp(2.2rem, 9.4vw, 4.25rem);
  }

  .hero-line {
    white-space: normal;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
  }
}

/* Am Handy beide Knöpfe in einer Zeile wie auf der Plattform (.actions in components/Hero.module.css, seit 20.11.2026) */
@media (max-width: 430px) {
  .hero-actions {
    gap: 8px;
  }

  .hero-actions > a {
    flex: 1 1 auto;
    padding-inline: 14px;
    font-size: min(1rem, 4.1vw);
  }
}

/* Unter 350 px (iPhone SE der ersten Reihe) reicht es nur mit noch etwas weniger Innenabstand */
@media (max-width: 349px) {
  .hero-actions > a {
    padding-inline: 10px;
  }
}

/* „Rabatt erspielen“ im Hero pulsiert wie auf der Plattform (.deal und .dealRing in components/Hero.module.css, dort die
   Begründung für die Flächen statt eines box-shadow); hält beim Darüberfahren und außerhalb des Bildschirms an */
.hero-deal {
  position: relative;
  animation: deal-pulse 2.6s var(--ease-out) infinite;
}

.hero-deal:hover,
.hero-deal:focus-visible {
  animation: none;
}

@keyframes deal-pulse {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.035);
  }

  55%,
  100% {
    transform: scale(1);
  }
}

.hero-deal-ring {
  --ring: 12px;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  animation: deal-ring 2.6s var(--ease-out) infinite;
}

.hero-deal-ring > span {
  position: absolute;
  inset: calc(-1 * (var(--ring) + 2px));
  padding: calc(var(--ring) + 2px);
  border-radius: 999px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}

.hero-deal-ring > span::before,
.hero-deal-ring > span::after,
.hero-deal-ring > span > span {
  content: "";
  position: absolute;
  inset: calc(var(--ring) + 1px);
  border-radius: 999px;
  background: var(--mood);
  animation: deal-ring-grow 2.6s var(--ease-out) infinite;
}

.hero-deal-ring > span::before,
.hero-deal-ring > span::after {
  right: auto;
  aspect-ratio: 1;
}

.hero-deal-ring > span::after {
  right: calc(var(--ring) + 1px);
  left: auto;
}

.hero-deal-ring > span > span {
  animation-name: deal-ring-stretch;
}

@keyframes deal-ring-grow {
  0% {
    transform: scale(1);
  }

  55%,
  100% {
    transform: scale(1.4615);
  }
}

@keyframes deal-ring-stretch {
  0% {
    transform: scale(1, 1);
  }

  55%,
  100% {
    transform: scale(1, 1.4615);
  }
}

@keyframes deal-ring {
  0% {
    opacity: 0.55;
  }

  55%,
  100% {
    opacity: 0;
  }
}

.hero-deal:hover > .hero-deal-ring,
.hero-deal:focus-visible > .hero-deal-ring {
  display: none;
}

.hero[data-still] .hero-deal,
.hero[data-still] .hero-deal-ring,
.hero[data-still] .hero-deal-ring > span::before,
.hero[data-still] .hero-deal-ring > span::after,
.hero[data-still] .hero-deal-ring > span > span {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero-deal {
    animation: none;
  }

  .hero-deal-ring {
    display: none;
  }
}

/* Kartenstapel: nur ein Ankerpunkt, die Karten sitzen um ihn herum */
.deck {
  position: absolute;
  top: 50%;
  left: var(--deck-left, 72%);
  z-index: 1;
  width: 0;
  height: 0;
}

.dk {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: var(--card-w, clamp(240px, 26.25vw, 425px));
  translate: -50% -50%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  outline: none;
}

.dk[data-dragging] {
  cursor: grabbing;
}

.dk-in {
  padding: 10px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgb(18 19 43 / 0.05),
    0 30px 60px -32px rgb(18 19 43 / 0.4);
  transition: box-shadow 0.3s var(--ease-out);
}

.dk[data-dragging] .dk-in {
  box-shadow:
    0 0 0 1px rgb(18 19 43 / 0.05),
    0 50px 80px -36px rgb(18 19 43 / 0.5);
}

.dk:focus-visible .dk-in {
  box-shadow:
    0 0 0 3px var(--ink),
    0 30px 60px -32px rgb(18 19 43 / 0.4);
}

.dk-prev {
  overflow: hidden;
  border-radius: 18px;
  pointer-events: none;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fff;
}

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

.dk-name {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.dk-mood {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.8125rem;
}

.dk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (max-width: 820px) {
  .deck {
    top: calc(88px + 46vw);
    left: 50%;
  }

  .dk {
    width: 54vw;
  }

  .dk-name {
    font-size: 1rem;
  }
}

/* Die vier Schritte als Diashow unten rechts */
.st {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  width: min(460px, 100%);
  padding: 12px 12px 14px;
  border-radius: 26px;
  background: rgb(255 255 255 / 0.74);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.9),
    0 24px 60px -36px rgb(18 19 43 / 0.45);
  transition: scale 0.3s var(--ease-out);
}

@media (hover: hover) {
  .st:hover {
    scale: 1.03;
  }
}

.st:active {
  scale: 0.98;
}

.st-prog {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
  padding: 0 4px;
}

.st-seg {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.st-seg::before,
.st-seg i {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
}

.st-seg::before {
  background: rgb(18 19 43 / 0.12);
}

.st-seg i {
  background: var(--mood);
  transform: scaleX(0);
  transform-origin: left;
  transition: background-color 0.9s var(--ease-out);
}

.st-seg[data-state="done"] i {
  transform: scaleX(1);
}

.st-seg[data-state="active"] i {
  animation: fill 6s linear forwards;
}

.st:hover .st-seg i,
.st:focus-within .st-seg i {
  animation-play-state: paused;
}

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

.st-slide {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  animation: enter 0.5s var(--ease-out) both;
}

@keyframes enter {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

.st-art {
  display: grid;
  flex: none;
  place-items: center;
  width: 108px;
  height: 72px;
  border-radius: 14px;
}

.st-art svg {
  width: 100%;
  height: 100%;
}

.st-art .l {
  stroke: #12132b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.st-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.st-count {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.st-title {
  line-height: 1.3;
}

.st-short {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.35;
}

.st-go {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.3s var(--ease-out);
}

.st-go svg {
  width: 20px;
  height: 20px;
}

.st-go::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.st:hover .st-go {
  background: var(--ink-hover);
}

@media (max-width: 820px) {
  .st {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st {
    transition: none;
  }

  .st-slide {
    animation: none;
  }

  /* Ohne Bewegung läuft die Diashow nicht von selbst weiter, ein Klick auf einen Balken wechselt den Schritt */
  .st-seg[data-state="active"] i {
    animation: none;
    transform: scaleX(1);
  }
}

/* Impressum und Datenschutz */
.lp {
  padding-block: 132px clamp(96px, 12vw, 160px);
}

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
}

.lp-back::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 2px 0;
}

.lp-title {
  margin-top: 40px;
  font-size: var(--headline-size);
}

.lp-lead {
  max-width: 60ch;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.lp-body {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgb(18 19 43 / 0.06);
  line-height: 1.65;
}

.lp-body > section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

/* Fragen als Paare aus h3 und Antwort (Über moodo): die erste Frage bündig mit der Überschrift, danach Abstand */
@media (min-width: 900px) {
  .lp-body > section > div > h3:first-child {
    margin-top: 0;
  }
}

.lp-body > section > div + div {
  margin-top: 28px;
}

/* Volle Breite (Betreiber am 19.10.2026): Die Karte reicht über den ganzen Inhaltsbereich, ab 900 px steht die Überschrift
   jedes Abschnitts links und der Text rechts daneben, so bleiben die Zeilen lesbar lang */
@media (min-width: 900px) {
  .lp-body > section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }

  .lp-body > section > * {
    grid-column: 2;
  }

  .lp-body > section > h2 {
    grid-column: 1;
    grid-row: 1 / span 99;
  }

  .lp-body > section > :nth-child(2) {
    margin-top: 0;
  }
}

.lp-body h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.lp-body h3 {
  margin-top: 22px;
  font-size: 1.125rem;
}

.lp-body p,
.lp-body ul,
.lp-body dl,
.lp-body address {
  margin-top: 12px;
}

.lp-body p,
.lp-body li {
  color: var(--ink-soft);
}

.lp-body strong {
  color: var(--ink);
  font-weight: inherit;
}

.lp-body address {
  color: var(--ink);
  font-style: normal;
}

.lp-body ul {
  display: grid;
  gap: 8px;
}

.lp-body li {
  position: relative;
  padding-left: 22px;
}

.lp-body li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mood);
  transition: background-color 0.9s var(--ease-out);
}

.lp-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s var(--ease-out);
}

.lp-body a:hover {
  text-decoration-color: currentColor;
}

.lp-row {
  display: grid;
  grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.lp-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.lp-row dt {
  color: var(--ink-soft);
}

.lp-row dd {
  color: var(--ink);
}

.lp-updated {
  margin-top: 18px;
  padding-left: 8px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

@media (max-width: 620px) {
  .lp-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Abschnitte unter dem Hero (abschnitte.html und assets/abschnitte.css kommen aus der Plattform). Hier nur, was es auf
   dem Webspace zusätzlich braucht. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Galerie: Bild statt Live-Vorschau, im Rahmen 16:10 wie auf der Plattform */
.dc-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: var(--surface);
}

/* Filterzeile der Galerie (seit 20.11.2026, abschnitte.mjs): führt auf die Übersicht. Die Suche geht mit Enter oder dem
   Pfeil, der an der Stelle des × der Plattform steht und wie das × erst mit Text erscheint, dunkel wie „Alle“ */
.ds-clear[data-search-go],
.ds-clear[data-search-go]:hover {
  background: var(--ink);
  color: #fff;
}

.ds-clear[data-search-go]:hover {
  scale: 1.06;
}

/* Mit Text im Feld fehlen die Zahlen in den Listen: Sie zählen alle Designs, eine Wahl dort nimmt die Suche aber mit
   (data-gesucht setzt seiten.js). „Alle“ führt zu allen Designs und behält seine Zahl */
[data-design-jump][data-gesucht] .df-count {
  display: none;
}

/* Ablauf ohne das Austeilen (keine Bewegung gewünscht oder kein Skript): am Desktop vier Karten nebeneinander statt
   eines Stapels in der Mitte */
@media (min-width: 900px) {
  .pr-stage:not([data-deal]) {
    min-height: 0;
    padding-inline: var(--gutter);
  }

  .pr-stage:not([data-deal]) .pr-trail {
    display: none;
  }

  .pr-stage:not([data-deal]) .pr-cards {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .pr-stage:not([data-deal]) .pr-card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }
}

/* Fußzeile: Fläche wie der Spielbereich, Schrift im Rot der Spielkugeln */
.ft {
  --red: #ff6a3d;
  --red-text: color-mix(in oklab, var(--red) 64%, var(--ink));
  border-top: 1px solid color-mix(in oklab, var(--red) 22%, transparent);
  background: var(--tone-sun);
  color: var(--red-text);
}

/* Seit 15.11.2026 als Übersicht aller Seiten, wie components/Footer.module.css: Logo und Satz links, rechts vier Gruppen
   mit den Links untereinander, durch feine Linien geteilt, unten Copyright und mowa.studio */
.ft-in {
  --red-line: color-mix(in oklab, var(--red) 24%, transparent);
  display: grid;
  grid-template-columns: minmax(14em, 1fr) minmax(0, 2.6fr);
  gap: 40px 56px;
  padding-block: 56px 28px;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ft-brand p {
  max-width: 15em;
}

.ft-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 0;
}

.ft-group {
  padding-left: 22px;
  border-left: 1px solid var(--red-line);
}

.ft-title {
  margin-bottom: 14px;
  color: color-mix(in oklab, var(--red) 42%, var(--ink));
  font-size: 0.875rem;
}

.ft-group ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ft-group a,
.ft-group button {
  text-align: left;
  overflow-wrap: break-word;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s var(--ease-out);
}

.ft-group a:hover,
.ft-group button:hover {
  text-decoration-color: currentColor;
}

.ft-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--red-line);
  font-size: 0.875rem;
}

.ft-logo {
  display: inline-flex;
  color: var(--red);
}

/* WhatsApp unten rechts, wie auf der Plattform (components/WhatsAppButton.module.css) */
.wa {
  position: fixed;
  right: max(16px, calc(var(--gutter) / 2));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1da851;
  color: #fff;
  box-shadow: 0 18px 40px -16px rgb(18 19 43 / 0.6);
  transition: scale 0.3s var(--ease-out);
}

.wa svg {
  width: 30px;
  height: 30px;
}

.wa-bubble {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.wa-phone {
  fill: currentColor;
}

.wa-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  white-space: nowrap;
  opacity: 0;
  translate: 8px -50%;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease-out),
    translate 0.25s var(--ease-out);
}

.wa:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wa:focus-visible .wa-label {
  opacity: 1;
  translate: 0 -50%;
}

@media (hover: hover) {
  .wa:hover {
    scale: 1.06;
  }

  .wa:hover .wa-label {
    opacity: 1;
    translate: 0 -50%;
  }
}

.ft-maker a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
  text-underline-offset: 3px;
}


/* Banner für die Zustimmung (assets/zustimmung.js), wie components/Consent.module.css: Keks als Sticker an der Ecke */
.zs {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: max(16px, calc(var(--gutter) / 2));
  z-index: 60;
  width: min(380px, calc(100% - 32px));
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgb(18 19 43 / 0.06),
    0 30px 70px -30px rgb(18 19 43 / 0.45);
  animation: zs-rein 0.7s var(--ease-out) both;
}

.zs-inner {
  display: grid;
  gap: 12px;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  padding: 22px 20px 18px;
}

.zs-cookie {
  position: absolute;
  top: -32px;
  right: 12px;
  width: 76px;
  rotate: -10deg;
  animation: zs-keks 0.9s 0.35s var(--ease-out) both;
  pointer-events: none;
}

.zs-cookie svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@keyframes zs-rein {
  from {
    opacity: 0;
    translate: 0 28px;
  }
}

@keyframes zs-keks {
  from {
    opacity: 0;
    scale: 0.6;
    rotate: 25deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zs,
  .zs-cookie {
    animation: none;
  }
}

.zs-title {
  max-width: calc(100% - 80px);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.zs-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.zs-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zs-options {
  display: grid;
  gap: 10px;
}

.zs-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.zs-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

.zs-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.zs-button {
  height: 44px;
  padding: 0 14px;
}

.zs-more {
  justify-self: start;
  color: var(--ink-soft);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zs-more:hover {
  color: var(--ink);
}

/* Seit 20.11.2026 kleiner (Wunsch des Betreibers): Am Handy deckte der Banner 57 % des ersten Bildschirms ab, auch die
   Headline. Der Text bleibt, wie er ist; kleiner sind Schrift, Abstände, Knöpfe und Keks */
@media (max-width: 560px) {
  .zs-inner {
    gap: 10px;
    padding: 18px 16px 14px;
  }

  .zs-cookie {
    top: -24px;
    right: 10px;
    width: 60px;
  }

  .zs-title {
    max-width: calc(100% - 62px);
    font-size: 1.125rem;
  }

  .zs-text,
  .zs-option,
  .zs-more {
    font-size: 0.8125rem;
  }
}

/* Mittlere Breiten: Logo und Satz in einer Reihe über den Gruppen */
@media (max-width: 1180px) {
  .ft-in {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ft-brand {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
  }

  .ft-brand p {
    max-width: none;
  }
}

/* Schmal: zwei Gruppen nebeneinander */
@media (max-width: 720px) {
  .ft-in {
    padding-block: 44px 24px;
  }

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

  .ft-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 0;
  }

  .ft-group {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
