/* ============================================================
   Repondo Landing — style.css
   Farben aus dem App-Design-Guide (Docs/design-guide.md):
   True Black Basis, #1C1C1E / #2C2C2E Ebenen, Orange #FF9F0A
   als einziges Markenelement.
   Schriften werden lokal gehostet (keine externen Requests).
   ============================================================ */

@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --black: #000000;
  --elev: #1c1c1e;
  --elev2: #2c2c2e;
  --orange: #ff9f0a;
  --orange-deep: #ff7a00;
  --text: #f5f5f7;
  --text-read: rgba(245, 245, 247, 0.74);
  --text-dim: rgba(245, 245, 247, 0.45);
  --border: rgba(255, 255, 255, 0.09);
  --green: #30d158;   /* nur funktional: Satz abgehakt (wie in der App) */
  --red: #ff453a;     /* nur funktional: Herzfrequenz (wie in der App) */

  /* In den Geräte-Mockups: exakter App-Akzent (Asset "AccentColor" #FC760E)
     und System-Orange für die Kalorien-Flamme — wie in der echten App. */
  --accent-app: #fc760e;
  --sys-orange: #ff9500;
  --fill-gray: rgba(120, 120, 128, 0.24); /* iOS/watchOS Button-/Feld-Fill */

  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --container: 1100px;
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
}

::selection {
  background: var(--orange);
  color: #000;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.95;
}

h2.display {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  margin-bottom: 1.1rem;
}

h2.display .accent,
h1.display .accent {
  color: var(--orange);
}

.section-lead {
  color: var(--text-read);
  max-width: 34rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 30px;
  width: auto;
}

.header-nav {
  display: none;
  gap: 1.75rem;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-read);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--text);
}

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.lang-switch a,
.lang-switch span {
  text-decoration: none;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}

.lang-switch span[aria-current] {
  color: var(--text);
  background: var(--elev2);
}

.lang-switch a {
  color: var(--text-dim);
  transition: color 0.2s;
}

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

@media (min-width: 760px) {
  .header-nav {
    display: flex;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
}

/* dezentes orangenes Glimmen hinter dem Mockup — einziger Deko-Effekt */
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 0 50%;
  transform: translateX(-50%);
  width: min(720px, 95vw);
  height: 420px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 159, 10, 0.13) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero .container {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

h1.display {
  font-size: clamp(2.7rem, 10vw, 4.6rem);
  margin-bottom: 1.4rem;
}

.hero-lead {
  color: var(--text-read);
  font-size: clamp(1rem, 2.8vw, 1.13rem);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* App-Store-Badge (Coming soon, kein Link) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem 1.15rem;
  cursor: default;
  user-select: none;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  fill: var(--text);
  flex-shrink: 0;
}

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

.store-badge-text small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.store-badge-text strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.hero-secondary {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-read);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-secondary:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}

.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

/* ============================================================
   iPhone-Mockup (Session-Screen, nachgebaut)
   ============================================================ */

.phone {
  width: min(310px, 82vw);
  aspect-ratio: 9 / 19;
  background: #0a0a0b;
  border: 3px solid #3a3a3d;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 6px 24px rgba(255, 159, 10, 0.07);
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: var(--black);
  border-radius: 38px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1rem 0.9rem;
  position: relative;
}

.phone-island {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1.35rem;
  background: #111;
  border-radius: 999px;
}

.p-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-read);
  padding: 0.15rem 0.4rem 0;
  margin-bottom: 1rem;
}

/* Navigationsleiste: "‹ Übersicht" · Übungsname (inline) · "⋯"-Menü
   — wie WorkoutSessionView (Toolbar + navigationTitle .inline) */
.p-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.p-nav-back,
.p-nav-more {
  flex: 1;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-app);
  white-space: nowrap;
}

.p-nav-more {
  text-align: right;
  font-size: 0.8rem;
  line-height: 1;
}

.p-nav-title {
  font-weight: 600;
  font-size: 0.8rem;
}

/* Live-Metrics-Leiste (Dauer / Herzfrequenz / Kalorien), .background(.bar) */
.p-metrics {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 0.28rem 0;
  margin: 0 -1rem 0.55rem;
  background: rgba(255, 255, 255, 0.045);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.p-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--text);
}

