.page{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  padding-top: 160px;        
}

.content{
  width: 60%;
  height: auto;
  margin: 0;
}

.container{
  background-color: #d8d2c6;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  border-radius: 25px;
}

.left-column{
  width: 50%;
  padding: 30px;
}

.left-column img{
  max-width: 500px;
  height: auto;
  border-radius: 25px;
  display: block;
}

.right-column{
  width: 50%;
  padding: 30px;
}

.right-column a{
  text-decoration: none;
}

.news-item{
  position: relative;
}

.news-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.news-head h1{
  margin: 0;
}

.news-date{
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
  white-space: nowrap;
  margin-top: 2px;
}

/* ===== Intro Animation ===== */
html.intro-running #siteHeader,
html.intro-running #siteMain,
html.intro-running #siteFooter{
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

#siteHeader,
#siteMain,
#siteFooter{
  opacity: 1;
  transition: opacity 400ms ease;
}

.intro-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
}

.intro-overlay.open{
  display: flex;
}

.intro-overlay.fade-out{
  opacity: 0;
  transition: opacity 400ms ease; 
}

.intro-stage{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.intro-logo{
  width: 180px;
  height: auto;
  display: block;
  opacity: 0;
  transform: translate(0,0) scale(1);
  transform-origin: center center;
  transition: opacity 400ms ease, transform 2000ms cubic-bezier(.2,.9,.2,1);
}

.intro-logo.in{ opacity: 1; }
.intro-logo.move{ transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--sc, 1)); }

@media (prefers-reduced-motion: reduce){
  html.intro-running #siteHeader,
  html.intro-running #siteMain,
  html.intro-running #siteFooter{
    opacity: 1;
    pointer-events: auto;
  }
  .intro-overlay{ display:none !important; }
}


/* =========================================================
   ===== NEU: SLIDESHOW STYLING (für Multi-Bilder) =====
   ========================================================= */
.slideshow-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  transition: height 600ms ease;
  border-radius: 25px;
  background-color: #d8d2c6;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(14px) scale(1.02);
  transition: opacity 1000ms ease, transform 1000ms ease;
  pointer-events: none;
  display: none;
  flex-direction: column;
}

.slides.is-visible { display: block; }
.slides.is-visible.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.img-wrapper {
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  flex-shrink: 0;
}

.slides.is-visible.is-active .img-wrapper img {
  animation: kenburns 5500ms ease-in-out forwards;
}

@keyframes kenburns {
  0%   { transform: scale(1.01); }
  100% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .slides { transition: none; transform: none; }
  .slides.is-visible.is-active .img-wrapper img { animation: none; }
  .slideshow-container { transition: none; }
}

/* Pfeile */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.15);
  z-index: 5;
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.5); }

/* Punkte */
.dot-container {
  text-align: center;
  padding: 10px 0 0 0;
  max-width: 500px;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dot.active, .dot:hover { background-color: #4b4b4b; }


/* =========================================================
   Mobile Anpassungen
   ========================================================= */
@media (max-width: 1500px){
    .left-column{
    width: 40%;
    padding: 30px;
  }

    .left-column img{
    max-width: 300px;
    height: auto;
    border-radius: 25px;
    display: block;
  }

  .right-column{
    width: 60%;
    padding: 30px;
  }
}

@media (max-width: 1100px){
  .content{
    width: 95%;
  }

  .container{
    flex-direction: column-reverse;
    align-items: center;
  }

  .left-column,
  .right-column{
    width: 100%;
    padding: 10px;
    text-align: left;
    align-items: center;
  }

  .left-column,
  .right-column p{
    padding: 10px;
  }

  /* Bilder und Diashow zentrieren */
  .left-column img,
  .slideshow-container,
  .dot-container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .news-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
  }

  .prev, .next { font-size: 18px; padding: 10px; }
  .dot { height: 10px; width: 10px; }
}