/* =============================================
   BILDUNGSPUNKT – style.css
   ============================================= */

/* --- Variablen & Reset --- */
:root {
  --teal: #09b8bc;
  --teal-dark: #06b1b5;
  --teal-light: #87d6d3;
  --teal-bg: #e8f7f7;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fdfd;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(9,184,188,0.10);
  --radius: 1rem;
  --font: 'Mulish', sans-serif;
}

body.dark {
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --bg-card: #1e293b;
  --border: #334155;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.navbar-logo img { height: 48px; width: auto; }
.navbar-links {
  display: flex; align-items: center; gap: 2rem;
}
.navbar-links a {
  font-weight: 600; color: var(--text-muted); transition: color 0.2s; font-size: 0.95rem;
}
.navbar-links a:hover { color: var(--teal); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem; border-radius: 999px; font-weight: 700;
  font-size: 0.9rem; border: none; transition: all 0.2s; cursor: pointer; font-family: var(--font);
}
.btn-outline {
  background: transparent; border: 2px solid var(--teal); color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: white; }
.btn-primary {
  background: var(--teal); color: white;
  box-shadow: 0 4px 15px rgba(9,184,188,0.3);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-white { background: white; color: var(--teal); }
.btn-white:hover { background: var(--teal-bg); }

.dark-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--bg-alt); color: var(--text); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.dark-toggle:hover { background: var(--teal-bg); color: var(--teal); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: all 0.3s; border-radius: 2px;
}

.mobile-menu {
  display: none; flex-direction: column; gap: 0.5rem;
  background: var(--bg-card); padding: 1.5rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 600; color: var(--text-muted); padding: 0.5rem 0;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn { margin-top: 0.5rem; width: 100%; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh; padding: 8rem 0 5rem;
  display: flex; align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal-bg); color: var(--teal);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 1.5rem; border: 1px solid rgba(9,184,188,0.2);
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--teal); }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img-wrap {
  position: relative; border-radius: 2rem; overflow: hidden;
  box-shadow: 0 24px 64px rgba(9,184,188,0.2);
}
.hero-img-wrap img { width: 100%; height: 480px; object-fit: cover; }

