/* ==========================================================================
   CreatorGear — Design System

   Warme Creme-Fläche, Pink als Marke, Gelb als Auszeichnung, Navy für die
   Auswertungsblöcke. Das Mint-Grün stammt aus dem Profilbild und ist hier
   kein Dekor: Es gehört ausschließlich dem Belegstatus „Bestätigt" — dem
   grünen Haken aus dem Logo. Dadurch bedeutet Grün auf der ganzen Seite
   immer dasselbe.
   ========================================================================== */

/* Schriften werden lokal ausgeliefert (npm run fonts). Keine CDN-Einbindung
   von Google Fonts — das wäre in Deutschland datenschutzrechtlich angreifbar.
   Ohne die Dateien greift automatisch der Systemfallback. */
@font-face {
  font-family: "CG Display";
  src: url("/assets/fonts/unbounded.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "CG Body";
  src: url("/assets/fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #faf6f0;
  --cream-2: #f4eee4;
  --card: #ffffff;
  --ink: #201c1b;
  --gray: #7a756c;
  --gray-2: #a09a90;
  --line: #e8e1d6;
  --line-2: #d8cfc0;

  --pink: #ff3d6e;
  --pink-deep: #e01f52;
  --pink-soft: #ffe1e9;

  --yellow: #ffcf3f;
  --yellow-soft: #fff3d2;
  --amber-ink: #8a5a06;

  --navy: #211b4e;
  --navy-2: #2e2668;
  --navy-text: #c7c3e8;

  /* Aus dem Profilbild. Nur für „Bestätigt". */
  --mint: #3ddc91;
  --mint-ink: #0c7a52;
  --mint-soft: #ddf8ec;

  --font-display: "CG Display", "Unbounded", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "CG Body", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 100px;

  --shadow-sm: 0 2px 8px -4px rgba(32, 28, 27, 0.18);
  --shadow-md: 0 20px 40px -20px rgba(32, 28, 27, 0.28);
  --shadow-lg: 0 26px 60px -26px rgba(32, 28, 27, 0.4);
}

/* ------------------------------------------------------------- Grundlage */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 16px; top: 16px; }

/* ------------------------------------------------------------ Typografie */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }

h1 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 17px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.accent { color: var(--pink); }

/* Gelbe Auszeichnung wie im Original — hebt den Nutzen hervor, nicht das Thema. */
.underline {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 8px;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none;
}

