/* ============ schoolymindo — mindo-Familie ============ */
:root {
  --primary: #5B4FE9;
  --primary-dark: #4438C9;
  --primary-soft: #EFEDFF;
  --orange: #FF8A3D;
  --teal: #2EC4B6;
  --yellow: #FFD23F;
  --pink: #F45B9A;
  --green: #59B85C;
  --blue: #3D8BFF;
  --red: #E85D5D;
  --gold: #E5A23C;
  --text: #2B2B45;
  --text-soft: #5A5A78;
  --bg: #FFFCF7;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(43, 43, 69, 0.08);
  --shadow-lg: 0 12px 40px rgba(43, 43, 69, 0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section { padding: 72px 0; }
.section-alt { background: var(--primary-soft); }
.section-sub { color: var(--text-soft); max-width: 640px; margin-bottom: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(43, 43, 69, 0.06);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-text { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.5px; }
.logo-text strong { color: var(--primary); }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg) 60%);
  padding: 72px 0;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-kicker { font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.highlight {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 4px;
}
.hero-sub { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-cards-label { font-weight: 600; color: var(--text-soft); font-size: 0.9rem; }
.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s;
  border-left: 6px solid var(--primary);
}
.mini-card:hover { transform: translateX(4px); }
.mini-card-2 { border-left-color: var(--teal); }
.mini-card-3 { border-left-color: var(--green); }
.mini-emoji { font-size: 1.8rem; }
.mini-card small { color: var(--text-soft); }

/* ---- Fakten ---- */
.facts { background: var(--primary); color: var(--white); padding: 28px 0; }
.facts-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 130px; }
.fact-big { font-size: 1.3rem; font-weight: 700; }
.fact span:last-child { opacity: 0.85; font-size: 0.9rem; }

/* ---- Kursfilter ---- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); }

/* ---- Kurskarten ---- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card.featured { outline: 3px solid var(--yellow); }
.course-head {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.course-emoji { font-size: 2.6rem; }
.course-head-red { background: linear-gradient(120deg, var(--red), #F08A8A); }
.course-head-teal { background: linear-gradient(120deg, var(--teal), #6ADCD1); }
.course-head-green { background: linear-gradient(120deg, var(--green), #8FD892); }
.course-head-blue { background: linear-gradient(120deg, var(--blue), #7FB4FF); }
.course-head-pink { background: linear-gradient(120deg, var(--pink), #F894C0); }
.course-head-orange { background: linear-gradient(120deg, var(--orange), #FFB27E); }
.course-head-gold { background: linear-gradient(120deg, var(--gold), #F0C378); }
.course-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { margin-bottom: 10px; font-size: 1.25rem; }
.course-body > p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 14px; }
.course-meta { list-style: none; font-size: 0.9rem; color: var(--text-soft); margin-bottom: 18px; }
.course-meta li { padding: 2px 0; }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.price small { font-size: 0.85rem; font-weight: 500; color: var(--text-soft); }
.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-light { background: rgba(255, 255, 255, 0.9); color: var(--text); }
.catalog-note { margin-top: 28px; color: var(--text-soft); font-style: italic; }

/* ---- Ablauf ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ---- Warum ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}
.why-card:nth-child(2) { border-top-color: var(--teal); }
.why-card:nth-child(3) { border-top-color: var(--orange); }
.why-card:nth-child(4) { border-top-color: var(--green); }
.why-card:nth-child(5) { border-top-color: var(--pink); }
.why-card:nth-child(6) { border-top-color: var(--gold); }
.why-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.why-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ---- Plattform ---- */
.platform-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; margin: 16px 0; }
.check-list li { padding: 6px 0; }
.platform-note {
  background: var(--primary-soft);
  border-left: 5px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
}
.platform-visual svg { width: 100%; height: auto; }

/* ---- Preise ---- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card-featured { outline: 3px solid var(--orange); }
.badge-featured {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--orange);
  color: var(--white);
}
.price-big { font-size: 2.6rem; font-weight: 800; color: var(--primary); margin: 10px 0; }
.price-big small { font-size: 1rem; font-weight: 500; color: var(--text-soft); }
.price-card .btn { margin-top: 12px; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.4rem;
  color: var(--primary);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; color: var(--text-soft); }

/* ---- Kontakt ---- */
.section-cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.contact-box { text-align: center; color: var(--white); }
.contact-box h2 { color: var(--white); }
.contact-box p { margin: 14px auto 24px; max-width: 560px; opacity: 0.95; }
.contact-mail { font-weight: 600; margin-top: 18px !important; }

/* ---- Footer ---- */
.site-footer { background: var(--text); color: #C9C9DC; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text strong { color: var(--yellow); }
.footer-brand p { margin-top: 10px; font-size: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #C9C9DC; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-note { margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; font-size: 0.85rem; }

/* ---- Rechtsseiten ---- */
.legal-page { padding: 56px 0; }
.legal-page h1 { margin-bottom: 24px; }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal-page p, .legal-page ul { margin-bottom: 12px; color: var(--text-soft); }
.legal-page ul { padding-left: 22px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner, .platform-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .btn-header { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .main-nav.open { display: flex; }
}
