/* ==========================================================================
   KreativBee - Stylesheet (V2 Modern Aesthetic)
   ========================================================================== */

:root {
  --bg-sky-top: #E2F3FF;
  --bg-sky-mid: #F6F8FE;
  --bg-yellow-soft: #FFFDEB;
  
  --text-dark: #1E293B;
  --text-blue: #0F172A;
  --text-muted: #64748B;
  
  --btn-yellow: #FFD542;
  --btn-yellow-hover: #FFC72C;
  --badge-pdf: #FF4757;
  
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;
  
  --shadow-soft: 0 10px 25px rgba(100, 116, 139, 0.08);
  --shadow-card: 0 14px 30px rgba(71, 85, 105, 0.12);
  --shadow-active: 0 22px 48px rgba(30, 41, 59, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(180deg, 
    var(--bg-sky-top) 0%, 
    var(--bg-sky-mid) 30%, 
    var(--bg-yellow-soft) 65%, 
    #FFFDF7 100%
  );
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Sky Background Elements */
.sky-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}

.bg-sparkle {
  position: absolute;
  color: #FACC15;
  font-size: 1.5rem;
}
.sp-1 { top: 80px; left: 10%; }
.sp-2 { top: 180px; left: 42%; }
.sp-3 { top: 70px; right: 28%; }

.bg-heart {
  position: absolute;
  color: #C084FC;
  font-size: 1.2rem;
}
.ht-1 { top: 220px; left: 15%; }
.ht-2 { top: 310px; right: 12%; }

/* Grundklasse für die Hintergrundwolken */
.bg-cloud {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.03));
}

.cloud-1 {
  top: 40px;
  left: -40px;
  width: 220px;
  transform: rotate(-3deg);
}

.cloud-2 {
  top: 90px;
  right: 5%;
  width: 280px;
  opacity: 0.35;
}

.cloud-3 {
  top: 260px;
  left: 12%;
  width: 340px;
  transform: scaleX(-1);
}

.cloud-4 {
  top: 160px;
  right: 45%;
  width: 340px;
  transform: scaleX(-1);
}

/* Baloon */
.bg-baloon {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  top: 90px;
  left: 2%;
  width: 380px;
  animation: floatBalloon 6s ease-in-out infinite;
}

