/**
 * ClouSo – gemeinsames Layout für Produktseiten
 * Farben pro Bereich über body-Klassen (product-page--*)
 */

.product-page {
  --product-accent: #4795D1;
  --product-accent-hover: #3a7fb5;
  --product-accent-muted: #2563a8;
  --product-accent-soft: rgb(71 149 209 / 0.12);
  --product-accent-border: rgb(71 149 209 / 0.22);
  --product-accent-soft-hero: rgb(71 149 209 / 0.08);
  --product-accent-border-hero: rgb(71 149 209 / 0.2);
  --product-accent-shadow: rgb(71 149 209 / 0.55);
  --product-stat-dot: #4795D1;
  --product-cta-bg: linear-gradient(135deg, rgb(255 251 235) 0%, rgb(254 243 199 / 0.45) 100%);
  --product-cta-border: #fcd34d;
  --product-cta-shadow: rgb(245 158 11 / 0.35);
  --product-check-color: #4795D1;
  --product-highlight-border: #4795D1;
}

.product-page--access {
  --product-accent: #059669;
  --product-accent-hover: #047857;
  --product-accent-muted: #047857;
  --product-accent-soft: rgb(16 185 129 / 0.12);
  --product-accent-border: rgb(16 185 129 / 0.25);
  --product-accent-soft-hero: rgb(16 185 129 / 0.08);
  --product-accent-border-hero: rgb(16 185 129 / 0.2);
  --product-accent-shadow: rgb(5 150 105 / 0.55);
  --product-stat-dot: #10b981;
  --product-cta-bg: linear-gradient(135deg, rgb(255 251 235) 0%, rgb(209 250 229 / 0.5) 100%);
  --product-cta-border: #6ee7b7;
  --product-cta-shadow: rgb(16 185 129 / 0.25);
  --product-check-color: #059669;
  --product-highlight-border: #10b981;
}

.product-page--cashtill {
  --product-brand: #4795D1;
  --product-brand-soft: rgb(71 149 209 / 0.12);
  --product-accent: #ed7f20;
  --product-accent-hover: #d96a0f;
  --product-accent-muted: #c45f10;
  --product-accent-soft: rgb(237 127 32 / 0.14);
  --product-accent-border: rgb(237 127 32 / 0.28);
  --product-accent-soft-hero: rgb(237 127 32 / 0.1);
  --product-accent-border-hero: rgb(237 127 32 / 0.22);
  --product-accent-shadow: rgb(237 127 32 / 0.5);
  --product-stat-dot: #ed7f20;
  --product-cta-bg: linear-gradient(135deg, rgb(255 251 235) 0%, rgb(254 237 213 / 0.65) 100%);
  --product-cta-border: #fdba74;
  --product-cta-shadow: rgb(237 127 32 / 0.35);
  --product-check-color: #ed7f20;
  --product-highlight-border: #ed7f20;
  --product-contrast: #ed7f20;
  --product-contrast-soft: rgb(237 127 32 / 0.18);
  --product-contrast-border: rgb(237 127 32 / 0.35);
}

/* CashTill: Orange wie Grün bei Access – Tailwind-Klassen auf Akzent mappen */
.product-page--cashtill .text-clouso-accent {
  color: var(--product-accent);
}

.product-page--cashtill .bg-clouso-accent\/15 {
  background-color: var(--product-accent-soft);
}

.product-page--cashtill .border-clouso-accent\/40 {
  border-color: color-mix(in srgb, var(--product-accent) 40%, transparent);
}

.product-page--cashtill .group:hover .group-hover\:text-clouso-accent {
  color: var(--product-accent);
}

.product-page--cashtill .section-band .section-panel.card-hover {
  border-top: 4px solid var(--product-accent);
}

.product-page--cashtill .feature-mini {
  border-left: 3px solid var(--product-accent);
}

.product-page--cashtill .cashtill-callout {
  background: rgb(237 127 32 / 0.1);
  border: 1px solid rgb(237 127 32 / 0.28);
}

.product-page--cashtill .pricing-band {
  background: linear-gradient(180deg, rgb(255 247 237 / 0.92) 0%, rgb(255 251 235 / 0.55) 100%);
  border-color: rgb(237 127 32 / 0.22);
}

.product-page--cashtill .product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9a3412;
  background: rgb(237 127 32 / 0.15);
  border: 1px solid rgb(237 127 32 / 0.25);
}

.product-page--servicechat {
  --product-stat-dot: #8b5cf6;
  --product-highlight-border: #8b5cf6;
}

/* Hero */
.hero-section {
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-section {
    margin-bottom: 3.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
  max-width: 36rem;
}

.hero-sublead {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-actions__primary,
.hero-actions__secondary,
.hero-actions__ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.35rem;
  border-radius: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-actions__primary {
  color: #fff;
  background: var(--product-accent);
  box-shadow: 0 10px 24px -10px var(--product-accent-shadow);
}

.hero-actions__primary:hover {
  background: var(--product-accent-hover);
}

.hero-actions__secondary {
  color: var(--product-accent);
  background: rgb(255 255 255 / 0.92);
  border: 2px solid color-mix(in srgb, var(--product-accent) 35%, transparent);
}

.hero-actions__secondary:hover {
  background: #fff;
}

.hero-actions__ghost {
  color: #475569;
  background: transparent;
  border: 1px solid #cbd5e1;
}

.hero-actions__ghost:hover {
  background: rgb(255 255 255 / 0.75);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px -8px rgb(15 23 42 / 0.1);
}

.hero-stat__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--product-stat-dot);
  flex-shrink: 0;
}

/* Sektionen */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--product-accent-muted);
  background: var(--product-accent-soft);
  border: 1px solid var(--product-accent-border);
  margin-bottom: 0.75rem;
}

.section-label--hero {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--product-accent);
  background: var(--product-accent-soft-hero);
  border-color: var(--product-accent-border-hero);
  margin-bottom: 0;
}

.section-band {
  margin-top: 3rem;
}

.section-band__intro {
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.section-panel {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -16px rgb(15 23 42 / 0.12);
  padding: 1.5rem 1.25rem;
  color: #334155;
}

@media (min-width: 640px) {
  .section-panel {
    padding: 2rem 2.5rem;
  }
}

.section-panel--muted {
  background: rgb(248 250 252 / 0.92);
}

.section-panel--flat {
  box-shadow: none;
}

.section-panel--cta {
  background: var(--product-cta-bg);
  border: 2px solid var(--product-cta-border);
  box-shadow: 0 12px 32px -20px var(--product-cta-shadow);
}

.section-panel--cta .cta-price-teaser {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #334155;
  background: rgb(255 255 255 / 0.75);
  border: 1px solid color-mix(in srgb, var(--product-cta-border) 60%, transparent);
}

.section-panel--cta .cta-price-teaser strong {
  color: var(--product-accent);
  font-size: 1.05rem;
}

.product-shell {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -16px rgb(15 23 42 / 0.12);
  padding: 1.5rem 1.25rem;
  color: #334155;
}

@media (min-width: 640px) {
  .product-shell {
    padding: 2rem 2.5rem;
  }
}

.product-highlight {
  border-left: 4px solid var(--product-highlight-border);
  padding-left: 1.25rem;
}

.product-checklist li .product-checklist__icon {
  background: var(--product-accent-soft);
  color: var(--product-accent);
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions__primary:hover,
  .hero-actions__secondary:hover,
  .hero-actions__ghost:hover {
    transform: none;
  }
}
