/* Reset und Grundlagen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hintergrundbild */
.page-background {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background: url('../bkg_1.jpg') center center/cover no-repeat;
  filter: brightness(0.65) blur(1.5px);
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.7rem;
  position: relative;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: #975e0d;
  text-decoration: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  width: 25px;
  height: 3px;
  background: #975e0d;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  color: #975e0d;
  background: rgba(151, 94, 13, 0.1);
}

/* Sections */
.section {
  margin: 2rem auto;
  max-width: 1400px;
  padding: 2rem;
}

/* Startseite */
.start {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.start-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 700px;
}

.start-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 700;
}

.start-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.7;
}

.big-btn {
  background: linear-gradient(135deg, #b38e5d, #975e0d);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.big-btn:hover {
  background: linear-gradient(135deg, #975e0d, #7a4a0a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(151, 94, 13, 0.3);
}

/* Verbesserte Slideshow */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.aptslide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.aptslide:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.hidden {
  opacity: 0 !important;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  color: #975e0d;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background: rgba(151, 94, 13, 0.9);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slide-btn.left {
  left: 20px;
}

.slide-btn.right {
  right: 20px;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: #975e0d;
  transform: scale(1.2);
}

/* Apartments Section */
.apartments {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 4rem;
}

.apartments h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 700;
}

.apartment-large {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  margin: 4rem 0;
  align-items: stretch;
  min-height: 600px;
}

.apartment-slideshow-container {
  position: relative;
  flex: 1.2;
  min-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.apartment-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.apartment-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apartment-info h3 {
  font-size: 1.8rem;
  color: #975e0d;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.apartment-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.7;
}

.apartment-info ul {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding-left: 0;
  list-style: none;
}

.apartment-info ul li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.apartment-info ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #975e0d;
  font-weight: bold;
}

.preise {
  margin-top: auto;
  font-size: 1.2rem;
  color: #975e0d;
  font-weight: 600;
  padding: 1.5rem;
  background: rgba(151, 94, 13, 0.1);
  border-radius: 12px;
  border-left: 4px solid #975e0d;
}

/* Lage Section */
.lage {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 4rem;
}

.lage h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 700;
}

.lage-content {
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

.lage-info {
  flex: 1;
  padding: 1rem;
}

.lage-info h3 {
  font-size: 1.8rem;
  color: #975e0d;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.lage-info p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.7;
}

.lage-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.highlight {
  background: rgba(151, 94, 13, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid #975e0d;
}

.highlight strong {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.highlight span {
  color: #975e0d;
  font-weight: 600;
  font-size: 1.1rem;
}

.lage-map {
  flex: 1;
  min-height: 400px;
}

.lage-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Kontakt Section - Vereinfacht */
.kontakt {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 4rem;
}

.kontakt h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 700;
}

.kontakt-content {
  max-width: 1000px;
  margin: 0 auto;
}

.kontakt-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.kontakt-intro h3 {
  font-size: 1.8rem;
  color: #975e0d;
  margin-bottom: 1rem;
  font-weight: 700;
}

.kontakt-intro p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.kontakt-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.kontakt-method {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.kontakt-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.kontakt-method.whatsapp {
  border-color: rgba(37, 211, 102, 0.3);
}

.kontakt-method.whatsapp:hover {
  border-color: #25d366;
}

.kontakt-method.phone {
  border-color: rgba(151, 94, 13, 0.3);
}

.kontakt-method.phone:hover {
  border-color: #975e0d;
}

.kontakt-method.email {
  border-color: rgba(66, 133, 244, 0.3);
}

.kontakt-method.email:hover {
  border-color: #4285f4;
}

.kontakt-method.address {
  border-color: rgba(234, 67, 53, 0.3);
}

.kontakt-method.address:hover {
  border-color: #ea4335;
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-content h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.method-content p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 200px;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.phone-btn {
  background: linear-gradient(135deg, #975e0d, #7a4a0a);
  color: white;
}

.phone-btn:hover {
  background: linear-gradient(135deg, #7a4a0a, #5d3808);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(151, 94, 13, 0.3);
}

.email-btn {
  background: linear-gradient(135deg, #4285f4, #1a73e8);
  color: white;
}

.email-btn:hover {
  background: linear-gradient(135deg, #1a73e8, #1557b0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.address-details {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Mobile Anpassungen für Kontakt */
@media (max-width: 768px) {
  .kontakt-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .kontakt-method {
    padding: 1.5rem;
  }
  
  .method-icon {
    font-size: 2.5rem;
    height: 60px;
  }
  
  .contact-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-width: auto;
    width: 100%;
  }
  
  .kontakt-intro h3 {
    font-size: 1.5rem;
  }
  
  .kontakt-intro p {
    font-size: 1.1rem;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 3rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  color: #975e0d;
  transform: scale(1.1);
}

/* Impressum */
.impressum {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 4rem;
}

.impressum-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.impressum-content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 700;
}

.impressum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.impressum-section h3 {
  color: #975e0d;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.impressum-section p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-note {
  text-align: center;
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(151, 94, 13, 0.2);
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #975e0d;
  font-weight: 500;
}

.footer-content a {
  color: #975e0d;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .section {
    padding: 2rem 1.5rem;
  }
  
  .apartment-large {
    gap: 2rem;
  }
  
  .apartment-slideshow-container {
    min-width: 350px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-toggle-label {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-toggle:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .nav-menu li a {
    display: block;
    padding: 1rem 2rem;
  }
  
  /* Mobile hamburger animation */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Mobile sections */
  .section {
    padding: 1.5rem 1rem;
    margin: 1rem auto;
  }
  
  .start {
    min-height: 100vh;
    gap: 2rem;
  }
  
  .start-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .start-content h1 {
    font-size: 2.2rem;
  }
  
  .start-content p {
    font-size: 1.1rem;
  }
  
  .slideshow {
    height: 300px;
  }
  
  .slide-btn {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    padding: 0.8rem;
  }
  
  .slide-btn.left {
    left: 10px;
  }
  
  .slide-btn.right {
    right: 10px;
  }
  
  /* Mobile apartments */
  .apartments h2,
  .lage h2,
  .kontakt h2 {
    font-size: 2.2rem;
  }
  
  .apartment-large {
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
  }
  
  .apartment-slideshow-container {
    min-width: auto;
    width: 100%;
  }
  
  .apartment-slideshow {
    min-height: 300px;
  }
  
  .apartment-info {
    padding: 1rem;
  }
  
  .apartment-info h3 {
    font-size: 1.5rem;
  }
  
  /* Mobile lage */
  .lage-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .lage-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Mobile kontakt */
  .kontakt-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .kontakt-method {
    padding: 1.5rem;
  }
  
  .method-icon {
    font-size: 2.5rem;
    height: 60px;
  }
  
  .contact-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-width: auto;
    width: 100%;
  }
  
  /* Mobile impressum */
  .impressum-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Mobile footer */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  /* Mobile lightbox */
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8rem;
  }
  
  .start-content {
    padding: 1.5rem 1rem;
  }
  
  .start-content h1 {
    font-size: 1.8rem;
  }
  
  .big-btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
  }
  
  .slideshow {
    height: 250px;
  }
  
  .apartment-slideshow {
    min-height: 250px;
  }
  
  .slide-indicators {
    bottom: 10px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}
.logo img {
  height: 70px; /* Die Höhe des Bildes wird auf 50 Pixel gesetzt */
  width: auto; /* Die Breite wird automatisch proportional angepasst */
}