/*
  PositiveLifeApps – Stylesheet
  ---------------------------------------------------------------
  Eine einzige CSS-Datei, keine Web-Fonts, keine externen Requests.
  Schrift: System-Font-Stack (SF Pro auf Apple-Geräten, Segoe UI auf
  Windows, Roboto auf Android).

  Zwei Farbwelten:
    - Studio (warm, hell/dunkel automatisch): Startseite, Rechtstexte
    - Ozean (immer dunkel): Sailforce-Seiten (body.theme-ocean)

  Animationen: nur transform/opacity. Bei prefers-reduced-motion ist
  alles statisch (ganz unten in dieser Datei).

  Inhalt
   1. Tokens          9. Geräte-Rahmen (iPhone/iPad)
   2. Basis          10. Sailforce (Ozean-Thema)
   3. Layout         11. Preise, Free/Pro, Sprachen
   4. Buttons/Chips  12. FAQ
   5. Header/Nav     13. Rechtstexte & Support
   6. Footer         14. Logo-Vergleichsseite
   7. Studio-Hero    15. Reveal & Keyframes
   8. Studio-Blöcke  16. Reduced Motion
*/

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Studio – warm */
  --bg: #fffbf7;
  --bg-elev: #ffffff;
  --bg-soft: #fff2e8;
  --ink: #17151f;
  --ink-2: #474355;
  --ink-3: #676275;
  --line: rgba(23, 21, 31, 0.1);
  --line-strong: rgba(23, 21, 31, 0.18);
  --accent-ink: #c0284a;
  --focus: #c0284a;

  --coral: #ff5a6e;
  --orange: #ff8a4c;
  --amber: #ffb940;
  --pink: #ff6fa0;
  --grad-text: linear-gradient(100deg, #d4245a 0%, #e5484d 45%, #c2560f 100%);
  --grad-warm: linear-gradient(100deg, #ff4f7b 0%, #ff7a45 50%, #ffb23e 100%);

  /* Ozean – Sailforce */
  --ocean-950: #020f1c;
  --ocean-900: #031526;
  --ocean-850: #041b31;
  --ocean-800: #06223d;
  --ocean-700: #0a3354;
  --teal: #22b8c8;
  --teal-bright: #5fd9e4;
  --deep: #0a4c78;
  --sf-blue: #2f7bff;
  --sf-red: #f03c3c;
  --sea-ink: #eaf6fa;
  --sea-ink-2: #b4cfdc;
  --sea-ink-3: #8fb0c1;
  --sea-line: rgba(180, 225, 240, 0.14);

  --shadow-sm: 0 1px 2px rgba(23, 21, 31, 0.06), 0 2px 8px rgba(23, 21, 31, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 21, 31, 0.05), 0 12px 32px -8px rgba(23, 21, 31, 0.14);
  --shadow-lg: 0 4px 12px rgba(23, 21, 31, 0.06), 0 32px 80px -24px rgba(23, 21, 31, 0.28);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 64px;

  --fs-display: clamp(2.6rem, 1.45rem + 5.1vw, 5.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.9vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e15;
    --bg-elev: #17161f;
    --bg-soft: #1c1a26;
    --ink: #f5f2ee;
    --ink-2: #cdc8d5;
    --ink-3: #a29dad;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --accent-ink: #ff8d9e;
    --focus: #ff8d9e;
    --grad-text: linear-gradient(100deg, #ff6f91 0%, #ff8a4c 50%, #ffc24a 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 32px 80px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------
   2. Basis
   --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: rgba(255, 90, 110, 0.25);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(760px + 2 * var(--gutter));
}

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 150px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
}

.section-head--center .eyebrow::before {
  display: none;
}

.h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.section-head .lead {
  margin-top: 20px;
}

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

.muted {
  color: var(--ink-3);
}

/* ---------------------------------------------------------------
   4. Buttons, Chips, Badges
   --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 24px -10px rgba(23, 21, 31, 0.45);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 16px 36px -12px rgba(23, 21, 31, 0.5);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* „Bald im App Store“ – bewusst kein offizielles Apple-Badge, nicht klickbar */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 22px 10px 16px;
  border-radius: 16px;
  background: #0b0b0f;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  cursor: default;
  user-select: none;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge__small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.store-badge__big {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  background: var(--bg-elev);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.chip svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--free {
  background: rgba(34, 184, 200, 0.16);
  color: #7fe3ec;
}

.tag--pro {
  background: linear-gradient(100deg, rgba(47, 123, 255, 0.28), rgba(240, 60, 60, 0.28));
  color: #fff;
}

/* ---------------------------------------------------------------
   5. Header & Navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled::before,
.site-header.is-open::before {
  opacity: 1;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  transition: transform 0.7s var(--ease-spring);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: rotate(90deg);
}

.wordmark__light {
  font-weight: 500;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--line);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--line);
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.lang-switch a {
  min-width: 38px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: var(--ink-3);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.is-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobil: ohne JS bleibt die Navigation einfach sichtbar (umbrechend). */
@media (max-width: 760px) {
  .brand {
    font-size: 1rem;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  html:not(.js) .site-header {
    height: auto;
  }

  html:not(.js) .nav-bar {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 12px var(--gutter) 28px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
  }

  .js-ready .main-nav {
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }

  .js .is-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .js-ready .is-open .main-nav {
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  }

  .js .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .js .nav-links a {
    display: block;
    padding: 14px 12px;
    border-radius: 14px;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
}

/* ---------------------------------------------------------------
   6. Footer
   --------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}

.footer-brand p {
  max-width: 32ch;
  margin-top: 16px;
  color: var(--ink-3);
}

.footer-col h2 {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

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

.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-3);
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fbf71;
  box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18);
}

/* ---------------------------------------------------------------
   7. Studio-Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
  text-align: center;
}

.aurora {
  position: absolute;
  inset: -20% -10% 0;
  z-index: -1;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
}

.aurora span:nth-child(1) {
  width: 62vmax;
  height: 62vmax;
  left: -18vmax;
  top: -14vmax;
  background: radial-gradient(closest-side, rgba(255, 111, 160, 0.55), rgba(255, 111, 160, 0));
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora span:nth-child(2) {
  width: 58vmax;
  height: 58vmax;
  right: -20vmax;
  top: -18vmax;
  background: radial-gradient(closest-side, rgba(255, 185, 64, 0.55), rgba(255, 185, 64, 0));
  animation: drift-b 30s ease-in-out infinite alternate;
}

.aurora span:nth-child(3) {
  width: 50vmax;
  height: 50vmax;
  left: 22%;
  top: 18vmax;
  background: radial-gradient(closest-side, rgba(255, 138, 76, 0.42), rgba(255, 138, 76, 0));
  animation: drift-c 34s ease-in-out infinite alternate;
}

.aurora span:nth-child(4) {
  width: 40vmax;
  height: 40vmax;
  right: 2%;
  top: 26vmax;
  background: radial-gradient(closest-side, rgba(95, 217, 228, 0.35), rgba(95, 217, 228, 0));
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}

@media (prefers-color-scheme: dark) {
  .aurora span {
    opacity: 0.38;
  }
}

/* Aurora läuft am unteren Rand weich aus (keine harte Kante zum nächsten Abschnitt) */
.hero .aurora,
.page-head .aurora {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

/* Feines Punkte-Raster über der Aurora – gibt Tiefe */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(23, 21, 31, 0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .hero::after {
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  }
}

.hero-mark {
  position: relative;
  width: clamp(88px, 12vw, 128px);
  height: clamp(88px, 12vw, 128px);
  margin: 0 auto 36px;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 76, 0.35), transparent);
  animation: glow 6s ease-in-out infinite alternate;
}

.hero-mark svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: breathe 7s ease-in-out 1.6s infinite alternate;
}

.petal {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: bloom 1.3s var(--ease-spring) both;
}

.petal:nth-child(1) { animation-delay: 0.1s; }
.petal:nth-child(2) { animation-delay: 0.22s; }
.petal:nth-child(3) { animation-delay: 0.34s; }
.petal:nth-child(4) { animation-delay: 0.46s; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-pill__dot {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: var(--fs-display);
  line-height: 1.0;
  letter-spacing: -0.045em;
}

.hero h1 .line {
  display: block;
}

.hero .lead {
  max-width: 40ch;
  margin: 28px auto 40px;
}

.hero .btn-row {
  justify-content: center;
}

/* Einblend-Animation beim Laden (ohne JS) */
.load-in {
  animation: rise 1s var(--ease) both;
}

.load-in--1 { animation-delay: 0.15s; }
.load-in--2 { animation-delay: 0.3s; }
.load-in--3 { animation-delay: 0.45s; }
.load-in--4 { animation-delay: 0.6s; }
.load-in--5 { animation-delay: 0.8s; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(48px, 7vw, 80px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.scroll-cue__line {
  position: relative;
  width: 2px;
  height: 44px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-warm);
  animation: cue 2.2s var(--ease) infinite;
}

/* ---------------------------------------------------------------
   8. Studio-Blöcke
   --------------------------------------------------------------- */

/* Sailforce-Bühne auf der Startseite */
.feature-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(34, 184, 200, 0.45), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(47, 123, 255, 0.3), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--ocean-800) 55%, var(--ocean-900) 100%);
  color: var(--sea-ink);
  box-shadow: var(--shadow-lg);
}

.feature-stage__grid {
  display: grid;
  gap: 40px;
  padding: clamp(32px, 6vw, 80px);
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .feature-stage__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-bottom: clamp(32px, 6vw, 80px);
    min-height: 640px;
  }
}

.feature-stage__copy {
  position: relative;
  z-index: 2;
}

.app-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 12px 28px -8px rgba(0, 0, 0, 0.55);
}

