/* ============================================================
   KINDERZAUBERER ROY TOVER – styles.css
   Hauptstylesheet für alle Seiten
   ============================================================ */

/* ── RESET & VARIABLEN ── */
:root {
  --purple:  #6C3CE1;
  --yellow:  #FFD700;
  --pink:    #FF6BB5;
  --teal:    #00CDB8;
  --orange:  #FF7B2C;
  --dark:    #1A0B3B;
  --dark2:   #2D1562;
  --dark3:   #110726;
  --light:   #FFF8F0;
  --white:   #ffffff;
  --text:    #333344;
  --text-muted: #666680;

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --shadow-sm:  0 4px 16px rgba(108,60,225,.10);
  --shadow-md:  0 8px 32px rgba(108,60,225,.14);
  --shadow-lg:  0 16px 56px rgba(108,60,225,.18);

  --transition: .22s ease;
  --max-width:  1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

/* Hintergrundsterne (subtile Dekoration) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,224,77,.45) 0%, transparent 100%),
    radial-gradient(2px 2px at 30% 80%, rgba(255,107,181,.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 60% 10%, rgba(108,60,225,.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 40%, rgba(0,205,184,.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 60%, rgba(255,224,77,.28) 0%, transparent 100%);
}

/* ── HILFSKLASSEN ── */
.inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title .accent { color: var(--purple); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(255,215,0,.48);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255,215,0,.62);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.32);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover {
  border-color: var(--teal);
  background: rgba(0,205,184,.14);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(26,11,59,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(108,60,225,.38);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  object-fit: cover;
}
.nav-logo-text {
  font-family: 'Fredoka One', cursive;
  color: var(--yellow);
  font-size: 1.15rem;
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  color: var(--pink);
  font-size: .66rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .3px;
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--yellow); }
.nav-links a.active::after { transform: scaleX(1); }

/* CTA Button in Nav */
.nav-cta {
  background: var(--yellow);
  color: var(--dark) !important;
  font-weight: 800 !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .86rem !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 4px 16px rgba(255,215,0,.4);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255,215,0,.55) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  z-index: 490;
  background: rgba(26,11,59,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(255,215,0,.18);
  padding: 8px 24px 24px;
  flex-direction: column;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.nav-drawer a {
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--yellow); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 60px 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 58%, #3a1a6e 100%);
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,60,225,.32) 0%, transparent 70%);
  right: -80px;
  top: -80px;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--pink);
  color: white;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  animation: anim-bounce-in .6s ease both;
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: anim-slide-up .7s ease both .1s;
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
  display: block;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 480px;
  animation: anim-slide-up .7s ease both .2s;
}
.hero-subtitle strong { color: var(--teal); font-weight: 800; }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: anim-slide-up .7s ease both .3s;
}

/* Hero image */
.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: anim-float 4s ease-in-out infinite;
}
.hero-image-frame {
  position: relative;
  width: 360px;
  height: 455px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  border: 6px solid var(--yellow);
  overflow: hidden;
  background: linear-gradient(135deg, #3a1a6e, var(--purple));
  box-shadow: 0 20px 60px rgba(108,60,225,.58), 0 0 0 12px rgba(255,215,0,.11);
}
.hero-image-frame img {
  position: absolute;
  left: 52%;
  bottom: -4%;
  width: 106%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.hero-star {
  position: absolute;
  font-size: 1.5rem;
  animation: anim-twinkle 2s ease-in-out infinite;
  pointer-events: none;
}
.hero-star:nth-child(2) { top: 10%; left: -32px;  animation-delay: 0s;   }
.hero-star:nth-child(3) { top: 40%; right: -28px; animation-delay: .5s;  }
.hero-star:nth-child(4) { bottom: 22%; left: -22px; animation-delay: 1s; }
.hero-star:nth-child(5) { top: 14%; right: 8px; font-size: 1rem; animation-delay: 1.5s; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--yellow);
  padding: 22px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Fredoka One', cursive;
  font-size: 1.95rem;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: rgba(26,11,59,.68);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   SHOW SECTION
   ============================================================ */
#show {
  background: white;
  padding: 88px 60px;
}
.show-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.show-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--purple);
  flex-shrink: 0;
}
.show-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.show-features { margin-top: 26px; }
.show-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(108,60,225,.18);
  font-size: .93rem;
  line-height: 1.55;
  color: var(--text);
}
.show-features li:last-child { border-bottom: none; }
.feat-icon {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .84rem;
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
#events {
  background: linear-gradient(160deg, #f0eaff 0%, #fff8f0 100%);
  padding: 88px 60px;
}
.events-header { text-align: center; max-width: 580px; margin: 0 auto 52px; }

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

/* ── EVENT CARDS – Flip-Effekt ── */
.event-card {
  cursor: pointer;
  position: relative;
  /* Feste Höhe: Flip braucht definierte Abmessungen */
  height: 180px;
  perspective: 700px;
  background: transparent;
  border: none;
}

.event-card .flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.event-card:hover .flip-inner,
.event-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.event-card .flip-front,
.event-card .flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  gap: 8px;
}

