/* charlyplayer.com — dunkel, Bernstein-Akzent wie die App (#FFB32E). Nur Systemschriften, keine Tracker, keine Cookies. */
:root {
  --bg: #0f1013;
  --bg2: #15171b;
  --panel: #1a1c21;
  --panel2: #202329;
  --line: #2a2d34;
  --text: #ece9e3;
  --muted: #a7a39c;
  --accent: #FFB32E;
  --accent-soft: rgba(255, 179, 46, .12);
  --accent-ink: #1a1306;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main.doc .wrap { max-width: 860px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }

/* ---------- Kopf ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(15, 16, 19, .9);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.top { display: flex; align-items: center; gap: 22px; }
nav.top a { color: var(--muted); font-size: 15px; white-space: nowrap; }
nav.top a:hover { color: var(--text); text-decoration: none; }
nav.top a.lang { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
nav.top a.lang:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px; text-align: center;
  background:
    radial-gradient(900px 420px at 50% 100%, rgba(255, 179, 46, .13), transparent 70%),
    linear-gradient(var(--bg), var(--bg2));
  border-bottom: 1px solid var(--line);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 179, 46, .35); background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { text-wrap: balance; font-size: clamp(32px, 5.6vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero .shot {
  margin: 0 auto; max-width: 1040px; border-radius: 16px; overflow: hidden;
  border: 1px solid #33363d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03);
}
.hero .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.hero .facts li::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 700; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px;
  border: 1px solid var(--accent);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: #3a3e46; }
.btn.ghost:hover { border-color: var(--accent); filter: none; }

/* ---------- Abschnitte ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin: 0 0 36px; }
.head .kicker { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.head p { color: var(--muted); margin: 0; }

.note {
  border-left: 3px solid var(--accent); background: var(--panel);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}

/* Inhalte-Hinweis */
.legal-box {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.legal-box .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.legal-box h2 { font-size: 21px; margin: 0 0 6px; }
.legal-box p { margin: 0 0 8px; color: var(--muted); }
.legal-box p:last-child { margin-bottom: 0; }
.legal-box strong { color: var(--text); }

/* Funktionen */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.card .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tag {
  position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent); border: 1px solid rgba(255, 179, 46, .4); border-radius: 999px; padding: 1px 9px;
}

/* Bedienkonzept: drei Punkte (Schwung, Ruhe, Tempo) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feel .card { background: linear-gradient(180deg, rgba(255, 179, 46, .07), var(--panel) 55%); border-color: rgba(255, 179, 46, .22); }
.feel .card h3 { font-size: 20px; }
.hero p.lead strong { color: var(--text); font-weight: 700; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.gallery a:hover, .gallery a:focus-visible { border-color: var(--accent); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: 14.5px; color: var(--muted); margin-top: 9px; line-height: 1.45; }
.small { font-size: 14px; color: var(--muted); }

/* Lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1600px, 96vw); width: 96vw; }
dialog.lb::backdrop { background: rgba(0, 0, 0, .88); }
dialog.lb img { width: 100%; border-radius: 10px; }
dialog.lb p { color: var(--text); text-align: center; margin: 10px 0 0; font-size: 15px; }
dialog.lb button {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 22px; cursor: pointer;
}

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.price.hl { border-color: rgba(255, 179, 46, .55); box-shadow: 0 0 0 1px rgba(255, 179, 46, .2) inset; }
.price h3 { margin: 0 0 4px; font-size: 19px; }
.price .amount { font-size: 34px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.01em; }
.price .per { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.price ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 15.5px; }
.price li { padding: 4px 0 4px 22px; position: relative; }
.price li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

/* Demo */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two .card h3 { margin-bottom: 10px; }
.two .card p + p { margin-top: 10px; }

main.doc { padding: 44px 0 64px; }
main.doc h1 { font-size: 34px; margin: 0 0 8px; line-height: 1.2; }
main.doc h2 { font-size: 22px; margin: 36px 0 8px; color: var(--accent); }
main.doc h3 { font-size: 18px; margin: 24px 0 6px; }
main.doc p, main.doc li { color: var(--text); }
main.doc .muted, .muted { color: var(--muted); }
main.doc table { display: block; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

code { background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14px; overflow-wrap: break-word; }

.placeholder { background: rgba(255, 179, 46, .12); color: var(--accent); padding: 0 4px; border-radius: 4px; }

/* ---------- Fuß ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--bg2); padding: 44px 0 36px; color: var(--muted); font-size: 14.5px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.site h4 { color: var(--text); font-size: 14px; margin: 0 0 10px; letter-spacing: .04em; text-transform: uppercase; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0 0 6px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site .brand { font-size: 17px; margin-bottom: 10px; color: var(--text); }
footer.site .tmdb { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
footer.site .tmdb img { width: 108px; height: 14px; }
footer.site .tmdb p { margin: 0; flex: 1 1 300px; }
footer.site .copy { margin: 14px 0 0; }

/* ---------- schmal ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  nav.top .opt { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero .actions { margin-bottom: 32px; }
  .hero .shot { border-radius: 10px; }
  section.block { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .legal-box { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  nav.top { gap: 14px; }
  .btn { padding: 11px 20px; }
}
