/* Link-in-Bio – Design-System der 4creatives-Website (styles.css), auf eine Spalte reduziert */
:root {
  color-scheme: dark;
  --bg: #0A0A0B;
  --surface: #121214;
  --surface-2: #19191C;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --text: #F5F5F7;
  --text-muted: #A1A1AA;
  --text-dim: #8A8A93;
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --primary-text: #B794FF;
  --result: #3DDC97;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; -webkit-tap-highlight-color: rgba(124,58,237,.18); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; border-radius: 8px; }
img { display: block; max-width: 100%; height: auto; }

/* Hintergrund wie auf der Website: Punkt-Raster (mesh.js), Film-Korn, Lila-Schein oben */
.meshbg { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.meshbg canvas { width: 100%; height: 100%; display: block; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; left: 50%; top: -72px; width: min(900px, 100vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 0%, rgba(124,58,237,.18), rgba(124,58,237,.05) 50%, transparent 75%);
  z-index: -1; pointer-events: none;
}

main { width: 100%; max-width: 560px; margin: 0 auto; padding: 32px 16px 40px; }

/* Logo */
.brand { display: flex; justify-content: center; }
.brand img { height: 22px; width: auto; }

/* Karten wie auf der Website */
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 18px; }

/* Kopf */
.profile { margin-top: 40px; text-align: center; }
.avatar { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.name { margin: 16px 0 0; font-size: 14px; font-weight: 500; color: var(--text-dim); }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.profile h1 { margin: 10px auto 0; font-size: clamp(23px, 6.8vw, 32px); line-height: 1.25; letter-spacing: -.02em; }
.profile h1 .line { display: block; white-space: nowrap; }
em { font-style: italic; font-weight: 500; }
.accent { color: var(--primary-text); }
.swoosh { position: relative; white-space: nowrap; display: inline-block; }
.swoosh svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round; }

/* Socials */
.socials { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.socials a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px;
  font-size: 15px; font-weight: 500; transition: border-color .15s;
}
.socials a:hover { border-color: var(--border-strong); }
.socials svg { width: 22px; height: 22px; flex: none; }

/* Video */
.video { display: block; margin-top: 24px; padding: 8px 8px 16px; }
.video .frame { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface); }
.video .frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.video:hover .frame img { transform: scale(1.02); }
.video .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; background: var(--primary); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 32px -6px rgba(124,58,237,.8);
}
.video .play svg { width: 20px; height: 20px; margin-left: 3px; }
.video .title { display: block; margin: 14px 8px 0; font: 500 17px/1.3 var(--font-display); letter-spacing: -.015em; }
.video .meta { display: block; margin: 2px 8px 0; font-size: 14px; color: var(--text-dim); }

/* Link-Liste */
.list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.list a { display: flex; align-items: stretch; padding-left: 16px; border-radius: 16px; transition: border-color .15s; }
.list a:hover { border-color: var(--border-strong); }
.icon { flex: none; width: 40px; height: 40px; margin: 14px 14px 14px 0; border-radius: 10px; display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; }
.row { flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 0; min-width: 0; }
.row span { flex: 1; min-width: 0; }
.row b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.row small { display: block; font-size: 14px; line-height: 1.4; color: var(--text-dim); }
.chev { flex: none; width: 8px; height: 14px; color: var(--text-dim); transition: transform .15s, color .15s; }
.list a:hover .chev { transform: translateX(2px); color: var(--primary-text); }

