/* ═══════════════════════════════════════════════════════════════
   FlipHunter — Pricing: Hover-Karussell (§8.3 Konzept)

   Steuerung:
   - Keine Klicks/Pfeile/Dots, kein Snap — nur Maus an linken/rechten Rand
   - Flüssig, kontinuierlich, proportional zur Nähe am Rand
   - Mitte = Stopp. Aktive Karte wird zentral hervorgehoben.
   ═══════════════════════════════════════════════════════════════ */
.pricing-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Rand-Zonen, die die Maus-Steuerung (JS) ausliest */
}
.pricing-carousel {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-8) var(--space-6);
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: none; /* bewusst KEIN Snap — flüssig */
  cursor: none;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
}
.pricing-carousel::-webkit-scrollbar { display: none; }

/* Edge-Fades für Tiefenwirkung */
.pricing-carousel-wrap::before,
.pricing-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--space-8);
  z-index: 5;
  pointer-events: none;
}
.pricing-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.pricing-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.plan-card {
  position: relative;
  flex: 0 0 340px;
  max-width: 360px;
  min-height: 440px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) ease,
    box-shadow var(--dur-med) ease, opacity var(--dur-med) ease;
  overflow: hidden;
}
/* Aktive (zentrale) Karte wird via JS mit .active markiert */
.plan-card.active {
  border-color: rgba(225, 29, 46, 0.55);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px) scale(1.03);
}
.plan-card:not(.active) { opacity: 0.78; }

.plan-card.highlight {
  border-color: rgba(225, 29, 46, 0.6);
}

/* Tier-Farbverlauf oben */
.tier-halo {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: var(--r-full);
}
.tier-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}
.plan-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-full);
  color: #fff;
  background: var(--gradient-primary);
  white-space: nowrap;
}

.plan-price { position: relative; z-index: 1; margin-bottom: var(--space-2); }
.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price .period { font-size: 0.85rem; color: var(--color-muted); margin-left: 0.2rem; }
.plan-price .free { color: var(--color-success); }
.plan-price-year {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--color-muted);
  opacity: 0.85;
}

