:root {
  --spacing: 2rem;
  --color1_1: #91B11B;
  --color1_2: #CAE75F;
  --color1_3: #E0F1A3;
  --color1_4: #F8FFE1;
  --color1_5: #F7FCE9;
  --color2_1: #6f4393;
  --color2_2: #986BBD;
  --color2_3: #CFB4E4;
  --color3: #143439;
  --color4_1: #2B6A66;
  --color4_2: #7BC2BD;
  --color4_3: #BCDFDD;
  --color5_1: #9E4184;
  --color5_2: #CF8CBC;
  --color5_3: #EDD7E7;
  --color6_1: #414A9E;
  --color6_2: #979ED4;
  --color6_3: #DBDDEF;
  --color7_1: #F7DE65;
  --colorBlack: #1c0c0c;
  --colorGrau: #747474;
  --colorLight: #D3D3D3;
  --font: FHP Sun;
  --sidebar-top-offset: 90px; /* Abstand vom oberen Rand des Browserfensters */
  --button-width: 40px; /* Anfangsbreite der Buttons */
  --button-hover-width: 170px; /* Breite der Buttons beim Hovern */
 
}

* {
  box-sizing: border-box;
}
body {
  font-family: var(--font),Tahoma, sans-serif;
  margin: 0;
}

#sidebar{
  display: block;
}

#sidebar-center{
  display: none;
}

.row-intro {
	display: flex;
  flex-direction: row;
  gap: 100px;
  margin-top: 150px;
  flex-basis:100%;
  flex-wrap: nowrap;
}


.row {
	display: flex;
  flex-direction: row;
  height:auto;
  gap: 100px;
  flex-basis: 100%;
}

.rowKlein {
	display: flex;
  flex-direction: row;
  height:auto;
  gap: 100px;
  flex-basis: 75%;
  align-items: center;
}




.text-column {
	display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Main column */
.page-container {
  background-color: var(--color1_5);
  padding: 4% 8% 8% 8%;
  max-width: 1800px;
  margin:auto;
}

/* Link in text*/
a {
  color:  var(--color4_1); 
  text-decoration: underline;
}

a:hover {
  color: var(--color1_1);
}

/* navigation */
  /* Button top */
  
  .anchor-top {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    position: fixed;
    background-color: var(--color1_5);
}

.anchor-top a {
    margin: 0;
    padding: 0;
    text-align: center;
}

.button-top {
    flex-basis: auto;
}

.anchor-top a.button-top {
    color: var(--colorBlack);
    font-variant-numeric: lining-nums tabular-nums;
    font-family: var(--font),Tahoma, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem; 
    text-decoration: none;
    text-align: center;
    display: inline-block; 
    border: 2px solid black;
    background-color: transparent;
    padding: 0 10px; 
}

  
  .anchor-top a.button-top:hover {
    background-color: var(--color1_2);
    color: black;
  }

  /* MAIN Nav */

  .anchor-big{
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: left;
    gap: 10px;
    flex-basis: 100%;
  }
  
  .anchor-big a {
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
  }
  
  .button-big  {
    background-color: var(--colorBlack);
  
  }

  .anchor-big a.button-big {
    color: var(--color1_5);
    font-variant-numeric: lining-nums tabular-nums;
    font-family: var(--font),Tahoma, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem; /* 146% */
    margin: 0;
    text-decoration: none;
    text-align: center;
    display: block; /* Sicherstellen, dass der Link als Block-Element angezeigt wird */
    background-color: var(--colorBlack);
    padding: 5px  20px 5px 20px ;
  }
  
  .anchor-big a.button-big:hover {
    background-color: var(--color1_2);
    color: black;
  }

  

.anchor-small {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--sidebar-top-offset);
  z-index: 1000;
  justify-content: flex-start;
  align-items: flex-start; /* Abstand zwischen den einzelnen Elementen */
}

.anchor-small a {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  width: var(--button-width); /* Anfangsbreite der Links */
  overflow: hidden; /* Versteckt den Text, wenn er nicht in die Anfangsbreite passt */
  white-space: nowrap; /* Verhindert, dass der Text umbricht */
  transition: width 0.3s; /* Übergangseffekt für die Breite */
}