.hero-stat-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: white; border-radius: 1rem; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-stat-badge .icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal-bg);
  display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 1.1rem;
}
.hero-stat-badge .num { font-size: 1.3rem; font-weight: 900; color: #1a1a1a; }
.hero-stat-badge .lbl { font-size: 0.75rem; color: #6b7280; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-label {
  color: var(--teal); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900;
  line-height: 1.2; margin-bottom: 1rem;
}
.section-title span {
  text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 8px;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* =============================================
   ABOUT
   ============================================= */
.about { padding: 6rem 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img { border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }

.about-points { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.about-point { display: flex; gap: 1rem; }
.about-point .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal);
  margin-top: 6px; shrink: 0;
}
.about-point p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.about-point strong { color: var(--text); }

/* =============================================
   STATS
   ============================================= */
.stats { padding: 5rem 0; background: var(--teal); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; color: white; }
.stat-num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.25rem; }
.stat-lbl { font-size: 0.9rem; opacity: 0.85; }

/* =============================================
   COURSES
   ============================================= */
.courses { padding: 6rem 0; background: var(--bg-alt); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.course-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  transition: all 0.3s; cursor: pointer;
  display: flex; flex-direction: column; gap: 1rem;
}
.course-card:hover {
  transform: translateY(-6px); border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(9,184,188,0.15);
}
.course-icon {
  width: 64px; height: 64px; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.course-icon.teal { background: linear-gradient(135deg,#5eead4,#0d9488); }
.course-icon.blue { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.course-icon.purple { background: linear-gradient(135deg,#c084fc,#7c3aed); }
.course-tag {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.course-tag.teal { background: var(--teal-bg); color: var(--teal); }
.course-tag.blue { background: #eff6ff; color: #2563eb; }
.course-tag.purple { background: #f5f3ff; color: #7c3aed; }
.course-card h3 { font-size: 1.4rem; font-weight: 800; }
.course-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.course-features { display: flex; flex-direction: column; gap: 0.5rem; }
.course-feat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.course-feat::before { content: "✓"; color: var(--teal); font-weight: 700; }

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features { padding: 6rem 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-card {
  background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border); transition: all 0.3s;
}
.feature-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.feature-card .icon {
  font-size: 1.8rem; margin-bottom: 0.75rem;
}
.feature-card h4 { font-weight: 800; margin-bottom: 0.4rem; font-size: 1rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   PRICING
   ============================================= */
.pricing { padding: 6rem 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.price-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2.5rem;
  border: 2px solid var(--border); position: relative; transition: all 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(9,184,188,0.12); }
.price-card.featured { border-color: var(--teal); box-shadow: 0 8px 32px rgba(9,184,188,0.2); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: white; padding: 0.3rem 1.2rem;
  border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.price-card .subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-amount .eur { font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.price-amount .num { font-size: 3rem; font-weight: 900; line-height: 1; }
.price-amount .per { font-size: 0.85rem; color: var(--text-muted); }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-feats { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.price-feat { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.price-feat::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* --- Pricing new layout --- */
.price-badge-top {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 1.25rem;
  background: var(--teal-bg); color: var(--teal);
}
.price-badge-featured {
  background: rgba(255,255,255,0.25); color: white;
}
.price-card h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1.5rem; }
.price-card-featured {
  background: var(--teal) !important;
  color: white !important;
  transform: translateY(-8px);
  border-color: var(--teal) !important;
  box-shadow: 0 20px 60px rgba(9,184,188,0.35) !important;
}
.price-card-featured h3 { color: white; }
.price-card-featured .price-option-lbl { color: rgba(255,255,255,0.85); }
.price-card-featured .price-option-val { color: white; }
.price-card-featured .price-option-row { border-color: rgba(255,255,255,0.15); }
.price-card-featured .price-note { color: rgba(255,255,255,0.75); }

.price-options { display: flex; flex-direction: column; }
.price-option-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
}
.price-option-row:last-child { border-bottom: none; }
.price-option-lbl { color: var(--text-muted); font-size: 0.95rem; }
.price-option-val { font-weight: 800; font-size: 1rem; color: var(--teal); }
.price-card-featured .price-option-val { color: white; }

.price-features-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.price-feat-item {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-muted); font-size: 0.95rem;
}
.price-feat-item svg { color: var(--teal); flex-shrink: 0; }

/* =============================================
   TEAM
   ============================================= */
.team { padding: 6rem 0; background: var(--bg); }
.team-inner { display: flex; justify-content: center; }
.team-card {
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
  max-width: 780px; width: 100%;
}
.team-photo-wrap { position: relative; flex-shrink: 0; }
.team-photo {
  width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(9,184,188,0.3); box-shadow: 0 12px 40px rgba(9,184,188,0.2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 2px dashed rgba(9,184,188,0.25); pointer-events: none;
}
.team-badge {
  position: absolute; bottom: -6px; right: -6px;
  background: var(--teal); color: white; padding: 0.35rem 0.9rem;
  border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(9,184,188,0.4);
}
.team-info { text-align: center; }
.team-info h3 { font-size: 2rem; font-weight: 900; margin-bottom: 0.25rem; }
.team-info .role { color: var(--teal); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.team-info p { color: var(--text-muted); line-height: 1.8; max-width: 480px; margin: 0 auto 1.5rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.team-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--teal-bg); color: var(--teal);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 6rem 0; background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testi-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: all 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.testi-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner { padding: 5rem 0; background: linear-gradient(135deg,#09b8bc,#06b1b5); }
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: white; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-inner .btn-white { font-size: 1rem; padding: 0.9rem 2.5rem; }

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 6rem 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; flex-shrink: 0;
}
.contact-item .lbl { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.15rem; }
.contact-item .val { font-weight: 700; font-size: 1rem; }
.contact-item .val a { transition: color 0.2s; }
.contact-item .val a:hover { color: var(--teal); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { display: block; width: 100%; height: 220px; border: none; }

.contact-form-wrap {
  background: var(--bg-card); border-radius: 1.5rem;
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.75rem;
  border: 2px solid var(--border); background: var(--bg-alt); color: var(--text);
  font-size: 0.95rem; font-family: var(--font); transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-success {
  display: none; text-align: center; padding: 2rem;
}
.form-success.show { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.form-success .check-icon {
  width: 70px; height: 70px; border-radius: 50%; background: var(--teal-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--teal);
}
.form-success h4 { font-size: 1.25rem; font-weight: 800; }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }
.form-error { color: #ef4444; font-size: 0.85rem; background: #fef2f2; padding: 0.75rem 1rem; border-radius: 0.5rem; margin-top: 0.5rem; display: none; }
.form-error.show { display: block; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: #1a1a1a; color: white; padding: 5rem 0 2rem; }
body.dark .footer { background: #030712; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand img { height: 48px; margin-bottom: 1.25rem; }
.footer-brand p { color: #9ca3af; font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: white;
  font-size: 0.85rem; transition: background 0.2s; border: none;
  text-decoration: none;
}
.social-btn:hover { background: var(--teal); }
.footer-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { color: #9ca3af; font-size: 0.9rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-col .contact-line { color: #9ca3af; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-col .contact-line a { color: #9ca3af; transition: color 0.2s; }
.footer-col .contact-line a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: #6b7280; font-size: 0.85rem; }
.footer-bottom a { color: #9ca3af; font-size: 0.85rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }
.footer-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer-links span { color: #374151; }

/* =============================================
   MODAL (Anmeldung)
   ============================================= */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card); border-radius: 1.5rem;
  width: 100%; max-width: 660px; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity:0; transform: translateY(20px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h2 { font-size: 1.2rem; font-weight: 800; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--bg-alt); color: var(--text); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }

.modal-steps {
  display: flex; gap: 0.25rem; padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.step-pill {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.step-pill .step-num {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted); transition: all 0.3s;
}
.step-pill.active .step-num { background: var(--teal); color: white; border-color: var(--teal); }
.step-pill.done .step-num { background: var(--teal-bg); color: var(--teal); border-color: var(--teal); }
.step-pill .step-lbl { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); }
.step-pill.active .step-lbl { color: var(--teal); }
.step-connector { flex: 1; height: 2px; background: var(--border); margin-top: 15px; }
.step-connector.done { background: var(--teal); }

.modal-body { padding: 1.75rem; overflow-y: auto; flex: 1; }
.modal-step { display: none; }
.modal-step.active { display: block; }

.kurs-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kurs-option {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  cursor: pointer; text-align: center; transition: all 0.2s; background: var(--bg-alt);
}
.kurs-option:hover { border-color: var(--teal); }
.kurs-option.selected { border-color: var(--teal); background: var(--teal-bg); }
.kurs-option .kurs-icon {
  font-size: 2rem; margin-bottom: 0.75rem;
  width: 60px; height: 60px; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem;
}
.kurs-option h4 { font-weight: 800; margin-bottom: 0.25rem; font-size: 1rem; }
.kurs-option p { font-size: 0.8rem; color: var(--text-muted); }
.kurs-option .kurs-sub { font-size: 0.75rem; color: var(--teal); font-weight: 700; margin-bottom: 0.25rem; }

.modal-section-title { font-size: 1rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--teal); }

.summary-box {
  background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem;
  border: 1px solid var(--border); margin-bottom: 1rem;
}
.summary-box h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); margin-bottom: 0.75rem; }
.summary-row { display: flex; gap: 1rem; padding: 0.3rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row .key { color: var(--text-muted); min-width: 150px; }
.summary-row .val { font-weight: 600; }

.modal-footer {
  padding: 1.25rem 1.75rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.modal-footer-info { font-size: 0.8rem; color: var(--text-muted); }
.modal-footer-info.error { color: #ef4444; }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page { padding: 9rem 0 5rem; }
.legal-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--teal); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 2.5rem; transition: gap 0.2s;
}
.legal-back:hover { gap: 0.75rem; }
.legal-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal-bg); color: var(--teal); border: 1px solid rgba(9,184,188,0.2);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 1rem;
}
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.5rem; }
.legal-page .subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 3rem; }
.legal-section {
  background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 1.5rem;
}
.legal-section-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.legal-section-header span { font-size: 1.2rem; color: var(--teal); }
.legal-section-header h2 { font-weight: 700; font-size: 1.05rem; }
.legal-section-body { padding: 1.5rem; }
.legal-row { display: flex; gap: 2rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.legal-row:last-child { border-bottom: none; }
.legal-row .key { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; min-width: 160px; }
.legal-row .val { font-size: 0.95rem; line-height: 1.6; }
.legal-section-body p { color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-section-body p:last-child { margin-bottom: 0; }
.legal-section-body a { color: var(--teal); }
.legal-section-body ul { padding-left: 1.25rem; list-style: disc; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.legal-info-box {
  background: var(--bg-card); border-radius: 0.75rem; padding: 1.25rem; margin: 0.75rem 0;
}
.legal-info-box p { color: var(--text-muted); font-size: 0.9rem; }
.legal-info-box strong { color: var(--text); }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.right-card {
  background: var(--bg-alt); border-radius: 0.75rem; padding: 1rem; border: 1px solid var(--border);
}
.right-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.right-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.legal-page .footer-note {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .courses-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid, .features-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 0 4rem; }
  .hero-img-wrap { display: none; }
  .courses-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .kurs-options { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .rights-grid { grid-template-columns: 1fr; }
  .legal-row { flex-direction: column; gap: 0.25rem; }
  .team-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
}
