/* ============================================================
   k-AIzen v2 — Politur-Layer
   Rhythmus · Bewegung · Feinschliff. Lädt NACH kz-v2.css.
   ============================================================ */

/* ---------- HERO: lebendiger Gradient-Hintergrund (atmet langsam) ---------- */
.kz-hero {
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(232,90,43,0.06), transparent 55%),
    radial-gradient(100% 90% at 90% 20%, rgba(255,122,69,0.05), transparent 50%),
    var(--paper);
}
.kz-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(232,90,43,0.10), transparent 70%),
    radial-gradient(35% 35% at 70% 65%, rgba(19,128,134,0.07), transparent 70%);
  filter: blur(40px);
  animation: kz-aurora 22s ease-in-out infinite alternate;
}
@keyframes kz-aurora {
  0%   { opacity: 0.72; }
  50%  { opacity: 1; }
  100% { opacity: 0.82; }
}
@media (prefers-reduced-motion: reduce) { .kz-hero::before { animation: none; } }

/* ---------- Sektions-Rhythmus: dezente Trennlinie zwischen hellen Sektionen ---------- */
.kz-section + .kz-section:not([style*="background"])::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0.4;
}

/* ---------- Eyebrow mit Akzent-Linie davor (mehr Premium-Detail) ---------- */
.kz-eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.kz-eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  border-radius: 2px;
}

/* ---------- Karten: feinere Hover-Tiefe + Akzent-Kante die aufleuchtet ---------- */
.kz-feat, .kz-split-card, .kz-step {
  position: relative; overflow: hidden;
}
.kz-feat::after, .kz-step::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--indigo), var(--violet));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.kz-feat:hover::after, .kz-step:hover::after { transform: scaleY(1); }

/* Feat-Karten: Icon-Diamant größer + glow on hover */
.kz-feat span { transition: transform 0.3s var(--ease-out), filter 0.3s; display:inline-block; }
.kz-feat:hover span { transform: scale(1.25) rotate(45deg); filter: drop-shadow(0 0 8px var(--glow)); }