.lede { font-size: 17px; color: var(--gray); max-width: 52ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.eyebrow::before { content: "✦"; }

.eyebrow-sm {
  font-weight: 600;
  font-size: 13px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.muted { color: var(--gray); }
.small { font-size: 13px; }

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.btn-sm { padding: 9px 17px; font-size: 13px; }

.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffdc72; border-color: #ffdc72; color: var(--ink); }

/* --------------------------------------------------------------- Header */

header.masthead {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo-text { color: var(--ink); }
.logo-text b { color: var(--pink); font-weight: inherit; }

nav.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}
nav.nav a { text-decoration: none; }
nav.nav a.nav-link { color: var(--ink); }
nav.nav a.nav-link:hover { color: var(--pink); }
nav.nav a.nav-link[aria-current="page"] { color: var(--pink); }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  nav.nav {
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  nav.nav::-webkit-scrollbar { display: none; }
  nav.nav a { white-space: nowrap; }
}

/* ------------------------------------------------------------------ Hero */

.hero { padding: 70px 0 30px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }

.hero-sub { margin-top: 22px; font-size: 17px; color: var(--gray); max-width: 470px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-trust { margin-top: 34px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.hero-trust .lbl { font-size: 12.5px; color: var(--gray); }

/* Polaroid-Collage. Die Ecken-Winkel zitieren den Sucherrahmen aus dem Logo. */
.collage { position: relative; height: 430px; }

.polaroid {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 10px 50px;
  width: 196px;
}
.polaroid .photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 9px;
  display: grid;
  place-items: center;
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
}
.polaroid .photo::before,
.polaroid .photo::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
}
.polaroid .photo::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.polaroid .photo::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.polaroid .cap {
  position: absolute;
  bottom: 12px;
  left: 13px;
  right: 13px;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.polaroid .cap small {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 11px;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p1 { top: 0; right: 26px; transform: rotate(6deg); z-index: 2; }
.p2 { top: 92px; right: 196px; transform: rotate(-8deg); z-index: 1; }
.p2 .photo { background: linear-gradient(135deg, var(--navy) 0%, var(--pink) 100%); }
.p3 { top: 248px; right: 28px; transform: rotate(-4deg); z-index: 3; }
.p3 .photo { background: linear-gradient(135deg, var(--mint) 0%, var(--yellow) 100%); }

@media (max-width: 900px) {
  .collage { height: 310px; }
  .p1 { right: 10px; width: 152px; }
  .p2 { right: 148px; top: 62px; width: 152px; }
  .p3 { right: 24px; top: 176px; width: 152px; }
}
@media (max-width: 540px) { .collage { display: none; } }

/* ----------------------------------------------------------------- Suche */

.search { position: relative; max-width: 470px; margin-top: 26px; }
.search input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 14px 20px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
}
.search input::placeholder { color: var(--gray-2); }
.search input:focus { border-color: var(--ink); outline: none; }

.search ul {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-height: 340px;
  overflow-y: auto;
  z-index: 40;
  padding: 8px;
  list-style: none;
}
.search ul:empty { display: none; }
.search ul a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.search ul a:hover, .search ul a:focus-visible { background: var(--pink-soft); color: var(--pink-deep); }
.search ul .kind { font-size: 11.5px; color: var(--gray); font-weight: 500; }

/* ------------------------------------------------------ Wie es funktioniert */

.how { padding: 50px 0 10px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}
.how-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.how-card .icon.is-mint { background: var(--mint-soft); }
.how-card .icon.is-yellow { background: var(--yellow-soft); }
.how-card h3 { margin-bottom: 7px; }
.how-card p { color: var(--gray); font-size: 14.5px; }

/* -------------------------------------------------------------- Sektionen */

.section { padding: 64px 0; }
.section-tint { background: var(--cream-2); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.section-head h2 { margin-top: 9px; }
.section-head > p { color: var(--gray); max-width: 360px; font-size: 14.5px; }

/* -------------------------------------------------------- Beleg-Plakette */
/* Signaturelement. Grün = bestätigt = der Haken aus dem Logo. */

.seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 5px 12px 5px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  line-height: 1.3;
}
.seal .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

.seal-confirmed { background: var(--mint-soft); color: var(--mint-ink); }
.seal-likely { background: var(--yellow-soft); color: var(--amber-ink); }
.seal-open {
  background: transparent;
  color: var(--gray);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.seal-open .dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.evidence { margin-top: 12px; }
.evidence > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray);
}
.evidence > summary::-webkit-details-marker { display: none; }
.evidence > summary::after { content: "＋"; font-size: 12px; }
.evidence[open] > summary::after { content: "−"; }
.evidence > summary:hover { color: var(--pink); }

.evidence-body {
  margin-top: 10px;
  padding: 15px 18px;
  background: var(--cream-2);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--gray);
}
.evidence-body dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.evidence-body dt { font-weight: 600; color: var(--ink); font-size: 12.5px; padding-top: 1px; }
.evidence-body dd { color: var(--gray); }

/* ---------------------------------------------------------- Creator-Karten */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.creator-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.creator-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.creator-photo {
  height: 132px;
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: rgba(255, 255, 255, 0.92);
}
.creator-photo .badge {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.creator-photo .count {
  position: absolute;
  top: 13px;
  right: 13px;
  background: rgba(32, 28, 27, 0.5);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.creator-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.creator-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.creator-meta { font-size: 13px; color: var(--gray); margin-top: 3px; }

.gear-list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.gear-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
}
.gear-row:last-child { border-bottom: none; padding-bottom: 0; }
.gear-row .nm { min-width: 0; overflow-wrap: anywhere; }

.gear-empty {
  margin-top: 16px;
  padding: 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--gray);
}

.card-cta {
  display: block;
  text-align: center;
  margin-top: 18px;
  padding: 11px;
  border-radius: var(--r-pill);
  background: var(--cream);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.card-cta:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* --------------------------------------------------------- Produktkarten */

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.tile .kicker { font-size: 12px; font-weight: 600; color: var(--pink); text-transform: uppercase; letter-spacing: 0.04em; }
.tile h3 { font-size: 16px; line-height: 1.25; }
.tile p { font-size: 14px; color: var(--gray); }
.tile .foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--gray);
}

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }

