/* ==================================================
   Allgemeine Grundeinstellungen
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* ==================================================
     Header & Navigation
  ================================================== */
  header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ecf0f1;
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  
  nav {
    transition: all 0.3s ease;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: 0.3s ease;
  }
  
  nav a:hover,
  nav a[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.2);
    color: #f39c12;
  }
  
  /* ==================================================
     Hero-Bereich
  ================================================== */
  .hero {
    background: linear-gradient(rgba(52, 152, 219, 0.85), rgba(44, 62, 80, 0.85)), url('/api/placeholder/1200/600');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 1rem;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* ==================================================
     Buttons
  ================================================== */
  .btn {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
  }
  
  /* ==================================================
     Services
  ================================================== */
  .services {
    padding: 4rem 0;
  }
  
  .services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  /* ==================================================
     Immobilien-Karten
  ================================================== */
  .featured-properties,
  .property-list {
    padding: 4rem 0;
  }
  
  .featured-properties h2,
  .property-list h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
  }
  
  .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-5px);
  }
  
  .property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  .property-content {
    padding: 1.5rem;
  }
  
  .property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.5rem;
  }
  
  .property-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
  }
  
  .property-details {
    color: #7f8c8d;
  }
  
  /* ==================================================
     Team-Bereich
  ================================================== */
  .team {
    padding: 4rem 0;
  }
  
  .team h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s ease;
  }
  
  .team-member:hover {
    transform: translateY(-5px);
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #3498db;
    margin-bottom: 1rem;
  }
  
  .team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
  }
  
  .team-member .role {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  /* ==================================================
     Kontakt
  ================================================== */
.interesse, .kontakt-voll {
  padding: 4rem 0;
}

.interesse h2, .kontakt-voll legend {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.interesse-grid, .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.interesse-form label, .kontakt-voll label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.interesse-form input[type="checkbox"],
.kontakt-voll input[type="checkbox"],
.kontakt-voll input[type="radio"] {
  margin-right: 0.5rem;
}

.kontakt-voll .form-group {
  margin-bottom: 1.5rem;
}

.kontakt-voll input,
.kontakt-voll select,
.kontakt-voll textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.kontakt-voll textarea {
  resize: vertical;
  min-height: 100px;
}
/* ========================================
   Interesseformular Startseite
======================================== */

.interesse {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.interesse h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.interesse p {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.interesse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: left;
}

.interesse-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #2c3e50;
}

.interesse-form .form-group {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.interesse-form input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.interesse-form button {
  display: block;
  margin: 1rem auto 0;
}


  /* ==================================================
     Impressum
  ================================================== */
  .impressum {
    padding: 4rem 0;
  }
  
  .impressum h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .impressum-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
  }
  
  /* ==================================================
     Footer
  ================================================== */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #f39c12;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #f39c12;
  text-decoration: underline;
}

footer p {
  text-align: center;
  margin-top: 2rem;
  color: #bdc3c7;
}

.footer-grid p {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.footer-grid a[href^="mailto"] {
  word-break: break-all;
}


  
  /* ==================================================
     Responsive Design
  ================================================== */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      gap: 1rem;
    }
  
    .menu-toggle {
      display: block;
    }
  
    nav {
      display: none;
      width: 100%;
    }
  
    nav.active {
      display: block;
    }
  
    nav ul {
      flex-direction: column;
      background: rgba(0,0,0,0.2);
      border-radius: 5px;
      padding: 1rem;
    }
  
    .contact-content,
    .team-grid,
    .properties-grid,
    .services-grid {
      grid-template-columns: 1fr;
    }
  }
  /*--Properti immoscout-->*/
.slideshow-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.slide.active {
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

  /* ==================================================
     Objektgallerie Startseite
  ================================================== */

  .objekt-galerie {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.objekt-galerie h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.objekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.objekt-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.objekt-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.objekt-card h3 {
  margin: 1rem 0 0.5rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

.objekt-card p {
  color: #7f8c8d;
  font-size: 0.95rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.objekt-card .btn {
  width: fit-content;
  margin: 0 auto;
}

/* ==================================================
     Objektgallerie Partnerlogos
  ================================================== */

  .partner-logos {
  padding: 4rem 0;
  background: #ffffff;
  text-align: center;
}

.partner-logos h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logo-grid img {
  max-width: 140px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.logo-grid img:hover {
  opacity: 1;
}

/* ==================================================
Logo im Nav
  ================================================== */

.logo img {
  max-width: 160px;
  height: auto;
}

/* ==================================================
Slideshow Immobilien seite
  ================================================== */

.objekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.objekt-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 600px) {
  .slideshow-container {
    height: 200px;
  }
}

/* ==================================================
kommentare
  ================================================== */


.kommentare {
  margin: 4rem 0;
  padding: 2rem 1rem;
  background: #f8f9fa;
  border-top: 2px solid #ffa500;
  border-bottom: 2px solid #ffa500;
}

.kommentare h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.kommentar {
  background: white;
  border: 1px solid #ddd;
  border-left: 4px solid #ffa500;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
}

.kommentar strong {
  font-weight: 600;
  color: #333;
  display: block;
}

.kommentar small {
  color: #888;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.kommentar p {
  margin: 0.2rem 0;
  line-height: 1.4;
}

#commentForm {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#commentForm label {
  font-weight: 500;
}

#commentForm input,
#commentForm textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-width: 600px;
}

#commentForm textarea {
  resize: vertical;
  min-height: 80px;
}

#commentForm button {
  background-color: #ff9800;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
  width: fit-content;
}

#commentForm button:hover {
  background-color: #fb8c00;
}

#commentStatus {
  margin-top: 0.5rem;
  font-weight: 500;
  color: green;
}
