@font-face {
  font-family: MulishLight;
  src: url(./font/mulish/Mulish-Light.ttf);
}

@font-face {
  font-family: MulishBold;
  src: url(./font/mulish/Mulish-Bold.ttf);
}

body {
  font-family: MulishLight;
  margin: 0;
  padding: 0;
}
.search-bar {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  padding: 2% 5%;
  height: 50px;
  box-shadow: rgba(0, 0, 0, 0.521) 0 59px 49px;
  gap: 10px;
  justify-content: space-between;
  }

.left-side {
  display: flex;
  gap: 10px;
  }

.flag-dropdown {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 10px;
  }

.apartment-card {
  margin-bottom: 16%;
  }

.flag {
  width: 50px;
  height: auto;
  margin-right: 2%;
  border-radius: 5px;
  border-color: #00d1b200;
  }

.arrow {
  font-size: 12px;
  }

  .no {
    opacity: 0; /* Unsichtbar */
    pointer-events: none; /* Interaktionen blockieren */
    height: 10; /* Höhe auf 0 setzen */
    overflow: hidden; /* Inhalte vollständig verbergen */
    display: block; /* Platzhalter bleibt */
}

.no1 {
  size: 1px;
  opacity: 0; /* Unsichtbar */
  pointer-events: none; /* Interaktionen blockieren */
  height: 10; /* Höhe auf 0 setzen */
  overflow: hidden; /* Inhalte vollständig verbergen */
  display: block; /* Platzhalter bleibt */
}





.search-input {
  border: none;
  outline: none;
  padding: 10px;
  font-size: 16.5px;
  flex-grow: 1;
  }

.dropdown {
  position: relative;
  display: inline-block;
}



.dropbtn {
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px 70px;
  font-size: 16.5px;
  border-radius: 5px;
  width: 260px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  font-size: 17px;
  text-decoration: none;
  display: block;
}

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

.dropdown:hover .dropdown-content {
  display: block;
}

.search-button {
  background-color: #7176ff;
  color: white;
  border: none;
  padding: 10px 40px;
  font-size: 16.5px;
  border-radius: 5px;
  margin: auto 0;
  cursor: pointer;
  font-weight: bold;
  }

.ki-suche {
  display: flex;
  align-items: center;
  margin-left: 10px;
  font-size: 14px;
  }

.ki-suche strong {
  margin-left: 5px;
  background-color: black;
  color: white;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 12px;
  }

  .error-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffcccb; /* Hellrot oder eine Farbe Ihrer Wahl für Fehlermeldung */
    color: #721c24; /* Dunkelrot oder eine Kontrastfarbe für den Text */
    padding: 10px 20px;
    border-radius: 5px;
    display: none; /* Anfangs versteckt, wird durch JavaScript sichtbar gemacht */
    z-index: 1000; /* Über allen anderen Inhalten */
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatten für die Fehlermeldung */
    width: 300px; /* Breite der Fehlermeldung anpassen */
    text-align: center;
  }
  
  .error-message.show {
    display: block; /* Anzeigen, wenn durch JavaScript aktiviert */
  }
  

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  margin-left: 10px;
  }

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition:.4s;
  border-radius: 34px;
  }

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: rgb(255, 255, 255);
  transition:.4s;
  border-radius: 50%;
  }

  input:checked +.slider {
  background-color: #7176ff;
  }

  input:checked +.slider:before {
  transform: translateX(14px);
  }

  nav {
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  position: absolute;
  width: calc(100% - 100px);
  top: 0;
  z-index: 1000;
  }

  nav h1 {
  margin: 0;
  font-size: 1.5rem;
  }

  nav ul {
  list-style-type: none;
  margin: 0;
  padding: 40px;
  margin: auto;
  display: flex;
  position: relative;
  }

.middleno {
  color: rgba(0, 0, 0, 0);
  text-align: center;
  }

.middle{
  text-align: center;
}

  nav ul li {
  margin-left: 20px;
  position: relative;
  }

  nav ul li a {
  position: relative;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  }

  nav ul li a:hover {
  text-decoration: underline;
  }

.logo {
  height: 40px;
  margin-top: -20%;
  margin-left: 5%;
  }

  header {
  position: relative;
  height: 80vh;
  background-color: white;
  }

  header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; 
  }

.header-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgb(0, 0, 0);
  z-index: 1;
  font-size: 30px;
  padding-bottom: 20px; /* Reduzierter Padding-Bereich für das Header-Content */
}

.header-content h1 {
  font-size: 3rem;
  margin: 0;
  }

.header-content p {
  font-size: 1.25rem;
  }

.content {
  padding: 20px;
  margin-top: 60vh;
  }

.content h2 {
  margin: 0 0 20px 0;
  }


.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  }

.material-icons {
  font-size: 48px;
  cursor: pointer;
  color: #000000;
  }

