/* ---------------------------------------------------- */
/* GLOBALES STYLING (EXPRESSIV & MODULAR)                */
/* ---------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: #f7f7f7;
  color: #1f2937;
  line-height: 1.7;
  font-size: 18px;
}

.container {
  margin: 0 auto;
  padding: 0 4rem;
}
.section {
  padding: 6rem 0;
}
.section .container > *:not(:last-child) {
  margin-bottom: 5rem;
}
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 3rem;
}
.mt-12 {
  margin-top: 4rem;
}
.mt-16 {
  margin-top: 5rem;
}
.mb-6 {
  margin-bottom: 2rem;
}
.mb-8 {
  margin-bottom: 3rem;
}
.text-bold {
  font-weight: 600;
}

/* Body Text Styling */
p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
p:last-child {
  margin-bottom: 0;
}

/* TYPOGRAFIE (Expressiv & Geometrisch) */
.h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1.5rem;
}
.h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
}
.h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 1rem;
}
.h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 0.75rem;
}
.text-lead {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #374151;
}

/* FARBPALETTE (EXPRESSIV & MODULAR - SATTER & ENERGETISCHER) */
:root {
  --lavender-color: #c8b6ff;
  --fade-duration: 1.33s;
  --fade-delay: 0.3s;
}

.ACCENT {
  color: #7c3aed;
}
.text-primary {
  color: #7c3aed;
}
.text-highlighter {
  background: linear-gradient(120deg, #ffeb3b 0%, #ffeb3b 100%);
  background-size: 100% 85%;
  background-repeat: no-repeat;
  background-position: 0 65%;
  color: #1f2937;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
  padding: 0 2px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(255, 235, 59, 0.3);
}

.text-highlighter-orange {
  background: linear-gradient(120deg, #ff9800 0%, #ff9800 100%);
  background-size: 100% 85%;
  background-repeat: no-repeat;
  background-position: 0 65%;
  color: #1f2937;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
  padding: 0 2px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(255, 152, 0, 0.3);
}
.text-gray {
  color: #4b5563;
}
.text-gray-light {
  color: #6b7280;
}

.bg-white {
  background-color: #ffffff;
  color: #1f2937;
}
.bg-primary {
  background-color: #1e40af;
  color: #ffffff;
  border: none;
}
.bg-light {
  background-color: #f7f7f7;
}
.bg-secondary {
  background-color: #f3f4f6;
}
.border-base {
  border: 1px solid #e5e7eb;
}

/* Neue expressive Farben - SATTER & ENERGIEGELADEN */
.bg-lavender {
  background-color: #ffffff;
  color: #1f2937;
  animation: fadeInFromWhite var(--fade-duration) ease-out var(--fade-delay)
    forwards;
}
.bg-mint {
  background-color: #5ce1af;
  color: #1f2937;
}
.bg-butter {
  background-color: #ffcd4d;
  color: #1f2937;
}
.bg-tomato {
  background-color: #ff6b6b;
  color: #ffffff;
}
.bg-tomato-highlight {
  background-color: #ff6b6b;
  color: #ffffff;
  border: none;
}
.bg-mint-highlight {
  background-color: #22d88f;
  color: #1f2937;
  border: 1px solid #22d88f;
}

/* Texturiertes Schachbrettmuster - Trikot-Look (Heller) */
.textured-checkerboard {
  /* Der Data URI enthält das gesamte 200x200px große SVG-Muster.
     * Es ist URL-encodiert, um direkt im CSS verwendet werden zu können.
     * Reduzierte Punktdichte für helleren Look.
     */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='black-dots' x='0' y='0' width='8' height='8' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23000' opacity='0.5' /%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='100' height='100' fill='url(%23black-dots)' /%3E%3Crect x='100' y='0' width='100' height='100' fill='none' /%3E%3Crect x='0' y='100' width='100' height='100' fill='none' /%3E%3Crect x='100' y='100' width='100' height='100' fill='url(%23black-dots)' /%3E%3C/svg%3E");

  /* Stellt sicher, dass das 200x200px-Muster wiederholt wird */
  background-repeat: repeat;
  background-size: 200px 200px;

  /* Fallback und Optimierung */
  background-color: #5ce1af;
  image-rendering: optimizeSpeed;
}

/* Vertikale Trikot-Streifen - Testimonial-Style */
.textured-stripes {
  /* Der Data URI enthält vertikale Streifen im typischen Trikot-Abstand.
     * Es ist URL-encodiert, um direkt im CSS verwendet werden zu können.
     * 4x breitere Streifen für deutlicheren Effekt.
     */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='200' viewBox='0 0 160 200'%3E%3Cdefs%3E%3Cpattern id='stripe-dots' x='0' y='0' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='1' cy='1' r='0.8' fill='%23000' opacity='0.4' /%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='80' height='200' fill='url(%23stripe-dots)' /%3E%3Crect x='80' y='0' width='80' height='200' fill='none' /%3E%3C/svg%3E");

  /* Stellt sicher, dass das 160x200px-Muster wiederholt wird */
  background-repeat: repeat;
  background-size: 160px 200px;

  /* Fallback und Optimierung */
  background-color: #ffcd4d;
  image-rendering: optimizeSpeed;
}

/* Rautenmuster - 45° gedrehtes Karomuster - CTA-Style */
.textured-diamonds {
  /* Der Data URI enthält ein Rautenmuster (45° gedrehtes Karomuster).
     * Es ist URL-encodiert, um direkt im CSS verwendet werden zu können.
     * Doppelt so große Rauten für deutlicheren Effekt.
     */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='diamond-dots' x='0' y='0' width='6' height='6' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='2' cy='2' r='0.8' fill='%23000' opacity='0.4' /%3E%3C/pattern%3E%3C/defs%3E%3C!-- Rautenmuster --%3E%3Cpath d='M0,100 L100,0 L200,100 L100,200 Z' fill='url(%23diamond-dots)' /%3E%3Cpath d='M50,50 L150,50 L150,150 L50,150 Z' fill='none' /%3E%3C/svg%3E");

  /* Stellt sicher, dass das 200x200px-Muster wiederholt wird */
  background-repeat: repeat;
  background-size: 200px 200px;

  /* Fallback und Optimierung */
  background-color: #c8b6ff;
  image-rendering: optimizeSpeed;
}

/* Hero-Section Schraffur - 3 Balken mit 20° Winkel, noch 20% breiter */
.textured-hero-stripes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='hero-stripe-dots' x='0' y='0' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='2' cy='2' r='0.6' fill='%23000' opacity='0.2' /%3E%3C/pattern%3E%3C/defs%3E%3C!-- Balken 1 - 20° Winkel, 144px breit (noch 20% breiter) --%3E%3Cpath d='M1000,0 L636,600 L492,600 L856,0 Z' fill='url(%23hero-stripe-dots)' /%3E%3C!-- Balken 2 - 20° Winkel, 144px breit (noch 20% breiter) --%3E%3Cpath d='M800,0 L436,600 L292,600 L656,0 Z' fill='url(%23hero-stripe-dots)' /%3E%3C!-- Balken 3 - 20° Winkel, 144px breit (noch 20% breiter) --%3E%3Cpath d='M600,0 L236,600 L92,600 L456,0 Z' fill='url(%23hero-stripe-dots)' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
  background-color: #c8b6ff;
  image-rendering: optimizeSpeed;
}

/* Vertikale Mittelstreifen-Schraffur - So funktioniert's Sektion */
.textured-vertical-stripe {
  position: relative;
  background-color: #ff6b6b;
}

/* Vertikaler Mittelstreifen - basierend auf der Testimonial-Schraffur */
.textured-vertical-stripe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 33.33%;
  height: 100%;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='200' viewBox='0 0 160 200'%3E%3Cdefs%3E%3Cpattern id='vertical-stripe-dots' x='0' y='0' width='4' height='4' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='1' cy='1' r='0.8' fill='%23000' opacity='0.4' /%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='80' height='200' fill='url(%23vertical-stripe-dots)' /%3E%3Crect x='80' y='0' width='80' height='200' fill='none' /%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 200px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* Inhalt der So funktioniert's Sektion über dem Mittelstreifen positionieren */
.textured-vertical-stripe .container {
  position: relative;
  z-index: 2;
}

/* Trikot V-Muster Punkt-Schraffur - Preis-Sektion */
.textured-jersey-v {
  position: relative;
  background-color: #ffffff;
}

/* Inhalt der Preis-Sektion über dem V-Muster positionieren */
.textured-jersey-v .container {
  position: relative;
  z-index: 2;
}

/* V-Muster als einzelnes großes Element über die gesamte Sektionsbreite */
.textured-jersey-v::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='jersey-dots' x='0' y='0' width='8' height='8' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='4' cy='4' r='0.8' fill='%23000' opacity='0.3' /%3E%3C/pattern%3E%3C/defs%3E%3C!-- Umgedrehtes V (von unten nach oben spitz) --%3E%3Cpath d='M0,0 L500,600 L1000,0 Z' fill='url(%23jersey-dots)' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* Sektion-Labels - SATTER & ENERGIEGELADEN */
.section-label {
  font-family: "Inter", sans-serif;
  color: #7c3aed;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: block;
}

/* Section Headers Breathing Room */
.section .text-center {
  margin-bottom: 4rem;
}

/* CTA-BUTTONS */
.btn-action {
  background-color: #1f2937;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  width: 200px;
  display: block;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  animation: subtle-float 3s ease-in-out infinite;
}
.btn-action:hover {
  background-color: #4b5563;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  animation: none;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 18l6-6-6-6"/></svg>'),
    pointer;
}

/* Subtle floating animation */
@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Fade-in animation from white to lavender */
@keyframes fadeInFromWhite {
  0% {
    background-color: #ffffff;
  }
  100% {
    background-color: var(--lavender-color);
  }
}
.btn-action-centered {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* 1. Navigationsleiste - Moderner, spielerischer Style */
.nav {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: none;
  height: 70px;
  z-index: 100;
  transition: all 0.25s ease;
  animation: fadeInFromWhite var(--fade-duration) ease-out var(--fade-delay)
    forwards;
}

.nav.scrolled {
  height: 63px;
  background-color: #ffffff;
  animation: none;
  transition: height 0.25s ease;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1120px;
  padding: 0 32px;
}

/* Logo - Bold mit farbigem Akzent */
.nav-logo-link {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  transition: transform 0.25s ease;
  text-decoration: none;
  color: #111827;
}

.nav-logo-link:hover,
.nav-logo-link:visited {
  text-decoration: none;
  color: #111827;
}

.nav.scrolled .nav-logo-link {
  transform: scale(0.95);
}

.nav-logo-link .text-primary {
  color: #ff6b6b;
}

/* Navigation Links - Uppercase mit Spacing */
.nav-link {
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  display: inline-block;
  font-family: "Inter", sans-serif;
}

.nav-link:hover {
  color: #ff6b6b;
  transform: translateY(-2px);
}

/* Desktop Menu - großzügige Abstände */
#desktop-menu {
  display: none;
  gap: 40px;
  align-items: center;
}

/* CTA Button - Mint, Auffällig */
.nav .btn-action {
  background-color: #6ee677;
  color: #111827;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  width: auto;
  min-width: auto;
  box-shadow: 0 4px 12px rgba(110, 230, 119, 0.4);
  transition: all 0.25s ease;
  animation: none;
}

/* Navbar Button - Transparent when main CTAs are visible */
.nav .btn-action.transparent {
  background-color: transparent;
  color: #111827;
  border: 2px solid #6ee677;
  box-shadow: none;
}

.nav .btn-action:hover {
  background-color: #5cd966;
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 6px 16px rgba(110, 230, 119, 0.5);
}

.nav.scrolled .btn-action {
  transform: scale(0.95);
}

.nav.scrolled .btn-action:hover {
  transform: scale(0.98) translateY(-1px);
}

/* Mobile Burger Menu - Sichtbar auf Mobile */
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.burger-menu span {
  width: 24px;
  height: 3px;
  background-color: #ff6b6b;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.burger-menu:hover span {
  background-color: #6ee677;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: transparent;
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 99;
  animation: slideDown 0.3s ease-in-out;
  transition: top 0.25s ease, height 0.25s ease;
}

.nav.scrolled + .mobile-menu-overlay {
  top: 63px;
  height: calc(100vh - 63px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-overlay .nav-link {
  font-size: 1.5rem;
}

.mobile-menu-overlay .btn-action {
  margin-top: 20px;
  font-size: 1.1rem;
  padding: 14px 32px;
}

/* 2. Header Area */
.header-main {
  padding-top: 8rem;
  padding-bottom: 8rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.header-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.header-text {
  width: 100%;
  text-align: center;
  animation: slide-up 1s ease-out;
}

/* Hero animations */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Lottie Animation Overlay für Hero-Section */
.header-lottie-overlay {
  position: absolute;
  top: 8rem;
  right: 0;
  width: 42%;
  height: calc(100% - 16rem);
  z-index: 1;
  pointer-events: none;
}

.header-lottie-overlay .header-placeholder {
  height: 100%;
  background-color: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  border-radius: 0;
}

.header-lottie-overlay .header-placeholder:hover {
  transform: none;
  box-shadow: none;
}

/* Mobile Lottie Overlay - volle Breite */
@media (max-width: 768px) {
  .header-lottie-overlay {
    width: 100%;
    left: 0;
    right: auto;
    top: 8rem;
    height: calc(100% - 16rem);
  }
}

.header-placeholder {
  height: 24rem;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
}

.header-placeholder:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 8px rgba(0, 0, 0, 0.1);
}
.header-placeholder span {
  color: #9ca3af;
  font-style: italic;
}
.header-text .btn-action {
  margin: 3.5rem auto 0 auto;
}

/* Hero CTA Button - Same size as final CTA */
.header-text .btn-action-navbar {
  background-color: #6ee677 !important;
  color: #111827 !important;
  border-radius: 6px;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  width: auto !important;
  min-width: auto !important;
  display: inline-block !important;
  box-shadow: 0 4px 12px rgba(110, 230, 119, 0.4) !important;
  transition: all 0.25s ease !important;
  animation: none !important;
  margin: 3.5rem auto 0 auto !important;
}

.btn-action-navbar:hover {
  background-color: #5cd966 !important;
  transform: scale(1.03) translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(110, 230, 119, 0.5) !important;
}

/* 3. Content Areas (Karten & Preise) - Sticker/Polaroid Style */
.grid-3-cols-responsive {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.grid-3-cols-responsive > * {
  flex: 1 1 100%;
  padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: visible;
}

/* Solid sticker effect on cards - SATTER & ENERGIEGELADEN */
#vorteile .grid-3-cols-responsive > *::before {
  content: "ZUKUNFTSSICHERUNG";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 160px;
  height: 32px;
  background-color: #8b5cf6;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#vorteile .grid-3-cols-responsive > *:nth-child(2)::before {
  content: "FINANZIELLE STABILITÄT";
  transform: translateX(-50%) rotate(3deg);
  background-color: #ff5252;
  box-shadow: 0 4px 8px rgba(255, 82, 82, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  width: 180px;
  height: 32px;
}

#vorteile .grid-3-cols-responsive > *:nth-child(3)::before {
  content: "NEUMITGLIEDER-MOTOR";
  transform: translateX(-50%) rotate(-2deg);
  background-color: #22d88f;
  box-shadow: 0 4px 8px rgba(34, 216, 143, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  width: 200px;
  height: 32px;
}

/* Product card styling for pricing */
#preise .grid-3-cols-responsive > * {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid #e5e7eb;
}

#preise .grid-3-cols-responsive > *:hover {
  border-color: #7c3aed;
}

#preise .pricing-recommended {
  transform: scale(1.05) rotate(0deg);
  border: 3px solid #ff6b6b;
}

#preise .pricing-recommended:hover {
  transform: scale(1.08) rotate(0deg);
  border-color: #ff6b6b;
}

