/* Global Styles */

@font-face {
  font-family: 'Inter';
  src: url('https://www.altstadtloft-teltow.de/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 400 600; /* falls Variable Font */
  font-style: normal;
  font-display: swap; /* optional, sorgt für schnellere Textanzeige */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;

}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}
h1, h2 {
    font-weight: 600;
}

section {
    padding: 20px;
    text-align: center;
}

a {
  color: black;

}

a:hover {
  color: #525252; /* or any hover color you like */
}

/* Margins for better alignment */
.intro-container, .features-container {
    margin: 0 auto;
    max-width: 60%;
    text-align: center;
}

/* Menu */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  color: black;
  font-family: "Inter", sans-serif;
}


.nav-left h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: black;
  text-decoration: none;
}

.nav-left a {
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  color: black;
  font-family: "Inter", sans-serif;
}

.nav-items {
  display: flex;
  flex-directon: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
  align-items: center;
}

.nav-items li a {
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  color: black;
  transition: color 0.3s ease;
}

.nav-items li a:hover {
  color: #525252;
}

.language-switcher {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: black;
  display: flex;
  gap: 5px;
  align-items: center;
}

.language-switcher span {
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.language-switcher span:hover {
  text-decoration: underline;
}

.language-switcher span.active {
  text-decoration: underline;
  font-weight: 500;
}

/* Toggle-Button (Menu / X) */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  color: black;
}

/* Mobile-specific styles */
@media (max-width: 1020px) {
  .nav-items li a {
    font-size: 16px;
  }
  .nav-left h2 {
    font-size: 16px;
  }
}
@media (max-width: 720px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  }

   .nav-left h2 {
    font-size: 20px;
    margin: 0;
       white-space: nowrap;

  }

  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
  }

    #menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    color: black;
  }

  .nav-items {
    display: none; /* standardmäßig versteckt */
    flex-direction: column;
    align-items: flex-start; /* linksbündig */
    position: absolute;
    top: 100%; /* direkt unterhalb der Navbar */
    left: 0;
    width: 100%; /* volle Breite */
    background-color: white;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1); /* leichter Schatten */
  }

  .nav-items.show {
    display: flex; /* sichtbar, wenn aktiv */
  }

  .nav-items li {
    width: 100%;
  }

  .nav-items li a {
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-decoration: none;
  }

  .language-switcher {
    margin-top: 1rem;
  }

}

/* Hero Section */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url('https://altstadtloft-teltow.de/img/Altstadtloft_11.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero {
    background-position: 70% center; 
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: 70% center; 
  }
}

.hero-overlay {
 content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-text {
  color: white;
  max-width: 80%; 
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 15rem;
  text-align: left;
}

@media (max-width: 819px) {
 
  .hero-text h1 {
    font-size: 10rem;
    line-height: 1.8;
  }
  
  .hero-text {
    left: 2rem;
    right: 2rem;
    top: 4rem;
  }
}

@media (max-width: 1180px) and (orientation:landscape) {
  .hero-text {
    left: 2rem;
    right: 2rem;
    bottom: 5rem;
    max-width: 70%; 
  }
}

/* Fluid headline */
.hero-text h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.3;
}

/* Button Abstand auf kleinen Screens */
.hero-text a.sticky-booking-button {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  padding: 0.6rem 1.2rem;
}

/* Book Now Button */

.sticky-booking-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #000;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.sticky-booking-button:hover {
  background-color: white;
  color: black;
}

/* Key Features Section */

#features {
  max-width: 70%; 
  margin: auto; 
  text-align: center; 
  font-size: 18px;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.feature-list {
    list-style: none; /* Removes default bullet points */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 1rem; /* Adds spacing between items */
    list-style: none; /* Removes default bullet points */
    padding: 0; /* Ensures no extra padding */
    margin: 0 auto; /* Centers the list */
}

.feature-item {
    display: flex; /* Aligns icon and text horizontally */
    align-items: center; /* Vertically centers the icon with the text */
    margin-bottom: 1rem; /* Adds spacing between features */
}
.feature-icon {
    width: 20px; /* Icon size */
    height: 20px;
    fill:black; /* Schwarz */
    margin-right: 10px; /* Space between icon and text */
    vertical-align: middle; /* Align icon with text */
}

@media (max-width: 1600px) {
  #features {
    max-width: 80%;
  }
}

@media (max-width: 1200px) {
  #features {
    max-width: 340px;
  }
    .feature-list {
        grid-template-columns: 1fr; /* One column on small devices */
    }
}

/* Gallery Section */
#gallery {
  padding: 6rem 2rem;
  max-width: 80%;   /* etwas breiter */
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem; /* mehr Abstand zwischen den Bildern */
}

.gallery-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

@media (max-width: 1800px) {
  #gallery {
    max-width: 80%;
  }
  .gallery-grid {
    gap: 6rem;
  }
}

@media (max-width: 1200px) {
  
    #gallery {
    max-width: 80%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  #gallery {
    max-width: 80%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Booking & Calendar Section */
.booking {
    font-family: Inter !important;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.booking (max-width:1200px){
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  
}

.booking-engine {
    font-family: Inter !important;
    max-width; 60%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Contact Section */
.contact-container {
    padding-top: 5rem;
  padding-bottom: 2rem;
  font-size: 20px;
}

/* Navigate Section */
.navigate p {
    text-align: center;
    margin: 20px auto;
    font-size: 20px;
  padding-bottom: 10rem;
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    background-color: #f4f4f4;
    color: #555;
}

/* DSGVO Section */

#dsgvo {
  text-align: left;
  max-width: 80%;
  margin:auto;
  margin-top: 100px;
  min-height: 100vh;
}