.button-small {
  width: auto;
  height: auto;
  background-color: var(--colorBlack);
}

.anchor-small a.button-small {
  color: var(--color1_4);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: var(--font),Tahoma, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem; /* 146% */
  margin: 0;
  text-decoration: none;
  text-align: center;
  display: flex; /* Sicherstellen, dass der Link als Block-Element angezeigt wird */
  background-color: var(--colorBlack);
  padding: 5px 18px;
  position: relative; /* Wichtig für die Pseudo-Elemente */
}

.anchor-small .short-text {
  display: inline-block;
  text-align: center;
}

.anchor-small .full-text {
  display: inline-block;
  opacity: 0; /* Anfangs unsichtbar */
  padding-left: 10px;
  transition: opacity 0.3s; /* Übergangseffekt für die Sichtbarkeit */
}

.anchor-small a.button-small:hover {
  background-color: var(--color1_2);
  color: black;
  width: var(--button-hover-width); /* Neue Breite beim Hovern */
}

.anchor-small a.button-small:hover .full-text {
  opacity: 1; /* Volltext sichtbar machen */
}


  
  

    /**
      * Smooth scrolling inside an element
      */
 #my-element {
	scroll-behavior: smooth;
}

    /**
    * Smooth scrolling on the whole document
    */
html {
	scroll-behavior: smooth;
}




/* Image */
.img-1 {
  width: 50%;
}

.bild5{
  width: 80%; 
  margin-left: -30%;
}



/* Title container */

.main-headline {
	height: fit-content;
  flex-basis: 100%;
}

.headline-container{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20% 0 0 0;
  flex-basis: 50%;
}

.main-container-intro{

  display: flex;
  justify-content: flex-start;
}

.main-container {

  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.container-title {

  display: flex;
  justify-content: center;
  align-items: center;
}

.text-title-container {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  z-index: 1;
}

.svg-title-container-intro {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  width: auto;
}

.svg-title-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;

}

.container-title.indented {
  padding-left: 5rem; /* Adjust padding for indentation as needed */
}




/* Tourism content*/
.tourism-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

.city-container {
  display: inline-flex;
  align-items: center;
  flex-basis: 50%;
}

.city-container.last-container {
  margin-top: -100rem; 
}

.chart-text {
  display: flex;
  flex-direction: column;
}
.city-container:nth-child(1){
  gap: 20px;
}
.city-container:nth-child(2){
  padding-left:20px; 
  gap: 40px;
}
.city-container:nth-child(3){
  padding-left:46px; 
  gap: 66px;
}
.city-container:nth-child(4){
  padding-left:76px; 
  gap: 96px;
}

 /* Sticky Position für das gesamte .row-Element */
 .sticky-row {
  height: 2000px;
  background-color: var(--color1_5);
  width: 50%;
}

.originviz {
  width: 100%;
  height: 800px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(20, 1fr);
  gap: 5px;
}

.rectangle {
  background-color: var(--color4_3);
  clip-path: polygon(13% 0%, 85% 10%, 91% 59%, 95% 98%, 5% 117%, -2% 50%);
  width: 100%;
  height: 100%;
  transition: background-color 0.3s ease;
  position: relative; /* Wichtig für Tooltip-Positionierung */
    cursor: pointer; /* Hand-Cursor für bessere UX */
}

.rectangle:hover {
  box-shadow: 0 10px 13px rgba(0, 0, 0, 0.5);
}

.rectangle:hover .tooltips {
  display: block;
}

.tooltips {
  position: absolute;
  display: none;
  padding: 5px;
  background-color: var(--color3);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none; /* Der Tooltip soll keine Maus-Events empfangen */
}


.tooltips::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border-width: 5px;
  border-style: solid;
  border-color: var(--color3) transparent transparent transparent;
}

/* Fügt eine Klasse hinzu, wenn das Row-Element nicht mehr sticky sein soll */
.sticky-off {
  position: relative;
}

.column {
	display: flex;
  flex-direction: column;
  gap: 10px;
  flex-basis:75%;
}

