/* ===========================================================
   QUANTASIALAND · Gratis-Ticket Aktion
   Brand system + 3 vibes (editorial / bold / warm)
   =========================================================== */

:root {
  /* core ink + paper */
  --ink:    #16140F;
  --ink-2:  #2A2722;
  --paper:  #F4F2F0;
  --surface:#FBFAF9;
  --taupe:  #D1C9C8;
  --cool:   #CFD6D5;
  --line:   #E2DCD8;
  --muted:  #79726B;

  /* tweakable accent */
  --accent:    #B7FCCE;
  --accent-ink:#14130F;   /* text that sits ON accent */
  --accent-deep:#1E6B47;  /* accent used as text on light */

  /* vibe-driven (defaults = editorial) */
  --bg:            var(--paper);
  --section-alt:   #ECE8E4;
  --dark-bg:       var(--ink);
  --card-bg:       var(--surface);
  --card-line:     var(--line);
  --card-radius:   18px;
  --pill-radius:   999px;
  --btn-radius:    999px;
  --shadow:        0 1px 2px rgba(22,20,15,.04), 0 12px 30px -16px rgba(22,20,15,.18);
  --shadow-soft:   0 1px 2px rgba(22,20,15,.03), 0 18px 40px -24px rgba(22,20,15,.16);

  --display-family: "Schibsted Grotesk", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-transform: none;
  --display-leading: 1.02;

  --serif: "Newsreader", Georgia, serif;
  --body:  "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- BOLD / PROVOCATIVE ---------- */
[data-vibe="bold"] {
  --bg:            #14130F;
  --section-alt:   #1C1A15;
  --dark-bg:       #0C0B08;
  --card-bg:       #1E1C17;
  --card-line:     rgba(255,255,255,.10);
  --line:          rgba(255,255,255,.12);
  --muted:         #A9A299;
  --ink:           #F6F3EE;
  --ink-2:         #C9C3BA;
  --card-radius:   10px;
  --btn-radius:    6px;
  --pill-radius:   4px;
  --display-transform: uppercase;
  --display-weight: 800;
  --display-tracking: -0.025em;
  --display-leading: 0.94;
  --accent-deep:   var(--accent);
  --shadow:        0 0 0 1px rgba(255,255,255,.05), 0 24px 50px -28px rgba(0,0,0,.7);
  --shadow-soft:   0 0 0 1px rgba(255,255,255,.05), 0 24px 50px -30px rgba(0,0,0,.6);
}

/* ---------- WARM / ENERGETIC ---------- */
[data-vibe="warm"] {
  --bg:            #EDE6DF;
  --section-alt:   #E3D9CF;
  --dark-bg:       #2C2620;
  --card-bg:       #FBF7F2;
  --card-line:     #E7DDD2;
  --line:          #DDD2C6;
  --muted:         #7C7065;
  --ink:           #2B2117;
  --ink-2:         #4A3D30;
  --card-radius:   26px;
  --btn-radius:    999px;
  --pill-radius:   999px;
  --display-weight: 800;
  --display-tracking: -0.015em;
  --display-leading: 1.0;
  --shadow:        0 2px 4px rgba(80,55,30,.05), 0 22px 44px -22px rgba(80,55,30,.22);
  --shadow-soft:   0 2px 4px rgba(80,55,30,.04), 0 26px 50px -28px rgba(80,55,30,.20);
}

/* =========================== BASE =========================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: .003em;
  transition: background .4s ease, color .4s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 {
  font-family: var(--display-family);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  text-transform: var(--display-transform);
  margin: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.eyebrow {
  font-family: var(--display-family);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }
.mark {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  padding: 0 .06em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
[data-vibe="bold"] .mark { background: var(--accent); color: var(--accent-ink); padding: 0 .12em; }

/* =========================== BUTTONS =========================== */
.btn {
  font-family: var(--display-family);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .005em;
  border: none; cursor: pointer;
  border-radius: var(--btn-radius);
  padding: 17px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn-primary .arr { transition: transform .2s ease; }
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
[data-vibe="bold"] .btn-ghost { border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
[data-vibe="bold"] .btn-primary { text-transform: uppercase; letter-spacing: .02em; }

/* =========================== HEADER =========================== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .4s ease, border-color .4s ease;
}
.topbar .row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo-wm { height: 22px; width: auto; }
[data-vibe="bold"] .logo-wm, [data-vibe="editorial"] .logo-wm { filter: none; }
/* logo is black; invert on dark backgrounds */
[data-vibe="bold"] .logo-wm { filter: invert(1) brightness(1.6); }
.topbar .pill { display: none; }
@media (min-width: 720px){ .topbar .pill { display: inline-flex; } }
.pill {
  align-items: center; gap: 8px;
  font-family: var(--display-family); font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: 7px 14px; border-radius: var(--pill-radius);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.topbar .cta-mini { font-family: var(--display-family); font-weight:700; font-size:14px; text-decoration:none; padding:9px 18px; border-radius: var(--btn-radius); background: var(--ink); color: var(--bg); }

/* =========================== HERO =========================== */
.hero { position: relative; padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 940px){ .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { font-size: clamp(40px, 8vw, 78px); }
.hero h1 .line2 { display: block; }
.hero .lede { font-size: clamp(17px, 2.3vw, 21px); color: var(--ink-2); max-width: 30ch; margin: 22px 0 0; line-height: 1.5; }
.hero .lede.serif-it { color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassure { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure svg { width: 16px; height: 16px; color: var(--accent-deep); }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--card-radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--card-line);
  background: var(--card-bg);
}
.hero-media img { width: 100%; height: auto; display: block; }
.value-badge {
  position: absolute; left: -10px; bottom: -18px;
  background: var(--card-bg); color: var(--ink);
  border: 1px solid var(--card-line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
}
.value-badge .old { color: var(--muted); text-decoration: line-through; font-size: 22px; font-weight: 700; }
.value-badge .new { font-family: var(--display-family); font-weight: 800; font-size: 26px; white-space: nowrap; }
.value-badge .new b { color: var(--accent-deep); }
.value-badge small { display:block; color: var(--muted); font-size: 11.5px; letter-spacing:.04em; text-transform: uppercase; }

/* =========================== COUNTER =========================== */
.counter {
  margin-top: clamp(36px, 5vw, 52px);
  background: var(--dark-bg); color: #F6F3EE;
  border-radius: calc(var(--card-radius) + 4px);
  padding: clamp(22px, 3.5vw, 34px);
  display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center;
  box-shadow: var(--shadow);
}
@media (min-width: 760px){ .counter { grid-template-columns: 1.2fr 1fr; gap: 30px; } }
.counter .num { font-family: var(--display-family); font-weight: 800; line-height: 1; }
.counter .num b { font-size: clamp(46px, 9vw, 72px); color: var(--accent); display: inline-block; }
.counter .num span { font-size: clamp(46px, 9vw, 72px); color: rgba(246,243,238,.5); }
.counter .label { color: rgba(246,243,238,.78); margin-top: 6px; font-size: 15px; }
.counter .bar { height: 12px; border-radius: 999px; background: rgba(246,243,238,.14); overflow: hidden; }
.counter .bar > i { display:block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.counter .meta { display:flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: rgba(246,243,238,.6); margin-top: 12px; letter-spacing: .02em; }
.counter .pulse { white-space:nowrap; display:inline-flex; align-items:center; gap:7px; color: var(--accent); font-weight:700; font-family:var(--display-family); font-size: 13px; letter-spacing:.04em; text-transform:uppercase; }
.counter .pulse .dot { width: 8px; height: 8px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent);} 70%{ box-shadow: 0 0 0 10px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }

/* =========================== EMPATHY BRIDGE =========================== */
.bridge { background: var(--section-alt); transition: background .4s ease; }
.bridge .inner { max-width: 760px; margin: 0 auto; text-align: center; }
.bridge .quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 4vw, 38px); line-height: 1.28; color: var(--ink); letter-spacing: -0.01em; }
.bridge p { color: var(--ink-2); font-size: 17px; margin-top: 22px; }
.bridge .sign { margin-top: 18px; font-family: var(--display-family); font-weight: 700; font-size: 14px; letter-spacing: .03em; }
.bridge .sign span { color: var(--muted); font-weight: 500; }

/* =========================== SECTION HEAD =========================== */
.shead { max-width: 640px; margin-bottom: clamp(34px, 5vw, 56px); }
.shead h2 { font-size: clamp(30px, 5vw, 50px); margin-top: 16px; }
.shead p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead.center .eyebrow { justify-content: center; }

/* =========================== EXPERIENCE CARDS =========================== */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px){ .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px){ .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card-bg); border: 1px solid var(--card-line);
  border-radius: var(--card-radius); padding: 28px 26px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent); color: var(--accent-ink);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; min-height: 2.5em; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-top: 9px; }
[data-vibe="bold"] .card .ic { border-radius: 4px; }

/* =========================== ABOUT LUDGER =========================== */
.about { background: var(--dark-bg); color: #F6F3EE; transition: background .4s ease; }
.about .grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px){ .about .grid { grid-template-columns: .85fr 1.15fr; } }
.about .photo { border-radius: var(--card-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); }
.about .eyebrow { color: var(--accent); }
.about h2 { font-size: clamp(30px, 5vw, 52px); color: #F8F5F0; }
.about .role { color: var(--accent); font-family: var(--display-family); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-top: 14px; }
.about p { color: rgba(246,243,238,.82); font-size: 17px; margin-top: 18px; max-width: 52ch; }
.about .creds { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.about .creds li { display: block; position: relative; padding-left: 32px; color: rgba(246,243,238,.9); font-size: 16px; line-height: 1.5; }
.about .creds svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--accent); }
.about .qquote { font-family: var(--serif); font-style: italic; font-size: clamp(20px,3vw,26px); color: #fff; margin-top: 30px; padding-left: 20px; border-left: 3px solid var(--accent); line-height: 1.35; }

/* =========================== TESTIMONIALS =========================== */
.tcards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px){ .tcards { grid-template-columns: repeat(3, 1fr); } }
.tcard { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--card-radius); padding: 28px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.tcard .stars { display: flex; gap: 3px; color: var(--accent-deep); margin-bottom: 14px; }
.tcard .stars svg { width: 17px; height: 17px; }
.tcard blockquote { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.5; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display-family); font-weight: 800; font-size: 16px; color: var(--accent-ink); background: var(--accent); flex: none; }
.tcard .who b { display: block; font-size: 15px; }
.tcard .who small { color: var(--muted); font-size: 13px; }