@keyframes floatBalloon {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Navigation Header */
.site-header {
  position: relative;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rainbow-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 450px;
  width: 100%;
}

.rainbow {
  pointer-events: none;
  width: 250%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-badge-sticker {
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

/* Container-Span zentrieren */
.newsletter-card .newsletter-icon {
  display: block;
  margin: 0 auto 10px auto;
}

/* Das Zeitungs-Bild selbst begrenzen und zentrieren */
.newsletter-card img.news-icon {
  pointer-events: none;
  height: 70px;          /* Begrenzt die Höhe exakt wie beim Kontakt-Icon */
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.contact-card .contact-icon {
  display: block;        /* Macht das span zu einem Block-Element */
  margin: 0 auto 10px auto; /* Zentriert es horizontal automatisch (auto links/rechts) */
}

/* Das Bild selbst steuern */
.contact-card img.contact-icon {
  pointer-events: none;
  height: 70px;          /* Gewünschte Höhe */
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;        /* Zentriert das Bild im Container */
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  pointer-events: none;
  height: 102px;
  width: auto;
  object-fit: contain;
}

.brand-logo-img-btn {
  pointer-events: none;
  height: 34px; /* <--- Hier etwas vergrößert für mehr Präsenz */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 8px;
}

.brand-logo-alt-img {
  pointer-events: none;
  height: 128px;
  width: auto;
  object-fit: contain;
  animation: floatBee 4s ease-in-out infinite;  
}

@keyframes floatBee {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-13px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}


.brand-logo-img_alt {
  pointer-events: none;
  height: 128px;
  width: auto;
  object-fit: contain;
}

.fallback-logo-emoji {
  font-size: 2.8rem;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0284C7;
  line-height: 1;
}

.highlight-bee {
  color: #F59E0B;
}

.brand-tagline {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px !important;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  padding: 10px 18px !important;
  border-radius: 40px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.nav-link {
  text-decoration: none;
  white-space: nowrap !important;
  font-weight: 700;
  font-size: 0.88rem !important;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px !important;
  transition: color 0.2s, transform 0.15s;
}



.nav-link:hover, .nav-link.active {
  color: #0284C7;
  transform: translateY(-1px);
}

.nav-link.active span:last-child {
  border-bottom: 3px solid #F59E0B;
  padding-bottom: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn, .search-btn {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 25px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s, border-color 0.2s;
}

.lang-btn:hover, .search-btn:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 10px auto 0;
  padding: 20px 32px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: #1E1B4B;
  margin-bottom: 18px;
}

.title-accent {
  color: #312E81;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #475569;
  max-width: 500px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-badge {
  position: absolute;
  bottom: 25px;
  right: 10px;
  background: #FEF08A;
  padding: 16px 22px;
  border-radius: 20px;
  transform: rotate(4deg);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #1E293B;
  border: 3px solid #FFFFFF;
}

/* Carousel & Layout Struktur */
.carousel-section {
  width: 100%;
  background-color: #fcfdff !important; 
  background-image: 
    linear-gradient(to right, rgba(78, 205, 196, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(78, 205, 196, 0.025) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  padding: 40px 0;
  position: relative;
}

/* Äußerster Wrapper, der die Pfeile und das Karussell hält */
.carousel-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px; /* Platz für die Pfeile links und rechts */
}

/* Der Container bekommt etwas Padding nach oben, damit die skalierte/verschobene Karte nicht abgeschnitten wird */
.carousel-container, .carousel-viewport {
  overflow: hidden !important;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-top: 15px; /* NEU: Verhindert das Abschneiden der aktiven Karte oben */
  padding-bottom: 15px; /* NEU: Platz für den unteren Schatten */
}

/* Der Track bewegt sich per transform */
.carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Pfeile links und rechts neben dem Karussell */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: #FFFFFF;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2.2rem;
  line-height: 1;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.nav-arrow:hover {
  background: #FEF08A;
  transform: translateY(-50%) scale(1.12);
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Karten Styling - Alle Karten haben exakt dieselbe feste Breite */
.template-card {
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 24px;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  position: relative;
  opacity: 0.6;
  transform: scale(0.9);
}

/* Die aktive Karte in der Mitte wird skaliert, behält aber ihre Layout-Breite bei */
.template-card.active-slide {
  transform: scale(1.05) translateY(-8px);
  opacity: 1;
  z-index: 10;
  box-shadow: var(--shadow-active);
  cursor: default;
}

.pdf-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--badge-pdf);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.35);
  z-index: 2;
}

/* Vorschau-Container einheitlich halten */
.card-preview {
  height: 200px;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 24px 0 0;
  border-bottom: 2px dashed #F1F5F9;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.template-card.active-slide .card-preview {
  height: 220px;
}

.card-preview img,
.card-preview .preview-img {
  pointer-events: none;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.card-info {
  padding: 18px 20px 22px;
  text-align: center;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
  border-radius: 0 0 24px 24px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #1E1B4B;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 8px 0 16px 0;
  line-height: 1.4;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--btn-yellow);
  color: #1E293B;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  padding: 14px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 213, 66, 0.5);
  transition: transform 0.2s, background 0.2s;
}

.download-btn:hover {
  background: var(--btn-yellow-hover);
  transform: translateY(-2px);
}

/* Karussell Footer & Dots */
.carousel-bottom-bar {
  position: relative;
  max-width: 900px;
  margin: 25px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-footer-hint {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #334155;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FDE047;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.dot.active {
  opacity: 1;
  transform: scale(1.3);
}

/* Difficulty Pencils */
.difficulty-pencils {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  z-index: 2;
}

.pencil {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-block;
}

.pencil.active {
  opacity: 1;
}

.pencil.inactive {
  opacity: 0.25;
  filter: grayscale(100%);
}

/* Modal Overlay & Content */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalScaleIn 0.3s ease;
}

@keyframes modalScaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #f0f0f0;
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #ff6b6b;
  color: #fff;
}

.modal-body {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.modal-image-container {
  flex: 1;
  min-width: 250px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 16px;
  padding: 15px;
}

.modal-image-container img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
}

.modal-info-container {
  flex: 1;
  min-width: 250px;
}

.modal-pencils {
  margin-bottom: 8px;
  font-size: 1rem;
}

.modal-info-container h2 {
  font-family: var(--font-heading);
  color: #263238;
  font-size: 1.8rem;
  margin: 0 0 5px 0;
}

.modal-sub {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.modal-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1rem;
}

.modal-dl-btn {
  display: inline-block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.modal-ads-section {
  margin-top: 20px;
  border-top: 2px dashed #eee;
  padding-top: 20px;
  text-align: center;
}

.ads-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
  font-weight: 600;
}

.affiliate-banner {
  display: block;
  background: #fff9db;
  border: 2px solid #ffd43b;
  color: #333;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.affiliate-banner:hover {
  background: #ffec99;
  transform: translateY(-2px);
}

/* Section Divider */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 209, 102, 0.4) 30%, 
    rgba(78, 205, 196, 0.5) 50%, 
    rgba(255, 107, 107, 0.4) 70%, 
    rgba(255, 255, 255, 0) 100%
  );
  width: 85%;
  max-width: 650px;
  margin: 45px auto;
  position: relative;
  overflow: visible;
}
.section-divider::after {
  content: ""; /* Muss leer bleiben, damit das Element da ist */
  display: block;
  width: 32px;  /* Passe die Breite an dein Bild an */
  height: 32px; /* Passe die Höhe an dein Bild an */
  background-image: url('assets/website_images/stars.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff; /* Falls du den weißen Hintergrund behalten willst */
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

/* ==========================================================================
   Suchleiste fixieren & ausrichten
   ========================================================================== */
.filter-search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1150px;
  margin: 0 auto;
  margin-top: 25px;
  width: 100%;
}

.filter-search-container .tabs-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

.tab-btn {
  border: 3px solid #FFFFFF;
  border-radius: 40px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  background: #FFFFFF;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.tab-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.tab-btn.active {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.03);
  outline: 3px solid #F59E0B;
  background: #FEF08A;
}

/* Suchfeld Styling */
.search-box {
  position: relative;
  width: 100%;
  max-width: 400px; /* Einheitliche, feste Breite */
  margin: 10px auto 0 auto;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 30px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.search-box:focus-within {
  border-color: #ffd166;
  box-shadow: 0 4px 18px rgba(255, 209, 102, 0.35);
  transform: translateY(-1px);
}

.search-icon {
  font-size: 1rem;
  color: #94A3B8;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-body, inherit);
  font-size: 0.95rem;
  color: #1E1B4B;
  background: transparent;
  padding-left: 8px;
}

.search-box input::placeholder {
  color: #aaa;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #94A3B8;
  padding: 0 4px;
}

.clear-search-btn:hover {
  color: #0F172A;
}

/* About & Contact Cards */
.about-section, .contact-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 32px;
}

.about-card, .contact-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 3px solid #FFFFFF;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about-icon, .contact-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.about-card h2, .contact-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #0F172A;
  margin-bottom: 12px;
}

.about-card p, .contact-card p {
  max-width: 650px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  background: #0284C7;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  transition: transform 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

/* Value Propositions */
.value-props-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 32px;
}

.value-props-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prop-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 26px;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.prop-icon {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.icon-pink { background: #FFE4E6; color: #E11D48; }
.icon-green { background: #DCFCE7; color: #16A34A; }
.icon-purple { background: #F3E8FF; color: #9333EA; }
.icon-blue { background: #E0F2FE; color: #0284C7; }

.prop-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #0F172A;
}

.prop-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  padding: 35px 32px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #0284C7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: #475569;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .value-props-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-bottom-bar {
    flex-direction: column;
    gap: 15px;
  }
  .carousel-outer-wrapper {
    padding: 0 10px;
  }
  .nav-arrow {
    display: none; /* Auf mobilen Geräten per Touch bedienbar */
  }
}


/* Unterkategorien Container & Buttons */
.subcategories-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
  animation: fadeIn 0.3s ease;
}

.subcat-btn {
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 6px 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  background: #FFFFFF;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.subcat-btn:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
}

.subcat-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

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

/* Ebene 3 Container & Buttons */
.sub-sub-container {
  margin-top: 2px;
}

.sub-sub-btn {
  border: 1px dashed #0284C7;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 0.85rem;
  background: #F0F9FF;
  color: #0284C7;
}

.sub-sub-btn.active {
  background: #0284C7;
  color: #FFFFFF;
}

.subcategories-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
  min-height: 44px; /* <--- HIER NEU: Hält den Platz konstant reserviert */
  transition: opacity 0.2s ease;
}


/* ==========================================================================
   Challenge der Woche Sektion (Perfekt ausgefüllt)
   ========================================================================== */
.challenge-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 32px;
}

