:root {
  --bg-body: #f7f5ff;
  --bg-soft: #f2ecff;
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --accent-pink: #f973b7;
  --accent-yellow: #facc15;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-fast: 0.2s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #fbe7ff 0, #f7f5ff 45%, #eef2ff 100%);
}

/* Utility */

.container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-soft {
  padding: 72px 0;
  background: var(--bg-soft);
}

.section-head {
  text-align: left;
  margin-bottom: 40px;
  max-width: 680px;
}

.section-head.small h2 {
  font-size: 1.7rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-dark);
  font-weight: 600;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-dark), var(--accent-pink));
}

.section-head h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.1rem;
  margin: 10px 0 10px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Grid */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--accent-pink));
  color: #fff;
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
  background: #111827;
  color: #f9fafb;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--purple-dark);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  background: #fff;
}

.btn.full-width {
  width: 100%;
}

/* Topbar */

.topbar {
  background: #0f172a;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.topbar-left span,
.topbar-right span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}

.topbar i {
  font-size: 0.95rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 150deg, var(--purple), var(--accent-pink), var(--accent-yellow), var(--purple));
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.logo-icon i {
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #4b5563;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a:hover {
  color: var(--purple-dark);
  background: rgba(129, 140, 248, 0.08);
  transform: translateY(-1px);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: #111827;
  color: #f9fafb;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  padding: 54px 0 40px;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(244, 114, 182, 0.3) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.35) 0, transparent 48%),
    url("images/parallax-room.jpg");
  background-size: cover, cover, cover;
  background-position: center;
  background-attachment: fixed; /* простой параллакс для фонового изображения */
  opacity: 0.22;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.12);
  color: var(--purple-dark);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-pill i {
  font-size: 0.95rem;
}

.hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 18px 0 12px;
}

.hero .highlight {
  background: linear-gradient(135deg, var(--purple-dark), var(--accent-pink));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* HERO media */

.hero-media {
  position: relative;
  max-width: 460px;
  justify-self: center;
}

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.hero-card.main {
  padding-bottom: 14px;
}

.hero-card-content {
  padding: 16px 18px 4px;
}

.hero-card-content h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.hero-card-content p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-card.small {
  width: 55%;
}

.hero-card.small img {
  height: 140px;
}

.hero-card.small.right {
  position: absolute;
  right: -14px;
  bottom: 35px;
}

.hero-card.small.left {
  position: absolute;
  left: -10px;
  top: 35px;
}

.hero-card-badge {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #f9fafb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Общие карточки */

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Плавающие параллакс-пузыри */

.parallax-bubble {
  position: fixed;
  z-index: 0;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  opacity: 0.45;
  pointer-events: none;
  filter: blur(3px);
}

.bubble-purple {
  top: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.9), transparent 60%);
}

.bubble-yellow {
  bottom: 6%;
  right: -40px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.85), transparent 60%);
}

/* Erlebniswelten */

.experience-grid .card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.experience-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(91, 33, 182, 0.28);
  border-color: rgba(129, 140, 248, 0.7);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
}

.icon-badge.purple {
  background: linear-gradient(135deg, #a855f7, #6366f1);
}

.icon-badge.pink {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.icon-badge.yellow {
  background: linear-gradient(135deg, #facc15, #fb923c);
}

.experience-card h3 {
  margin: 0 0 8px;
  font-family: "Poppins", system-ui, sans-serif;
}

.experience-card p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.experience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.98rem;
}

.experience-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.experience-card li i {
  color: var(--purple-dark);
}

/* Parallax strip */

.parallax-strip {
  position: relative;
  padding: 110px 0;
  background-image: url("images/parallax-fun.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* параллакс для фона */
  overflow: hidden;
}

.parallax-strip-small {
  padding: 90px 0;
  background-image: url("images/parallax-soft.jpg");
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 64, 175, 0.75));
}

.parallax-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #e5e7eb;
}

