/* ===========================================================
   DJ Beat and Bite — Design tokens
   Charcoal booth + brass VU-meter gold + cable-teal accent.
   Inspired by a mixer's faceplate, not a phone screen.
=========================================================== */

:root {
  --bg: #1b1a1d;
  --bg-alt: #221f23;
  --surface: #2a272b;
  --surface-raised: #322e33;
  --line: #3d383d;
  --line-soft: #333035;

  --text: #f4efe6;
  --text-muted: #a89f95;
  --text-faint: #6f6a65;

  --gold: #e8621f;
  --gold-soft: #f2955e;
  --teal: #2e5fd9;
  --teal-soft: #6e93f0;

  --status-green: #4caf6d;
  --status-amber: #e8b33d;
  --status-red: #e2554b;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--teal-soft);
}

p { color: var(--text-muted); margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #221a0c;
}
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--teal-soft); color: var(--teal-soft); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(27, 26, 29, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo span { color: var(--gold); }
.logo-img { height: 40px; max-height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; flex-shrink: 0; }
.hero-logo { height: 220px; max-height: 220px; width: auto; max-width: 500px; object-fit: contain; display: block; margin-bottom: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 40px;
  height: 40px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
section:last-of-type { border-bottom: none; }
.section-head { max-width: 620px; margin: 0 0 52px; }
.section-head h2 { font-size: 42px; margin-bottom: 16px; }
.section-head p { font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 100px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 420px at 82% -10%, rgba(217, 164, 65, 0.14), transparent 60%),
    radial-gradient(600px 380px at 5% 110%, rgba(47, 184, 166, 0.10), transparent 60%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 68px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-lede { font-size: 18.5px; max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
}

/* ---------- Phone / demo mock ---------- */
.phone {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.phone-screen {
  background: var(--bg-alt);
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.phone-topbar {
  padding: 16px 18px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
}
.phone-body { padding: 4px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.phone-body h3 { font-size: 21px; margin-bottom: 4px; }
.phone-body .sub { font-size: 13px; margin-bottom: 18px; }

.status-banner {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
}
.status-banner .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.status-banner[data-state="green"] { background: rgba(76,175,109,0.14); color: #a6e6bd; border-color: rgba(76,175,109,0.3); }
.status-banner[data-state="green"] .dot { background: var(--status-green); }
.status-banner[data-state="amber"] { background: rgba(232,179,61,0.14); color: #f3d491; border-color: rgba(232,179,61,0.3); }
.status-banner[data-state="amber"] .dot { background: var(--status-amber); }
.status-banner[data-state="red"] { background: rgba(226,85,75,0.14); color: #f2a49d; border-color: rgba(226,85,75,0.3); }
.status-banner[data-state="red"] .dot { background: var(--status-red); }

.fake-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.fake-input strong { color: var(--text); font-weight: 500; }
.fake-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.fake-result b { color: var(--text); font-weight: 600; }

.queue-pos {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.queue-pos b { color: var(--gold-soft); }

/* ---------- Ticker / problem section ---------- */
.problem {
  background: var(--bg-alt);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.problem-quotes { display: flex; flex-direction: column; gap: 16px; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.quote-card b { color: var(--text); }
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--surface);
}
.step .num {
  font-family: var(--mono);
  color: var(--teal-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}
.step h3 { font-size: 24px; margin-bottom: 10px; font-family: var(--body); font-weight: 700; }
.step p { font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Signature feature: control panel ---------- */
.control-feature .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .control-feature .wrap { grid-template-columns: 1fr; }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.panel-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.ampel-row { display: flex; gap: 10px; margin-bottom: 22px; }
.ampel-btn {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ampel-btn .dot { width: 12px; height: 12px; border-radius: 50%; }
.ampel-btn[data-state="green"] .dot { background: var(--status-green); }
.ampel-btn[data-state="amber"] .dot { background: var(--status-amber); }
.ampel-btn[data-state="red"] .dot { background: var(--status-red); }
.ampel-btn.active { border-color: currentColor; background: var(--surface-raised); color: var(--text); }

.panel-preview-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.control-copy h2 { font-size: 40px; margin-bottom: 18px; }
.control-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.control-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.control-list li::before {
  content: "→";
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.feature-card .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-soft);
  font-family: var(--mono);
  font-size: 15px;
}
.feature-card h3 { font-family: var(--body); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(217,164,65,0.08), var(--surface) 40%);
  position: relative;
}
.price-tag {
  position: absolute;
  top: -12px; right: 22px;
  background: var(--gold);
  color: #221a0c;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-card h3 { font-family: var(--body); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.price-card .price { font-family: var(--display); font-size: 44px; color: var(--text); margin: 10px 0 4px; }
.price-card .price span { font-family: var(--body); font-size: 14px; color: var(--text-faint); font-weight: 400; }
.price-card .price-desc { font-size: 13.5px; margin-bottom: 22px; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; }
.price-list li b { color: var(--text); font-weight: 600; }
.price-list li.no { color: var(--text-faint); }
.check { color: var(--teal-soft); flex-shrink: 0; }
.cross { color: var(--text-faint); flex-shrink: 0; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-footnote {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.audience-card h3 { font-family: var(--body); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.audience-card p { font-size: 14px; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 100px 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217,164,65,0.10), transparent 65%);
}
.cta-band h2 { font-size: 46px; margin-bottom: 18px; }
.cta-band p { max-width: 480px; margin: 0 auto 32px; font-size: 17px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 40px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 110px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { font-size: 44px; margin-bottom: 8px; }
.legal-updated { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); margin-bottom: 44px; }
.legal-page h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 19px;
  margin: 40px 0 12px;
  color: var(--text);
}
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15px; }
.legal-page ul { padding-left: 20px; }
.legal-placeholder {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 0.92em;
}
.legal-note {
  margin-top: 48px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}
.legal-note b { color: var(--text); }

/* ---------- Login / dashboard page ---------- */
.auth-shell {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--body);
}
.auth-tab.active { background: var(--gold); color: #221a0c; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 6px;
  font-family: var(--mono);
  letter-spacing: 0.03em;
}
.field input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: var(--body);
}
.field input:focus { outline: 2px solid var(--teal-soft); outline-offset: 1px; }

/* Kalender-/Uhrzeit-Auswahl bei datetime-local/date/time-Feldern auf dunklem Grund sichtbar machen */
input[type="datetime-local"],
input[type="date"],
input[type="time"] {
  color-scheme: dark;
  cursor: pointer;
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85);
  cursor: pointer;
  padding: 4px;
}
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-faint); }
.auth-note { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--text-faint); }

/* ---------- Dashboard demo ---------- */
.dash-shell { padding: 40px 0 110px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { font-size: 38px; }
.dash-head p { font-size: 14px; margin-top: 6px; }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
}
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.dash-panel h2 { font-family: var(--body); font-weight: 700; font-size: 16px; margin-bottom: 18px; }

.wish-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.wish-row:last-child { border-bottom: none; }
.wish-num { font-family: var(--mono); color: var(--text-faint); font-size: 13px; width: 22px; }
.wish-info { flex: 1; }
.wish-info b { display: block; font-size: 14.5px; }
.wish-info span { font-size: 12.5px; color: var(--text-faint); }
.wish-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn.accept:hover { border-color: var(--status-green); color: var(--status-green); }
.icon-btn.reject:hover { border-color: var(--status-red); color: var(--status-red); }

.qr-box {
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

/* ---------- Utility ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 28px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.mobile-nav a:last-child { border-bottom: none; }