/* ============================================================
   Traditionelle Tibetische Medizin — Landingpage
   Farbpalette: Dunkelblau (Medizinbuddha) + goldene Nuancen
   ============================================================ */

:root {
  /* Medicine Buddha blue family */
  --blue-deep:    #0b1736;
  --blue:         #142554;
  --blue-soft:    #1c3066;
  --blue-line:    #243a78;

  /* Gold family */
  --gold:         #c9a24a;
  --gold-bright:  #e0b870;
  --gold-soft:    #d7b870;
  --gold-faint:   rgba(201, 162, 74, 0.18);

  /* Light surfaces */
  --cream:        #f7f2e7;
  --paper:        #fbf8f1;
  --paper-warm:   #f3ecda;
  --ink:          #1c2540;
  --ink-soft:     #45506e;
  --ink-muted:    #6b7591;

  --radius:       4px;
  --radius-lg:    8px;
  --shadow-card:  0 8px 28px rgba(11, 23, 54, 0.08);
  --shadow-card-dark: 0 8px 28px rgba(0, 0, 0, 0.25);

  --serif: 'Cormorant Garamond', 'Source Serif Pro', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { padding-left: 1.25rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}
.section-light  { background: var(--paper); }
.section-cream  { background: var(--cream); }
.section-dark   { background: var(--blue-deep); color: var(--paper); }
.section-cta    {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-soft) 100%);
  color: var(--paper);
  padding: 4.5rem 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  line-height: 1.18;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper); }
.section-cta h2 { color: var(--paper); }

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }

.section-dark h4 { color: var(--gold-bright); }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--gold { color: var(--gold-bright); }
.accent { color: var(--gold); font-style: italic; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  background: var(--blue-deep);
  color: var(--paper);
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold-bright) 0 6px, transparent 7px),
    conic-gradient(from 0deg, var(--gold) 0deg 60deg, transparent 60deg 120deg, var(--gold) 120deg 180deg, transparent 180deg 240deg, var(--gold) 240deg 300deg, transparent 300deg 360deg);
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-line {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.site-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(247, 242, 231, 0.78);
  transition: color 0.18s ease;
  position: relative;
}
.site-nav a:hover { color: var(--gold-bright); }
.site-nav a.nav-highlight {
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 74, 0.55);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.site-nav a.nav-highlight:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-deep);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 74, 0.12), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(28, 48, 102, 0.6), transparent 60%),
    linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: var(--paper);
  padding: 6.5rem 0 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 90%, var(--gold-faint), transparent 35%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.hero h1 { color: var(--paper); margin-bottom: 1.5rem; }
.hero .lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 400;
  color: rgba(247, 242, 231, 0.88);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(247, 242, 231, 0.7);
  margin-bottom: 2.5rem;
}
.hero-meta .dot { color: var(--gold); }

/* ---------- Buttons ---------- */
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  background: var(--gold);
  color: var(--blue-deep);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 162, 74, 0.3);
}
.cta--gold { margin-top: 1.5rem; }

/* ---------- Section heading ---------- */
.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}
.section-intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.5rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(20, 37, 84, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.65rem 1.6rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.section-light .course-card { background: #fff; }
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  opacity: 0.85;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 162, 74, 0.4);
}
.course-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.course-label--soft { color: var(--ink-muted); }
.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.55rem;
}
.course-card > p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
  line-height: 1.55;
}
.course-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  margin: 0 0 1.25rem;
  border-top: 1px solid rgba(20, 37, 84, 0.08);
  border-bottom: 1px solid rgba(20, 37, 84, 0.08);
}
.course-facts div { display: flex; flex-direction: column; gap: 0.2rem; }
.course-facts dt {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.course-facts dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}
.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-top: auto;
  transition: color 0.18s ease, transform 0.18s ease;
}
.course-card:hover .card-link {
  color: var(--gold);
  transform: translateX(4px);
}

