/* ==========================================================================
   Hanfwerk Herne e.V. — Design-Tokens
   Base: tiefes Schwarzgrün · Akzent: Limette (aus dem Vereinslogo) · Creme-Text
   ========================================================================== */
:root {
  --bg: #070A07;
  --bg-2: #0B120C;
  --bg-3: #101A12;
  --akzent: #9BE34A;
  --akzent-2: #84CF3C;
  --gruen: #1F3D24;
  --salbei: #9DAA97;
  --creme: #F2EFE6;
  --muted: rgba(242, 239, 230, .62);
  --line: rgba(242, 239, 230, .12);
  --glass: rgba(11, 18, 12, .72);
  --glass-b: rgba(242, 239, 230, .14);
  --glow: 0 0 18px rgba(155, 227, 74, .35);
  --display: 'Bricolage Grotesque', 'Archivo Black', system-ui, sans-serif;
  --ui: 'Manrope', system-ui, -apple-system, sans-serif;
  --accent-font: 'Instrument Serif', Georgia, serif;
  --r: 18px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.gated, html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--creme);
  font-family: var(--ui); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
::selection { background: var(--akzent); color: var(--bg); }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: .98; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); }
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.15; }
em { font-family: var(--accent-font); font-style: italic; font-weight: 400; color: var(--akzent); letter-spacing: 0; }
.eyebrow { font-family: var(--ui); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--akzent); margin: 0 0 1.1em; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--creme); }
.foot-note { color: var(--muted); font-size: .85rem; margin-top: .8rem; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.sec { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.sec--dark { background: var(--bg-2); }
.sec--intro { padding-top: clamp(5rem, 12vw, 9rem); }
.grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.grid-2--top { align-items: start; }
.intro__txt p:not(.lead) { color: var(--muted); }
.sec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.sec__sub { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .grid-2, .sec__head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s, border-color .25s;
  font-family: var(--ui); line-height: 1;
}
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn--primary { background: var(--akzent); color: var(--bg); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(155,227,74,.5); }
.btn--ghost { background: var(--glass); color: var(--creme); border-color: var(--glass-b); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--ghost:hover { border-color: rgba(155,227,74,.5); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Alterssperre ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem;
  background: rgba(7,10,7,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: opacity .45s ease; }
.gate.is-out { opacity: 0; pointer-events: none; }
.gate__card { width: min(520px, 100%); text-align: center; padding: 2.6rem 2rem 2rem; border-radius: 28px;
  background: var(--glass); border: 1px solid var(--glass-b); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.gate__mark { width: 64px; margin: 0 auto 1.2rem; color: var(--akzent); filter: drop-shadow(0 0 10px rgba(155,227,74,.45)); }
.gate h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.gate__txt { color: var(--muted); font-size: .95rem; }
.gate__btns { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 1.4rem 0 1rem; }
.gate__small { color: var(--muted); font-size: .75rem; margin: 0; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2.2rem); gap: 1rem; transition: background .35s ease, padding .35s ease, border-color .35s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(7,10,7,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: .6rem; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--akzent);
  background: rgba(155,227,74,.08); border: 1px solid rgba(155,227,74,.35); box-shadow: var(--glow); }
.brand__mark svg { width: 30px; height: 30px; }
.brand__txt { display: flex; flex-direction: column; line-height: .95; font-family: var(--display); }
.brand__txt b { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand__txt i { font-style: normal; font-family: var(--ui); font-weight: 700; font-size: .62rem; letter-spacing: .3em; color: var(--akzent); margin-top: .2rem; }
.capsule { display: flex; gap: .2rem; padding: .3rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.capsule a { padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); position: relative; transition: color .2s, background .2s; }
.capsule a:hover, .capsule a.is-active { color: var(--creme); background: rgba(242,239,230,.06); }
.capsule a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 2px; transform: translateX(-50%); background: var(--akzent); border-radius: 2px; }
.hdr__right { display: flex; align-items: center; gap: .6rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-b); cursor: pointer; place-items: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--creme); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 6rem 2rem 2rem;
  background: rgba(7,10,7,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.drawer a:not(.btn) { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 1.5rem; align-self: flex-start; }
@media (max-width: 900px) {
  .capsule, .hdr__right .btn { display: none; }
  .burger { display: grid; }
}

/* ---------- Scroll-Akt ---------- */
.act__track { height: calc(var(--acts) * 100vh); }
.act__stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--bg); }
.act__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.act__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,10,7,.55) 0%, rgba(7,10,7,0) 30%, rgba(7,10,7,0) 70%, rgba(7,10,7,.6) 100%); }
.act__copy { position: absolute; inset: 0; display: grid; align-items: center; padding: 0 clamp(1.25rem, 6vw, 7rem); pointer-events: none; }
.beat { grid-area: 1 / 1; opacity: 0; max-width: 560px; }
.beat h1, .beat h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); text-shadow: 0 6px 40px rgba(0,0,0,.55); margin: 0; }
.beat--final .eyebrow { margin-bottom: 1rem; }
.beat--final h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.beat--final .cta-row { pointer-events: auto; }
.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .7rem; border-radius: 999px; margin: 0 0 1.4rem;
  background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--creme); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 10px var(--akzent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.act__bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 6rem 1.4rem clamp(1.25rem, 3vw, 2.2rem); pointer-events: none; }
