/* kompassnadel – Kompass hell */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --cream: #FFFAF3;
  --sand: #F3ECDF;
  --line: #EFE6D8;
  --ink: #243044;
  --muted: #5B6475;
  --coral: #FF6B4A;
  --coral-text: #C8412A;
  --north: #CDE5FF;
  --east: #FFD6C7;
  --south: #FFE27A;
  --west: #E0D5FF;
  --mint: #BDEBD2;
  --red-soft: #FF8A6E;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: var(--coral-text); }
a:hover { color: #9A2F1D; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.4em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; margin-top: 1.2em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--coral-text); }
p { margin: 0 0 0.8em; }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.inline { display: inline; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Kopf */
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.04em; white-space: nowrap; color: var(--ink); }
.wordmark svg { width: 0.56em; height: 0.56em; vertical-align: -0.01em; margin: 0 0.015em; }
.mainnav { display: flex; flex-wrap: wrap; gap: 8px; flex-grow: 1; }
.pill { padding: 9px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.pill.n { background: var(--north); } .pill.o { background: var(--east); } .pill.w { background: var(--west); }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; font: 700 16px var(--body); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); filter: brightness(0.97); }
.btn-coral { background: var(--coral); }
.btn-mint { background: var(--mint); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); }
.btn-outline { background: #fff; border: 1.5px solid var(--ink); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn.wide { width: 100%; }
.linkbtn { background: none; border: 0; padding: 8px 0; min-height: 44px; font: 600 14px var(--body); color: var(--coral-text); cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Layout */
main { padding: 0 clamp(16px, 4vw, 48px) 64px; max-width: 1320px; margin: 0 auto; }
body.narrow main { max-width: 720px; }
.card { border-radius: 32px; padding: clamp(22px, 3vw, 36px); margin: 0 0 20px; }
.card-n { background: var(--north); } .card-o { background: var(--east); } .card-s { background: var(--south); } .card-w { background: var(--west); }
.card-white { background: #fff; border: 1px solid var(--line); }
.card.inner { border-radius: 20px; padding: 18px; margin: 12px 0 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.page-head { padding: 36px 0 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.chip-w { background: var(--west); }

/* Meldungen */
.flash { margin: 16px 0; padding: 14px 18px; border-radius: 18px; font-weight: 600; }
.flash-ok { background: var(--mint); } .flash-error { background: var(--east); } .flash-info { background: var(--north); }

/* Startseite */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding: 48px 0; }
.hero h1 { font-size: clamp(56px, 9vw, 116px); line-height: 0.9; letter-spacing: -0.045em; margin: 20px 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.daily { display: flex; gap: 28px; align-items: center; border-radius: 40px; margin: 0; }
.daily-compass { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.needle { transform-origin: 100px 100px; transition: transform .7s cubic-bezier(.3,1.6,.5,1); }
.compass-labels { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.lab { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.lab-r { background: var(--mint); } .lab-f { background: var(--red-soft); } .lab-k { background: var(--south); }
.daily-body { flex-grow: 1; min-width: 0; }
.q-text { font-size: clamp(26px, 3vw, 36px); }
.q-small { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.q-small a { color: var(--ink); text-decoration: none; }
.note { background: var(--cream); border-radius: 20px; padding: 16px 18px; }

/* Abstimmen */
.vote { display: flex; gap: 10px; }
.vote.stack { flex-direction: column; }
.vote.row { flex-wrap: wrap; }
.vote.row .ans { flex: 1 1 110px; }
.ans { min-height: 52px; padding: 0 16px; border-radius: 999px; border: 0; font: 700 17px var(--body); color: var(--ink); cursor: pointer; }
.vote.small .ans { min-height: 44px; font-size: 15px; }
.ans-r { background: var(--mint); } .ans-f { background: var(--red-soft); } .ans-k { background: var(--south); }
.ans-outline { background: transparent; border: 1.5px solid var(--ink); }
.ans:hover { filter: brightness(0.96); }

.blitz { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; border-radius: 40px; }
.blitz h2 { font-size: clamp(34px, 4.5vw, 56px); margin-top: 14px; }
.blitz-list { display: flex; flex-direction: column; gap: 12px; }
.blitz-item { background: var(--cream); border-radius: 24px; padding: 18px; }

.directions { padding: 40px 0; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dir-grid .card { display: flex; flex-direction: column; gap: 6px; min-height: 180px; color: var(--ink); text-decoration: none; margin: 0; }
.dir-grid b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.dir-grid em { font-family: var(--serif); font-size: 20px; }
.dir-grid span { margin-top: auto; font-size: 14px; font-weight: 600; }
.checks { padding-left: 1.2em; }

/* Listen */
.q-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.q-card { margin: 0; }
.q-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sand); white-space: nowrap; }
.badge-alltag { background: var(--north); } .badge-beziehung { background: var(--east); } .badge-fein { background: var(--west); } .badge-ab18 { background: var(--red-soft); }
.badge-daily { background: var(--south); } .badge-live { background: var(--mint); } .badge-pruefung { background: var(--south); } .badge-abgelehnt { background: var(--red-soft); } .badge-archiv { background: var(--sand); }
.ans-badge-r { background: var(--mint); } .ans-badge-f { background: var(--red-soft); } .ans-badge-k { background: var(--south); }

/* Ergebnisse */
.results { margin-top: 12px; }
.bar-row { margin: 12px 0; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.bar { height: 14px; border-radius: 999px; background: var(--sand); overflow: hidden; display: flex; margin-top: 6px; }
.seg { display: block; height: 100%; }
.seg-r { background: #6CC99A; } .seg-f { background: var(--coral); } .seg-k { background: #F2C83A; }
.legend { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.lock { font-size: 15px; background: var(--west); padding: 12px 16px; border-radius: 16px; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.report { margin-top: 12px; }

/* Formulare */
.stack-form { display: flex; flex-direction: column; gap: 10px; }
label { font-weight: 700; font-size: 15px; }
input[type=email], input[type=text], input:not([type]), input[type=date], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid var(--ink); background: #fff; font: 16px var(--body); color: var(--ink);
}
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 8px 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; cursor: pointer; }
.chip-radio input:checked + span { background: var(--north); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; border: 1.5px solid #E3D9C9; margin-bottom: 8px; font-weight: 400; cursor: pointer; }
.option:has(input:checked) { border-color: var(--ink); background: var(--north); }
.option input { margin-top: 5px; }
.option small { display: block; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #E3D9C9; }

/* Mein Kompass */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px 18px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 24px; }
.stat span { font-size: 12px; color: var(--muted); }
.stat-mint { background: var(--mint); border-color: var(--mint); }
.dash { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.table-card { padding: 8px 24px; }
.trow { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 240px; min-width: 0; }
.reject-form select { width: auto; min-height: 40px; font-size: 14px; }
.trow input[type=date] { width: auto; min-height: 40px; }
details summary { cursor: pointer; }

/* Texte */
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Fuß */
.footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 40px clamp(16px, 4vw, 48px); background: var(--sand); }
.footer div { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer .wordmark { font-size: 28px; }

@media (max-width: 860px) {
  .hero, .blitz, .dash { grid-template-columns: 1fr; }
  .daily { flex-direction: column; }
  .mainnav { order: 3; width: 100%; }
  .topbar-right .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .wordmark { font-size: 27px; }
}

body.narrow main > section:first-of-type, body.narrow main > .flash:first-child { margin-top: 32px; }

/* Morgen-Nachricht */
.pushbox { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 40px; margin-top: 20px; }
.pushbox h2 { font-size: clamp(30px, 4vw, 48px); }
.push-controls { display: flex; flex-direction: column; gap: 10px; }
.push-status:empty { display: none; }
.push-ios { background: var(--cream); border-radius: 16px; padding: 12px 14px; }
.dash-side .pushbox { grid-template-columns: 1fr; gap: 12px; }
.dash-side .pushbox h2 { font-size: 28px; }
@media (max-width: 860px) { .pushbox { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* Moderation: Anmeldestatistik */
.sig-grid { margin-top: 14px; }
.sig-grid h3 { font-size: 15px; margin: 0 0 8px; }
.sig-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 3px 0; }
.sig-lbl { width: 52px; color: var(--muted); flex: none; }
.sig-bar { flex: 1; height: 10px; background: #f1ede6; border-radius: 6px; overflow: hidden; }
.sig-bar i { display: block; height: 100%; background: var(--coral, #e8735a); border-radius: 6px; min-width: 2px; }
.sig-row b { width: 28px; text-align: right; flex: none; }

/* Himmelsrichtungen */
.dir-head { display: flex; gap: 20px; align-items: center; }
.dir-letter { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 40px; border: 3px solid var(--ink, #243044); }
.dir-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.dir-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; font-size: 14px; }
.dir-nav a.active { font-weight: 700; border-color: transparent; }
.rubrik { margin: 28px 0; }
.rubrik > h2 { margin-bottom: 4px; }
.rubrik .q-list { margin-top: 12px; }
/* Ergebnis-Stufen */
.reveal-box p { margin: 6px 0 0; }
.needle-result { display: flex; gap: 18px; align-items: center; }
.needle-result svg { flex: none; }
.needle-text { font-size: 18px; margin: 0 0 6px; }
@media (max-width: 520px) { .dir-head, .needle-result { flex-direction: column; align-items: flex-start; } }