.challenge-container-wrapper {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 3px solid #FFFFFF;
  padding: 30px 20px 40px 20px; /* Oben etwas kompakter, unten schön ausgeglichen */
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.challenge-header {
  max-width: 600px;
  margin: 0 auto 15px; /* Abstand zur Karte verringert */
}

/* Biene/Pokal Symbol kompakter machen */
.challenge-badge-icon {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 5px;
}

.challenge-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #0F172A;
  margin-bottom: 6px;
}

.challenge-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Äußerer Container für Karussell & Pfeile */
.challenge-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 440px; /* Karte etwas breiter für den Platz */
  margin: 0 auto;
  padding: 0 60px; /* Genug Platz für die Pfeile außerhalb der Karte */
}

.challenge-viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.challenge-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.challenge-card {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  background: #FFFFFF;
  border-radius: 24px;
  border: 3px solid #F1F5F9;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.challenge-card-img {
  width: 100%;
  max-height: 200px; /* Bild etwas größer */
  object-fit: contain;
  margin-bottom: 15px;
}

.challenge-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #1E1B4B;
  margin-bottom: 6px;
}

.challenge-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Pfeile sauber links und rechts außerhalb der Karte positionieren */
.challenge-carousel-outer .nav-arrow.challenge-prev {
  left: -10px;
}

