/* ===================================================
   EINKLANG – Hauptstylesheet
   Farben: Creme, Sage-Grün, Dusty Rose, Lavendel
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --cream:        #faf7f2;
  --cream-dark:   #f0ebe0;
  --sage:         #8fa98a;
  --sage-light:   #b8ccb3;
  --sage-dark:    #6b8566;
  --purple:       #6D3D5A;
  --purple-light: #bf9fb3;
  --purple-dark:  #4c2a3e;
  --rose:         #d4a5a0;
  --rose-light:   #e8c8c4;
  --rose-dark:    #b87f7a;
  --lavender:     #b8a9c9;
  --lavender-light:#d4cde0;
  --gold:         #c8a96e;
  --text-dark:    #3a3530;
  --text-mid:     #6b625a;
  --text-light:   #9a8f87;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(58,53,48,0.06);
  --shadow-md:    0 8px 32px rgba(58,53,48,0.10);
  --shadow-lg:    0 20px 60px rgba(58,53,48,0.14);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    32px;
  --radius-xl:    48px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, textarea, select { font-family: var(--font-sans); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}

.display-xl  { font-size: clamp(3.5rem, 8vw, 7rem);   font-weight: 300; letter-spacing: -0.02em; }
.display-lg  { font-size: clamp(2.8rem, 6vw, 5rem);   font-weight: 300; }
.display-md  { font-size: clamp(2rem, 4vw, 3.2rem);   font-weight: 400; }
.display-sm  { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; }
.body-lg     { font-size: 1.125rem; font-weight: 300; line-height: 1.8; }
.body-md     { font-size: 1rem;     font-weight: 400; line-height: 1.7; }
.body-sm     { font-size: 0.875rem; font-weight: 400; line-height: 1.6; }
.label       { font-size: 0.75rem;  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Layout Utilities ── */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container-sm { max-width: 860px;  margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
.section      { padding: clamp(4rem, 10vw, 8rem) 0; }
.section-sm   { padding: clamp(2.5rem, 6vw, 5rem) 0; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid         { display: grid; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }

/* ── Color Utilities ── */
.bg-cream      { background-color: var(--cream); }
.bg-cream-dark { background-color: var(--cream-dark); }
.bg-sage       { background-color: var(--sage); }
.bg-sage-light { background-color: var(--sage-light); }
.bg-rose       { background-color: var(--rose); }
.bg-white      { background-color: var(--white); }
.text-sage     { color: var(--sage-dark); }
.text-rose     { color: var(--rose-dark); }
.text-gold     { color: var(--gold); }
.text-mid      { color: var(--text-mid); }
.text-light    { color: var(--text-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
}
.btn-outline:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-rose {
  background: var(--rose);
  color: var(--white);
}
.btn-rose:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--ek-accent);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--ek-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 1.1rem 2.8rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }

/* ── Tag / Badge ── */
.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-sage    { background: var(--sage-light); color: var(--sage-dark); }
.tag-rose    { background: var(--rose-light); color: var(--rose-dark); }
.tag-lavender{ background: var(--lavender-light); color: #6b5e8a; }
.tag-gold    { background: #f0e4cc; color: #8a6830; }

/* ── Section Labels ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--sage);
}
.section-label span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-light), transparent);
  margin: 0;
}

/* ── Card Base ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.nav-inner {
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px clamp(1.5rem, 5vw, 4rem);
  transition: var(--transition);
}
.nav.scrolled .nav-inner {
  padding: 0.5rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: var(--transition);
  height: 45px;
}
.nav.scrolled .nav-logo { color: var(--text-dark); }

.nav-logo img{
  max-height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav.scrolled .nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: rgba(255,255,255,0.18);
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 0.55rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem !important;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--white) !important;
  color: var(--sage-dark) !important;
}
.nav.scrolled .nav-cta {
  background: var(--sage-dark);
  color: var(--white) !important;
  border-color: var(--sage-dark);
}
.nav.scrolled .nav-cta:hover {
  background: var(--sage) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span,
.nav-toggle.active span { background: var(--text-dark); }
.nav-logo.active { color: var(--text-dark); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  max-width: 100vw;
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250,247,242,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 2rem;
  padding-top: 130px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--sage-dark); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(99 81 61 / 55%) 0%, rgb(169 151 125 / 30%) 50%, rgb(111 89 64 / 40%) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.hero-eyebrow .dot {
  width: 5px; height: 5px;
  background: var(--sage-dark);
  border-radius: 50%;
}
.hero h1 {
  color: var(--purple);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.8rem;
  font-style: italic;
}
.hero h1 em {
  font-style: italic;
  color: var(--purple);
}
.hero-sub {
  color: var(--purple-dark);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   ABOUT / INTRO
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-item {
  padding: 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

/* ================================================================
   PHILOSOPHY SECTION
   ================================================================ */
.philosophy {
  background: var(--sage-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 4rem;
  font-family: var(--font-serif);
  font-size: 22rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}
.philosophy .section-label span { color: var(--sage-light); }
.philosophy .section-label::before { background: var(--sage-light); }
.philosophy blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
}
.phil-values {
  grid-template-columns: repeat(3, 1fr);
}

.philosophy cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  text-align: center;
}

/* ================================================================
   COURSES / OFFERINGS
   ================================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.course-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.course-card-body {
  padding: 1.8rem;
}
.course-card-tag { margin-bottom: 1rem; }
.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.course-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.course-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--sage-dark);
}
.course-price span { font-size: 0.75rem; color: var(--text-light); margin-left: 2px; }

.ek-courses {

  --ek-bg: #172b27;
  --ek-bg-dark: #10211e;

  --ek-accent: #d7b98c;
  --ek-accent-light: #ead8ba;

  --ek-white: #ffffff;

  --ek-text: rgba(255,255,255,0.72);
  --ek-muted: rgba(255,255,255,0.46);

  position: relative;

  padding: 110px 24px 120px;

  background:
    radial-gradient(
      ellipse at 15% 20%,
      rgba(128,151,121,0.16),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 85% 80%,
      rgba(193,155,110,0.10),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      var(--ek-bg),
      var(--ek-bg-dark)
    );

  overflow: hidden;
  isolation: isolate;

  color: var(--ek-white);
}

.ek-courses::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 420px;

  background: linear-gradient(
    to bottom,
    rgba(23, 43, 39, 0) 0%,
    rgba(23, 43, 39, 0.15) 15%,
    rgba(48, 65, 55, 0.35) 30%,
    rgba(91, 105, 88, 0.55) 45%,
    rgba(145, 151, 128, 0.75) 60%,
    rgba(190, 187, 166, 0.9) 78%,
    var(--cream-dark) 100%
  );

  pointer-events: none;
  z-index: 0;
}

.ek-courses-container {
  position: relative;
  z-index: 1;
}


/* ==========================================
   BACKGROUND GLOW
========================================== */

.ek-courses-glow {

  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  filter: blur(110px);

  pointer-events: none;

  z-index: -1;

}

.ek-glow-one {

  top: 5%;
  left: -200px;

  background: rgba(162,180,142,0.12);

}

.ek-glow-two {

  bottom: 5%;
  right: -200px;

  background: rgba(211,169,115,0.10);

}


/* ==========================================
   CONTAINER
========================================== */

.ek-courses-container {

  position: relative;

  max-width: 1240px;

  margin: 0 auto;

  z-index: 1;

}


/* ==========================================
   SECTION HEADER
========================================== */

.ek-courses-header {

  text-align: center;

  max-width: 750px;

  margin: 0 auto 70px;

}

.ek-section-label {

  display: flex;

  justify-content: center;
  align-items: center;

  gap: 16px;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: var(--ek-accent);

  margin-bottom: 25px;

}

.ek-label-line {

  display: inline-block;

  width: 32px;
  height: 1px;

  background: var(--ek-accent);

  opacity: 0.6;

}

.ek-courses-header h2 {
  font-family: var(--font-serif);

  font-size: clamp(2.8rem, 5vw, 4.5rem);

  letter-spacing: -1.5px;

  color: #fff;

  margin: 0 0 24px;

}

.ek-courses-intro {

  font-size: 1.02rem;

  line-height: 1.9;

  color: var(--ek-text);

  max-width: 590px;

  margin: 0 auto;

}


/* ==========================================
   COURSE GRID
========================================== */

.ek-course-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  align-items: stretch;

}


/* ==========================================
   GLASS CARDS
========================================== */

.ek-course-card {

  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 32px 30px 26px;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.105),
      rgba(255,255,255,0.035)
    );

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    0 12px 40px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.10);

  overflow: hidden;

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;

}