/* Vorderseite: heller Hintergrund mit Akzentfarbe */
.event-card .flip-front {
  background: white;
  border: 3px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.event-card .flip-front::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: var(--c, var(--purple));
  opacity: 0.07;
  pointer-events: none;
}
.event-card:hover .flip-front {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Rückseite: sattes Farbgradient, klar sichtbar */
.event-card .flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark2) 100%);
  border: 3px solid var(--c, var(--purple));
  box-shadow:
    0 0 0 1px var(--c, var(--purple)),
    0 16px 48px rgba(108,60,225,0.45),
    inset 0 0 40px rgba(108,60,225,0.15);
}
.event-card .flip-back::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}
.event-card .flip-back .event-emoji { filter: drop-shadow(0 0 8px var(--c, var(--yellow))); }
.event-card .flip-back .event-name  { color: var(--yellow); font-size: .88rem; line-height: 1.3; }

.event-emoji { font-size: 2.8rem; line-height: 1; display: block; }
.event-name  { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--dark); text-align: center; }

/* ============================================================
   BIO SECTION
   ============================================================ */
#bio {
  background: var(--dark);
  color: white;
  padding: 88px 60px;
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.bio-image-wrap { position: relative; }
.bio-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--yellow);
  box-shadow: -14px 14px 0 var(--pink);
  background: linear-gradient(135deg, #2D1562, #6C3CE1);
}
.bio-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  display: block;
}
.bio-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .68rem;
  text-align: center;
  line-height: 1.2;
  border: 4px solid white;
}
.bio-badge .big {
  font-size: 1.5rem;
  font-family: 'Fredoka One', cursive;
}
#bio .section-label { color: var(--teal); }
#bio .section-label::before { background: var(--yellow); }
#bio .section-title { color: white; }
.bio-text {
  font-size: .96rem;
  line-height: 1.85;
  color: rgba(255,255,255,.76);
  margin-bottom: 14px;
}
.bio-milestones {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.milestone { display: flex; gap: 14px; align-items: flex-start; }
.milestone-year {
  font-family: 'Fredoka One', cursive;
  font-size: .95rem;
  color: var(--yellow);
  min-width: 48px;
  padding-top: 2px;
}
.milestone-text {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* ============================================================
   ZAUBERKURS
   ============================================================ */
#kurs {
  background: white;
  padding: 88px 60px;
}
.kurs-header { max-width: 580px; margin: 0 auto 48px; text-align: center; }
.kurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.kurs-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Tilt wird per JS gesetzt; hover als Fallback */
.kurs-card:hover { box-shadow: 0 24px 70px rgba(108,60,225,0.45); }

/* Glare-Overlay: folgt der Maus über CSS Custom Properties */
.kurs-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,0.22) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}
.kurs-card:hover::after { opacity: 1; }
.kurs-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kurs-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.kurs-overlay {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
  background: linear-gradient(to top, rgba(26,11,59,.92) 0%, transparent 100%);
}
.kurs-card-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 6px;
}
.kurs-card-text { font-size: .85rem; color: rgba(255,255,255,.84); line-height: 1.5; }

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  justify-content: center;
}
.benefit-pill {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ============================================================
   REFERENZEN
   ============================================================ */
#referenzen {
  background: linear-gradient(135deg, #f0eaff 0%, #ffeef9 100%);
  padding: 88px 60px;
}
.ref-header { text-align: center; max-width: 580px; margin: 0 auto 44px; }
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ref-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  font-size: .91rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.ref-item:hover { transform: translateX(4px); }
.ref-dot {
  width: 9px;
  height: 9px;
  background: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   KONTAKT & BUCHUNGSFORMULAR
   ============================================================ */
#kontakt {
  background: var(--dark);
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
}
#kontakt::before {
  content: '✨';
  position: absolute;
  font-size: 14rem;
  opacity: .04;
  top: -40px;
  left: -60px;
  pointer-events: none;
  line-height: 1;
}
#kontakt::after {
  content: '🎩';
  position: absolute;
  font-size: 12rem;
  opacity: .04;
  bottom: -40px;
  right: -40px;
  pointer-events: none;
  line-height: 1;
}

.kontakt-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
#kontakt .section-label { justify-content: center; color: var(--teal); }
#kontakt .section-label::before { background: var(--yellow); }
#kontakt .section-title { color: white; text-align: center; }
.kontakt-sub {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
  text-align: center;
}

/* Schnell-Kontakt */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.contact-card {
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.contact-card:hover {
  background: rgba(255,215,0,.12);
  border-color: var(--yellow);
  transform: translateY(-4px);
}
.contact-card-icon { font-size: 1.75rem; margin-bottom: 9px; display: block; }
.contact-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}
.contact-card-value { font-size: .92rem; font-weight: 800; color: white; }

/* Formular */
.booking-form {
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 44px 44px;
}


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }

