*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;
    
}

body {
    font-family:  Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 60px;
    background: rgb(240, 240, 240);
}

html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;

}

h1,
h2 {
    margin-bottom: 15px;
    font-weight: normal;
}



ul {
    list-style-type: none;
    
}

li {
    display: flex;
    align-items: center;

}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.navbar {
    background: rgb(240, 240, 240);
    color: rgb(42, 41, 44);
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

a.home{
    display: block;
}



.navbar .logo {
    font-size: xx-large;
   
}



.navbar a {
    color: rgb(42, 41, 44);
    text-decoration: none;
    font-size: 18px;
    
}

.navbar a:hover {
    color: rgb(215, 77, 35);
}


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar ul{
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.header {
    position: relative;
    max-width: 100%;
}

.rechteck{
    position: relative;
    width:100%;
    height: 80vh; 
    background-color: #333;
    overflow: hidden;
    z-index: 0;
}

/*kiste {
        max-width: 1100px;
        margin: 0;
        padding: 30px;
        min-height: 400%;
        

}
        */

.kiste {
    position: absolute;
    transform: translateX(-50%);
    max-width: 1100px;
    width: 100%;
    bottom: 30px;
    left: 50%;
    color: rgb(42, 41, 44);
    z-index: 1;
}

.kistetext{
    padding: 30px;
}

.header_image {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
    
    
  
    /* display:flex;
    justify-content: center;
    z-index: -1;
    width: auto;
    height: auto;
    max-height: 500px;
    top: 0; */
}



.boxes {
    max-width: 1100px;
    margin: auto;
    display:flex;
    flex-wrap:wrap;
    padding: 30px;
    gap:5px;
    justify-content:center;
}

.Bild {
    position: relative; /* macht den Container zum Bezugspunkt */
    display: inline-block;
  }
  
.corner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .corner-icon2 {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .corner-icon1_1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .corner-icon1_2 {
    position: absolute;
    top: 65%;
    left: 17%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .corner-icon1_3 {
    position: absolute;
    top: 35%;
    left: 65%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .corner-icon1_4 {
    position: absolute;
    top: 52%;
    left: 83%;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .bar-icon {
    margin: 5px;
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .Text-Icon{
    position: absolute;
    display:flex;
    gap: 10px;
    top: 5%;
    left: 5%;
    width: auto ;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
    
  }
  .corner-icon-I {
    position: relative;
    
    width: 30px;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
  }

  .cls-1 {
    fill: #1d1d1b;       /* Textfarbe */
    font-family: DINAlternate-Bold, 'DIN Alternate';
    font-size: 12px;
    font-weight: 700;
  }
  
  .cls-2 {
    fill: none;          /* <-- verhindert schwarze Füllung */
    stroke: #1d1d1b;
    stroke-miterlimit: 10;
  }
    


/* .box {
    flex: flex;
    flex-grow: 1;
    padding: 20px;
    background: #444;
    color: white;
    

} */
.quad {
    color: rgb(185, 185, 185);
    padding: 0px;
    flex-grow: 1;
    flex-basis: 330px;
    background: rgb(240, 240, 240);
    
    }

a.quad {
    color: rgb(185, 185, 185);
    padding: 0px;
    flex-grow: 1;
    flex-basis: 330px;
    background: rgb(240, 240, 240);
    display: block;
    text-decoration: none;
    }
    
.boxes .quad .box_image:hover{
    transform: scale(1.02);
    transition: transform 0.3s ease;
    background: rgb(240, 240, 240);
    color: rgb(10, 10, 10);
    
    
}

.boxes .quad .Beschreibung:hover{
    transform: scale(1.00);
    transition: transform 0.3s ease;
    background: rgb(240, 240, 240);
    color: rgb(10, 10, 10);
    
    
}

  


.box2 {
  display: flex;
  flex-direction: column-reverse;
  height: 100%; /* wichtig, damit die Kachelhöhe greift */
}

.Bild {
  flex: 1; /* Bild nimmt den verfügbaren Platz ein */
  display: flex;
  align-items: center;
  justify-content: center;
}

.box_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 500px;
}

hr.rounded {
  padding-left: 20%;
  padding-right: 20%;
  border-top: 2px solid #c5c5c5;
  border-radius: 1px;
}

.Beschreibung {
  margin-top: auto; /* schiebt Beschreibung ganz nach unten */
  padding: 20px; /* Abstand unten = 20px */
}

.descrb {
  color: #1d1d1b;
  font-weight: 100;
  font-size: medium;
  padding-top: 5px;
}

.name {
  color: #1d1d1b;
  font-weight: 700;
  font-size: larger;
  padding-bottom: 5px;
}

.case-item-T {
    display: flex;
    justify-content: space-between;  /* links Texte, rechts SVG */
    align-items: center;             /* alles auf eine Linie */
    padding: 20px 0;
    width: 100%;
      
  }
  
  /* Linke Seite: Titelzeile */
  .case-title {
    display: flex;
    gap: 10px;
    align-items: baseline;           /* Überschrift + Jahr auf Text-Basislinie */
    font-size: 3rem;
  }
  
  .case-title .pt {
    font-weight: 700;                /* dick */
  }
  
  .case-title .py {
    font-weight: 300;                /* schmal */
    opacity: 1;                    /* leicht abgesetzt */
  }
  
  /* Rechte Seite: SVG */
  .case-nr {
    flex-shrink: 0;                  /* SVG nicht schrumpfen */
  }
  
  .case-icon {
    height: 1.5em;                     /* gleiche Höhe wie Textzeile */
    width: auto;
  }



.case-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
   
    flex-wrap: wrap;
    padding: 30px;
    gap: 5px;
    justify-content: center;
}

.case-container-N {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
   
    flex-wrap: wrap;
    padding: 30px;
    gap: 0px;
    justify-content: center;
}

.case-item-L {
    color: rgb(42, 41, 44);
    padding: 0px;
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    flex-direction: column-reverse;
    /*flex-basis: 330px;*/
    background: rgb(240, 240, 240);
    }
    
    .case-item-R {
    color: rgb(42, 41, 44);
    padding: 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: column-reverse;
    /*flex-basis: 330px;*/
    background: rgb(240, 240, 240);
    }
    
    .case-item-N {
        color: rgb(42, 41, 44);
        padding: 0px;
        flex-grow: 1;
        gap: 0;
        display: flex;
        flex-direction: column-reverse;
        /*flex-basis: 330px;*/
        background: rgb(240, 240, 240);
        }

        .case-item-N p,
        .case-item-N h1,
        .case-item-N h2,
        .case-item-N h3 {
         margin: 0; /* oder fein abstimmen */
        }

    .case-Beschreibung{
    flex: 1;
    padding: 30px 0px 30px 0px;
}
    
@media (min-width: 768px) { 
    .case-item-L {
        flex-direction: row;
    }
    
    .case-item-R {
        flex-direction: row-reverse;
    }
    
    .case-Beschreibung {
        padding: 30px 30px 30px 0px;
    }
    
    .case-item-R .case-Beschreibung {
        padding: 30px 0px 30px 30px;
    }
}



.case-Img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    position: relative;
}

.case-Img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    position: relative;
    flex-grow: 2;
    background: transparent;
}

.title {
    position: absolute;
    color: white;
    top: 10%;
    left: 10%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 6rem;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
}

.subtitle {
    position: absolute;
    color: white;
    top: 22%;
    left: 11%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 2rem;
    height: auto;
    z-index: 2;          /* über dem Bild */
    pointer-events: none;
}

.subimg {
    position: absolute;
    z-index: -1;
    top: 90%;
}

* {box-sizing: border-box}
.mySlides1, .mySlides2 {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 550px;
  position: relative;
  margin: auto;
  
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
  background-color: #f1f1f1;
  color: black;
}

.story-text{
    
  max-width: 550px;
  position: relative;
  margin: auto;
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.h6{
font-size: 3em;
}

.info{
    display:flex;
    flex-direction: column;
    flex-grow: 4;
    
    padding: 20px;
    
    
    background: rgb(223, 223, 223);
    color: rgb(42, 41, 44);
}

.info-image {
    position: relative;
    display: inline-block;
  }
  
  .info-image img {
    display: block;
    max-width: 100%;
    border-radius: 0%;
    position: relative;
  }
  
  /* Hotspot (unsichtbarer Bereich zum Hovern) */
  .hotspot1 {
    position: absolute;
    width: 20%;   /* Größe des Hover-Bereichs anpassen */
    height: 20%;
    top: 75%; 
    left: 55%;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }

  .hotspot3 {
    position: absolute;
    width: 30%;   /* Größe des Hover-Bereichs anpassen */
    height: 40%;
    top: 60%; 
    left: 75%;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }

  .hotspot2 {
    position: absolute;
    width: 40%;   /* Größe des Hover-Bereichs anpassen */
    height: 20%;
    top: 80%;
    left: 30%;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }
  
  /* Standardmäßig Info-Karte ausblenden */
  .info-card {
    position: absolute;
    bottom: 100%; /* Karte über dem Hotspot */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgb(240, 240, 240);
    color: rgb(42, 41, 44);
    padding: 0px;
    border-radius: 0px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0%;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  /* Beim Hovern über Hotspot -> Karte sichtbar */
  .hotspot1:hover .info-card,
    .hotspot2:hover .info-card,
    .hotspot3:hover .info-card {
    opacity: 1;
  }

  .foot {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    font-size: large;
  }
  
  /* Basiszustand für ALLE Links (egal ob besucht oder nicht) */
  .foot a:link,
  .foot a:visited {
    color: #c5c5c5;
    text-decoration: none;
  }
  
  /* Hover/Klick */
  .foot a:hover,
  .foot a:active,
  .foot a:focus-visible {
    color: #1d1d1b;
    
    text-decoration: none;
  }

  .bback{
    background-color: black;
    
  }

  

  .footb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    font-size: large;
  }
  
  /* Basiszustand für ALLE Links (egal ob besucht oder nicht) */
  .footb a:link,
  .footb a:visited {
    color: #4c4c4c;
    text-decoration: none;
  }
  
  /* Hover/Klick */
  .footb a:hover,
  .footb a:active,
  .footb a:focus-visible {
    color: #eeeeee;
    
    text-decoration: none;
  }

  .links{
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 5vh;
    flex-wrap: wrap;
    
  }

  .last{
    padding: 30px;
    margin: 0 auto;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .link{
    display: inline-block;
    text-decoration: none;
    color: #1d1d1b;
    padding: 0px 10px;
    border: 1.5px solid #1d1d1b ;
    border-radius: 20px;
    transition: 0,3s;
  }
  
  .link:hover{
    background-color: #1d1d1b;
    color: aliceblue;
    
  }

  .smile {
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .Band1{
    position: absolute;
    top: 200px;
    left: 0;
    transform: translateY(var(--parallax-y, 0px)) rotate(15deg) scale(1.3);
    z-index: 10002;
    width: 100%;
    
  }

  .Band2{
    position: absolute;
    top: 125px;
    left: 0;
    transform: translateY(var(--parallax-y, 0px)) rotate(-7deg) scale(1.3);
    z-index: 10001;
    width: 100%;
    
  }

  .Band3{
    position: absolute;
    top: 350px;
    left: 0;
    transform: translateY(var(--parallax-y, 0px)) rotate(7deg) scale(1.3);
    z-index: 10003;
    width: 100%;
   
  }

  .Band4{
    position: absolute;
    top: 900px;
    left: 0;
    transform: translateY(var(--parallax-y, 0px)) rotate(-3deg) scale(1.3);
    z-index: 10003;
    width: 100%;
   
  }
  
  .Bands{
    position: relative;
    pointer-events: none;
  }

/* Full-width text strip */
.text-strip {
  position: absolute;
  top: 0;
  left: 4px;
  width: 100%;
  height: 50px;
  background: #1a1a1a; /* Almost black */
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 2px;
  z-index: 10000;
  box-shadow: 2px 2px 8px -2px #000000;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.text-strip::before {
    content: " UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • ";
    display: inline-block;
    animation: scrollText1 40s linear infinite;
}

/* Second text strip with delay */
.text-strip-2 {
  position: absolute;
  top: 0px;
  left: 4px;
  width: 100%;
  height: 50px;
  background: transparent; /* Almost black */
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 2px;
  z-index: 10000;
  
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.text-strip-2::before {
    content: " UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION •  ";
    display: inline-block;
    animation: scrollText2 40s linear infinite, fadeIn 1s linear 20s forwards;
    animation-delay: 20s;
    opacity: 0;
}

.text-strip-3 {
  position: absolute;
  top: 0px;
  left: 4px;
  width: 100%;
  height: 50px;
  background: transparent; /* Almost black */
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 2px;
  z-index: 10000;
  
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}


.text-strip-3::before {
  content: " UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION • UNDER CONSTRUCTION •  ";
  display: inline-block;
  animation: scrollText3 20s linear, fadeOut 0.5s linear 19s forwards;
  
}

/* Scrolling text animations */
@keyframes scrollText1 {
    0% { transform: translateX(100%); } /* Start visible */
    100% { transform: translateX(-100%); }
}

@keyframes scrollText2 {
    0% { transform: translateX(100%); } /* Start off-screen */
    100% { transform: translateX(-100%); }
}

@keyframes scrollText3 {
  0% { transform: translateX(0%); } /* Start visible */
  100% { transform: translateX(-100%); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Adjust top padding only on pages that include construction bands */
body.has-bands {
    padding-top: 130px; /* account for bands + fixed navbar */
}