/* LIGHT REFLECTION */

.ek-course-card::before {

  content: "";

  position: absolute;

  top: -100%;
  left: -100%;

  width: 200%;
  height: 200%;

  background:
    linear-gradient(
      125deg,
      transparent 35%,
      rgba(255,255,255,0.055) 50%,
      transparent 65%
    );

  transform: translateX(-35%);

  transition: transform 0.8s ease;

  pointer-events: none;

}

.ek-course-card:hover::before {

  transform: translateX(35%);

}


/* HOVER */

.ek-course-card:hover {

  transform: translateY(-9px);

  border-color: rgba(215,185,140,0.42);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.14),
      rgba(255,255,255,0.055)
    );

  box-shadow:
    0 25px 60px rgba(0,0,0,0.24),
    0 0 30px rgba(215,185,140,0.045),
    inset 0 1px 0 rgba(255,255,255,0.16);

}


/* ==========================================
   CARD TOP
========================================== */

.ek-card-top {

  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 12px;

  min-height: 28px;

  margin-bottom: 30px;

}

.ek-course-category {

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 2px;

  color: var(--ek-accent);

}

.ek-course-number {

  font-family: Georgia, serif;

  font-size: 15px;

  font-style: italic;

  color: rgba(255,255,255,0.30);

}


/* ==========================================
   ZPP BADGE
========================================== */

