/* eventPIXX Design Harmony
   Lädt nach den Seiten-Styles und vereinheitlicht Buttons, Heroes, Flächen und Karten.
   Tokens aus main.css bleiben die Quelle; hier nur Ergänzungen und Overrides. */

:root {
  --accent-hover: #5a1a58;
  --surface-muted: #f8f7fb;
}

/* ------------------------------------------------------------------
   Phase 1 – Buttons
   Primary  = lila Fläche, weiße Schrift, 12px
   Inverse  = weiße Fläche auf Lila (Header, CTA-Band)
   Secondary = Text+Icon (Demo, Zurück)
   ------------------------------------------------------------------ */

.hero .btn-get-started,
a.btn-hero,
.btn-hero,
#pro-section .btn-hero,
.product-preview .pp-cta-primary,
.product-preview a.btn-hero.pp-cta-primary,
.slideshow-highlight .btn-hero,
.customization-highlight .btn-hero,
.community-guard .btn-hero,
.fotobox-highlight .btn-hero,
.druckstation-highlight .btn-hero,
.sticky-mobile-cta .sticky-cta-btn,
.wizard-nav .buy-wizard-next,
.buy-order-btn,
.rg-article a.btn-hero,
.rg-cta-box a.btn-hero,
.rg-article-cta a.btn-hero,
.rg-cta a.btn-hero,
.thanks-referral-copy,
.about .read-more,
.contact .php-email-form button[type=submit],
.features-details .features-item .more-btn,
.product-card-base .product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition:
    background var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out);
}

.hero .btn-get-started:hover,
a.btn-hero:hover,
.btn-hero:hover,
#pro-section .btn-hero:hover,
.product-preview .pp-cta-primary:hover,
.product-preview a.btn-hero.pp-cta-primary:hover,
.slideshow-highlight .btn-hero:hover,
.customization-highlight .btn-hero:hover,
.fotobox-highlight .btn-hero:hover,
.druckstation-highlight .btn-hero:hover,
.sticky-mobile-cta .sticky-cta-btn:hover,
.wizard-nav .buy-wizard-next:hover,
.buy-order-btn:hover,
.buy-order-btn:focus-visible,
.rg-article a.btn-hero:hover,
.rg-cta-box a.btn-hero:hover,
.rg-article-cta a.btn-hero:hover,
.rg-cta a.btn-hero:hover,
.thanks-referral-copy:hover,
.about .read-more:hover,
.contact .php-email-form button[type=submit]:hover,
.features-details .features-item .more-btn:hover,
.product-card-base .product-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(116, 35, 114, 0.3);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--accent-color);
  background: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 28px;
  box-shadow: var(--shadow-sm);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--accent-color);
  background: #f4eef6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1199.98px) {
  .header .btn-getstarted {
    display: none;
  }
}

.call-to-action .cta-btn {
  background: #fff;
  color: #742372;
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 36px;
  box-shadow: var(--shadow-sm);
}

.call-to-action .cta-btn:hover {
  background: #f4eef6;
  color: #5a1a58;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-v2-demolink,
.hero-landing-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  line-height: 1.2;
  transition: opacity var(--duration-fast) ease, color var(--duration-fast) ease;
}
.hero-v2-demolink > span,
.hero-landing-demo > span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

.hero .hero-v2-demolink,
.hero-landing .hero-landing-demo {
  color: #fff;
  opacity: 0.92;
}

.hero .hero-v2-demolink:hover,
.hero-landing .hero-landing-demo:hover {
  color: #fff;
  opacity: 1;
}