.background-img {
  position: relative;
  top: 80px;
  left: -20px;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.columnhalb {
	display: flex;
  flex-direction: column;
  gap: 10px;
  flex-basis:50%;
}

.img2{
  width: 50%;
  margin-left: auto;
}

  /* Slieder styles in Economic */
  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .slider-content {
    display: flex;
    transition: transform 0.3s ease-in-out;
    align-items: center; /* Bilder vertikal zentrieren */
  }
  
  .slider-item {
    flex: 0 0 calc(33.33% - 20px); /* 33.33% für drei Bilder + Abstand */
    margin-right: 10px; /* Abstand zwischen den Bildern */
    display: flex; /* Flexbox nutzen für Zentrierung */
    justify-content: center; /* Bilder horizontal zentrieren */
    align-items: center; /* Bilder vertikal zentrieren */
  }
  
  .slider-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Bilder in ihrem Container zentrieren */
  }
  
  .slider-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  .slider-button.left {
    left: 10px;
  }
  
  .slider-button.right {
    right: 10px;
  }
  
  .slider-button svg {
    width: 24px;
    height: 24px;
  }
  

  /* Chart styles in Economic */
.fullChart-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
}

.dropdown {
  font-size: 1rem;
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 20px;
}

.dropdown-btn {
  background-color: var(--color3);
  color: white;
  padding: 10px 40px 10px 10px; /* 增加右侧padding为图标留出空间 */
  width: fit-content;
  text-align: left;
  cursor: pointer;
  border: none;
  font-family: 'FHP Sun',Tahoma, sans-serif;
  font-size: 1rem;
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-btn svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  pointer-events: none; /* 确保SVG不会干扰点击事件 */
}

.dropdown-btn svg.rotated {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width:fit-content;

  /* width: 100%; */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: var(--colorBlack);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: var(--font),Tahoma, sans-serif;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}

#chartContainer {
  display: flex;
  flex-direction: row;
  position: relative;
  height: 400px;
  margin-bottom: 40px;
}

.data-label {
  position: absolute;
  background-color: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'FHP Sun',Tahoma, sans-serif;
  font-size: 12px;
  pointer-events: none;
}

.datalabels-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vertical-label-container {
  position: relative;
  left: 20px;
  /* width: 30px; 根据需要调整 */
}

.vertical-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  /* font-size: small; */
  color: var(--colorGrau);
  font-family: 'FHP Sun',Tahoma, sans-serif; 
}

.source {
  color: var(--colorGrau);
  margin-top: 10px;
  font-family: 'FHP Sun', Tahoma, sans-serif;}

/* Responsive adjustments */
@media screen and (max-width: 700px) {
  .economic-container {
      padding: 10px;
  }

  #chartContainer {
      height: 300px;
  }

  .vertical-label {
    font-family: var(--font),Tahoma, sans-serif;
      font-size: 12px;
      right: -20px;
  }
}




/* Housing */
.bed-container {
  position: relative;
  display: inline-block; 
  height:auto;
}

.bed-container img { 
  display: block;
  max-width: 100%;
  height: auto;
  position:relative;
}

.bed-container svg {
  position: absolute;
  top: -10%;
  left: 40%;
}

.img4{
  width:50%; 
  margin: 5%;
}

  /* housing 2 */

.wall-bg{
  background-color: #DCEFA4;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  margin-top:0;
  margin-left: 11.7%;
  margin-right: 11.5%;
  height: 100%;
}

.wall{
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  padding-left:8%; 
  padding-right:8%;
  padding-bottom:10%;
  padding-top: 3%;
  margin-top:0;
  height: 100%;
}

.wall-2{
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  padding-left:8%; 
  padding-right:8%;
  padding-bottom:10%;
  padding-top: 3%;
  margin-top:0;

  height: 100%;
  height: 100%;
}

.wall-column {
  position:relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  height: 100%;
}

    /* Scrollytelling */
.house-content {
    display:flex; 
    flex-direction:row;
    justify-content: center;
    gap:15%; 
    width:100%; 
    margin-bottom:5%;
}

.house-content-container {
  margin-top: 10%;
  display:flex; 
  flex-direction:column; 
  width: 100%; 
  height: 100vh; 
  overflow-x: hidden;
}
.title-container {
  width:100%; 
  margin-bottom: 2%; 
  height: 84.5px;
}


.step {
  width: 100%;
  max-width: 600px;
  margin: 40vh 0;
  background-color: none;
}

