@media screen and (max-width: 736px) {

  /* Button für Termin vereinbaren insgesamt kleiner + Text mittig */
  .button.icon.fa-phone {
    font-size: 0.7rem;          /* kleinerer Text */
    padding: 0.22em 0.8em;      /* flacherer Button */
    line-height: 1.3;           /* garantiert vertikale Zentrierung */
    display: inline-flex;
    align-items: center;        /* vertikal zentrieren */
    justify-content: center;    /* horizontal zentrieren */
    gap: 0.35em;                /* Abstand Icon ↔ Text */
  }

  /* Icon noch flacher */
  .button.icon.fa-phone:before {
    font-size: 0.8em;           /* Icon etwas kleiner */
    line-height: 1;             /* zentriert das Icon */
    position: relative;
    top: 0.02em;                /* minimal feinjustiert */
  }
}

/* Main */

#main {
  padding: 4em 0 2em 0 ;
}

@media screen and (max-width: 236px) {

  #main {
    padding: 3em 0 1em 0 ;
  }

}

/* neu
/* Container für 3 Boxen */
.ll-three-boxes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 60px 10%;
  background-color: #fafafa;  /* leichtes Grau als Hintergrund */
}

/* Einzelne Box */
.ll-box {
  flex: 1;
  min-width: 260px;  /* verhindert zu schmale Boxen */
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ll-box h3 {
  margin-bottom: 16px;
  color: #222;
  font-size: 1.4rem;
}

.ll-box p {
  flex-grow: 1;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Button-Stil */
.ll-button {
  display: inline-block;
  padding: 10px 22px;
  background-color: #5aa943;  /* mein LL gruen */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.ll-button:hover {
  background-color: #5aa922;
  color: #fff000;
}
/* neu ende*/
/* Container für Pfeile + Slider */
.testimonial-slider-container {
  display: flex;
  align-items: center;       /* vertikal zentriert */
  justify-content: center;    /* Slider + Pfeile zentriert */
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  gap: 20px;                 /* Abstand zwischen Pfeilen und Slider */
}

/* Slider nimmt den restlichen Platz */
.slider-wrapper {
  flex: 1;
  padding: 0 10px;
}

/* Pfeile */
.slider-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  color: #5aa943;
  padding: 0.5rem;
  transition: transform 0.2s, color 0.2s;
}

.slider-arrow i {
  font-size: 2rem;
  color: #5aa943;
}

.slider-arrow i:hover {
  color: #ccc;
  transform: scale(1.2);
}

/* Slides */
.testimonial-slide {
  display: none;
  width: 100%;
}

.testimonial-slide.active {
  display: block;
}

/* Dots */
.slider-dots {
  text-align: center;
  padding: 20px 0 0;
  margin: 0 auto;            /* zentriert unter Slider */
}

/* einzelne Punkte */
.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.dot.active {
  background-color: #5aa943;
  transform: scale(1.15);
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-slider-container {
    width: 100%;
    gap: 10px;
  }

  .slider-wrapper {
    padding: 0 5px;
  }

  .slider-arrow {
    font-size: 1.5rem;
    padding: 0.25rem;
  }
}
/* Footer */

#footer {
  background-color: #f7f7f7;
  color: #999999;
  padding: 4.5em 0 2.5em 0 ;
  color: #b0b0b0;
  text-align: center;
}

#footer input, #footer select, #footer textarea {
  color: #999999;
}

#footer a {
  color: inherit;
  border-bottom-color: #c6c6c6;
}

#footer a:hover {
  color: #5aa943;
}

#footer strong, #footer b {
  color: #828282;
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
  color: #828282;
}

#footer blockquote {
  border-left-color: #d6d6d6;
}

#footer code {
  background: rgba(144, 144, 144, 0.075);
  border-color: #d6d6d6;
}

#footer hr {
  border-bottom-color: #d6d6d6;
}

#footer a {
  color: inherit;
}

#footer .copyright {
  list-style: none;
  padding: 0;
}

@media screen and (max-width: 980px) {

  #footer {
    padding: 4em 4em 2em 4em ;
  }

}

@media screen and (max-width: 236px) and (orientation: landscape) {

  #footer {
    padding: 3em 3em 1em 3em ;
  }

}

@media screen and (max-width: 236px) and (orientation: portrait) {

  #footer {
    padding: 3em 1.5em 1em 1.5em ;
  }

}

/* Grunddesign bleibt gleich */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Standardgröße des Logos */
.logo img {
  height: 45px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

/* Wenn der Header beim Scrollen "aktiv" wird */
.fixed-header.scrolled {
  height: 55px; /* Header wird etwas kleiner */
}

.fixed-header.scrolled .logo img {
  height: 35px; /* Logo schrumpft harmonisch mit */
}

/* Navigation */
.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #5aa943;
}

/* mein Header */
/* ===========================
Spotlight-Block wie Header
=========================== */

/* Container: Flexbox Desktop */
#zero .spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;       /* damit Mobile sauber funktioniert */
}

/* ===== Text-Content ===== */
#zero .spotlight .content {
  max-width: 50%;
  text-align: left;      /* linksbündig */
  color: #ffffff;        /* Textfarbe */
}

/* Überschrift LeanLuig */
#zero .spotlight .content h1,
#zero .spotlight .content h1 a {
  color: #ffffff;
  font-size: 2em;        /* passende Größe Desktop */
  line-height: 1.2;
  margin: 0;
  text-decoration: none;
}

