/* Montserrat liegt auf dem eigenen Server, nicht bei Google. Sonst baut der Browser
   jedes Besuchers eine Verbindung zu Google auf und uebertraegt seine IP-Adresse - das
   Portal vermeidet das ausdruecklich, und die Datenschutzerklaerung sagt es zu.
   Eine variable Datei deckt alle Schnitte ab (35 KB statt fuenfmal derselben Datei). */
@font-face {
  font-family: "Montserrat";
  src: url("assets/schrift/montserrat-variabel.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --navy: #0E1B2B;
  --navy-soft: #18253F;
  --gold: #C0A87A;
  --cream: #FBF7EF;
  --gray: #e6e6e6;
  --white: #ffffff;
  --ink: #0E1B2B;
  --muted: #667085;
  --shadow: 0 18px 50px rgba(14, 27, 43, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand img {
  width: 164px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--gold);
}

/* Gold traegt keine weisse Schrift: #C0A87A auf Weiss erreicht etwa 2:1 und ist nicht
   lesbar. Die Schaltflaeche ist deshalb Navy, Gold bleibt Rahmen und Akzent - dieselbe
   Regel wie im Portal. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(14, 27, 43, 0.96) 0%, rgba(14, 27, 43, 0.86) 42%, rgba(14, 27, 43, 0.28) 68%, rgba(14, 27, 43, 0.04) 100%),
    url("assets/bilder/wohnraum.jpg") center / cover;
  color: var(--white);
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 650px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1,
h2,
h3,
.display {
  overflow-wrap: break-word;
  hyphens: auto;
}

h1,
.display {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
}

h2 {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
  font-size: 20px;
}

.hero-lead {
  margin: 18px 0 26px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-lines {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--cream);
}

.intro {
  max-width: 790px;
}

.intro p,
.text-page p {
  color: var(--muted);
}

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

.card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--gray);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}

.card p,
.card li {
  color: var(--muted);
}

.feature-band {
  background: var(--navy);
  color: var(--white);
  padding: 34px 0;
}

.features {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 12px 0;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--gold);
  font-weight: 800;
}

.page-hero {
  padding: 92px 0;
  background: var(--navy);
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  padding: 34px;
  border: 1px solid var(--gray);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  padding: 12px 14px;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(201, 164, 99, 0.32);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.message-box {
  max-width: 760px;
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--gray);
  background: var(--white);
  box-shadow: var(--shadow);
}

.message-box.success {
  border-left: 4px solid var(--gold);
}

.message-box.error {
  border-left: 4px solid #b42318;
}

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

.placeholder {
  color: var(--muted);
  background: #f8f8f8;
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 58px 0 28px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(90deg, rgba(14, 27, 43, 0.95), rgba(14, 27, 43, 0.82)),
      url("assets/bilder/wohnraum.jpg") center / cover;
  }

  .grid,
  .features,
  .split,
  .footer-inner,
  .form-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 142px;
  }

  .nav-links {
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 70px 0;
  }
}



/* Nebenknopf neben der Hauptaktion - gleiche Groesse, ohne Fuellung. */
.button-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--navy);
}

.button-ghost:hover {
  background: var(--cream);
}

/* Sichtbarer Hinweis auf unvollstaendige Rechtstexte. Bewusst auffaellig: Ein stiller
   Platzhalter geht irgendwann unbemerkt live, und ein unvollstaendiges Impressum ist
   abmahnfaehig. Verschwindet, sobald die Angaben eingetragen sind. */
.hinweis {
  border: 1px solid #E8D4AB;
  background: #FBF7EF;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 28px;
}

.hinweis code,
.hinweis-klein code {
  background: rgba(14, 27, 43, 0.06);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
}

.hinweis-klein {
  font-size: 14px;
  color: var(--muted);
}

.text-page h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 38px;
}
