/* ============================================
   German Language Courses - Lead Landing Page
   Professional design (blue, clean, minimal)
   ============================================ */

:root {
  /* Referenz-Design: helles Blaugrau, Weiß, Teal, Orange */
  --color-bg: #f1f5f9;
  --color-bg-alt: #fff;
  --color-hero-bg: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-primary: #0d9488;
  --color-primary-hover: #0f766e;
  --color-primary-light: #ccfbf1;
  --color-accent: #ea580c;
  --color-accent-light: #ffedd5;
  --color-border: #e2e8f0;
  --color-dark: #0f172a;
  --color-dark-card: #1e293b;
  --color-teal: #0d9488;
  --color-orange: #ea580c;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 28px rgba(0,0,0,.1);
  --max-width: 720px;
  --max-width-wide: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ----- Header ----- */
.site-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.nav-toggle:hover {
  background: var(--color-border);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
    padding: var(--space-sm) 0;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 var(--space-md);
  }

  .logo-wrap {
    flex: 1;
    min-width: 0;
  }

  .logo-icon {
    width: 40px;
    min-width: 40px;
    height: 32px;
    font-size: 0.7rem;
    letter-spacing: -0.02em;
  }

  .logo-text {
    font-size: 0.75rem;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .header-nav-wrap {
    display: none;
    width: 100%;
    order: 3;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-sm);
    align-items: center;
    text-align: center;
  }

  .site-header.nav-open .header-nav-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .nav-main {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .nav-main a {
    font-size: 0.9rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .nav-main a:last-child {
    border-bottom: none;
  }

  .header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
  }

  .header-actions .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.85rem;
    text-align: center;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    font-weight: 500;
  }

  .header-actions .btn:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
  }

  .lang-nav {
    justify-content: center;
  }

  .lang-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
    min-width: 36px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}

.logo-wrap:hover {
  color: var(--color-text);
  text-decoration: none;
}

.logo-accent {
  color: var(--color-accent);
  font-weight: 700;
}

.logo-icon {
  min-width: 44px;
  width: 44px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.nav-main a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-nav {
  display: flex;
  gap: var(--space-xs);
}

.lang-btn {
  font: inherit;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  min-width: 0;
  white-space: nowrap;
}

/* Pre-Register im Menü: gleiche Höhe wie EN/DE */
.header-actions .btn-primary {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
}

.hero-cta .btn-primary {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.98);
}

.cta-button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
  color: #fff;
}

.cta-button:active {
  transform: scale(0.98);
}

/* ----- About-Seite (gleiches Design wie Index) ----- */
.page-about {
  padding-bottom: var(--space-3xl);
}

.section-about-intro .about-intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.section-about-intro .about-intro-content .section-intro,
.section-about-intro .about-intro-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.section-about-intro .about-intro-content p:last-of-type {
  margin-bottom: 0;
}

.section-about-intro .about-intro-img {
  margin: 0 auto;
  text-align: center;
}

.section-about-intro .about-intro-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

@media (min-width: 768px) {
  .section-about-intro .about-intro-inner {
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
  }

  .section-about-intro .about-intro-img {
    order: 2;
    margin: 0;
  }

  .section-about-intro .about-intro-img img {
    max-width: 100%;
  }
}

.page-about .about-section .section-title {
  margin-bottom: var(--space-lg);
}

.page-about .about-section p {
  margin: 0 0 var(--space-md);
  line-height: 1.65;
  color: var(--color-text);
}

.page-about .about-section p:last-child {
  margin-bottom: 0;
}

.about-img-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-img-text img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Smartphone: About-Inhalte mittig und stimmig */
@media (max-width: 767px) {
  .page-about .section-about-intro .about-intro-content {
    text-align: center;
  }

  .page-about .about-section {
    text-align: center;
  }

  .page-about .about-section .section-title {
    text-align: center;
  }

  .page-about .about-section p {
    margin-left: auto;
    margin-right: auto;
    max-width: 36em;
    text-align: left;
  }

  .page-about .about-img-text {
    text-align: center;
  }

  .page-about .about-img-text img {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-about .about-img-text p {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .about-img-text {
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
  }

  .about-img-text img {
    max-width: 100%;
  }
}

.about-three-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.about-three-images img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .about-three-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-about .cta-inline {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg);
}

.btn-cta {
  font-size: 1rem;
  padding: var(--space-md) var(--space-2xl);
}

.btn-cta::after {
  content: ' →';
}

/* Zentrierte CTA-Blöcke zwischen Sektionen */
.cta-inline {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg);
}