.ek-zpp-badge {

  display: inline-flex;

  align-items: center;

  padding: 7px 10px;

  border-radius: 30px;

  background: rgba(215,185,140,0.12);

  border: 1px solid rgba(215,185,140,0.30);

  color: #e7cda8;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.7px;

  white-space: nowrap;

}


/* ==========================================
   ICON
========================================== */

.ek-card-icon {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  margin-bottom: 24px;

  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      rgba(215,185,140,0.18),
      rgba(215,185,140,0.05)
    );

  border: 1px solid rgba(215,185,140,0.20);

  color: var(--ek-accent-light);

  font-size: 27px;

  transition:
    transform 0.4s ease,
    background 0.4s ease;

}

.ek-course-card:hover .ek-card-icon {

  transform: rotate(-7deg) scale(1.06);

  background: rgba(215,185,140,0.20);

}


/* ==========================================
   COURSE TITLE
========================================== */

.ek-course-card h3 {

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(1.65rem, 2.2vw, 2.05rem);

  font-weight: 400;

  line-height: 1.2;

  letter-spacing: -0.5px;

  color: #ffffff;

  margin: 0 0 17px;

}

.ek-course-card h3 em {

  font-weight: 400;

  color: var(--ek-accent-light);

}


/* ==========================================
   SCHEDULE
========================================== */

.ek-course-schedule {

  display: flex;

  align-items: center;

  gap: 9px;

  color: rgba(255,255,255,0.86);

  font-size: 12px;

  font-weight: 500;

  line-height: 1.6;

}

.ek-schedule-icon {

  color: var(--ek-accent);

  font-size: 18px;

  flex-shrink: 0;

}


/* ==========================================
   START DATE
========================================== */

.ek-course-start {

  display: inline-flex;

  align-items: center;

  gap: 9px;

  align-self: flex-start;

  margin-top: 13px;

  padding: 8px 12px;

  border-radius: 8px;

  background: rgba(215,185,140,0.10);

  color: var(--ek-accent-light);

  font-size: 11px;

  font-weight: 500;

}

.ek-course-start span {

  color: var(--ek-accent);

}


/* ==========================================
   DIVIDER
========================================== */

.ek-card-divider {

  width: 100%;
  height: 1px;

  margin: 24px 0;

  background:
    linear-gradient(
      90deg,
      rgba(215,185,140,0.45),
      rgba(255,255,255,0.08),
      transparent
    );

}


/* ==========================================
   DESCRIPTION
========================================== */

.ek-course-description {

  flex: 1;

}

.ek-course-description p {

  font-size: 12.8px;

  line-height: 1.85;

  color: var(--ek-text);

  margin: 0 0 13px;

}

.ek-course-description p:last-child {

  margin-bottom: 0;

}


/* ==========================================
   CARD FOOTER
========================================== */

.ek-card-footer {

  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 12px;

  margin-top: 30px;

  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.10);

}

.ek-card-footer > span:first-child {

  font-size: 11px;

  color: var(--ek-muted);

  letter-spacing: 0.3px;

}

