/* ==========================================================================
   Fairjump Konfigurator - Hauptstyles
   Design-System basierend auf copilot-instructions.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variablen / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primärfarben */
  --primary-gradient: linear-gradient(180deg, rgb(219, 43, 95) 0%, rgb(220, 67, 135) 100%);
  --primary-start: rgb(219, 43, 95);
  --primary-end: rgb(220, 67, 135);
  
  /* Kontrastfarbe */
  --contrast-color: #1a1a1a;
  
  /* Hintergrundfarben */
  --bg-white: #ffffff;
  --bg-pattern-dot: #E5E5E5;
  
  /* Schriftarten */
  --font-family: 'Inter', sans-serif;
  
  /* Abstände */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Übergänge */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Schatten */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

/* --------------------------------------------------------------------------
   Basis / Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Fallback for browsers without env() support.
     Top uses gradient start, bottom uses gradient end colour. */
  background-color: rgb(220, 67, 135);
}

body {
  font-family: var(--font-family);
  color: var(--contrast-color);
  background-color: transparent;
  line-height: 1.6;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Hintergrund mit Pink-Gradient und Punktmuster
   -------------------------------------------------------------------------- */
.bg-animated {
  position: fixed;
  top: calc(-1 * env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(219, 43, 95) 0%, rgb(220, 67, 135) 100%);
}

/* Punktmuster-Overlay */
.bg-wave {
  position: fixed;
  top: calc(-1 * env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.25) 1.29px, transparent 1.29px);
  background-size: 23.24px 23.24px;
}

