.text-block { 
    display:flex; 
    flex-direction:column; 
}
.headline { 
    font-size:1.5em; 
    letter-spacing:0.5em; 
    font-weight:300; 
    color:#81162b; 
    line-height:1; 
}
#about-flow { 
    font-size:1em; 
    font-weight:300; 
    color:#616161; 
    line-height:1.4; 
    margin-top:1rem; 
    max-width:80ch; 
    text-align:left; 
}


p.blocksatz {
    text-align: justify;
    hyphens: auto;
    text-justify: inter-word;
    margin-bottom: 1em; 
}


.gallery-background {
  background-color: #ffffff;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.gallery-container {
  position: relative;
  max-width: 800px;
  text-align: center;
  background: white;
  margin: 0 10px;
}

.image-frame {
  border: 1px solid #333;
  padding: 5px;
  background: white;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.caption {
  text-align: center;
  font-family: Arial, sans-serif;
  margin-top: 5px;
}

.caption span:first-child {
  font-weight: bold;
  color: #81162b;
}

.caption span:not(:first-child) {
  color: #777;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 20px;              
  margin-top: 15px;     
}

.gallery-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #81162b;
  background: transparent;
  color: #81162b;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: background-color 0.2s ease,
              transform 0.15s ease,
              color 0.2s ease;
}

.gallery-button:hover {
  background-color: #81162b;
  color: #fff;
  transform: scale(1.1);
}

.gallery-button:active {
  transform: scale(0.85);
}



@media (max-width: 600px) {
  .gallery-button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}