.step:nth-child(1) {
  margin: 100% 0;
}

.step:nth-child(4) {
  margin-bottom: 150%;
}

figure {
  position: -webkit-sticky;
  position: sticky;
  width: 40vw;
  height: 100vh;
  margin: 0;
  top: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.scrolly {
  position: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  background-color: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 100px 0 0 0;
  flex-basis: 100%;
}


.hammer {
  display: inline-block;
  animation: rotation 0.6s ease;
  position:absolute; 
  left:60%; 
  top:auto; 
  width: 320px; 
  height: auto;
}

@keyframes rotation {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

#fenster {
  opacity: 1;
  transition: opacity 0.5s linear;
}

#fenster.fade-out {
  opacity: 0;
}

/* .tag3 {
  position: relative;
  width: 20%; 
  height: auto; 
  position:absolute; 
  right:70%; 
  bottom: 47%;
} */

.tag3 {
  position:absolute; 
  width: 108px; 
  height: auto; 
  right:70%; 
  top: 20%;
}

.tag2 {
  position:absolute; 
  width: 108px; 
  height: auto; 
  left:70%; 
  top: 20%;
}

.tag1 {
  position:absolute; 
  width: 108px; 
  height: auto; 
  right:70%; 
  top: 20%;
}

.hammer {
  display: inline-block;
  animation: rotation 0.6s ease;
  position:absolute; 
  left:60%; 
  top:auto; 
  width: 320px; 
  height: auto;
}

.hammerWindows {
  width:100%; 
  margin-bottom: 2%; 
  height: 84.5px;
}



.fenster2 {
  opacity: 0;
  transition: opacity 0.5s linear 0.5s;
}

.fenster2.visible {
  opacity: 1;
}




/*@keyframes visibility {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}*/

.scrollama__debug-offset {
  border-color: var(--color-accent) !important;
}
.scrollama__debug-offset p {
  color: var(--color-accent) !important;
}





#map{
  height:400px;
  background-color: var(--color1_5);
  border: none;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0; 
  margin: 0 1%;
}

.mapselection{
  display: flex;
  flex-direction: row-reverse;
  margin-top: 10px;
}

#citySelector{
  flex-basis: 25%;
  background-color: var(--color2_1);
  border: none;
  padding: 8px 14px;
  color: var(--color1_5);
  appearance: none; /* Entfernt den standardmäßigen Dropdown-Pfeil */
  -webkit-appearance: none; /* Für Safari */
  -moz-appearance: none; /* Für Firefox */
  background-image: url('../Images/Economic/dropdown-arrow.svg'), linear-gradient(to bottom, var(--color2_1), var(--color2_1)); /* Benutzerdefiniertes Pfeil-Bild */
  background-position: right 10px center; /* Positioniert den Pfeil */
  background-repeat: no-repeat; /* Verhindert Wiederholung des Bildes */
  background-size: 12px; 
  border-radius: 0;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

/* Benutzerdefiniertes Kontrollkästchen */
.custom-checkbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--colorBlack);
  border-radius: 0;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

/* Gestalte das Häkchen */
.custom-checkbox::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--colorBlack);
  background-color: var(--colorBlack);
  border-radius: 0;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

/* Zeige das Häkchen, wenn die Checkbox aktiviert ist */
input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
  transform: scale(1);
}

/* Checkbox-Farbe beim Hover ändern */
.custom-checkbox:hover {
  border-color: var(--colorGrau);
  background-color: var(--colorLight);
}


/* Environment */
.interactivecharts{
  flex-basis: 50%;
  justify-content: center;
  align-items: center;
  position: relative; 
}
.interactivechartsGroß{
  width: 100%;
  flex-basis: 75%;
  justify-content: center;
  /* align-items: center; */
  position: relative; 
  display: flex;
  flex-direction: column;
}
#tooltip {
  position: absolute;
  background-color: var(--color6_1);
  color: var(--color1_4);
  border-radius: 4px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000; 
}

#emissionsbar{
  gap: 15px;
}

