/* PR Board by mag3d — Stylesheet

   Die Seite sieht aus wie das Board selbst: weiße Ziegelwand als Grund,
   schwarz wie Rahmen und Scheiben für Schrift und Flächen, Stahlgrau wie die
   Stangen. Gelb (wie Bodenmarkierungen im Studio) gibt es nur an einer
   Stelle: auf den Kaufen-Knöpfen. */

:root {
  --bg: #f4f4f2;        /* Ziegelweiß – Grundfläche */
  --bg-2: #e7e8e5;      /* Wand im Schatten – abgesetzte Abschnitte */
  --bg-3: #dcddd9;      /* Bildhintergrund */
  --line: #c4c7c6;      /* Fugen */
  --ink: #1d2024;       /* Rahmen und Scheiben */
  --txt: #1d2024;
  --txt-dim: #5c636b;   /* Stahl */
  --bar: #9aa0a6;       /* Hantelstange */
  --mark: #f2c230;      /* Markierungsgelb – nur Kaufen-Knöpfe */
  --ok: #2f7d4f;
  --radius: 4px;
  --max: 1180px;
  /* Bewusst keine Web-Schriften: nichts wird von fremden Servern geladen
     (Datenschutz) und die Seite steht sofort. Die Überschriften nehmen die
     schmale DIN- bzw. Bahnschrift, die auf Mac/iPhone und Windows schon
     installiert ist; Android nimmt seine schmale Roboto. */
  --display: "DIN Condensed", "Bahnschrift Condensed", "Bahnschrift", "Roboto Condensed",
             "sans-serif-condensed", "Arial Narrow", sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Ziegelmuster der Board-Rückwand, als winzige Grafik direkt im Stylesheet */
  --brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28'%3E%3Cpath d='M0 .5h48M0 14.5h48M.5 0v14M24.5 14v14' stroke='%23d9dad6' fill='none'/%3E%3C/svg%3E");
}

* { 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(--txt);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bar); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Überschriften in der schmalen Schrift, groß und eng – wie die Schilder am Board */
h1, h2, h3 {
  font-family: var(--display); font-stretch: condensed; font-weight: 700;
  line-height: .95; letter-spacing: -.005em; margin: 0 0 .45em;
}
h1 { font-size: clamp(3rem, 8vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h3 { font-size: 1.65rem; line-height: 1; }
p { margin: 0 0 1em; }

.muted { color: var(--txt-dim); }
.center { text-align: center; }
.small { font-size: .875rem; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,244,242,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo {
  font-family: var(--display); font-stretch: condensed; font-weight: 700;
  font-size: 1.7rem; line-height: 1; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; padding-top: 4px;
}
.logo span { color: var(--txt-dim); }
.nav ul { list-style: none; display: flex; gap: 24px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--txt-dim); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav ul a:hover { color: var(--ink); }
.nav ul .lang-switch { font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav ul .lang-switch a { font-size: inherit; }
.burger { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav ul { display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav ul.open { display: flex; }
  .nav ul li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--mark); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 12px 24px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--bg); transform: none; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.eyebrow { display: block; color: var(--txt-dim); font-weight: 600; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--txt-dim); max-width: 44ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Eckdaten unter dem Hero: schlichte Zeile mit Fugen statt Kacheln */
.facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.facts li { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--txt-dim); }
.facts strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 60ch; margin-bottom: 36px; }
.sec-head p { color: var(--txt-dim); }

/* ---------- Raster ---------- */
.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: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--txt-dim); margin: 0; font-size: .95rem; }

/* ---------- Echtes Foto im dunklen Band ----------
   Das Foto vom gedruckten Board ist das stärkste Bild der Seite, deshalb groß
   auf Schwarz wie der Rahmen. */