.ek-footer-arrow {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  border-radius: 50%;

  border: 1px solid rgba(215,185,140,0.25);

  color: var(--ek-accent);

  font-size: 18px;

  transition: all 0.35s ease;

}

.ek-course-card:hover .ek-footer-arrow {

  background: var(--ek-accent);

  color: #172b27;

  transform: rotate(45deg);

}


/* ==========================================
   SPECIAL CARDS
========================================== */

.ek-prevention-card {

  border-color: rgba(215,185,140,0.22);

  background:
    linear-gradient(
      145deg,
      rgba(215,185,140,0.10),
      rgba(255,255,255,0.035)
    );

}

.ek-personal-card {

  background:
    linear-gradient(
      145deg,
      rgba(155,180,156,0.15),
      rgba(255,255,255,0.035)
    );

}


/* ==========================================
   BOTTOM CTA
========================================== */

.ek-courses-bottom {

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  margin-top: 85px;

}

.ek-bottom-decoration {

  font-size: 30px;

  color: var(--ek-accent);

  margin-bottom: 22px;

}

.ek-courses-bottom span {

  font-family: var(--font-sans);

  font-size: clamp(0.7rem, 2.8vw, 0.9rem);

  line-height: 1.7;

  color: rgba(255,255,255,0.78);

  margin-bottom: 60px;

}

.ek-courses-bottom p {

  font-family: var(--font-serif);

  font-size: clamp(1.3rem, 2.8vw, 1.8rem);

  line-height: 1.7;

  color: rgba(255,255,255,0.78);

  margin-bottom: 30px;

}

.ek-courses-bottom strong {

  font-weight: 400;

  color: var(--ek-accent-light);

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {

  .ek-course-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .ek-courses {

    padding: 90px 24px;

  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 680px) {

  .ek-courses {

    padding: 75px 18px 85px;

  }

  .ek-courses-header {

    margin-bottom: 45px;

  }

  .ek-courses-header h2 {

    font-size: 2.6rem;

  }

  .ek-courses-intro {

    font-size: 0.92rem;

    line-height: 1.8;

  }

  .ek-course-grid {

    grid-template-columns: 1fr;

    gap: 18px;

  }

  .ek-course-card {

    padding: 28px 24px 24px;

    border-radius: 19px;

  }

  .ek-card-top {

    margin-bottom: 25px;

  }

  .ek-course-card h3 {

    font-size: 1.85rem;

  }

  .ek-course-description p {

    font-size: 13px;

  }

  .ek-courses-bottom {

    margin-top: 65px;

  }

  .ek-courses-button {

    width: 100%;

    max-width: 310px;

  }

}


/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

  .ek-course-card,
  .ek-course-card::before,
  .ek-card-icon,
  .ek-footer-arrow,
  .ek-courses-button {

    transition: none;

  }

  .ek-course-card:hover {

    transform: none;

  }

}

/* ================================================================
   TIMETABLE
   ================================================================ */
.schedule-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-top: 3rem;
}
.schedule-header {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  background: var(--sage-dark);
  color: var(--white);
  text-align: center;
}
.schedule-header div {
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.schedule-row {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  border-bottom: 1px solid var(--cream-dark);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-time {
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  border-right: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-slot {
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-class {
  background: var(--sage-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  text-align: center;
  font-size: 0.75rem;
  width: 100%;
}
.schedule-class strong {
  display: block;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 2px;
}
.schedule-class span { color: var(--text-mid); }
.schedule-class.rose  { background: var(--rose-light); }
.schedule-class.rose strong { color: var(--rose-dark); }
.schedule-class.lavender { background: var(--lavender-light); }
.schedule-class.lavender strong { color: #6b5e8a; }
.schedule-class.purple { background: var(--purple-light); }
.schedule-class.purple strong { color: var(--purple) }
.schedule-class.purple span { color: var(--text-dark) }

/* ================================================================
   PRICING
   ================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  background: var(--sage-dark);
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured h3,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-period,
.pricing-card.featured .pricing-feature { color: var(--white); }
.pricing-card.featured .pricing-feature { opacity: 0.85; }
.pricing-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: 0.8rem;
  right: -2.1rem;
  background: var(--rose);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 2.8rem;
  transform: rotate(35deg);
}
.pricing-card:hover:not(.featured) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-type {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.8rem;
}
.pricing-card.featured .pricing-type { color: var(--sage-light); }
.pricing-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.pricing-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pricing-price sup {
  font-size: 1.3rem;
  vertical-align: super;
  font-family: var(--font-sans);
  font-weight: 400;
}
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.pricing-features { margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.pricing-card.featured .pricing-feature { border-color: rgba(255,255,255,0.15); }
.pricing-feature::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 16px;
}
.pricing-card.featured .pricing-feature::before { color: var(--sage-light); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { background: var(--cream-dark); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-light);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testimonial-detail {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ================================================================
   TEAM
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.team-card {
  text-align: center;
}
.team-img-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--cream-dark);
  box-shadow: var(--shadow-md);
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.8rem;
  color: var(--sage-dark);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-img { aspect-ratio: 1; }
.gallery-img.tall { aspect-ratio: auto; height: 100%; }

/* ================================================================
   CONTACT / CTA
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(143,169,138,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.contact-info { padding-top: 1rem; }
.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 2px;
}
.contact-text p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.8rem;
}
.footer-socials {
  display: flex;
  gap: 0.7rem;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  color: var(--white);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--purple-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom a:hover { color: var(--sage-light); }

/* ================================================================
   BOOKING PAGE
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-light) 100%);
  padding: clamp(7rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* Course Cards Booking */
.booking-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.booking-course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}
.booking-course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.booking-course-card.selected {
  border-color: var(--sage-dark);
}
.booking-course-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.booking-course-body { padding: 1.8rem; }
.booking-course-body h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.booking-course-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 1rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Booking Form */
.booking-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 3rem auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.ticket-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.ticket-option {
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
}
.ticket-option:hover { border-color: var(--sage); }
.ticket-option.selected {
  border-color: var(--sage-dark);
  background: rgba(143,169,138,0.08);
}
.ticket-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ticket-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.ticket-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--sage-dark);
}
.ticket-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.booking-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.booking-summary h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.summary-line:last-child { border-bottom: none; font-weight: 600; }
.booking-success {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}
.booking-success.show { display: block; }
.success-icon {
  width: 80px; height: 80px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 180px;
}
.step::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--cream-dark);
  z-index: 0;
}
.step:last-child::before { display: none; }
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
  position: relative;
  transition: var(--transition);
}
.step.active .step-num {
  background: var(--sage-dark);
  color: var(--white);
}
.step.done .step-num {
  background: var(--sage-light);
  color: var(--sage-dark);
}
.step-label {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.4rem;
  text-align: center;
  letter-spacing: 0.04em;
}
.step.active .step-label { color: var(--sage-dark); font-weight: 500; }

