/* TaktFlo Modern — Eyecatcher, Hintergrundbilder, modernes Design */

/* ─── Hero Eyecatcher ─── */
.tf-hero--cinema::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(90vw, 800px);
  height: min(90vw, 800px);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: tfHeroGlow 8s ease-in-out infinite alternate;
}

@keyframes tfHeroGlow {
  0% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
  }
}

.tf-hero__title {
  position: relative;
}

/* Spotlight-Hero: keine Trennlinie unter der Headline */
.tf-hero:not(.tf-hero--spotlight) .tf-hero__title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--tf-accent), var(--tf-accent-2));
  border-radius: 2px;
  animation: tfTitleLine 2s var(--tf-ease-spring) 0.8s both;
}

@keyframes tfTitleLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 4rem;
    opacity: 1;
  }
}

/* ─── Digitize Eyecatcher Section ─── */
.tf-digitize {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--tf-bg);
  overflow: hidden;
}

#taktflo-landing .tf-digitize {
  background: transparent;
}

.tf-digitize::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(59, 130, 246, 0.08), transparent),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(99, 102, 241, 0.06), transparent);
  pointer-events: none;
}

.tf-digitize__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--tf-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

.tf-digitize__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.35),
    0 0 0 4px rgba(59, 130, 246, 0.15);
}

.tf-digitize__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.4);
  animation: tfDigitizePulse 2s ease-out infinite;
}

.tf-digitize__pulse::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: tfDigitizePulse 2s ease-out 0.4s infinite;
}

@keyframes tfDigitizePulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.tf-digitize__icon {
  font-size: 2rem;
  filter: grayscale(1) brightness(10);
}

.tf-digitize__title {
  margin: 0 0 1rem;
  font-family: var(--tf-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tf-text);
}

.tf-digitize__text {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--tf-muted);
}

.tf-digitize__text strong {
  color: var(--tf-text);
}

/* Vorteils-Grid */
.tf-digitize__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: left;
}

@media (min-width: 540px) {
  .tf-digitize__benefits {
    grid-template-columns: 1fr 1fr;
  }
}

.tf-digitize__benefits li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tf-muted);
}

.tf-digitize__benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: 700;
  color: #2563eb;
}

.tf-digitize__inner {
  max-width: 820px;
}

.tf-digitize__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.tf-digitize__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  min-width: 0;
}

.tf-digitize__num {
  display: inline-block;
  font-family: var(--tf-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding-inline: 0.12em 0.2em;
  overflow: visible;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tf-digitize__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tf-muted);
}

/* ─── Feature Cards mit Hintergrund ─── */
.tf-section--showcase.tf-showcase--cinema {
  background:
    linear-gradient(180deg, var(--tf-bg) 0%, #c8cdd8 30%, #bcc1cb 70%, var(--tf-bg) 100%);
}

.tf-showcase--cinema .tf-showcase__item {
  position: relative;
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.tf-showcase--cinema .tf-showcase__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(59, 130, 246, 0.04), transparent);
  pointer-events: none;
}

/* ─── Glassmorphism Cards ─── */
.tf-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.tf-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* ─── Modern Showcase Images ─── */
.tf-showcase__figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--tf-radius-lg);
  background: linear-gradient(145deg, #1e293b, #0f172a);
}

.tf-showcase__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.3));
  pointer-events: none;
  z-index: 1;
}

.tf-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--tf-ease-out);
}

.tf-showcase__figure:hover .tf-showcase__img {
  transform: scale(1.03);
}

/* ─── CTA: Hintergrund nur über taktflo-closing.css (Landing) ─── */

/* ─── Floating Elements ─── */
.tf-hero__visual {
  position: relative;
}

.tf-hero__visual::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse 60% 50% at 60% 40%, rgba(59, 130, 246, 0.12), transparent);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* ─── Scroll Indicator ─── */
.tf-hero--cinema .tf-container::after {
  content: "";
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  animation: tfScrollHint 2.5s ease-in-out infinite;
}

.tf-hero--cinema .tf-container::before {
  content: "";
  position: absolute;
  bottom: calc(clamp(1rem, 3vw, 2rem) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--tf-accent);
  border-radius: 2px;
  animation: tfScrollDot 2.5s ease-in-out infinite;
}

