/* ============================================================
   D&K Immobilien GmbH — dk-muc.de
   1:1-Nachbau des Original-Designs (Vorlage: Screenshot-PDF)
   Icons: Google Material Symbols
   ============================================================ */

:root {
  --black: #131313;
  --black-deep: #0a0a0a;
  --gold: #ecc345;
  --gold-icon: #e5a414;
  --gold-pale: #fdf3ce;
  --green: #0ea72b;
  --yellow: #fef16f;
  --head: #54595f;
  --head-dark: #3f444b;
  --text: #7a7a7a;
  --line: #e8e8e8;
  --white: #ffffff;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* height:auto hält das Seitenverhältnis, wenn max-width greift (nie strecken) */
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1200px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); color: var(--head); line-height: 1.2; }

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

/* Material Symbols Grundeinstellung */
.msi {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--head);
}
.eyebrow.gold { color: var(--gold-icon); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--gold); }
.nav-links .msi { font-size: 1.1rem; }

/* Dropdown „Leistungen“ */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -0.8rem;
  min-width: 220px;
  background: var(--black);
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.55rem 1.2rem; font-size: 0.95rem; }
.dropdown-menu a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.04); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; }

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

.hero { background: var(--black-deep); }
.hero img.hero-bg { width: 100%; height: auto; }

/* Nur für Screenreader/SEO sichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.7rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn .msi { font-size: 1.15rem; }

.btn-green { background: var(--green); color: var(--white); border-radius: 4px; }
.btn-green:hover { background: #0c8f25; }

.btn-outline-dark {
  background: var(--white);
  color: #111;
  border: 2px solid #111;
  font-weight: 700;
  border-radius: 2px;
}
.btn-outline-dark:hover { background: #111; color: var(--white); }

/* CTA-Zeile (grüner + weißer Button nebeneinander) */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4rem;
  flex-wrap: wrap;
  text-align: center;
}
.cta-row .cta-col { display: flex; flex-direction: column; align-items: center; }
.cta-checks { display: flex; gap: 1rem; margin-top: 0.55rem; font-size: 0.78rem; color: var(--text); }
.cta-checks .msi { font-size: 0.95rem; color: #2e7d32; margin-right: 0.2rem; }
.cta-sub { margin-top: 0.55rem; font-size: 0.78rem; color: var(--text); display: inline-flex; align-items: center; gap: 0.35rem; }
.cta-sub .msi { font-size: 1rem; }

/* ---------- Versprechen ---------- */

.promise { text-align: center; padding: 5.5rem 0 4rem; }
.promise h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; margin-bottom: 1.6rem; }
.promise p {
  font-size: 1.15rem;
  color: #6d6d6d;
  max-width: 40em;
  margin-inline: auto;
  line-height: 1.6;
}
.gold-divider { width: 2px; height: 70px; background: var(--gold); margin: 3.5rem auto 0; }

/* ---------- Team ---------- */

.team { padding: 4rem 0 5.5rem; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.team-figure figcaption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--head-dark);
  font-weight: 600;
  text-align: center;
}
.team-figure img { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.team-content .eyebrow { margin-bottom: 0.8rem; font-size: 0.74rem; }
.team-content h2 {
  color: var(--head-dark);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.team-content p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 2.2rem; }

/* ---------- Statistik-Band ---------- */

.stats { background: #000; color: var(--white); padding: 2.6rem 0; }
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.stats-logo img { height: 86px; width: auto; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
}
.stat span { font-size: 1.05rem; color: #9b9b9b; }

/* ---------- Vorteile ---------- */

.vorteile { position: relative; text-align: center; padding: 6rem 0 4.5rem; overflow: hidden; }
.watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.035);
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: pre-line;
}
.vorteile .container { position: relative; }
.vorteile .eyebrow { margin-bottom: 0.9rem; font-size: 0.74rem; }
.vorteile h2 {
  color: var(--head-dark);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3.2rem;
}
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 2rem;
  margin-bottom: 3.4rem;
}
.vorteil .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
}
.vorteil .icon-circle .msi { font-size: 1.8rem; color: var(--gold-icon); }
.vorteil h3 { color: #222; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; font-family: var(--font-body); }
.vorteil p { font-size: 0.85rem; line-height: 1.75; max-width: 30em; margin-inline: auto; }

/* ---------- Aktuelles ---------- */

.aktuelles { padding: 4.5rem 0 5.5rem; }
.aktuelles h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2.6rem;
}
/* Slider für verkaufte/vermietete Objekte */
.slider { position: relative; max-width: 1000px; margin-inline: auto; }
.slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 26px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track .objekt-card {
  flex: 0 0 calc(33.333% - 1.334rem);
  scroll-snap-align: start;
}
.slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.slider-btn:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26); }
.slider-btn .msi { font-size: 1.5rem; }
.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }

.objekt-media { position: relative; }
.objekt-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.objekt-card { background: var(--white); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.objekt-card img { width: 100%; height: auto; }
.objekt-body { padding: 1.2rem 1.3rem 1.4rem; }
.objekt-ort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-icon);
  margin-bottom: 0.7rem;
}
.objekt-ort .msi { font-size: 1rem; }
.objekt-body h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: #333; margin-bottom: 0.8rem; }
.objekt-body ul { list-style: none; margin-bottom: 1.4rem; }
.objekt-body li {
  font-size: 0.92rem;
  padding: 0.28rem 0 0.28rem 1.3rem;
  position: relative;
  color: #555;
}
.objekt-body li::before {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  position: absolute;
  left: 0;
  top: 0.42rem;
  font-size: 0.95rem;
  color: #888;
}
.objekt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: #1d1d1d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 3px;
}
.objekt-status .msi { font-size: 1.05rem; }
.objekt-status.available { background: var(--green); color: var(--white); }
.objekt-actions { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.objekt-actions .btn-expose { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

/* ---------- Kundenstimmen ---------- */

.kunden { position: relative; padding: 5rem 0 4rem; overflow: hidden; }
.kunden-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.kunden-intro .eyebrow { margin-bottom: 0.9rem; font-size: 0.74rem; }
.kunden-intro h2 { color: var(--head-dark); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 1.2rem; }
.kunden-intro p { font-size: 1.15rem; line-height: 1.9; }
.kunden-cards { display: grid; gap: 1.8rem; }
.kunde-card {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 1.6rem 1.8rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #555;
}
.kunde-card.wide { grid-column: 1 / -1; }
.kunde-card footer { margin-top: 1.2rem; }
.kunde-card strong { display: block; color: #222; font-size: 0.92rem; }
.kunde-card .quelle { font-size: 0.78rem; color: #999; }
.kunde-card .stars { color: #f0a500; letter-spacing: 0.1em; }
.kunden-wide-row { display: grid; margin-bottom: 3.5rem; }

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

.beratung { position: relative; text-align: center; padding: 5.5rem 0 4rem; overflow: hidden; }
.beratung .container { position: relative; }
.beratung h2 {
  color: var(--gold-icon);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.beratung > .container > p {
  max-width: 52em;
  margin: 0 auto 2.8rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #666;
}
.contact-form { max-width: 900px; margin-inline: auto; display: grid; gap: 0.9rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #333;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact-form textarea { min-height: 110px; resize: vertical; }
/* Exposé-Formular */
.expose-main { max-width: 860px; }
.expose-main > .eyebrow { margin-bottom: 0.7rem; }
.expose-main > p { margin-bottom: 2.2rem; }
.expose-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--head-dark); margin-bottom: 0.3rem; }
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #333;
  background: var(--white);
}
.contact-form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.consent-box {
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  padding: 1.2rem 1.2rem 0.9rem;
  display: grid;
  gap: 0.9rem;
  margin-top: 0.4rem;
}
.consent-box legend { font-weight: 700; color: var(--head-dark); font-size: 0.95rem; padding: 0 0.4rem; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; font-weight: 400; color: #555; line-height: 1.6; cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin-top: 0.2rem; accent-color: var(--gold-icon); }
.consent a { color: var(--gold-icon); text-decoration: underline; }
.form-status { font-size: 0.95rem; line-height: 1.7; }
.form-status.ok { color: #1c7c31; }
.form-status.err { color: #b3261e; }
.expose-cta { text-align: center; margin-top: 2.6rem; }

.btn-send {
  justify-self: start;
  background: #ececec;
  color: #333;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.5rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}
.btn-send:hover { background: #ddd; }
.form-note { font-size: 0.75rem; color: #999; }
.form-note a { text-decoration: underline; }

/* ---------- Partner-Badges ---------- */

.partner { background: #f7f7f7; padding: 2.5rem 0 2.8rem; }
.partner-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner img { width: auto; }
.partner img.badge-is24 { max-height: 130px; }
.partner img.badge-ihk { max-height: 92px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: #cfcfcf; padding: 3.5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.footer-grid h3 { color: var(--white); font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid address { font-style: normal; line-height: 1.9; }

.footer-social { display: flex; justify-content: center; gap: 2.2rem; margin: 2.8rem 0; }
.footer-social a { color: #cfcfcf; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 26px; height: 26px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9b9b9b;
}
.footer-bottom .legal { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; }
.footer-bottom .legal a:hover { color: var(--gold); }
.footer-bottom p { margin-top: 0.4rem; }

/* ---------- Unterseiten ---------- */

.page-main { padding: 4rem 0 5rem; max-width: 780px; margin-inline: auto; width: 92%; }
.page-main h1 { margin-bottom: 2rem; font-weight: 700; color: var(--head-dark); }
.page-main h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; font-weight: 700; color: var(--head-dark); }
.page-main p, .page-main address { margin-bottom: 0.9rem; font-style: normal; }
.page-main a { color: var(--gold-icon); }
.page-main a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .watermark { display: none; }
  .team-grid, .kunden-grid { grid-template-columns: 1fr; }
  .vorteile-grid { grid-template-columns: 1fr 1fr; }
  .slider-track .objekt-card { flex-basis: calc(50% - 1rem); }
  .slider-track .objekt-card { flex-basis: 100%; }
  .slider-btn.prev { left: -8px; }
  .slider-btn.next { right: -8px; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 560px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.9rem; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    background: #1c1c1c;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
}

@media (max-width: 560px) {
  .vorteile-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { justify-content: center; }
  .slider-track .objekt-card { flex-basis: 100%; }
}
