/* Kaliba24 — Händlerseite-specific styles (loaded together with style.css) */

@keyframes kRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kFade { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }

[data-rv] { opacity: 0; }
[data-rv].in { animation: kRise 640ms cubic-bezier(.22,.61,.36,1) both; }

/* Ausgangslage */
.aufwand-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px; align-items: start;
}
.aufwand-grid h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; max-width: 20ch; }
.aufwand-grid p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--text-body); max-width: 52ch; text-wrap: pretty; }

/* Dark step switcher ("So arbeiten Sie mit Kaliba24.") */
.switcher-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.switcher-head h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.025em; color: var(--white); }
.switcher-head p { margin: 0; font-size: 14px; color: var(--on-navy-4); }

.switcher-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: start; }
.switcher-list { display: flex; flex-direction: column; }
.switch-step {
  cursor: pointer; padding: 20px 16px 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.16);
  background: transparent; border-radius: 6px;
  transition: background-color 280ms ease, padding-left 280ms ease;
}
.switch-step:hover { background: rgba(255,255,255,0.06); }
.switch-step.active { background: rgba(255,255,255,0.07); padding-left: 18px; }
.switch-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.switch-step .nr { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: #7F93B4; }
.switch-step.active .nr { color: var(--accent-light); }
.switch-step h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: #B9C7DC; }
.switch-step.active h3 { color: var(--white); }
.switch-step p {
  margin: 0 0 12px; font-size: 15px; line-height: 1.6; max-width: 42ch;
  transition: color 300ms ease, opacity 300ms ease; color: #8FA2BE; opacity: 0.55;
}
.switch-step.active p { color: var(--on-navy-2); opacity: 1; }
.switch-track { height: 2px; background: rgba(255,255,255,0.14); border-radius: 1px; overflow: hidden; }
.switch-bar { height: 2px; background: var(--accent); transform-origin: left; will-change: transform; transform: scaleX(0); }

.switcher-controls { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.switcher-controls .count { font-size: 13px; color: var(--on-navy-4); font-variant-numeric: tabular-nums; }
.switcher-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28);
  background: transparent; color: var(--white); font-size: 17px; cursor: pointer;
}
.switcher-arrow:hover { border-color: var(--accent); color: var(--accent-light); }

.switcher-stage { animation: kFade 480ms cubic-bezier(.22,.61,.36,1) both; }
.switcher-media {
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); display: flex;
}
.switcher-media video { width: 100%; height: auto; display: block; }
.switcher-caption { margin: 14px 0 0; font-size: 13px; color: var(--on-navy-4); }

/* Auswahl der Gebote (criteria row) */
.crit-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px; align-items: end; margin-bottom: 56px;
}
.crit-head h2 { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; max-width: 18ch; }
.crit-head > p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text-body); max-width: 52ch; text-wrap: pretty; }

