/*
 * learncaddie.com — statische Verkaufsseite (GO-01).
 * Tokens KOPIERT aus src/styleguide/tokens.css (Theme "Papier", Default der App), nicht zur
 * Laufzeit von der App geladen. Schriften lokal (fonts/, SIL OFL). Mobil zuerst; Breakpoints
 * wie die App-Shell: 880px / 1180px.
 */

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

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fraunces-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/figtree-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/figtree-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/figtree-latin-700.woff2') format('woff2');
}

:root {
  --c-bg: #f5f2eb;
  --c-surface: #fffdf8;
  --c-border: #d8d4ca;
  --c-ink: #111722;
  --c-ink-2: #62666d;
  --c-ink-3: #8a8d93;
  --c-accent: #8a3a41;
  --c-accent-hover: #742f36;
  --c-accent-contrast: #ffffff;
  --c-accent-soft: #ecdcdb;
  --c-blue: #2457e6;
  --c-bronze: #8a6d3f;
  --c-warning: #8a5a0f;
  --c-hard: #a32d2d;
  --c-good: #b89614;
  --c-learned: #2d8a4a;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-ui: 'Figtree', system-ui, 'Segoe UI', Arial, Helvetica, sans-serif;

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;

  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;

  --measure: 68ch;
  --page: 72rem;
}

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--c-accent);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--c-accent-hover);
}
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--s-2);
}
h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 var(--s-2);
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: var(--s-2);
  top: var(--s-2);
  background: var(--c-surface);
  padding: var(--s-1) var(--s-2);
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s-2);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 3.75rem;
}
.brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-ink);
  text-decoration: none;
}
.brand span {
  color: var(--c-accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.95rem;
}
.nav a {
  color: var(--c-ink-2);
  text-decoration: none;
}
.nav a:hover {
  color: var(--c-ink);
}
.nav .nav-section {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-accent);
  text-decoration: none;
  text-align: center;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-accent-contrast);
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  color: var(--c-accent-contrast);
}
.btn-ghost {
  background: transparent;
  color: var(--c-accent);
}
.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: var(--s-6) 0;
}
section + section {
  border-top: 1px solid var(--c-border);
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-bronze);
  margin-bottom: var(--s-1);
}
.lede {
  font-size: 1.15rem;
  color: var(--c-ink-2);
  max-width: var(--measure);
}

/* Hero */
.hero {
  padding: var(--s-6) 0 var(--s-6);
}
.hero h1 {
  max-width: 18ch;
}
.hero .contrast {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-ink);
  max-width: var(--measure);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.cta-row .btn {
  flex: 1 1 12rem;
}
.cta-note {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  margin-top: var(--s-2);
}

/* Steps */
.steps {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
  counter-reset: step;
}
.steps li {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-family: var(--f-display);
  font-weight: 700;
  margin-bottom: var(--s-1);
}
.steps p {
  color: var(--c-ink-2);
  margin: 0;
}

/* Rating chips (Bingo-Marken, nur Deko) */
.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: var(--s-1) 0;
}
.mark {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-sm);
  border: 1px solid currentColor;
}
.mark-hard {
  color: var(--c-hard);
}
.mark-good {
  color: var(--c-warning);
}
.mark-learned {
  color: var(--c-learned);
}

/* Feature list */
.features {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.feature h3 {
  margin-bottom: var(--s-1);
}
.feature p {
  color: var(--c-ink-2);
  margin: 0;
}
.not-list {
  margin-top: var(--s-4);
  padding: var(--s-3);
  border-left: 3px solid var(--c-bronze);
  background: var(--c-surface);
  max-width: var(--measure);
}
.not-list p {
  margin: 0;
  color: var(--c-ink-2);
}

/* Quote / Why */
.why blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  line-height: 1.35;
  max-width: 30ch;
}

/* Pricing */
.plans {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.plan {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border: 2px solid var(--c-accent);
}
.plan h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s-1);
}
.price {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: var(--s-1) 0;
}
.price small {
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-ink-2);
}
.plan ul {
  padding-left: 1.2rem;
  margin: var(--s-2) 0 var(--s-3);
  flex: 1;
}
.plan li {
  margin-bottom: 0.4rem;
}
.plan .btn {
  width: 100%;
}
.topup {
  margin-top: var(--s-3);
  padding: var(--s-2) var(--s-3);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.topup p {
  margin: 0;
}
.fine {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  max-width: var(--measure);
  margin-top: var(--s-3);
}

/* FAQ */
.faq {
  margin-top: var(--s-3);
  max-width: var(--measure);
}
.faq details {
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-2) 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}
.faq details p {
  margin: var(--s-1) 0 0;
  color: var(--c-ink-2);
}

/* Final CTA */
.final {
  text-align: center;
}
.final .lede {
  margin-left: auto;
  margin-right: auto;
}
.final .cta-row {
  justify-content: center;
}
.final .cta-row .btn {
  flex: 0 1 16rem;
}

/* Legal pages */
.draft-banner {
  background: #fbefd5;
  color: var(--c-warning);
  border: 1px solid #e6c98a;
  border-radius: var(--r-md);
  padding: var(--s-2);
  margin: var(--s-3) 0 0;
  font-weight: 600;
}
.legal {
  padding: var(--s-4) 0 var(--s-6);
}
.legal article {
  max-width: var(--measure);
}
.legal h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
}
.legal h2 {
  font-size: 1.3rem;
  margin-top: var(--s-4);
}
.legal .meta {
  color: var(--c-ink-2);
  font-size: 0.95rem;
}
.legal ul {
  padding-left: 1.2rem;
}
.legal li {
  margin-bottom: 0.4rem;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: var(--s-2) 0;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}
.legal .table-scroll {
  overflow-x: auto;
}
address {
  font-style: normal;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--s-4) 0;
  font-size: 0.9rem;
  color: var(--c-ink-2);
}
.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-3);
}
.site-footer a {
  color: var(--c-ink-2);
}
.site-footer p {
  margin: 0 0 0.25rem;
}

/* laptop (mittel) and up */
@media (min-width: 880px) {
  section {
    padding: var(--s-8) 0;
  }
  .hero {
    padding: var(--s-8) 0;
  }
  .nav .nav-section {
    display: inline;
  }
  .cta-row .btn {
    flex: 0 0 auto;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--s-6);
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* desk (gross) */
@media (min-width: 1180px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