.app-id__name {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-id__sub {
  display: block;
  font-size: 0.9rem;
  color: var(--sea-ink-2);
}

.feature-stage h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.feature-stage p {
  color: var(--sea-ink-2);
  font-size: 1.075rem;
}

.feature-stage .lead {
  color: var(--sea-ink-2);
  margin: 20px 0 28px;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--sea-line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sea-ink);
}

.fact-list svg {
  width: 16px;
  height: 16px;
  color: var(--teal-bright);
}

.feature-stage .btn {
  --btn-bg: #fff;
  --btn-fg: var(--ocean-900);
}

.feature-stage__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 460px;
}

.phone-duo {
  position: relative;
  width: min(100%, 460px);
  height: clamp(380px, 95vw, 520px);
}

.phone-duo .phone-slot {
  position: absolute;
  bottom: -26%;
}

.phone-duo .phone-slot:nth-child(1) {
  left: 0;
  width: 52%;
  z-index: 1;
  bottom: -40%;
}

.phone-duo .phone-slot:nth-child(2) {
  right: 0;
  width: 58%;
  z-index: 2;
}

@media (min-width: 900px) {
  .phone-duo {
    height: 620px;
  }

  .phone-duo .phone-slot {
    bottom: auto;
    top: 10px;
  }

  .phone-duo .phone-slot:nth-child(1) {
    top: 80px;
    bottom: auto;
  }
}

