/* ----- First Section START---------------------------------------------------- */
main {
  margin: 0 auto;
  padding: 0;
  max-width: 1800px;
  overflow-x: hidden;
}


.hero {
  background: var(--bg-linear-grad);
  margin: 0.9em;
  align-items: center;
  padding: 1rem 0.6rem 1.6rem 0.6rem;
  border-radius: 1rem;
  /* border: red 2px solid; */
}


.first-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.5rem;
}



.hero-text p {
  font-size: 1.3rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}


.values h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  color: var(--accent);
}


.pict-prop {
  width: 100%;
  display: block;
  border-radius: 30px;
  background-size: cover;
  /* background-position: right; */
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px -10px rgba(44, 97, 52, 0.3);
}



/* ------------------------------------------------------------- */
/*--- Abschnitt: Ein neues Zuhause für alle----------------------*/
/* ------------------------------------------------------------- */
.intro-section {
  padding: 6rem 0;
  margin: 50px 20px;
  /* border: red 2px solid; */
}

.hero-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  /* border: rgb(79, 46, 199) 2px solid; */
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  margin-bottom: 2.5rem;
  width: fit-content;
  animation: fadeIn 0.6s ease 0.3s both;
  border: var(--green) 2px solid;
  border-radius: 10px;
}

.house-pict {
  border-radius: 1.5rem;
  width: 100%;
  /* padding: 1rem; */
  box-shadow: 0 20px 50px -10px rgba(44, 97, 52, 0.3);
}


.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0.8rem 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.7s ease 0.9s both;
}


.stat-item {
  text-align: center;
}


.fact-no {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #1e3b2f;
  margin: 0.5rem 0 0.2rem;
  animation: slideUp 0.7s ease 0.4s both;
}

/* Q1 hochgestellt – line-height:0 verhindert, dass die Zeilenhöhe steigt */
.fact-no sup.fact-sup {
  font-size: 0.52em;
  vertical-align: 0.65em;
  line-height: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}


.stat-lbl {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}


/* right side START */
.hero-right {
  position: relative;
}

.hero-right h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  animation: slideUp 0.7s ease 0.4s both;
}

.hero-right h1 strong {
  font-weight: 600;
  color: var(--green);
}

.hero-desc {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 420px;
  animation: slideUp 0.7s ease 0.55s both;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeIn 0.7s ease 0.7s both;
  align-content: center;
  justify-content: flex-start;
  /* border: red 2px solid; */
}



.section {
  margin: 15px 10px;
}


.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}



.btn-primary {
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.2s;
}


.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--green);
  transition: background-color 0.2s, transform 0.2s;
}


.btn-ghost:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.btn-ghost--download {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost--download i {
  font-size: 0.95rem;
}

.btn-ghost--download:hover {
  background: #f0f8ec;
}

/*-----------  HERO Abschnitt 2 END -----------------------------------------------*/




@keyframes slowZoom {
  to {
    transform: scale(1);
  }
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}



/* ------------------------------------------- */
/* -------- WOHNUNGEN  ----------------------- */
/* ------------------------------------------- */
.wohnungen-section {
  padding: 2rem 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.8rem;
  /* border: red 2px solid; */
}

.wrap p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 680px;
}


.wohnungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}


.wohn-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s;
  border: 1px solid #ffffff50;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.wohn-card .icon {
  font-size: 2.5rem;
  color: #4f7b6e;
  margin-bottom: 1.2rem;
}


.wohn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 30px -12px rgba(50, 80, 70, 0.15);
}

.wohn-card .icon {
  font-size: 2.5rem;
  color: #4f7b6e;
  margin-bottom: 1.2rem;
}

.wohn-card h3 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.wohn-card .sub {
  color: #547a6b;
  font-weight: 500;
  margin-bottom: 1rem;
  border-bottom: 1px dashed #cbdcd0;
  padding-bottom: 0.8rem;
}


.wohnung-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wohnung-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.wohnung-icon {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.wohnung-zimmer {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.wohnung-typ {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.wohnung-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.wohnung-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text);
}

.wohnung-features li .feat-icon {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--green);
  flex-shrink: 0;
}

