/*
Theme Name: Haus Toplücht Schnellstart
Theme URI: https://www.juist-topluecht.de
Author: Haus Toplücht
Description: Ruhiges, responsives WordPress-Theme für Haus Toplücht auf Juist.
Version: 1.0.0
Text Domain: haus-topluecht
*/

:root {
  --sand: #f3efe7;
  --sand-light: #faf8f3;
  --ink: #173238;
  --sea: #47777c;
  --sea-dark: #28565c;
  --gold: #b9905a;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand-light);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, 90%); margin: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  width: 100%;
  color: white;
  padding: 24px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.brand {
  color: white;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: .04em;
}
.navigation { display: flex; flex-wrap: wrap; gap: 24px; }
.navigation a {
  color: white;
  text-decoration: none;
  font-size: .95rem;
}
.navigation a:hover { opacity: .75; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.4), transparent 25%),
    linear-gradient(180deg, #6f9da3 0%, #9ab7b5 48%, #d7c7a6 49%, #b89d70 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  height: 180px;
  bottom: -80px;
  background: var(--sand-light);
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
}
.hero::after {
  bottom: -115px;
  opacity: .65;
  transform: rotate(3deg);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 130px 20px 170px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .78rem;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  margin: 20px 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}
.hero-lead {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}
.button {
  display: inline-block;
  padding: 14px 27px;
  border-radius: 2px;
  background: var(--sea-dark);
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: .03em;
}
.button:hover { background: var(--ink); }
.button-light {
  background: white;
  color: var(--sea-dark);
}

.section { padding: 105px 0; }
.section-sand { background: var(--sand); }
.section-sea { background: var(--sea-dark); color: white; }
.intro {
  max-width: 800px;
  margin: auto;
  text-align: center;
}
.section-title {
  margin: 10px 0 25px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.muted { color: #607276; }

.apartments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 55px;
}
.apartment {
  background: white;
  padding: 38px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 40px rgba(25,51,56,.08);
}
.apartment h3 { margin: 0 0 10px; font-size: 2rem; }
.apartment-label {
  color: var(--sea);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
}
.facts {
  padding: 0;
  margin: 25px 0;
  list-style: none;
  border-top: 1px solid #ddd8cf;
}
.facts li {
  padding: 9px 0;
  border-bottom: 1px solid #ddd8cf;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.horizon-art {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #9dbbbd 0 52%, #719397 52% 58%, #d8c8aa 58%);
}
.horizon-art::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -95px;
  height: 230px;
  border-radius: 50% 50% 0 0;
  background: #b99d70;
}
.contact-box {
  max-width: 850px;
  margin: auto;
  text-align: center;
}
.contact-details {
  margin: 35px 0;
  font-size: 1.08rem;
}
.contact-details a { color: white; }

.site-footer {
  background: #122a2f;
  color: rgba(255,255,255,.76);
  padding: 35px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: white; }

.content-page {
  width: min(850px, 90%);
  margin: 60px auto;
}
.content-page h1 { color: var(--ink); font-size: 3rem; }

@media (max-width: 850px) {
  .site-header { position: relative; background: var(--sea-dark); }
  .header-inner { flex-direction: column; }
  .navigation { justify-content: center; gap: 13px; }
  .hero { min-height: 590px; }
  .hero-content { padding: 80px 15px 140px; }
  .apartments, .two-columns { grid-template-columns: 1fr; }
  .two-columns { gap: 40px; }
  .section { padding: 75px 0; }
}
