* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: #23372f;
  background: #fff;
  font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

a {
  color: #256044
}

img {
  display: block;
  max-width: 100%
}

.wrap {
  max-width: 1160px;
  margin: auto;
  padding-left: 26px;
  padding-right: 26px
}

.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 5
}

.skip:focus {
  top: 0
}

.top {
  background: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 12px #183c2c13
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px
}

.brand {
  text-decoration: none;
  color: #21392f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3
}

.brand strong {
  color: #286947
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #63736b;
  letter-spacing: .04em
}

.nav nav {
  display: flex;
  gap: 27px;
  align-items: center
}

.nav nav a {
  text-decoration: none;
  color: #253b30;
  font-size: 14px;
  font-weight: 600
}

.nav nav a:hover,
.textlink:hover {
  text-decoration: underline
}

.nav nav .nav-cta {
  background: #275f44;
  color: #fff;
  padding: 10px 17px;
  border-radius: 5px
}

.hero {
  min-height: 535px;
  position: relative;
  background: #254331;
  color: #fff;
  display: flex;
  align-items: center
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10271de8 0%, #183727c9 44%, #173e271f 100%), url('../images/Haus/Au-Haus-mit-DG-und-Einfahrt.jpg') center 45%/cover
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 75px;
  padding-bottom: 85px
}

.eyebrow,
.overline {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800
}

.eyebrow {
  color: #c6e0bd
}

.overline {
  color: #47765a;
  margin: 0 0 12px
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  letter-spacing: -.025em
}

h1 {
  font-size: clamp(38px, 5.3vw, 69px);
  font-weight: 500;
  max-width: 790px;
  margin: 16px 0 20px
}

h1 em {
  color: #d4e7c6;
  font-weight: 400
}

h2 {
  font-size: clamp(31px, 3.5vw, 45px);
  font-weight: 500;
  margin: 0 0 23px
}

h3 {
  font-size: 30px;
  font-weight: 500;
  margin: 12px 0 16px
}

.hero p {
  max-width: 650px;
  font-size: 19px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px
}

.button {
  display: inline-block;
  background: #286647;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 23px;
  border-radius: 5px;
  border: 1px solid #286647
}

.button:hover {
  background: #1b4c34
}

.button-light {
  background: #ffffff15;
  border-color: #ffffffa8
}

.intro {
  text-align: center;
  padding-top: 78px;
  padding-bottom: 82px;
  max-width: 830px
}

.intro p:last-child {
  font-size: 18px
}

.section {
  padding-top: 82px;
  padding-bottom: 88px
}

.tint {
  background: #f5f7f2
}

.apartments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 32px
}

.apartment {
  background: #fff;
  border: 1px solid #e5e9e2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px #173a2310
}

.apartment>img {
  width: 100%;
  height: 310px;
  object-fit: cover
}

.apartment-body {
  padding: 27px 28px 30px
}

.meta {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #47765a;
  font-weight: 800
}

.meta span {
  padding: 0 6px;
  color: #a7b1a7
}

.apartment p {
  margin: 0 0 20px
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 23px 0
}

.thumbs img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 4px
}

.features {
  font-size: 14px;
  color: #576a5e
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid #e5e9e2;
  padding-top: 20px;
  margin-top: 16px
}

.price strong {
  font-size: 26px;
  color: #285f44
}

.price span {
  font-size: 13px;
  color: #5d6d62
}

details {
  margin: 18px 0
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #285f44
}

details p {
  font-size: 14px;
  margin-top: 15px !important
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 14px
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #e3e8e1;
  padding: 8px 5px
}

.textlink {
  font-weight: 700;
  text-underline-offset: 4px
}

.included {
  text-align: center;
  margin: 32px auto 0;
  max-width: 860px;
  color: #506257
}

.personal,
.location {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px
}

.personal img,
.location img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 8px
}

.personal p,
.location p {
  max-width: 640px
}

.location address {
  font-style: normal;
  margin: 24px 0
}

.contact {
  max-width: 850px;
  text-align: center
}

.contact>p {
  max-width: 720px;
  margin: 15px auto 24px
}

.fallback {
  font-size: 15px
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin: 38px 0
}

.contact-grid div {
  display: flex;
  flex-direction: column
}

.contact-grid a {
  text-decoration: none
}

.note {
  font-size: 15px;
  color: #627168
}

footer {
  background: #1d3329;
  color: #e5ede6;
  padding: 33px 0
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center
}

.foot p {
  font-size: 13px;
  margin: 3px 0
}

.foot>div:last-child {
  display: flex;
  gap: 22px;
  flex-wrap: wrap
}

.foot a {
  color: #e5ede6;
  font-size: 14px
}

.legal {
  max-width: 850px;
  padding-top: 65px;
  padding-bottom: 100px
}

.legal h1 {
  color: #243a2f;
  font-size: 43px
}

.legal h2 {
  font-size: 27px;
  margin-top: 30px
}

.legal .warning {
  background: #fff3d7;
  border-left: 4px solid #bc8427;
  padding: 15px 18px
}

.legal a {
  overflow-wrap: anywhere
}

@media(max-width:760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 15px
  }

  .nav nav {
    flex-wrap: wrap;
    gap: 12px 18px
  }

  .hero {
    min-height: 470px
  }

  .hero-photo {
    background: linear-gradient(90deg, #10271de5, #183727aa), url('../images/Haus/Au-Haus-mit-DG-und-Einfahrt.jpg') center/cover
  }

  .hero-content {
    padding-top: 65px;
    padding-bottom: 65px
  }

  .apartments,
  .personal,
  .location {
    grid-template-columns: 1fr
  }

  .personal,
  .location {
    gap: 28px
  }

  .personal img,
  .location img {
    height: 270px
  }

  .section {
    padding-top: 58px;
    padding-bottom: 65px
  }

  .apartment>img {
    height: 255px
  }

  .apartment-body {
    padding: 23px
  }

  .thumbs img {
    height: 85px
  }

  .price {
    display: block
  }

  .price span {
    display: block
  }

  .contact-grid {
    gap: 20px;
    flex-direction: column
  }

  .foot {
    align-items: flex-start;
    flex-direction: column
  }
}