.phone-duo .phone-slot:nth-child(1) .phone {
  transform: rotate(-6deg);
}

.phone-duo .phone-slot:nth-child(2) .phone {
  transform: rotate(4deg);
}

/* Wellen am unteren Rand */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(70px, 10vw, 140px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.waves svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  max-width: none;
  will-change: transform;
}

.waves .w1 { animation: wave 22s linear infinite; }
.waves .w2 { animation: wave 32s linear infinite reverse; }
.waves .w3 { animation: wave 46s linear infinite; }

/* Windlinien (wie in der App) */
.wind {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.wind span {
  position: absolute;
  top: -20%;
  width: 1.5px;
  height: clamp(60px, 9vw, 120px);
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  opacity: 0;
  will-change: transform, opacity;
  animation: wind 5.5s linear infinite;
}

.wind span:nth-child(1) { left: 8%; animation-delay: 0s; animation-duration: 5.2s; }
.wind span:nth-child(2) { left: 18%; animation-delay: 1.4s; animation-duration: 6.1s; }
.wind span:nth-child(3) { left: 27%; animation-delay: 3.1s; animation-duration: 4.8s; }
.wind span:nth-child(4) { left: 36%; animation-delay: 0.7s; animation-duration: 5.9s; }
.wind span:nth-child(5) { left: 44%; animation-delay: 2.3s; animation-duration: 5.1s; }
.wind span:nth-child(6) { left: 53%; animation-delay: 4.2s; animation-duration: 6.4s; }
.wind span:nth-child(7) { left: 61%; animation-delay: 1.1s; animation-duration: 4.9s; }
.wind span:nth-child(8) { left: 70%; animation-delay: 3.6s; animation-duration: 5.6s; }
.wind span:nth-child(9) { left: 78%; animation-delay: 0.4s; animation-duration: 6.2s; }
.wind span:nth-child(10) { left: 86%; animation-delay: 2.8s; animation-duration: 5.3s; }
.wind span:nth-child(11) { left: 94%; animation-delay: 1.9s; animation-duration: 5.8s; }
.wind span:nth-child(12) { left: 102%; animation-delay: 4.7s; animation-duration: 5s; }
.wind span:nth-child(13) { left: 13%; animation-delay: 5.1s; animation-duration: 6.6s; }
.wind span:nth-child(14) { left: 49%; animation-delay: 5.6s; animation-duration: 5.4s; }
.wind span:nth-child(15) { left: 74%; animation-delay: 6.2s; animation-duration: 6s; }
.wind span:nth-child(16) { left: 110%; animation-delay: 2s; animation-duration: 5.7s; }

/* Grundsätze – Bento-Kacheln */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 138, 76, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* Leitsatz: wichtigster Anspruch, über die volle Breite */
.tile--lead {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 90, 110, 0.08), rgba(255, 185, 64, 0.08)), var(--bg-elev);
}

