/* ==========================================================================
   EldoriaCraft — Öffentliche Webseite (Redesign)
   Look: Lyndara-inspiriert · warmes ORANGE auf dunklem Grund · runde moderne
   Typografie (Poppins + Plus Jakarta Sans). Bild-Platzhalter-System für
   Maskottchen & Server-Screenshots.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Flächen (warmes Anthrazit) */
  --bg:            #0f0e0b;
  --bg-elev:       #181610;
  --bg-elev-2:     #221d15;
  --border:        #2c2618;
  --border-strong: #3c3322;

  /* Text (warmweiß) */
  --text:        #f6f1e8;
  --text-muted:  #b6ab94;
  --text-dim:    #837860;

  /* Marke — Orange/Amber */
  --primary:      #ff7a18;
  --primary-2:    #ffb02e;
  --primary-soft: rgba(255, 122, 24, .14);
  --accent:       #ffd166;   /* Gold-Sekundär */
  --accent-soft:  rgba(255, 209, 102, .12);
  --gold:         #ffd166;
  --danger:       #ef5350;

  /* Verläufe */
  --grad:      linear-gradient(120deg, #ff5e1a 0%, #ff8a00 48%, #ffb52e 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,122,24,.16), rgba(255,176,46,.07));

  /* Form & Tiefe */
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 26px 60px -22px rgba(0,0,0,.7);
  --shadow-sm: 0 12px 30px -14px rgba(0,0,0,.6);
  --glow:      0 12px 40px -8px rgba(255,122,24,.55);

  /* Schrift */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, sans-serif;

  /* Layout */
  --max:   1200px;
  --nav-h: 76px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Atmosphäre: warme Glows + feines Grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 50% at 82% -8%, rgba(255,122,24,.22), transparent 60%),
    radial-gradient(45% 42% at 4% 8%,  rgba(255,176,46,.12), transparent 58%),
    radial-gradient(45% 55% at 50% 112%, rgba(255,94,26,.10), transparent 62%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: .03; pointer-events: none;
  background-image: 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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Sichtbarer Tastatur-Fokus (Accessibility) */
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .nav__links a:focus-visible, .ipbox button:focus-visible { outline-offset: 4px; }

/* --- Utilities ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary-2);
}

.section { padding: 96px 0; position: relative; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; }

.section h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 14px; }
.section__head p { color: var(--text-muted); font-size: 17px; font-weight: 400; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad); color: #1a1206; font-weight: 700; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -6px rgba(255,122,24,.7); }
.btn--ghost { background: rgba(255,255,255,.05); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.btn--discord { background: #5865F2; color: #fff; }
.btn--discord:hover { background: #6b78ff; transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* --- Navbar --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(15,14,11,.85); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.5px; }
.brand__mark { width: 42px; height: 42px; flex: none; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav__links { display: flex; gap: 2px; margin-left: 8px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; color: var(--text-muted);
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  transition: color .18s, background .18s; position: relative;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--grad); border-radius: 2px; }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav__burger svg { width: 26px; height: 26px; }
.nav__burger i { font-size: 22px; }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding: clamp(56px, 10vh, 110px) 0 84px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(255,209,102,.3);
  font-family: var(--font-display); font-size: 13px; color: var(--accent); font-weight: 600;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
.hero__badge.is-loading .dot { background: var(--text-dim); box-shadow: none; animation: none; }
.hero__badge.is-offline .dot { background: #ef5350; box-shadow: 0 0 10px #ef5350; }
.hero__badge.is-offline { color: #ef9a9a; background: rgba(239,83,80,.1); border-color: rgba(239,83,80,.3); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; margin-bottom: 20px; }
.hero h1 .line2 { display: block; margin-top: 12px; font-size: .34em; font-weight: 600; letter-spacing: 3px; color: var(--text-muted); }
.hero__lead { font-size: 18px; color: var(--text-muted); max-width: 520px; margin-bottom: 30px; }
.hero__lead strong { color: var(--text); }

/* IP-Copy-Feld */
.ipbox {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 7px 7px 7px 20px; box-shadow: var(--shadow-sm);
}
.ipbox__label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-dim); text-transform: uppercase; }
.ipbox__ip { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); margin-right: 4px; }
.ipbox button {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-soft); border: 1px solid rgba(255,122,24,.35);
  color: var(--primary-2); border-radius: 999px; padding: 10px 16px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  transition: background .2s, color .2s;
}
.ipbox button:hover { background: var(--primary); color: #1a1206; }
.ipbox button.copied { background: #4ade80; border-color: #4ade80; color: #06210f; }
.ipbox button svg { width: 15px; height: 15px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat__num { font-family: var(--font-display); font-size: 32px; font-weight: 800; }
.stat__num b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 13px; color: var(--text-dim); font-weight: 500; }

/* Hero-Visual: Maskottchen-Platzhalter + Glow */
.hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,24,.35), transparent 65%); filter: blur(20px); }
.hero__ring { position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 1px dashed rgba(255,122,24,.28); animation: spin 38s linear infinite; }
.hero__ring.r2 { width: 320px; height: 320px; border-color: rgba(255,209,102,.24); animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__mascot { position: relative; z-index: 1; width: min(380px, 86%); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

/* --- Bild-Platzhalter-System --------------------------------------------- */
/* <figure class="media"><img onerror=…><figcaption>…</figcaption></figure>  */
.media { position: relative; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media figcaption { display: none; }
.media.is-empty { background: var(--grad-soft); border: 1.5px dashed var(--border-strong); display: grid; place-items: center; min-height: 200px; }
.media.is-empty img { display: none; }
.media.is-empty figcaption {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px; text-align: center;
  color: var(--text-muted); font-size: 13px;
}
.media.is-empty figcaption svg { width: 34px; height: 34px; stroke: var(--primary-2); opacity: .8; }
.media.is-empty figcaption i { font-size: 30px; color: var(--primary-2); opacity: .8; }
.media.is-empty figcaption code { font-family: var(--font-display); font-weight: 600; color: var(--primary-2); background: var(--primary-soft); padding: 3px 9px; border-radius: 7px; font-size: 12px; }
/* Maskottchen-Slot: keine Box, nur Hinweis */
.hero__mascot.is-empty { width: min(360px, 80%); aspect-ratio: 1; min-height: auto; }

/* --- Cards / Features ----------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; stroke: var(--primary-2); fill: none; }
.card__icon i { font-size: 23px; color: var(--primary-2); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* --- Feature-Grid --------------------------------------------------------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fitem { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: border-color .25s, transform .25s; }
.fitem:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.fitem.span2 { grid-column: span 2; background: var(--grad-soft); border-color: var(--border-strong); }
.fitem__tag { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-2); }
.fitem h3 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin: 12px 0 10px; }
.fitem p { color: var(--text-muted); }

/* --- Einblick / Galerie --------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery .media { border: 1px solid var(--border); }
.gallery .media.tall { grid-row: span 2; }
.gallery .media.wide { grid-column: span 2; }

/* --- Join (Tabs) ---------------------------------------------------------- */
.join { background: var(--bg-elev); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: 42px; box-shadow: var(--shadow); }
.tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 34px; }
.tab { padding: 10px 22px; border: 0; background: none; color: var(--text-muted); border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: all .2s; }
.tab.active { background: var(--grad); color: #1a1206; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step__n { font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h4 { font-size: 17px; font-weight: 700; margin: 10px 0 6px; }
.step p { color: var(--text-muted); font-size: 14.5px; }
.step code { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--primary-2); background: var(--primary-soft); padding: 2px 8px; border-radius: 7px; }
.tabpane { display: none; }
.tabpane.active { display: block; animation: fade .3s ease; }
@keyframes fade { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

/* --- CTA-Band ------------------------------------------------------------- */
.cta-band { background: var(--grad-soft); border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 6px); padding: 58px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(255,122,24,.25), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); max-width: 540px; margin: 0 auto 28px; font-size: 17px; }

/* --- Über-Zeile (Projekt-Hinweis) ---------------------------------------- */
.about-line { padding: 0 0 86px; }
.about-line p {
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 11px; flex-wrap: wrap;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 14px 28px; color: var(--text-muted); font-size: 15px;
}
.about-line i { color: var(--primary-2); font-size: 16px; }
.about-line a { color: var(--primary-2); font-weight: 600; }
.about-line a:hover { text-decoration: underline; }

/* --- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; background: rgba(0,0,0,.22); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__about p { color: var(--text-muted); font-size: 14.5px; margin: 16px 0; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-elev); border: 1px solid var(--border); transition: all .2s; }
.footer__social a:hover { border-color: var(--primary); color: var(--primary-2); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__social a i { font-size: 18px; }
.footer__col h5 { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 18px; text-transform: uppercase; }
.footer__col a { display: block; color: var(--text-muted); font-size: 14.5px; padding: 6px 0; transition: color .18s; }
.footer__col a:hover { color: var(--primary-2); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 13.5px; }
.footer__bottom a { color: var(--text-dim); }
.footer__bottom a:hover { color: var(--text-muted); }

/* --- Page-Hero (Unterseiten) ---------------------------------------------- */
.phero { padding: 72px 0 30px; text-align: center; position: relative; }
.phero h1 { font-size: clamp(36px, 6vw, 62px); margin-bottom: 14px; }
.phero p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* --- Wiki / Regeln / Team / Vote / Bewerben ------------------------------- */
.wiki-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.rules { display: grid; gap: 16px; max-width: 800px; margin-inline: auto; }
.rule { display: flex; gap: 20px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; transition: border-color .2s; }
.rule:hover { border-color: var(--border-strong); }
.rule__n { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--primary-2); flex: none; width: 48px; }
.rule h3 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.rule p { color: var(--text-muted); font-size: 14.5px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: transform .25s, border-color .25s; }
.member:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.member__avatar { width: 80px; height: 80px; border-radius: 22px; margin: 0 auto 16px; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--primary-2); }
.member h3 { font-size: 17px; font-weight: 700; }
.member__role { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-2); border: 1px solid rgba(255,122,24,.3); }
.member__role.owner { background: rgba(255,209,102,.14); color: var(--gold); border-color: rgba(255,209,102,.35); }
.member__role.mod { background: rgba(74,222,128,.12); color: #6ee7a0; border-color: rgba(74,222,128,.3); }

.vote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin-inline: auto; }
.vote-site { display: flex; align-items: center; gap: 18px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; transition: border-color .2s, transform .2s; }
.vote-site:hover { border-color: var(--primary); transform: translateY(-3px); }
.vote-site__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; flex: none; font-family: var(--font-display); font-weight: 800; color: var(--primary-2); }
.vote-site h3 { font-size: 16px; font-weight: 700; }
.vote-site p { font-size: 13px; color: var(--text-muted); }
.vote-site .btn { margin-left: auto; }