/* Sticker-like irregular rotations - only for benefits */
#vorteile .grid-3-cols-responsive > *:nth-child(1) {
  transform: rotate(-0.5deg);
  animation: card-breathe 4s ease-in-out infinite;
}
#vorteile .grid-3-cols-responsive > *:nth-child(2) {
  transform: rotate(0.5deg);
  animation: card-breathe 4.5s ease-in-out infinite;
}
#vorteile .grid-3-cols-responsive > *:nth-child(3) {
  transform: rotate(-0.3deg);
  animation: card-breathe 5s ease-in-out infinite;
}

/* Pricing cards - subtle rotations except recommended */
#preise .grid-3-cols-responsive > *:nth-child(1) {
  transform: rotate(-0.3deg);
}
#preise .grid-3-cols-responsive > *:nth-child(3) {
  transform: rotate(0.3deg);
}

.grid-3-cols-responsive > *:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 8px rgba(0, 0, 0, 0.1);
  animation: none;
  border-color: #7c3aed;
}

/* Subtle card breathing animation */
@keyframes card-breathe {
  0%,
  100% {
    transform: rotate(var(--rotation, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--rotation, 0deg)) translateY(-4px);
  }
}

/* Texte in Karten */
.bg-white p,
.bg-white li,
.bg-light p,
.bg-light li {
  color: #374151;
}
.bg-primary p,
.bg-primary li,
.bg-primary .text-bold {
  color: #ffffff;
}
.bg-tomato p,
.bg-tomato li,
.bg-tomato h3,
.bg-tomato .h3,
.bg-tomato .section-label {
  color: #ffffff;
}
.bg-tomato-highlight p,
.bg-tomato-highlight li,
.bg-tomato-highlight .text-bold {
  color: #ffffff;
}