.dashedline{
  width: 30px; /* Breite der Linie */
  height: 36px;
  background-image: linear-gradient(var(--colorBlack) 40%, transparent 0%); 
  background-repeat: repeat-y;
  background-size: 100% 20px; /* 20px ist die Höhe der Striche + Abstand */
  }

  #emissionspic{
    position: relative;
    height: 200px;
  }

  #emissionsbar, .dashedline {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 5s ease-out, transform 1s ease-out;
}

#emissionsbar.animate, .dashedline.animate {
    opacity: 1;
    transform: translateY(0);
}


#projects{
  width:100%;
}

#projectbox{
  display: flex;
  flex-direction: column;
  gap: 125px;
  margin-top: 25%;
  margin-right: -22%;
}
.projectcontainer {
  position: relative;
  margin-left: -15%;
}

.projectcircle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
  flex-direction: column;
}

.projectring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: absolute;
  top: -25px;
  left: -25px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
}

.projectcontent {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  text-align: center;
  z-index: 1;
  position: relative;
  width: 100%; /* Standardbreite */
}

.active .projectcircle {
  transform: scale(2);
}

.active .projectcontent {
  opacity: 1;
  max-height: 291px;
  width: 170%;
  margin-top: -42px;
}

.active .projectcircle p {
  transform: scale(0.5); /* Leicht kleiner, ohne zu viel Platz zu lassen */
  transition: transform 0.5s ease;
}

.active .projectcircle .SubtitleBold{
  margin-top: 6%;
}

.projectcircle{
  background-color: var(--color5_2);
  color: var(--colorLight);
}

.projectring{
  border: 5px solid var(--color5_2);
}

.projectcircle.card{
  background-color: var(--color6_2);
  color: var(--colorLight);
  width: 222px;
  height: 222px;
}

.projectring.card{
  border: 5px solid var(--color6_2);
  width: 272px;
  height: 272px;
}

.projectcircle.meet{
  background-color: var(--color6_1);
  color: var(--colorLight);
  width: 195px;
  height: 195px;
}

.projectring.meet{
  border: 5px solid var(--color6_1);
  width: 245px;
  height: 245px;
}

/*social tourism*/

.socialfirst{
  display: flex;
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  flex-basis: 50%; 
  height: 400px; 
  width: 100%;
}

#mainSquare {
  background-color: var(--color5_3);
  display: flex;
  flex-wrap: nowrap; 
  padding: 5px;
  align-items: flex-start;
  gap: 5px; 
}

.innerSquare {
  background-color: var(--color5_1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font),Tahoma, sans-serif;
  font-size: 14px;
  color: white;
  cursor: pointer; 
}
.tooltip2 {
  visibility: hidden;
  background-color: var(--color5_2);
  color: var(--color1_4);
  border-radius: 4px;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  width: 250px;
}
.innerSquare:hover .tooltip2 {
  visibility: visible;
}

