/* jkkConsult v2 – "Werkbank"
   Poppig, schnell, MVP-Denke. Keine externen Fonts, kein Tracking.
   Palette: Indigo-Tinte #221F5B · Violett #5B4FE9 · Koralle #FF6B57 · Bernstein #FFB020 · Mint #2BC1A2 · Hintergrund #FAFAFD */

:root {
  --ink: #221f5b;
  --violet: #5b4fe9;
  --coral: #ff6b57;
  --amber: #ffb020;
  --mint: #2bc1a2;
  --bg: #fafafd;
  --card: #ffffff;
  --text: #3d3a5c;
  --line: #e7e6f2;
  --radius: 18px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Kopf ---------- */
.topbar { background: var(--bg); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.wordmark {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--coral); }
.topnav a { text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 600; margin-left: 1.4rem; }
.topnav a:hover { color: var(--coral); }
.topnav a.cta {
  background: var(--ink); color: #fff; padding: 0.5rem 1.1rem; border-radius: 999px;
}
.topnav a.cta:hover { background: var(--violet); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3rem; position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet);
  background: #eeecfd; border-radius: 999px; padding: 0.35rem 0.95rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-weight: 800; color: var(--ink);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch;
}
.hero h1 .marker {
  position: relative; white-space: nowrap;
}
.hero h1 .marker::after {
  content: ""; position: absolute; left: -0.1em; right: -0.1em; bottom: 0.05em;
  height: 0.42em; background: var(--amber); opacity: 0.55; z-index: -1; border-radius: 4px;
  transform: rotate(-1deg);
}
.hero p.lead { max-width: 48ch; margin-top: 1.6rem; font-size: 1.18rem; }
.hero .actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.8rem; border-radius: 999px; transition: transform 0.15s ease, background 0.15s ease;
}
.btn.primary { background: var(--coral); color: #fff; }
.btn.primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn.ghost { color: var(--ink); border: 2px solid var(--ink); }
.btn.ghost:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

/* schwebende Formen */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.16; pointer-events: none; }
.blob.b1 { width: 320px; height: 320px; background: var(--violet); top: -110px; right: -60px; }
.blob.b2 { width: 180px; height: 180px; background: var(--coral); bottom: -60px; right: 22%; }
.blob.b3 { width: 120px; height: 120px; background: var(--mint); top: 30%; right: 8%; }

/* ---------- MVP-Loop-Ticker (Signatur) ---------- */
.loopband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.ticker { display: flex; width: max-content; animation: slide 26s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; align-items: center; padding: 0.95rem 0; }
.ticker li { display: flex; align-items: center; font-weight: 800; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.ticker li::after { content: "→"; margin: 0 1.2rem; color: var(--line); font-weight: 400; }
.ticker .chip { padding: 0.25rem 0.9rem; border-radius: 999px; }
.ticker .c1 { background: #eeecfd; color: var(--violet); }
.ticker .c2 { background: #ffe9e5; color: var(--coral); }
.ticker .c3 { background: #fff3d6; color: #b07a00; }
.ticker .c4 { background: #dff7f1; color: #12836c; }
.ticker .c5 { background: #f1f0fb; color: var(--ink); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
section { padding: 4.2rem 0; }
h2 {
  font-weight: 800; color: var(--ink); letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.7rem;
}
.sub { max-width: 56ch; margin-bottom: 2.4rem; }

/* Leistungen */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34, 31, 91, 0.1); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card.k1 .icon { background: #ffe9e5; }
.card.k2 .icon { background: #eeecfd; }
.card.k3 .icon { background: #dff7f1; }
.card h3 { color: var(--ink); font-size: 1.22rem; font-weight: 800; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.card p { font-size: 0.98rem; }

/* Loop-Schritte */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -0.9rem; left: 1.2rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem; color: #fff;
}
.step:nth-child(1)::before { background: var(--violet); }
.step:nth-child(2)::before { background: var(--coral); }
.step:nth-child(3)::before { background: var(--amber); }
.step:nth-child(4)::before { background: var(--mint); }
.step h3 { color: var(--ink); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; }

/* Garantie */
.garantie {
  background: var(--ink); color: #cfcde8; border-radius: 28px; margin: 0 1.25rem;
}
.garantie .inner { max-width: 70rem; margin: 0 auto; padding: 3.6rem 2rem; }
.garantie .eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--amber); }
.garantie blockquote {
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.25; color: #fff; max-width: 28ch;
}
.garantie blockquote strong { color: var(--coral); }
.garantie p.note { margin-top: 1.3rem; max-width: 56ch; font-size: 0.98rem; }

/* Kontakt */
.kontakt p { max-width: 52ch; }
.kontakt .mail {
  display: inline-block; margin-top: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem); color: var(--ink); text-decoration: none;
  border-bottom: 4px solid var(--coral); padding-bottom: 0.1rem;
}
.kontakt .mail:hover { color: var(--coral); }

/* ---------- Fuß ---------- */
footer { border-top: 1px solid var(--line); padding: 2rem 0 2.6rem; font-size: 0.88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between; }
footer a { color: var(--text); }
footer a:hover { color: var(--coral); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 3.5rem 0 4.5rem; }
.legal h1 { font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 2.2rem 0 0.8rem; }
.legal p { max-width: 68ch; margin-bottom: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .ticker { flex-wrap: wrap; width: auto; }
}

@media (max-width: 560px) {
  .hero { padding: 3.2rem 0 2.4rem; }
  .topnav a { margin-left: 0.9rem; }
  .topnav a.cta { padding: 0.45rem 0.9rem; }
  .garantie { margin: 0 0.6rem; }
}