@keyframes tfScrollHint {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes tfScrollDot {
  0%, 20% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  80%, 100% {
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .tf-hero--cinema .tf-container::before,
  .tf-hero--cinema .tf-container::after {
    display: none;
  }
}

/* ─── Steps Modernization ─── */
.tf-step {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s var(--tf-ease-spring);
}

.tf-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.tf-step__num {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ─── Gradient Text Fix ─── */
.tf-gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .tf-hero--cinema::before,
  .tf-digitize__pulse,
  .tf-hero--cinema .tf-container::before,
  .tf-hero--cinema .tf-container::after {
    animation: none !important;
  }
}

/* Preise: Überschrift + Karten als ein Block (kein zweiter Hintergrund) */
.tf-closing-band .tf-section--pricing > .tf-container {
  background: transparent;
  border: none;
  box-shadow: none;
}

.tf-section--pricing > .tf-container {
  max-width: 1120px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.tf-section--pricing .tf-section__subtitle {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem) !important;
}

.tf-pricing-home {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#taktflo-landing .tf-pricing-zone .tf-pricing-home {
  margin-top: 0;
}

/* ─── Startseite: Preis-Vorschau (luftiger, moderner) ─── */
.tf-pricing-home {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.tf-pricing-home .tf-pricing--embed {
  gap: clamp(1rem, 2.2vw, 1.35rem);
  max-width: 1080px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .tf-pricing-home .tf-pricing--embed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tf-pricing-home .tf-pricing--embed .tf-price-card--link {
  padding: clamp(1.15rem, 2.5vw, 1.45rem) clamp(1.2rem, 2.5vw, 1.5rem);
  gap: 0.45rem;
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  min-height: 8.5rem;
  transition:
    transform 0.22s var(--tf-ease-out),
    box-shadow 0.22s var(--tf-ease-out),
    border-color 0.22s var(--tf-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tf-pricing-home .tf-pricing--embed .tf-price-card--link:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow:
      0 4px 12px rgba(37, 99, 235, 0.08),
      0 16px 40px rgba(15, 23, 42, 0.1);
  }
}

.tf-pricing-home .tf-pricing--embed .tf-price-card--link h3 {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.tf-pricing-home .tf-pricing--embed .tf-price-card__desc {
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 0.15rem;
}

.tf-pricing-home .tf-pricing--embed .tf-price-card__amount {
  margin-top: 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
}

.tf-pricing-home .tf-pricing--embed .tf-price-card__cta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.8125rem;
}

.tf-pricing-home .tf-pricing--embed .tf-price-card--featured {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 12px 32px rgba(37, 99, 235, 0.12);
}

.tf-pricing-home__foot {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  gap: 0.85rem 1.5rem;
}

/* ─── Coming Soon: Offline-Koffer (blaue Promo-Karte) ─── */
.tf-section--coming-soon {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--tf-bg);
}

.tf-promo-soon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.35rem, 4vw, 2.5rem);
  border-radius: 20px;
  color: #f8fafc;
  background: linear-gradient(128deg, #1e40af 0%, #2563eb 42%, #3b82f6 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 20px 50px rgba(37, 99, 235, 0.28);
  overflow: hidden;
  position: relative;
}

.tf-promo-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 12% 50%, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .tf-promo-soon {
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 2rem;
  }
}

.tf-promo-soon__visual,
.tf-promo-soon__copy {
  position: relative;
  z-index: 1;
}

.tf-promo-soon__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 180px);
  margin: 0 auto;
  aspect-ratio: 1.15;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.tf-promo-soon__icon {
  width: 72%;
  height: auto;
  color: #fff;
}

.tf-promo-soon__badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #e0f2fe;
}

.tf-promo-soon__title {
  margin: 0 0 0.65rem;
  font-family: var(--tf-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none !important;
  text-shadow: 0 2px 24px rgba(15, 23, 42, 0.35);
}

.tf-promo-soon__text {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.92);
  max-width: 52ch;
}

.tf-promo-soon__hint {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(224, 242, 254, 0.82);
  max-width: 48ch;
}

html.tf-reveal-js .tf-promo-soon .tf-reveal:not(.is-visible) {
  opacity: 0;
  transition:
    opacity 0.95s var(--tf-ease-spring),
    transform 0.95s var(--tf-ease-spring);
}

html.tf-reveal-js .tf-promo-soon .tf-reveal.tf-reveal--slide-wide.tf-reveal--left:not(.is-visible) {
  transform: translate3d(-64px, 0, 0);
}

html.tf-reveal-js .tf-promo-soon .tf-reveal.tf-reveal--slide-wide.tf-reveal--right:not(.is-visible) {
  transform: translate3d(64px, 0, 0);
}

.tf-promo-soon .tf-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Wide variant — full-width, centered, bigger icon + chips */
.tf-promo-soon--wide {
  max-width: 1080px;
  grid-template-columns: 1fr;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(128deg, #0f172a 0%, #1e3a8a 40%, #2563eb 75%, #1e40af 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(15, 23, 42, 0.45);
}

.tf-promo-soon--wide::before {
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 80% 100%, rgba(59, 130, 246, 0.12), transparent 45%);
}

.tf-promo-soon--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.6' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.7;
}

.tf-promo-soon--wide .tf-promo-soon__copy {
  max-width: min(720px, 100%);
  margin: 0 auto;
}

.tf-promo-soon--wide .tf-promo-soon__text {
  max-width: none;
}

#taktflo-landing #offline-koffer .tf-promo-soon__title {
  display: block;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

.tf-promo-soon__icon-wrap--glow {
  width: min(100%, 140px);
  margin: 0 auto 0.5rem;
  animation: tfKofferGlow 4s ease-in-out infinite alternate;
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.35);
}

@keyframes tfKofferGlow {
  0% { box-shadow: 0 0 32px rgba(59, 130, 246, 0.25); }
  100% { box-shadow: 0 0 56px rgba(96, 165, 250, 0.45); }
}

.tf-promo-soon__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
}

.tf-promo-soon__chip {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .tf-promo-soon__icon-wrap--glow {
    animation: none;
  }
}