.p-i-timer {
  width: 0.8em;
  height: 0.8em;
  fill: none;
  stroke: var(--accent-app);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.p-i-hr {
  color: var(--red);
  font-size: 0.75rem;
  line-height: 1;
}

.p-i-flame,
.w-i-flame {
  width: 1.35em;
  height: 1.35em;
  fill: var(--sys-orange);
}

.beat {
  display: inline-block;
  animation: heartbeat 1.1s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
}

/* Übungs-Header: Symbol, Name (.title2 bold), "Satz 3/4", Ziel-Zeile */
.p-exercise {
  text-align: center;
  margin-bottom: 0.4rem;
}

.p-ex-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.15rem;
  display: block;
  fill: none;
  stroke: var(--accent-app);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-ex-icon circle {
  fill: var(--accent-app);
  stroke: none;
}

.p-ex-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}

.p-ex-set {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-dim);
}

.p-ex-target {
  display: block;
  font-size: 0.64rem;
  color: var(--text-dim);
}

/* Pausen-Ring (RestTimerView): "Pause" klein über der Zeit, Ring füllt
   sich mit der verstrichenen Pausenzeit */
.p-ring {
  position: relative;
  width: 60%;
  margin: 0.4rem auto 1rem;
}

.p-ring svg {
  width: 100%;
  height: auto;
  transform: rotate(-90deg);
  display: block;
}

.p-ring .ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 7;
}

.p-ring .ring-progress {
  fill: none;
  stroke: var(--accent-app);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.p-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

.p-ring-label {
  font-size: 0.6rem;
  color: var(--text-dim);
}

.p-ring-time {
  font-weight: 700;
  font-size: clamp(1.25rem, 5.4vw, 1.6rem);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* "+15 s" (.bordered) und "Pause überspringen" (.borderedProminent) */
.p-rest-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.p-btn {
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  white-space: nowrap;
}

.p-btn.ghost {
  background: var(--fill-gray);
  color: var(--accent-app);
}

.p-btn.solid {
  background: var(--accent-app);
  color: #fff;
}

/* "Dieses Training": geloggte Sätze (thinMaterial-Karte) */
.p-card {
  background: var(--elev);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
}

.p-card-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.p-log {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.66rem;
  padding: 0.3rem 0;
}

.p-log + .p-log {
  border-top: 1px solid var(--border);
}

.p-log-type {
  width: 0.85rem;
  height: 0.85rem;
  border: 1.4px solid var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
}

.p-log-set {
  color: var(--text-dim);
}

.p-log-value {
  margin-left: auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.p-log-pencil {
  width: 0.62rem;
  height: 0.62rem;
  fill: none;
  stroke: var(--text-dim);
  stroke-width: 1.8;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Schwebender Weiter-Button (Liquid-Glass-Kreis, unten rechts) */
.p-fab {
  position: absolute;
  right: 0.9rem;
  bottom: 1.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  color: var(--accent-app);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-homebar {
  width: 36%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  margin: auto auto 0; /* ans untere Ende der Screen-Flexspalte */
  padding-top: 0.55rem;
  background-clip: content-box;
}

/* ============================================================
   Abschnitte allgemein
   ============================================================ */

.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

/* ============================================================
   Features
   ============================================================ */

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: var(--elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(255, 159, 10, 0.35);
  transform: translateY(-3px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-read);
  line-height: 1.65;
}

.feature-card p b {
  color: var(--text);
  font-weight: 600;
}

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

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* ============================================================
   Apple-Watch-Sektion
   ============================================================ */

.watch-section .container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.watch-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.watch-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-read);
}

.watch-points li b {
  color: var(--text);
  font-weight: 600;
}

.point-marker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.9;
  flex-shrink: 0;
}

.watch-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .watch-section .container {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .watch-visual {
    order: -1;
  }
}

/* Watch-Mockup */
.watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6));
}