.loader-sec { background: var(--ink); color: var(--bg); }
.loader-sec p { color: #b9bec4; font-size: 1.08rem; max-width: 42ch; }
.loader-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.loader-sec .shot { aspect-ratio: 1.47; }
@media (max-width: 860px) { .loader-grid { grid-template-columns: 1fr; gap: 28px; } }
/* Video: quadratisch, rechts neben dem Text */
@media (min-width: 861px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.loader-sec .video-shot { aspect-ratio: 1; max-width: 560px; }
.video-shot video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Schritte ---------- */
.step .shot { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.step h3 { display: flex; align-items: baseline; gap: 12px; }
.step-no { font-size: 2.6rem; line-height: .8; color: var(--bar); }
.step p { color: var(--txt-dim); margin: 0; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }

.product {
  background: var(--bg); border: 2px solid var(--ink);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  position: relative;
}
.badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--mark); color: var(--ink); font-size: .78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 2px;
}
/* Bild in der Kachel: etwas Luft rundum, Box im Seitenverhältnis des Boards (1,464),
   "contain" lässt jedem Motiv sein eigenes Verhältnis. */
.product-img {
  position: relative; background: var(--bg-3) var(--brick);
  display: grid; place-items: center; padding: 18px;
  border-bottom: 2px solid var(--ink); overflow: hidden;
}
.product-img img { width: 100%; height: auto; aspect-ratio: 1.464; object-fit: contain; display: block; }
.product-img svg { width: 82%; height: auto; }
.img-note {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 10px;
  background: rgba(244,244,242,.92); font-size: .75rem; color: var(--txt-dim); text-align: center;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 4px; }
.product-body .sub { color: var(--txt-dim); font-size: .92rem; margin-bottom: 14px; }
.product ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .93rem; }
.product ul li { padding: 6px 0 6px 22px; position: relative; color: var(--txt-dim); border-bottom: 1px solid var(--bg-2); }
.product ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.price { font-family: var(--display); font-stretch: condensed; font-size: 2.6rem; font-weight: 700; line-height: 1; margin-top: auto; }
.price small { font-family: var(--font); font-size: .78rem; font-weight: 400; color: var(--txt-dim); display: block; margin-top: 6px; }
.product .btn { margin-top: 18px; }

/* Ablauf der Bestellung – echte Reihenfolge, daher nummeriert */
.order-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.order-steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.order-steps li::before { content: counter(s); font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 2rem; line-height: 1; color: var(--bar); }
.order-steps p { margin: 2px 0 0; color: var(--txt-dim); font-size: .95rem; }
.sets-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 980px) { .sets-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Gründe (statt Kacheln: Text mit Fuge darüber) ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 56px; }
.reasons div { border-top: 2px solid var(--ink); padding-top: 14px; }
.reasons p { color: var(--txt-dim); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.config { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--txt); padding: 11px 13px; font: inherit; font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .82rem; color: var(--txt-dim); margin-top: 6px; }

.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.notice { background: #fbf3d6; border: 1px solid #e3c45e; border-radius: var(--radius); padding: 14px 16px; font-size: .9rem; }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq:first-of-type { border-top: 2px solid var(--ink); }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--txt-dim); margin: 10px 0 0; max-width: 70ch; }

/* ---------- Abschluss ---------- */
.closer { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 2px solid var(--ink); padding-top: 28px; }
.closer h2 { margin: 0; }
.closer p { margin: 8px 0 0; color: var(--txt-dim); max-width: 46ch; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; padding-top: 48px; }
.legal h2 { font-size: 1.9rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.35rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--txt-dim); }
.legal ul, .legal ol { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.legal th, .legal td, table.pricing th, table.pricing td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.legal th { background: var(--bg-2); color: var(--txt); }
.box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 1.5em 0; }

