
/* ============================
   Grundlayout & Reset
   ============================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ============================
   Sprachumschalter (DE | EN)
   ============================ */

.language-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 20;
}

.language-switch button {
  margin-left: 6px;
  padding: 6px 12px;
  border: none;
  background: #ffffff;
  color: #333;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.language-switch button:hover {
  background: #f0f0f0;
}

/* ============================
   Hero-Bereich
   ============================ */

.hero {
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  position: relative;
}

/* Overlay über dem Hero-Bild */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0, 0, 0, 0.55);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.overlay h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.1rem;
  margin-bottom: 22px;
  max-width: 600px;
}

/* Button im Hero */
.btn {
  background: #c9a24d;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #b08c3d;
}

/* ============================
   Hauptinhalt
   ============================ */

main {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

h2 {
  margin-bottom: 15px;
}

/* Zwei-Spalten-Layout */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Ausstattungsliste */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "✓";
  color: #2e7d32;
  position: absolute;
  left: 0;
}

/* ============================
   Apartments / Karten
   ============================ */

.cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  width: 100%;
  max-width: 480px;
}

.card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 6px;
}

/* ============================
   Google Maps
   ============================ */

iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ============================
   Footer
   ============================ */

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* ============================
   Responsive Anpassungen
   ============================ */

@media (max-width: 800px) {
  .two-columns {
    grid-template-columns: 1fr;
  }

  .overlay h1 {
    font-size: 2.2rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  .language-switch {
    top: 10px;
    right: 10px;
  }
}