/* Hintergrund-Pattern (optional für Sektionen) */
.bg-pattern {
  position: absolute;
  top: -171.65px;
  left: -29px;
  width: 2000px;
  height: 2000px;
  opacity: 0.3;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--bg-pattern-dot) 1.29px, transparent 1.29px);
  background-size: 23.24px 23.24px;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Container & Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.konfigurator {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Header mit Gradient-Hintergrund für Logo
   -------------------------------------------------------------------------- */
.konfigurator-header {
  background: var(--primary-gradient);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  margin: 0 calc(-1 * var(--spacing-md));
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

/* Dezenter Glanz-Effekt auf Header */
.konfigurator-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.logo {
  max-width: 200px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* --------------------------------------------------------------------------
   Progress/Schritt-Anzeige
   -------------------------------------------------------------------------- */
.progress-bar {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) 0;
  margin-bottom: var(--spacing-lg);
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--contrast-color);
  transition: var(--transition-normal);
  position: relative;
}

.progress-step::after {
  content: '';
  position: absolute;
  right: -calc(var(--spacing-sm) + 2px);
  width: var(--spacing-sm);
  height: 2px;
  background: #e5e5e5;
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.active {
  background: var(--primary-gradient);
  color: white;
}

.progress-step.completed {
  background: var(--primary-start);
  color: white;
}

/* --------------------------------------------------------------------------
   Funnel-Schritte
   -------------------------------------------------------------------------- */
.funnel-step {
  flex: 1;
  display: none;
  flex-direction: column;
  padding: var(--spacing-lg) 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.funnel-step.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.step-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* --------------------------------------------------------------------------
   Optionen-Karten
   -------------------------------------------------------------------------- */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 600px) {
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.option-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.option-card:hover {
  border-color: var(--primary-start);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.option-card.selected {
  border-color: var(--primary-start);
  background: linear-gradient(180deg, rgba(219, 43, 95, 0.05) 0%, rgba(220, 67, 135, 0.05) 100%);
}

.option-card img {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: var(--spacing-sm);
}

.option-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.option-card p {
  font-size: 0.875rem;
  color: #666;
}

/* --------------------------------------------------------------------------
   Formulare
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid #e5e5e5;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-start);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--contrast-color);
  border: 2px solid #e5e5e5;
}

.btn-secondary:hover {
  border-color: var(--primary-start);
  color: var(--primary-start);
}

.btn-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: auto;
  padding-top: var(--spacing-lg);
}

/* --------------------------------------------------------------------------
   Scroll-Animationen (mit Intersection Observer)
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive Anpassungen
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .step-title {
    font-size: 2rem;
  }
  
  .progress-step {
    width: 50px;
    height: 50px;
  }
}

@media (min-width: 1024px) {
  .step-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Site Header (Landingpage) - Logo zentriert, transparenter Hintergrund
   -------------------------------------------------------------------------- */
.site-header {
  background: transparent;
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.header-logo {
  display: inline-block;
}

.header-logo .logo {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.btn-shop {
  font-size: 0.875rem;
  padding: 10px 16px;
  white-space: nowrap;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-shop:hover {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .btn-shop {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
  .btn-shop svg {
    display: none;
  }
  .header-logo .logo {
    max-width: 140px;
  }
}

/* --------------------------------------------------------------------------
   USP Sektion
   -------------------------------------------------------------------------- */
.usp-section {
  padding: var(--spacing-xl) 0;
}

.usp-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .usp-headline {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .usp-headline {
    font-size: 2.25rem;
  }
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usp-item {
  display: flex;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
}

.usp-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  color: white;
  box-shadow: 0 4px 12px rgba(219, 43, 95, 0.3);
}

.usp-content {
  flex: 1;
}

.usp-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.usp-text {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Hero Sektion
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero-headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   Features Liste (Inklusiv-Leistungen)
   -------------------------------------------------------------------------- */
.features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  color: white;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-text {
  font-weight: 600;
  color: var(--contrast-color);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.products-section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* --------------------------------------------------------------------------
   Package Info Box
   -------------------------------------------------------------------------- */
.package-info {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.package-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

@media (min-width: 768px) {
  .package-info-title {
    font-size: 1.5rem;
  }
}

.package-info-subtitle {
  font-size: 0.9375rem;
  color: #555;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--spacing-xs);
}

@media (min-width: 768px) {
  .package-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
}

.package-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

.package-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Products Grid
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Product Card
   -------------------------------------------------------------------------- */
.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Product Slider
   -------------------------------------------------------------------------- */
.product-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f5;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.slider-slide.active {
  opacity: 1;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(128, 128, 128, 0.7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(100, 100, 100, 0.9);
}

.slider-arrow-prev {
  left: 10px;
}

.slider-arrow-next {
  right: 10px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Touch-freundlich auf Mobile */
@media (max-width: 767px) {
  .slider-arrow {
    opacity: 1;
    width: 32px;
    height: 32px;
  }
  
  .slider-arrow-prev {
    left: 6px;
  }
  
  .slider-arrow-next {
    right: 6px;
  }
}

.product-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: var(--spacing-xs);
}

.product-subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0 0 var(--spacing-sm) 0;
  font-weight: 600;
  line-height: 1.5;
}

.product-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary-start);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.product-badge-custom {
  color: #666;
}

.product-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
  flex: 1;
}

.product-includes li {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.375rem;
}

.product-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-start);
  font-weight: 700;
  font-size: 0.75rem;
}

.product-description {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

@media (min-width: 480px) {
  .product-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.product-card .btn-primary {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.875rem;
  width: 100%;
}

@media (min-width: 480px) {
  .product-card .btn-primary {
    width: auto;
  }
}

/* Bestseller Badge */
.product-card-bestseller {
  position: relative;
}

.bestseller-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Custom Product Card (Individuell) */
.product-card-custom {
  border: 2px dashed rgba(219, 43, 95, 0.4);
  background: rgba(255, 255, 255, 0.9);
}

.product-card-custom .product-image {
  background: linear-gradient(135deg, rgba(219, 43, 95, 0.1) 0%, rgba(220, 67, 135, 0.1) 100%);
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-disclaimer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Footer Navigation Links */
.bottom-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-md);
}

.bottom-nav-links li {
  display: inline;
}

.bottom-nav-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition-fast);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.bottom-nav-links a:hover {
  color: white;
  text-decoration: underline;
}

/* Copyright Info */
.copyright-info {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.copyright-info li {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.copyright-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition-fast);
}

.copyright-info a:hover {
  color: white;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Galerie Showcase
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: var(--spacing-xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: var(--transition-normal);
  box-sizing: border-box;
  font-family: inherit;
}

.gallery-load-more:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.load-more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.load-more-content svg {
  opacity: 0.9;
}

.gallery-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.gallery-cta .btn {
  padding: 14px 28px;
  min-width: 260px;
  justify-content: center;
}

.btn-shop-large {
  font-size: 1rem;
  padding: 14px 28px;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-shop-large:hover {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Optionen & Extras Sektion
   -------------------------------------------------------------------------- */
.extras-section {
  padding: var(--spacing-xl) 0;
}

.extras-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.6;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
  .extras-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.extras-category {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.extras-category-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-start);
}

.extras-category-title svg {
  color: var(--primary-start);
  flex-shrink: 0;
}

.extras-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #eee;
}

.extras-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.extras-info {
  flex: 1;
}

.extras-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--contrast-color);
  margin: 0 0 var(--spacing-xs);
  line-height: 1.3;
}

.extras-desc {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.extras-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-start);
  white-space: nowrap;
  flex-shrink: 0;
}

.extras-price small {
  font-size: 0.7rem;
  font-weight: 500;
  color: #888;
}

.extras-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: var(--spacing-xl);
  font-style: italic;
}

.extras-cta,
.usp-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.btn-back-products {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-back-products:hover {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

/* Extras-Link in Produkt-Listen */
.extras-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--primary-start);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.extras-link:hover {
  color: var(--primary-end);
  text-decoration: underline;
}

.extras-link::after {
  content: '→';
  font-size: 0.85em;
}


/* ==========================================================================
   Konfigurator – page-specific styles (moved from inline)
   ========================================================================== */

/* ── CSS-Variablen (Konfigurator) ── */
:root {
  --kfg-card-bg:      #ffffff;
  --kfg-card-border:  rgba(0, 0, 0, 0.08);
  --kfg-input-bg:     #f4f5f7;
  --kfg-input-border: rgba(0, 0, 0, 0.14);
  --kfg-input-focus:  #fd2760;
  --kfg-label-color:  rgba(0, 0, 0, 0.50);
  --kfg-text:         #111827;
  --kfg-error:        #dc2626;
  --kfg-error-bg:     rgba(220, 38, 38, 0.07);
  --kfg-success:      #16a34a;
  --kfg-radius:       12px;
  --kfg-transition:   0.2s ease;
}

/* ── Hero ── */
.kfg-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.kfg-back-link {
  margin-bottom: 2rem;
}

.kfg-model-chip svg { flex-shrink: 0; }

.kfg-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.kfg-hero-sub {
  color: rgba(255, 255, 255, 0.70);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Hauptkarte ── */
.kfg-card {
  background: var(--kfg-card-bg);
  border: 1px solid var(--kfg-card-border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 3rem;
}

/* ── Abschnitt-Trenner ── */
.kfg-section {
  margin-bottom: 2rem;
}
.kfg-section + .kfg-section {
  padding-top: 2rem;
  border-top: 1px solid var(--kfg-card-border);
}
.kfg-section-header {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.5rem;
}
.kfg-section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--kfg-text);
  margin: 0;
}
.kfg-section-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 39, 96, 0.10) !important;
  border-radius: 8px;
  color: #fd2760 !important;
  flex-shrink: 0;
}
.kfg-optional-pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kfg-label-color);
  background: rgba(0, 0, 0, 0.06);
  padding: 0.2em 0.65em;
  border-radius: 100px;
  margin-left: auto;
}

/* ── Grid ── */
.kfg-grid {
  display: grid;
  gap: 1.25rem;
}
.kfg-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .kfg-grid-2 { grid-template-columns: 1fr; } }