.tile.tile--lead h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.03em;
}

.tile.tile--lead p {
  font-size: 1.0625rem;
  max-width: 62ch;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md);
}

.tile:hover::before {
  opacity: 1;
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease-spring);
}

.tile:hover .tile__icon {
  transform: rotate(-8deg) scale(1.08);
}

.tile__icon svg {
  width: 24px;
  height: 24px;
}

.tile h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

/* Über mich */
.about {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  /* Die rotierenden Orbit-Ebenen sind Quadrate: gedreht ragen ihre Ecken
     seitlich über den Viewport, iOS-Safari zoomt dann die ganze Seite heraus. */
  overflow-x: clip;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.orbit--2 {
  inset: 16%;
}

.orbit--3 {
  inset: 32%;
  background: radial-gradient(closest-side, rgba(255, 138, 76, 0.18), transparent);
  box-shadow: none;
}

.orbit__spin {
  position: absolute;
  inset: 0;
  animation: spin 40s linear infinite;
}

.orbit--2 .orbit__spin {
  animation-duration: 28s;
  animation-direction: reverse;
}

.orbit__dot {
  position: absolute;
  top: -7px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 90, 110, 0.16);
}

.orbit--2 .orbit__dot {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 185, 64, 0.2);
}

.about__mark {
  position: absolute;
  inset: 36%;
  animation: breathe 7s ease-in-out infinite alternate;
}

.about__mark svg {
  width: 100%;
  height: 100%;
}

.about__copy p {
  font-size: 1.125rem;
  color: var(--ink-2);
}

.about__text {
  margin-top: 24px;
}

.about__quote {
  margin: 32px 0 12px;
  padding-left: 20px;
  border-left: 3px solid var(--coral);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.signature__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #17151f;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.signature strong {
  display: block;
  color: var(--ink);
}

.signature span {
  font-size: 0.9rem;
  color: var(--ink-3);
}

/* Kontakt-Band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: clamp(24px, 4vw, 40px);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.cta-band .aurora {
  inset: -40% -20%;
}

.cta-band .aurora span {
  opacity: 0.5;
}

.cta-band h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 46ch;
  margin: 18px auto 32px;
  font-size: var(--fs-lead);
  color: color-mix(in srgb, var(--bg) 78%, transparent);
}

.cta-band .btn {
  --btn-bg: var(--bg);
  --btn-fg: var(--ink);
}

.mail-link {
  font-variant-ligatures: none;
}

/* ---------------------------------------------------------------
   9. Geräte-Rahmen – per CSS gezeichnet (keine Mockup-Bilder)
   --------------------------------------------------------------- */
.phone-slot {
  container-type: inline-size;
}

.phone {
  position: relative;
  padding: 3.4cqw;
  border-radius: 16.5cqw;
  background:
    linear-gradient(145deg, #4a5261 0%, #1d222b 22%, #0c0f14 60%, #2b313c 100%);
  box-shadow:
    inset 0 0 0 0.5cqw rgba(255, 255, 255, 0.07),
    inset 0 0 0 1.2cqw #06080b,
    0 0.6cqw 1.2cqw rgba(0, 0, 0, 0.3),
    0 12cqw 24cqw -8cqw rgba(0, 0, 0, 0.55);
}

/* Seitentasten */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 1.1cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #2a2f38, #555d6b);
}

.phone::before {
  left: -0.9cqw;
  top: 22%;
  height: 8%;
  box-shadow: 0 13cqw 0 #3a404b, 0 25cqw 0 #3a404b;
}

.phone::after {
  right: -0.9cqw;
  top: 30%;
  height: 13%;
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
  border-radius: 13.2cqw;
  background: #0a3b50;
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glanz über dem Display */
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.tablet-slot {
  container-type: inline-size;
}

.tablet {
  position: relative;
  padding: 2.4cqw;
  border-radius: 5.2cqw;
  background: linear-gradient(145deg, #4a5261 0%, #1d222b 25%, #0c0f14 60%, #2b313c 100%);
  box-shadow:
    inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.07),
    inset 0 0 0 0.9cqw #06080b,
    0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.tablet::after {
  content: "";
  position: absolute;
  right: 12%;
  top: -0.45cqw;
  width: 7%;
  height: 0.5cqw;
  border-radius: 1cqw 1cqw 0 0;
  background: #3a404b;
}

.tablet__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2064 / 2752;
  border-radius: 3cqw;
  background: #0a3b50;
}

.tablet__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tablet__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 35%);
  pointer-events: none;
}