.price-list {
  margin-top: 1rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}
.price-subtitle {
  font-size: 1.25rem;
}

/* Recommended sticker on pricing card - SATTER & ENERGIEGELADEN */
.pricing-recommended::after {
  content: "⭐ EMPFOHLEN";
  position: absolute;
  top: -18px;
  right: 20px;
  background-color: #ffb300;
  color: #663c00;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transform: rotate(3deg);
}

/* 4. Timeline - Comic/Social Feed Style with Wavy Line */
.timeline-container {
  position: relative;
}

/* SVG wavy timeline line */
.timeline-line-svg {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 60px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.timeline-path {
  stroke-dasharray: 0;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  position: relative;
  z-index: 1;
}
.timeline-step {
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-step.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-text h3 {
  position: relative;
  padding-left: 0;
}
.timeline-image .header-placeholder {
  height: 14rem;
  border-width: 1px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-step.animate-in .timeline-image .header-placeholder {
  opacity: 1;
  transform: scale(1);
}

/* Alternating rotations for timeline images */
.timeline-step:nth-child(odd) .header-placeholder {
  transform: scale(0.8) rotate(1deg);
}
.timeline-step:nth-child(even) .header-placeholder {
  transform: scale(0.8) rotate(-1deg);
}

.timeline-step.animate-in:nth-child(odd) .header-placeholder {
  transform: scale(1) rotate(1deg);
}
.timeline-step.animate-in:nth-child(even) .header-placeholder {
  transform: scale(1) rotate(-1deg);
}

/* 5. Testimonial/Final CTA - Central Graphic Element */
#testimonial-section blockquote {
  max-width: 1000px;
  margin: 0 auto;
  border-left: none;
  border: 4px solid #7c3aed;
  padding: 3rem 3rem;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  transform: rotate(-0.5deg);
  transition: transform 0.3s ease;
  position: relative;
}
#testimonial-section blockquote:hover {
  transform: rotate(0deg) scale(1.02);
}
#testimonial-section blockquote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 8rem;
  color: #7c3aed;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.2;
}
#testimonial-section .text-lead {
  font-size: 1.5rem;
  font-style: italic;
  color: #1f2937;
  font-weight: 600;
}
#testimonial-section footer {
  margin-top: 2rem;
  font-size: 1.1rem;
}

