:root {
  --bg: #f8f7f3;
  --green: #687e6a;
  --dark: #303a32;
  --light: #e9eee7;
  --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
}

header {
  background: white;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--green);
  font-size: 22px;
  font-weight: bold;
}

nav a {
  margin-left: 22px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  min-height: 570px;
  background:
    linear-gradient(90deg,rgba(25,35,28,.65),rgba(25,35,28,.05)),
    url("bilder/wohnzimmer.jpg") center/cover;
  display: flex;
  align-items: center;
  padding: 8%;
  color: white;
}

.hero-content { max-width: 620px; }

.eyebrow {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  font-size: clamp(40px,6vw,68px);
  line-height: 1.15;
  margin: 20px 0;
}

.hero p { font-size: 18px; margin-bottom: 25px; }

.button {
  display: inline-block;
  padding: 14px 27px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

section { padding: 75px 8%; }

h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.center { text-align: center; }

.description {
  max-width: 760px;
  margin: auto;
  color: #6d756d;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 40px;
}

.fact {
  background: white;
  padding: 25px 10px;
  border-radius: 10px;
  text-align: center;
}

.fact strong {
  display: block;
  font-size: 24px;
  color: var(--green);
}

.fact span { color: #777; font-size: 14px; }

.gallery { background: white; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 9px;
}

.gallery .large { height: 518px; }

.gallery-side {
  display: grid;
  gap: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 35px;
}

.feature {
  background: white;
  border-radius: 10px;
  padding: 27px;
}

.feature .icon { font-size: 29px; }

.feature h3 { margin: 10px 0; }

.rent {
  background: var(--light);
  text-align: center;
}

.price {
  font-size: 46px;
  font-weight: bold;
  color: var(--green);
  margin: 15px 0;
}

.details {
  background: white;
}

.details-table {
  max-width: 800px;
  margin: 30px auto 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 5px;
  border-bottom: 1px solid #e8e8e8;
}

.detail-row span:last-child {
  text-align: right;
  font-weight: bold;
}

.legal {
  background: #f0f0e9;
}

.legal-content {
  max-width: 850px;
  margin: auto;
}

.legal-card {
  background: white;
  padding: 25px;
  border-radius: 9px;
  margin-top: 20px;
}

.legal-card h3 {
  color: var(--green);
  margin-bottom: 12px;
}

.placeholder {
  color: #a06d39;
  font-weight: bold;
}

.contact {
  background: white;
  text-align: center;
}

footer {
  background: var(--dark);
  color: white;
  padding: 30px 8%;
  text-align: center;
  font-size: 13px;
}

footer a {
  color: white;
  margin: 0 10px;
}

/* QUICK INFO */

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  padding: 25px 8%;
  gap: 20px;
  text-align: center;
  border-bottom: 1px solid #e9eee7;
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quick-info-item span {
  font-size: 25px;
}

.quick-info-item strong {
  color: var(--dark);
  font-size: 17px;
}

.quick-info-item small {
  color: #777;
  font-size: 13px;
}

@media(max-width:700px) {
  .quick-info {
    padding: 20px 5%;
    gap: 10px;
  }

  .quick-info-item strong {
    font-size: 14px;
  }

  .quick-info-item small {
    font-size: 11px;
  }
}


/* ==============================
   COMFORT / HIGHLIGHTS
============================== */

.comfort-section {
  background: #303a32;
  color: white;
  padding: 85px 8%;
}

.comfort-container {
  max-width: 1100px;
  margin: auto;
}

.comfort-heading {
  max-width: 650px;
  margin-bottom: 45px;
}

.comfort-eyebrow {
  color: #b8cbb8;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: bold;
}

.comfort-heading h2 {
  color: white;
  font-size: clamp(32px, 5vw, 46px);
  margin: 18px 0;
}

.comfort-heading p {
  color: #d4ddd3;
  font-size: 16px;
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.comfort-item {
  background: #3b493d;
  padding: 27px;
  border-radius: 10px;
  transition: transform .25s ease,
              background .25s ease;
}

.comfort-item:hover {
  transform: translateY(-5px);
  background: #465747;
}

.comfort-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.comfort-item h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

.comfort-item p {
  color: #c9d2c8;
  font-size: 14px;
  line-height: 1.6;
}

.comfort-footer {
  border-top: 1px solid #536354;
  margin-top: 40px;
  padding-top: 22px;
  color: #dce6da;
  font-size: 13px;
  letter-spacing: 1px;
}

@media(max-width:700px) {

  .comfort-section {
    padding: 60px 6%;
  }

  .comfort-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .comfort-item {
    padding: 19px;
  }

  .comfort-item h3 {
    font-size: 15px;
  }

  .comfort-item p {
    font-size: 13px;
  }

}

@media(max-width:400px) {

  .comfort-grid {
    grid-template-columns: 1fr;
  }

}


/* ==============================
   GRUNDRISS
============================== */

.floorplan {
  background: white;
}

.floorplan-content {
  max-width: 900px;
  margin: 35px auto 0;
  background: var(--bg);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.floorplan-image {
  width: 100%;
  max-width: 750px;
  max-height: 650px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: auto;
  background: white;
}

.floorplan-caption {
  margin-top: 18px;
  color: #777;
  font-size: 14px;
}

/* ==============================
   FAQ
============================== */

.faq {
  background: var(--bg);
}

.faq-content {
  max-width: 850px;
  margin: 35px auto 0;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 20px 23px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 24px;
  font-weight: normal;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  color: #6d756d;
  margin-top: 15px;
  font-size: 15px;
}

/* ==============================
   PDF EXPOSÉ
============================== */

.expose {
  background: var(--light);
  text-align: center;
}

.expose-content {
  max-width: 650px;
  margin: auto;
}

.expose-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.expose p {
  color: #6d756d;
  margin-bottom: 25px;
}

.expose-button {
  display: inline-block;
  padding: 14px 27px;
  background: var(--dark);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.expose-button:hover {
  background: var(--green);
}

/* ==============================
   BILD-PLATZHALTER
============================== */

.photo-placeholder {
  min-height: 220px;
  background: #e9eee7;
  border: 2px dashed #aab7a8;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: var(--dark);
}

.photo-placeholder span {
  font-size: 38px;
  margin-bottom: 10px;
}

.photo-placeholder small {
  color: #777;
}

/* ==============================
   MOBILE
============================== */

@media(max-width:700px) {
  .floorplan-content {
    padding: 12px;
  }

  .faq-item {
    padding: 17px;
  }

  .expose {
    padding: 55px 6%;
  }
}

/* LAGE */

.location {
  background: var(--bg);
}

.location-intro {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
  color: #6d756d;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.location-card {
  background: white;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,.035);
}

.location-card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.location-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 19px;
}

.location-card p {
  color: #6d756d;
  font-size: 15px;
}

.location-highlight {
  background: var(--dark);
  color: white;
  padding: 45px 30px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: center;
}

.location-highlight h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.location-highlight p {
  color: #e1e8e0;
  max-width: 650px;
  margin: auto;
}

.location-map {
  margin-top: 40px;
  background: white;
  padding: 12px;
  border-radius: 12px;
}

.location-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
}

.location-map-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: bold;
  text-decoration: none;
}


/* ENTFERNUNGSÜBERSICHT */

.distance-section {
  max-width: 850px;
  margin: 65px auto 0;
}

.distance-section > p {
  color: #6d756d;
  margin-bottom: 25px;
}

.distance-list {
  background: white;
  border-radius: 10px;
  padding: 10px 25px;
  margin-top: 30px;
}

.distance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #e8e8e8;
}

.distance-row:last-child {
  border-bottom: none;
}

.distance-row strong {
  color: var(--green);
  white-space: nowrap;
}

.distance-note {
  font-size: 12px;
  color: #858585;
  margin-top: 15px;
  text-align: center;
}

@media(max-width:700px) {
  .distance-list {
    padding: 10px 16px;
  }

  .distance-row {
    font-size: 14px;
  }
}

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

  .location-card {
    padding: 23px;
  }

  .location-highlight {
    padding: 35px 20px;
  }

  .location-map iframe {
    height: 300px;
  }
}

@media(max-width:700px) {
  header { padding: 18px 5%; }
  nav a { margin-left: 9px; font-size: 12px; }
  .hero { min-height: 470px; padding: 7%; }
  section { padding: 55px 6%; }
  .facts { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery .large { height: 300px; }
  .gallery-side { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 160px; }
  .features { grid-template-columns: 1fr; }
  .detail-row { font-size: 14px; }
}

