/* ============================================================
   Club45 – Stylesheet
   Farben und Abstände zentral als Variablen: hier ändern,
   wirkt auf der ganzen Seite.
   ============================================================ */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/unbounded-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* ---------- Design-Variablen ---------- */
:root {
  --bg: #0E0E0E;
  --bg-alt: #141414;
  --surface: #181818;
  --surface-2: #1C1C1C;
  --surface-3: #232323;
  --line: #262626;
  --line-2: #2E2E2E;
  --text: #F4F2EE;
  --muted: #B5B5B5;
  --muted-2: #9A9A9A;
  --accent: #C6FF3D;        /* Neon-Lime – Markenfarbe */
  --on-accent: #0E0E0E;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --radius: 24px;
  --radius-l: 28px;
  --section-y: clamp(72px, 9vw, 104px);
  --header-h: 76px;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--accent); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-2); }
.accent { color: var(--accent); }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Überschriften ---------- */
.h2 { font-weight: 900; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -1px; }
.h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; margin-bottom: 48px; }
.section-head p { font-size: 19px; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: #D8FF7A; color: var(--on-accent); }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #2A2A2A; color: var(--text); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__word { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -1px; line-height: 1; }
.ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring__track { stroke: var(--text); stroke-opacity: .12; }
.ring__arc { stroke: var(--accent); }
.ring__num { position: relative; font-family: var(--font-display); font-weight: 900; line-height: 1; }
.logo .ring { width: 38px; height: 38px; }
.logo .ring__num { font-size: 14px; letter-spacing: -.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(14, 14, 14, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(64px, 9vw, 96px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 1.04; letter-spacing: -2px; }
.hero__title span { display: block; }
.hero__lead { max-width: 560px; font-size: 20px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { flex: 1 1 280px; display: flex; justify-content: center; }
.hero__visual .ring { width: min(100%, 380px); aspect-ratio: 1 / 1; flex-direction: column; container-type: inline-size; }
.hero__visual .ring__num { font-size: clamp(64px, 8vw, 112px); font-size: 30cqi; letter-spacing: -0.04em; }
.hero__visual .ring__unit { position: relative; font-family: var(--font-display); font-weight: 500; font-size: 18px; font-size: 4.6cqi; letter-spacing: 0.45em; margin-right: -0.45em; margin-top: 2cqi; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hero__visual .ring__arc { stroke-dasharray: 406; stroke-dashoffset: 406; animation: ring-draw 1.4s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
  @keyframes ring-draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Fakten-Leiste ---------- */
.facts { border-block: 1px solid var(--line); padding-block: 32px; }
.facts__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px;
  margin: 0; padding: 0; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}

/* ---------- Karten / Schritte ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step__num { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--accent); }

/* ---------- Mitgliedschaft ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 960px; }
.plan { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.plan--featured { border: 2px solid var(--accent); }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-weight: 700; font-size: 24px; }
.badge { background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan__amount { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; }
.plan__period { color: var(--muted); }
.plan__tax { flex-basis: 100%; font-size: 14px; color: var(--muted-2); }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.checklist polyline { stroke: var(--accent); }
.plan .btn { margin-top: auto; }
.note { margin-top: 24px; }

/* ---------- Einzelpläne ---------- */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product__cover {
  height: 180px; background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 34px; letter-spacing: -1px; color: var(--accent);
}
.product__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__buy { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--font-display); font-weight: 900; font-size: 26px; }

/* ---------- Gratis-Woche ---------- */
.cta-band {
  background: var(--accent); color: var(--on-accent);
  border-radius: 32px; padding: clamp(32px, 6vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.cta-band a { color: var(--on-accent); }
.cta-band__text { flex: 999 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-band__text .h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band__text p { font-size: 19px; }
.signup { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.signup label { font-weight: 700; font-size: 15px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input {
  flex: 1 1 200px; min-width: 0; min-height: 52px;
  font: inherit; font-size: 17px; padding: 12px 18px;
  border: 2px solid var(--on-accent); border-radius: 999px;
  background: var(--text); color: var(--on-accent);
}
.signup input::placeholder { color: #5E5E5E; }
.signup input:focus-visible { outline-color: var(--on-accent); }
.signup .btn { min-height: 52px; }
.signup .btn--dark:focus-visible { outline-color: var(--on-accent); }
.signup__hint { font-size: 14px; }
.signup__status { font-size: 15px; font-weight: 700; min-height: 1.2em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand a { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.footer-nav a { color: var(--muted); }
.site-footer .small { max-width: 760px; }
.site-footer .small + .small { margin-top: 12px; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding-block: clamp(56px, 8vw, 88px); }
.legal h1 { font-weight: 900; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 32px; }
.legal h2 { font-weight: 700; font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal dl { display: grid; grid-template-columns: minmax(160px, max-content) 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 700; color: var(--text); }
.legal dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }
.todo { background: rgba(198, 255, 61, .16); color: var(--accent); border-radius: 4px; padding: 0 4px; font-style: normal; }
.draft-banner {
  border: 2px dashed var(--accent); border-radius: 16px; padding: 18px 20px; margin-bottom: 32px;
  color: var(--text); font-size: 15px;
}
