/* ============================================================
   D-HOMES — additions on top of styles.css
   (über uns, ablauf flow, service details, contact form)
   ============================================================ */

/* tinted section variant */
.nav a { white-space: nowrap; }
.sec-tint { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- ÜBER UNS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo image-slot {
  width: 100%;
  height: clamp(360px, 42vw, 540px);
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  width: 100%;
  height: clamp(360px, 42vw, 540px);
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  left: -22px;
  bottom: 28px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  max-width: 230px;
}
.about-badge .ab-num { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.about-badge .ab-tx { font-size: 13px; color: var(--muted); margin-top: 3px; }

.about-copy h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 18px; }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: clamp(15.5px, 1.2vw, 18px); }
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.ast { flex: 1; min-width: 120px; }
.ast-n { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; color: var(--green-700); line-height: 1; }
.ast-l { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- ABLAUF (5-step flow) ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 22px 26px;
}
.flow-step .fs-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.flow-step:nth-child(3) .fs-num { background: var(--lime); color: var(--green-950); }
.flow-step h3 { font-size: 18px; }
.flow-step p { margin-top: 9px; color: var(--muted); font-size: 14px; }

/* details strip */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--green-800);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 28px;
}
.detail .d-ic {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(255,255,255,.1);
  color: var(--lime);
  display: grid; place-items: center;
}
.detail .d-ic svg { width: 24px; height: 24px; }
.detail .d-lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.detail .d-val { font-size: 15px; margin-top: 7px; color: rgba(255,255,255,.8); line-height: 1.55; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
.contact-h { font-size: clamp(26px, 3vw, 40px); margin-top: 18px; max-width: 16ch; }
.contact-rows { margin-top: 34px; display: flex; flex-direction: column; }
.crow { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.crow:first-child { padding-top: 0; }
.crow:last-child { border-bottom: none; }
.crow .ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid; place-items: center;
}
.crow .ico svg { width: 22px; height: 22px; }
.crow .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.crow .val { font-size: 16.5px; margin-top: 5px; line-height: 1.5; }
.crow .val a:hover { color: var(--green-700); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.form h3 { font-size: clamp(22px, 2vw, 27px); }
.form .fl { font-size: 15px; color: var(--muted); margin-top: 6px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15.5px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 3px var(--green-50);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-ok {
  display: none;
  background: var(--green-50);
  color: var(--green-700);
  padding: 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
}
.form-ok.show { display: block; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(4), .flow-step:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: 1fr; }
  .quotes .quote[style*="span 2"] { grid-column: auto !important; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .about-badge { left: 0; }
  .about-stats { gap: 18px 14px; }
}