/* "Auf der Bühne mit" + Bekannt aus */
.stage-row { margin-top: 48px; text-align: center; }
.stage-row .cap, .logos .cap { font-family: var(--display-family); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.names { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; margin-top: 18px; }
.names span { font-family: var(--display-family); font-weight: 700; font-size: clamp(16px, 2.4vw, 22px); color: var(--ink-2); opacity: .85; }
.names span + span::before { content: "·"; margin-right: 14px; color: var(--accent-deep); }

.logos { margin-top: 14px; }
.logos .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; align-items: center; }
.logos image-slot { width: 150px; height: 64px; opacity: .9; }

/* =========================== SEMINAR DETAILS =========================== */
.details { background: var(--section-alt); transition: background .4s ease; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 880px){ .detail-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 16px; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--card-radius); padding: 20px 22px; box-shadow: var(--shadow-soft); }
.fact .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.fact .ic svg { width: 22px; height: 22px; }
.fact h4 { margin: 0; font-family: var(--display-family); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact .big { font-family: var(--display-family); font-weight: 800; font-size: 21px; margin-top: 5px; letter-spacing: -0.01em; }
.includes { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--card-radius); padding: 30px 30px 34px; box-shadow: var(--shadow-soft); }
.includes h3 { font-size: 24px; }
.includes ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.includes li { display: block; position: relative; padding-left: 34px; font-size: 16.5px; color: var(--ink); line-height: 1.5; }
.includes svg { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; color: var(--accent-deep); }
.includes .price { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--card-line); display: flex; align-items: baseline; gap: 12px; }
.includes .price .old { color: var(--muted); text-decoration: line-through; font-size: 19px; }
.includes .price .new { font-family: var(--display-family); font-weight: 800; font-size: 34px; }
.includes .price .new b { color: var(--accent-deep); }