.icon-text {
  margin-top: 8px;
  font-size: 14px;
  color: #000000;
  font-size: 18px;
  cursor: pointer;
  }

.icon-text:hover {
  margin-top: 8px;
  font-size: 14px;
  color: #000000;
  font-size: 18px;
  cursor: pointer;
  text-decoration: underline;
  }

.icon-text1 {
  margin-top: -35%;
  margin-left: 200%;
  font-size: 14px;
  color: #000000;
  font-size: 18px;
  margin-right: 35%;
  cursor: pointer;
  }

.icon-text1:hover {
  margin-top: -35%;
  margin-left: 200%;
  font-size: 14px;
  color: #000000;
  font-size: 18px;
  cursor: pointer;
  text-decoration: underline;
  }

  a {
  color: white;
  text-decoration: none;
  }

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  color: rgb(0, 0, 0);
  }

.sidebarlogo {
  height: 40px;
  margin-top: -20%;
  margin-left: 10%;
  }

.sidebar a {
  padding: 10px 15px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  color: rgb(0, 0, 0);
  display: block;
  transition: 0.3s;
  }

.sidebar a:hover {
  text-decoration: underline;
  }

.closebutton{
    position: relative;
    margin-top: -25%;
    margin-left: 50%;
    font-size: 100px;
  }

.content {
  margin-left: 20px;
  color: black;
  }

.greybodycard {
  margin-top: -1%;
  background-color: rgb(240, 240, 240);
  height: 100px;
  }

.greybodycard-content {
  color: black;
  }

.info {
  font-weight: 1;
  text-align: center;
  font-style: normal;
  }

.whiteheadercard {
  height: 90px;
  margin: auto 0;

}

.apartment-card {
  margin-top: 16%;
}

.contact{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.email{
  font-size: 20px;
  margin-top: 2%;
  margin-left: 10%;
}

.mail{
  color: black;
  margin-left: 8%;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
}


.contact-info, .contact-form, .social-media {
  margin-bottom: 1%;
}

.social-media a {
  display: inline-block;
  margin-right: 1%;
  color: #555;
  text-decoration: none;
}

.social-media a:hover {
  text-decoration: underline;
}

.scrolllink {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ccc;
  animation: fadeIn 2s; /* Animation zum Einblenden der Abschnitte */
}
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.raited{
  font-family: MulishLight;
  text-align: center;
}

.raitedtext{
  color: rgb(49, 49, 49);
  font-family: MulishBold;
  font-size: 18px;
}

.raited-card{
  background-color: rgb(255, 255, 255);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.17);
  border-radius: 10px;
  width: 300px;
  margin: 0 auto;

}

.cardicon{
  height: 100px;
}

.raited-card:hover{
  background-color: rgba(197, 197, 197, 0.138);

}

/* Stil für das neue Feld über dem Footer */
/* Stil für das neue Feld über dem Footer */
.info-field {
  background-color: #f0f0f0; /* Hellgraue Hintergrundfarbe */
  color: #333333; /* Dunkelgraue Schriftfarbe */
  padding: 20px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  height: 210px;
  gap: 20px;
  border: 1px solid #e0e0e0; /* Optional: Rahmen, um das Feld hervorzuheben */
  position: relative; /* Ermöglicht die absolute Positionierung der Bilder */
}

.info-section {
  flex: 1;
  margin-top: 0.5%;
  min-width: 200px;
  position: relative; /* Ermöglicht die absolute Positionierung der Bilder innerhalb dieses Containers */
}

.info-section h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-section ul li {
  margin: 5px 0;
}

.logocard {
  position: absolute;
  bottom: 10px; /* Abstand vom unteren Rand */
  left: 50%; /* Positionierung in der Mitte */
  transform: translateX(-50%); /* Zentrierung des Bildes */
  max-width: 140px; /* Begrenzung der Bildgröße */
  max-height: 100px; /* Begrenzung der Bildhöhe */
}

.logocardtext{
  position: absolute;
  bottom: -11px; /* Abstand vom unteren Rand */
  left: 55%; /* Positionierung in der Mitte */
  transform: translateX(-50%); /* Zentrierung des Bildes */
  max-width: 500px; /* Begrenzung der Bildgröße */
  max-height: 100px; /* Begrenzung der Bildhöhe */
  font-size: 18px;
  color: rgb(0, 0, 0);
}


footer{
  margin-top: 1%;
  height: 50px;
  text-align: center;
  font-size: 20px;

}