.apply-cta { max-width: 760px; margin: 0 auto; text-align: center; }
.apply-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0; }

/* --- Rechtstexte (Impressum / Datenschutz / AGB) ------------------------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal__note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 32px; font-size: 14px; color: var(--text-muted);
}
.legal__note i { color: var(--primary-2); font-size: 18px; margin-top: 2px; flex: none; }
.legal h2 { font-size: clamp(20px, 3vw, 26px); margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--primary-2); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .ph { font-family: var(--font-display); font-weight: 600; font-size: .9em; color: var(--primary-2); background: var(--primary-soft); border: 1px solid rgba(255,122,24,.25); padding: 1px 8px; border-radius: 6px; }
.legal__updated { color: var(--text-dim); font-size: 13px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); }

/* --- Reveal --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- Scroll-Fortschritt (oben) ------------------------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(255,122,24,.6); transition: width .08s linear; }

/* --- Back-to-Top ---------------------------------------------------------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--bg-elev); color: var(--primary-2); display: grid; place-items: center;
  font-size: 17px; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad); color: #1a1206; border-color: transparent; transform: translateY(-3px); }

/* --- Hero: Eingangs-Animation (gestaffelt) ------------------------------- */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroPop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroUp .75s both; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .15s; }
.hero__copy > *:nth-child(3) { animation-delay: .25s; }
.hero__copy > *:nth-child(4) { animation-delay: .35s; }
.hero__copy > *:nth-child(5) { animation-delay: .45s; }
.hero__copy > *:nth-child(6) { animation-delay: .55s; }
.hero__art { animation: heroPop 1s .3s both; }

