/* Schriften selbst gehostet (kein Google-Fonts-Aufruf, DSGVO) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("/fonts/marker.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #141014;
  --bone: #F4EFE6;
  --white: #FFFFFF;
  --accent: #FF3D2E;
  --accent-text: #C42A1B;
  --lilac: #B9A4FF;
  --text-2: #3A343D;
  --text-3: #5C5560;
  --on-ink-2: #D8D1DC;
  --line: #D9D1C5; --surface: #FFFFFF; --muted: #5C5560; /* für stats.html */
  --t-whey: var(--accent);
  --t-isolate: #5A4FD6;
  --t-plant: #1F9D63;
  --t-clear: #1AA3D9;
  --t-rtd: #F2A516;
  --t-collagen: #FF5FA2;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --border: 2px solid var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.marker { font-family: var(--marker); font-weight: 400; letter-spacing: 0; }
.muted { color: var(--text-2); }
.display { font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.06em; line-height: 0.9; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; border-radius: 999px; border: var(--border);
  font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.pill:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.pill-ink { background: var(--ink); color: var(--bone); }
.pill-ink:hover { box-shadow: 4px 4px 0 var(--accent); }
.pill-accent { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--t-isolate); outline-offset: 3px; }

/* Header + logo */
.top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-emblem { width: 40px; height: 56px; flex: none; }
.logo-words { display: inline-flex; align-items: baseline; gap: 8px; }
.logo-strike {
  position: relative; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--text-3);
}
.logo-strike::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 3px;
  background: var(--accent); transform: rotate(-5deg); border-radius: 3px;
}
.logo-main { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.05em; }
.logo-main .marker { color: var(--accent); }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav > a:not(.pill) { padding: 12px 16px; font-weight: 600; text-decoration: none; }
.top-nav > a:not(.pill):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 24px; padding-bottom: 48px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.tag {
  align-self: flex-start; border: var(--border); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(50px, 7.6vw, 112px); letter-spacing: -0.06em; line-height: 0.94; }