.apartment-card {
    border-radius: 8px; /* Abgerundete Ecken für einen sanfteren Look */
    border: 1px solid #ddd; /* Hellerer Rahmen für bessere Sichtbarkeit */
    background-color: #d5d5d55d; /* Weißer Hintergrund für bessere Lesbarkeit */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten für einen leichten 3D-Effekt */
    padding: 20px; /* Innenabstand für mehr Raum */
    margin: 20px auto; /* Automatische horizontale Zentrierung und Abstand nach oben und unten */
    width: 80%; /* Breite anpassen, um sie gut auf dem Bildschirm anzuzeigen */
    max-width: 600px; /* Maximale Breite für große Bildschirme */
    text-align: center; /* Text zentrieren für eine bessere Lesbarkeit */
    box-sizing: border-box; /* Padding und Border in die Gesamtbreite einbeziehen */
}

.flöhawohnungencard2 {
  border-radius: 8px; /* Abgerundete Ecken für einen sanfteren Look */
  border: 1px solid #dddddd00; /* Hellerer Rahmen für bessere Sichtbarkeit */
  background-color: #d5d5d500; /* Weißer Hintergrund für bessere Lesbarkeit */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0); /* Schatten für einen leichten 3D-Effekt */
  padding: 20px; /* Innenabstand für mehr Raum */
  margin: 20px auto; /* Automatische horizontale Zentrierung und Abstand nach oben und unten */
  width: 80%; /* Breite anpassen, um sie gut auf dem Bildschirm anzuzeigen */
  max-width: 600px; /* Maximale Breite für große Bildschirme */
  text-align: center; /* Text zentrieren für eine bessere Lesbarkeit */
  box-sizing: border-box; /* Padding und Border in die Gesamtbreite einbeziehen */
}

.apartment-card {
  height: auto; /* Höhe automatisch anpassen, um den Inhalt aufzunehmen */
}

/* Stil für spezifische Card 2 */
.flöhawohnungencard2 {
  height: auto; /* Höhe automatisch anpassen, um den Inhalt aufzunehmen */
}

.submit {
  display: inline-block; /* Blockartiger Button */
  padding: 10px 20px; /* Innenabstand für einen ansprechenden Button */
  font-size: 18px; /* Größere Schriftgröße für bessere Lesbarkeit */
  color: #fff; /* Weiße Schriftfarbe für Kontrast */
  background-color: #7176ff; /* Hintergrundfarbe des Buttons */
  border: none; /* Keine Rahmenlinie */
  border-radius: 5px; /* Abgerundete Ecken für den Button */
  cursor: pointer; /* Hand-Cursor für Klickbarkeit */
  transition: background-color 0.3s ease; /* Sanfte Übergänge beim Hover-Effekt */
}

.button:hover {
  background-color: #6268fe; /* Dunklere Hintergrundfarbe beim Hover */
}

/* Stil für Links im Button */
.button a {
  color: #fff; /* Weiße Schriftfarbe für Links */
  text-decoration: none; /* Keine Unterstreichung der Links */
}

button {
pointer-events: auto !important;
z-index: 9999 !important;
height: 40px;
width: auto;
border-radius: 5px;    
color: white;
background-color: #7176ff;
border-color: #00000000;
}

@media (max-width: 768px) {
nav {
  position: absolute; /* Fixiert die Navigation oben */
  top:40px;
  left: 0;
  gap: -100px;
  right: 10px;
  z-index: 1000; /* Sicherstellen, dass sie über allem liegt */
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0); /* Dunkler Hintergrund für bessere Lesbarkeit */
  backdrop-filter: blur(5px); /* Moderne Browser-Unterstützung */
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  align-items: center;
}

nav .logo {
  margin-left: 22%;
  width: 100px;
  height: 20px;
  margin-bottom: 100px;
  margin-left: -80%;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: -10px;
  width: 100%;
  text-align: center;
}

nav ul li {
  margin: 0px;
}

nav ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 16px;
  padding: 10px;
  display: block;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header-Content nach unten verschieben, um Überlappung zu vermeiden */
header {
  padding-top: 70%; /* Höhe der Navigation + Abstand */
}
.header-content {
margin-top: 75%; /* Höhe der Navigation + Abstand */
text-align: center;
align-items: center;
}

textarea {
  height: 120px; /* Kleinere Höhe für Mobile */
}

/* Footer Fix */
footer {
  padding: 20px 15px;
  font-size: 16px;
}

  /* Footer-Anpassungen */
  footer {
    font-size: 16px; /* Kleinere Schriftgröße für den Footer */
    padding: 10px; /* Weniger Padding */
  }

    /* Center footer */
footer {
  font-size: 16px; /* Reduce footer font size */
  text-align: center; /* Center footer text */
}

  /* Info-Feld-Anpassungen */
  .info-field {
    flex-direction: column; /* Elemente vertikal stapeln */
    height: auto; /* Höhe automatisch anpassen */
    padding: 10px; /* Weniger Padding */
  }

  .info-section {
    min-width: 100%; /* Volle Breite für Info-Sektionen */
    margin-top: 10px; /* Abstand anpassen */
  }

  .info-section {
    min-width: 100%;
    margin: 10px 0;
  }

  .info-field {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }
}