.course-card--image {
  padding: 0;
  overflow: hidden;
  background: var(--blue-deep);
  min-height: 360px;
}
.course-card--image::before { display: none; }
.course-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.course-card--image:hover { transform: none; box-shadow: none; border-color: rgba(20, 37, 84, 0.1); }

/* ---------- Info section ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.info-intro p {
  color: rgba(247, 242, 231, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}
.info-list li {
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.info-list h4 {
  color: var(--gold-bright);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.info-list p {
  color: rgba(247, 242, 231, 0.78);
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.6;
}

/* Dozentinnen-Avatare */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(201, 162, 74, 0.6);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.team-avatar--rotate-cw img {
  object-position: right center;
}
.team-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.team-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-bright);
}
.team-role {
  font-size: 0.78rem;
  color: rgba(247, 242, 231, 0.6);
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
}

/* ---------- Detailed course sections ---------- */
.course-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.course-header h2 { margin-bottom: 0.75rem; }
.course-header h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}
.course-header--light h2 { color: var(--paper); }
.course-tagline {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
}
.course-header--light .course-tagline { color: rgba(247, 242, 231, 0.78); }

.course-body {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}
.course-description p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.course-suitable {
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--ink);
  margin-top: 1.5rem;
}
.section-cream .course-suitable { background: rgba(20, 37, 84, 0.06); }

.course-sidebar {
  background: var(--blue-deep);
  color: var(--paper);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.course-sidebar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
}
.course-sidebar h4 {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
}
.course-sidebar dl { margin: 0; display: grid; gap: 1rem; }
.course-sidebar dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.course-sidebar dd {
  margin: 0;
  color: rgba(247, 242, 231, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
}
.course-sidebar .note {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(247, 242, 231, 0.55);
  font-style: italic;
  margin-top: 0.25rem;
}
.course-sidebar .price {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.curriculum-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 1rem 0 1.75rem;
}
.curriculum-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}
.curriculum {
  counter-reset: curriculum;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.curriculum li {
  counter-increment: curriculum;
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.3rem;
  background: var(--paper);
  border: 1px solid rgba(20, 37, 84, 0.08);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.section-cream .curriculum li { background: #fff; }
.section-light .curriculum li { background: #fff; }
.curriculum li:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.curriculum li::before {
  content: counter(curriculum, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.curriculum li strong { color: var(--blue-deep); font-weight: 600; }

/* ---------- On Demand section ---------- */
.section-ondemand {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 162, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--cream) 100%);
}
.ondemand-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.ondemand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ondemand-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(20, 37, 84, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ondemand-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
}
.ondemand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 162, 74, 0.4);
}
.ondemand-card h3 {
  font-size: 1.55rem;
  margin: 0.6rem 0 0.6rem;
}
.ondemand-card > p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
  line-height: 1.55;
}
.ondemand-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.85rem 1.2rem;
  background: var(--blue-deep);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.18s ease, color 0.18s ease;
}
.ondemand-link:hover {
  background: var(--gold);
  color: var(--blue-deep);
}
.ondemand-link .arrow {
  transition: transform 0.18s ease;
}
.ondemand-link:hover .arrow { transform: translateX(3px); }

.ondemand-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- CTA section ---------- */
.cta-inner {
  text-align: center;
  max-width: 600px;
}
.section-cta h2 { margin-bottom: 0.75rem; }
.section-cta p { color: rgba(247, 242, 231, 0.78); margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #070f25;
  color: rgba(247, 242, 231, 0.7);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(201, 162, 74, 0.2);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  color: var(--gold-bright);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.footer-meta {
  font-size: 0.82rem;
  color: rgba(247, 242, 231, 0.45);
  text-align: right;
  align-self: end;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .section { padding: 4rem 0; }
  .hero { padding: 4.5rem 0 5rem; }
  .info-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .course-body { grid-template-columns: 1fr; gap: 2rem; }
  .site-nav { display: none; }
  .header-inner { padding-top: 0.9rem; padding-bottom: 0.9rem; }
}
@media (max-width: 520px) {
  .course-facts { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
}