/* Link-Karten wie bei Vince: gleich aufgebaut, Titel, ein Satz, Button rechts */
.links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.links a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; padding: 18px 18px 18px 20px; border-radius: 16px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124,58,237,.07), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: transparent; transition: transform .2s;
}
/* feiner Verlaufsrand: oben leicht lila, unten neutral */
.links a::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(183,148,255,.28), rgba(255,255,255,.06) 55%, rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.links .txt { display: contents; }
.links b { grid-column: 1; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.links b i { font-style: normal; font-weight: 400; color: var(--text-dim); margin: 0 2px; }
.links small { grid-column: 1; display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.links .go {
  grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(124,58,237,.08); box-shadow: inset 0 0 0 1px rgba(183,148,255,.18); color: var(--primary-text);
  transition: background .2s, color .2s;
}
.links .go svg { width: 12px; height: 12px; transition: transform .2s; }
.links a:hover .go { background: var(--primary); color: #fff; }
.links a:hover .go svg { transform: translate(1px, -1px); }

/* Zitatkarten wie auf der Website (hq) */
.voices { margin-top: 56px; display: grid; gap: 16px; }
.hq {
  margin: 0; position: relative; isolation: isolate; display: grid; gap: 22px; justify-items: center; text-align: center;
  padding: 36px 24px 32px; border-radius: 20px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(124,58,237,.12), rgba(124,58,237,0) 70%), linear-gradient(180deg, var(--surface-2), rgba(18,18,20,.55));
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.9);
}
.hq::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(183,148,255,.5), rgba(183,148,255,.12) 40%, rgba(255,255,255,.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hq blockquote { margin: 0; }
.hq p { margin: 0; font: 500 clamp(21px, 5.6vw, 26px)/1.25 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.hq figcaption { display: flex; align-items: center; gap: 12px; text-align: left; }
.face { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--border-strong); }
.face img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hq figcaption > span { display: grid; gap: 1px; font-size: 14px; color: var(--text-muted); }
.hq figcaption b { font-size: 15px; font-weight: 600; color: var(--text); }

footer { margin-top: 64px; display: grid; justify-items: center; gap: 6px; text-align: center; }
footer p { margin: 0; font-size: 13px; color: var(--text-dim); }
footer img { height: 18px; width: auto; opacity: .7; }
footer nav { display: flex; gap: 18px; font-size: 13px; color: var(--text-dim); }
footer a:hover { color: var(--text); }

/* Cookie-Banner: mittig, Seite dahinter abgedunkelt und gesperrt bis zur Entscheidung */
.consent-open, .consent-open body { overflow: hidden; }
.consent-backdrop {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.consent {
  width: min(320px, 100%); padding: 20px; border-radius: 16px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
}
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent button {
  height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent;
  color: var(--text); font: 600 14px var(--font-body); cursor: pointer;
}
.consent button[data-v="yes"] { background: var(--text); color: var(--bg); border-color: var(--text); }
[hidden] { display: none !important; }

/* Results-Page */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-muted); transition: color .15s; }
.back:hover { color: var(--text); }
.back svg { width: 9px; height: 15px; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.topbar .brand img { height: 18px; }
.page-head { margin-top: 56px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.08; }
.page-head .lead { margin: 14px auto 0; max-width: 34ch; font-size: 17px; line-height: 1.55; color: var(--text-muted); text-wrap: balance; }
.stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.stats li { padding: 18px 8px; text-align: center; }
.stats li + li { border-left: 1px solid var(--border); }
.stats b { display: block; font: 500 22px/1.2 var(--font-display); letter-spacing: -.025em; white-space: nowrap; }
.stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--text-dim); }
.cases { margin-top: 48px; display: grid; gap: 16px; }
.case { padding: 24px; }
.case .who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--text-dim); }
.case .growth { font-size: 17px; font-weight: 600; color: var(--result); }
.case h2 { margin-top: 8px; font-size: 24px; line-height: 1.18; }
.case dl { margin: 20px 0 0; display: grid; gap: 14px; }
.case dt { font-size: 14px; font-weight: 600; }
.case dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.case figure, .shot { margin: 20px 0 0; }
.case figure img, .shot img { border-radius: 10px; }
figcaption.cap { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-dim); }
.note { margin: 4px 0 0; text-align: center; font-size: 13px; color: var(--text-dim); }
h2.section { margin: 80px 0 0; text-align: center; font-size: clamp(26px, 7vw, 34px); line-height: 1.15; }
.shots { margin-top: 24px; display: grid; gap: 16px; }
.shots .shot { margin: 0; padding: 10px 10px 14px; }
.shots figcaption.cap { margin: 10px 6px 0; }

@media (max-width: 380px) {
  .socials a { font-size: 14px; gap: 6px; }
  .socials svg { width: 20px; height: 20px; }
  .stats b { font-size: 18px; }
  .case { padding: 20px; }
  .case h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