.price {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.price b { color: var(--ink); }
.price span { color: var(--line-2); }

/* ------------------------------------------------------------- Top-10-Block */

.top10 {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px 40px;
}
@media (max-width: 640px) { .top10 { padding: 32px 20px; border-radius: 20px; } }
.top10 .section-head > p { color: var(--navy-text); }
.top10 .eyebrow-sm { color: var(--yellow); }
.top10 h2 { color: #fff; }

.top10-list { display: flex; flex-direction: column; gap: 2px; list-style: none; }
.top10-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px 14px;
  border-radius: 14px;
  transition: background 0.15s ease;
}
.top10-row:hover { background: rgba(255, 255, 255, 0.07); }
.top10-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.35);
}
.top10-row:nth-child(-n + 3) .top10-rank { color: var(--yellow); }
.top10-name { display: block; font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; }
.top10-name:hover { color: var(--yellow); }
.top10-cat { display: block; font-size: 12.5px; color: var(--navy-text); margin-top: 2px; }
.top10-count { text-align: right; font-size: 12.5px; color: var(--navy-text); }
.top10-count b { display: block; color: #fff; font-size: 16px; font-family: var(--font-display); font-weight: 700; }
.top10-link {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
}
.top10-link:hover { background: #ffdc72; }

@media (max-width: 680px) {
  .top10-row { grid-template-columns: 30px minmax(0, 1fr); row-gap: 8px; }
  .top10-count { grid-column: 2; text-align: left; }
  .top10-link { grid-column: 2; justify-self: start; }
}

/* Leerzustand innerhalb des Navy-Blocks */
.top10 .hollow {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--navy-text);
}
.top10 .hollow h3 { color: #fff; }
.top10 .hollow p { color: var(--navy-text); }
.top10 .hollow .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.top10 .hollow .btn-outline:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ------------------------------------------------------------ Leerzustand */

.hollow {
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-lg);
  padding: 32px;
  background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 640px) { .hollow { padding: 22px; border-radius: 20px; } }
.hollow h3 { font-size: 19px; margin-bottom: 10px; }
.hollow p { color: var(--gray); max-width: 56ch; font-size: 14.5px; }
.hollow ul { margin: 14px 0 0 18px; color: var(--gray); font-size: 14px; }
.hollow li { margin-bottom: 5px; }

/* ----------------------------------------------------------------- Banner */

.banner {
  background: linear-gradient(120deg, var(--pink) 0%, #ff7b5c 100%);
  border-radius: var(--r-lg);
  padding: 54px 44px;
  text-align: center;
  color: #fff;
}
@media (max-width: 640px) { .banner { padding: 38px 22px; border-radius: 20px; } }
.banner h2 { max-width: 580px; margin: 0 auto 14px; color: #fff; }
.banner p { color: rgba(255, 255, 255, 0.92); max-width: 460px; margin: 0 auto 26px; }
.banner .btn { background: #fff; border-color: #fff; color: var(--ink); }
.banner .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ------------------------------------------------------------ Detailseiten */

.crumbs { font-size: 13px; color: var(--gray); padding: 18px 0 0; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--pink); text-decoration: underline; }

.detail-head { padding: 34px 0 26px; display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--gray);
  text-decoration: none;
}
a.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip-mint { background: var(--mint-soft); border-color: transparent; color: var(--mint-ink); }

.gear-group { margin-bottom: 30px; }
.gear-group > h2 {
  font-size: 19px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}

.gear-entry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-top: 12px;
}
.gear-entry .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.gear-entry .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.gear-entry .name:hover { color: var(--pink); }
.gear-entry .role { font-size: 13.5px; color: var(--gray); margin-top: 3px; }

/* Spezifikationstabelle */
.spec { border-top: 1px solid var(--line); margin-top: 24px; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(130px, 200px) 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.spec-row dt { font-weight: 600; color: var(--gray); }
@media (max-width: 520px) { .spec-row { grid-template-columns: 1fr; gap: 2px; } }

/* Hinweiskasten */
.note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--gray);
}
.note strong { color: var(--ink); }
.note-mint { border-left-color: var(--mint); }
.note-yellow { border-left-color: var(--yellow); }

