/* ==========================================================================
   Klinox Services — basis stylesheet
   1. Variabelen        4. Layout          7. Formulieren
   2. Reset             5. Cards           8. Onderdelen
   3. Typografie        6. Buttons         9. Animaties
   ========================================================================== */

/* 1. Variabelen ---------------------------------------------------------- */
:root {
  --bg:            #08090b;
  --bg-raise:      #0b0e13;
  --card-top:      #121620;
  --card-bottom:   #0a0c11;
  --line:          #1c222b;
  --line-soft:     #171b22;
  --line-strong:   #2a323e;
  --ink:           #e8eaee;
  --ink-bright:    #f4f6f9;
  --ink-mid:       #9fabbb;
  --ink-dim:       #8d99a9;
  --ink-faint:     #6b788a;
  --accent:        #cdd7e4;
  --good:          #7fd0a3;
  --warn:          #e0c078;
  --bad:           #e2a3ab;
  --radius:        24px;
  --radius-md:     16px;
  --radius-sm:     12px;
  --font-display:  Sora, system-ui, sans-serif;
  --font-body:     "Space Grotesk", system-ui, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, monospace;
  --shell:         1280px;
  --shadow-card:   0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-lift:   0 40px 80px rgba(0, 0, 0, 0.6);
}

/* 2. Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: #b8c6da; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #ffffff; }
::selection { background: #2b3444; color: #fff; }
code { font-family: var(--font-mono); color: var(--accent); }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; cursor: pointer; }

/* 3. Typografie ---------------------------------------------------------- */
.h-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #a9b4c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.h-display--xl { font-size: clamp(42px, 6.4vw, 64px); letter-spacing: -0.035em; }
.h-section { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #f0f3f7; }
.h-card    { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #f0f3f7; }
.lead      { margin: 20px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-mid); text-wrap: pretty; }
.body-text { margin: 0; font-size: 15px; line-height: 1.75; color: #a7b3c2; white-space: pre-line; text-wrap: pretty; }
.muted     { color: var(--ink-dim); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7f8b9b;
}
.mono-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); }

.h-display--hero { font-size: clamp(42px, 6.6vw, 66px); line-height: 1.03; }
.h-section--lg { font-size: clamp(30px, 4.2vw, 42px); }

/* 4. Layout -------------------------------------------------------------- */
.page {
  min-height: 100vh;
  background: radial-gradient(1100px 520px at 50% -220px, #1a1f27 0%, var(--bg) 60%);
}
.page__glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(700px 340px at 12% 8%,  rgba(180, 200, 230, 0.09), transparent 68%),
    radial-gradient(760px 380px at 88% 42%, rgba(150, 175, 210, 0.07), transparent 70%),
    radial-gradient(900px 420px at 50% 100%, rgba(180, 200, 230, 0.06), transparent 72%);
}
.shell   { position: relative; z-index: 1; max-width: var(--shell); margin: 0 auto; padding-inline: 40px; }
.section { position: relative; z-index: 1; padding-block: 44px; }
.section--hero { padding-block: 84px 40px; }
.section--tail { padding-bottom: 100px; }
.section--lg { padding-block: 96px; }