.wohnung-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  align-self: flex-start;
}


.wohn-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.wohn-floor-icon {
  font-size: 1.8rem;
  color: #4f7b6e;
  flex-shrink: 0;
}

.wohn-card-meta .wohnung-zimmer {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c4a3e;
  margin-bottom: 0;
}

.wohn-card-meta .wohnung-typ {
  font-size: 0.82rem;
  color: #6b9180;
  font-weight: 400;
  margin-bottom: 0;
}

.feat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  flex: 1;
}

.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: #f0f6f3;
  color: #3a5a4e;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid #d4e8df;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.feat-chip i {
  font-size: 0.75rem;
  color: #4f7b6e;
}

.feat-chip:hover {
  background: #e2f0eb;
  transform: translateY(-1px);
}

.feat-chip--special {
  background: #eaf4f0;
  border-color: #4f7b6e;
  color: #2c4a3e;
  font-weight: 600;
}

.feat-chip--special i {
  color: #3a7060;
}


.feat-chips-special {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.5rem;
  margin-top: 0.3rem;
  border-top: 1px dashed #cce0d8;
}


.wohnung-badge {
  margin-top: auto;
}

/* ---- WOHNUNGEN END ----------------------*/





/* ------- HIGHLIGHTS STARTS --------------------------------*/
.detail-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4em 2rem;
  /* border: rgb(218, 189, 25) 2px solid; */
  /* border: red 2px solid; */
}


.highlights-section {
  padding: 4rem 0;
  background: var(--bg);
}

.highlights-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--green);
}

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.highlight-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

.highlight-item+.highlight-item {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-left: 2rem;
}

/* ---------- highlights / ie. barrierefrei, energie, liebe END ---------- */






/* ---------- highlights / ie. barrierefrei, energie, liebe START ---------- */
.highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: white;
  border-radius: 2.5rem;
  padding: 2.8rem 2.5rem;
  box-shadow: 0 8px 22px #e2e9e5;
}

.highlight-item {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.highlight-item i {
  font-size: 2.8rem;
  background: #e1f0e8;
  padding: 1rem;
  border-radius: 60%;
  color: #2b5b4a;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item strong {
  font-size: 1.3rem;
}

/* ---------- highlights / ie. barrierefrei, energie, liebe END ---------- */





.section-title {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}


.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: #4f7b6e;
  border-radius: 4px;
}





/*------------------- LAGE GRID 2 START ------------------------ */
.lage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  /* background: #2c4a3e0c; */
  /* border-radius: 2.5rem; */
  /* padding: 1.5rem 2.5rem 3.5rem 2.5rem; */
  padding: 0.5rem 0 0.5rem 0;
  /* border: rgb(14, 68, 82) 2px solid; */
}


.lage-card {
  flex: 1 1 200px;
  background: white;
  border-radius: 1.8rem;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}


.lage-card i {
  font-size: 2.5rem;
  background: #ddece4;
  padding: 1rem;
  border-radius: 50%;
  color: #235347;
}


.distance {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3b2f;
  margin: 0.5rem 0 0.2rem;
}


.label {
  color: #3b5c50;
  font-weight: 500;
}


.fancy-font {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  /* clamp(3rem, 4vw, 6rem) */
  line-height: 1;
  color: var(--accent);
  ;
}

/*------------ LAGE GRID 2 END ------------------------- */







/* ------------ Tiefgarage ------------------------------*/
.garage-spot {
  background: #2c4a3e;
  color: white;
  border-radius: 1.5rem;
  padding: 0.8rem 1rem;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.garage-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.garage-text i {
  font-size: 2rem;
}


.garage-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffd966;
  color: #1e2b37;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px;
}


.garage-badge i {
  margin-right: 1rem;
}

/* ------------ tiefgarage END ------------------------------*/





/* --------- footer / kontakt Start ------------------------------*/
.footer {
  background: #1e2b2b;
  color: #eef5f2;
  /* border-radius: 3rem 3rem 3rem 3rem; */
  padding: 1.5rem 2rem 1.5rem 2rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer .nova {
  font-size: 1.8rem;
  font-weight: 600;
}

.nova span {
  font-size: 0.8rem;
}

.footer i {
  color: #a6c7b8;
  margin-right: 0.4rem;
}

/* -----  footer / kontakt END ------------------------------*/


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}






