/* Trainingsplan Gewichtheben — Website
   Dependency-free stylesheet. Accent tokens shared with docs/app-store-checklist.html. */

:root {
  --bg: #EDEFEE;
  --bg-alt: #E3E6E4;
  --surface: #FFFFFF;
  --ink: #171B1F;
  --ink-soft: #4B5259;
  --ink-faint: #7C838A;
  --line: #D7DBDA;
  --accent: #2851A3;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EAF6;
  --good: #2F7A46;
  --good-soft: #E1F0E4;
  --good-line: #B6D8C0;
  --shadow: rgba(23, 27, 31, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171A;
    --bg-alt: #1A1E22;
    --surface: #1C2024;
    --ink: #EDEFEE;
    --ink-soft: #ABB1B6;
    --ink-faint: #7E858B;
    --line: #2B3136;
    --accent: #7FA8E0;
    --accent-ink: #10151C;
    --accent-soft: #212E42;
    --good: #79C68B;
    --good-soft: #1E3324;
    --good-line: #2F5138;
    --shadow: rgba(0, 0, 0, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { text-decoration-thickness: 2px; }

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

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

main { padding-bottom: 72px; }

/* ---------- Header / hero ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.topbar-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.topbar-mark img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}
.topbar-nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}
.topbar-nav a { color: var(--ink-soft); text-decoration: none; }
.topbar-nav a:hover { color: var(--accent); }
.topbar-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.hero {
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
  text-align: center;
}
.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 10px 30px var(--shadow);
  margin: 0 auto 28px;
  display: block;
  max-width: 100%;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 6vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.hero p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.page-head {
  padding: 56px 0 8px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 5.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.page-head .meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px var(--shadow); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Content blocks ---------- */

section { margin-top: 40px; }

h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 0 0 12px;
  text-wrap: balance;
}
h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 24px 0 8px;
}

p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 16px; padding-left: 22px; }
ul:last-child { margin-bottom: 0; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 650; }

.callout {
  background: var(--good-soft);
  border: 1px solid var(--good-line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0 0;
}
.callout p { font-size: 1.05rem; }
.callout .callout-title {
  display: block;
  font-weight: 700;
  color: var(--good);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 2px var(--shadow);
}
.card + .card { margin-top: 16px; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: 0 1px 2px var(--shadow);
}
.contact-card .label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 650;
}
.contact-card .email {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-card .note {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0 0;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 32px 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  justify-content: space-between;
}
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--accent); text-decoration: underline; }