/* ── Formulargruppen ── */
.kfg-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kfg-group.span-2 { grid-column: 1 / -1; }

.kfg-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kfg-label-color);
}
.kfg-label .required-star {
  color: #fd2760;
  margin-left: 2px;
}

.kfg-input,
.kfg-select,
.kfg-textarea {
  background: var(--kfg-input-bg);
  border: 1.5px solid var(--kfg-input-border);
  border-radius: var(--kfg-radius);
  color: var(--kfg-text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--kfg-transition), box-shadow var(--kfg-transition), background var(--kfg-transition);
  width: 100%;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.kfg-input::placeholder,
.kfg-textarea::placeholder { color: rgba(0,0,0,0.25); }

.kfg-input:focus,
.kfg-select:focus,
.kfg-textarea:focus {
  border-color: #fd2760;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(253, 39, 96, 0.15);
}

.kfg-input.has-error,
.kfg-select.has-error,
.kfg-textarea.has-error {
  border-color: var(--kfg-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Datepicker */
.kfg-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
  cursor: pointer;
  opacity: 0.5;
}

/* Select-Pfeil */
.kfg-select-wrapper {
  position: relative;
}
.kfg-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--kfg-label-color);
  pointer-events: none;
}
.kfg-select { padding-right: 2.5rem; cursor: pointer; }
.kfg-select option {
  background: #ffffff;
  color: var(--kfg-text);
}
.kfg-select option:disabled { color: rgba(0,0,0,0.3); }

