/* =========================================================================
   member.show — Marketing-Agentur-Verzeichnis Mallorca
   Identity: "Das Farbregister" (The Color Register) — agencies as brand
   swatches. The creative shop's world is colour, brand systems & spec sheets,
   so every entry is a swatch in a curated house palette with a register code.
   Cool studio-ink ground · fog-white field · jewel-tone swatches.
   Display: Syne · Body: Manrope · Codes: JetBrains Mono
   ========================================================================= */

/* ---- tokens ---- */
:root {
  --ink:      #16151c;   /* studio ink — hero / footer / text */
  --ink-2:    #2a2832;
  --ink-3:    #3b3946;
  --field:    #f3f3f6;   /* cool fog — page field (NOT cream) */
  --field-2:  #eae9ef;
  --paper:    #ffffff;   /* card surface */
  --muted:    #67646f;   /* body / meta */
  --muted-2:  #9a97a4;   /* faint */
  --accent:   #2e43c9;   /* cobalt — the single brand through-line */
  --accent-2: #5365e0;

  --line:     rgba(22,21,28,.13);
  --line-2:   rgba(22,21,28,.07);
  --line-w:   rgba(243,243,246,.16);   /* hairline on ink */

  --swatch:   #2e43c9;   /* per-card, overridden inline */

  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -.02em; }
svg { display: block; }

.spark-glyph { display: inline-flex; }
.spark-glyph svg { width: 1em; height: 1em; }

/* ====================================================================== header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,21,28,.9);
  backdrop-filter: saturate(140%) blur(9px);
  border-bottom: 1px solid var(--line-w);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--field); }
.brand .spark-glyph { color: var(--accent-2); }
.brand .spark-glyph svg { width: 19px; height: 19px; }
.brand-mark { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand-dot { color: var(--accent-2); }
.brand-sub {
  font-family: var(--mono); font-size: .6rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .26em; color: var(--accent-2);
  padding-left: 11px; border-left: 1px solid var(--line-w); align-self: center;
}
.header-nav { display: flex; gap: 30px; }
.header-nav a {
  font-size: .8rem; font-weight: 700; letter-spacing: .01em; color: rgba(243,243,246,.74);
  padding: 6px 0; position: relative; transition: color .2s var(--ease);
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent-2); transition: width .25s var(--ease);
}
.header-nav a:hover { color: var(--field); }
.header-nav a:hover::after { width: 100%; }

/* ====================================================================== hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 12% -8%, rgba(46,67,201,.26), transparent 52%),
    radial-gradient(70% 120% at 96% 6%, rgba(14,124,107,.18), transparent 55%),
    linear-gradient(168deg, #1d1b26 0%, var(--ink) 52%, #0f0e14 100%);
  color: var(--field);
  border-bottom: 1px solid rgba(83,101,224,.4);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(rgba(243,243,246,.05) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(243,243,246,.05) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: radial-gradient(120% 100% at 30% 0%, #000 0%, transparent 78%);
}
/* signature: fanned brand-swatch stack */
.hero-fan {
  position: absolute; top: 50%; right: clamp(24px, 7vw, 120px); z-index: 1;
  transform: translateY(-50%); width: 220px; height: 280px;
}
.hero-fan .chip {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 196px;
  margin: -98px 0 0 -75px; border-radius: 14px; background: var(--c);
  box-shadow: 0 16px 26px -16px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.16);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
  transform-origin: bottom center; opacity: 0;
  animation: fan 1s var(--ease) both;
}
.hero-fan .chip b {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; letter-spacing: -.01em;
}
.hero-fan .chip i {
  font-family: var(--mono); font-style: normal; font-size: .62rem; letter-spacing: .14em;
  color: rgba(255,255,255,.82); margin-top: 3px;
}
.hero-fan .chip:nth-child(1) { --r: -26deg; --x: -96px; animation-delay: .05s; z-index: 1; }
.hero-fan .chip:nth-child(2) { --r: -13deg; --x: -48px; animation-delay: .12s; z-index: 2; }
.hero-fan .chip:nth-child(3) { --r:   0deg; --x:   0px; animation-delay: .19s; z-index: 3; }
.hero-fan .chip:nth-child(4) { --r:  13deg; --x:  48px; animation-delay: .26s; z-index: 2; }
.hero-fan .chip:nth-child(5) { --r:  26deg; --x:  96px; animation-delay: .33s; z-index: 1; }
@keyframes fan {
  from { opacity: 0; transform: translateX(0) rotate(0) translateY(20px); }
  to   { opacity: 1; transform: translateX(var(--x)) rotate(var(--r)); }
}