/* ---------- Zahlen-Band (neue Sektion, gibt Rhythmus + Beweis-Gefühl) ---------- */
.kz-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 60px);
  padding-block: clamp(48px, 8vw, 88px);
  border-block: 1px solid var(--line);
}
.kz-stat { text-align: center; }
.kz-stat__num {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kz-stat__label { margin-top: 12px; color: var(--slate); font-size: 0.98rem; }
@media (max-width: 640px){ .kz-stats { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Groß-Zitat-Sektion (Rhythmus-Bruch, ruhiger Moment) ---------- */
.kz-quote {
  text-align: center;
  padding-block: clamp(72px, 12vw, 140px);
  position: relative;
}
.kz-quote__mark {
  font-size: clamp(4rem, 10vw, 8rem); line-height: 1; font-weight: 800;
  color: var(--indigo); opacity: 0.22; display: block; margin-bottom: 36px;
  font-family: Georgia, serif;
}
.kz-quote blockquote {
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.25; max-width: 20ch;
  margin: 0 auto; color: var(--ink);
}
.kz-quote cite { display: block; margin-top: 28px; font-style: normal; color: var(--slate); font-size: 1rem; }

/* ---------- Hero-Headline: Akzent-Wort bekommt sanften Glow ---------- */
.kz-h1 .accent { text-shadow: 0 4px 30px rgba(232,90,43,0.18); }

/* ---------- Scroll-getriebene Progress-Linie oben ---------- */
.kz-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  z-index: 200; transition: width 0.1s linear;
}

/* ---------- Buttons: subtiler Shine-Sweep beim Hover ---------- */
.kz-btn--primary { position: relative; overflow: hidden; }
.kz-btn--primary::before {
  content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-220%) skewX(-20deg); transition: transform 0.6s var(--ease-out);
}
.kz-btn--primary:hover::before { transform: translateX(240%) skewX(-20deg); }

/* ---------- Feinschliff: weichere Sektions-Luft, bessere Lead-Lesbarkeit ---------- */
.kz-lead { line-height: 1.7; }
.kz-h2 { line-height: 1.06; }

/* ---------- Feinschliff: Hero-Grid subtiler ---------- */
.kz-hero__grid { opacity: 0.28; }

/* ---------- Feinschliff: dunkle Sektionen bekommen oben einen weichen Verlauf-Übergang ---------- */
.kz-section[style*="--ink"]::before, .kz-quote[style*="--ink"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(var(--paper), transparent);
  opacity: 0.03; pointer-events: none;
}

/* ---------- Feinschliff: Karten-Innenabstand + Radius einheitlicher, Titel-Tracking ---------- */
.kz-step h4, .kz-feat h4 { letter-spacing: -0.015em; }

/* ---------- Nav-Brand: Hover hebt das AI leicht ---------- */
.kz-nav__brand { transition: opacity 0.2s; }
.kz-nav__brand:hover { opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .kz-btn--primary::before { display: none; }
  .kz-hero::before { animation: none; }
}

/* ============================================================
   EIN TAG MIT LENA — vertikale Timeline
   ============================================================ */
.kz-day { position: relative; }
.kz-day__line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--line), var(--indigo) 12%, var(--indigo) 88%, var(--line));
  opacity: 0.4;
}
.kz-scene {
  position: relative;
  display: grid; grid-template-columns: 1fr 56px 1fr;
  align-items: start;
  margin-block: clamp(56px, 8vw, 110px);
}
.kz-scene__dot {
  grid-column: 2; justify-self: center; align-self: start;
  margin-top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--indigo);
  box-shadow: 0 0 0 6px var(--indigo-wash);
  z-index: 2; position: relative;
}
/* Zeit-Label: eigene volle Reihe ÜBER der Szene, mittig auf der Linie sitzend */
.kz-scene__time {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; color: var(--indigo-deep);
  background: #fff4ef; padding: 6px 18px; border-radius: 999px;
  border: 1px solid rgba(232,90,43,0.16);
  box-shadow: 0 0 0 10px var(--paper);
  margin-bottom: 28px;
}
.kz-scene__timewrap {
  grid-column: 1 / -1; text-align: center; position: relative; z-index: 3;
}
/* media (image) side */
.kz-scene__media {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/10;
  transition: transform 0.4s var(--ease-out);
}
.kz-scene__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kz-scene__media:hover { transform: translateY(-4px) scale(1.01); }
/* text side */
.kz-scene__body { }
.kz-scene__spoken {
  font-style: italic; font-size: 1.05rem; color: var(--ink);
  border-left: 3px solid var(--indigo); padding-left: 16px; margin-bottom: 14px;
  line-height: 1.5;
}
.kz-scene__result { color: var(--slate); line-height: 1.65; font-size: 1.02rem; }
.kz-scene__mechanic {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(232,90,43,0.16);
  border-radius: var(--radius-lg);
  background: rgba(232,90,43,0.045);
  text-align: left;
}
.kz-source-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.kz-source-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo-deep);
}
.kz-source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kz-source-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(232,90,43,0.14);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}
.kz-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.kz-flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(232,90,43,0.10);
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.25;
}
.kz-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--indigo);
  opacity: 0.45;
}
.kz-flow__num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
/* left/right placement */
.kz-scene--left  .kz-scene__media { grid-column: 1; }
.kz-scene--left  .kz-scene__body  { grid-column: 3; text-align: left; }
.kz-scene--right .kz-scene__body  { grid-column: 1; text-align: right; }
.kz-scene--right .kz-scene__media { grid-column: 3; }
.kz-scene--right .kz-scene__spoken { border-left: none; border-right: 3px solid var(--indigo); padding-left: 0; padding-right: 16px; }
/* discord mock card */
.kz-discord {
  margin-top: 16px; background: #2b2d31; color: #dbdee1;
  border-radius: 12px; padding: 14px 16px; font-size: 0.86rem; line-height: 1.5;
  box-shadow: var(--shadow-md); text-align: left;
  border: 1px solid rgba(255,255,255,0.06);
}
.kz-discord__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #949ba4; font-size: 0.78rem; font-family: var(--font-mono); }
.kz-discord__head .ch { color: #f2a365; font-weight: 600; }
.kz-discord__head.alert .ch { color: #f23f43; }
.kz-discord__body { white-space: pre-wrap; }
.kz-discord__body strong { color: #fff; }

@media (max-width: 820px){
  .kz-scene { grid-template-columns: 28px 1fr; gap: 0 16px; margin-block: 44px; }
  .kz-day__line { left: 14px; }
  .kz-scene__timewrap { grid-column: 2; text-align: left; }
  .kz-scene__dot { grid-column: 1; justify-self: center; margin-top: 4px; }
  .kz-scene--left .kz-scene__media, .kz-scene--right .kz-scene__media,
  .kz-scene--left .kz-scene__body, .kz-scene--right .kz-scene__body { grid-column: 2; text-align: left; }
  .kz-scene--right .kz-scene__spoken { border-right:none; border-left:3px solid var(--indigo); padding-right:0; padding-left:16px; }
  .kz-scene__media { margin-bottom: 16px; }
  .kz-flow { grid-template-columns: 1fr; }
  .kz-flow__step:not(:last-child)::after {
    left: 20px;
    right: auto;
    top: auto;
    bottom: -8px;
    width: 1px;
    height: 8px;
  }
}
