main section:first-child {

}

/* =====================================================================
   Fewo-Slider (2-Spalten Layout + Slider mit Thumbnails)
   ===================================================================== */

/* --- Basis-Layout: 2 Spalten --- */
section.inhalt2spalten.fewoslider {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* Text mittig zur Sliderhöhe ausrichten */
  gap: 3rem;
  padding-bottom: 5.5rem;
  padding-top: 4.5rem;
}

section.inhalt2spalten.fewoslider .spalte1 { width: 55%; }
section.inhalt2spalten.fewoslider .spalte2 {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Text mittig in Spalte2 */
}

/* --- Mobile: Spalten untereinander, Text zuerst --- */
@media (max-width: 1100px) {
  section.inhalt2spalten.fewoslider {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start; /* mobil normal oben ausrichten */
  }
  section.inhalt2spalten.fewoslider .spalte1,
  section.inhalt2spalten.fewoslider .spalte2 {
    width: 100%;
    display: block;
  }
  section.inhalt2spalten.fewoslider .spalte1 { order: 2; }
  section.inhalt2spalten.fewoslider .spalte2 { order: 1; }
}

/* =====================================================================
   Haupt-Slider
   ===================================================================== */
.fewoslick {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: #eee;
}
@media (max-width: 1100px) {
  .fewoslick { aspect-ratio: 4 / 3; }
}

.fewoslick .divimg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .5s ease, transform .6s ease;
}
.fewoslick .divimg.active {
  opacity: 1;
  transform: scale(1);
}

/* Platzhalter-IMGs ausblenden */
.fewoslick .divimg a img { display: block; }

/* Pfeile */
.fewoslick .fe-ctrl {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 53px; 
  height: 53px;
  border: 0; 
  cursor: pointer;
  border-radius: 100px;
  background: var(--color-secondary);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 5;
}

.fewoslick .fe-ctrl i {
  font-size: 1.3rem; /* statt 24px */
  line-height: 1;
}

.fewoslick .fe-prev { left: 14px; }
.fewoslick .fe-next { right: 14px; }
.fewoslick .fe-ctrl svg { width: 24px; height: 24px; }

/* =====================================================================
   Thumbnails
   ===================================================================== */
.slider-nav {
  margin-top: .9rem;
  display: flex;
  flex-wrap: nowrap;          /* mobil: eine Zeile */
  overflow-x: auto;
  gap: .6rem;
  padding-bottom: .4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  width:100%;
  
}
.slider-nav::-webkit-scrollbar { display: none; }

.slider-nav > div {
  flex: 0 0 110px;
  height: 70px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, box-shadow .2s, transform .2s;
}
.slider-nav > div img { display: none; }

.slider-nav > div:hover { opacity:.95; transform: translateY(-1px); }
.slider-nav > div.active {
  opacity: 1;
  box-shadow: 0 0 0 3px var(--color-secondary, #BE1622) inset;
            
}

/* Desktop: mehrere Reihen erlauben */
@media (min-width: 1200px) {
  .slider-nav {
    margin-top: .9rem;
  display: flex;
  flex-wrap: nowrap;          /* mobil: eine Zeile */
  overflow-x: auto;
  gap: .6rem;
  padding-bottom: .4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  width:100%;
    scrollbar-width: none;
  }
  .slider-nav > div {
    
   
  }
}

/* =====================================================================
   Textspalte Styling
   ===================================================================== */

.inhalt2spalten br {
  display:block;
}


#inhalt2spalten24 .innerspalte2 p img:last-child {
display:inline-block;
top:50px;
position:relative;
}

#inhalt2spalten24 .innerspalte2 p {
display:flex;
justify-content: space-between;
}

#inhalt2spalten24 .innerspalte2 p img {
display:inline-block;
width:47%;
position:relative;
}


