/* Schachfuchs Website — exakte Theme-Tokens aus Theme1_ShadowGold.xaml
   und Originalschriften (Fraunces / Inter / JetBrains Mono).
*/

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}

:root {
  /* Original Sf*-Tokens aus Theme1_ShadowGold.xaml */
  --bg:           #141414;
  --surface:      #1C1C1C;
  --surface-2:    #242424;
  --surface-3:    #2E2E2E;
  --sidebar:      #0E0E0E;
  --header:       #0A0A0A;
  --titlebar:     #080808;

  --text:         #F0EAD8;
  --text-muted:   #8A8478;
  --text-dim:     #5A554A;

  --border:       #2E2E2E;
  --border-strong:#3D3D3D;

  --gold:         #C8971E;
  --gold-hover:   #D4A830;
  --gold-pressed: #B88018;
  --gold-soft:    #5A4310;
  --gold-dim:     #2A1F08;

  --success:      #7BA05B;
  --danger:       #B8584A;

  --square-light: #2E2A22;
  --square-dark:  #1A1612;

  --serif: "Fraunces", "EB Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 50% -120px, rgba(200,151,30,0.10), transparent 65%),
    radial-gradient(700px 400px at 92% 105%, rgba(200,151,30,0.05), transparent 60%),
    var(--bg);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
::selection { background: var(--gold); color: #111; }

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(46px, 7vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }

p { color: #C6C0AE; text-wrap: pretty; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,10,10,0.78);
  border-bottom: 1px solid var(--border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img { height: 48px; width: auto; }
.brand .wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.brand .wordmark .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.brand .wordmark .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav {
  display: flex; gap: 2px; align-items: center;
}
.nav a {
  font-family: var(--sans);
  font-size: 13px;
  color: #B6B0A1;
  padding: 9px 16px;
  border-radius: 5px;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active {
  color: var(--gold);
  background: var(--gold-dim);
}
.nav .nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  border: 1px solid var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav .nav-cta:hover { background: var(--gold-hover); color: #111; }
.nav .nav-cta.active { color: #111; background: var(--gold); }
.nav-mobile-toggle { display: none; }

/* ── Buttons (1:1 wie SfButton im Programm) ───────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #111111;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); color: #111; border-color: var(--gold-hover); }
.btn-gold:active { background: var(--gold-pressed); }

.btn-ghost {
  background: transparent;
  color: #D0D0D0;
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-3); border-color: #5A5A5A; }

/* ── Section primitives ───────────────────────────────────── */
section { padding: 96px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: 18px;
  color: #C6C0AE;
  max-width: 60ch;
  line-height: 1.55;
}

/* ── Card (entspricht SfCard) ─────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.card-hero {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
}
.card h3 { margin-bottom: 8px; }
.card p  { color: #A8A293; font-size: 14px; margin: 0; }

/* ── Pill (entspricht SfPill) ─────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C6C0AE;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  padding: 6px 12px;
  border-radius: 999px;
}
.pill.gold {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: var(--gold-soft);
}
.pill.dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,30,0.18);
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: 0; margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  background: var(--titlebar);
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #A8A293; font-size: 13px; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 38px; }
.footer-brand strong { font-family: var(--serif); font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-grid > div > p { color: #8A8478; font-size: 13px; line-height: 1.55; max-width: 36ch; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── Decoration: Schachbrett-Streifen ─────────────────────── */
.board-strip {
  height: 14px;
  width: 100%;
  background-image:
    linear-gradient(90deg,
      var(--square-light) 0 12.5%, var(--square-dark) 12.5% 25%,
      var(--square-light) 25% 37.5%, var(--square-dark) 37.5% 50%,
      var(--square-light) 50% 62.5%, var(--square-dark) 62.5% 75%,
      var(--square-light) 75% 87.5%, var(--square-dark) 87.5% 100%);
  background-size: 56px 14px;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  opacity: 0.85;
}

/* ── Placeholder styling for [[ … ]] tokens ───────────────── */
.ph {
  background: var(--gold-dim);
  border: 1px dashed var(--gold-soft);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 1px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
  vertical-align: baseline;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--titlebar);
  padding: 22px 0;
}
.trust-bar .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-bar .trust {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #C6C0AE;
  text-transform: uppercase;
}
.trust-bar .trust .icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
}

/* ── Audience tiles ────────────────────────────────────────── */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 22px;
  transition: border-color .2s, background .2s;
}
.audience-tile:hover { border-color: var(--gold-soft); background: var(--surface-2); }
.audience-tile .glyph {
  width: 44px; height: 44px;
  border-radius: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-soft);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 16px;
}
.audience-tile h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--sans); font-weight: 600; }
.audience-tile p { font-size: 13.5px; color: #A8A293; margin: 0; line-height: 1.55; }

/* ── 3 reasons (big stacked rows) ──────────────────────────── */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.reason {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}
.reason:last-child { border-right: 0; }
.reason .glyph {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.reason h3 { font-size: 21px; margin-bottom: 10px; font-family: var(--serif); }
.reason p { font-size: 14px; color: #A8A293; line-height: 1.6; margin: 0; }

/* ── Pricing cards ─────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 20px 60px -30px rgba(200,151,30,0.45);
}
.price-card .ribbon {
  position: absolute;
  top: -10px; right: 28px;
  background: var(--gold);
  color: #111;
  padding: 4px 12px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.price-card .tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.price-card.featured .tier { color: var(--gold); }
.price-card .price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 52px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card .price .ct { color: var(--text-muted); font-size: 22px; font-weight: 500; vertical-align: super; }
.price-card .price-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.price-card .price-sub.gold { color: var(--gold); }
.price-card .feat-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
  flex: 1;
}
.price-card .feat-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 13.5px;
  color: #C6C0AE;
  align-items: start;
}
.price-card .feat-list li::before {
  content: "✓";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700;
  margin-top: 3px;
}
.price-card .feat-list li.muted { color: var(--text-muted); }
.price-card .feat-list li.muted::before {
  content: "—";
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.price-card .feat-list li.star::before {
  content: "★";
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.price-card .btn { width: 100%; justify-content: center; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq details p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #C6C0AE;
  margin: 14px 0 0;
  max-width: 70ch;
}

/* ── Comparison table ──────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.compare-table thead th {
  background: var(--header);
  color: var(--gold);
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th.featured { background: linear-gradient(180deg, rgba(200,151,30,0.16), rgba(200,151,30,0.04)); }
.compare-table thead th.col { text-align: center; width: 130px; }
.compare-table thead th .tier-price { display: block; font-family: var(--serif); font-size: 18px; color: var(--text); font-weight: 600; margin-top: 4px; letter-spacing: 0; text-transform: none; }
.compare-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: #C6C0AE;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td.col { text-align: center; font-family: var(--mono); font-size: 12px; }
.compare-table td.col.yes { color: var(--gold); }
.compare-table td.col.no { color: var(--text-dim); }
.compare-table td.col.watermark { color: var(--success); font-size: 11px; }
.compare-table tr.group td {
  background: var(--titlebar);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 14px 18px;
}
.compare-table tbody td.featured-col { background: rgba(200,151,30,0.04); }
.compare-table .legend {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.compare-table-wrap { overflow-x: auto; }

/* ── Form ──────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 5px;
  outline: none;
  transition: border-color .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 820px) {
  .container { padding: 0 22px; }
  section { padding: 64px 0; }
  .brand .wordmark .sub { display: none; }
  .nav { gap: 0; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { margin: 0; padding: 8px 14px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .trust-bar .row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .audience, .reasons, .pricing { grid-template-columns: 1fr; }
  .reason { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ── Coming Soon ──────────────────────────────────────────────────── */
.ribbon.ribbon-soon {
  background: rgba(200,151,30,0.12);
  color: var(--gold);
  border: 1px solid rgba(200,151,30,0.40);
}
.btn-soon {
  opacity: .55 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.tier-soon {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
  margin-top: 6px;
}
