/* ================================================
   HOME.CSS  –  Startseite
   ================================================ */

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4rem 4rem 6rem; position: relative; z-index: 2;
}
.hero-eyebrow { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lavender); margin-bottom: 1.4rem; }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 300;
  line-height: 1.05; color: var(--teal-dark); margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--lavender); }
.hero-subtitle { font-size: .97rem; line-height: 1.85; color: var(--text-mid); max-width: 380px; margin-bottom: 2.8rem; font-weight: 300; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right { position: relative; overflow: hidden; }
.hero-bg-shape {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--lavender-light) 60%, var(--teal-pale) 100%);
}
.hero-circle { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-circle:nth-child(2) { width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.35); }
.hero-circle:nth-child(3) { width: 370px;  height: 370px;  border: 1px solid rgba(255,255,255,.55); }
.hero-circle:nth-child(4) { width: 245px;  height: 245px;  background: rgba(255,255,255,.15); }
/* Mandala-Blüten bleiben als dekorativer Hintergrundrahmen */
.hero-mandala {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 340px; opacity: .75;
  pointer-events: none;
}

.hero-img-wrap {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 260px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(45,110,126,.25);
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Platzhalter – sichtbar solange kein Bild gesetzt ist */
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,.15));
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  border: 2px dashed rgba(255,255,255,.5);
  border-radius: inherit;
}
/* Platzhalter ausblenden wenn Bild erfolgreich geladen */
.hero-img-wrap:has(.hero-img[src]:not([src=""])) .hero-img-placeholder {
  display: none;
}
.hip-icon { font-size: 2.6rem; }
.hip-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem; font-weight: 300; color: white;
  letter-spacing: .04em;
}
.hip-hint {
  font-size: .65rem; color: rgba(255,255,255,.65);
  font-family: monospace; letter-spacing: .03em;
}

@keyframes floatY {
  0%,100% { transform: translate(-50%,-50%) translateY(0); }
  50%     { transform: translate(-50%,-50%) translateY(-12px); }
}
.hero-dots { position: absolute; inset: 0; pointer-events: none; }
.hdot { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); animation: hdotPulse 4s ease-in-out infinite; }
@keyframes hdotPulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%     { opacity: .9; transform: scale(1.3); }
}

/* ── HOME KURSE ── */
.home-kurse { background: var(--white); }
.hk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; max-width: 880px; margin: 0 auto; }
.hk-card {
  background: var(--sand); border-radius: 20px; padding: 2.2rem;
  display: flex; gap: 1.4rem; align-items: flex-start;
  transition: all .35s; border: 1px solid transparent;
  position: relative; overflow: hidden; cursor: pointer;
}
.hk-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--teal-light), var(--lavender));
  border-radius: 4px 0 0 4px; transform: scaleY(0); transition: transform .35s; transform-origin: top;
}
.hk-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(45,110,126,.12); border-color: var(--teal-pale); }
.hk-card:hover::before { transform: scaleY(1); }
.hk-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-pale), var(--lavender-pale));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.8rem;
}
.hk-icon img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; }
.hk-badge {
  display: inline-block; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lavender); background: var(--lavender-pale);
  padding: .18rem .65rem; border-radius: 50px; margin-bottom: .5rem;
}
.hk-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; color: var(--teal-dark); margin-bottom: .35rem; }
.hk-card p { font-size: .85rem; line-height: 1.7; color: var(--text-mid); font-weight: 300; }

/* ── HOME SPEZIAL MINI-GRID ── */
.home-spezial { background: linear-gradient(180deg, var(--sand), var(--lavender-pale)); }
.sp-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 1080px; margin: 0 auto; }
.sp-mini {
  background: var(--white); border-radius: 20px; padding: 1.8rem 1.5rem;
  text-align: center; cursor: pointer; transition: all .35s;
  border: 1px solid rgba(126,200,200,.2); position: relative; overflow: hidden;
}
.sp-mini::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--teal-light), var(--lavender), var(--teal-light));
  transform: scaleX(0); transition: transform .4s;
}
.sp-mini:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(139,135,184,.15); }
.sp-mini:hover::after { transform: scaleX(1); }
.sp-mini-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-pale), var(--lavender-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1rem;
}
.sp-mini-icon img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.sp-mini h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--teal-dark); margin-bottom: .6rem; }
.sp-mini p { font-size: .82rem; line-height: 1.7; color: var(--text-mid); font-weight: 300; }
.sp-mini-last { grid-column: 2; }