.float {
  animation: float 7s ease-in-out infinite alternate;
}

.float--late {
  animation-delay: -3.5s;
}

.tilt {
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
}

/* ---------------------------------------------------------------
   10. Sailforce – Ozean-Thema
   --------------------------------------------------------------- */
.theme-ocean {
  --bg: var(--ocean-900);
  --bg-elev: rgba(255, 255, 255, 0.04);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --ink: var(--sea-ink);
  --ink-2: var(--sea-ink-2);
  --ink-3: var(--sea-ink-3);
  --line: var(--sea-line);
  --line-strong: rgba(180, 225, 240, 0.28);
  --accent-ink: var(--teal-bright);
  --focus: var(--teal-bright);
  --grad-text: linear-gradient(100deg, #7fe3ec 0%, #5fd9e4 30%, #7aa8ff 70%, #b9c9ff 100%);
  --grad-warm: linear-gradient(100deg, var(--teal) 0%, var(--sf-blue) 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
  background: var(--ocean-900);
}

.theme-ocean ::selection {
  background: rgba(34, 184, 200, 0.35);
}

.theme-ocean .btn {
  --btn-bg: #fff;
  --btn-fg: var(--ocean-900);
}

.theme-ocean .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sea-ink);
}

.theme-ocean .btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--sea-ink);
}

.theme-ocean .lang-switch a[aria-current="true"] {
  background: var(--sea-ink);
  color: var(--ocean-900);
}

.sf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(120px, 14vw, 200px);
  background:
    radial-gradient(90% 70% at 80% 10%, rgba(34, 184, 200, 0.42), transparent 60%),
    radial-gradient(70% 60% at 0% 90%, rgba(47, 123, 255, 0.28), transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--ocean-800) 55%, var(--ocean-900) 100%);
}

.sf-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

@media (min-width: 960px) {
  .sf-hero__grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.sf-hero h1 {
  font-size: clamp(2.5rem, 1.2rem + 4.1vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
}

.sf-hero h1 .line {
  display: block;
}

.sf-hero .lead {
  max-width: 36ch;
  margin: 26px 0 36px;
}

.sf-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.sf-hero__visual .phone-slot {
  width: min(72vw, 340px);
}

.sf-hero__glow {
  position: absolute;
  inset: 5% -10% -5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 217, 228, 0.35), transparent);
  animation: glow 6s ease-in-out infinite alternate;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(6, 34, 61, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  font-size: 0.875rem;
  font-weight: 650;
  color: #fff;
  white-space: nowrap;
}

.float-chip svg {
  width: 16px;
  height: 16px;
  color: var(--teal-bright);
}

.float-chip--1 {
  top: 14%;
  left: -2%;
  animation: float 6s ease-in-out infinite alternate;
}

.float-chip--2 {
  top: 46%;
  right: -4%;
  animation: float 7s ease-in-out -2s infinite alternate;
}

.float-chip--3 {
  bottom: 12%;
  left: 2%;
  animation: float 8s ease-in-out -4s infinite alternate;
}

@media (max-width: 480px) {
  .float-chip--1 { left: -4%; }
  .float-chip--2 { right: -6%; }
}

.app-id--hero {
  margin-bottom: 30px;
}

/* Fakten-Leiste */
.fact-strip {
  position: relative;
  z-index: 3;
  margin-top: -56px;
}

.fact-strip ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sea-line);
  box-shadow: 0 0 0 1px var(--sea-line), var(--shadow-md);
}

@media (min-width: 760px) {
  .fact-strip ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact-strip li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px;
  background: var(--ocean-850);
}

.fact-strip strong {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.02em;
}

.fact-strip span {
  font-size: 0.9rem;
  color: var(--sea-ink-3);
}

/* Zielgruppen */
.audience {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .audience {
    grid-template-columns: 1fr 1fr;
  }
}

.audience .tile {
  padding: clamp(28px, 4vw, 44px);
}

.audience .tile::before {
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(34, 184, 200, 0.16), transparent 45%);
}

.audience .tile h3 {
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
  margin-bottom: 14px;
}

.theme-ocean .tile__icon {
  background: rgba(34, 184, 200, 0.12);
  color: var(--teal-bright);
}

/* Scroll-Story: klebendes iPhone + Schritte */
.story {
  position: relative;
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .story {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 120px);
  }
}

.story__sticky {
  display: none;
}