.hero-inner { position: relative; z-index: 2; padding: 110px 24px 86px; max-width: 760px; }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .26em; color: var(--accent-2); margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.7rem); line-height: 1.03; letter-spacing: -.03em;
  margin: 0 0 26px; color: #f6f6fa;
}
.hero h1 .hl {
  background: linear-gradient(96deg, #6f81ff 0%, #2bb3a0 38%, #e0a93f 70%, #e07a52 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 600px; font-size: 1.08rem; line-height: 1.66; color: rgba(243,243,246,.82); margin: 0 0 42px;
}
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-stats { display: flex; gap: 54px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num {
  font-family: var(--display); font-weight: 800; font-size: 2.7rem; line-height: 1;
  color: #f6f6fa; letter-spacing: -.03em;
}
.stat .lbl {
  font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(243,243,246,.56); font-weight: 500;
}

/* ====================================================================== filter */
.filterbar {
  position: sticky; top: 63px; z-index: 40;
  background: rgba(243,243,246,.92);
  backdrop-filter: saturate(140%) blur(9px);
  border-bottom: 1px solid var(--line);
}
.filterbar-inner { display: flex; gap: 14px; align-items: flex-end; padding: 16px 24px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1 1 150px; min-width: 0; }
.field-search { flex: 2 1 240px; }
.field label {
  font-family: var(--mono); font-size: .58rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); padding-left: 2px;
}
.field input, .field select {
  font-family: var(--sans); font-weight: 500; font-size: .92rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 13px; width: 100%; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232e43c9' stroke-width='2.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,67,201,.16);
}
.field input::placeholder { color: var(--muted-2); }
.btn-reset {
  font-family: var(--mono); font-size: .64rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
  color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 11px;
  padding: 13px 18px; cursor: pointer; transition: background .18s var(--ease), transform .12s var(--ease);
  white-space: nowrap; align-self: flex-end;
}
.btn-reset:hover { background: var(--accent); border-color: var(--accent); }
.btn-reset:active { transform: translateY(1px); }

/* ====================================================================== blocks */
main { padding-bottom: 24px; }
.block { padding: 66px 0 8px; }
.block-head { max-width: 760px; margin: 0 0 36px; }
.index {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .68rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .18em; color: var(--accent); margin-bottom: 14px;
}
.index .spark-glyph svg { width: 14px; height: 14px; color: var(--accent); }
.block-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.06; color: var(--ink); }
.block-head p { margin: 13px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 640px; }

/* ====================================================================== grids */
.grid { display: grid; gap: 22px; }
.grid-premium { grid-template-columns: repeat(3, 1fr); }
.grid-featured { grid-template-columns: repeat(4, 1fr); }

/* ====================================================================== swatch card */
.tag {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.tag:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -28px rgba(22,21,28,.42); border-color: rgba(22,21,28,.2); }
/* top spectrum strip = the swatch's colour band */
.tag-strip { height: 6px; background: var(--swatch); }
.tag--premium .tag-strip { height: 9px; }

.tag-head {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px 11px;
}
.tag-no {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; color: var(--ink-3);
}
.swatch-chip {
  width: 14px; height: 14px; border-radius: 4px; background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.swatch-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0;
}
.badge {
  margin-left: auto; font-family: var(--mono); font-size: .56rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: #fff;
  background: var(--ink); border-radius: 999px; padding: 4px 11px;
}