.ad-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  padding: 2px 8px;
}
.btn-outline .ad-label, .btn-yellow .ad-label { background: rgba(32, 28, 27, 0.1); }

/* Fließtext */
.prose { max-width: 68ch; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose ul { margin: 0 0 1em 20px; }
.prose li { margin-bottom: 7px; }
.prose p { font-size: 16.5px; line-height: 1.65; }

.measure > * { max-width: 68ch; }

/* --------------------------------------------------------------- Fußzeile */

.foot {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  margin-top: 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.foot h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray);
  margin-bottom: 14px;
}
.foot ul { list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--pink); text-decoration: underline; }
.foot-legal {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--gray);
}
.foot-legal p { margin-bottom: 7px; }
.foot-legal a { font-size: 12.5px; color: var(--gray); text-decoration: underline; }

/* ------------------------------------------------------------ Hilfsklassen */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.demo-banner {
  background: var(--yellow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}

/* Trefferart im Suchvorschlag */
.search ul .kind { font-size: 11.5px; color: var(--gray); font-weight: 500; }

/* ==========================================================================
   Ergänzungen: Belegstapel, Händlerlinks, Social, Kontakt, Fundstücke
   ========================================================================== */

/* ---------------------------------------------------------- Belegstapel
   Ersetzt die Polaroid-Collage im Hero. Der oberste Beleg blättert weiter,
   zwei Karten schauen dahinter hervor — das erzählt „hier liegen viele". */
.stack { position: relative; }
.stack-back {
  position: absolute; inset: 0; background: var(--card);
  border: 1px solid var(--line); z-index: 0;
}
.stack-back.s1 { transform: translate(9px, 11px) rotate(1.1deg); opacity: 0.45; }
.stack-back.s2 { transform: translate(4px, 5px) rotate(-0.7deg); opacity: 0.7; }

.receipt {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line); border-bottom: none;
  padding: 24px 26px 28px;
  box-shadow: 0 18px 44px -28px rgba(32, 28, 27, 0.55);
}
/* Gezackte Unterkante wie bei einem abgerissenen Kassenbon. */
.receipt::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -13px; height: 14px;
  background:
    linear-gradient(45deg, var(--cream) 50%, transparent 50%) repeat-x,
    linear-gradient(-45deg, var(--cream) 50%, transparent 50%) repeat-x;
  background-size: 15px 15px;
}
.receipt-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); padding-bottom: 13px; border-bottom: 1px dashed var(--line);
}
.receipt-body { transition: opacity 0.34s ease, transform 0.34s ease; }
.receipt-body.is-out { opacity: 0; transform: translateY(-9px); }
.receipt dl { margin: 0; }
.receipt-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px;
}
.receipt-row dt { color: var(--gray); margin: 0; flex: none; }
.receipt-row dd { margin: 0; text-align: right; font-weight: 600; }
.receipt-src {
  display: block; margin: 14px 0 0; font-size: 12.5px; color: var(--gray);
  font-family: var(--mono, ui-monospace, monospace); word-break: break-word;
}
.receipt-src a { color: var(--pink); }
.receipt-src a[hidden] { display: none; }