/* Shimmer auf der Verlaufs-Headline */
.shimmer { background-size: 220% auto; animation: shimmer 5.5s linear infinite; }
@keyframes shimmer { to { background-position: 220% center; } }

/* Schwebende Deko-Blöcke im Hero */
.hero__blocks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blocks span { position: absolute; border-radius: 8px; background: var(--grad-soft); border: 1px solid var(--border-strong); animation: drift 9s ease-in-out infinite; }
.hero__blocks span:nth-child(1) { width: 34px; height: 34px; top: 18%; left: 6%; animation-delay: 0s; }
.hero__blocks span:nth-child(2) { width: 22px; height: 22px; top: 62%; left: 14%; animation-delay: 1.5s; }
.hero__blocks span:nth-child(3) { width: 46px; height: 46px; top: 26%; right: 10%; animation-delay: .8s; }
.hero__blocks span:nth-child(4) { width: 18px; height: 18px; bottom: 14%; right: 22%; animation-delay: 2.2s; }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(14deg); } }

/* Icon-Pop bei Card-Hover */
.card__icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card__icon { transform: scale(1.1) rotate(-4deg); }

/* --- Marquee / Lauftext -------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: rgba(0,0,0,.18); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: 44px; }
.marquee__track i { color: var(--primary); font-size: 9px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Währungs-Showcase --------------------------------------------------- */
.coins { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.coin-card { position: relative; overflow: hidden; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; display: flex; gap: 22px; align-items: flex-start; transition: transform .25s, border-color .25s; }
.coin-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.coin-card__glow { position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,24,.22), transparent 70%); }
.coin-card.gems .coin-card__glow { background: radial-gradient(circle, rgba(255,209,102,.22), transparent 70%); }
.coin-card__icon { width: 60px; height: 60px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); font-size: 26px; color: var(--primary-2); position: relative; z-index: 1; animation: bob 4s ease-in-out infinite; }
.coin-card.gems .coin-card__icon { color: var(--gold); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.coin-card__body { position: relative; z-index: 1; }
.coin-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.coin-card p { color: var(--text-muted); font-size: 14.5px; }
.coin-card__tag { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-2); border: 1px solid rgba(255,122,24,.3); }
.coin-card.gems .coin-card__tag { background: rgba(255,209,102,.13); color: var(--gold); border-color: rgba(255,209,102,.32); }

