/* Mira La Familia – Schwarz, Weiß, Grau, rau. */
:root {
  --bg: #080808;
  --bg-2: #0e0e0e;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --surface-3: #222;
  --line: #262626;
  --line-2: #363636;
  --text: #ececec;
  --muted: #9c9c9c;
  --dim: #6a6a6a;
  --white: #fff;
  --ok: #8fcf8f;
  --warn: #e3b341;
  --bad: #e06c6c;
  --info: #9ab8e6;
  --radius: 12px;
  --header: 68px;
  --font-title: 'Rubik Dirt', Impact, 'Arial Black', sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
/* Körnung über allem, wie beim Poster */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
img.img-broken { visibility: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.grunge { font-family: var(--font-title); font-weight: 400; letter-spacing: .01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.btn:hover { background: var(--surface-3); border-color: #4a4a4a; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #fff; color: #000; border-color: #fff; }
.btn-primary:hover { background: #d9d9d9; border-color: #d9d9d9; }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: #5a2a2a; color: var(--bad); }
.btn-danger:hover { background: #2a1212; border-color: var(--bad); }
.btn-ok { background: transparent; border-color: #2c4a2c; color: var(--ok); }
.btn-ok:hover { background: #122a12; border-color: var(--ok); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer; flex: none;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.icon-btn.danger:hover { color: var(--bad); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Kopfleiste ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 100;
  background: rgba(8, 8, 8, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; color: #fff; }
.brand-text { font-family: var(--font-title); font-size: 22px; line-height: 1; letter-spacing: .02em; }
.brand-text small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav a.active { color: var(--white); }
.nav a.active::after { content: ''; display: block; height: 2px; background: #fff; margin-top: 4px; border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.status-pill b { color: var(--text); font-weight: 600; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.status-pill.online .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(143, 207, 143, .6); animation: pulse 2s infinite; }
.status-pill.offline .dot { background: var(--bad); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(143, 207, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 207, 143, 0); } }
.cart-btn { position: relative; }
.cart-btn .count {
  position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: #fff; color: #000; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.burger { display: none; }

@media (max-width: 1180px) {
  .nav {
    position: fixed; top: var(--header); left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: rgba(8, 8, 8, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: opacity .18s, transform .18s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 640px) {
  .header-inner { gap: 8px; }
  .brand-text { font-size: 18px; }
  .brand-text small { display: none; }
  .status-pill { padding: 6px 9px; }
  .status-pill .label { display: none; }
  .btn-discord .label { display: none; }
  .btn-discord { width: 40px; padding: 0; }
  .header-actions { gap: 6px; }
}

/* ---------- Titelfläche ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--header) + 40px) 0 72px; isolation: isolate; background: #050505;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; filter: grayscale(1) contrast(1.08); transform: scale(1.03); }
.hero-bg.img-broken { display: none; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, rgba(8, 8, 8, .15) 35%, rgba(8, 8, 8, .7) 70%, var(--bg) 100%),
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(0, 0, 0, .6) 100%);
}
.hero-cross { position: absolute; right: -4%; top: 12%; width: min(46vw, 520px); color: rgba(255, 255, 255, .035); z-index: -1; }
.eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.hero h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(54px, 12vw, 148px); line-height: .9; margin: 0; letter-spacing: .01em; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hero .motto { font-family: var(--font-title); font-size: clamp(22px, 4vw, 38px); margin: 18px 0 0; color: #f2f2f2; }
.hero .hero-text { max-width: 560px; color: #c9c9c9; font-size: 17px; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .tagline { margin: 34px 0 0; letter-spacing: .28em; text-transform: uppercase; font-size: 12px; color: var(--muted); }


/* ---------- Abschnitte ---------- */
main { flex: 1; }
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .kicker { font-family: var(--mono); color: var(--dim); font-size: 13px; letter-spacing: .1em; }
.section-title { font-family: var(--font-title); font-weight: 400; font-size: clamp(34px, 6vw, 58px); line-height: 1; margin: 0; }
.section-lead { color: var(--muted); max-width: 720px; margin: -14px 0 30px; font-size: 16px; }
.prose p { margin: 0 0 1em; color: #cfcfcf; font-size: 17px; max-width: 70ch; }
.split { display: grid; gap: 36px; align-items: center; }
.split.has-img { grid-template-columns: 1.2fr 1fr; }
.split-img { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1); }
@media (max-width: 820px) { .split.has-img { grid-template-columns: 1fr; } }

.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px;
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #444; transform: translateY(-2px); }
.card::before { content: ''; position: absolute; left: 0; top: 0; width: 46px; height: 3px; background: #fff; }
.card-num { font-family: var(--mono); color: var(--dim); font-size: 12px; }
.card h3 { font-family: var(--font-title); font-weight: 400; font-size: 26px; margin: 8px 0 8px; line-height: 1.1; }
.card p { margin: 0; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; max-width: 820px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.timeline li { position: relative; padding: 0 0 36px; }
.timeline li::before { content: ''; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; background: var(--bg); border: 2px solid #fff; transform: rotate(45deg); }
.tl-date { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.timeline h3 { font-family: var(--font-title); font-weight: 400; font-size: 28px; margin: 4px 0 6px; }
.timeline p { margin: 0; color: #c4c4c4; max-width: 64ch; }

.stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 30px 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-title); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.g-item { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--surface); aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); transition: filter .3s, transform .4s; }
.g-item:hover img { filter: grayscale(0); transform: scale(1.04); }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 13px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(0, 0, 0, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 20px; }
.lightbox img { max-height: calc(100vh - 130px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox p { color: var(--muted); margin: 12px 0 0; text-align: center; }
.lightbox .lb-close { position: absolute; top: 12px; right: 12px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; }


/* ---------- Unterseiten ---------- */
.page { padding-top: var(--header); }
.page-head { padding-top: 56px; padding-bottom: 26px; }
.page-head h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(42px, 8vw, 80px); line-height: 1; margin: 0; }
.page-head p { color: var(--muted); max-width: 640px; margin: 12px 0 0; font-size: 16px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); background: rgba(255, 255, 255, .02); margin: 0 0 22px; font-size: 14px; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ---------- Formulare ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 720px) { .panel { padding: 30px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 13px; font-weight: 600; color: #cfcfcf; }
.field small { color: var(--dim); font-size: 12px; }
.input, .field input:not([type=checkbox]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font-size: 15px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8a8a8a; background: #111; }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: #5c5c5c; }
input[type=datetime-local], input[type=date] { color-scheme: dark; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: #fff; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.form-error { color: var(--bad); margin: 0; font-size: 14px; grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: block; height: 100%; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); transition: border-color .15s, background .15s; }
.choice b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 24px; }
.choice small { color: var(--muted); font-size: 13px; }
.choice input:checked + span { border-color: #fff; background: #171717; box-shadow: inset 0 0 0 1px #fff; }
.choice input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.success-box { text-align: center; padding: 36px 20px; }
.success-box h2 { font-family: var(--font-title); font-weight: 400; font-size: 40px; margin: 0 0 6px; }
.big-code { display: inline-flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 22px 0; padding: 18px 24px; border: 1px dashed #fff; border-radius: 12px; }
.big-code div { text-align: center; }
.big-code small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
.big-code b { font-family: var(--mono); font-size: 26px; letter-spacing: .08em; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 22px; }
.tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button.active { background: #fff; color: #000; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: #555; }
.chip.active { background: #fff; color: #000; border-color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 500; }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--dim); }
.search .input { padding-left: 40px; }
.shop-toolbar select.input { width: auto; flex: 0 0 auto; }
.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding-bottom: 60px; }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.product:hover { border-color: #474747; }
.product-img { position: relative; aspect-ratio: 4/3; background: repeating-linear-gradient(-45deg, #141414 0 10px, #171717 10px 20px); display: grid; place-items: center; overflow: hidden; }
.product-img .ph { font-family: var(--font-title); font-size: 54px; color: #2e2e2e; position: absolute; }
.product-img img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 10px; left: 10px; background: #fff; color: #000; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.product-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.product h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.product p { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.price small { font-size: 12px; color: var(--dim); font-weight: 500; margin-left: 4px; }
@media (max-width: 520px) { .product-body { padding: 11px; } .product h3 { font-size: 14px; } .price { font-size: 18px; } .product p { -webkit-line-clamp: 2; } }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: var(--text); font-size: 17px; }
.stepper button:hover { background: var(--surface-3); }
.stepper span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.product-foot .stepper { width: 100%; justify-content: space-between; }
.g-item:has(img.img-broken) { display: none; }
@media (max-width: 720px) { .shop-page #toasts { bottom: calc(84px + env(safe-area-inset-bottom)); } }

.drawer-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 310; background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; font-family: var(--font-title); color: #3a3a3a; font-size: 24px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { margin: 0 0 4px; font-size: 14px; }
.cart-line .sub { font-size: 13px; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cart-total b { font-size: 22px; }
.mobile-cart-bar { display: none; }
@media (max-width: 720px) {
  .mobile-cart-bar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 200;
    justify-content: space-between; align-items: center; padding: 0 8px 0 18px; height: 56px; border-radius: 999px;
    background: #fff; color: #000; font-weight: 700; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); border: 0; cursor: pointer;
  }
  .mobile-cart-bar .go { background: #000; color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; }
  .shop-page .product-grid { padding-bottom: 110px; }
}

/* ---------- Ticket-Verlauf ---------- */
.thread { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); white-space: pre-wrap; word-break: break-word; }
.msg-meta { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; white-space: normal; }
.msg.mine { align-self: flex-end; background: #ededed; color: #111; border-color: #ededed; }
.msg.mine .msg-meta { color: #555; }
.msg.team { align-self: flex-start; }
.msg.internal { border-style: dashed; border-color: var(--warn); background: #1f1a0e; color: var(--text); }
.msg.internal .msg-meta { color: var(--warn); }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; background: #050505; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.footer-brand .grunge { font-size: 30px; }
.footer-brand p { color: var(--muted); margin: 6px 0 0; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-small { margin-top: 26px; color: var(--dim); font-size: 12px; }

/* ---------- Badges, Toasts, Modals ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.badge.tone-ok { color: var(--ok); border-color: #2d4d2d; background: rgba(143, 207, 143, .07); }
.badge.tone-warn { color: var(--warn); border-color: #5a4920; background: rgba(227, 179, 65, .07); }
.badge.tone-bad { color: var(--bad); border-color: #5a2a2a; background: rgba(224, 108, 108, .07); }
.badge.tone-info { color: var(--info); border-color: #2b3c57; background: rgba(154, 184, 230, .07); }
.badge.tone-white { color: #000; background: #fff; border-color: #fff; }

#toasts { position: fixed; z-index: 1000; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border-radius: 10px; background: #f2f2f2; color: #111; font-weight: 600; font-size: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); animation: toastIn .2s ease; }
.toast.bad { background: #3a1515; color: #ffd6d6; border: 1px solid #6a2a2a; }
.toast.warn { background: #3a2f12; color: #ffe7a8; border: 1px solid #6a5420; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

.modal-back { position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 0, .7); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeIn .15s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { width: min(620px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.modal-wide { width: min(980px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-body { padding: 20px; overflow-y: auto; }
@media (max-width: 640px) {
  .modal-back { align-items: flex-end; padding: 0; }
  .modal { max-height: 92vh; border-radius: 16px 16px 0 0; border-bottom: 0; }
  .modal-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

.empty { padding: 40px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.loading { padding: 50px; text-align: center; color: var(--muted); }

/* =====================================================================
   Mitgliederbereich
   ===================================================================== */
body.intern { --side: 240px; }
.topbar {
  position: fixed; inset: 0 0 auto 0; height: 60px; z-index: 100; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: rgba(8, 8, 8, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.topbar .brand-text { font-size: 20px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.app { display: flex; padding-top: 60px; min-height: 100vh; }
.sidebar {
  position: fixed; top: 60px; bottom: 0; left: 0; width: var(--side); overflow-y: auto; padding: 14px 10px 30px;
  border-right: 1px solid var(--line); background: var(--bg-2); z-index: 90;
}
.sidebar h6 { margin: 18px 10px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--dim); font-weight: 600; }
.sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--muted); text-decoration: none;
  font-weight: 500; font-size: 14px;
}
.sidebar a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.sidebar a:hover { background: var(--surface-2); color: var(--text); }
.sidebar a.active { background: #fff; color: #000; }
.sidebar a.active svg { opacity: 1; }
.sidebar .count { margin-left: auto; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--text); }
.sidebar .count.warn { background: var(--warn); color: #000; }
.sidebar a.active .count { background: #000; color: #fff; }
.app-main { flex: 1; min-width: 0; margin-left: var(--side); padding: 26px 16px 80px; }
@media (min-width: 720px) { .app-main { padding: 30px 30px 80px; } }
.sidebar-back { display: none; }
.only-mobile { display: none; }
@media (max-width: 900px) {
  .only-mobile { display: inline-grid; }
  .hide-mobile { display: none !important; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; width: min(280px, 84vw); z-index: 150; }
  .sidebar.open { transform: none; }
  .sidebar-back { position: fixed; inset: 60px 0 0 0; background: rgba(0, 0, 0, .55); z-index: 140; }
  .sidebar-back.open { display: block; }
  .app-main { margin-left: 0; }
}

.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.view-head h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1; margin: 0; }
.view-head p { margin: 8px 0 0; color: var(--muted); max-width: 680px; font-size: 14px; }
.view-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input { max-width: 320px; min-height: 40px; }
.toolbar .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-bottom: 2px; }
.toolbar .chips::-webkit-scrollbar { display: none; }
h2.sub { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 34px 0 12px; font-weight: 600; }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 26px; }
.tile { display: block; text-decoration: none; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s; }
.tile:hover { border-color: #555; }
.tile b { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tile span { color: var(--muted); font-size: 13px; }
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px; }
  .tile b { font-size: 26px; }
}
.tile.warn { border-color: #5a4920; } .tile.warn b { color: var(--warn); }
.tile.bad b { color: var(--bad); }
.panels { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 400px) { .panels { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.box h3 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.box h3 a { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .r { color: var(--muted); text-align: right; flex: none; }
.mini-list .empty-li { color: var(--dim); justify-content: center; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .015); }
.table tr.row-warn { background: rgba(227, 179, 65, .05); }
.table tr.row-dim { opacity: .55; }
.table td.row-actions { white-space: nowrap; text-align: right; width: 1%; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.qty { font-weight: 800; font-size: 16px; }
.qty.low { color: var(--warn); }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 3px 0; display: flex; gap: 12px; justify-content: space-between; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; text-align: left; flex: none; padding-top: 2px; }
  .table td[data-label=''],
  .table td.row-actions { justify-content: flex-end; padding-top: 10px; width: 100%; }
  .table td.row-actions::before, .table td[data-label='']::before { display: none; }
}

.order-list, .req-list { display: grid; gap: 12px; }
.order-card, .req-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.order-card header, .req-card header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.order-card header .who { font-weight: 700; font-size: 16px; }
.order-card header time, .req-card header time { color: var(--muted); font-size: 13px; }
.order-card header .grow, .req-card header .grow { flex: 1; }
.order-items { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--line); }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-sum { display: flex; justify-content: flex-end; gap: 10px; font-weight: 800; font-size: 16px; }
.quote { margin: 10px 0; padding: 10px 12px; border-left: 3px solid #fff; background: var(--bg-2); border-radius: 0 8px 8px 0; white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.quote small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; white-space: normal; }
.inline-form { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.inline-form textarea { flex: 1; min-height: 42px; height: 42px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); resize: vertical; font-size: 14px; }
select.status-select { min-height: 36px; padding: 6px 30px 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.history { font-size: 12px; color: var(--dim); margin-top: 8px; }

.rel-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .rel-grid { grid-template-columns: 1fr; } }
.rel-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rel-item:last-child { border-bottom: 0; }

.split-view { display: grid; grid-template-columns: 340px 1fr; gap: 14px; align-items: start; }
.ticket-list { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 230px); overflow-y: auto; }
.ticket-item { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 11px 13px; cursor: pointer; width: 100%; }
.ticket-item:hover { border-color: #4a4a4a; }
.ticket-item.active { border-color: #fff; }
.ticket-item .t1 { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.ticket-item .t2 { font-weight: 600; margin: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-detail { min-height: 300px; }
.ticket-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.back-btn { display: none; }
@media (max-width: 900px) {
  .split-view { grid-template-columns: 1fr; }
  .split-view.show-detail .ticket-pane { display: none; }
  .split-view:not(.show-detail) .ticket-detail { display: none; }
  .back-btn { display: inline-flex; margin-bottom: 10px; }
  .ticket-list { max-height: none; }
}

/* Startseiten-Editor */
.editor { display: grid; gap: 14px; }
.ed-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ed-card.is-hidden { opacity: .6; }
.ed-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ed-head .ttl { font-weight: 700; flex: 1; min-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-body { padding: 16px; display: grid; gap: 14px; }
.ed-items { display: grid; gap: 10px; }
.ed-item { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.ed-item-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.ed-item-fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ed-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.img-field { display: grid; gap: 8px; }
.img-row { display: flex; gap: 8px; }
.img-row input { flex: 1; }
.img-prev { max-height: 120px; width: auto; border-radius: 8px; border: 1px solid var(--line); }
.savebar { position: sticky; bottom: 12px; z-index: 50; display: flex; justify-content: flex-end; gap: 10px; align-items: center; padding: 10px; margin-top: 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(19, 19, 19, .92); backdrop-filter: blur(10px); }
.savebar .state { margin-right: auto; padding-left: 10px; font-size: 13px; color: var(--muted); }
.savebar .state.dirty { color: var(--warn); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; }

/* Live-GTA-Karte */
.gmap { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: #161616; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.gmap:active { cursor: grabbing; }
.gmap-render { background: #0f2c5c; }
.gmap-main { height: min(62vh, 620px); min-height: 340px; }
.gmap-form { height: 320px; }
@media (max-width: 640px) { .gmap-main { height: 58vh; } .gmap-form { height: 260px; } }
.gmap-tiles, .gmap-markers, .gmap-lines { position: absolute; inset: 0; }
.gmap-tile { position: absolute; max-width: none; pointer-events: none; }
/* Mira-Karte: schwarz-weiß, hart, mit Körnung und Vignette */
.gmap-mira { background: #0d0d0d; }
.gmap-mira .gmap-tile { filter: grayscale(1) contrast(1.55) brightness(.62); }
.gmap-render .gmap-tile { filter: saturate(.55) brightness(.85); }
.gmap-deco { position: absolute; inset: 0; pointer-events: none; }
.gmap-mira .gmap-deco {
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .75) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
}
.gmap-brand { position: absolute; right: 14px; bottom: 8px; font-family: var(--font-title); font-size: 34px; color: rgba(255, 255, 255, .16); letter-spacing: .02em; }
.gmap-render .gmap-brand { display: none; }
.gmap-lines { width: 100%; height: 100%; pointer-events: none; }
.gmap-lines line { stroke: #9a9a9a; stroke-width: 2; stroke-dasharray: 7 6; opacity: .95; filter: drop-shadow(0 0 2px #000); }
.gmap-lines line.tone-own { stroke: #fff; }
.gmap-lines line.tone-other { stroke: var(--bad); }
.gmap-markers { pointer-events: none; }
.gmap-marker { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 6px; will-change: transform; }
/* Sammelpunkt = Mira-Kreuz, Verarbeiter = Raute */
.gmap-marker i { display: block; width: 18px; height: 22px; margin: -11px 0 0 -9px; background: #9a9a9a; flex: none; filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000) drop-shadow(0 2px 4px rgba(0, 0, 0, .8));
  clip-path: polygon(36% 0, 64% 0, 64% 27%, 100% 27%, 100% 47%, 64% 47%, 64% 100%, 36% 100%, 36% 47%, 0 47%, 0 27%, 36% 27%); }
.gmap-marker.kind-verarbeiter i { width: 16px; height: 16px; margin: -8px 0 0 -8px; clip-path: none; transform: rotate(45deg); border: 2px solid #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); filter: none; }
.gmap-marker.kind-punkt i { width: 16px; height: 16px; margin: -8px 0 0 -8px; clip-path: none; border-radius: 50%; border: 2px solid #000; }
.gmap-marker.tone-own i { background: #fff; }
.gmap-marker.tone-other i { background: var(--bad); }
.gmap-marker.tone-pick i { background: var(--warn); }
.gmap-marker span { margin-top: -8px; padding: 2px 7px; border-radius: 4px; background: rgba(0, 0, 0, .82); border: 1px solid rgba(255, 255, 255, .15); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.gmap-marker:hover span { background: #000; border-color: #fff; }
.pt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-list { display: grid; gap: 6px; }
.pt-row { display: grid; grid-template-columns: 26px 1.2fr 1fr auto auto auto; gap: 6px; align-items: center; }
.pt-row input { min-height: 38px !important; padding: 7px 10px !important; }
.pt-num { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-weight: 800; font-size: 12px; }
@media (max-width: 640px) { .pt-row { grid-template-columns: 26px 1fr auto auto auto; } .pt-row input:nth-of-type(2) { grid-column: 2 / -1; grid-row: 2; } }
.gmap-coords { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, .75); font-family: var(--mono); font-size: 12px; pointer-events: none; }
.gmap-controls { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.gmap-btn { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(10, 10, 10, .85); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; }
.gmap-btn.wide { font-size: 12px; }
.gmap-btn:hover { background: #000; border-color: #777; }
.gmap-info { position: absolute; left: 10px; top: 10px; max-width: min(300px, calc(100% - 70px)); padding: 12px 14px; border-radius: 10px; background: rgba(8, 8, 8, .92); border: 1px solid var(--line-2); font-size: 13px; line-height: 1.7; cursor: default; }
.gmap-info b { font-size: 15px; display: block; padding-right: 26px; }
.gmap-info-close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px; }
.gmap-info-close svg { width: 16px; height: 16px; }
.gmap-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.gmap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #000; box-shadow: 0 0 0 1px #666; }
.lg.own { background: #fff; } .lg.other { background: var(--bad); } .lg.none { background: #9a9a9a; }
.lg.dot { background: transparent; box-shadow: 0 0 0 2px #aaa; border: 0; }
.lg.cross { width: 11px; height: 14px; border: 0; border-radius: 0; box-shadow: none; background: #aaa; clip-path: polygon(36% 0, 64% 0, 64% 27%, 100% 27%, 100% 47%, 64% 47%, 64% 100%, 36% 100%, 36% 47%, 0 47%, 0 27%, 36% 27%); }
.lg.sq { background: transparent; border-radius: 2px; transform: rotate(45deg); box-shadow: 0 0 0 2px #aaa; border: 0; width: 10px; height: 10px; }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; height: 42px; border-radius: 999px; border: 1px solid #2d4d2d; color: var(--ok); font-weight: 700; font-size: 13px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }

/* Bilder auf der Startseite */
.hero.has-img .hero-cross { display: none; }
.hero.has-img .hero-bg { object-position: 62% 40%; }
.card.has-img { padding: 0; display: flex; flex-direction: column; }
.card.has-img::before { z-index: 1; }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .5s, filter .4s; }
.card.has-img:hover .card-img img { transform: scale(1.05); filter: grayscale(.4); }
.card.has-img .card-body { padding: 18px 22px 22px; }
.banner-section { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; background: #050505; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); }
.banner-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(8, 8, 8, .2) 30%, rgba(8, 8, 8, .35) 60%, var(--bg) 100%); }
.banner-content { padding-bottom: 64px; }
.banner-content p { max-width: 560px; color: #d6d6d6; font-size: 18px; margin: 14px 0 0; text-shadow: 0 2px 16px #000; }
.banner-content .section-title { text-shadow: 0 4px 30px rgba(0, 0, 0, .8); }
.gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 900px) { .gallery .g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }

/* Kacheln mit Link (Startseite) */
.link-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-tile { position: relative; display: flex; align-items: flex-end; min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); text-decoration: none; isolation: isolate; }
.link-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.75); transition: transform .6s ease, filter .4s; }
.link-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .88) 100%); }
.link-tile::after { content: ''; position: absolute; left: 0; top: 0; width: 46px; height: 3px; background: #fff; }
.link-tile:hover img { transform: scale(1.06); filter: grayscale(.3) brightness(.85); }
.link-tile:hover { border-color: #555; }
.link-body { padding: 22px; }
.link-body h3 { font-family: var(--font-title); font-weight: 400; font-size: 32px; line-height: 1; margin: 0 0 8px; }
.link-body p { margin: 0 0 12px; color: #cfcfcf; font-size: 14px; }
.link-more { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.link-more b { display: inline-block; transition: transform .2s; color: #fff; }
.link-tile:hover .link-more b { transform: translateX(5px); }
@media (min-width: 1000px) {
  .section-links .link-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .section-links .link-tile:first-child { grid-row: span 2; min-height: 560px; }
  .section-links .link-tile:not(:first-child) { min-height: 270px; }
  .section-links .link-tile:nth-child(4):last-child { grid-column: 2 / span 2; }
}
@media (max-width: 520px) { .link-tile { min-height: 240px; } }
.section-links { border-bottom: 0; }

/* Unterseiten */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: calc(var(--header) + 40px) 0 48px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: #050505; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.6); }
.page-hero-img.img-broken { display: none; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, .6) 0%, rgba(8, 8, 8, .2) 40%, var(--bg) 100%); }
.page-hero h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(48px, 10vw, 110px); line-height: .95; margin: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.page-hero p#pageIntro { max-width: 560px; color: #d0d0d0; font-size: 17px; margin: 14px 0 0; }
.page-missing { padding: 160px 16px 80px; text-align: center; }
.page-missing h1 { font-size: 60px; margin: 0; }
.next-pages { background: var(--bg-2); }
.next-pages .link-tile { min-height: 220px; }

/* Bild-Generator */
.gen-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 980px) { .gen-layout { grid-template-columns: 1fr; } .gen-side { order: -1; } }
.gen-form { display: grid; gap: 14px; }
.gen-side { position: sticky; top: 80px; }
.gen-preview { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #000; min-height: 200px; display: grid; place-items: center; }
.gen-canvas { width: 100%; height: auto; display: block; }
.gen-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.gen-icon { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); color: var(--muted); cursor: pointer; font-size: 11px; }
.gen-icon svg { width: 26px; height: 26px; }
.gen-icon:hover { color: #fff; border-color: #555; }
.gen-icon.active { background: #fff; color: #000; border-color: #fff; }
.ed-tabs { flex-wrap: wrap; }
.ed-head .status-select { max-width: 170px; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header) + 20px) 16px 40px; }
.login-card { width: min(440px, 100%); text-align: center; }
.login-card .brand-mark { width: 46px; height: 46px; margin: 0 auto 14px; }
.login-card h1 { font-family: var(--font-title); font-weight: 400; font-size: 44px; margin: 0; line-height: 1; }
.login-card p { color: var(--muted); }
.btn-discord-big { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord-big:hover { background: #4752c4; border-color: #4752c4; }
.alert { padding: 12px 14px; border-radius: 10px; border: 1px solid #5a2a2a; background: rgba(224, 108, 108, .08); color: #ffd0d0; text-align: left; font-size: 14px; margin: 16px 0; }

/* =====================================================================
   Bewegung & Animationen
   ===================================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Seitenwechsel: sanft ein- und ausblenden */
body { animation: pageIn .55s ease both; }
body.leaving { opacity: 0; transition: opacity .17s ease; }
@keyframes pageIn { from { opacity: 0; } }

/* Fortschrittsbalken oben */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 130; background: #fff; transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(255, 255, 255, .6); pointer-events: none; }

/* Kopfleiste: fährt beim Laden herein, wird beim Scrollen kompakter */
.site-header { animation: headerIn .7s var(--ease) both; transition: height .3s var(--ease), background .3s, border-color .3s; }
.site-header.scrolled { height: 58px; background: rgba(6, 6, 6, .92); border-bottom-color: rgba(255, 255, 255, .1); }
@keyframes headerIn { from { transform: translateY(-100%); opacity: 0; } }
.brand-mark { transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg) scale(1.1); }

/* Menü: Unterstrich gleitet herein */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active::after { display: block; margin: 0; }
@media (max-width: 1180px) {
  .nav a::after { display: none; }
  .nav.open a { animation: navIn .4s var(--ease) both; }
  .nav.open a:nth-child(2) { animation-delay: .03s; } .nav.open a:nth-child(3) { animation-delay: .06s; } .nav.open a:nth-child(4) { animation-delay: .09s; }
  .nav.open a:nth-child(5) { animation-delay: .12s; } .nav.open a:nth-child(6) { animation-delay: .15s; } .nav.open a:nth-child(7) { animation-delay: .18s; }
  .nav.open a:nth-child(8) { animation-delay: .21s; } .nav.open a:nth-child(9) { animation-delay: .24s; }
}
@keyframes navIn { from { opacity: 0; transform: translateX(-16px); } }

/* Buttons: Lichtstreifen beim Darüberfahren */
.btn { position: relative; overflow: hidden; transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s, color .2s; }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none; }
.btn-primary::after { background: linear-gradient(105deg, transparent, rgba(0, 0, 0, .14), transparent); }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.cart-btn .count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* Titelfläche: Bild zoomt langsam, Rauch zieht, Text steigt nacheinander auf */
.hero-media { position: absolute; left: 0; right: 0; top: -8%; height: 118%; z-index: -2; will-change: transform; }
.hero-media .hero-bg, .hero-media .page-hero-img { z-index: auto; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero-smoke { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .5; }
.hero-smoke::before, .hero-smoke::after {
  content: ''; position: absolute; width: 140%; height: 70%; left: -20%; bottom: -10%; filter: blur(40px);
  background: radial-gradient(40% 50% at 30% 60%, rgba(200, 200, 200, .14), transparent 70%), radial-gradient(35% 45% at 70% 50%, rgba(220, 220, 220, .1), transparent 70%);
  animation: smoke 28s ease-in-out infinite alternate;
}
.hero-smoke::after { bottom: auto; top: 10%; height: 50%; animation-duration: 36s; animation-direction: alternate-reverse; opacity: .7; }
@keyframes smoke { from { transform: translateX(-6%) translateY(2%); } to { transform: translateX(8%) translateY(-4%); } }
.hero-content > *, .page-hero-content > * { opacity: 0; }
.hero-ready .hero-content > *, .hero-ready .page-hero-content > * { animation: rise 1s var(--ease) both; opacity: 1; }
.hero-ready .hero-content .eyebrow, .hero-ready .page-hero-content .eyebrow { animation-delay: .1s; }
.hero-ready .hero-content h1 { animation: none; }
.hero h1 .w { display: inline-block; opacity: 0; }
.hero-ready .hero h1 .w { animation: riseWord 1.1s var(--ease) both; animation-delay: calc(.2s + var(--i) * .14s); }
.hero-ready .hero-content .motto, .hero-ready .page-hero-content h1 { animation-delay: .55s; }
.hero-ready .hero-content .hero-text, .hero-ready .page-hero-content p:last-child { animation-delay: .7s; }
.hero-ready .hero-content .hero-actions { animation-delay: .85s; }
.hero-ready .hero-content .tagline { animation-delay: 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes riseWord { from { opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.hero .motto { position: relative; display: inline-block; }
.hero-ready .hero .motto::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #fff; transform-origin: left; animation: lineIn 1s var(--ease) 1.2s both; }
@keyframes lineIn { from { transform: scaleX(0); } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; opacity: 0; animation: rise .8s var(--ease) 1.4s both; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px) { .scroll-hint { display: none; } }
.hero-cross { animation: crossFloat 9s ease-in-out infinite alternate; }
@keyframes crossFloat { from { transform: translateY(0) rotate(0); } to { transform: translateY(-18px) rotate(3deg); } }

/* Einblenden beim Scrollen (Varianten) */
.js-motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion .reveal.from-left { transform: translateX(-40px); }
.js-motion .reveal.zoom { transform: scale(.92); }
.js-motion .reveal.wipe { transform: translateY(20px); clip-path: inset(0 0 100% 0 round var(--radius)); }
.js-motion .reveal.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius)); }
.js-motion .reveal.settled { transition: opacity .3s, transform .25s var(--ease), border-color .2s; transition-delay: 0ms; }

/* Abschnitts-Überschriften: Linie wächst, Titel schiebt sich hinein */
.section-head .kicker { display: inline-flex; align-items: center; gap: 10px; }
.section-head .kicker::after { content: ''; width: 34px; height: 2px; background: #fff; }
.js-motion .section-head.reveal .kicker::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
.js-motion .section-head.reveal.in .kicker::after { transform: scaleX(1); }
.js-motion .section-head.reveal .section-title { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .15s; }
.js-motion .section-head.reveal.in .section-title { clip-path: inset(-20% -5% -20% 0); }

/* Karten & Kacheln: Lichtschein folgt der Maus */
.card.tilt, .link-tile.tilt { transform-style: preserve-3d; }
.card.tilt::after, .link-tile.tilt .link-body::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 60%); }
.card.tilt:hover::after, .link-tile.tilt:hover .link-body::before { opacity: 1; }
.link-body { transform: translateY(10px); transition: transform .45s var(--ease); }
.link-tile:hover .link-body { transform: none; }
.link-tile::after { transition: width .5s var(--ease); }
.link-tile:hover::after { width: 100%; }
.card::before { transition: width .5s var(--ease); }
.card:hover::before { width: 100%; }

/* Zeitstrahl: Raute leuchtet beim Einblenden auf */
.js-motion .timeline li.reveal::before { transform: rotate(45deg) scale(0); transition: transform .6s var(--ease) calc(var(--d, 0ms) + .2s), background .4s; }
.js-motion .timeline li.reveal.in::before { transform: rotate(45deg) scale(1); background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .6); }

/* Zahlen */
.stat { transition: background .3s; }
.stat:hover { background: #191919; }
.stat b { font-variant-numeric: tabular-nums; }

/* Banner & Unterseiten-Kopf: Bild etwas größer, damit Parallax keine Kanten zeigt */
.banner-img { top: -12%; bottom: auto; height: 124%; will-change: transform; }
.banner-content .section-title { display: inline-block; }

/* Galerie, Lightbox, Dialoge */
.g-item span { transform: translateY(100%); transition: transform .4s var(--ease); }
.g-item:hover span, .g-item:focus-visible span { transform: none; }
@media (hover: none) { .g-item span { transform: none; } }
.lightbox { animation: fadeIn .25s ease both; }
.lightbox.closing { opacity: 0; transition: opacity .18s; }
.lightbox img.lb-in { animation: lbIn .45s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.modal { animation: modalIn .35s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 640px) { .modal { animation-name: sheetIn; } @keyframes sheetIn { from { transform: translateY(100%); } } }
.success-box { animation: modalIn .6s var(--ease) both; }
.big-code { animation: codeGlow 2.4s ease-in-out 3; }
@keyframes codeGlow { 50% { box-shadow: 0 0 30px rgba(255, 255, 255, .18); } }

/* Shop */
.product { transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.product-img img { transition: transform .6s var(--ease), filter .4s; }
.product:hover .product-img img { transform: scale(1.06); }
.product.added { animation: added .7s var(--ease); }
@keyframes added { 30% { box-shadow: 0 0 0 2px #fff, 0 0 40px rgba(255, 255, 255, .25); transform: translateY(-4px) scale(1.02); } }
.drawer.open .cart-line { animation: rise .45s var(--ease) both; }
.mobile-cart-bar:not([hidden]) { animation: rise .45s var(--ease) both; }

/* Formulare, Tabs, Panels */
.page-head > * { animation: rise .9s var(--ease) both; }
.page-head > *:nth-child(2) { animation-delay: .12s; }
.panel { animation: rise .9s var(--ease) .15s both; }
.field input, .field select, .field textarea { transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.choice > span { transition: border-color .2s, background .2s, transform .25s var(--ease); }
.choice:hover > span { transform: translateY(-2px); }
.chip, .tabs button { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.chip:active { transform: scale(.95); }

/* Mitgliederbereich */
.view-in { animation: rise .5s var(--ease) both; }
.view-in .tile, .view-in .box, .view-in .order-card, .view-in .req-card { animation: rise .6s var(--ease) both; }
.view-in .tile:nth-child(2) { animation-delay: .04s; } .view-in .tile:nth-child(3) { animation-delay: .08s; } .view-in .tile:nth-child(4) { animation-delay: .12s; }
.view-in .tile:nth-child(5) { animation-delay: .16s; } .view-in .tile:nth-child(6) { animation-delay: .2s; } .view-in .tile:nth-child(n+7) { animation-delay: .24s; }
.tile { transition: border-color .2s, transform .3s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.sidebar a { transition: background .2s, color .2s, padding-left .25s var(--ease); }
.sidebar a:hover { padding-left: 14px; }
.gmap-marker i { transition: transform .2s var(--ease); }
.gmap-marker:hover i { transform: scale(1.35); }
.gmap-marker.kind-verarbeiter:hover i { transform: rotate(45deg) scale(1.35); }
.gmap-main .gmap-marker { animation: markerIn .5s var(--ease) both; }
@keyframes markerIn { from { opacity: 0; } }

/* Partikel: feine Asche über der ganzen Seite (unter Kopfleiste und Dialogen) */
.particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; opacity: 0; animation: particlesIn 2s ease .6s forwards; }
@keyframes particlesIn { to { opacity: 1; } }

/* Mauszeiger im Mira-Stil: schlanker weißer Pfeil mit schwarzem Rand, über Links/Buttons invertiert (schwarz mit weißem Rand).
   Der Pfeil ist ein echter Systemzeiger (folgt ohne Verzögerung), dazu Lichtschein, Kometenschweif und Klick-Welle per JS. */
html.has-cursor, html.has-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 3l17.5 9.4-7.6 1.9-3.5 7.2z' fill='%23fff' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto !important;
}
/* Karte im Mitgliederbereich: Greif-Hand zum Verschieben (steht vor der Link-Regel, damit Marker/Knöpfe den Pfeil zeigen) */
html.has-cursor .gmap, html.has-cursor .gmap * { cursor: grab !important; }
html.has-cursor .gmap:active, html.has-cursor .gmap:active * { cursor: grabbing !important; }
html.has-cursor :is(a, button, [role="button"], label, select, summary, .g-item, .link-tile, .product, .chip, .choice, .gmap-marker, .ticket-item, .tile),
html.has-cursor :is(a, button, [role="button"], label, select, summary, .g-item, .link-tile, .product, .chip, .choice, .gmap-marker, .ticket-item, .tile) * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 3l19.5 10.4-8.4 2.1-3.9 8z' fill='%23000' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='25' cy='25' r='2.6' fill='%23fff'/%3E%3C/svg%3E") 4 3, pointer !important;
}
html.has-cursor :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]), textarea, [contenteditable]) { cursor: text !important; }
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9997; pointer-events: none; }
/* Lichtschein: wie eine Taschenlampe in der dunklen Gasse, zieht weich hinter der Maus her */
.cursor-light { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; z-index: 58; pointer-events: none; opacity: 0; will-change: transform;
  background: radial-gradient(circle, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .035) 32%, rgba(255, 255, 255, 0) 68%);
  transition: opacity .5s, width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease); }
.cursor-on .cursor-light { opacity: 1; }
.cursor-hover .cursor-light { width: 360px; height: 360px; margin: -180px 0 0 -180px; background: radial-gradient(circle, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, 0) 68%); }
.cursor-down .cursor-light { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
.cursor-text .cursor-light { opacity: .4; }

/* Mitgliederbereich: dieselben Effekte wie die Webseite */
.topbar { animation: headerIn .7s var(--ease) both; }
.sidebar { animation: sideIn .7s var(--ease) .1s both; }
@keyframes sideIn { from { opacity: 0; transform: translateX(-24px); } }
@media (max-width: 900px) { .sidebar { animation: none; } }
body.intern .app { position: relative; isolation: isolate; }
body.intern .app::before {
  content: ''; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 40% at 20% 85%, rgba(255, 255, 255, .04), transparent 70%), radial-gradient(40% 35% at 85% 15%, rgba(255, 255, 255, .035), transparent 70%), radial-gradient(30% 30% at 60% 60%, rgba(255, 255, 255, .02), transparent 70%);
  filter: blur(20px); animation: smoke 40s ease-in-out infinite alternate;
}
.view-in .view-head h1 { animation: titleWipe 1.1s var(--ease) both; }
.view-in .view-head h1::after { content: ''; display: block; width: 46px; height: 2px; margin-top: 12px; background: #fff; transform-origin: left; animation: lineIn .9s var(--ease) .35s both; }
.view-in .view-head p { animation: rise .8s var(--ease) .15s both; }
.view-in .view-actions > * { animation: rise .7s var(--ease) .2s both; }
@keyframes titleWipe { from { clip-path: inset(-20% 100% -25% 0); } to { clip-path: inset(-20% -5% -25% 0); } }
.view-in .table-wrap, .view-in .panel, .view-in .gmap-main, .view-in .ed-card, .view-in .gen-layout, .view-in .split-view { animation: rise .7s var(--ease) .12s both; }
.view-in .table tbody tr { animation: rowIn .5s var(--ease) both; }
.view-in .table tbody tr:nth-child(2) { animation-delay: .03s; } .view-in .table tbody tr:nth-child(3) { animation-delay: .06s; } .view-in .table tbody tr:nth-child(4) { animation-delay: .09s; }
.view-in .table tbody tr:nth-child(5) { animation-delay: .12s; } .view-in .table tbody tr:nth-child(n+6) { animation-delay: .15s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
.tile.tilt { position: relative; overflow: hidden; transform-style: preserve-3d; }
.tile.tilt::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .1), transparent 60%); }
.tile.tilt:hover::after { opacity: 1; }
.tile::before { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: #fff; transition: width .5s var(--ease); }
.tile:hover::before { width: 100%; }
.box, .order-card, .req-card, .ticket-item { transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.order-card:hover, .req-card:hover { border-color: #3d3d3d; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.ticket-item:hover { transform: translateX(3px); }
.msg { animation: rise .45s var(--ease) both; }
.badge { transition: transform .2s var(--ease); }
.sidebar .count { animation: bump .5s var(--ease); }

/* Rezepte (Made by Mogli) */
.rc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; overflow: hidden; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.rc-card:hover, .rc-card:focus-visible { border-color: #4a4a4a; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); outline: none; }
.rc-card::before { content: ''; position: absolute; left: 0; top: 0; width: 46px; height: 3px; background: var(--bad); transition: width .5s var(--ease); }
.rc-card.ok::before { background: var(--ok); }
.rc-card:hover::before { width: 100%; }
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.rc-card h3 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.rc-ing { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.rc-ing li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rc-ing li > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.rc-ing .r { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.rc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); box-shadow: 0 0 0 3px rgba(143, 207, 143, .12); }
.rc-dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(224, 108, 108, .12); }
.rc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.rc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rc-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rc-calc > label { font-size: 13px; font-weight: 600; color: #cfcfcf; }
.rc-calc .input { width: 110px; min-height: 40px; }
.rc-calc .chip { padding: 6px 12px; }
.rc-out { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.rc-sub { margin-left: 8px; min-height: 26px; padding: 0 9px; font-size: 12px; }
.rc-h { margin: 22px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.rc-hint { margin: 0 0 8px; font-size: 13px; }
.rc-note { margin-top: 16px; }
.rc-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 96px auto auto; gap: 6px; align-items: center; }
.rc-row input { min-height: 38px !important; padding: 7px 10px !important; }
@media (max-width: 640px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-out { margin-left: 0; width: 100%; }
  .rc-row { grid-template-columns: 26px minmax(0, 1fr) 70px auto; }
  .rc-row .rc-up { display: none; }
}

/* Wer weniger Bewegung möchte (Systemeinstellung), bekommt alles ruhig */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js-motion .reveal { opacity: 1; transform: none; clip-path: none; }
  .hero-content > *, .page-hero-content > *, .hero h1 .w { opacity: 1; }
  .particles, .cursor-trail, .cursor-light { display: none; }
}