/* ================================================================
   ADMIN / CMS
   ================================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--cream);
}
.admin-sidebar {
  width: 270px;
  background: var(--text-dark);
  color: var(--white);
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.admin-logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-nav { padding: 1.5rem 0; flex: 1; }
.admin-nav-group {
  margin-bottom: 0.5rem;
}
.admin-nav-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0.8rem 1.5rem 0.4rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.admin-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.admin-nav-link.active {
  color: var(--white);
  background: rgba(143,169,138,0.2);
  border-left-color: var(--sage);
}
.admin-nav-link i { font-size: 1rem; width: 18px; text-align: center; }
.admin-sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.admin-avatar {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.admin-username {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}
.admin-main {
  margin-left: 270px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h1 {
  font-size: 1.5rem;
  font-weight: 400;
}
.admin-content { padding: 2rem; flex: 1; }

/* Admin Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.admin-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.admin-stat-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.admin-stat-trend {
  font-size: 0.78rem;
  color: var(--sage-dark);
}

/* Admin Table */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-table-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cream-dark);
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-table-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  transition: var(--transition);
}
.admin-search:focus-within {
  border-color: var(--sage);
  background: var(--white);
}
.admin-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-dark);
  width: 200px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  padding: 0.85rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
tbody td {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(250,247,242,0.6); }

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-confirmed { background: #e8f5e9; color: #388e3c; }
.status-pending   { background: #fff8e1; color: #f9a825; }
.status-cancelled { background: #fce4ec; color: #c62828; }
.status-attended  { background: #e3f2fd; color: #1565c0; }

/* Admin Modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.admin-modal-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-modal-header h3 { font-size: 1.4rem; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.modal-close:hover { background: var(--rose-light); color: var(--rose-dark); }
.admin-modal-body { padding: 2rem; }
.admin-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--sage-light) 100%);
  padding: 2rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.login-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.login-error {
  background: #fce4ec;
  color: #c62828;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: none;
}
.login-error.show { display: block; }

/* Attendance Mode */
.attendance-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.attendance-card.present {
  border-left: 4px solid var(--sage-dark);
  background: rgba(143,169,138,0.06);
}
.attendance-card.absent {
  border-left: 4px solid var(--cream-dark);
  opacity: 0.75;
}
.attendance-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.attendance-info {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.attendance-toggle {
  width: 48px; height: 26px;
  background: var(--cream-dark);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.attendance-toggle.on { background: var(--sage-dark); }
.attendance-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.attendance-toggle.on::after { left: 25px; }

/* Rich Text Editor Simple */
.rich-editor-toolbar {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  padding: 0.6rem;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.rich-editor-toolbar button {
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}
.rich-editor-toolbar button:hover { background: var(--white); color: var(--sage-dark); }
.rich-editor-area {
  min-height: 150px;
  padding: 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  outline: none;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.rich-editor-area:focus { border-color: var(--sage); }

/* Image Upload Preview */
.img-upload-area {
  border: 2px dashed var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.img-upload-area:hover { border-color: var(--sage); background: rgba(143,169,138,0.04); }
.img-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.img-upload-icon { font-size: 2rem; color: var(--text-light); margin-bottom: 0.5rem; }
.img-upload-text { font-size: 0.85rem; color: var(--text-light); }
.img-preview { display: none; margin-top: 1rem; }
.img-preview img { max-height: 160px; border-radius: var(--radius-sm); margin: 0 auto; }
.img-preview.show { display: block; }

/* Color Picker Section */
.color-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.color-swatch {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.color-swatch input[type="color"] {
  position: absolute;
  inset: -5px;
  opacity: 0;
  cursor: pointer;
  width: 120%;
  height: 120%;
}
.color-label { font-size: 0.72rem; color: var(--text-light); text-align: center; }

/* ================================================================
   ANIMATIONS & PERFORMANCE
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll-Animationen mit IntersectionObserver */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }

/* Performance-kritische Elemente */
.nav               { will-change: transform; }
.course-card,
.pricing-card,
.testimonial-card  { will-change: transform; }
.hero-bg           { will-change: opacity; }

/* GPU-beschleunigt: nur nötige Elemente */
.booking-course-card:hover,
.course-card:hover {
  transform: translateY(-4px);
}

/* Smooth image loading */
img { display: block; max-width: 100%; height: auto; }
img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* Team Solo (Einzelperson-Layout) */
.team-solo {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 3rem;
}
.team-solo-img-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.team-solo-img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.team-solo-certs {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  width: 280px;
}
.team-solo-certs h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.8rem;
}
.team-solo-content { flex: 1; }
.team-quote {
  background: var(--sage-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.8rem 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
}

/* Sticky Weiter-Button */
.sticky-next {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--cream-dark);
  padding: 1rem 1.5rem;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 24px rgba(58,53,48,0.1);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-next.show {
  display: flex;
  transform: translateY(0);
}
.sticky-next-info { font-size: 0.88rem; color: var(--text-mid); }
.sticky-next-info strong { color: var(--text-dark); }

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  background: var(--text-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: slideInRight 0.35s ease;
  max-width: 320px;
}
.toast.success { background: var(--sage-dark); }
.toast.error   { background: #c62828; }
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── 1100px: Tablet Landscape ── */
@media (max-width: 1100px) {
  .footer-grid             { grid-template-columns: 1fr 1fr; }
  .admin-stats             { grid-template-columns: repeat(2, 1fr); }
  .courses-grid            { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid            { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-card.featured   { transform: none; }
  .testimonials-grid       { grid-template-columns: 1fr 1fr; }
  .team-grid               { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid            { grid-template-columns: repeat(2, 1fr); }
}

/* ── 900px: Tablet Portrait ── */
@media (max-width: 900px) {
  .about-grid              { grid-template-columns: 1fr; }
  .about-img-accent        { display: none; }
  .about-stats             { grid-template-columns: repeat(2, 1fr); }
  .contact-grid            { grid-template-columns: 1fr; gap: 2.5rem; }
  .schedule-wrap           { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-header,
  .schedule-row            { min-width: 600px; }

  /* Admin */
  .admin-sidebar           { transform: translateX(-270px); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
  .admin-sidebar.open      { transform: translateX(0); box-shadow: 0 0 0 100vw rgba(0,0,0,0.35); }
  .admin-main              { margin-left: 0; }
  .admin-stats             { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links               { display: none; }
  .nav-toggle              { display: flex; }

  /* Typography */
  .hero h1,
  .hero-headline           { font-size: clamp(2.8rem, 11vw, 4.5rem); line-height: 1.05; }
  .hero-sub                { font-size: 0.95rem; line-height: 1.7; }
  .hero-eyebrow            { font-size: 0.65rem; }

  /* Sections */
  .section                 { padding: clamp(2.5rem, 8vw, 5rem) 0; }
  .section-sm              { padding: clamp(1.8rem, 6vw, 3.5rem) 0; }
  .container               { padding: 0 1.25rem; }
  .container-sm            { padding: 0 1.25rem; }

  /* Hero */
  .hero-actions            { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn       { width: 100%; justify-content: center; }
  .hero-content            { max-width: 100%; }

  /* Stats Band */
  .stats-band              { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item               { padding: 1.5rem 1rem; }

  /* About */
  .about-grid              { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-accent        { display: none; }
  .about-stats             { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Philosophie */
  .phil-values             { grid-template-columns: 1fr; gap: 1rem; }
  .phil-quote-text         { font-size: clamp(1.3rem, 4vw, 1.8rem); }

  /* Courses */
  .courses-grid            { grid-template-columns: 1fr; gap: 1.25rem; }
  .booking-courses-grid    { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Pricing */
  .pricing-grid            { grid-template-columns: 1fr; max-width: 100%; }
  .pricing-card.featured   { transform: none; }

  /* Team Solo */
  .team-solo               { flex-direction: column; gap: 2rem; align-items: center; text-align: center; }
  .team-solo-certs         { width: 100%; max-width: 340px; }
  .team-solo-content       { width: 100%; }

  /* Testimonials */
  .testimonials-grid,
  .testi-grid              { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Gallery */
  .gallery-grid            { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .gallery-item.tall       { grid-row: span 1; }
  .gallery-item.wide       { grid-column: span 1; }

  /* Contact */
  .contact-grid            { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap       { padding: 1.5rem; }

  /* Footer */
  .footer-grid             { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col-brand        { grid-column: span 2; }
  .footer-bottom           { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Schedule */
  .schedule-header,
  .schedule-row            { grid-template-columns: 80px repeat(7, 1fr); font-size: 0.75rem; }
  .schedule-wrap           { font-size: 0.72rem; }

  /* Forms */
  .form-row                { grid-template-columns: 1fr; }

  /* Admin */
  .admin-stats             { grid-template-columns: 1fr 1fr; }
  .color-section           { grid-template-columns: repeat(2, 1fr); }
  .admin-content           { padding: 1.25rem; }
  .admin-topbar            { padding: 1rem 1.25rem; }
  .admin-topbar h1         { font-size: 1rem; }
}

/* ── 480px: Small Mobile ── */
@media (max-width: 480px) {
  /* Hero */
  .hero h1,
  .hero-headline           { font-size: clamp(2.2rem, 10vw, 3rem); }

  /* Stats */
  .stats-band              { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .stat-item               { padding: 1.2rem 0.75rem; }
  .stat-num                { font-size: 2rem; }

  /* Gallery */
  .gallery-grid            { grid-template-columns: 1fr; }
  .gallery-item.wide       { grid-column: span 1; }

  /* Footer */
  .footer-grid             { grid-template-columns: 1fr; }
  .footer-col-brand        { grid-column: span 1; }

  /* Admin */
  .admin-stats             { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .admin-stat-card         { padding: 1rem; }
  .admin-stat-value        { font-size: 1.7rem; }
  .admin-content           { padding: 0.9rem; }

  /* Login */
  .login-card              { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }

  /* Booking */
  .booking-form-wrap       { padding: 1.25rem; }
  .booking-steps           { gap: 0; overflow-x: auto; }
  .step-label              { font-size: 0.65rem; }
  .booking-course-body     { padding: 1.25rem; }

  /* Sticky next */
  .sticky-next             { flex-direction: column; align-items: stretch; text-align: center; gap: 0.75rem; padding: 0.9rem 1.25rem; }
  .sticky-next .btn        { width: 100%; justify-content: center; }
}