/* Final CTA - Full Surface Strong Action */
.section.bg-lavender:last-of-type {
  padding: 8rem 0;
}

.section.bg-lavender:last-of-type .h2 {
  font-size: 2rem;
  margin-bottom: 0;
}

.btn-action.btn-action-final {
  background-color: #6ee677;
  color: #111827;
  font-size: 1.1rem;
  padding: 12px 28px;
  width: auto;
  min-width: auto;
  box-shadow: 0 4px 12px rgba(110, 230, 119, 0.4);
  animation: none;
}

.btn-action.btn-action-final:hover {
  background-color: #5cd966;
  box-shadow: 0 6px 16px rgba(110, 230, 119, 0.5);
  transform: scale(1.03) translateY(-1px);
}

/* 6. Footer - Spielerisch & Modern */
#main-footer {
  background: linear-gradient(135deg, #f8f3ff 0%, #fff5f7 50%, #f0fbff 100%);
  color: #4b5563;
  border-top: none;
  padding: 5rem 0 3rem 0;
  position: relative;
}

#main-footer .footer-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

#main-footer .nav-logo-link {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#main-footer .nav-logo-link .text-primary {
  color: #ff6b6b;
}

#main-footer a {
  color: #4b5563;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
}

#main-footer a:hover {
  color: #7c3aed;
  transform: translateX(4px);
}