@media (min-width: 960px) {
  .story__sticky {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 5vh);
    height: calc(100vh - var(--header-h) - 10vh);
    max-height: 760px;
  }

  .story__device {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .story__device .phone-slot {
    width: min(100%, 330px, calc((100vh - var(--header-h) - 12vh) * 0.46));
  }

  .story__device .phone__screen img {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
  }

  .story__device .phone__screen img.is-active {
    opacity: 1;
    transform: none;
  }

  .story__progress {
    position: absolute;
    left: 0;
    top: 50%;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .story__progress li {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: var(--sea-line);
    transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
    transform-origin: center;
  }

  .story__progress li.is-active {
    background: var(--teal-bright);
    transform: scaleY(1.5);
  }
}

.story__steps {
  display: grid;
  gap: clamp(64px, 10vw, 96px);
}

@media (min-width: 960px) {
  .story__steps {
    gap: 0;
    padding-block: 10vh;
  }

  .story-step {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.32;
    transition: opacity 0.5s var(--ease);
  }

  .story-step.is-active {
    opacity: 1;
  }

  .story-step .phone-slot {
    display: none;
  }
}

.story-step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sea-ink-3);
}

.story-step .tag {
  align-self: flex-start;
}

.story-step h3 {
  margin: 12px 0 14px;
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  letter-spacing: -0.035em;
}

.story-step p {
  max-width: 44ch;
  color: var(--sea-ink-2);
  font-size: 1.1rem;
}

.story-step .phone-slot {
  width: min(78vw, 320px);
  margin: 32px auto 0;
}

/* iPad-Bühne */
.ipad-stage {
  position: relative;
  display: grid;
  justify-items: center;
}

.ipad-stage .tablet-slot {
  width: min(100%, 600px);
  margin-top: clamp(32px, 5vw, 56px);
}

.ipad-stage__glow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 184, 200, 0.28), transparent);
  z-index: -1;
}

.section--deep {
  background: linear-gradient(180deg, var(--ocean-900) 0%, var(--ocean-850) 50%, var(--ocean-900) 100%);
}

/* Datenschutz-Block */
.privacy-card {
  position: relative;
  display: grid;
  gap: 32px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(34, 184, 200, 0.22), transparent 60%),
    var(--ocean-850);
  box-shadow: inset 0 0 0 1px var(--sea-line);
}

@media (min-width: 860px) {
  .privacy-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.privacy-card__icon {
  display: grid;
  place-items: center;
  width: clamp(88px, 12vw, 128px);
  height: clamp(88px, 12vw, 128px);
  border-radius: 32%;
  background: linear-gradient(145deg, rgba(34, 184, 200, 0.35), rgba(47, 123, 255, 0.25));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
}

.privacy-card__icon svg {
  width: 48%;
  height: 48%;
}

.privacy-card h2 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.privacy-card p {
  max-width: 60ch;
  color: var(--sea-ink-2);
  font-size: 1.1rem;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.note-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 820px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--sea-line);
  color: var(--sea-ink-2);
  font-size: 0.95rem;
}

.note-box svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: #ffc46b;
}

.note-box p {
  margin: 0;
}

/* Schluss-CTA */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(100px, 14vw, 180px) 0 clamp(160px, 18vw, 240px);
  text-align: center;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(34, 184, 200, 0.4), transparent 70%),
    linear-gradient(180deg, var(--ocean-900), var(--deep));
}

.final-cta h2 {
  font-size: var(--fs-display);
  letter-spacing: -0.05em;
  line-height: 1;
}

.final-cta p {
  max-width: 40ch;
  margin: 22px auto 36px;
  font-size: var(--fs-lead);
  color: var(--sea-ink-2);
}

.final-cta .app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
}

.theme-ocean .site-footer {
  background: var(--ocean-950);
  border-top-color: var(--sea-line);
}

/* ---------------------------------------------------------------
   11. Free/Pro, Preise, Sprachen
   --------------------------------------------------------------- */
.plans {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ocean-850);
  box-shadow: inset 0 0 0 1px var(--sea-line);
}

.plan h3 {
  margin: 16px 0 8px;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  letter-spacing: -0.035em;
}

.plan__sub {
  color: var(--sea-ink-2);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--sea-ink);
  line-height: 1.45;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 184, 200, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.5' fill='none' stroke='%237fe3ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.plan--pro .checklist li::before {
  background-color: rgba(255, 255, 255, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.checklist .both {
  color: var(--sea-ink-2);
}

/* Pro-Karte: rotierender Verlaufsrand (nur transform) */
.plan--pro {
  background: transparent;
  box-shadow: none;
}

.plan--pro::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 180%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, var(--teal), var(--sf-blue), #8a6bff, var(--sf-red), #ffb940, var(--teal));
  transform: translate(-50%, -50%) rotate(0deg);
  animation: spin-center 9s linear infinite;
}

.plan--pro::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) - 1.5px);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(47, 123, 255, 0.3), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(240, 60, 60, 0.16), transparent 60%),
    var(--ocean-850);
}