/* ---------------------------------------------------- */
/* Mobile: 360px – 700px */
/* ---------------------------------------------------- */
@media (min-width: 360px) and (max-width: 700px) {
  .garage-spot {
    flex-direction: column;
    align-items: center;
  }

  /* prevent badge from stretching full width */
  .garage-badge {
    align-self: center;
    padding: 0 1rem;    
  }
}



/* ---------------------------------------------------- */
/* Desktop: > 700px */
/* ---------------------------------------------------- */
@media (min-width: 701px) {

  .garage-spot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .garage-text{
    font-size: 1.5rem;
    margin-left: 20px;
  }

  .garage-badge {
    margin-top: 0;
    padding: 0.3rem 1rem;
    margin-right: 20px;
    white-space: nowrap;
    border-radius: 10px;
  }

  .garage-badge i {
    font-size: 1.5rem;
  }
}





/* ---------------------------------------------------- */
/* Desktop: min-width: 992px */
/* ---------------------------------------------------- */
@media (min-width: 992px) {

  .hero {
    margin: 3em 3em 3em 3em;
    padding: 3rem 3rem;
    border-radius: 3rem 3rem 3rem 3rem;   
  }

  .first-container {
    display: flex;
    align-items: center;
    justify-content: center;    
  }

  /* takes up remaining space */
  .hero-text {
    flex: 1;
    margin: 0 3rem;
  }

  .hero-text p {
    margin-bottom: 2rem;
  }


  /* image column — adjust % to taste */
  .first-container>div:last-child {
    flex: 0 0 50%;    
  }





  /* -------------- Ein neuses Zuhause für alle START------------------ */
  .hero-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .house-pict {
    padding: 1rem;
    border-radius: 2rem;
  }

  .hero-stats {
    justify-content: space-between;
    margin: 0 50px;
  }

  /* ---------------Abschnitt 2 END --------------- */


}


/* ---------------------------------------------------- */
/* Zwischenbereich: 992px – 1107px                      */
/* Stats-Margin entfernen → space-between nutzt volle   */
/* Breite und verteilt die Zahlen weiter auseinander    */
/* ---------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1107px) {

  .hero-stats {
    margin: 0;
  }

}


/* ---------------------------------------------------- */
/* Einzelspalte: max-width 991px                        */
/* Abstände im hero-right reduzieren                    */
/* ---------------------------------------------------- */
@media (max-width: 991px) {

  .hero-wrap {
    gap: 24px;
  }

  .hero-right {
    padding-top: 2rem;
  }

  .hero-desc {
    margin-top: 0.8rem;
  }

  .hero-actions {
    margin-top: 1rem;
  }

}


/* ---------------------------------------------------- */
/* Mobile max 600px  (z.B. Samsung S23 ~360px)          */
/* Muss NACH max-width:991px stehen, damit es gewinnt   */
/* ---------------------------------------------------- */
@media (max-width: 600px) {

  /* Breite & Abstand des Abschnitts "Ein neues Zuhause" */
  .intro-section {
    padding: 2rem 0;
    margin: 16px 12px;
    width: calc(100% - 24px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-wrap {
    gap: 16px;
  }

  .hero-right {
    padding-top: 0.75rem;
  }

  /* Bilder auf 360px begrenzen */
  .pict-prop {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .house-pict {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 1rem;
  }

  .hero-stats {
    padding-top: 0.8rem;
  }

  .fact-no {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .stat-lbl {
    font-size: 0.82rem;
  }

  .hero-actions {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .btn-ghost {
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
  }

  .parking-notice {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
}

/* ----- Parking Notice -------------------------------------------------------- */
.parking-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1.1rem 1.5rem;
  background: #f0f5ee;
  border-left: 4px solid #7aaa50;
  border-radius: 0.75rem;
  color: #3a5a3e;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.6;
}

.parking-notice-icon {
  color: #2D6A4F;
  font-size: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.parking-notice-text strong {
  color: #2D6A4F;
}