/* --- FAQ-Akkordeon ------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s; }
.faq__item.open { border-color: var(--border-strong); }
.faq__q { width: 100%; background: none; border: 0; color: var(--text); text-align: left; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.faq__q i { color: var(--primary-2); transition: transform .3s ease; flex: none; }
.faq__item.open .faq__q i { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--text-muted); font-size: 14.5px; padding: 0 24px 22px; }

/* --- Icon-Feinschliff ---------------------------------------------------- */
.btn i { font-size: 1.02em; line-height: 1; vertical-align: -.04em; }
.hero__cta .btn i, .cta-band .btn i, .apply-cta .btn i { font-size: 1.12em; }
.card__icon i { font-size: 24px; }
.ipbox button i { font-size: 13px; }
.fa-discord { font-size: 1.08em; }
i[class*="fa-"] { display: inline-block; }

/* --- Hover-Tilt (3D) ----------------------------------------------------- */
.card, .coin-card { will-change: transform; }

/* --- Zähler-Glow --------------------------------------------------------- */
.stat__num b.counted { animation: numGlow 2.6s ease-in-out infinite; }
@keyframes numGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,140,20,0)); }
  50%      { filter: drop-shadow(0 0 11px rgba(255,140,20,.6)); }
}

/* --- Seitenübergänge ----------------------------------------------------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body { animation: pageIn .45s ease backwards; }
body.is-leaving { opacity: 0; transform: translateY(-10px); transition: opacity .26s ease, transform .26s ease; }

/* --- Text-Reveal (Überschriften tauchen auf) ----------------------------- */
.rw, .lr { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.rw__i, .lr__i {
  display: inline-block; transform: translateY(118%); opacity: 0; will-change: transform;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .6s ease;
}
.rw-host.in .rw__i, .lr-host.in .lr__i { transform: none; opacity: 1; }

/* --- Reduzierte Bewegung (html.reduced) ---------------------------------- */
/* Gesetzt per Inline-Script, wenn das OS „weniger Bewegung" meldet.
   Override: URL mit ?motion=on erzwingt die volle Animation (Vorschau). */
@keyframes softFade { from { opacity: 0; } to { opacity: 1; } }
html.reduced .reveal { transform: none; transition: opacity .6s ease; }
html.reduced .hero__copy > * { animation-name: softFade; }
html.reduced .hero__art { animation: softFade .7s .25s both; }
html.reduced .rw__i, html.reduced .lr__i { transform: none; transition: opacity .55s ease; }
html.reduced .hero__mascot, html.reduced .hero__ring, html.reduced .hero__badge .dot,
html.reduced .hero__blocks span, html.reduced .shimmer, html.reduced .marquee__track,
html.reduced .coin-card__icon, html.reduced .stat__num b.counted { animation: none !important; }
html.reduced .card:hover .card__icon { transform: none; }
html.reduced body { animation: none !important; }
html.reduced body.is-leaving { opacity: 1; transform: none; transition: none; }
html.reduced { scroll-behavior: auto; }

/* --- Responsive (neue Komponenten) --------------------------------------- */
@media (max-width: 720px) {
  .coins { grid-template-columns: 1fr; }
  .marquee__track span { font-size: 15px; gap: 30px; }
  .marquee__track { gap: 30px; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: 260px; }
  .hero__glow { width: 320px; height: 320px; }
  .hero__ring { width: 300px; height: 300px; }
  .hero__ring.r2 { width: 210px; height: 210px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .fitem.span2 { grid-column: span 2; }
  .team-grid, .wiki-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; margin-left: auto; }
  .nav.open .nav__links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(15,14,11,.98); backdrop-filter: blur(14px); padding: 16px 24px; gap: 4px; border-bottom: 1px solid var(--border); margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .vote-grid, .apply-roles { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .join, .cta-band { padding: 28px; }
  .hero__stats { gap: 24px; }
}
@media (max-width: 480px) {
  .cards, .fgrid, .team-grid, .wiki-grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 180px; }
  .gallery .media.wide, .gallery .media.tall { grid-column: auto; grid-row: auto; }
  .fitem.span2 { grid-column: span 1; }
  .ipbox { flex-wrap: wrap; border-radius: var(--radius-sm); }
}

/* ===================== TEAM-ABTEILUNGEN ===================== */
.dept { margin-bottom: 42px; }
.dept__head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.dept__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--primary-2); font-size: 18px; flex: none; }
.dept__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.5px; }
.dept__count { margin-left: auto; color: var(--text-dim); font-size: 13px; font-weight: 600; }
.member__head { width: 96px; height: 96px; margin: 0 auto 14px; display: block; border-radius: 18px; image-rendering: pixelated; background: var(--bg-elev-2); border: 2px solid var(--border-strong); }
.member__head--open { display: grid; place-items: center; color: var(--primary-2); font-size: 34px; image-rendering: auto; background: var(--grad-soft); }
.member__tasks { color: var(--text-muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.member__tasks a { color: var(--primary-2); font-weight: 600; }
.member__tasks a:hover { text-decoration: underline; }
.member--open { border-style: dashed; }
.dept--admin .member__head { border-color: rgba(255, 209, 102, .55); }
.dept--dev .member__head { border-color: rgba(255, 122, 24, .55); }
.dept--builder .member__head { border-color: rgba(74, 222, 128, .5); }

/* ===================== TEAM-KACHELN (Feinschliff) ===================== */
.dept .team-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.dept .member { flex: 0 1 220px; position: relative; overflow: hidden; padding: 26px 20px 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.dept .member::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.dept .member:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.dept .member:hover::before { transform: scaleX(1); }
.dept .member h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.2px; }

/* Köpfe: Ring + Hover-Zoom/Glow */
.member__head { box-shadow: 0 0 0 4px rgba(255, 255, 255, .03); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dept .member:hover .member__head { transform: scale(1.06); box-shadow: 0 0 0 4px var(--primary-soft), 0 12px 28px -8px rgba(255, 122, 24, .5); }

/* Fragezeichen-Kopf (offene Ränge) */
.member__head--q { display: grid; place-items: center; background: var(--grad-soft); border: 2px dashed var(--border-strong); position: relative; overflow: hidden; }
.member__head--q::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 30%, rgba(255, 176, 46, .18), transparent 70%); }
.member__head--q span { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: qFloat 3s ease-in-out infinite; }
@keyframes qFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }
.member--open:hover .member__head--q { border-color: var(--primary); }
.member--open:hover .member__head--q span { animation-duration: 1.4s; }
.member--open .member__tasks a { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--primary-soft); transition: border-color .2s, background .2s; }
.member--open .member__tasks a:hover { border-color: var(--primary); text-decoration: none; }

