/* DP Immobilie – Stylesheet
   Farben, Abstände und Schriftgrößen sind hier oben zentral gesetzt.
   Wer die Farbwelt ändern will, ändert nur diesen ersten Block. */

:root {
  --anthrazit:      #16232B;
  --anthrazit-tief: #0E1920;
  --bronze:         #B08D57;
  --bronze-hell:    #C9A876;
  --creme:          #F7F4EF;
  --creme-warm:     #EFE9E0;
  --text:           #22303A;
  --text-leise:     #5C6B75;
  --text-hell:      #D7DDE1;
  --linie:          #DDD5C9;

  --schrift-titel: "Playfair Display", Georgia, serif;
  --schrift-text:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --breite:  1140px;
  --schmal:  760px;
  --radius:  4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.2em; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow { max-width: var(--schmal); }

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 16px;
  z-index: 100;
  background: var(--anthrazit);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--linie);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--schrift-titel);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--bronze);
}

.logo-text {
  font-family: var(--schrift-titel);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--anthrazit);
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-leise);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: var(--anthrazit);
  border-bottom-color: var(--bronze);
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-block;
  font-family: var(--schrift-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  padding: 15px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--bronze);
  color: #fff;
}
.btn-primary:hover { background: #9C7B48; }

.btn-ghost {
  background: transparent;
  color: var(--anthrazit);
  border-color: var(--linie);
}
.btn-ghost:hover { border-color: var(--anthrazit); }

.btn-header {
  padding: 11px 22px;
  background: var(--anthrazit);
  color: #fff;
  font-size: 0.9rem;
}
.btn-header:hover { background: var(--anthrazit-tief); }

.btn-wide { width: 100%; padding: 17px 32px; font-size: 1rem; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--anthrazit) 0%, var(--anthrazit-tief) 100%);
  color: #fff;
  padding: 118px 0 108px;
}

.hero-inner { max-width: 780px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-hell);
  margin-bottom: 1.4em;
}

.eyebrow.center { text-align: center; }

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  color: #fff;
  margin-bottom: 0.45em;
}

.lead {
  font-size: 1.16rem;
  line-height: 1.75;
  color: var(--text-hell);
  max-width: 620px;
  margin-bottom: 2.4em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Vertrauensleiste ---------- */

.trust {
  background: var(--creme-warm);
  padding: 62px 0;
  border-bottom: 1px solid var(--linie);
}

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

.trust-item h2 {
  font-family: var(--schrift-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.9em;
}

.trust-item p {
  font-size: 0.98rem;
  color: var(--text-leise);
  margin: 0;
}

/* ---------- Abschnitte ---------- */

.section { padding: 104px 0; }

.section-dark {
  background: var(--anthrazit);
  color: var(--text-hell);
}

.section-dark h2,
.section-dark h3 { color: #fff; }

.section-soft { background: var(--creme-warm); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 1.5em;
}

.section-title.center { margin-bottom: 1.8em; }

/* ---------- Leistungskarten ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.7em;
}

.card > p {
  color: var(--text-leise);
  font-size: 0.99rem;
}

.check {
  list-style: none;
  margin: auto 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--linie);
  font-size: 0.94rem;
}

.check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  color: var(--text-leise);
}

.check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}

/* ---------- Ablauf ---------- */

.steps {
  list-style: none;
  counter-reset: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.steps li { position: relative; padding-top: 8px; }

.step-num {
  display: block;
  font-family: var(--schrift-titel);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--bronze);
  opacity: 0.85;
  margin-bottom: 0.35em;
}

.steps h3 { font-size: 1.25rem; margin-bottom: 0.5em; }

.steps p {
  font-size: 0.96rem;
  color: var(--text-hell);
  opacity: 0.82;
  margin: 0;
}

/* ---------- Über mich ---------- */

.about {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 68px;
  align-items: start;
}

.about-text .section-title { margin-bottom: 0.9em; }

.about-text p { color: var(--text-leise); }

.about-text .btn { margin-top: 14px; }

.about-facts {
  background: #fff;
  border: 1px solid var(--linie);
  border-top: 3px solid var(--bronze);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.about-facts h3 {
  font-family: var(--schrift-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.6em;
}

.about-facts dl { margin: 0; }

.about-facts dt {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 0.3em;
}

.about-facts dd {
  margin: 0 0 1.5em;
  font-size: 0.99rem;
}

.about-facts dd:last-child { margin-bottom: 0; }

/* ---------- Häufige Fragen ---------- */

details {
  border-bottom: 1px solid var(--linie);
  padding: 4px 0;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--schrift-titel);
  font-size: 1.22rem;
  color: var(--anthrazit);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }

details p {
  margin: 0 0 24px;
  padding-right: 44px;
  color: var(--text-leise);
  font-size: 1rem;
}

/* ---------- Formular ---------- */

.contact-intro {
  color: var(--text-hell);
  opacity: 0.85;
  max-width: 560px;
  margin: -1.2em auto 3em;
}

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 46px 44px 40px;
  color: var(--text);
}

.field { margin-bottom: 24px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text);
}

.optional { color: var(--text-leise); font-weight: 300; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--schrift-text);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--creme);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea { resize: vertical; line-height: 1.65; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: #fff;
}

.field.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  margin-bottom: 30px;
}

.field.checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--bronze);
}

.field.checkbox label {
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-leise);
  margin: 0;
}

.field.checkbox a { color: var(--bronze); }

/* Spamschutz-Feld: für Menschen unsichtbar, für Bots sichtbar */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.84rem;
  color: var(--text-leise);
  text-align: center;
  margin: 16px 0 0;
}

.contact-direct {
  text-align: center;
  margin-top: 44px;
  color: var(--text-hell);
}

.contact-direct p { margin: 0 0 6px; }

.contact-direct a {
  color: var(--bronze-hell);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 118, 0.4);
}

.contact-direct a:hover { border-bottom-color: var(--bronze-hell); }

/* ---------- Bestätigungs- und Fehlerseite ---------- */

.status-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

.status-box { max-width: 620px; margin: 0 auto; text-align: center; }

.status-box h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.status-box p { color: var(--text-leise); font-size: 1.06rem; }

.status-box .btn { margin-top: 14px; }

/* ---------- Rechtstexte ---------- */

.legal { padding: 80px 0 100px; }

.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 1.2em; }

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--linie);
}

.legal h3 { font-size: 1.15rem; margin-top: 1.8em; }

.legal p, .legal li { color: var(--text-leise); font-size: 1rem; }

.legal ul { padding-left: 22px; }

.legal li { margin-bottom: 8px; }

.legal address {
  font-style: normal;
  background: #fff;
  border-left: 3px solid var(--bronze);
  padding: 22px 26px;
  margin: 0 0 1.6em;
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--anthrazit-tief);
  color: var(--text-hell);
  padding: 46px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer .logo-text { color: #fff; }

.footer-tag {
  font-size: 0.88rem;
  opacity: 0.6;
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
}

.site-footer nav a {
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.site-footer nav a:hover { opacity: 1; }

/* ---------- Kleinere Bildschirme ---------- */

@media (max-width: 940px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .cards      { grid-template-columns: 1fr; }
  .steps      { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .about      { grid-template-columns: 1fr; gap: 44px; }
  .nav        { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 82px 0 74px; }
  .section { padding: 72px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 32px 24px 30px; }
  .hero-actions .btn { width: 100%; }
  .btn-header { padding: 10px 16px; font-size: 0.84rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