.legend {
  margin-top: 20px;
  display: flex;
  gap: 10%;
  flex-wrap: wrap;
}
.legend div {
  display: inline-block;
  margin-top: 10px;
  width: 140.5px;
}
.legend div span {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
.legend .german { background-color: var(--color4_1); }
.legend .EU { background-color: var(--color1_2); }
.legend .rest { background-color: var(--color2_3); }
.legend .children { background-color: var(--color5_1)}
.legend .students { background-color: var(--color4_1) }
.legend .tourists { background-color: #414A9E; }
.legend .passangers { background-color: #91B11B; }
.legend .totalpop { background-color: var(--color5_3); }
.legend .Licensed { background-color: var(--color1_1); }
.legend .noLicensed { background-color: var(--color2_1); }
.legend .residents { background-color:#395456; }
.legend .tourists { background-color: #708480; }


.aspects{
  flex-basis: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  position: relative;
}


/*footer*/
.footer{
  background-color: var(--colorBlack);
  width: 100%;
}
.footer-content{
  box-sizing: border-box;
  color: var(--color1_5);
  flex-basis: 50%;
  padding: 0;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 0;
  padding: 0 2% 0 0;
}


/* Fonts */

.headline {
  color: var(--color1_5);
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 4rem;
  font-style: normal;
  font-weight: 800;
  line-height: 4.5rem; /* 166.667% */
  letter-spacing: 0.1875rem;
  text-transform: uppercase;
  margin: 0 0 0 0;
  position: relative;
  display: inline-block;
  padding-right:  10px;
  padding-top:  10px;
  padding-bottom:  10px;
  z-index: 1; /* Sicherstellen, dass der Text über dem Trapez liegt */
}

.headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  clip-path: polygon(3% 15%, 88% 10%, 90% 80%, 0% 90%); 
  z-index: -1;
  transform: scale(1.1); 
}

.headline.article::before {
  background-color: var(--color4_2); 
}

.headline.about::before {
  background-color: var(--color1_1); 
}

.chapter {
  color: var(--colorBlack);
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 3rem;
  font-style: normal;
  font-weight: 300;
  line-height: 4.5rem; /* 166.667% */
  letter-spacing: 0.1875rem;
  text-transform: uppercase;
  margin: 0 0 0 0;
  position: relative;
  display: inline-block;
  padding-right:  10px;
  padding-top:  10px;
  padding-bottom:  10px;
  z-index: 1; /* Sicherstellen, dass der Text über dem Trapez liegt */
}

.chapter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  clip-path: polygon(3% 15%, 88% 10%, 90% 80%, 0% 90%); 
  z-index: -1;
  transform: scale(1.1); 
}

/*Farben für die einzelnen Hintergründe*/
.chapter.tourism::before {
  background-color: var(--color4_2); 
}

.chapter.economic::before {
  background-color: var(--color2_3); 
}

.chapter.housing::before {
  background-color: var(--color1_2);
}

.chapter.enviroment::before {
  background-color: var(--color6_2); 
}

.chapter.social::before{
  background-color: var(--color5_2); 
}

.h1 {
  color: var(--colorBlack);
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 3rem;
  font-style: normal;
  font-weight: 300;
  line-height: 4.5rem; /* 166.667% */
  letter-spacing: 0.1875rem;
  text-transform: uppercase;
  margin: 0 0 0 0;
}

.h2 {
  color: var(--colorBlack);
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.3rem;
  align-self: stretch;
  margin: 0 0 0 0;
}

.f-long {
  color: var(--colorBlack);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 0 0 0 0;
  width: 800px;
}

.f-short {
  color: var(--colorBlack);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 0 0 0 0;
  flex-basis: 75%;
}

.f-shorter {
  color: var(--colorBlack);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 0 0 0 0;
  flex-basis: 50%;
}
.f-shortest {
  color: var(--colorBlack);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 0 0 0 0;
  flex-basis: 25%;
}
.chart {
  color: var(--colorBlack);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 0.938rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 120% */
  margin: 0 0 0 0;
}

.SubtitleBold {
  color: var(--colorBlack);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "FHP Sun",Tahoma, sans-serif;
  font-size: 1.563rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.28125rem; /* 146% */
  margin: 0 0 0 0;
}

.lable-small {
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.125rem; /* 120% */
  margin: 0 0 0 0;
}

.lable-bold{
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "FHP Sun",Tahoma, sans-serif;
  font-size: 1.5625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.28125rem; /* 146% */
  margin: 10px 0 10px 0;
}

.lable-extrabold{
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "FHP Sun",Tahoma, sans-serif;
  font-size: 3.5625rem;
  font-style: normal;
  font-weight: 900;
  line-height: 2.28125rem; /* 146% */
  margin: 0 0 0 0;
  width: fit-content;
  height: fit-content;
}

.highlight {
  padding: 2px 4px;
  border-radius: 4px;
}

/*Grafische Elemente*/
.hexagon {
  position: absolute;
  background-color: var(--color6_1);
  clip-path: polygon(15% -20%, 85% 10%, 100% 59%, 95% 88%, 5% 117%, -2% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 5%;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 0;
}

.hexagonzwei{
  position: absolute;
  background-color: var(--color6_1);
  clip-path: polygon(70% -60%, 86% 25%, 110% 42%, 95% 81%, 48% 404%, -3% 37%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 0;
}
.hexagongrow {
  position: absolute;
  clip-path: polygon(15% -20%, 85% 10%, 100% 59%, 95% 88%, 5% 117%, -2% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 27px;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 0;
  min-width: 250px;
}

/* .hexagon-container {
  position: relative;
  width: 300px;
  height: 300px;
}
.hexagon-outline, .hexagon-content {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% -20%, 85% 10%, 100% 59%, 95% 88%, 5% 117%, -2% 50%);
}
.hexagon-outline {
  background: repeating-linear-gradient(
      45deg,
      #e74c3c,
      #e74c3c 10px,
      transparent 10px,
      transparent 20px
  );
}
.hexagon-content {
  position: absolute;
  clip-path: polygon(15% -20%, 85% 10%, 100% 59%, 95% 88%, 5% 117%, -2% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 27px;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 0;
  min-width: 250px;
} */

/* Bild und Text initial verstecken und verkleinern */
.image1, .image2 {
  opacity: 0;
  transform: scale(0.1);
  transition: all 1s ease-out;
}

/* Sichtbar, wenn im Sichtbereich */
.image1.visible, .image2.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hexagons initial versteckt */
.hexagonzwei, .hexagon {
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* Sichtbar, wenn im Sichtbereich */
.hexagonzwei.visible, .hexagon.visible {
  opacity: 1;
}


.circle {
  width: 45%; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position:absolute;
  aspect-ratio: 1/1;
}

.text-container {
  position: relative;
}

.arrow-container {
  position: relative; /* Use relative instead of absolute */
}

.collageHalb{
  flex-basis: 50%;
  position: relative;
}

#texthalb{
  flex-basis: 50%
}
/*about page*/
.site-container {
  display: flex;
  background-color: var(--color1_5);
  max-width: 1800px;
  flex-wrap: wrap;
  padding: 4% 8% 8% 8%;
  margin: auto;
  box-sizing: border-box;
}

.header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 36px;
  z-index: 2;
}

.source{
  font-weight: 700;
  color: var(--colorBlack);
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.8rem; /* 170% */
  align-self: stretch;
  margin: 5px 0;
  font-family: var(--font),Tahoma, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 48%;
}

.source-element{
  flex-basis: 48%;
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 10px 0;
}

/*responive neu*/
.ElementGanz{
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap:2%;
  height: fit-content;
}

@media screen and (max-width: 700px) {

  #sidebar{
    display: none !important; 
  }

  #sidebar-center{
    flex-basis: 100%; 
    display: flex; 
    justify-content: center;
  }
  .anchor-top{
    position: fixed;
  }
  .site-container{
    padding: 6% 8% 8% 8%;
  }
  .anchor-top a.button-top{
    font-size: 0.8rem;
  }
  .anchor-small a.button-small{
    font-size: 0.8rem;
  }
  .anchor-small a.button-small:hover {
    width: fit-content;
    text-align: center;
  }

  .anchor-small{
    flex-direction: row;
    flex-basis: 100%;
    margin: auto;
    top:90vh;
  }
  .row-intro{
    flex-wrap: wrap;
  }
  .row {   
    flex-direction: row;
    flex-basis: 100%;
    flex-wrap: wrap;
  }
  .text-column {
	  flex-direction: column;
  	gap: 0;
    flex-basis: 100%;
  }
  .chapter{
    font-size: 2rem;
    line-height: 2rem;
    padding: 3% 0;
  }
  .h1 {
    font-size: 2.5rem !important;
    line-height: 3.4rem !important;
  }
  .h2 {
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin-top: 3%;
  }
  .f-long {
    font-size: 1rem !important;
    line-height: 1.6rem !important;
    width: 100% !important;
  }

  .f-short{
    font-size: 1rem !important;
    line-height: 1.6rem !important;
    flex-basis: 100%;
  }

  .sticky-row{
    width: 100%;
  }
  #texthalb{
    flex-basis: 100%
  }
  .f-shorter{
    font-size: 1rem !important;
    line-height: 1.6rem !important;
    flex-basis: 100%;
  }

  .f-shortest{
    font-size: 1rem !important;
    line-height: 1.6rem !important;
    flex-basis: 100%;
  }
  .chart {
    font-size: 0.75rem !important;
    line-height: 1.1rem !important;
  }

  .SubtitleBold {
    font-size: 1.2rem !important;
    line-height: 1.22rem !important;
  }

  .page-container {
    padding: 5rem 1.5rem 0 1.5rem !important;
  }

  .city-container {
    flex-direction: column;
    align-items: left !important;
  }

  .headline{
    font-size: 2rem;
    line-height: 2.5rem;
    padding: 5% 5% 5% 0
  }

  .footer-content{
    font-size: 1rem !important;
    line-height: 1.6rem !important;
    flex-basis: 100%;
    padding: 0 0 6% 0;
  }

  .source-element{
    flex-basis: 94%;
    margin-top: 2%;
  }

  .source{
    font-size: 1rem;
    line-height: 1.15rem;
  }

  .slider-item {
    flex: 0 0 calc(75%); 
  }
  .ElementGanz{
    flex-direction: row;
  }
  .img-1{
    flex-basis: 100%;
  }

  .anchor-big{
    flex-wrap: wrap;
  }
  .anchor-big a.button-big{
    padding: 2%;
    flex-grow: 1;
  }
  .tourism-container{
    flex-basis: 100%;
  }
  .city-container:nth-child(1),
  .city-container:nth-child(2),
  .city-container:nth-child(3),
  .city-container:nth-child(4){
    gap: 0;
    padding: 0;
    align-items: baseline;
  }
  .img2{
    width: 100%;
  }
  .rowKlein{
    flex-basis: 100%;
    flex-direction: column;
    gap: 20px;
    align-items: baseline;
  }

  .img3{
    display: none;
  }

  .img4{
    width:100%
  }
  .bild5{
    display: none;
  }
  .columnhalb{
    flex-basis: 100%;
  }
  .collageHalb{
    flex-basis: 100%;
  }
  .interactivecharts{
    flex-basis: 100%;
  }
  .interactivechartsGroß{
    flex-basis: 100%;
  }
  .row.emissionslegend{
    gap:10px;
  }
  #emissionsbar{
    flex-wrap: nowrap;
  }
  .projectcircle{
    width: 120px;
    height: 120px;
  }

  .projectring{
    width: 140px;
    height: 140px;
  }
  .projectcircle.card{
    width: 170px;
    height: 170px;
  }
  
  .projectring.card{
    width: 190px;
    height: 190px;
  }
  
  .projectcircle.meet{
    height: 195px;
  }
  
  .projectring.meet{
    width: 245px;
    height: 245px;
  }

  .aspects{
    margin-left: 4%;
  }

  #map{
    height: 700px;
  }

  .text-column .map{
    flex-basis: auto;
  }

  .socialfirst{
    flex-basis: 100%;
    margin-bottom: 10%;
  }
}