@media (max-width: 520px) {
    .dept .member { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .member__head--q span { animation: none; }
    .dept .member:hover .member__head { transform: none; }
}

/* Team-Köpfe: zentriert + mehr Abstand zum Text */
.dept .member { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dept .member__head { margin: 2px auto 22px; }
.dept .member h3 { margin-bottom: 4px; }

/* ===================== PARTNER / CREATOR ===================== */
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 6px 0 10px; }
.sec-head p { color: var(--text-muted); max-width: 620px; font-size: 16px; }

.partner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px; }

.creator {
  position: relative; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.creator::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.creator:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.creator:hover::before { transform: scaleX(1); }

.creator__tags { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.creator__tag {
  font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #1a1206; box-shadow: var(--glow);
}
.creator__tag--live {
  background: rgba(239,83,80,.16); color: #ff6b68; border: 1px solid rgba(239,83,80,.4);
  box-shadow: none; display: inline-flex; align-items: center; gap: 6px;
}
.creator__tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef5350; animation: pulseLive 1.6s infinite; }
@keyframes pulseLive { 0% { box-shadow: 0 0 0 0 rgba(239,83,80,.6); } 70% { box-shadow: 0 0 0 6px rgba(239,83,80,0); } 100% { box-shadow: 0 0 0 0 rgba(239,83,80,0); } }

.creator__name {
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.2px;
  padding: 6px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-strong); margin-bottom: 16px;
}
.creator__head {
  width: 92px; height: 92px; margin: 0 auto 12px; display: block; border-radius: 18px;
  image-rendering: pixelated; background: var(--bg-elev-2); border: 2px solid var(--border-strong);
  box-shadow: 0 0 0 4px rgba(255,255,255,.03); transition: transform .25s ease, box-shadow .25s ease;
}
.creator:hover .creator__head { transform: scale(1.06); box-shadow: 0 0 0 4px var(--primary-soft), 0 12px 28px -8px rgba(255,122,24,.5); }
.creator__role { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: .04em; margin-bottom: 16px; }