.tag-media {
  position: relative; height: 140px; margin: 0 16px; border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--swatch) 22%, #1b1a22), #1b1a22);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tag-media .mono {
  font-family: var(--display); font-weight: 800; font-size: 3rem; color: rgba(255,255,255,.26);
  position: absolute; z-index: 0;
}
.tag-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  filter: saturate(1.02) contrast(1.02);
}
.tag-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(16,15,20,.34) 100%);
}

.tag-body { display: flex; flex-direction: column; padding: 16px 16px 18px; flex: 1; }
.tag-seg {
  font-family: var(--mono); font-size: .62rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; color: var(--swatch); margin-bottom: 9px;
}
.tag-name { font-size: 1.34rem; line-height: 1.14; color: var(--ink); }
.tag--premium .tag-name { font-size: 1.6rem; }
.tag-meta { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; }
.m-row { display: flex; align-items: flex-start; gap: 9px; font-size: .86rem; color: var(--muted); }
.m-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--muted-2); }
.tag-actions { margin-top: auto; padding-top: 17px; display: flex; flex-wrap: wrap; gap: 8px; }
.act {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 700; letter-spacing: .01em; padding: 9px 13px;
  border-radius: 9px; border: 1px solid var(--line); transition: all .18s var(--ease);
}
.act svg { width: 14px; height: 14px; }
.act--primary { background: var(--swatch); color: #fff; border-color: transparent; }
.act--primary:hover { filter: brightness(1.08); }
.act--ghost { color: var(--muted); background: transparent; }
.act--ghost:hover { border-color: var(--ink); color: var(--ink); }

.tag--premium { border-color: rgba(22,21,28,.2); }
.tag--premium .tag-media { height: 168px; }

/* claim button (corner) */
.claim { position: absolute; z-index: 5; color: var(--muted-2); transition: color .18s var(--ease); }
.claim svg { width: 17px; height: 17px; }
.claim--corner { top: 14px; right: 14px; }
.claim--corner:hover { color: var(--ink); }
.claim-tip {
  position: absolute; right: 0; top: calc(100% + 8px); display: flex; align-items: center; gap: 7px;
  background: var(--ink); color: var(--field); font-family: var(--sans); font-size: .72rem; font-weight: 700;
  white-space: nowrap; padding: 7px 11px; border-radius: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-3px); transition: all .18s var(--ease); pointer-events: none; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5);
}
.claim-tip svg { width: 14px; height: 14px; color: #4ad07f; }
.claim:hover .claim-tip { opacity: 1; visibility: visible; transform: translateY(0); }

/* ====================================================================== claim banner */
.claim-banner { margin: 60px 0 8px; }
.claim-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(46,67,201,.34), transparent 60%),
    linear-gradient(150deg, var(--ink-2), var(--ink));
  border: 1px solid rgba(83,101,224,.34); border-radius: 20px; padding: 40px 42px; color: var(--field);
  position: relative; overflow: hidden;
}
.claim-banner-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #6f81ff, #2bb3a0, #e0a93f, #e07a52);
  height: 5px; top: auto; bottom: 0;
}
.claim-eyebrow {
  font-family: var(--mono); font-size: .64rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .2em; color: var(--accent-2); margin: 0 0 10px;
}
.claim-banner-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: #f6f6fa; letter-spacing: -.02em; }
.claim-sub { margin: 11px 0 0; color: rgba(243,243,246,.8); max-width: 520px; font-size: .98rem; }
.claim-sub strong { color: #fff; }
.claim-cta {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-weight: 700; font-size: .92rem; color: #fff;
  background: var(--accent); border: 1px solid var(--accent-2);
  border-radius: 12px; padding: 15px 26px; transition: filter .18s var(--ease), transform .12s var(--ease);
}
.claim-cta svg { width: 19px; height: 19px; }
.claim-cta:hover { filter: brightness(1.1); }
.claim-cta:active { transform: translateY(1px); }

/* ====================================================================== register list */
.list {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper);
}
.hook {
  position: relative; display: grid;
  grid-template-columns: 54px 1fr 200px auto; align-items: center; gap: 18px;
  padding: 14px 54px 14px 26px; border-bottom: 1px solid var(--line-2);
  transition: background .16s var(--ease);
}
.hook:last-child { border-bottom: none; }
.hook:hover { background: color-mix(in srgb, var(--swatch) 5%, transparent); }
.hook-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--swatch); opacity: .85; }
.hook-no {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .04em; color: var(--muted);
}
.hook-thumb {
  width: 46px; height: 46px; border-radius: 11px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, color-mix(in srgb, var(--swatch) 26%, #1b1a22), #1b1a22);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hook-thumb .mono { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: rgba(255,255,255,.42); position: absolute; }
.hook-thumb .tag-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hook-main { min-width: 0; }
.hook-name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.2; letter-spacing: -.015em; }
.hook-seg { font-size: .76rem; color: var(--muted-2); margin-top: 2px; font-weight: 600; letter-spacing: .01em; }
.hook-loc { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hook-links { display: flex; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: all .16s var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.claim--row { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.claim--row .claim-tip { top: 50%; right: calc(100% + 8px); transform: translateY(-50%) translateX(3px); }
.claim--row:hover .claim-tip { transform: translateY(-50%) translateX(0); }
.claim--row:hover { color: var(--ink); }

/* ====================================================================== results / empty */
.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; border: 1px dashed var(--line); border-radius: 16px;
}

/* ====================================================================== footer */
.site-footer {
  margin-top: 64px; background: var(--ink); color: rgba(243,243,246,.7);
  border-top: 1px solid rgba(83,101,224,.3); padding: 54px 0 42px;
}
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line-w); }
.foot-brand { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; color: var(--field); }
.foot-brand .spark-glyph { color: var(--accent-2); }
.foot-brand .spark-glyph svg { width: 17px; height: 17px; }
.brand-mark.small { font-size: 1.14rem; }
.foot-tag { margin: 0; font-size: .82rem; color: rgba(243,243,246,.58); }
.foot-cats { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; max-width: 580px; }
.foot-cats span {
  font-family: var(--mono); font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-2); border: 1px solid var(--line-w); border-radius: 999px; padding: 5px 12px;
}
.foot-note { margin: 26px 0 0; font-size: .76rem; line-height: 1.7; color: rgba(243,243,246,.5); max-width: 760px; }
.foot-note code { font-family: var(--mono); color: var(--accent-2); font-size: .9em; }

/* ====================================================================== floating WhatsApp */
.ms-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .2s var(--ease);
}
.ms-wa svg { width: 30px; height: 30px; }
.ms-wa:hover { transform: scale(1.08); }

/* ====================================================================== reveal */
.r { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.r.in { opacity: 1; transform: none; }

/* ====================================================================== responsive */
@media (max-width: 1280px) {
  .hero-fan { display: none; }
  .hero-inner { max-width: none; }
}
@media (max-width: 1040px) {
  .grid-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-premium { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 84px 24px 62px; }
  .hook { grid-template-columns: 44px 1fr auto; padding-right: 48px; }
  .hook-loc { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-nav { display: none; }
  .brand-sub { display: none; }
  .grid-premium, .grid-featured { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .stat .num { font-size: 2.2rem; }
  .block { padding: 48px 0 6px; }
  .claim-banner-inner { padding: 32px 26px; }
  .hook { grid-template-columns: 1fr auto; gap: 12px; padding: 13px 46px 13px 18px; }
  .hook-thumb { display: none; }
}
@media (max-width: 420px) {
  .hook-links { display: none; }
}

/* ====================================================================== a11y */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-fan .chip { opacity: 1; transform: translateX(var(--x)) rotate(var(--r)); }
}