.hero-lead {
  color: #fff;
  text-wrap: pretty;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-note {
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero .icon-box .description {
  text-wrap: pretty;
  hyphens: manual;
}

.buy-pay-reassure {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.82em;
  color: #6b6b7b;
  line-height: 1.45;
}

.product-preview .pp-cta-secondary,
.thanks-back-link {
  color: var(--accent-color);
}

.product-preview .pp-cta-secondary:hover,
.thanks-back-link:hover {
  color: var(--accent-hover);
}

.wizard-nav .buy-wizard-back {
  border-radius: var(--radius-md);
  padding: 12px 22px;
}

.product-cta-addon {
  border-radius: var(--radius-md);
}

.contact .php-email-form input[type=email],
.contact .php-email-form input[type=text],
.contact .php-email-form textarea {
  border-radius: var(--radius-sm);
  font-size: 16px;
}

/* ------------------------------------------------------------------
   Phase 2 – Heroes
   ------------------------------------------------------------------ */

.hero-landing .breadcrumbs {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.hero-landing .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-landing .breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-landing .breadcrumbs ol a:hover {
  color: #fff;
}

.hero-landing .breadcrumbs ol li + li {
  padding-left: 10px;
}

.hero-landing .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.hero-landing .breadcrumbs ol li.current {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-landing h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-landing p.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-landing .btn-hero {
  background: #fff;
  color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-landing .btn-hero:hover {
  background: #f4eef6;
  color: var(--accent-color);
}

.page-hero {
  background: var(--accent-color);
  color: #fff;
  text-align: center;
  padding: 108px 20px 48px;
  position: relative;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.page-hero .page-hero-sub,
.page-hero .buy-hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05em;
  margin: 0 0 16px;
}

.page-hero .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 15px;
  gap: 0;
}

.page-hero .breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumbs ol a:hover {
  color: #fff;
}

.page-hero .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-hero .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.page-hero .breadcrumbs ol li.current {
  color: #fff;
}

.page-hero-utility,
.buy-hero.page-hero {
  background: linear-gradient(180deg, #f3eaf4 0%, #f8f7fb 58%, #ffffff 100%);
  color: var(--heading-color);
  padding: 104px 20px 40px;
  min-height: 0;
  height: auto;
  overflow: visible;
  border-bottom: 1px solid var(--border-color);
}

.page-hero-utility h1,
.buy-hero.page-hero h1 {
  color: var(--heading-color);
}

.page-hero-utility .page-hero-sub,
.page-hero-utility .buy-hero-sub,
.buy-hero.page-hero .buy-hero-sub {
  color: var(--muted-color);
}

.page-hero-utility .breadcrumbs ol a,
.buy-hero.page-hero .breadcrumbs ol a {
  color: var(--muted-color);
}

.page-hero-utility .breadcrumbs ol a:hover,
.buy-hero.page-hero .breadcrumbs ol a:hover {
  color: var(--accent-color);
}

.page-hero-utility .breadcrumbs ol li + li::before,
.buy-hero.page-hero .breadcrumbs ol li + li::before {
  color: #c5c2ce;
}

.page-hero-utility .breadcrumbs ol li.current,
.buy-hero.page-hero .breadcrumbs ol li.current {
  color: var(--heading-color);
}

.buy-hero.page-hero::before,
.buy-hero.page-hero video {
  display: none;
}

.page-hero-legal {
  padding: 108px 20px 44px;
}

.ratgeber-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .page-hero,
  .page-hero-utility,
  .page-hero-legal {
    padding: 92px 16px 36px;
  }

  .page-hero h1 {
    font-size: 1.55rem;
  }
}

/* ------------------------------------------------------------------
   Phase 3 – Flächen und Karten
   ------------------------------------------------------------------ */

.light-background,
.section-light-alt,
.features.section,
.customization-highlight,
.explainer-section,
.crosslink-section .crosslink-inner,
.rg-cta,
.thanks-next-steps,
.landing-features,
.faq.section {
  background: var(--surface-muted) !important;
}

.product-preview,
.features-details.section,
.landing-steps,
.landing-features,
.product-overview {
  background: #fff !important;
}

.landing-features .feature-card,
.landing-testimonials .testimonial-card,
.landing-usecases .usecase-card,
.community-card,
.product-card,
.pp-card,
.th-card,
.rg-card,
.crosslink-card,
.comp-mobile-card,
.thanks-step {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.landing-features .feature-card:hover,
.landing-testimonials .testimonial-card:hover,
.landing-usecases .usecase-card:hover,
.community-card:hover,
.product-card:hover,
.pp-card:hover,
.th-card:hover,
.rg-card:hover,
.crosslink-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(116, 35, 114, 0.16);
}

.landing-usecases .usecase-card,
.product-card,
.product-card-addon {
  border-width: 1px;
}

.slideshow-highlight .sh-image-col--phone {
  display: flex;
  justify-content: center;
}

.slideshow-highlight .sh-image-col--phone img {
  max-width: 230px;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.22));
}

.slideshow-highlight .sh-image-col--phone:hover img {
  transform: none;
}

@media (max-width: 575px) {
  .slideshow-highlight .sh-image-col--phone img {
    max-width: 200px;
  }
}

.hero .icon-box {
  border-radius: var(--radius-lg);
}

/* ------------------------------------------------------------------
   Phase 4 – Floating UI
   ------------------------------------------------------------------ */

.scroll-top {
  border-radius: var(--radius-md);
}

.sticky-mobile-cta {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991px) {
  body:not(:has(.buy-wizard-aside)) {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.buy-wizard-aside) {
    padding-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .wa-float {
    transform: scale(0.92);
    transform-origin: right bottom;
  }

  body:has(.buy-wizard-aside) .wa-float {
    bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.buy-wizard-aside) .scroll-top {
    bottom: calc(178px + env(safe-area-inset-bottom, 0px));
  }
}
