/* =============================
   CANDOLAH YOGA – SAUBERES CSS
   geprüft auf Doppelungen & Widersprüche
   ============================= */

/* ---------- Variablen ---------- */
:root{
  --beige: #f9f6f1;
  --pink:  #d94f80;
  --text:  #615458;
  --card:  #ffffff;
  --maxw:  1200px;
}

/* ---------- Reset & Basis ---------- */
*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--beige);
}

.container{
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6{
  color: var(--text);
}

a{
  color: var(--text);
  text-decoration: none;
}

a:hover{
  color: var(--pink);
}

/* ---------- Header ---------- */
.site-header{
  background: #fff;
  border-bottom: 2px solid var(--pink);
}

.header-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo{
  height: 140px;
}

.main-nav a{
  font-weight: bold;
  margin-left: 20px;
  transition: color .3s ease;
}

.main-nav a:hover{
  color: var(--pink);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  height: 100vh;
  min-height: 420px;
  overflow: hidden;
}

.hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero-text{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 25vh;
}

.hero-text h1{
  background: rgba(255,255,255,.85);
  padding: 16px 28px;
  border-radius: 6px;
  font-size: clamp(24px, 4vw, 44px);
}

@media (max-width: 600px){
  .hero-text{ padding-top: 20vh; }
}

/* ---------- Intro ---------- */
.intro{
  text-align: center;
  padding: 36px 0 8px;
  font-size: 1.1rem;
}

/* ---------- Drei Boxen ---------- */
.three-boxes{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 20px;
  padding: 24px 0 40px;
}

.box{
  background: var(--card);
  border-top: 5px solid var(--pink);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

/* ---------- Kurse ---------- */
.kurs-block{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.kurs-text{
  flex: 1 1 auto;
}

.kurs-bild{
  flex: 0 0 360px;
  display: flex;
  justify-content: flex-end;
}

.kurs-bild img{
  width: 360px;
  max-width: 100%;
  height: auto;          /* nichts abschneiden */
  border-radius: 8px;
  display: block;
}

@media (max-width: 800px){
  .kurs-block{
    flex-direction: column;
  }

  .kurs-bild{
    justify-content: center;
  }

  .kurs-bild img{
    width: 100%;
    max-width: 360px;
  }
}

/* ---------- Über mich ---------- */
.about{
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 6px 0 50px;
}

.about-sidepic img{
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

@media (max-width: 900px){
  .about{
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* ---------- Kontakt ---------- */
.contact{
  padding: 40px 0;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 40px;
}

.contact h2{ color: var(--pink); }
.contact a{ color: var(--pink); font-weight: bold; }

/* ---------- Footer ---------- */
.site-footer{
  background: #fff;
  padding: 18px 0;
  text-align: center;
  font-size: .95rem;
}

.site-footer a{
  color: var(--pink);
}