/* Hero met logokaart */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 96px 80px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero__stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #f2f4f7; }
.hero__stat-label { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #7f8b9b; }

.logo-card { display: flex; flex-direction: column; align-items: center; }
.logo-card__img {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  filter: brightness(1.06) contrast(1.12);
  mix-blend-mode: screen;
}
.logo-card__mail {
  position: relative;
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #97a3b3;
}
.chips--center { justify-content: center; margin-top: 24px; }
.chip--lg { padding: 11px 16px; font-size: 11px; letter-spacing: 0.05em; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 20px rgba(0, 0, 0, 0.45); }

/* Diensten-tegels */
.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #141922 0%, var(--bg-raise) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

/* Tabbladen (populaire releases) */
.tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.tab {
  width: auto;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tab.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #f6f8fb 0%, #b4becc 100%);
  color: #0b0d11;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 20px rgba(0, 0, 0, 0.5);
}

.card__media--shot { height: 168px; display: flex; align-items: flex-end; padding: 14px; }
.shot-note {
  padding: 5px 8px;
  border: 1px solid #1e242e;
  border-radius: 6px;
  background: var(--bg-raise);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* Werkwijze-stappen */
.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #141922 0%, var(--bg-raise) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #171d27 0%, #0d1117 100%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.step__title { margin: 12px 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #eff2f6; }
.step__body  { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-dim); }

/* Slot-CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  text-align: center;
  border: 1px solid #232a34;
  border-radius: var(--radius);
  background: radial-gradient(600px 260px at 50% 0%, #1d2430 0%, var(--bg-raise) 70%);
}
.cta__title {
  margin: 0 auto;
  max-width: 640px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 0%, #a3aebe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__body { margin: 18px auto 0; max-width: 560px; font-size: 16.5px; line-height: 1.6; color: #96a2b2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__flank { flex: 1 1 0; display: flex; min-width: max-content; }
.site-header__flank--end { justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { max-height: 40px; }
.brand__logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 15px;
  color: #f2f4f7;
  white-space: nowrap;
}
.brand__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.nav { flex: 0 1 auto; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; white-space: nowrap; }
.nav a.is-active { color: #ffffff; }

.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand span:first-child { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; font-size: 13px; color: #cfd8e4; }
.site-footer__links { display: flex; gap: 26px; font-size: 13.5px; }

.grid { display: grid; gap: 18px; align-items: start; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--fit   { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack       { display: flex; flex-direction: column; gap: 16px; }
.row         { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.push        { margin-left: auto; }

/* 5. Cards --------------------------------------------------------------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
  overflow: hidden;
}
.card--pad    { padding: 30px; }
.card--pad-lg { padding: 44px; }
.card--lift   { box-shadow: var(--shadow-lift); }
.card--flow   { display: flex; flex-direction: column; }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 240px at 50% 0%, rgba(180, 200, 230, 0.12), transparent 70%);
}
.card > * { position: relative; z-index: 1; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card__media {
  position: relative;
  height: 180px;
  border-bottom: 1px solid var(--line);
  background-color: #0e1218;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 9px);
}
.card__media--tall { height: 190px; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border: 1px solid #232a34;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.85);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
}
.card--link { gap: 12px; padding: 30px; display: flex; flex-direction: column; }
.card--link .card__cta { margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #96a2b2; }

.empty {
  padding: 60px 40px;
  text-align: center;
  border: 1px dashed #232a34;
  border-radius: var(--radius);
  color: #7f8b9b;
  font-size: 15px;
}

.stat__value { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-bright); }
.stat__label { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7f8b9b; }

.price { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #cfd8e4; white-space: nowrap; }

/* 6. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  border: none;
  background: linear-gradient(180deg, #f6f8fb 0%, #b4becc 100%);
  color: #0b0d11;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 12px 30px rgba(0, 0, 0, 0.5);
}
.btn--outline {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #141922 0%, var(--bg-raise) 100%);
  color: #e6ebf2;
}
.btn--outline:hover { border-color: #46525f; color: #ffffff; }
.btn--ghost {
  padding: 9px 15px;
  border-color: var(--line-strong);
  border-radius: 10px;
  background: #10131a;
  color: #e6ebf2;
  font-size: 12.5px;
}
.btn--danger {
  padding: 9px 15px;
  border-color: #3a262b;
  border-radius: 10px;
  background: transparent;
  color: var(--bad);
  font-size: 12.5px;
}
.btn--danger:hover { border-color: #52343a; color: #f0b8bf; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 15.5px; }

.btn-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: #e6ebf2;
  white-space: nowrap;
}
.btn-login:hover { border-color: #3a4453; }
.btn-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px 60px at 50% 0%, rgba(180, 200, 230, 0.14), transparent 70%);
  pointer-events: none;
}
.btn-login span { position: relative; }

/* Categoriebalk */
.catbar {
  position: sticky;
  top: 73px;
  z-index: 40;
  padding: 14px 40px;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.catbar__inner { max-width: var(--shell); margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #141922 0%, var(--bg-raise) 100%);
  color: var(--ink-mid);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.pill.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #f6f8fb 0%, #b4becc 100%);
  color: #0b0d11;
}

/* 7. Formulieren --------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form--two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b98a8;
}
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #232a34;
  border-radius: 14px;
  background: #0c0f15;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}
.textarea { line-height: 1.7; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: #46525f; }
.input::placeholder, .textarea::placeholder { color: #5d6879; }
.range { width: 100%; accent-color: #b4becc; }

.alert { padding: 13px 16px; border-radius: 14px; font-size: 14px; }
.alert--error { border: 1px solid #4a2a2f; background: #180f12; color: var(--bad); }
.alert--ok    { border: 1px solid #1f3a2b; background: #0d1712; color: var(--good); font-family: var(--font-mono); font-size: 12px; }

/* 8. Onderdelen ---------------------------------------------------------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #141922 0%, var(--bg-raise) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  white-space: nowrap;
}
.chip::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.badge {
  padding: 5px 10px;
  border: 1px solid #232a34;
  border-radius: 999px;
  background: #141922;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #96a2b2;
}
.badge--nieuw     { background: #141922; color: var(--ink-dim); }
.badge--behandel  { background: #221d10; color: var(--warn); }
.badge--accepteer { background: #12241a; color: var(--good); }

.avatar {
  position: relative;
  width: 104px;
  height: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(180deg, #171d27 0%, #0d1117 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: klx-bob 4.2s ease-in-out infinite;
}
.avatar--sm { width: 68px; height: 68px; animation: none; }
.avatar--form { width: 84px; height: 84px; animation: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar__initials { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink-dim); }
.avatar--sm .avatar__initials { font-size: 20px; }

.member { align-items: center; text-align: center; gap: 14px; padding: 30px 26px 26px; }

.gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.gallery img { width: 200px; height: 124px; flex: none; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-sm); }

.thumb {
  width: 132px;
  height: 88px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0e1218;
}
.thumb--list { width: 104px; height: 80px; }

.detail-open { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

.discord-fab {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 44px rgba(0, 0, 0, 0.6);
  animation: klx-float 3.4s ease-in-out infinite;
}
.discord-fab__halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 200, 230, 0.22) 0%, transparent 68%);
  animation: klx-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
.discord-fab svg { position: relative; width: 30px; height: auto; fill: #e6ebf2; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 7, 9, 0.78);
  backdrop-filter: blur(8px);
}
.modal__card { width: 100%; max-width: 460px; text-align: center; animation: klx-pop 0.28s ease-out; }
.modal__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(180deg, #171d27 0%, #0d1117 100%);
  font-size: 24px;
  color: var(--good);
}

.auth { display: flex; align-items: center; justify-content: center; padding: 80px 40px 120px; }
.auth__card { width: 100%; max-width: 520px; }

/* 9. Animaties ----------------------------------------------------------- */
@keyframes klx-float { 0%, 100% { transform: translateY(0); }   50% { transform: translateY(-12px); } }
@keyframes klx-bob   { 0%, 100% { transform: translateY(0); }   50% { transform: translateY(-6px); } }
@keyframes klx-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes klx-pop   { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .discord-fab, .discord-fab__halo, .avatar, .modal__card { animation: none; }
}

/* Responsief ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 60px 48px; }
  .grid--three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .grid--four  { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .section--lg { padding-block: 60px; }
  .cta { padding: 48px 26px; }
}

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .site-header__flank { flex: 0 0 auto; min-width: 0; }
  .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .shell, .catbar { padding-inline: 22px; }
  .catbar { top: 0; }
  .card--pad-lg { padding: 28px; }
}


/* ---------- product-overlay ---------- */
.card--btn { display: flex; flex-direction: column; padding: 0; text-align: left; font: inherit; color: inherit; background: linear-gradient(180deg, #121620 0%, #0a0c11 100%); border: 1px solid var(--line); cursor: pointer; }
.card--btn .card__body { align-items: stretch; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 7, 9, 0.82); backdrop-filter: blur(8px); }
.modal__panel { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(84vh, 720px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #121620 0%, #0a0c11 100%); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 14, 19, 0.9); color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; }
.modal__close:hover { border-color: var(--line-2); color: #fff; }
.modal__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 160px; max-height: 34vh; overflow: hidden; background: #0e1218; border-bottom: 1px solid var(--line); }
.modal__media img { width: 100%; max-height: 34vh; object-fit: contain; display: block; }
.modal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: rgba(11, 14, 19, 0.9); color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; }
.modal__nav:hover { border-color: var(--line-2); color: #fff; }
.modal__nav--prev { left: 14px; }
.modal__nav--next { right: 14px; }
.modal__count { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 14, 19, 0.9); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.modal__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.modal__title { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); }
.price--lg { font-size: 18px; }
@media (max-width: 720px) {
  .modal { padding: 0; }
  .modal__panel { max-height: 100vh; border-radius: 0; border: 0; }
  .modal__body { padding: 22px; }
}


/* ---------- telefoon ---------- */
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; gap: 10px; row-gap: 12px; }
  .brand__name { font-size: 13px; letter-spacing: 0.12em; }
  .btn-login { padding: 9px 14px; font-size: 12.5px; }
  .nav { gap: 16px; font-size: 13.5px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }

  .shell, .catbar { padding-inline: 16px; }
  .section { padding-block: 44px; }
  .section--hero { padding-block: 40px 24px; }
  .section--lg { padding-block: 44px; }

  .h-display { font-size: 34px; line-height: 1.08; }
  h1.h-display { font-size: 36px; }
  .h-section, .h2 { font-size: 26px; }
  .lead { font-size: 15.5px; }
  .body-text { font-size: 14.5px; }

  .hero { padding-block: 40px 36px; gap: 30px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .grid, .grid--two, .grid--three, .grid--four, .grid--cards, .grid--fit { grid-template-columns: minmax(0, 1fr) !important; }

  .card--pad-lg { padding: 22px; }
  .card__body { padding: 18px; }
  .cta { padding: 36px 20px; }
  .cta .btn { width: 100%; text-align: center; }

  .row--between { flex-wrap: wrap; gap: 8px; }
  .catbar__inner { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .catbar__inner::-webkit-scrollbar { display: none; }
  .pill { white-space: nowrap; }

  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 16px; }
  .site-footer__links { flex-wrap: wrap; gap: 14px 20px; }

  .discord-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .discord-fab svg { width: 26px; }

  form .grid, .field--wide { grid-column: auto !important; }
  .admin-input, input, textarea, select { font-size: 16px; }
  .btn { min-height: 46px; }
}

@media (max-width: 400px) {
  .h-display, h1.h-display { font-size: 30px; }
  .brand__name { font-size: 12px; }
}