/* Absatztext */
#zero .spotlight .content p {
  font-size: 1em;
  opacity: 0.85;
  margin-top: 0.5em;
}

/* ===== Button ===== */
#zero .spotlight .actions {
  margin-top: 1.5em;
  text-align: left;      /* Button linksbündig auf Desktop */
}

#zero .spotlight .actions li {
  display: inline-block;
  margin: 0 0.5em 0 0;
}

#zero .spotlight .actions .button {
  background-color: transparent;             /* transparent */
  border: 2px solid #888888;                /* grauer Rahmen */
  color: #ffffff;                            /* weiße Schrift */
  padding: 0.75em 1.5em;
  border-radius: 0.25em;
  display: inline-block;
  text-align: center;                        /* Text im Button zentriert */
  line-height: normal;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Button Hover */
#zero .spotlight .actions .button:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #bbbbbb;                     /* hellgrauer Rahmen */
  color: #ffffff;
}

/* ===== Bild ===== */
/* Spotlight-Bild rechteckig + grüner Rahmen am Container */
/* Container und inner zurücksetzen */
#zero .spotlight .image.right,
#zero .spotlight .image.right .inner {
  border-radius: 0 !important;    /* keine Rundungen */
  overflow: visible !important;   /* Bild wird nicht abgeschnitten */
  height: auto !important;        /* keine feste Höhe */
  width: auto !important;         /* Container passt sich an */
  background: transparent !important;
  display: inline-block;
}

/* Grüner Rahmen nur am inner Container */
#zero .spotlight .image.right .inner {
  border: 4px solid #28a745;
  box-sizing: border-box;
}

/* Bild selbst */
#zero .spotlight .image.right .inner img {
  border-radius: 0 !important;
  display: block;
  width: 100%;   /* füllt den Container */
  height: auto;  /* bleibt proportional */
  border: none;
  box-sizing: border-box;
}

/* Mobile */
@media screen and (max-width: 736px) {
  #zero .spotlight .image.right .inner {
    width: 100%;
  }
  #zero .spotlight .image.right .inner img {
    width: 100%;
    height: auto;
  }
}



/* ===== Responsive (Mobile) ===== */
@media screen and (max-width: 736px) {
  #zero .spotlight {
    flex-direction: column;
    text-align: center;           /* Mobile zentriert */
  }

  ```
  #zero .spotlight .content,
  #zero .spotlight .image {
    width: 100%;
    max-width: 100%;
    padding: 1em 0;
    text-align: center;           /* Mobile zentriert */
  }

  #zero .spotlight .content h1,
  #zero .spotlight .content h1 a {
    font-size: 1.5em;             /* kleiner auf Mobile */
  }

  #zero .spotlight .content p {
    font-size: 0.95em;
  }

  #zero .spotlight .actions {
    text-align: center;           /* Button zentriert Mobile */
  }

  #zero .spotlight .actions li {
    display: block;
    margin: 0.5em 0;
  }

  #zero .spotlight .actions .button {
    width: 80%;
    max-width: 300px;
    box-sizing: border-box;
  }
  ```

}

/* =====  Mahlberg and Friends Section ==== */
#mandf {
  padding-top: 1em;
  padding-bottom: 1em;
}

#mandf .row {
  display: flex;
  align-items: center; /* Text vertikal mittig */
  gap: 1em;
  flex-wrap: wrap;
}

/* Logo links, klein auf Desktop */
#mandf .logo-col {
  flex: 0 0 auto;
}

#mandf .logo-col img {
  max-width: 160px;   /* Desktop-Breite */
  height: auto;
  display: block;
}

/* Text rechts, vertikal mittig */
#mandf .text-col {
  flex: 1;
  display: flex;
  align-items: center; /* vertikal mittig */
  text-align: left;
}

#mandf .text-col p {
  margin: 0;
  font-size: 1em;
  line-height: 1.4;
}

#mandf {
  padding-top: 1em;
  padding-bottom: 1em;
}

#mandf .row {
  display: flex;
  align-items: center; /* Text vertikal mittig */
  gap: 1em;
  flex-wrap: wrap;
}

/* Logo links, klein auf Desktop */
#mandf .logo-col {
  flex: 0 0 auto;
}

#mandf .logo-col img {
  max-width: 160px;   /* Desktop-Breite */
  height: auto;
  display: block;
}

/* Text rechts, vertikal mittig */
#mandf .text-col {
  flex: 1;
  display: flex;
  align-items: center; /* vertikal mittig */
  text-align: left;
}

#mandf .text-col p {
  margin: 0;
  font-size: 1em;
  line-height: 1.4;
}

@media screen and (max-width: 736px) {
  /* Logo-Container */
  #mandf .logo-col {
    text-align: center !important;
    margin-bottom: 1em !important;
  }

  /* Logo selbst */
  #mandf .logo-col img {
    width: auto !important;               /* natürliche Breite */
    max-width: 160px !important;          /* deutlich größer als vorher */
    height: auto !important;              /* proportional */
    display: block !important;
    margin: 0 auto 0.5em auto !important; /* horizontal zentrieren */
  }

  /* Textbereich darunter */
  #mandf .text-col {
    text-align: center !important;
    margin-top: 0.5em !important;
  }
}