.creator__stat { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 14px 12px; margin-bottom: 16px; background: var(--bg); }
.creator__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--primary-2); line-height: 1.15; }
.creator__label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }

.creator__social { display: flex; gap: 10px; justify-content: center; margin-top: auto; }
.creator__social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); transition: color .2s, border-color .2s, transform .2s; }
.creator__social a:hover { color: var(--primary-2); border-color: var(--primary); transform: translateY(-2px); }

/* "Du?"-Bewerber-Karte */
.creator--open { border-style: dashed; }
.creator--open .creator__head { display: grid; place-items: center; font-size: 40px; color: var(--primary-2); image-rendering: auto; background: var(--grad-soft); border-style: dashed; }
.creator--open .creator__head span { font-family: var(--font-display); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: qFloat 3s ease-in-out infinite; }
.creator--open:hover .creator__head { border-color: var(--primary); }
.creator--open .creator__num { color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .creator__tag--live::before, .creator--open .creator__head span { animation: none; }
  .creator:hover .creator__head { transform: none; }
}

/* ===================== LIVE-KARUSSELL (Hero) ===================== */
.live-wrap { max-width: 860px; margin: 30px auto 0; }
.live-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef5350; animation: pulseLive 1.6s infinite; }
.live-carousel { position: relative; }
.live-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.live-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(15,14,11,.75); color: var(--text); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.live-nav:hover { background: var(--primary-soft); border-color: var(--primary); }
.live-prev { left: 12px; } .live-next { right: 12px; }
.live-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.live-title { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.live-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.live-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border-strong); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.live-dots button.active { background: var(--primary); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ===================== PARTNER-JOIN (Werde Teil des Partner-Programms) ===================== */
.partner-join { position: relative; background: var(--bg-elev); border: 1px solid var(--border-strong); border-left: 3px solid var(--primary); border-radius: calc(var(--radius) + 6px); padding: 46px; overflow: hidden; }
.partner-join::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 120% at 0% 0%, rgba(255,122,24,.16), transparent 60%); pointer-events: none; }
.partner-join > * { position: relative; z-index: 1; }
.partner-join h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 6px 0 16px; }
.partner-join > p { color: var(--text-muted); max-width: 700px; font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.partner-join__pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.pjpill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.pjpill i { color: var(--primary-2); }
.partner-join__perks { display: grid; gap: 12px; margin-bottom: 32px; }
.pjperk { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .25s ease, transform .25s ease; }
.pjperk:hover { border-color: var(--border-strong); transform: translateX(4px); }
.pjperk__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #1a1206; font-size: 18px; box-shadow: var(--glow); }
.pjperk__body h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 4px; }
.pjperk__body p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }
@media (prefers-reduced-motion: reduce) { .pjperk:hover { transform: none; } }
@media (max-width: 640px) { .partner-join { padding: 30px 22px; } }