#main-footer a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.25s ease;
  color: #7c3aed;
}

#main-footer a:hover::before {
  opacity: 1;
  left: -16px;
}

.footer-col-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.footer-column .text-gray-light {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

@media (min-width: 1024px) {
  /* Größere Überschriften auf Desktop */
  .h1 {
    font-size: 3rem;
  }
  .h2 {
    font-size: 2.5rem;
  }
  .section.bg-lavender:last-of-type .h2 {
    font-size: 3rem;
  }

  .container {
    padding: 0 6rem;
  }

  /* Nav Container Override */
  .nav .container {
    padding: 0 32px;
  }

  .header-content {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
  }
  .header-text {
    width: 58%;
    text-align: left;
  }

  /* Desktop Menu wird sichtbar */
  #desktop-menu {
    display: flex;
  }

  /* Burger Menu auf Desktop verstecken */
  .burger-menu {
    display: none;
  }

  .grid-3-cols-responsive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  /* Maintain sticker rotations on desktop - benefits only */
  #vorteile .grid-3-cols-responsive > *:nth-child(1) {
    transform: rotate(-0.5deg);
  }
  #vorteile .grid-3-cols-responsive > *:nth-child(2) {
    transform: rotate(0.5deg);
  }
  #vorteile .grid-3-cols-responsive > *:nth-child(3) {
    transform: rotate(-0.3deg);
  }
  #vorteile .grid-3-cols-responsive > *:hover {
    transform: translateY(-8px) rotate(0deg);
    border-color: #7c3aed;
  }
  /* Pricing desktop */
  #preise .grid-3-cols-responsive > *:nth-child(1) {
    transform: rotate(-0.3deg);
  }
  #preise .grid-3-cols-responsive > *:nth-child(3) {
    transform: rotate(0.3deg);
  }
  #preise .pricing-recommended {
    transform: scale(1.05) rotate(0deg);
  }
  .timeline-container {
    position: relative;
  }

  /* Desktop: wavy line stays centered */
  .timeline-line-svg {
    width: 100px;
  }

  .timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
  }
  .timeline-step > div {
    width: 50%;
    padding: 0 4rem;
  }
  /* Respect HTML order for alternating pattern */
  .timeline-step:nth-child(odd) .timeline-text {
    text-align: right;
    order: 1;
  }
  .timeline-step:nth-child(odd) .timeline-image {
    order: 2;
  }
  .timeline-step:nth-child(even) .timeline-text {
    text-align: left;
    order: 2;
  }
  .timeline-step:nth-child(even) .timeline-image {
    order: 1;
  }

  /* Footer Desktop Grid */
  #main-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    justify-content: space-between;
    text-align: left;
  }

  #main-footer .footer-column {
    gap: 1.5rem;
  }

  /* Add-ons & FAQ desktop layout */
  .addons-faq-grid {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }

  .addons-column {
    flex: 1;
    min-width: 300px;
  }

  .faq-column {
    flex: 2;
    min-width: 400px;
  }

  .addons-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Add-ons & FAQ Grid Layout */
