/* =========================================================
   CONTENT – SAUBERE ABGRENZUNG
   Header & Footer bleiben unberührt
========================================================= */

/* Nur der eigentliche Seiteninhalt */
.wp-site-blocks main,
.wp-site-blocks .wp-block-group,
.wp-site-blocks .wp-block-post-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   VERTIKALE ORDNUNG
========================================================= */

.wp-site-blocks main > * + *,
.wp-site-blocks .wp-block-post-content > * + * {
  margin-top: 3.5rem;
}

/* Erste Section nach dem Header */
.wp-site-blocks main > :first-child,
.wp-site-blocks .wp-block-post-content > :first-child {
  margin-top: -3rem;
}

/* =========================================================
   TYPOGRAFIE
========================================================= */

.wp-site-blocks p {
  max-width: 65ch;
  line-height: 1.6;
}

/* =========================================================
   ÜBERSCHRIFTEN
========================================================= */

.wp-site-blocks h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.wp-site-blocks h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

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

@media (max-width: 768px) {
  .wp-site-blocks main,
  .wp-site-blocks .wp-block-post-content {
    padding: 0 1.2rem;
  }

  .wp-site-blocks main > :first-child,
  .wp-site-blocks .wp-block-post-content > :first-child {
    margin-top: 4rem;
  }

  .wp-site-blocks main > * + *,
  .wp-site-blocks .wp-block-post-content > * + * {
    margin-top: 2.8rem;
  }
}
/* Startseite – Sections etwas großzügiger */
.home .wp-site-blocks main > * + * {
  margin-top: 2.5rem;
}

/* Startseite – Überschriften etwas ruhiger */
.home h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
/* Begrüßung direkt unter dem Header */
.home-intro {
  margin-top: 3rem;
}

.home-welcome {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ===============================
   EINLEITUNG
=============================== */

.home-intro {
  max-width: 60ch;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ===============================
   TRENNER
=============================== */

.home-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 4rem 0;
}

/* ===============================
   ARBEITEN / BILDER
=============================== */

.home-work-text {
  max-width: 55ch;
  margin-bottom: 2rem;
}

.home-work-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-work-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   TERMINE & KONTAKT (DESKTOP)
=============================== */

.home-info {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.home-info h3 {
  margin-bottom: 0.8rem;
}

.home-info p {
  max-width: 45ch;
}

/* Kontakt-Button */
.contact-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.6rem;

  background: rgba(236, 228, 214, 0.95);
  color: #2e2a26;
  text-decoration: none;
  border-radius: 4px;
}

/* ===============================
   MOBILE (nur Grundlogik)
=============================== */

@media (max-width: 768px) {
  .home-work-images {
    grid-template-columns: 1fr;
  }

  .home-info {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
