/* PadelTrack · website styles (Apple-Stil, wie The Inner Press) */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --accent: #1f9d4b;
  --gold: #b8860b;
  --link: #0066cc;
  --button: #0071e3;
  --button-hover: #0077ed;
  --dark-bg: #000000;
  --dark-card: #1d1d1f;
  --dark-text: #f5f5f7;
  --dark-muted: #a1a1a6;
  --dark-accent: #30d158;
  --nav: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25);
  --radius: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --wide: 1120px;
  --text-w: 720px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --card: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #86868b;
    --line: #424245;
    --accent: #30d158;
    --gold: #ffd60a;
    --link: #2997ff;
    --nav: rgba(22, 22, 23, 0.72);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--button); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--wide), 100% - 32px); margin-inline: auto; }
.narrow { width: min(var(--text-w), 100% - 32px); margin-inline: auto; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--text); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .pill { margin-left: auto; }
}

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--button); color: #fff; border-radius: 980px;
  font-size: 17px; font-weight: 400; padding: 11px 22px; line-height: 1.2;
  transition: background .2s;
}
.pill:hover { background: var(--button-hover); text-decoration: none; }
.pill.small { font-size: 12px; padding: 5px 12px; }
.pill svg { width: 18px; height: 18px; }
.more { font-size: 19px; }
.more::after { content: " ›"; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }
.note { color: var(--faint); font-size: 14px; }

/* Type */
.eyebrow { color: var(--accent); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.dark .eyebrow { color: var(--dark-accent); }
.display { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.02em; }
.headline { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); font-weight: 400; letter-spacing: -0.01em; }
.lead strong { color: var(--text); font-weight: 600; }
.green { color: var(--accent); }
.dark .green { color: var(--dark-accent); }
.center { text-align: center; }

/* Sections */
section { padding: clamp(72px, 11vw, 140px) 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--dark-bg); color: var(--dark-text); }
.dark .lead { color: var(--dark-muted); }
.dark .lead strong { color: var(--dark-text); }
.section-head { max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .lead { margin-top: 18px; }

/* Hero */
.hero { padding-top: clamp(44px, 6vw, 72px); padding-bottom: 0; text-align: center; overflow: hidden; }
.hero .lead { max-width: 700px; margin: 22px auto 30px; }
.hero .note { margin-top: 14px; }
.devices { position: relative; margin-top: clamp(40px, 5vw, 56px); height: clamp(400px, 52vw, 640px); }
.phone {
  width: clamp(210px, 27vw, 330px); height: auto; aspect-ratio: 720 / 1484;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.22));
  flex-shrink: 0;
}
.watch {
  width: clamp(150px, 19vw, 230px); height: auto; aspect-ratio: 460 / 1015;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.3));
}
@media (prefers-color-scheme: dark) {
  .phone { filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.6)); }
  .watch { filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.7)); }
}
.dark .phone { filter: drop-shadow(0 30px 60px rgba(48, 209, 88, 0.12)); }
.devices .phone, .devices .watch { position: absolute; top: 0; }
.devices .phone.center { z-index: 3; left: 50%; transform: translateX(-50%); }
.devices .phone.left { z-index: 2; left: 50%; transform: translateX(-112%) scale(.88); transform-origin: top; top: 7%; }
.devices .watch.right { z-index: 4; left: 50%; transform: translateX(38%); top: 9%; }
@media (max-width: 600px) {
  .devices .phone.left { transform: translateX(-100%) scale(.8); }
  .devices .watch.right { transform: translateX(22%) scale(.86); transform-origin: top; }
}

/* Split (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .lead { margin-top: 18px; }
.split .headline { font-size: clamp(36px, 4.6vw, 56px); }
.split ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split li { padding-left: 28px; position: relative; color: var(--muted); }
.split li strong { color: var(--text); font-weight: 600; }
.split li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.dark .split li { color: var(--dark-muted); }
.dark .split li strong { color: var(--dark-text); }
.dark .split li::before { background: var(--dark-accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.phone-solo { margin-inline: auto; }
.pair { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 32px); }
.pair .watch:last-child { margin-top: 12%; }

/* Watch-Feature: Doppeltippen */
.gesture { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 20px; border-radius: 20px; background: var(--dark-card); }
.gesture svg { width: 40px; height: 40px; color: var(--dark-accent); flex-shrink: 0; }
.gesture p { color: var(--dark-muted); font-size: 15px; }
.gesture strong { color: var(--dark-text); display: block; font-size: 17px; }