table.pricing { width: 100%; border-collapse: collapse; }
table.pricing th { background: var(--bg-2); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #b9bec4; padding: 48px 0 28px; margin-top: 56px; }
footer.site .logo { color: var(--bg); }
footer.site .muted { color: #9aa0a6; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site h4 { font-size: .95rem; color: var(--bg); margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site ul li { margin-bottom: 8px; }
footer.site ul a { color: #b9bec4; font-size: .92rem; text-decoration: none; }
footer.site ul a:hover { color: var(--bg); text-decoration: underline; }
footer.site :focus-visible { outline-color: var(--mark); }
.copyright { border-top: 1px solid #3a3f45; margin-top: 32px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Offene Punkte (vor dem Livegang löschen) ----------
   Bewusst auffällig: was hier steht, darf nicht live gehen. */
.todo {
  background: #fbf3d6; border: 1px dashed #b8901a; border-radius: var(--radius);
  padding: 16px 20px; margin: 1.5em 0; font-size: .9rem; color: var(--txt);
}
.todo b { color: #7a5c00; }

/* ---------- Bild-Platzhalter ----------
   Solange ein Foto fehlt, zeigt der Browser sonst ein kaputtes Bildsymbol.
   Stattdessen erscheint eine saubere Fläche mit dem Hinweis, welches Foto
   dort hingehört. Sobald die Datei im Ordner liegt, verschwindet sie von selbst. */
.shot { position: relative; border-radius: 2px; overflow: hidden; }
.shot.is-empty {
  border: 1px dashed var(--line); background: var(--bg-2);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.shot.is-empty::after {
  content: attr(data-label); color: var(--txt-dim); font-size: .85rem;
  text-align: center; padding: 0 24px; max-width: 32ch;
}

/* ---------- QR-Landingpage für ein Partnerstudio (Ordner /g) ----------
   Wer sie sieht, steht vor dem Board und ist schon überzeugt – deshalb knapp. */
.qr-page main { padding-block: 28px 48px; }
.qr-gym {
  display: inline-block; background: var(--mark); color: var(--ink);
  border-radius: 2px; padding: 4px 12px; font-size: .85rem; font-weight: 700; margin-bottom: 18px;
}
.qr-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.qr-price .now { font-family: var(--display); font-stretch: condensed; font-size: 3rem; font-weight: 700; }
.qr-price .was { color: var(--txt-dim); text-decoration: line-through; font-size: 1.15rem; }
.qr-code-pill {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; font-size: .9rem; color: var(--txt-dim); margin: 16px 0;
}
.qr-code-pill b { color: var(--ink); }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.trust li { padding-left: 24px; position: relative; color: var(--txt-dim); font-size: .95rem; }
.trust li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }

/* ---------- Tabellen und Formulare am Handy ---------- */
.table-scroll { overflow-x: auto; margin: 1em 0; }
.table-scroll table { margin: 0; min-width: 460px; }
.box, .legal p, .legal li { overflow-wrap: anywhere; }

/* ---------- Bilder mit Kennzeichnung ----------
   Renderings sind keine Fotos – das muss am Bild selbst stehen. */
figure.shot { margin: 0; background: var(--bg-3); }
figure.shot img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(244,244,242,.9); color: var(--ink);
  font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 2px;
}
.tag.real { background: var(--ink); color: var(--bg); }
.hero-shot { aspect-ratio: 1; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery .shot { aspect-ratio: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Scheibenfarbe ---------- */
.farben-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.farben-board { aspect-ratio: 1; }
.farben-board img { transition: opacity .25s ease; }
.farben-board img.fade { opacity: 0; }
figure.farben-foto { aspect-ratio: 1; max-width: 340px; margin-top: 28px; }
.farbwahl { display: flex; gap: 12px; flex-wrap: wrap; }
.farb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .95rem var(--font); color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 10px 16px; cursor: pointer;
}
.farb-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.farb-btn .dots { display: inline-flex; }
.farb-btn .dots i {
  width: 14px; height: 14px; border-radius: 50%; background: var(--c);
  border: 1.5px solid var(--bg); margin-left: -4px; box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.farb-btn .dots i:first-child { margin-left: 0; }
@media (max-width: 860px) {
  .farben-grid { grid-template-columns: 1fr; gap: 28px; }
  .farben-foto { max-width: none; }
}