.watch-band {
  width: 108px;
  height: 74px;
  background: linear-gradient(180deg, #232326, #161618);
}

.watch-band.top {
  border-radius: 26px 26px 8px 8px;
}

.watch-band.bottom {
  border-radius: 8px 8px 26px 26px;
  background: linear-gradient(0deg, #232326, #161618);
}

.watch-case {
  width: 190px;
  height: 226px;
  background: linear-gradient(160deg, #3c3c40, #1a1a1c);
  border-radius: 52px;
  padding: 9px;
  position: relative;
  z-index: 1;
}

.watch-crown {
  position: absolute;
  right: -7px;
  top: 56px;
  width: 9px;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(90deg, #4a4a4e, #29292c);
}

.watch-crown::after {
  content: "";
  position: absolute;
  inset: 3px 2px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    0deg,
    #3a3a3e 0 2px,
    #222225 2px 4px
  );
}

.watch-sidebtn {
  position: absolute;
  right: -5px;
  top: 108px;
  width: 6px;
  height: 46px;
  border-radius: 4px;
  background: #333336;
}

.watch-screen {
  background: var(--black);
  border-radius: 44px;
  height: 100%;
  padding: 0.85rem 0.75rem 0.8rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Titelzeile: Übungsname (Nav-Titel) links, Uhrzeit rechts */
.w-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.w-title {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w-time {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* Kompakte Live-Metrics (WatchMetricsBar compact: ♥ + Kalorien) */
.w-metrics {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.3rem;
}

.w-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  color: var(--text);
}

.w-i-hr {
  color: var(--red);
  font-size: 0.66rem;
  line-height: 1;
}

/* "Satz 3 / 4" links, "…"-Menü rechts */
.w-setrow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.w-set {
  font-size: 0.68rem;
  font-weight: 700;
}

.w-set small {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-dim);
}

.w-more {
  margin-left: auto;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--fill-gray);
  color: var(--accent-app);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Eingabefelder: Satztyp-Button + Wdh./Gewicht, Fokus-Feld mit
   orangem Rand (Digital-Crown-Steuerung) — WatchExerciseLogView */
.w-inputs {
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.4rem;
}

.w-type {
  width: 32px;
  border-radius: 9px;
  background: var(--fill-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.w-type i {
  width: 9px;
  height: 9px;
  border: 1.4px solid var(--text-dim);
  border-radius: 50%;
}

.w-field {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 9px;
  background: var(--fill-gray);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.w-field label {
  font-size: 0.5rem;
  color: var(--text-dim);
  line-height: 1;
}

.w-field b {
  font-size: 0.66rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}

.w-field.focus {
  border: 2px solid var(--accent-app);
}

/* Commit-Reihe: Satz-Blätter-Chevrons + prominenter Log-Button */
.w-commit {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: auto;
}

.w-pagebtn {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--fill-gray);
  color: var(--accent-app);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.w-pagebtn.off {
  opacity: 0; /* konstante Breite wie in der App (nur ausgeblendet) */
}

.w-commitbtn {
  flex: 1;
  height: 27px;
  border-radius: 999px;
  background: var(--accent-app);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Privacy-Sektion
   ============================================================ */

.privacy-card {
  background: var(--elev);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 5vw, 3rem);
  display: grid;
  gap: 2.25rem;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-read);
}

.privacy-list li b {
  color: var(--text);
  font-weight: 600;
}

.privacy-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 159, 10, 0.14);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .privacy-card {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

/* ============================================================
   Abschluss-CTA
   ============================================================ */

.closing {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.closing .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
}

.closing .hero-cta {
  justify-content: center;
  margin-bottom: 0;
  margin-top: 2rem;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand img {
  height: 26px;
  width: auto;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-read);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 760px) {
  .site-footer .container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ============================================================
   Rechtsseiten (Impressum, Datenschutz)
   ============================================================ */

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--orange);
}

h1.legal-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 2.75rem;
}

.legal-lang-jump {
  font-size: 0.82rem;
  color: var(--text-read);
  margin-bottom: 2.75rem;
}

.legal-lang-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 2rem;
}

.legal-lang-title.second {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.legal-section p,
.legal-section address,
.legal-section li {
  font-size: 0.88rem;
  color: var(--text-read);
  line-height: 1.85;
  font-style: normal;
  margin-bottom: 0.6rem;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  margin-bottom: 0.6rem;
}

.legal-section li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
}

.legal-section li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section a {
  color: var(--orange);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ============================================================
   Scroll-Reveal & Reduced Motion
   ============================================================ */

/* Nur aktiv, wenn JS läuft (main.js setzt .js auf <html>) —
   ohne JS bleibt alles sichtbar. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .beat {
    animation: none;
  }
  .p-ring .ring-progress {
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
