body {
  scroll-margin-top: 100px;   
}
.title{
    padding-left: 26.5%;
    font-family: Merriweather;
    font-size: 61px;
}

.text{
  padding:5px 30px;
  margin-left: 40px;
  font-size: 22px;
}
.title-text{
  padding:5px 70px;
  margin-left: 0;
  font-size: 40px;
}

.ort-link-right {
  text-align: right;
  padding-top: 30px;
  padding-right: 5%;
}

.ort-link-right a {
  padding-top: 0;
  white-space: nowrap;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 25px;
  margin-right: 6%;
}

.ort-link-right a:hover{
    color:#0084ff;
    text-decoration: underline;
}

.ort-link-left {
  text-align: left;
  padding-top: 30px;
  padding-left: 10%;
  font-size: 0px;
}
.ort-link-left a {
  padding-top: 30px;
  white-space: nowrap;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 25px;
}

.ort-link-left a:hover{
    color:#0084ff;
    text-decoration: underline;
}

.row{
  padding-top: 60px;
  display:flex ;
  align-items: flex-start;
  gap: 40px

}


.row p{
  flex: 1;  
}

.info {
  display: flex;
  flex-direction: column;      
  justify-content: flex-start;  
}

.pic-right{
  padding-right: 10%;
  
  padding-top: 60px;
  width: 500px;
  height: auto;
}
.pic-left{
  padding-left: 10%;
  
  padding-top: 60px;
  width: 500px;
  height: auto;
}

.navbar{
    width: 100%;
    background-color:#6a6a6a;
    border:100px #6a6a6a;
    padding: 10px 30px;
    position: fixed;
    top:0;
    z-index: 10;
}

.navbar-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0px 29%;
  gap: 200px;
  white-space: nowrap;
  object-position: center;
  font-size: 20px;
}

.navbar-links li a {
    
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar-links li a:hover {
    color:#ffb804;
    text-decoration: underline;
}

.karusell {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin: 100px 50px;
}

.slides {
  display: flex;
  width: 600%;      
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 16.666666666667%;        
  height: 500px;
  flex-shrink: 0;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);  
  background: rgba(0, 0, 0, 0.249);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

.btn-left{
  align-self: flex-start;   
  margin-top: 180px;
  background-color: #388bff;
  color: white;
  text-decoration: none;
  padding: 12px 50px;
 
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-left: 80px;
}

.btn-left:hover {
  background-color: #0066cc;
}

.btn-right{
  align-self: flex-end;   
  margin-top: 200px;
  background-color: #388bff;
  color: white;
  text-decoration: none;
  padding: 12px 60px;
 
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-right: 80px;
}

.btn-right:hover {
  background-color: #0066cc;
}

.pic-col {
  display: flex;
  flex-direction: column;
}





.modal {
  display: none;              /* standardmäßig unsichtbar */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);   /* abgedunkelter Hintergrund */
  z-index: 100;                     /* über allem anderen */
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;              /* wird sichtbar, sobald diese Klasse dazukommt */
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  width: 350px;
  position: relative;
}

.modal-content label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
}