.section-courses + .cta-inline {
  background: var(--color-bg-alt);
}

/* ----- Sections ----- */
.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
  line-height: 1.25;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xl);
  max-width: var(--max-width);
}

/* Besserer Textumbruch: angenehme Zeilenlänge für Intro-Texte */
.section-solution .section-intro,
.section-courses .section-intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Hero (Referenz: zweispaltig, Bild rechts, helles Blaugrau) ----- */
.hero {
  background: var(--color-hero-bg);
  padding: var(--space-3xl) 0;
  text-align: left;
}

.hero-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    text-align: left;
  }
}

.hero-content {
  order: 1;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  line-height: 1.2;
  color: var(--color-text);
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: var(--space-md) 0;
}

/* Leicht transparente Schwarz-Rot-Gold-Malerstriche hinter dem Hero-Titel */
.hero-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 110%;
  max-width: 22em;
  background:
    linear-gradient(105deg, rgba(0,0,0,.06) 0%, transparent 28%),
    linear-gradient(75deg, transparent 38%, rgba(200,0,0,.05) 45%, rgba(200,0,0,.07) 55%, transparent 62%),
    linear-gradient(95deg, transparent 55%, rgba(255,200,0,.06) 62%, rgba(255,200,0,.05) 72%, transparent 78%),
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.04) 33%, rgba(180,0,0,.05) 33%, rgba(180,0,0,.05) 66%, rgba(255,204,0,.06) 66%, rgba(255,204,0,.06) 100%);
  border-radius: 14px;
  z-index: -1;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xl);
  line-height: 1.65;
  max-width: 32rem;
}

.hero-cta {
  margin-bottom: 0;
}

/* Hero rechts: Bild + dekorative Formen (Referenz) */
.hero-visual {
  order: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}

@media (min-width: 600px) {
  .hero-visual {
    min-height: 280px;
  }
}

.hero-visual-circle {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  box-shadow: 0 12px 40px rgba(245, 158, 11, .25);
}

.hero-visual-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-1 {
  width: 180px;
  height: 180px;
  border: 3px solid rgba(148, 163, 184, .4);
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.hero-shape-2 {
  width: 80px;
  height: 80px;
  background: rgba(13, 148, 136, .25);
  bottom: 10%;
  left: -10px;
}

.hero-shape-3 {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, .2);
  top: 10%;
  right: 10%;
}

/* Profession cards (target groups) – unter Hero, kompakt */
.hero-cards {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
  max-width: 720px;
  margin: var(--space-2xl) auto 0;
}

@media (min-width: 520px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 900px) {
  .hero-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    margin-top: var(--space-2xl);
  }
}

.hero-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, border-color .2s, transform .15s ease;
  font-family: var(--font-body);
}

.hero-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.hero-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- Problem ----- */
.section-problem {
  background: var(--color-bg);
  text-align: center;
}

.section-problem-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .section-problem-inner {
    grid-template-columns: 1fr 280px;
    gap: var(--space-2xl);
  }
}

.section-problem-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.section-problem-content {
  text-align: center;
}

.section-problem .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.problem-list {
  margin: 0 auto;
  padding-left: 1.25rem;
  max-width: var(--max-width);
  text-align: left;
}

.problem-list li {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.problem-list strong {
  color: var(--color-text);
}

.section-problem-img {
  margin: 0 auto;
  text-align: center;
}

.section-problem-img img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 280 / 350;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-left: auto;
  margin-right: auto;
}

/* ----- Solution ----- */
.solution-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .solution-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .solution-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-md);
}

/* ----- Courses ----- */
.section-courses {
  background: var(--color-bg-alt);
}

.courses-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.courses-header .section-title {
  margin-bottom: var(--space-sm);
}

/* Kurs-Intro ohne erzwungenen Zeilenumbruch – nutzt verfügbare Breite */
.courses-intro-one-line {
  max-width: 100%;
}

