/* =========================
   1. Farb- & Layout-Variablen
   (Original-Design)
========================= */
:root {
  --gap: 1rem;
  --radius: 1rem;
  --brand-green: #3d6e37;
  --brand-light: #b8be8f;
  --text-dark: #3f443f;
  --text-light: #59602a;
  --shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* =========================
   2. Globales Reset & Basis
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: var(--text-dark);
  padding: 2rem;
}

/* =========================
   3. Container
========================= */
.container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   4. Logo / Profilbild
  ========================= */
.profile-pic {
  width: 300px;
  height: auto;
  border: none;
  box-shadow: none; /* original: kein Schatten am Logo */
  margin: 1rem auto;
  display: block;
}

.header-block 
{ background: var(--brand-light);
 padding: 1rem; 
border-radius: var(--radius);
 margin-top: var(--gap); 
}

/* =========================
   5. Info-Grid & Boxen
   (originale Farben, Abstände)
========================= */
.info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  margin: calc(var(--gap) * 1.5) 0;
}

.info-box {
  background: var(--brand-green);     
  border-radius: var(--radius);
  padding: 1rem;
  flex: 1 1 calc(50% - var(--gap));
  min-width: 140px;
  color: #333;                         
}

.info-box.full {
  flex: 1 1 100%;
}

/* Aufzählungen innerhalb der Info-Boxen:
   */
.info-box ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 0.5rem;
}
.info-box ul li {
  margin-bottom: 0.3rem;
  color: #333;
}

/* =========================
   6. Bilder IN den Boxen
   (originale Breite / Float / Abstände)
========================= */
.angebot-img-right,
.angebot-img-left {
  width: 160px;
  height: auto;
  border-radius: 0.8rem;
  margin: 0.3rem 0 0.5rem 1rem; /* kleinerer unterer Abstand wie original */
  float: right;
}

.angebot-img-left {
  float: left;
  margin: 0.3rem 1rem 0.5rem 0;
}

/* Clearfix für Boxen, die Bilder enthalten */
.info-box.full::after {
  content: "";
  display: table;
  clear: both;
}

/* =========================
   6a. Angebot-Buttons innerhalb der Info-Box
========================= */

.info-box.offers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.info-box.offers .offer-item {
  display: block;
  width: 80%;
  margin: 0.3rem 0;
  padding: 0.6rem 1rem;
  border-radius: 999px; /* rund wie im Screenshot */
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.15s ease;
}

.info-box.offers .offer-item:hover {
  transform: scale(1.03);
}

.info-box.offers .offer-item a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.info-box.offers .offer-item a:hover {
  text-decoration: underline;
}

/* =========================
   7. Footer & Links
========================= */
footer {
  text-align:center;
  margin-top:2rem;
  padding-top:1rem;
  border-top: 1px solid #cfcfcf;
  font-size:.85rem;
  color:#4a504a;
}
footer a {
  color: var(--brand-green);
  text-decoration:none;
  margin: 0 .5rem;
  font-weight: 600;
}
footer a:hover { text-decoration: underline; }

/* =========================
   8. Top Button
========================= */
#topBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 1.2rem;
  background: #6b795a;
  color: #b8be8f;
  border: none;
  border-radius: 50%;
  padding: .6rem .8rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#topBtn:hover { background: #536148; }

/* =========================
   9. Zusätzliche Regel (falls Boxen Detail-Block haben)
   (wie im Originalfile)
========================= */
#angebot-details .info-box.full {
  margin-top: 1rem;
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: justify;
}

/* =========================
   10. Responsive (Original-Verhalten)
========================= */
@media (max-width: 600px) {
  .info-box { flex: 1 1 100%; }

  .angebot-img-left,
  .angebot-img-right {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    width: 100%;
    max-width: 100%;
  }

  p {
    hyphens: auto;
    word-break: normal;
    line-height: 1.5;
  }
}