.act__bottom > * { pointer-events: auto; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-b); color: var(--creme); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--akzent); color: var(--akzent); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg path { fill: currentColor; stroke: none; }
.act__mid { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.skip { pointer-events: auto; transition: opacity .3s, transform .25s; }
.skip.is-hidden { opacity: 0; pointer-events: none; }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.mouse { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(242,239,230,.45); position: relative; }
.mouse span { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 2px; background: var(--akzent); transform: translateX(-50%); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; top: 6px } 70% { opacity: 0; top: 18px } 100% { opacity: 0; top: 18px } }
.status { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 767px) {
  .act__copy { align-items: start; padding-top: 6.5rem; }
  .beat { max-width: 100%; }
  .beat h1, .beat h2 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .beat--final h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .scroll-hint, .status { display: none; }
  .act__mid { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); }
}

/* ---------- Statistiken ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--bg); padding: 1.8rem 1.6rem; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--akzent); margin-bottom: .5rem; }
.stat span { color: var(--muted); font-size: .9rem; line-height: 1.35; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Schwerpunkte ---------- */
.werte { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.werte li { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.werte .num { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--akzent); letter-spacing: .1em; padding-top: .35rem; }
.werte h3 { margin-bottom: .4rem; }
.werte p { color: var(--muted); margin: 0; max-width: 62ch; }
@media (max-width: 600px) { .werte li { grid-template-columns: 1fr; gap: .4rem; } }

/* ---------- Mitgliedschaft ---------- */
.steps { list-style: none; counter-reset: s; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--akzent); border: 1px solid rgba(155,227,74,.45); background: rgba(155,227,74,.06); }
.steps b { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: .2rem; }
.steps span { color: var(--muted); font-size: .95rem; }
.card { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 1.8rem; }
.card--terms { position: sticky; top: 6rem; }
.card--terms dl { margin: 0; display: grid; gap: 0; }
.card--terms dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.card--terms dt { color: var(--muted); font-size: .9rem; }
.card--terms dd { margin: 0; text-align: right; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.card--terms dd small { display: block; font-family: var(--ui); font-weight: 400; font-size: .8rem; color: var(--muted); }
.card__note { margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Katalog ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.leer { grid-column: 1 / -1; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); text-align: center; margin: 0; }
.leer a { color: var(--akzent); }
.card--produkt { padding: 0; overflow: hidden; transition: transform .3s, border-color .3s; }
.card--produkt:hover { transform: translateY(-4px); border-color: rgba(155,227,74,.4); }
.card--produkt img, .card--produkt .ph { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; color: rgba(155,227,74,.35); }
.card--produkt .ph svg { width: 40%; }
.card--produkt .info { padding: 1rem 1.2rem 1.2rem; }
.card--produkt .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent); font-weight: 700; }
.card--produkt .n { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: .3rem 0; }
.card--produkt .p { color: var(--muted); }