.hero h1 { isolation: isolate; }
.hl { position: relative; z-index: -1; background: var(--lilac); padding: 0 .1em; border-radius: .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.heads-up {
  align-self: flex-start; max-width: 600px; background: var(--white); border: var(--border); border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink); padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline;
  font-size: 15px; line-height: 1.5;
}
.heads-up-kicker { color: var(--accent-text); font-size: 18px; white-space: nowrap; }
.heads-up strong { display: block; }
.hero-cta { align-self: flex-start; min-height: 56px; padding: 0 28px; font-size: 17px; gap: 10px; }
.hero-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lead { font-size: 21px; line-height: 1.5; max-width: 560px; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .pill { min-height: 56px; padding: 0 28px; font-size: 17px; }

.hero-art { flex: 1 1 340px; display: flex; justify-content: center; }
.emblem-stage { position: relative; width: min(400px, 100%); }
.emblem { display: block; width: 100%; height: auto; transform-origin: 50% 90%; }
.sticker { position: absolute; border: var(--border); white-space: nowrap; }
.sticker-a {
  top: -5%; left: -24%; background: var(--lilac); border-radius: 999px; padding: 8px 16px;
  font-family: var(--marker); font-size: clamp(15px, 2vw, 20px); transform: rotate(-7deg);
}
.sticker-b {
  bottom: 12%; right: -8%; background: var(--white); border-radius: 14px; padding: 10px 14px;
  font-weight: 700; font-size: 15px; line-height: 1.3; transform: rotate(6deg);
}
@media (hover: hover) {
  .emblem-stage:hover .emblem { animation: flex .6s ease; }
}
@keyframes flex { 40% { transform: rotate(-3deg) scale(1.03); } }

/* Laufband */
.band { background: var(--ink); color: var(--bone); overflow: hidden; border-block: var(--border); }
.band-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.band span {
  padding: 18px 0; white-space: nowrap; text-transform: uppercase;
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.03em;
}
.band i { font-style: normal; color: var(--accent); margin: 0 .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hinweis alter Store */
.notice-wrap { padding-top: 72px; padding-bottom: 24px; }
.notice {
  background: var(--white); border: var(--border); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink);
  padding: 32px 36px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center;
}
.notice-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.notice-kicker { font-size: 22px; color: var(--accent-text); }
.notice h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.notice-body { flex: 1.4 1 400px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }

/* Picks */
.picks { padding-top: 72px; padding-bottom: 72px; }
.picks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip {
  font: inherit; font-weight: 700; font-size: 16px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: var(--border); background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; transition: background .15s, color .15s;
}
.chip:hover { background: var(--white); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.chip-toggle[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.chip .dot { width: 14px; height: 14px; border-radius: 50%; border: var(--border); }
.chip-toggle[aria-pressed="true"] .dot { background: var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
.search {
  display: flex; align-items: center; gap: 10px; flex: 1 1 240px; max-width: 360px; min-height: 48px;
  padding: 0 18px; background: var(--white); border: var(--border); border-radius: 999px;
}
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.search:focus-within { box-shadow: 4px 4px 0 var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--white); border: var(--border); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.visual {
  --c: var(--accent); position: relative; height: 220px; padding-top: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 18%, var(--white)); border-bottom: var(--border);
}
.visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px 16px 16px; }
.lid { width: 132px; height: 22px; border-radius: 10px; background: var(--ink); }
.tub {
  width: 118px; height: 128px; margin-top: -2px; padding: 10px;
  border: var(--border); border-radius: 8px 8px 20px 20px; background: var(--c);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase;
  transition: transform .2s ease;
}
.card:hover .tub { transform: rotate(-4deg); }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--white); border: var(--border);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.badge-vegan { left: auto; right: 14px; background: var(--ink); color: var(--bone); border-color: var(--ink); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.card h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.05; }
.note { font-size: 15px; line-height: 1.5; color: var(--text-2); flex: 1; }
.fact { font-size: 13px; line-height: 1.4; padding-top: 10px; border-top: 1px dashed var(--line); }
.fact span { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--text-3); margin-right: 4px; }
.cta { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.cta svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.card:hover .cta svg { transform: translateX(4px); }
.empty { padding: 40px 0; text-align: center; font-family: var(--marker); font-size: 22px; }
.disclosure { margin-top: 32px; max-width: 720px; font-size: 14px; color: var(--text-3); }

/* Manifest */
.manifesto { background: var(--ink); color: var(--bone); }
.manifesto .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.lilac { color: var(--lilac); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.principles li { border: 2px solid var(--bone); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.num { font-size: 40px; color: var(--accent); line-height: 1; }
.principles h3 { font-size: 28px; letter-spacing: -0.03em; }
.principles p { font-size: 16px; color: var(--on-ink-2); }
.fine { font-size: 14px; color: #B8B0BD; max-width: 720px; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 15px; }
.foot-brand img { vertical-align: -8px; margin-right: 8px; }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.foot-brand small { font-family: var(--body); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--text-3); margin-left: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { white-space: nowrap; }

/* Rechtsseiten */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(48px, 8vw, 80px); letter-spacing: -0.06em; margin-bottom: 12px; }
.legal h2 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; margin: 36px 0 10px; }
.legal p { margin: 0 0 10px; }

/* Mobil */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hide-sm { display: none; }
  .logo-strike { font-size: 15px; }
  .logo-main { font-size: 20px; }
  .top { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
  .top-nav .pill { display: none; }
  .hero { padding-top: 8px; padding-bottom: 44px; gap: 36px; flex-direction: column; align-items: stretch; }
  .hero-art { flex: none; }
  .hero-art { display: none; }
  .hero-copy { flex: none; gap: 20px; }
  .heads-up { grid-template-columns: 1fr; font-size: 14px; padding: 12px 14px; box-shadow: 4px 4px 0 var(--ink); }
  .hero { padding-bottom: 32px; gap: 24px; }
  .hero-cta { align-self: stretch; }
  .sticker-a { left: -38%; top: -9%; }
  .logo-emblem { width: 32px; height: 45px; }
  .sticker-b { display: none; }
  .lead { font-size: 17px; }
  .actions .pill { flex: 1 1 auto; }
  .notice-wrap { padding-top: 40px; }
  .notice { padding: 22px; border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .notice-body { font-size: 15px; flex-basis: 100%; }
  .picks { padding-top: 48px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 4px 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 44px; font-size: 15px; padding: 0 18px; }
  .search { max-width: none; }
  /* Kompakte Karten nebeneinander */
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .card { flex-direction: row; box-shadow: 5px 5px 0 var(--ink); border-radius: 22px; }
  .visual { width: 118px; height: auto; flex: none; padding-top: 0; border-bottom: 0; border-right: var(--border); }
  .lid { width: 74px; height: 14px; border-radius: 6px; }
  .tub { width: 64px; height: 72px; font-size: 0; padding: 0; border-radius: 6px 6px 14px 14px; }
  .badge { display: none; }
  .badge-vegan { display: block; top: 8px; right: auto; left: 8px; font-size: 10px; padding: 3px 8px; }
  .card-body { padding: 16px; gap: 4px; }
  .card h3 { font-size: 20px; }
  .note { font-size: 14px; }
  .manifesto .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .principles li { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Impressumsschutz (siehe protect.js) */
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; font-size: 0; }
.hn { display: none !important; }
.rtl { unicode-bidi: bidi-override; unicode-bidi: isolate-override; direction: rtl; }

/* Formular */
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 24px; }
.field { display: grid; gap: 6px; font-weight: 700; }
.field input, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white);
  border: var(--border); border-radius: 16px; padding: 12px 16px; min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--ink); }