.stack-nav { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.stack-dots { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.stack-dots button {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: 0.2s;
}
.stack-dots button[aria-current="true"] { background: var(--pink); width: 20px; border-radius: 999px; }
.stack-next {
  font: inherit; font-size: 13px; font-weight: 600; background: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px;
  cursor: pointer; color: var(--gray); transition: 0.18s;
}
.stack-next:hover { border-color: var(--ink); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .receipt-body { transition: none; } }
@media (max-width: 540px) { .stack-back { display: none; } }

/* ------------------------------------------------------------ Händlerlinks */
.merchants { display: grid; gap: 9px; }
.merchant {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 18px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--cream); color: var(--ink); transition: 0.18s;
}
.merchant:hover { border-color: var(--ink); transform: translateY(-2px); }
.merchant-buy { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.merchant-buy:hover { filter: brightness(1.28); }
.merchant-right { display: flex; align-items: center; gap: 9px; flex: none; }
.merchant-arrow { font-weight: 700; opacity: 0.7; }
.merchant-note { font-size: 12.5px; color: var(--gray); margin: 14px 0 0; line-height: 1.55; }

.merchants-mini { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mini-shop {
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px;
  white-space: nowrap; background: var(--cream); color: var(--ink); transition: 0.18s;
}
.mini-shop:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.mini-buy { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.mini-buy:hover { filter: brightness(1.3); }

/* ----------------------------------------------------------------- Social */
.social { display: flex; gap: 8px; }
.social a {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); transition: 0.18s;
}
.social a:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social-head { margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--line); }
.social-foot { margin-top: 18px; }
.social-foot a { background: var(--card); }
@media (max-width: 900px) { .social-head { display: none; } }

/* --------------------------------------------------- „So arbeiten wir" im Fuß */
.foot-how { border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 38px; }
.foot-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 20px; }
.foot-step { border-top: 2px solid var(--ink); padding-top: 16px; }
.foot-step .step-n {
  display: block; font-family: var(--mono, ui-monospace, monospace);
  font-size: 11.5px; letter-spacing: 0.14em; color: var(--pink); margin-bottom: 9px;
}
.foot-step b { display: block; font-family: var(--display, inherit); font-size: 17px; margin-bottom: 7px; }
.foot-step p { font-size: 14.5px; color: var(--gray); margin: 0; }
@media (max-width: 820px) { .foot-how-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------------------------------------------------------------- Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: start; }
.anlaesse { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.anlaesse li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.anlaesse b { display: block; font-family: var(--display, inherit); font-size: 16.5px; margin-bottom: 5px; }
.anlaesse p { margin: 0; font-size: 15px; color: var(--gray); }
.mailcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.mailadresse {
  font-family: var(--display, inherit); font-size: clamp(19px, 2.4vw, 26px); font-weight: 800;
  letter-spacing: -0.02em; text-decoration: none; display: block; word-break: break-word;
  margin-top: 10px;
}
.mailadresse:hover { color: var(--pink); }
.antwortzeit { background: var(--navy); color: #fff; border-radius: 18px; padding: 22px 24px; margin-top: 22px; }
.antwortzeit b { font-family: var(--display, inherit); display: block; margin-bottom: 6px; }
.antwortzeit p { margin: 0; font-size: 14.5px; color: #c9c4e4; }
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ------------------------------------------------------------- Fundstücke */
.abgrenzung {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--yellow);
  border-radius: 14px; padding: 20px 24px; margin: 30px 0 8px;
  font-size: 15px; color: var(--gray); max-width: 74ch;
}
.abgrenzung b { color: var(--ink); display: block; margin-bottom: 6px; font-family: var(--display, inherit); }
.abgrenzung p { margin: 0; }
.fundliste { display: grid; gap: 20px; margin-top: 26px; }
.fund {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  display: grid; grid-template-columns: 64px 1fr 270px; gap: 28px;
  padding: 30px 32px; align-items: start; transition: 0.18s;
}
.fund:hover { border-color: var(--ink); }
.fund-nr {
  font-family: var(--display, inherit); font-size: 34px; font-weight: 800;
  color: var(--line); letter-spacing: -0.04em; line-height: 1;
}
.fund-mitte h2 { font-size: 23px; margin: 6px 0 14px; }
.fund-warum {
  border-left: 3px solid var(--pink); padding: 2px 0 2px 18px; margin: 0;
  font-size: 16px; color: var(--ink); line-height: 1.62; max-width: 62ch;
}
.fund-wer {
  display: block; font-family: var(--mono, ui-monospace, monospace); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-top: 12px;
}
.fund-seit {
  font-family: var(--mono, ui-monospace, monospace); font-size: 11.5px;
  color: var(--gray); text-align: center; margin: 8px 0 0;
}
@media (max-width: 900px) {
  .fund { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px; }
  .fund-nr { font-size: 26px; }
}