/* ---------- Verantwortung ---------- */
.links { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; }
.links a { display: inline-block; padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line); color: var(--creme); font-weight: 600; font-size: .95rem; transition: border-color .2s; }
.links a:hover { border-color: var(--akzent); }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--akzent); font-size: 1.6rem; font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 1.4rem; max-width: 68ch; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.kontakt__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.card--link { display: flex; flex-direction: column; gap: .2rem; transition: border-color .25s, transform .25s; }
.card--link:hover { border-color: rgba(155,227,74,.45); transform: translateY(-3px); }
.card--link .eyebrow { margin-bottom: .6rem; }
.card--link b { font-family: var(--display); font-size: 1.15rem; word-break: break-word; }
.card--link > span:last-child { color: var(--muted); font-size: .85rem; }
.anfahrt { display: grid; gap: 1.6rem; }
.anfahrt__block h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.anfahrt__block p, .anfahrt__block li { color: var(--muted); }
.anfahrt__block ul { margin: 0 0 .6rem; padding-left: 1.1rem; }
.anfahrt__block--hint { padding: 1.4rem; border-radius: var(--r); background: rgba(155,227,74,.06); border: 1px solid rgba(155,227,74,.25); }
.anfahrt__block--hint p { color: var(--creme); }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kontakt__cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 3.5rem 0 6rem; background: var(--bg-2); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; }
.ftr__brand { display: flex; gap: 1rem; align-items: flex-start; }
.ftr__brand p { color: var(--muted); font-size: .9rem; margin: 0; }
.ftr__brand b { color: var(--creme); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-content: start; font-size: .9rem; font-weight: 600; color: var(--muted); }
.ftr__nav a:hover { color: var(--akzent); }
.ftr__legal { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin: 0; max-width: 80ch; }
.ftr__legal a { color: var(--akzent); }
@media (max-width: 700px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--akzent); color: var(--bg); box-shadow: var(--glow); transition: transform .25s; }
.wa:hover { transform: scale(1.06); }
.wa::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(155,227,74,.6); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .8 } 100% { transform: scale(1.5); opacity: 0 } }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Unterseiten (Impressum, Datenschutz, Produkt) ---------- */
.page { padding: 9rem 0 5rem; }
.page .wrap--narrow p, .page .wrap--narrow li { color: var(--muted); }
.page h2 { margin-top: 2.2rem; font-size: 1.4rem; }

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .act__track { height: auto; }
  .act__stage { position: static; height: auto; min-height: 100svh; }
  .act__copy { position: relative; display: grid; gap: 2rem; padding-top: 7rem; padding-bottom: 3rem; }
  .beat { grid-area: auto; opacity: 1; }
  .act__canvas { position: absolute; }
  .act__bottom { position: static; padding-top: 1rem; }
  .scroll-hint, .skip { display: none; }
}

/* ---------- Produktseite ---------- */
.produkt { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; margin-top: 1.5rem; }
.produkt__bild { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); }
.produkt__preis { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--akzent); margin-bottom: .6rem; }
.produkt__meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; margin: 1rem 0; font-size: .95rem; }
.produkt__meta dt { color: var(--muted); } .produkt__meta dd { margin: 0; }
@media (max-width: 760px) { .produkt { grid-template-columns: 1fr; } }