.form-label {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.form-label .req { color: var(--yellow); margin-left: 3px; }

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,.09);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.form-select option { background: var(--dark2); color: white; }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,.26); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,215,0,.07);
  box-shadow: 0 0 0 4px rgba(255,215,0,.12);
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,107,181,.18);
}
.form-textarea { resize: vertical; min-height: 110px; }

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-submit {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(255,215,0,.44);
}
.btn-submit:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255,215,0,.6);
}
.btn-submit:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-alt {
  color: rgba(255,255,255,.44);
  font-size: .82rem;
  line-height: 1.55;
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-privacy {
  color: rgba(255,255,255,.44);
  font-size: .78rem;
  line-height: 1.55;
  margin: 4px 0 18px;
}
.form-privacy a { color: var(--teal); font-weight: 700; }
.form-privacy a:hover { text-decoration: underline; }

.form-alt a { color: var(--teal); font-weight: 700; }
.form-alt a:hover { text-decoration: underline; }

.form-msg {
  display: none;
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 18px;
  text-align: center;
  line-height: 1.5;
}
.form-msg.success {
  background: rgba(0,205,184,.14);
  border: 2px solid var(--teal);
  color: var(--teal);
}
.form-msg.error {
  background: rgba(255,107,181,.14);
  border: 2px solid var(--pink);
  color: var(--pink);
}

/* ============================================================
   FOOTER
   ============================================================ */
#main-footer {
  background: var(--dark3);
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}
#main-footer p { color: rgba(255,255,255,.36); font-size: .82rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  color: rgba(255,255,255,.36);
  font-size: .82rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--yellow); }

/* ============================================================
   ANIMATIONEN
   ============================================================ */
@keyframes anim-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}
@keyframes anim-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%       { opacity: .4; transform: scale(.7) rotate(20deg); }
}
@keyframes anim-bounce-in {
  from { opacity: 0; transform: scale(.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes anim-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Basisklasse (wird per JS gesetzt) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid    { grid-template-columns: repeat(2, 1fr); }
  #show, #events, #bio, #kurs, #referenzen { padding: 72px 40px; }
}

/* ============================================================
   RESPONSIVE – MOBIL (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  #main-nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  #hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: center;
    gap: 36px;
  }
  .hero-cta { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-image { order: -1; }
  .hero-image-frame { width: 260px; height: 320px; }

  /* Stats */
  .stats-bar { padding: 18px 20px; gap: 12px; }
  .stat-number { font-size: 1.65rem; }

  /* Sections */
  #show, #events, #bio, #kurs, #referenzen { padding: 56px 20px; }
  #kontakt { padding: 56px 20px; }
  .section-title { font-size: 1.7rem; }

  /* Show */
  .show-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Events */
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .event-card { padding: 22px 14px; }

  /* Bio */
  .bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .bio-badge { width: 80px; height: 80px; right: -10px; bottom: -10px; }

  /* Kurs */
  .kurs-grid { grid-template-columns: 1fr; }

  /* Referenzen */
  .ref-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Kontakt */
  .booking-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-cards { gap: 14px; }
  .contact-card { padding: 18px 22px; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; width: 100%; }

  /* Footer */
  #main-footer { padding: 18px 20px; flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE – KLEIN (≤ 420px)
   ============================================================ */
@media (max-width: 420px) {
  .events-grid { grid-template-columns: 1fr; }
  .hero-image-frame { width: 220px; height: 270px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .benefit-pill { font-size: .8rem; padding: 8px 14px; }
  .stats-bar { gap: 10px; }
  .stat-number { font-size: 1.4rem; }
}

/* ============================================================
   3D SCROLL EFFEKTE
   ============================================================ */

/* Scroll-Rotation für Referenzen – dramatisch sichtbar */
.rotate-reveal {
  opacity: 0;
  transform: perspective(500px) rotateX(75deg) translateY(40px) scale(0.78);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.22, 1.4, 0.36, 1);
  transform-origin: center bottom;
}
.rotate-reveal.visible {
  opacity: 1;
  transform: perspective(500px) rotateX(0deg) translateY(0) scale(1);
}

/* Gestaffeltes Delay für Rotate-Reveal */
.rotate-reveal:nth-child(1)  { transition-delay: 0ms; }
.rotate-reveal:nth-child(2)  { transition-delay: 60ms; }
.rotate-reveal:nth-child(3)  { transition-delay: 120ms; }
.rotate-reveal:nth-child(4)  { transition-delay: 180ms; }
.rotate-reveal:nth-child(5)  { transition-delay: 240ms; }
.rotate-reveal:nth-child(6)  { transition-delay: 300ms; }
.rotate-reveal:nth-child(7)  { transition-delay: 360ms; }
.rotate-reveal:nth-child(8)  { transition-delay: 420ms; }
.rotate-reveal:nth-child(9)  { transition-delay: 480ms; }
.rotate-reveal:nth-child(10) { transition-delay: 540ms; }
.rotate-reveal:nth-child(11) { transition-delay: 600ms; }
.rotate-reveal:nth-child(12) { transition-delay: 660ms; }

/* Reduced Motion – alle Effekte deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .flip-inner,
  .rotate-reveal,
  .kurs-card {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  .rotate-reveal { opacity: 1; }
}