@media screen and (max-width: 1260px){
  .hexagon.aspect{
    height:35%;
  }

  .hexagon.aspect .chart{
    display: none;
  }
  #emissionspic{
    height: 100px;
  }
}

@media screen and (max-width: 500px){
  #mainSquare{
    transform: scale(calc(100vw / 80vw));
  }
}

 /*Scrolly responsive*/

 @media (max-width: 700px) {
  figure {
    position: -webkit-sticky;
    position: sticky;
    width: 80vw;
    height: 100vh;
    margin: 0;
    top: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 0;
  }
  
  article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  
  .scrolly {
    flex-direction: column-reverse;
    align-items: center;
  }
  .tag3 {
    width: 25%; 
    height: auto; 
    position:absolute; 
    right:80%; 
    bottom: 47%;
  }
  
  .tag2 {
    width: 25%; 
    height: auto; 
    position:absolute; 
    left:80%; 
    bottom: 47%;
  }
  
  .tag1 {
    width: 25%; 
    height: auto; 
    position:absolute; 
    right:80%; 
    bottom: 70%;
  }
  .hammerWindows {
    width:100%; 
    margin-bottom: 2%; 
    height: 55px;
  }

  .hammer {
    display: inline-block;
    animation: rotation 0.6s ease;
    position:absolute; 
    left:60%; 
    top:10%; 
    width: 320px; 
    height: auto;
  }


  .step {
    background-color: rgba(247, 252, 233, 0.8);;
    padding: 20px; 
    margin-bottom: 60vh; 
    width: 100%;
  }

  .step:nth-child(4) {
    margin-bottom: 280%;
  }

  .title-container {
    width:100%; 
    margin-bottom: 7%; 
    margin-top: 10%; 
    height: auto;
  }  

  #sourcenone{
    display: none;
  }
}