/* ---------- 3D-Siegel: echte CSS-Münze (Vorder-/Rückseite = gerendertes Emblem, Rand aus 48 Gold-Segmenten), dreht linear ---------- */
.coin3d { --d: 220px; --t: 14px; width: var(--d); height: var(--d); perspective: 1100px; margin-inline: auto; position: relative; }
.coin3d::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -9%; height: 10%; border-radius: 50%; background: radial-gradient(ellipse, rgba(155,227,74,.28), rgba(155,227,74,0) 70%); filter: blur(6px); }
.coin3d__wobble { width: 100%; height: 100%; transform-style: preserve-3d; animation: coinWobble 9s ease-in-out infinite; }
.coin3d__spin { width: 100%; height: 100%; transform-style: preserve-3d; animation: coinSpin 16s linear infinite; }
.coin3d__face { position: absolute; inset: 0; border-radius: 50%; background: url(bilder/logo3d-512.png) center/100% 100% no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin3d__face--front { transform: translateZ(calc(var(--t) / 2)); }
.coin3d__face--back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.coin3d__edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin3d__edge i { position: absolute; left: 50%; top: 50%; width: var(--t); height: calc(var(--d) * 3.1416 / 48 + 1px); margin: calc(var(--d) * -3.1416 / 96) 0 0 calc(var(--t) / -2);
  background: linear-gradient(90deg, #7a5a12, #e2c15c 45%, #fff2b0 55%, #b8922e); }
@keyframes coinSpin { to { transform: rotateY(360deg); } }
@keyframes coinWobble { 0%, 100% { transform: rotateX(10deg) rotateZ(-3deg); } 50% { transform: rotateX(16deg) rotateZ(3deg); } }
.coin3d--gate { --d: 150px; --t: 10px; margin: -.6rem auto 1rem; }
.siegel { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.siegel .eyebrow { margin-top: 1.6rem; margin-bottom: 0; }
.brand__mark--coin { background: none; border: none; box-shadow: none; overflow: visible; }
.brand__mark--coin img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(155,227,74,.35)); }
.ftr__coin { flex: 0 0 64px; }
@media (max-width: 767px) { .coin3d { --d: 180px; --t: 12px; } .coin3d--gate { --d: 120px; --t: 8px; } }
@media (prefers-reduced-motion: reduce) { .coin3d__spin, .coin3d__wobble { animation: none; } .coin3d__wobble { transform: rotateX(10deg); } }

/* ---------- Mitgliederbereich (interne Verwaltungsoptik: ruhig, tabellarisch, keine Shop-Elemente) ---------- */
.page--mb { padding-top: 7.5rem; }
.mb-auth { max-width: 520px; }
.mb-sub { color: var(--muted); font-size: .95rem; }
.mb-box { padding: 1rem 1.2rem; border-radius: 12px; background: rgba(155,227,74,.08); border: 1px solid rgba(155,227,74,.3); font-size: .95rem; margin: 1rem 0; }
.mb-box a { color: var(--akzent); text-decoration: underline; }
.mb-hinweis { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.mb-tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin: 1.5rem 0 1.2rem; overflow-x: auto; scrollbar-width: none; }
.mb-tabs::-webkit-scrollbar { display: none; }
.mb-tab { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--ui); padding: .7rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.mb-tab.is-active { color: var(--creme); border-bottom-color: var(--akzent); }
.mb-form { display: grid; gap: .9rem; }
.mb-form label { display: grid; gap: .35rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.mb-form input:not([type=checkbox]), .mb-form select, .mb-form textarea { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--creme); font: 400 1rem var(--ui); }
.mb-form input:focus, .mb-form select:focus, .mb-form textarea:focus { outline: none; border-color: rgba(155,227,74,.6); }
.mb-form select option { background: var(--bg-2); color: var(--creme); }
.mb-form input[type=file] { padding: .5rem; font-size: .85rem; }
.mb-form .btn { justify-self: start; }
.mb-form--zeile { grid-template-columns: 1fr 1fr auto; align-items: end; margin-bottom: 1rem; }
.mb-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.mb-check { display: flex !important; align-items: center; gap: .5rem; color: var(--creme) !important; }
.mb-check input { width: 18px; height: 18px; accent-color: var(--akzent); }
.mb-link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: 400 .85rem var(--ui); justify-self: start; padding: 0; }
.mb-err { color: #ff9b8a; font-size: .9rem; margin: 0; }
.mb-kopf { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mb-kopf h1 { margin-bottom: 0; }
.mb-kopf__rechts { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mb-user { color: var(--muted); font-size: .85rem; }
.mb-legende { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; padding: .8rem 0 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; font-size: .85rem; color: var(--muted); }
.mb-stand { margin-left: auto; }
.ampel { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--creme); white-space: nowrap; }
.ampel i { width: 10px; height: 10px; border-radius: 50%; background: #888; box-shadow: 0 0 0 3px rgba(255,255,255,.06); flex: none; }
.ampel--gruen i { background: #5ED35B; } .ampel--gelb i { background: #E8C547; } .ampel--blau i { background: #5BA8F5; } .ampel--grau i { background: #7A7F78; }
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.mb-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: 1.3rem; display: grid; gap: .9rem; align-content: start; }
.mb-card__bild { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.mb-card__kopf { display: flex; justify-content: space-between; align-items: start; gap: .8rem; }
.mb-card__kopf h2 { font-size: 1.3rem; margin: 0; }
.mb-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.mb-dl div { display: grid; gap: .1rem; } .mb-dl dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; } .mb-dl dd { margin: 0; font-weight: 600; }
.mb-card__info { margin: 0; color: var(--muted); font-size: .9rem; }
.mb-leer { grid-column: 1 / -1; color: var(--muted); padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); margin: 0; }
.mb-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mb-tabelle { display: grid; gap: .5rem; }
.mb-row { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .7fr auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-size: .92rem; }
.mb-row--m, .mb-row--e { grid-template-columns: 1.4fr 1fr 1fr auto; }
.mb-row__name { display: grid; } .mb-row__name small, .mb-row__werte small { color: var(--muted); font-size: .8rem; }
.mb-row__aktionen { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: end; }
.mb-pill { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(155,227,74,.12); color: var(--akzent); }
.mb-pill--aus { background: rgba(242,239,230,.08); color: var(--muted); }
.mb-code { font-family: ui-monospace, Consolas, monospace; font-size: 1rem; letter-spacing: .08em; color: var(--creme); }
.mb-dialog { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); color: var(--creme); padding: 1.6rem; width: min(680px, 92vw); }
.mb-dialog::backdrop { background: rgba(7,10,7,.75); backdrop-filter: blur(6px); }
.mb-dialog h2 { font-size: 1.4rem; margin-bottom: 1rem; }
@media (max-width: 760px) { .mb-row, .mb-row--m, .mb-row--e { grid-template-columns: 1fr; gap: .4rem; } .mb-row__aktionen { justify-content: start; } .mb-2 { grid-template-columns: 1fr; } .mb-form--zeile { grid-template-columns: 1fr; } .mb-stand { margin-left: 0; width: 100%; } .page--mb { padding-top: 6rem; } }