.pricing {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--ocean-850);
  box-shadow: inset 0 0 0 1px var(--sea-line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md);
}

.price-card--highlight {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(34, 184, 200, 0.25), transparent 70%),
    var(--ocean-800);
  box-shadow: inset 0 0 0 1.5px rgba(95, 217, 228, 0.55), var(--shadow-md);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ocean-950);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.price-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--sea-ink);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 6px;
}

.price strong {
  font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price span {
  color: var(--sea-ink-3);
  font-weight: 550;
}

.price-card__note {
  margin: 0 0 18px;
  font-weight: 650;
  color: var(--teal-bright);
  font-size: 0.95rem;
}

.price-card p {
  color: var(--sea-ink-2);
}

.price-card p:last-child {
  margin-bottom: 0;
}

.fine-print {
  max-width: 820px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sea-ink-3);
}

.lang-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.lang-cloud li {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--sea-line);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.4s var(--ease-spring), background-color 0.3s var(--ease);
}

.lang-cloud li:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(34, 184, 200, 0.16);
}

/* ---------------------------------------------------------------
   12. FAQ (details/summary, weiche Animation wo unterstützt)
   --------------------------------------------------------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  interpolate-size: allow-keywords;
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 620;
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent-ink);
}

.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 10v12M10 16h12' stroke='%23888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.45s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}

.faq details[open]::details-content {
  height: auto;
}

.faq details > div {
  padding: 0 4px 24px;
  color: var(--ink-2);
  max-width: 70ch;
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------
   13. Rechtstexte & Support
   --------------------------------------------------------------- */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-head .aurora span {
  opacity: 0.32;
}

.page-head h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.page-head p {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  max-width: 52ch;
}

.page-head .meta {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.doc-layout {
  display: grid;
  gap: 48px;
  padding-block: clamp(48px, 7vw, 96px);
}

@media (min-width: 1000px) {
  .doc-layout {
    grid-template-columns: 240px minmax(0, 720px);
    justify-content: space-between;
    gap: 80px;
  }
}

@media (min-width: 1000px) {
  .doc-layout--single {
    grid-template-columns: minmax(0, 1fr);
  }
}

.toc {
  font-size: 0.925rem;
}

@media (min-width: 1000px) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

.toc h2 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc a:hover,
.toc a.is-active {
  color: var(--ink);
  border-left-color: var(--coral);
}

@media (max-width: 999px) {
  .toc {
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
  }

  .toc ol {
    border-left: 0;
  }

  .toc a {
    padding-left: 0;
    border-left: 0;
  }
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose li::marker {
  color: var(--ink-3);
}

.prose strong {
  color: var(--ink);
}

.prose address {
  font-style: normal;
}

.card-note {
  margin: 0 0 32px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
}

.card-note p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: grid;
  gap: 4px;
  margin: 0 0 1em;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}

.contact-card p {
  margin: 0;
}

/* Support */
.help-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .help-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.help-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md);
}

.help-card strong {
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.help-card span {
  color: var(--ink-3);
  font-size: 0.95rem;
}

.help-card .tile__icon {
  margin-bottom: 10px;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Kopfbereich im Ozean-Stil für Support/404 */
.page-head--ocean {
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(34, 184, 200, 0.4), transparent 60%),
    linear-gradient(170deg, var(--deep), var(--ocean-900));
  color: var(--sea-ink);
  border-bottom: 0;
  --ink: var(--sea-ink);
  --ink-2: var(--sea-ink-2);
  --ink-3: var(--sea-ink-3);
}

.page-head--ocean .app-id {
  margin-bottom: 26px;
}

/* 404 */
.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found .big {
  font-size: clamp(5rem, 3rem + 12vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.cta-band .cta-band__mail,
.support-contact .cta-band__mail {
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
  font-variant-ligatures: none;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--bg-soft);
}

/* Support-Seite */
.support-prose {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.support-prose h2 {
  margin-top: 64px;
}

.support-prose > h2:first-child {
  margin-top: 0;
}

.faq--inline {
  max-width: none;
}

.support-contact {
  margin-top: 72px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(34, 184, 200, 0.25), transparent 70%),
    var(--ocean-850);
  box-shadow: inset 0 0 0 1px var(--sea-line);
}

.support-contact h2 {
  margin: 0 0 12px;
}

.support-contact > p:not(.cta-band__mail) {
  max-width: 52ch;
  margin: 0 auto 28px;
}

.logo-howto {
  margin-top: 64px;
}

.not-found .hero-mark {
  margin-bottom: 8px;
}

.not-found .big {
  margin: 0 0 8px;
}

.not-found h1 {
  font-size: var(--fs-h2);
}

.not-found .lead {
  margin: 16px auto 32px;
}

/* ---------------------------------------------------------------
   14. Logo-Vergleichsseite
   --------------------------------------------------------------- */
.logo-compare {
  display: grid;
  gap: 32px;
}

@media (min-width: 1100px) {
  .logo-compare {
    grid-template-columns: repeat(3, 1fr);
  }
}

.logo-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md);
}