.parallax-content h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.parallax-content p {
  margin: 0 0 14px;
  font-size: 1.02rem;
}

.parallax-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.parallax-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.95rem;
}

.parallax-tags i {
  color: var(--accent-yellow);
}

/* Programm – Ablauf */

.program-flow {
  position: relative;
  margin-top: 12px;
  padding-top: 10px;
}

.program-flow::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.2), rgba(244, 114, 182, 0.35));
  border-radius: 999px;
}

.program-step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.step-time {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  color: var(--purple-dark);
  font-size: 1.05rem;
}

.step-content h3 {
  margin: 0 0 4px;
  font-family: "Poppins", system-ui, sans-serif;
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Mitgliedschaften */

.membership-grid .membership-card {
  position: relative;
}

.membership-card h3 {
  margin-top: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.membership-tag {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.membership-card ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.98rem;
}

.membership-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.membership-card li i {
  color: var(--purple-dark);
}

.membership-highlight {
  border: 1px solid rgba(129, 140, 248, 0.85);
  box-shadow: 0 22px 60px rgba(79, 70, 229, 0.45);
  transform: translateY(-4px);
}

.membership-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Testimonials & Kontakt */

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.testimonial-card p {
  margin: 0 0 10px;
  color: var(--text-main);
}

.testimonial-meta {
  font-size: 0.96rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.testimonial-meta .name {
  font-weight: 600;
  color: var(--purple-dark);
}

.contact-card {
  background: linear-gradient(135deg, #4c1d95, #9333ea);
  color: #f9fafb;
  border: none;
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.7);
}

.contact-card h3 {
  margin-top: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.contact-card p {
  margin-top: 4px;
  margin-bottom: 14px;
  color: #e5e7eb;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.96rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  margin-top: 32px;
  padding-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo .logo-icon {
  box-shadow: none;
}

.footer-logo .logo-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.2rem;
}

.footer-col p {
  margin-top: 0;
  color: #9ca3af;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  text-decoration: none;
  margin-right: 8px;
  font-size: 1rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--purple), var(--accent-pink));
  border-color: transparent;
  transform: translateY(-1px);
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f9fafb;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact i {
  margin-top: 3px;
}

.footer-bottom {
  padding: 14px 0 18px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.96rem;
  color: #9ca3af;
}

.footer-bottom-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  color: #f9fafb;
}

.footer-mini-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 16px 0 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0, rgba(15, 23, 42, 0.76) 32%);
}

.cookie-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #0b1120;
  color: #e5e7eb;
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.cookie-text h4 {
  margin: 0 0 6px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.05rem;
}

.cookie-text p {
  margin: 0;
  font-size: 0.98rem;
  color: #cbd5f5;
}

.cookie-text i {
  color: var(--accent-yellow);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 4%;
    background: #0f172a;
    padding: 10px 12px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
    min-width: 210px;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .main-nav a {
    color: #e5e7eb;
    display: block;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
    margin-bottom: 10px;
  }

  .hero-card.small.left,
  .hero-card.small.right {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-stats {
    margin-top: 8px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-flow::before {
    display: none;
  }

  .testimonials-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    margin-left: 0;
  }

  .parallax-strip,
  .parallax-strip-small {
    background-attachment: scroll; /* чтобы на мобильных не ломалось */
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section,
  .section-soft {
    padding: 56px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .program-step {
    grid-template-columns: 1fr;
  }
}
/* Попап успешной отправки формы */
.sfz-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 24, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
}

.sfz-popup-overlay.sfz-popup-visible {
  opacity: 1;
  visibility: visible;
}

.sfz-popup-modal {
  position: relative;
  max-width: 420px;
  width: 90%;
  background: #0f111c;
  color: #f5f5f7;
  padding: 24px 28px 22px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.sfz-popup-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.sfz-popup-modal p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.sfz-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
/* по умолчанию на мобилке меню скрыто */
.main-nav {
  display: none;
}

/* когда .nav-open — показываем */
.main-nav.nav-open {
  display: block;
}