.kfg-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ── Upload-Zone ── */
.kfg-upload-zone {
  border: 2px dashed var(--kfg-input-border);
  border-radius: var(--kfg-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--kfg-transition), background var(--kfg-transition);
  position: relative;
  background: var(--kfg-input-bg);
}
.kfg-upload-zone:hover,
.kfg-upload-zone.dragover {
  border-color: #fd2760;
  background: rgba(253, 39, 96, 0.05);
}
.kfg-upload-zone.has-file {
  border-style: solid;
  border-color: var(--kfg-success);
  background: rgba(22, 163, 74, 0.07);
}
.kfg-upload-zone.has-error {
  border-color: var(--kfg-error);
  background: var(--kfg-error-bg);
}
.kfg-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.kfg-upload-icon {
  display: block;
  margin: 0 auto 0.75rem;
  color: #fd2760;
  opacity: 0.8;
}
.kfg-upload-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kfg-text);
  display: block;
  margin-bottom: 0.3rem;
}
.kfg-upload-hint {
  font-size: 0.78rem;
  color: var(--kfg-label-color);
  line-height: 1.5;
}
.kfg-upload-hint strong {
  color: #fd2760;
  font-weight: 600;
}
.kfg-upload-filename {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--kfg-success);
  display: none;
}
.kfg-upload-filename.visible { display: block; }

/* ── Fehler-Meldung ── */
.kfg-field-error {
  font-size: 0.78rem;
  color: var(--kfg-error);
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.kfg-field-error svg { flex-shrink: 0; }

.kfg-global-error {
  background: var(--kfg-error-bg);
  border: 1px solid rgba(220, 38, 38, 0.30);
  border-radius: var(--kfg-radius);
  padding: 1rem 1.25rem;
  color: var(--kfg-error);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
}

/* ── Submit-Bereich ── */
.kfg-form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--kfg-card-border);
  margin-top: 0.5rem;
}
.kfg-submit-note {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.5;
}
.kfg-submit-note a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: underline;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8em 2em;
  border: none;
  cursor: pointer;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ── Konfigurator-Section ── */
.kfg-section-wrap {
  padding: 0 0 4rem;
}

/* ── Datum-Hinweis ── */
.kfg-date-hint {
  font-size: 0.78rem;
  color: var(--kfg-label-color);
  line-height: 1.4;
}

/* ── Spinner-Animation ── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Danke-Seite – page-specific styles (moved from inline)
   ========================================================================== */

:root {
  --dk-card-bg:     #ffffff;
  --dk-card-border: rgba(0, 0, 0, 0.08);
  --dk-text:        #111827;
  --dk-muted:       rgba(0, 0, 0, 0.50);
  --dk-primary:     var(--primary-gradient, linear-gradient(180deg, rgb(219, 43, 95) 0%, rgb(220, 67, 135) 100%));
  --dk-success:     #16a34a;
  --dk-radius:      20px;
}

/* ── Fullpage-Layout ── */
.danke-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 3rem 0 5rem;
}