.logo-card--chosen {
  box-shadow: inset 0 0 0 2px var(--coral), var(--shadow-md);
}

.logo-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 24px 26px 0;
}

.logo-card__head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-card__body {
  padding: 8px 26px 26px;
  color: var(--ink-2);
  font-size: 0.975rem;
}

.logo-swatch {
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 36px 20px;
}

.logo-swatch--light {
  background: #fffbf7;
  color: #17151f;
}

.logo-swatch--dark {
  background: #0f0e15;
  color: #f5f2ee;
}

.logo-swatch .big-mark {
  width: 132px;
  height: 132px;
}

.logo-sizes {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.logo-sizes img {
  flex: none;
}

.logo-sizes figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 0.72rem;
}

.logo-sizes figcaption {
  opacity: 0.7;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lockup img {
  width: 40px;
  height: 40px;
}

.fake-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px 10px 0 0;
  background: rgba(127, 127, 127, 0.14);
  font-size: 0.8rem;
}

.chosen-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #c0284a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   15. Reveal beim Scrollen & Keyframes
   --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}

.js [data-reveal="scale"] {
  transform: scale(0.94) translate3d(0, 24px, 0);
}

.js [data-reveal="left"] {
  transform: translate3d(-40px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(40px, 0, 0);
}

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

.js [data-delay="1"] { transition-delay: 0.08s; }
.js [data-delay="2"] { transition-delay: 0.16s; }
.js [data-delay="3"] { transition-delay: 0.24s; }
.js [data-delay="4"] { transition-delay: 0.32s; }
.js [data-delay="5"] { transition-delay: 0.4s; }
.js [data-delay="6"] { transition-delay: 0.48s; }

[data-parallax] {
  will-change: transform;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bloom {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-60deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes breathe {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.05) rotate(8deg); }
}

@keyframes glow {
  from { opacity: 0.6; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to { transform: translate3d(-10vmax, 8vmax, 0) scale(0.95); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.9); }
  to { transform: translate3d(6vmax, -8vmax, 0) scale(1.1); }
}

@keyframes float {
  from { transform: translate3d(0, -8px, 0); }
  to { transform: translate3d(0, 8px, 0); }
}

@keyframes wave {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes wind {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(17deg); }
  15% { opacity: 1; }
  75% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(-22vh, 72vh, 0) rotate(17deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-center {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes cue {
  0% { transform: translate3d(0, -100%, 0); }
  60%, 100% { transform: translate3d(0, 100%, 0); }
}

/* ---------------------------------------------------------------
   16. Reduced Motion – alles steht still, alles ist sichtbar
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

  .wind {
    display: none;
  }

  .story__device .phone__screen img {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .aurora,
  .waves,
  .wind,
  .scroll-cue {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---------------------------------------------------------------
   17. Kontaktformular (/kontakt/, /en/contact/)
   --------------------------------------------------------------- */
.contact-layout {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.contact-form {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.form-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-group legend,
.form-label {
  display: block;
  padding: 0;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.form-label small,
.form-hint {
  font-weight: 400;
  color: var(--ink-3);
}

.form-hint {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  gap: 28px;
}

@media (min-width: 680px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* mind. 16px, sonst zoomt iOS beim Fokussieren */
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-select {
  appearance: auto;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--ink-3);
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
  border-radius: var(--radius-sm);
}

/* Art: Radio-Buttons als große Auswahl-Chips */
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 560;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.choice:hover span {
  border-color: var(--ink-3);
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin: 0 0 8px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent-ink);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.form-alert[hidden] {
  display: none;
}

.form-submit {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.form-submit .btn {
  min-height: 52px;
}

.form-note {
  margin: 0;
  max-width: 60ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.form-note a {
  color: var(--ink-2);
}

.thanks-actions {
  margin-top: 32px;
}

/* Hinweis auf der Support-Seite */
.feedback-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 24px;
  padding: 22px clamp(20px, 4vw, 32px);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--sea-line);
}

.feedback-callout p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.feedback-callout strong {
  color: var(--ink);
}

/* Statistik-Opt-out: Formulare mit Buttons */
.stats-form {
  margin-top: 24px;
}

.stats-form--secondary {
  margin-top: 16px;
}

.stats-form--secondary .btn {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}