/* =========================== FAQ =========================== */
.faq { max-width: 800px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--display-family); font-weight: 700; font-size: clamp(17px, 2.3vw, 20px);
  color: var(--ink); padding: 24px 44px 24px 0; position: relative; letter-spacing: -0.01em;
  display: block; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { position: absolute; right: 4px; top: 26px; width: 20px; height: 20px; color: var(--accent-deep); transition: transform .3s ease; }
.qa[open] summary .plus { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.qa .ans p { margin: 0 0 24px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 64ch; }
.qa[open] .ans { max-height: 320px; }

/* =========================== FINAL CTA =========================== */
.final { background: var(--dark-bg); color: #F6F3EE; transition: background .4s ease; text-align: center; }
.final .inner { max-width: 760px; margin: 0 auto; }
.final .eyebrow { color: var(--accent); justify-content: center; }
.final h2 { font-size: clamp(34px, 6vw, 64px); color: #fff; margin-top: 16px; }
.final h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.final p { color: rgba(246,243,238,.8); font-size: 19px; margin: 22px auto 0; max-width: 48ch; }
.final .cta-row { justify-content: center; }
.final .mini { margin-top: 20px; color: rgba(246,243,238,.6); font-size: 14px; }

/* =========================== FOOTER =========================== */
.footer { background: var(--bg); padding: 40px 0; border-top: 1px solid var(--line); }
.footer .row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer .logo-wm { height: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--ink); }
.footer .fine { color: var(--muted); font-size: 12.5px; margin-top: 18px; max-width: 70ch; line-height: 1.5; }

/* =========================== STICKY MOBILE CTA =========================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  transform: translateY(120%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .info { line-height: 1.1; }
.sticky-cta .info b { font-family: var(--display-family); font-weight: 800; font-size: 17px; }
.sticky-cta .info small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.sticky-cta .btn { padding: 14px 22px; font-size: 15px; }
@media (min-width: 860px){ .sticky-cta { display: none; } }
/* On mobile the fixed sticky CTA (~80px) overlaps the bottom of the page, so
   give the footer extra bottom padding to keep the disclaimer fully scrollable. */
@media (max-width: 859px){
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* Smart-sticky header: on mobile, hide the topbar while scrolling down (toggled
   by JS via .bar--hidden) so it never duplicates the bottom sticky CTA; it
   slides back on scroll-up. */
@media (max-width: 859px){
  .topbar { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .4s ease, border-color .4s ease; will-change: transform; }
  .topbar.bar--hidden { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce){
  .topbar { transition: none; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }
