/* Candle Sounds – Landingpage warm & mobil, Admin nüchtern. Keine externen Fonts/CDNs. */
:root {
  --wax: #faf6f0;
  --ink: #241f1b;
  --muted: #7d726a;
  --ember: #b5542a;
  --line: #e4dbd0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--wax);
  -webkit-text-size-adjust: 100%;
}

/* ---------------------------------------------------------- Landingpage */
body.landing {
  background: radial-gradient(130% 90% at 50% 0%, #fffaf3 0%, var(--wax) 48%, #f1e8dc 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 18px 24px;
}
.card {
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.kicker {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.card h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.1;
}
.scent { margin: 0 0 18px; color: var(--ember); font-size: 15px; letter-spacing: .04em; }
.notes {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.notes li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
}
.desc { margin: 0 0 26px; color: #4a423c; }
.play, .timer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.play h2, .timer h2 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.buttons { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.hint { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.timer-read {
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-family: Georgia, serif;
}
.foot {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}
.foot a { color: var(--muted); }

/* --------------------------------------------------------------- Admin */
body.admin { max-width: 1060px; margin: 0 auto; padding: 24px 18px 60px; background: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bar h1 { font-size: 22px; margin: 0; }
.bar nav { display: flex; align-items: center; gap: 14px; }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
code { background: #f4f1ec; padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.muted { color: var(--muted); font-size: 13px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.tag.ok { background: #e6f3e9; color: #256b36; }
.tag.off { background: #f1eeea; color: var(--muted); }
.actions { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.actions form { margin: 0; }
.link-danger { background: none; border: 0; padding: 0; color: #a32020; cursor: pointer; font: inherit; font-size: 13px; text-align: left; }
.form { margin-top: 20px; max-width: 640px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px 20px; margin: 0 0 20px; }
legend { padding: 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
label.check { font-weight: 400; display: flex; align-items: center; gap: 8px; }
input, textarea, select {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
label.check input { width: auto; margin: 0; }
.panel { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 20px; }
.qr-row { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.qr-preview { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.inline { max-width: 420px; }