.form .pill { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.form .small { font-size: 14px; color: var(--text-3); }
.hp { position: absolute; left: -9999px; }

/* Quiz: Which protein type are you? */
.quiz-wrap { padding-top: 56px; }
.quiz {
  background: var(--white); border: var(--border); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
  padding: 22px 26px;
}
.quiz-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.quiz-title { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.04em; line-height: 1; }
.quiz-q { color: var(--accent); font-size: .8em; letter-spacing: 0; white-space: nowrap; }
.quiz-sub { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.quiz-progress { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.quiz-question { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 16px; }
.quiz-answers { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-answer:hover { background: var(--lilac); }
.quiz-result .quiz-question { margin: 6px 0 0; isolation: isolate; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.preset-note { margin: -12px 0 20px; font-size: 16px; }
.linklike { font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }

@media (max-width: 640px) {
  .quiz-wrap { padding-top: 32px; }
  .quiz { padding: 18px; border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .quiz-intro .pill { width: 100%; }
  .quiz-answers .chip { flex: 1 1 auto; justify-content: center; }
}

/* Abschluss */
.closer { background: var(--ink); color: var(--bone); }
.closer .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.closer-line { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; max-width: 22ch; }
.band { border-bottom: 0; }

@media (max-width: 640px) {
  .quiz { padding-top: 40px; }
  .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .persona { padding: 14px; min-height: 0; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .persona-name { font-size: 18px; }
  .persona-line { font-size: 13px; }
  .persona-tag { font-size: 10px; }
  .closer .wrap { padding-top: 44px; padding-bottom: 44px; }
}

/* Quiz v2 */
.quiz-bar { height: 6px; border-radius: 999px; background: var(--bone); margin: 4px 0 18px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.quiz-answer[aria-pressed="true"] { background: var(--lilac); }
.quiz-answer:disabled { cursor: default; }
.type-name { background: var(--lilac); padding: 0 .12em; border-radius: .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.quiz-summary { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.quiz-summary li { font-size: 13px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 10px; background: var(--bone); }
.quiz-result .quiz-sub { margin-top: 12px; max-width: 62ch; }
.quiz-hint { font-size: 14px; color: var(--text-3); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.quiz-step, .quiz-result { animation: pop .25s ease; }

/* Best match */
.card { position: relative; }
.card-best { box-shadow: 6px 6px 0 var(--accent); border-color: var(--ink); }
.card-best:hover { box-shadow: 9px 9px 0 var(--accent); }
.best-flag {
  position: absolute; z-index: 2; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink); border: var(--border); border-top: 0; border-radius: 0 0 12px 12px;
  padding: 3px 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* Wartungsmodus der Picks (index.html, .maint-area) */
.maint-area { position: relative; }
.maint-veil { filter: blur(6px) grayscale(.4); opacity: .45; pointer-events: none; user-select: none; max-height: 640px; overflow: hidden; }
.maint {
  position: absolute; z-index: 2; top: 48px; left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); padding: 28px 28px 24px; text-align: center;
  background: var(--white); border: var(--border); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
}
.maint p { margin: 0; color: var(--text-2); }
.maint .maint-kicker { color: var(--accent-text); font-size: 1.1rem; margin-bottom: 6px; }
.maint .maint-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.15; color: var(--ink); margin-bottom: 10px; }
.picks:has(.maint-area) #count { visibility: hidden; }