.courses-next-start {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.courses-next-start::before {
  content: '📅';
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 640px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .course-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.course-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .15s ease;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Referenz: Bild oben, Level-Tag links, Preis rechts */
.course-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--color-hero-bg);
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.course-card-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.course-card-price {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(255,255,255,.95);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
}

.course-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-level-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.course-level {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.course-name {
  font-weight: 600;
  margin: 0 0 var(--space-md);
  font-size: 1rem;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  line-height: 1.5;
  flex-grow: 1;
}

.course-details {
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.course-details li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.course-details li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.course-fee-wrap {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.course-fee {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.course-fee-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ----- How It Works (steps 01-04) ----- */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  position: relative;
  padding-top: 0.25rem;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.step-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----- Dark section: Schedule + Why Choose Us ----- */
.section-dark {
  background: var(--color-dark);
  color: #e2e8f0;
  padding: var(--space-3xl) 0;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-intro,
.section-dark p {
  color: #94a3b8;
}

.schedule-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .schedule-why-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.schedule-block h3,
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.schedule-block .schedule-days-title::before {
  content: '📅';
}

.schedule-block .schedule-times-title::before {
  content: '🕐';
}

.schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
}

.schedule-days li {
  background: rgba(255,255,255,.1);
  color: #e2e8f0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.schedule-times-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.schedule-times-title + p {
  margin: 0 0 var(--space-lg);
}

.why-card {
  background: var(--color-dark-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid rgba(255,255,255,.06);
}

.why-card h3::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding: var(--space-sm) 0;
  color: #94a3b8;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ----- Form (two columns) ----- */
.section-form {
  background: var(--color-bg);
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .form-wrapper {
    grid-template-columns: 320px 1fr;
  }
  .form-container {
    max-width: 420px;
    justify-self: start;
  }
}

.form-panel {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-panel h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: #fff;
}

.form-panel p {
  margin: 0 0 var(--space-lg);
  font-size: 0.95rem;
  opacity: .95;
  line-height: 1.55;
}

.form-panel-trust {
  margin-top: auto;
}

.form-panel-trust span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  opacity: .95;
}

.form-panel-trust span::before {
  content: '✓';
  font-weight: 700;
}

.form-panel a {
  color: #fff;
  text-decoration: underline;
}

.form-container {
  background: var(--color-bg-alt);
  padding: var(--space-2xl);
  max-width: 420px;
  margin: 0 auto;
}

.form-intro {
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.lead-form {
  margin: 0;
}

.form-group {
  margin: 0 0 var(--space-xl);
  padding: 0;
  border: none;
}

.lead-form label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin: var(--space-md) 0 var(--space-xs);
  color: var(--color-text);
}

.lead-form label:first-child {
  margin-top: 0;
}

.required {
  color: var(--color-primary);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #94a3b8;
}

.lead-form textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1rem;
  margin-top: var(--space-md);
}

.btn-submit::after {
  content: ' →';
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: var(--space-lg) 0 var(--space-md);
}

.form-status {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  min-height: 1.5em;
}

.form-status.success {
  color: var(--color-accent);
}

.form-status.error {
  color: #dc2626;
}

/* ----- FAQ (box style with chevron) ----- */
.section-faq {
  background: var(--color-bg-alt);
  text-align: center;
}

.section-faq .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-faq .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 640px;
  width: 100%;
}

.faq-item {
  margin-bottom: var(--space-md);
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-q {
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-q::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .2s;
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.faq-a {
  margin: 0;
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-a.show {
  display: block;
}

/* ----- Final CTA ----- */
.section-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.cta-title {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-text {
  margin: 0 0 var(--space-xl);
  opacity: .95;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: #fff;
  color: var(--color-primary);
}

.btn-cta:hover {
  background: var(--color-bg);
  color: var(--color-primary-hover);
  text-decoration: none;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--color-dark);
  color: #94a3b8;
  padding: var(--space-xl) 0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width-wide);
}

.footer-partner-intro {
  margin: 0 0 var(--space-sm);
  font-size: 0.9rem;
  opacity: .9;
}

.footer-partners {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-partners a {
  color: #fff;
}

.footer-partners a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-social a {
  color: #94a3b8;
  font-size: 0.85rem;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  transition: color .2s, border-color .2s;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  text-decoration: none;
}

.footer-copy {
  margin: 0 0 var(--space-sm);
}

.footer-counter {
  margin: 0;
  opacity: .8;
  font-size: 0.85rem;
}

#view-count {
  font-variant-numeric: tabular-nums;
}