/* ===================== PARTNER-ANFORDERUNGEN ===================== */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req-card { position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; overflow: hidden; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.req-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.req-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.req-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--border-strong); }
.req-card__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #1a1206; font-size: 20px; box-shadow: var(--glow); }
.req-card__head h3 { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px); margin: 0; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.req-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.45; }
.req-list li i { flex: none; margin-top: 3px; font-size: 12px; color: var(--primary-2); }
@media (max-width: 720px) { .req-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .req-card { padding: 26px 20px; } }
@media (prefers-reduced-motion: reduce) { .req-card:hover { transform: none; } }

/* ===================== FORMULARE (Creator-Bewerbung) ===================== */
.form-card { position: relative; background: var(--bg-elev); border: 1px solid var(--border-strong); border-left: 3px solid var(--primary); border-radius: calc(var(--radius) + 6px); padding: 40px; max-width: 860px; margin: 0 auto; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 120% at 0% 0%, rgba(255,122,24,.12), transparent 60%); pointer-events: none; }
.form-card > * { position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .03em; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); font: inherit; font-size: 15px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { margin: 6px 0 0; font-size: 12.5px; color: #ff8a87; }
.field--error input, .field--error select, .field--error textarea { border-color: #ef5350; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 18px; font-size: 14px; color: var(--text-muted); }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.form-msg { border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 18px; font-size: 14.5px; line-height: 1.55; }
.form-msg--ok { background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.45); color: #9ccc9e; }
.form-msg--err { background: rgba(239,83,80,.12); border: 1px solid rgba(239,83,80,.45); color: #ff8a87; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-turnstile { margin: 4px 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

/* ===================== ADMIN (Bewerbungen) ===================== */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-head h1 { font-family: var(--font-display); font-size: 26px; margin: 0; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.admin-tabs a.active { background: var(--grad); color: #1a1206; border-color: transparent; }
.app-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.app-card summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; cursor: pointer; list-style: none; }
.app-card summary::-webkit-details-marker { display: none; }
.app-card summary strong { font-family: var(--font-display); font-size: 16px; }
.app-card__body { padding: 6px 20px 20px; border-top: 1px solid var(--border); }
.app-card__body p { margin: 8px 0; font-size: 14px; }
.app-meta { color: var(--text-muted); font-size: 13px; margin-left: auto; }
.badge { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; }
.badge--neu { background: rgba(255,176,46,.15); color: var(--primary-2); border: 1px solid rgba(255,176,46,.4); }
.badge--angenommen { background: rgba(76,175,80,.15); color: #9ccc9e; border: 1px solid rgba(76,175,80,.4); }
.badge--abgelehnt { background: rgba(239,83,80,.15); color: #ff8a87; border: 1px solid rgba(239,83,80,.4); }
.app-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.app-actions form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.app-actions .btn { padding: 8px 16px; font-size: 13px; }
.app-actions input[type="text"] { background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); padding: 8px 12px; font: inherit; font-size: 13px; min-width: 260px; }
.app-snippet { background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 14px; font-size: 12.5px; overflow-x: auto; margin: 10px 0 0; white-space: pre; }
.admin-login { max-width: 380px; margin: 12vh auto 0; }