/* Live-Anzeigetafel */
.board { width: min(1000px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.22)); }
@media (prefers-color-scheme: dark) { .board { filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.6)); } }
.board-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: clamp(40px, 6vw, 64px) auto 0; }
.board-facts h3 { font-size: 21px; margin-bottom: 6px; }
.board-facts p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .board-facts { grid-template-columns: 1fr; gap: 22px; } }

/* Stat-Zahlen im Fitness-Stil */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat { background: var(--dark-card); border-radius: 22px; padding: 22px 24px; }
.stat .label { color: var(--dark-accent); font-weight: 600; font-size: 15px; }
.stat .value { font-family: var(--rounded); font-weight: 700; font-size: clamp(36px, 4vw, 48px); line-height: 1.05; margin-top: 6px; letter-spacing: -0.02em; }
.stat .unit { color: var(--dark-muted); font-size: 15px; margin-top: 4px; }
.stat.orange .label { color: #ff9f0a; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--bg-alt); border-radius: var(--radius); padding: 34px 32px; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.alt .tile { background: var(--card); }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; }
.tile h3 { font-size: 24px; line-height: 1.17; }
.tile p { color: var(--muted); font-size: 17px; }
.tile .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 6px; }
.tile .big { font-family: var(--rounded); font-weight: 700; font-size: clamp(56px, 7vw, 88px); line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.tile .shot-crop { margin: 18px -32px -34px; height: clamp(300px, 34vw, 420px); overflow: hidden; display: flex; justify-content: center; }
.tile .shot { width: 64%; max-width: 280px; align-self: flex-start; }
@media (max-width: 980px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.full { grid-column: auto; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin-inline: auto; }
.plan { background: var(--card); border-radius: var(--radius); padding: 40px 36px; display: flex; flex-direction: column; }
.plan.pro { outline: 2px solid var(--gold); }
.plan h3 { font-size: 28px; display: flex; align-items: center; gap: 10px; }
.plan h3 svg { width: 28px; height: 28px; color: var(--gold); }
.plan .price { font-size: 40px; font-weight: 700; margin: 14px 0 2px; letter-spacing: -0.02em; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan.pro li::before { color: var(--gold); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 30px; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 680px; }

/* Final CTA */
.final { text-align: center; }
.final img { width: 112px; height: 112px; margin: 0 auto 28px; }
.final .lead { margin: 18px auto 32px; max-width: 600px; }

/* Text pages (Rechtliches, Kontakt) */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.page h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.07; margin-bottom: 14px; }
.page .lead, .page .subtitle { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); margin-bottom: 40px; }
.page .kicker { color: var(--accent); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.page .kicker .dot { display: none; }
.page .card { background: var(--bg-alt); border-radius: 22px; padding: 28px 30px; margin-bottom: 16px; }
.page h2 { font-size: 24px; margin: 0 0 10px; }
.page .card h2:not(:first-child) { margin-top: 28px; }
.page h3 { font-size: 19px; margin: 24px 0 6px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page strong { color: var(--text); font-weight: 600; }
.page .highlight-box { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border-radius: 22px; padding: 22px 26px; margin: 0 0 16px; color: var(--muted); }
.page iframe { width: 100%; min-height: 760px; border: 0; border-radius: 16px; background: #fff; }
.page .relationship { background: var(--bg-alt); border-radius: 22px; padding: 22px 26px; margin-bottom: 14px; display: grid; gap: 10px; }
.page .relationship .badge { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.page .relationship .text { color: var(--muted); }
.page .mini-note { color: var(--faint); font-size: 14px; margin-bottom: 24px; }
.page .page-head { margin-bottom: 8px; }

/* Footer */
footer { background: var(--bg-alt); color: var(--faint); font-size: 12px; line-height: 1.5; padding: 40px 0 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-cols h4 { margin: 0 0 10px; font-size: 12px; color: var(--text); font-weight: 600; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; }
@media (max-width: 640px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* Reveal on scroll (nur für Elemente unterhalb des sichtbaren Bereichs, gesetzt von site.js) */
.pre { opacity: 0; transform: translateY(40px); }
.in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1; transform: none; } .in { transition: none; } }