.addons-faq-grid {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
}

.addons-column {
  flex: 1;
  min-width: 300px;
  padding-top: 1rem;
}

.faq-column {
  flex: 2;
  min-width: 400px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-column:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .addons-faq-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .addons-column,
  .faq-column {
    min-width: auto;
    flex: none;
  }
}

/* Add-ons Row Styling */
.addons-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.addon-item {
  background: #ffffff !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 2rem 2rem !important;
  text-align: left !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 1.25rem !important;
  min-height: 90px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  border-left: 4px solid #e5e7eb !important;
}

.addon-item:nth-child(1) {
  border-left-color: #3b82f6 !important;
}

.addon-item:nth-child(2) {
  border-left-color: #10b981 !important;
}

.addon-item:nth-child(3) {
  border-left-color: #f59e0b !important;
}

/* Add-ons Sticker Effect */

.addon-item::before {
  content: "COMING SOON...";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 140px;
  height: 32px;
  background-color: #8b5cf6;
  border-radius: 4px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Different rotations for each add-on sticker */
.addon-item:nth-child(1)::before {
  transform: translateX(-50%) rotate(-2deg);
  background-color: #8b5cf6;
}

.addon-item:nth-child(2)::before {
  transform: translateX(-50%) rotate(2deg);
  background-color: #10b981;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.addon-item:nth-child(3)::before {
  transform: translateX(-50%) rotate(-1deg);
  background-color: #f59e0b;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.addon-item:hover {
  transform: translateY(-2px);
  border-color: #7c3aed;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.12);
  background: #fefbff !important;
}

.addon-item:hover .addon-price {
  color: #6d28d9;
  transform: scale(1.02);
}

.addon-header {
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.addon-header .h4 {
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.addon-description {
  font-size: 0.875rem;
  margin: 0 !important;
  line-height: 1.4;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

.addon-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.addon-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #7c3aed;
  margin: 0 !important;
  line-height: 1;
}

.price-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  margin: 0 !important;
  margin-top: 0.25rem !important;
  line-height: 1;
}

.addon-title {
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

/* FAQ Styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.4;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #7c3aed;
}

.faq-toggle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7c3aed;
  transition: transform 0.3s ease;
  user-select: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

/* ======================================== */
/* CHAT MODAL STYLING */
/* ======================================== */

.chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chat-modal.active {
  opacity: 1;
  visibility: visible;
}

.chat-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.chat-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 520px;
  height: auto;
  max-height: 90vh;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.chat-modal.active .chat-modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.chat-modal-header {
  background: linear-gradient(135deg, #6ee677 0%, #22d88f 100%);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-modal-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.chat-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #111827;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.chat-modal-close:hover {
  background-color: rgba(17, 24, 39, 0.1);
  transform: scale(1.1);
}

.chat-modal-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.form-container {
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.form-intro {
  text-align: center;
  margin-bottom: 1.25rem;
}

.form-intro h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.form-intro p {
  color: #6b7280;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  width: 100%;
  box-sizing: border-box;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.form-group input {
  padding: 0.75rem 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: #6ee677;
  box-shadow: 0 0 0 3px rgba(110, 230, 119, 0.1);
  transform: translateY(-1px);
}

.form-group input.error {
  border-color: #ef4444;
}

.btn-submit {
  background: linear-gradient(135deg, #6ee677 0%, #22d88f 100%);
  color: #111827;
  border: none;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  font-family: "Poppins", sans-serif;
  width: 100%;
  border: 2px solid transparent;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(110, 230, 119, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-success {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22d88f;
  border-radius: 12px;
  margin-top: 0;
}

.form-success h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.form-success p {
  color: #374151;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.form-success p:last-child {
  margin-bottom: 0;
}

.form-success strong {
  color: #111827;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .chat-modal-container {
    width: 95%;
    margin: 1rem;
  }

  .chat-modal-body {
    padding: 1.25rem;
  }

  .form-intro {
    margin-bottom: 1rem;
  }

  .form-intro h4 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
  }

  .form-intro p {
    font-size: 0.85rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .signup-form {
    padding: 0.875rem;
    gap: 0.875rem;
  }
}

@media (max-width: 480px) {
  .chat-modal-container {
    width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }

  .chat-modal-header {
    padding: 1rem;
  }

  .chat-modal-body {
    padding: 1rem;
  }

  .form-intro {
    margin-bottom: 0.875rem;
  }

  .form-intro h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .form-intro p {
    font-size: 0.8rem;
  }

  .signup-form {
    padding: 0.875rem;
    gap: 1rem;
  }
}
