/* GymBro 3000 – gymbro3000.com
   Dunkel zuerst, wie das Icon: Schwarz, Weiß, Grau, ein Orange.
   Schriften liegen lokal (Barlow, SIL OFL) – nichts wird von fremden
   Servern geladen. */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/BarlowCondensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/BarlowCondensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/Barlow-600.woff2") format("woff2"); }

:root {
  color-scheme: dark light;
  --bg: #0B0B0C;
  --surface: #161618;
  --surface-2: #1F1F22;
  --line: #2C2C30;
  --text: #F3F1EC;
  --muted: #A09E97;
  --accent: #FF6A00;
  --accent-ink: #000000;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --radius: 18px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF; --surface: #F2F2F7; --surface-2: #E9E9EE; --line: #C7C7CC;
    --text: #000000; --muted: #6E6E73; --accent: #E85D00; --accent-ink: #FFFFFF;
  }
}
:root[data-theme="light"] {
  --bg: #FFFFFF; --surface: #F2F2F7; --surface-2: #E9E9EE; --line: #C7C7CC;
  --text: #000000; --muted: #6E6E73; --accent: #E85D00; --accent-ink: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(52px, 9vw, 112px); }
h2 { font-weight: 800; font-size: clamp(36px, 5.5vw, 64px); }
h3 { font-weight: 700; font-size: 26px; letter-spacing: .02em; }
p { margin: 0; }
.eyebrow { font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.lede { font-size: 21px; line-height: 1.5; max-width: 34em; color: var(--text); }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.orange { color: var(--accent); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
/* Passt die Navigation nicht mehr neben die Marke, rutscht sie in eine
   zweite Zeile, statt über den Rand zu laufen. */
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { color: var(--accent); }
.nav { margin-left: auto; display: flex; gap: 22px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 720px) {
  /* Zwei Zeilen: Marke oben, Links darunter – nichts läuft über. */
  .top .wrap { padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  .nav { margin-left: 0; width: 100%; gap: 16px; font-size: 14px; }
  .nav .hide-s { display: none; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
}

/* Held */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .orange { display: block; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
/* App-Store-Abzeichen: Apples Vorgabe – mindestens 40 px hoch, ringsum ein
   Viertel der Höhe frei (die 14 px Abstand im .cta genügen), nichts daran
   verändern: keine Farben, keine Effekte, kein anderes Seitenverhältnis. */
.badge { display: inline-flex; align-items: center; height: 52px; }
.badge img { height: 40px; width: auto; display: block; }
#mac .badge { height: auto; margin-top: 10px; }
.pill.ghost:hover { border-color: var(--text); }
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 0; }
.duo img { width: 100%; max-height: 560px; object-fit: contain; object-position: bottom; }
.duo img:first-child { transform: translateX(8%); }
.duo img:last-child { transform: translateX(-8%); }
.duo::before { content: ""; position: absolute; inset: auto 8% 6% 8%; height: 72%; border-radius: 50%; background: var(--accent); opacity: .16; filter: blur(0); z-index: -1; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .duo img { max-height: 380px; }
}

/* Abschnitte */
section { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 42em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } .step { max-width: 380px; margin-inline: auto; } }

/* Telefone – Bilddateien 2x (1104 × 2400), im HTML width="552" height="1200".
   Das Bild füllt den Rahmen, der Rahmen wird nie breiter als 380 px. */
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: 10px; width: 100%; max-width: 380px; margin-inline: auto; }
.phone img { width: 100%; height: auto; border-radius: 26px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); }

/* Text neben Telefon (Programme, Figuren) */
.split .grid-2 { align-items: center; }

/* Uhr – Bilddateien 422 × 514, im HTML width="211" height="257" (2x).
   Schwarzes Gehäuse in beiden Themes, Rundung in px, damit die Ecken rund
   bleiben und nicht elliptisch werden. */
.watches { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 32px; }
.watches figure { margin: 0; width: 233px; display: flex; flex-direction: column; gap: 14px; }
.watch { background: #000; border: 1px solid var(--line); border-radius: 57px; padding: 10px; }
.watch img { width: 100%; height: auto; border-radius: 46px; }
.watches figcaption { color: var(--muted); font-size: 15px; line-height: 1.4; text-align: center; padding: 0 8px; }

/* Merkmale – eine Liste, Begriff links, Erklärung rechts */
.features { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.feature { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.feature b { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.feature p { color: var(--muted); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 6px; } }

/* Mac */
.mac .window { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.mac .window img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* Tabelle Kostenlos / Pro */
.plans table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plans th { text-align: left; font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 0 12px 14px 0; border-bottom: 1px solid var(--line); }
.plans th:not(:first-child), .plans td:not(:first-child) { text-align: center; width: 120px; }
.plans td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.plans td:not(:first-child) { color: var(--muted); }
.plans td.yes { color: var(--accent); font-weight: 600; }
@media (max-width: 600px) { .plans th:not(:first-child), .plans td:not(:first-child) { width: 76px; } }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.price b { font-family: var(--display); font-size: 48px; font-weight: 800; }

/* Daten */
.promise { background: var(--surface); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.promise ul { margin: 0; padding-left: 20px; color: var(--muted); }
.promise li { margin: 6px 0; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }

/* Fragen */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--display); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 60em; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .copy { margin-right: auto; }

/* Textseiten (Datenschutz, Impressum, Support) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 8px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc h3 { font-size: 22px; margin: 26px 0 8px; }
.doc p, .doc li { line-height: 1.6; }
.doc p { margin: 10px 0; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc .stand { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc address { font-style: normal; line-height: 1.7; }
.doc .todo { background: var(--surface); border: 1px dashed var(--accent); padding: 14px 16px; border-radius: 10px; color: var(--text); margin: 0 0 22px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.doc a { color: var(--accent); }
