/* Voranto – App-Seite und Hilfe auf apps.txmmes.de.
   Farben und Schrift aus der App: dunkel, Orange für Akzente, Grün für Erledigtes. Überschriften in
   Futura Condensed ExtraBold, wenn das Gerät sie mitbringt (iPhone, iPad, Mac), sonst Inter. Futura wird
   nicht ausgeliefert, nur die lokal installierte Schrift genutzt; Inter liegt auf dem Hub.
   Regeln des Hubs gelten weiter: keine Verläufe, keine Schatten, nichts von fremden Servern, kein Geviertstrich. */

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

:root {
  --bg: #0a0a0b;
  --surface: #161618;
  --line: #2a2a2e;
  --line-strong: #4a4a50;
  --text: #f5f5f7;
  --body: #c9c9ce;
  --mute: #a0a0a8;
  --accent: #e8703f;
  --done: #3fbf7f;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Futura-CondensedExtraBold", "Futura Condensed ExtraBold", "Inter", -apple-system, sans-serif;
  --page: 1120px;
  --gutter: 24px;
  --section: 112px;
  --radius: 20px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
}

h2 {
  font-size: clamp(34px, 4.6vw, 48px);
}

h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: var(--accent);
}

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

[id] {
  scroll-margin-top: 88px;
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Kopf */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(10 10 11 / 0.92);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgb(10 10 11 / 0.78);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
  }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.mark {
  flex: none;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--body);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

/* Abschnitte */

.section {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}

.section-lead {
  max-width: 40rem;
  margin-top: 20px;
  font-size: 19px;
}

.accent {
  color: var(--accent);
}

.hero {
  padding: 72px 0 var(--section);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 56px;
}

.lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 36px;
}

/* Apples Badge unverändert, nur mit Abstand und Fokusring */
.store-badge {
  display: inline-flex;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}

.store-badge:hover {
  opacity: 0.85;
}

.store-badge img {
  display: block;
}

.facts-line {
  margin-top: 28px;
  color: var(--mute);
  font-size: 15px;
}

.shot {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.hero .shot {
  max-width: 340px;
  justify-self: center;
}

/* Problem */

.story .wrap > div {
  max-width: 44rem;
}

.story h2 {
  margin-bottom: 24px;
}

/* Ablauf */

.steps {
  display: grid;
  gap: 88px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 64px;
  counter-increment: step;
}

.step:nth-child(even) {
  grid-template-columns: 300px minmax(0, 1fr);
}

.step:nth-child(even) .shot {
  order: -1;
}

.step-text {
  max-width: 34rem;
}

.step-text::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}

/* Regeln */

.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.rules li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.rules h3 {
  margin-bottom: 8px;
}

.rules p {
  font-size: 16px;
}

.note {
  max-width: 44rem;
  margin-top: 32px;
  color: var(--mute);
  font-size: 15px;
}

/* Datenschutz */

.privacy .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}

.privacy h2 {
  margin-bottom: 24px;
}

.facts {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts h3 {
  margin-bottom: 6px;
}

.facts p {
  font-size: 16px;
}

/* Abo und Preise */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.plan {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan.is-plus {
  border-color: var(--accent);
}

.plan h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
}

.plan ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--done);
}

.plan.is-plus li::before {
  background: var(--accent);
}

.price-list {
  margin: 16px 0 0;
}

.price-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.price-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 8px;
  color: var(--mute);
  font-size: 15px;
}

/* Fragen */

.faq {
  max-width: 48rem;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  content: "+" / "";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2212";
  content: "\2212" / "";
}

.faq details p {
  padding: 0 40px 22px 0;
}

.more {
  margin-top: 32px;
}

/* Hilfe */

.page {
  padding: 72px 0 var(--section);
}

.page .wrap > * {
  max-width: 44rem;
}

.page h2 {
  margin-top: 56px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 36px);
}

.page ol,
.page ul {
  margin: 12px 0 0;
  padding-left: 1.3em;
}

.page li + li {
  margin-top: 6px;
}

.callout {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Fuß */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  color: var(--mute);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-footer a {
  color: var(--body);
}

/* Größere Tippfläche, ohne die Zeile höher wirken zu lassen. */
.site-footer nav a {
  padding: 10px 0;
}

/* Schmal */

@media (max-width: 900px) {
  :root {
    --section: 80px;
  }

  .hero .wrap,
  .privacy .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .shot {
    max-width: 280px;
  }

  .step,
  .step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .step .shot,
  .step:nth-child(even) .shot {
    order: 0;
    max-width: 260px;
  }

  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 44px;
  }

  .lead,
  .section-lead {
    font-size: 18px;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav .optional {
    display: none;
  }

  .steps {
    gap: 64px;
  }
}