.challenge-carousel-outer .nav-arrow.challenge-next {
  right: -10px;
}

.fav-btn {
  position: absolute;
  top: 60px; /* Platziert es weiter nach unten unter das PDF-Badge */
  right: 16px; /* Hält es rechts am Rand ausgerichtet wie das PDF-Badge */
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, background 0.2s;
}

.fav-btn:hover {
  transform: scale(1.1);
  background: #FEF08A;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.contact-section,
.newsletter-section {
  max-width: 900px; /* Einheitliche maximale Breite */
  margin: 30px auto;
  padding: 0 32px;
}

.contact-card,
.newsletter-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 3px solid #FFFFFF;
  padding: 35px 30px; /* Einheitlicher Innenabstand */
  box-shadow: var(--shadow-soft, 0 10px 30px rgba(0,0,0,0.05));
  text-align: center;
}

/* Icon-Größen vereinheitlichen */
.contact-icon,
.newsletter-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
}

/* Überschriften vereinheitlichen */
.contact-card h2,
.newsletter-card h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: #0F172A;
  margin-bottom: 8px;
}

/* Beschreibungstexte vereinheitlichen */
.contact-card p,
.newsletter-card p {
  font-size: 0.95rem;
  color: var(--text-muted, #64748B);
  max-width: 550px;
  margin: 0 auto 18px auto;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 450px;
  margin: 0 auto 10px auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid #E2E8F0;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1E1B4B;
  background: #FFFFFF;
}

.newsletter-form input:focus {
  border-color: #FACC15; /* Gelber Akzent passend zur Biene */
}

.newsletter-btn {
  background: #FACC15;
  color: #1E1B4B;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  background: #EAB308;
}

.newsletter-privacy {
  font-size: 0.8rem;
  color: #94A3B8;
  display: block;
}


/* Macht die Teaser-Karte im "Demnächst erhältlich"-Bereich noch etwas breiter */
#coming-soon .challenge-card {
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  width: 100% !important;
  padding: 35px !important; /* Etwas mehr Innenabstand für den edlen Look */
}

/* Zentriert den Bereich perfekt */
#coming-soon .challenge-carousel-outer {
  max-width: 100% !important;
  padding: 0 !important;
}

#coming-soon .challenge-viewport {
  overflow: visible !important;
}

#coming-soon .challenge-track {
  display: flex !important;
  justify-content: center !important;
  transform: none !important;
}

#coming-soon .challenge-card-img {
  width: 100% !important;
  max-height: 450px !important; /* Lässt das Bild deutlich größer und detailreicher wirken */
  object-fit: contain !important;
}

#coming-soon .nav-arrow {
  display: none !important;
}