.crit-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0; border-top: 1px solid var(--border-3); border-bottom: 1px solid var(--border-3);
}
.crit-tile {
  padding: 30px 32px; border-radius: 10px; border-left: 1px solid var(--border-6);
  transition: background-color 320ms cubic-bezier(.4,0,.2,1), color 320ms ease, transform 320ms cubic-bezier(.4,0,.2,1);
}
.crit-tile:first-child { border-left: none; }
.crit-tile:hover { background: var(--navy); transform: translateY(-3px); }
.crit-tile svg { transition: stroke 320ms ease; }
.crit-tile:hover svg { stroke: var(--accent-light); }
.crit-tile h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.crit-tile:hover h3 { color: var(--white); }
.crit-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-body); max-width: 30ch; }
.crit-tile:hover p { color: #C7D3E6; }

.crit-callout {
  margin-top: 28px; background: var(--navy); border-radius: 10px; padding: 28px 32px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.crit-callout .bar { width: 40px; height: 3px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.crit-callout p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--white); max-width: 64ch; text-wrap: pretty; }

/* Was Sie davon haben (bento) */
.bento-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.bento-head h2 { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.bento-head .note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 34ch; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-tile {
  grid-column: span 3;
  background: var(--navy); border-radius: 12px; padding: 34px;
  position: relative; overflow: hidden; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background-color 300ms cubic-bezier(.4,0,.2,1), transform 300ms cubic-bezier(.4,0,.2,1), box-shadow 300ms ease;
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,29,59,0.12); }
.bento-tile.small { grid-column: span 2; padding: 28px; min-height: 230px; }
.bento-num {
  position: absolute; top: 18px; right: 26px;
  font-size: 90px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  color: rgba(240,161,132,0.55); transition: color 300ms ease;
}
.bento-tile.small .bento-num { top: 16px; right: 22px; font-size: 66px; }
.bento-body { position: relative; }
.bento-body h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); text-wrap: pretty; }
.bento-tile.small .bento-body h3 { font-size: 18px; }
.bento-body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-navy-3); max-width: 36ch; }
.bento-tile.small .bento-body p { font-size: 14px; }
.bento-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Datenblatt */
.datenblatt-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--navy);
}
.datenblatt-left { background: var(--bg-soft); padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.datenblatt-left h2 { margin: 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; max-width: 16ch; }
.datenblatt-left > p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text-body); max-width: 40ch; text-wrap: pretty; }
.datenblatt-foot { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.badge-checked {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--navy);
  border-radius: 999px; padding: 3px 11px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.badge-checked .dot-i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.datenblatt-foot .sample { font-size: 13px; color: var(--text-faint-2); }

.datenblatt-right { background: var(--navy); padding: 28px 30px; }
.datenblatt-right .head-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.24);
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.datenblatt-right .head-row span:first-child { color: var(--on-navy-4); }
.datenblatt-right .head-row span:last-child { color: var(--accent-light); }
.dsheet-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 12px 10px; margin: 0 -10px; border-bottom: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px; transition: background-color 240ms ease;
}
.dsheet-row:hover { background: rgba(255,255,255,0.06); }
.dsheet-row .feld { font-size: 14px; color: var(--on-navy-4); }
.dsheet-row .wert { font-size: 15px; font-weight: 600; color: var(--white); text-align: right; font-variant-numeric: tabular-nums; }

/* Keine Provision */
.provision-grid {
  position: relative; max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center;
}
.provision-grid h2 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; color: var(--white); text-wrap: pretty; }
.provision-grid p.big { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--on-navy-2); max-width: 52ch; text-wrap: pretty; }
.provision-grid p.small { margin: 0; font-size: 15px; line-height: 1.65; color: var(--on-navy-4); max-width: 52ch; }

.provision-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 32px; }
.provision-line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.provision-line:first-child { padding-top: 0; }
.provision-line:last-child { border-bottom: none; padding-bottom: 0; }
.provision-line .label { font-size: 15px; color: var(--on-navy-3); }
.provision-line .val { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--white); }
.provision-line .val.orange { color: var(--accent-light); }
.provision-line .val.big { font-size: 34px; }

/* Zugang pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { border: 1px solid var(--border); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--navy); box-shadow: 0 14px 34px rgba(10,29,59,0.10); }
.price-card .plan { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint-2); }
.price-card.featured .plan { color: var(--accent-dark); }
.price-card .price { margin: 0 0 4px; font-size: 40px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price-card .desc { margin: 0 0 24px; font-size: 15px; color: var(--text-muted); line-height: 1.55; }
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-list-item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.price-list-item svg { margin-top: 3px; }
.price-list-item span { font-size: 15px; line-height: 1.55; color: var(--text-body); }
.pricing-foot { margin: 24px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* Wen wir freischalten */
.crit2-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.crit2-grid h2 { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; max-width: 16ch; }
.crit2-grid > div:first-child > p { margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: var(--text-body); max-width: 42ch; text-wrap: pretty; }
.crit2-days { background: var(--navy); border-radius: 10px; padding: 24px 26px; display: flex; align-items: baseline; gap: 18px; }
.crit2-days .num { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; line-height: 1; }
.crit2-days .txt { font-size: 15px; line-height: 1.5; color: var(--on-navy-3); }

.crit2-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 12px; border-top: 1px solid var(--border-3); border-radius: 8px;
  position: relative; transition: background-color 300ms cubic-bezier(.4,0,.2,1), padding-left 300ms cubic-bezier(.4,0,.2,1);
}
.crit2-row:last-of-type { border-bottom: 1px solid var(--border-3); }
.crit2-row:hover { background: var(--navy); padding-left: 20px; }
.crit2-row .nr { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); }
.crit2-row .txt { font-size: 17px; line-height: 1.5; color: var(--navy); }
.crit2-row:hover .txt { color: var(--white); }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile, .bento-tile.small { grid-column: span 1; }
}