/* ── Karte ── */
.danke-card {
  background: var(--dk-card-bg);
  border: 1px solid var(--dk-card-border);
  border-radius: var(--dk-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Animierter Check ── */
.danke-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.40);
  margin: 0 auto 1.75rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.danke-check svg {
  stroke: var(--dk-success);
  animation: drawCheck 0.5s 0.3s ease both;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

@keyframes popIn {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ── Modell-Chip (ausgeblendet) ── */
.danke-model-chip {
  display: none;
}

/* ── Titel ── */
.danke-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--dk-text);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.danke-sub {
  color: var(--dk-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.danke-sub strong {
  color: var(--dk-text);
  font-weight: 600;
}

/* ── Nächste Schritte ── */
.danke-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  margin-bottom: 2.5rem;
  border: 1px solid var(--dk-card-border);
  border-radius: 14px;
  overflow: hidden;
}
.danke-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--dk-card-border);
  transition: background 0.2s;
}
.danke-step:last-child { border-bottom: none; }
.danke-step:hover { background: rgba(0,0,0,0.055); }
.danke-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.danke-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.danke-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dk-text);
}
.danke-step-desc {
  font-size: 0.8rem;
  color: var(--dk-muted);
  line-height: 1.5;
}

/* ── CTA-Buttons ── */
.danke-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.danke-actions .btn {
  min-width: 240px;
  justify-content: center;
}
@media (min-width: 500px) {
  .danke-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ── Label optional hint ── */
.kfg-label-optional {
  font-weight: 400;
  text-transform: none;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: rgba(0, 0, 0, 0.38);
  margin-left: 0.25em;
}

/* ── Danke: "Wie geht es jetzt weiter?" ── */
.danke-steps-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dk-muted, rgba(0,0,0,0.45));
  margin-bottom: 0.6rem;
  text-align: center;
}

/* ── Konfigurator: Spinner-Klasse ── */
.kfg-spinner {
  animation: spin 0.9s linear infinite;
  vertical-align: middle;
}

/* ── Konfigurator: Lade-Overlay ── */
.kfg-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.kfg-loading-overlay.is-visible {
  display: flex;
}
.kfg-loading-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 320px;
  width: 90%;
}
.kfg-loading-spinner {
  color: rgb(219, 43, 95);
  animation: spin 0.9s linear infinite;
}
.kfg-loading-title {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
  margin: 0;
}
.kfg-loading-hint {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Floating Contact Button (WhatsApp / Telefon)
   -------------------------------------------------------------------------- */
.cfloat {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@media (max-width: 480px) {
  .cfloat {
    bottom: 14px;
    right: 12px;
    gap: 8px;
  }

  .cfloat-btn {
    width: 46px;
    height: 46px;
  }

  .cfloat-btn svg {
    width: 22px;
    height: 22px;
  }

  .scroll-top-btn {
    width: 46px;
    height: 46px;
  }

  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Scroll-to-top button (index.php) */
.scroll-top-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(219, 43, 95, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.2s;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(219, 43, 95, 0.5);
}

.cfloat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cfloat-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.cfloat-icon-close { display: none; }
.cfloat.is-open .cfloat-icon-wa   { display: none; }
.cfloat.is-open .cfloat-icon-close { display: block; }

.cfloat-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  padding: 1rem 1.25rem;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: bottom right;
}

.cfloat.is-open .cfloat-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cfloat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 0.2rem;
}

.cfloat-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.cfloat-wa  { background: #dcfce7; color: #16a34a; }
.cfloat-wa:hover  { background: #bbf7d0; color: #15803d; }
.cfloat-tel { background: #f3f4f6; color: #374151; }
.cfloat-tel:hover { background: #e5e7eb; color: #1f2937; }
.cfloat-email { background: #eff6ff; color: #1d4ed8; }
.cfloat-email:hover { background: #dbeafe; color: #1e40af; }

/* --------------------------------------------------------------------------
   Header phone box (desktop only)
   -------------------------------------------------------------------------- */
.header-phone-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 0.45rem 1rem;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.3;
}

.header-phone-box:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.2);
}

.header-phone-tagline {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.header-phone-number {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .header-phone-box { display: none; }
}

/* --------------------------------------------------------------------------
   Konfigurator contact hint (below form submit)
   -------------------------------------------------------------------------- */
.kfg-contact-hint {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.45);
  margin: 0.5rem 0 0;
}

.kfg-contact-hint a {
  color: rgb(219, 43, 95);
  text-decoration: none;
  font-weight: 500;
}

.kfg-contact-hint a:hover { text-decoration: underline; }
