/* ÜBER UNS - cleaned & fullwidth backgrounds */

/* global small tweaks */
.ueber-uns .container { line-height: 1.2; }
.ueber-uns .lead { font-size: 1.2rem; color: #000000; }

/* ======================================= */
/* CONTENT WRAPPER (zentriert wie index)  */
/* ======================================= */
.about-inner,
.container.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* ======================================= */
/* 1. BASIS-LAYOUT (Desktop: Nebeneinander)*/
/* ======================================= */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0;              /* kein zusätzlicher Außenabstand - Parent (.about-inner) sorgt für Abstände */
  padding: 0;             
  box-sizing: border-box;
}

/* Inhaltsspezifische Breiten (innerhalb der zentrierten Box) */
.about-text {
  order: 1;
  flex: 1 1 65%;
  max-width: 65%;
  min-width: 220px;
}

.about-image {
  order: 2;
  flex: 0 0 35%;
  max-width: 35%;
  display: flex;
  justify-content: center;
}

/* Umkehrung für die reverse-Sektion */
.about-section.reverse .about-text { order: 2; }
.about-section.reverse .about-image { order: 1; }

/* ======================================= */
/* Bilder */
.about-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* ======================================= */
/* Responsive: Mobile */
@media (max-width: 768px) {
  .about-section,
  .about-section.reverse {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-bottom: 20px;
    order: initial;
    padding: 0 20px;
  }

  .about-image { order: -1; }
}

/* ======================================= */
/* 3. VOLLBREITE HINTERGRUND - outer wrappers */
/* ======================================= */

/* .about-bg ist der Fullwidth-Background-Wrapper */
.about-bg {
  width: 100%;
  box-sizing: border-box;
  background-clip: border-box;
  padding: 60px 0;   /* vertikaler Abstand */
  margin: 0;
  position: relative;
}

/* Farben (anpassbar) */
.about-bg-1 { background-color: #fdfcf7; }  /* hellbeige */
.about-bg-2 { background-color: #e9f3e4; }  /* zartgrün */
.about-bg-3 { background-color: #f6f0da; }  /* neutral weiß */

/* sanfte Trennlinien (optional) */
.about-bg-2,
.about-bg-3 { border-top: 2px solid #ff9900; }

/* Innerer Inhalt: verwendet .about-inner (zentriert) */
/* Hinweis: .about-inner ist in CSS oben definiert */

/* Prevent horizontal scroll when negative margins elsewhere occur */
body.ueber-uns { overflow-x: hidden; }

/* Small visual tweaks */
.intro-text { text-align: center; }
.intro-text h1 { font-size: 2.2rem; margin-bottom: 15px; }
.intro-text p.lead { font-size: 1.3rem; line-height: 1.5; }

/* Anpassung der allgemeinen Absatzschriftgröße im Inhaltsbereich */
.about-text p {
    font-size: 1.15rem; /* Oder 1.2rem, je nachdem wie groß Sie es wollen */
    line-height: 1.2; /* Wichtig für die Lesbarkeit */
    margin-bottom: 15px; /* Optional: Abstand zwischen Absätzen */
}

/* Anpassung der H2-Überschriften auf der Über uns Seite */
.about-text h2 {
    font-size: 1.8rem; /* Zum Beispiel */
    margin-bottom: 20px;
}
/* Verbesserte Abstände zwischen Absätzen */
.about-text p + p {
  margin-top: 12px;
}

/* Sicherstellen, dass Bilder auf Mobile nicht zu breit werden */
@media (max-width: 768px) {
  .about-image img {
    max-width: 100%;
    height: auto;
  }
}
/* End */