.plan-features {
  list-style: none;
  margin: var(--space-4) 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.plan-features li .tick {
  color: var(--color-accent-bright);
  flex: none;
  font-weight: 700;
}

.plan-card .btn { position: relative; z-index: 1; width: 100%; }

@media (max-width: 560px) {
  .plan-card { flex-basis: 82vw; }
}

/* Hinweis-Zeile unter dem Karussell */
.pricing-hint {
  text-align: center;
  color: var(--color-faint);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin-top: var(--space-4);
}
/* ═══════════════════════════════════════════════════════════════
   Eigene /pricing Seite (01.09.2026) — nutzt Landing-Karten
   (landing.css .p-card/.price-row) plus dieses eigene Layout.
   ═══════════════════════════════════════════════════════════════ */
.pricing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.08));
}
.pricing-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
}
.pricing-logo b { color: var(--red, #ff2440); }
.pricing-logo span { color: var(--text, #f2f2ff); font-weight: 700; letter-spacing: -.02em; }
.pricing-nav { display: flex; align-items: center; gap: 10px; }
.pricing-nav .btn.small { padding: 7px 16px; font-size: 13px; }
.pricing-shell section#preise { flex: 1; }
.pricing-shell .section { background: transparent; }
.pricing-shell .p-card .btn { position: relative; z-index: 2; margin-top: auto; }

/* Stripe-Hinweis (wie Original) */
.pricing-stripe-note {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  text-align: center;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.pricing-stripe-note > div { min-width: 180px; font-size: 12.5px; color: var(--faint, #8b8ba8); line-height: 1.5; }
.pricing-stripe-note b { color: var(--text, #f2f2ff); font-size: 13px; }

/* Fußzeile (wie Original) */
.pricing-footer {
  border-top: 1px solid var(--border, rgba(255,255,255,.08));
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13px;
  color: var(--faint, #8b8ba8);
}
.pricing-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 720px) { .pricing-footer-grid { grid-template-columns: 1fr; } }
.pricing-footer-brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pricing-footer-brand p { margin: 4px 0; font-size: 13px; line-height: 1.5; }
.pricing-footer-brand a[href^="mailto"] { color: var(--red, #ff2440); text-decoration: none; }
.pricing-footer-col { display: flex; flex-direction: column; gap: 7px; }
.pricing-footer-col h4 { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--text, #f2f2ff); }
.pricing-footer-col a { color: var(--faint, #8b8ba8); text-decoration: none; }
.pricing-footer-col a:hover { color: var(--text, #f2f2ff); }
.pricing-footer-bottom {
  border-top: 1px solid var(--border, rgba(255,255,255,.06));
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--faint, #8b8ba8);
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* Vergleichs-Tabelle (wie Original) */
.pricing-compare { margin-top: 36px; text-align: center; }
.pricing-compare h2 { font-size: 22px; font-weight: 800; color: var(--text, #f2f2ff); margin-bottom: 4px; }
.pricing-compare .sub { font-size: 13px; color: var(--faint, #8b8ba8); margin: 0 0 18px; }
.pricing-compare-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border, rgba(255,255,255,.08)); }
.pricing-compare-table { width: 100%; border-collapse: collapse; font-size: 13px; background: rgba(255,255,255,.02); }
.pricing-compare-table th, .pricing-compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--border, rgba(255,255,255,.06)); }
.pricing-compare-table thead th { font-weight: 800; color: var(--text, #f2f2ff); font-size: 13px; background: rgba(255,255,255,.03); }
.pricing-compare-table .cmp-feature { text-align: left; color: var(--muted, #b9b9d0); }
.pricing-compare-table .cmp-cell { text-align: center; }
.pricing-compare-table .cmp-cat td { background: rgba(255,255,255,.03); color: var(--faint, #8b8ba8); font-size: 11px; letter-spacing: .1em; text-align: left; }
.pricing-compare-table .cmp-yes { color: var(--red, #ff2440); font-weight: 800; }
.pricing-compare-table .cmp-no { color: var(--faint, #8b8ba8); }
.pricing-compare-table .cmp-val { color: var(--text, #f2f2ff); font-weight: 600; }

/* ── Compare-Seite (02.09.2026, Rewrite): Slots + Matrix ────── */
.cmp-shell { min-height: 100vh; }
.cmp-main {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 32px) 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Hero */
.cmp-hero { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.cmp-hero-ic {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--red, #ff2440);
  background: rgba(225, 29, 46, 0.1);
  border: 1px solid rgba(225, 29, 46, 0.28);
}
.cmp-hero-ic svg { width: 22px; height: 22px; }
.cmp-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.cmp-hero h1 .accent { color: var(--red, #ff2440); }
.cmp-hero p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted, #9a9ab5); }

/* Icons */
.cmp-ic { width: 15px; height: 15px; flex: none; }

/* ── Slots ──────────────────────────────────────────────────── */
.cmp-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .cmp-slots { grid-template-columns: 1fr; } }

.cmp-slot { position: relative; display: flex; flex-direction: column; gap: 10px; }

.cmp-slot-select {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: rgba(255,255,255,.03);
  color: var(--text, #f4f4fb);
  font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: left;
}
.cmp-slot-select:hover { border-color: rgba(225,29,46,.4); }
.cmp-slot-select.is-filled { border-color: color-mix(in srgb, var(--red, #ff2440) 45%, transparent); }
.cmp-slot-label {
  font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint, #63637c);
}
.cmp-slot-value { flex: 1; }
.cmp-caret { color: var(--faint, #63637c); transition: transform .15s; }
.cmp-slot-select[aria-expanded="true"] .cmp-caret { transform: rotate(180deg); }

.cmp-slot-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 40;
  display: flex; flex-direction: column;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  background: var(--color-surface-2, #13131e);
  box-shadow: 0 18px 50px -18px rgba(0,0,0,.8);
  animation: cmpMenuIn .14s var(--ease-out, ease-out);
}
.cmp-slot-menu[hidden] { display: none; }
@keyframes cmpMenuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cmp-slot-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0; border-radius: 9px;
  background: transparent;
  color: var(--text, #f4f4fb);
  font: inherit; font-size: 13.5px;
  cursor: pointer;
  text-align: left;
}
.cmp-slot-opt:hover:not(:disabled) { background: rgba(255,255,255,.06); }
.cmp-slot-opt.is-active { background: rgba(225,29,46,.14); color: var(--red, #ff2440); }
.cmp-slot-opt:disabled { opacity: .4; cursor: not-allowed; }
.cmp-opt-price { font-size: 11.5px; color: var(--faint, #63637c); font-family: var(--font-mono, monospace); }
.cmp-slot-opt.is-active .cmp-opt-price { color: var(--red, #ff2440); opacity: .8; }

/* ── Slot-Karten ────────────────────────────────────────────── */
.cmp-slot-card {
  position: relative;
  flex: 1;
  min-height: 330px;
  border-radius: 18px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .25s;
  display: flex;
}
.cmp-slot-card:not(.is-empty) {
  border-color: color-mix(in srgb, var(--plan-color, #e11d2e) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--plan-color, #e11d2e) 22%, transparent),
              0 18px 44px -22px color-mix(in srgb, var(--plan-color, #e11d2e) 45%, transparent);
}
.cmp-card-halo {
  position: absolute; top: 0; left: 12%; right: 12%;
  height: 3px; border-radius: 999px;
  background: var(--plan-color, #e11d2e);
  opacity: .9;
}

.cmp-card-clear {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  background: rgba(0,0,0,.35);
  color: var(--muted, #9a9ab5);
  cursor: pointer;
  transition: color .13s, border-color .13s, transform .13s;
}
.cmp-card-clear:hover { color: #fff; border-color: var(--red, #ff2440); transform: scale(1.06); }
.cmp-card-clear .cmp-ic { width: 12px; height: 12px; }
.cmp-card-clear[hidden] { display: none; }

.cmp-card-empty {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--faint, #63637c);
  border: 1.5px dashed rgba(255,255,255,.12);
  border-radius: 17px;
  margin: 6px;
  padding: 20px;
  text-align: center;
}
.cmp-card-empty[hidden] { display: none; }
.cmp-card-empty b { font-size: 14px; color: var(--muted, #9a9ab5); }
.cmp-card-empty span { font-size: 12px; }
.cmp-card-plus {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.2);
  color: var(--faint, #63637c);
}
.cmp-card-plus .cmp-ic { width: 18px; height: 18px; }

.cmp-card-body {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 20px 18px 18px;
  gap: 12px;
}
.cmp-card-body[hidden] { display: none; }
.cmp-card-head { display: flex; align-items: center; gap: 10px; }
.cmp-card-ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  font-size: 17px;
  border-radius: 11px;
  color: var(--plan-color, #e11d2e);
  background: color-mix(in srgb, var(--plan-color, #e11d2e) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--plan-color, #e11d2e) 35%, transparent);
}
.cmp-card-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cmp-card-badge {
  margin-left: auto;
  font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--red, #ff2440);
  background: rgba(225,29,46,.12);
  border: 1px solid rgba(225,29,46,.3);
  padding: 3px 8px; border-radius: 999px;
  white-space: nowrap;
}
.cmp-card-price { display: flex; align-items: baseline; gap: 6px; }
.cmp-card-price b { font-size: 30px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.cmp-card-price i { font-style: normal; font-size: 12px; color: var(--faint, #63637c); }

.cmp-card-feats {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 9px;
  flex: 1;
}
.cmp-card-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--muted, #9a9ab5);
  line-height: 1.45;
}
.cmp-card-feats .cmp-ic {
  width: 14px; height: 14px; margin-top: 2px;
  color: var(--plan-color, #e11d2e);
}
.cmp-card-cta { margin-top: auto; }

/* Basis-Toggle unter der Karte */
.cmp-base-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  background: rgba(255,255,255,.02);
  color: var(--muted, #9a9ab5);
  font: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.cmp-base-toggle:hover:not(:disabled) { border-color: var(--red, #ff2440); color: var(--red, #ff2440); }
.cmp-base-toggle.is-active {
  border-color: rgba(225,29,46,.55);
  background: rgba(225,29,46,.1);
  color: var(--red, #ff2440);
}
.cmp-base-toggle:disabled { cursor: default; }
.cmp-base-toggle[hidden] { display: none; }

/* ── Toolbar ────────────────────────────────────────────────── */
.cmp-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.cmp-toolbar[hidden] { display: none; }
.cmp-mode-info { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted, #9a9ab5); }
.cmp-mode-info b { color: var(--text, #f4f4fb); }
.cmp-base-note { color: var(--faint, #63637c); font-size: 12.5px; }
.cmp-base-note b { color: var(--red, #ff2440); }
#cmp-delta-toggle.is-active {
  border-color: rgba(225,29,46,.55);
  background: rgba(225,29,46,.1);
  color: var(--red, #ff2440);
}

/* ── Matrix ─────────────────────────────────────────────────── */
.cmp-matrix-wrap[hidden] { display: none; }
.cmp-matrix-scroll {
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  overflow-x: auto;
}
.cmp-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}
.cmp-matrix thead th {
  position: sticky; top: 0;
  background: var(--color-surface-2, #13131e);
  padding: 14px 18px;
  text-align: center;
  font-size: 14.5px; font-weight: 800;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.1));
  white-space: nowrap;
}
.cmp-matrix th.cmp-m-feature, .cmp-matrix td.cmp-m-feature {
  text-align: left;
  color: var(--muted, #9a9ab5);
  width: 34%;
}
.cmp-matrix thead th.cmp-m-feature { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint, #63637c); }
.cmp-th-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-right: 8px; vertical-align: 1px;
}
.cmp-base-tag {
  display: inline-block; margin-left: 8px;
  font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--red, #ff2440);
  background: rgba(225,29,46,.12);
  border: 1px solid rgba(225,29,46,.3);
  padding: 2px 7px; border-radius: 999px;
  vertical-align: 2px;
}

.cmp-matrix tbody td { padding: 12px 18px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.05); }
.cmp-matrix tbody tr:last-child td { border-bottom: 0; }
.cmp-matrix tbody tr:not(.cmp-m-cat):hover td { background: rgba(255,255,255,.025); }

.cmp-m-cat td {
  padding: 9px 18px 7px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cmp-m-cat span {
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint, #63637c);
}

.cmp-m-yes { color: #2fd69a; font-weight: 800; }
.cmp-m-no { color: var(--faint, #63637c); opacity: .8; }
.cmp-m-val { color: var(--text, #f4f4fb); font-weight: 700; font-family: var(--font-mono, monospace); font-size: 13px; }
.cmp-m-cell.is-base-col { background: rgba(225,29,46,.045); }
.cmp-m-cell.is-gain { background: rgba(47, 214, 154, .05); }
.cmp-m-cell.is-loss { background: rgba(225, 68, 68, .05); }

.cmp-m-diff {
  display: inline-block; margin-top: 4px;
  font-size: 10.5px; font-weight: 800;
  font-family: var(--font-mono, monospace);
  padding: 2px 8px; border-radius: 999px;
}
.cmp-m-diff.pos { color: #2fd69a; background: rgba(47, 214, 154, .1); }
.cmp-m-diff.neg { color: #ff6b6b; background: rgba(255, 107, 107, .08); }
.cmp-m-diff.same { color: var(--faint, #63637c); background: rgba(255,255,255,.04); }

/* Empty-Hinweis */
.cmp-empty {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 40px 20px;
  border: 1.5px dashed rgba(255,255,255,.12);
  border-radius: 16px;
  color: var(--faint, #63637c);
  font-size: 13.5px;
}
.cmp-empty[hidden] { display: none; }
.cmp-foot-note { text-align: center; font-size: 11.5px; color: var(--faint, #63637c); }

@media (max-width: 720px) {
  .cmp-toolbar { flex-direction: column; align-items: stretch; text-align: center; }
  .cmp-hero { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .pricing-top { flex-direction: column; align-items: flex-start; }
  .pricing-footer { padding: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   Preis-Karussell (Plan § 7): ab >4 Plänen, 4er-Sichtfenster.
   Track = scroll-snap; Pfeile + Dots via pricing.html-JS.
   ≤4 Pläne → nav bleibt hidden → verhält sich wie statisches Grid.
   ═══════════════════════════════════════════════════════════════ */
.price-carousel { display: block; } /* !wichtig: landing.css lädt DANACH und setzt .price-row auf grid */
.price-carousel .car-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.price-carousel .car-track::-webkit-scrollbar { display: none; }
.price-carousel .car-track > .p-card { scroll-snap-align: start; }
/* Mobile-Overrides — MUSS NACH der Basisregel stehen (ggf. späterer duplizierter
   Basis-Satz hat die Media-Queries sonst unwirksam gemacht → Karten kollabierten
   auf 68px und Text clipte). */
@media (max-width: 920px) {
  .price-carousel .car-track { grid-auto-columns: calc((100% - 1.4rem) / 2); }
}
@media (max-width: 620px) {
  .price-carousel .car-track { grid-auto-columns: 100%; }
}
.car-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 18px;
}
.car-nav[hidden] { display: none; }
.car-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent; color: var(--muted, #8b8ba8);
  border: 1px solid var(--line, rgba(255,255,255,.08));
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.car-btn:hover:not(:disabled) { color: var(--red, #e11d2e); border-color: rgba(225,29,46,.5); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-dots { display: flex; gap: 8px; }
.car-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.18);
  transition: background .2s, width .2s;
}
.car-dot.on { background: var(--red, #e11d2e); width: 22px; }
/* Sync-Matrix-Hinweis (JS toggelt hidden) */
#matrix-note[hidden] { display: none; }
#matrix-note { color: var(--faint, #63637c); }

/* Mobile: landing.css setzt .price-row auf max-width:420px (@620) und
   #preise bleibt bei max-width:1240px — beides spreizt das Karussell
   über die Mobile-Breite hinaus. Auf /pricing volle Breite erzwingen. */
@media (max-width: 920px) {
  #preise { max-width: 100%; }
}
@media (max-width: 620px) {
  .price-carousel { max-width: 100%; }
}

/* ═══ Clipping-Fixes kleine Dimensionen (06.09.) ═══ */
@media (max-width: 920px) {
  /* Preiszeile: großes €-Präfix + Betrag + Einheit darf umbrechen,
     statt über die Kartenkante zu laufen (768px: 161px in 94px-Spalte) */
  .price-row .p-price { flex-wrap: wrap; row-gap: 2px; }
  .price-row .p-price b { font-size: 1.6rem; }
  .price-row .p-price .p-invite { font-size: 1.6rem; }
}
@media (max-width: 620px) {
  .price-row .p-name, .price-row .p-price,
  .price-row .p-year, .price-row .p-feats { min-width: 0; }
  .price-row .p-name { white-space: normal; }
  .price-row .p-year { white-space: normal; }
}

/* ═══ Fix-Runde 06.09.: Punkte 1-8 ═══ */
/* Punkt 1: Kategorie-Labels mit custom dash-icons */
.cmp-cat-label {
  display: inline-flex; align-items: center; gap: 7px;
}
.cmp-cat-label .landing-icon {
  width: 15px; height: 15px; color: var(--red, #e11d2e);
}
/* Punkt 2: Badge nicht mehr halbiert — p-flag braucht kein negatives top
   OHNE Overflow-Room: Card hat overflow:visible, aber Grid-Zeilen clippen.
   Sicherer: Badge INSIDE mit Top-Abstand statt -12px. */
.price-row .p-card .p-flag {
  top: 10px; right: 12px;
  background: linear-gradient(135deg, #c51d30, #9f1224);
  box-shadow: 0 4px 14px -6px rgba(225, 29, 46, .5);
}
/* Punkt 6: p-perms breiter → "Preis-Aggregator" in EINER Zeile.
   Ursache: li ist flex, label bricht bei knappem Karten-Innenraum.
   Fix: label white-space:nowrap + gap kleiner + Karten-Padding etwas weniger. */
.p-card .p-perms li.perm { gap: .35rem; }
.p-card .p-perms li.perm span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1 1 auto;
}
.p-card .p-perms li.perm b { flex: none; white-space: nowrap; }
/* Punkt 6 (Fortsetzung): auf /pricing Karten breiter ziehen —
   minmax 230→262px + Grid max-width 1080→1180px (nur /pricing,
   landing.css-Regel bleibt unangetastet) */
.price-carousel { max-width: 1180px; }
@media (min-width: 921px) {
  .price-carousel .p-card { padding: 2rem 1.4rem; }
}
/* Punkt 4: /pricing nutzt jetzt den Landing-Footer (.footer/.f-inner kommt
   aus landing.css) — alte pricing-footer-Regeln hier neutralisieren. */
.pricing-footer { display: none; }

/* Plan A3.1: AGB-/Zahlungspflicht-Hinweis unter Plan-Karten-CTAs */
.p-legal-note { font-size: 11px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.p-legal-note a { color: var(--muted); text-decoration: underline; }
