/* WILMS Real Estate – /haus-gesucht-koeln/
   Eigenständiges Design-System für diese Seite (Vorlage: Dressel Immobilien
   "Haus gesucht Nürnberg" – Layout/Typografie 1:1 nachgebaut, Farben auf
   WILMS Dunkelgrün/Gold umgestellt). Lädt nach style.css/style-test.css/
   theme.css (nutzt deren --navy/--gold/--beige/--ink/--r-Variablen),
   überschreibt aber alle Sektionen dieser Seite komplett eigenständig. */

.pg-haus-gesucht-koeln { font-family: 'Plus Jakarta Sans', sans-serif; }
.pg-haus-gesucht-koeln h1,
.pg-haus-gesucht-koeln h2,
.pg-haus-gesucht-koeln h3 { font-family: 'Neutra Display Bold Alt', sans-serif; font-weight: 700; }

/* ── Mini-Header ────────────────────────────── */
.hg-topbar { max-width: 1180px; margin: 0 auto; padding: 22px 24px 0; }
.hg-topbar img { height: 34px; width: auto; display: block; }

/* ── Hero: echtes Köln-Skyline-Foto als Hintergrund (wie /wertermittlung/),
   mit hellem Verlauf-Overlay für Lesbarkeit statt der alten blassen
   Graustufen-Wasserzeichen-Version. ── */
.hg-hero {
  position: relative;
  overflow: hidden;
  background: url('../images/hero-koeln-altstadt.jpg') center/cover no-repeat;
  padding: 40px 24px 72px;
}
.hg-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.97) 100%);
}
.hg-hero > * { position: relative; z-index: 1; }

.hg-hero-head { max-width: 960px; margin: 0 auto 48px; text-align: center; }
.hg-hero-head h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.hg-hero-intro { font-size: 1.05rem; color: #3a3e38; white-space: nowrap; }
.hg-hero-intro .hg-underline { text-decoration: underline; text-decoration-color: #1c1f1a; text-underline-offset: 3px; }

.hg-hero-grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.hg-hero-media { border-radius: 0; overflow: hidden; box-shadow: 0 14px 40px rgba(25,41,28,.18); aspect-ratio: 4/3; }
.hg-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hg-hero-crit-lead { font-size: 1.05rem; color: var(--navy); margin-bottom: 20px; line-height: 1.5; }
.hg-criteria { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.hg-criterion { display: flex; align-items: flex-start; gap: 12px; }
.hg-criterion svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.hg-criterion span { font-size: .98rem; color: #2b2e2a; line-height: 1.4; }
.hg-hero-foot { font-size: .96rem; color: #3a3e38; line-height: 1.6; }

.hg-cta-wrap { text-align: center; margin-top: 44px; }
.hg-cta {
  display: inline-block; background: var(--gold); color: #fff; font-weight: 600; font-size: .98rem;
  padding: 16px 34px; border-radius: 0; text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.hg-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* ── Deine Vorteile ─────────────────────────── */
.hg-benefits { background: var(--beige); padding: 76px 24px; text-align: center; }
.hg-benefits h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin-bottom: 18px; }
.hg-benefits-lead { max-width: 640px; margin: 0 auto 40px; font-size: 1rem; color: #3a3e38; line-height: 1.6; }
.hg-benefits-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.hg-benefit-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 0;
  box-shadow: 0 4px 18px rgba(25,41,28,.07); padding: 22px 24px;
}
.hg-benefit-card .hg-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
}
.hg-benefit-card .hg-ic svg { width: 22px; height: 22px; color: var(--gold); }
.hg-benefit-card span { font-weight: 700; color: var(--navy); font-size: .98rem; }

/* ── Das ist unser Kunde ────────────────────── */
.hg-kunde { max-width: 1060px; margin: 92px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hg-kunde-img { border-radius: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(25,41,28,.1); aspect-ratio: 3/4; }
.hg-kunde-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-kunde h2 { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--navy); margin-bottom: 20px; }
.hg-kunde p { font-size: 1rem; line-height: 1.75; color: #3a3e38; }

/* ── So einfach geht es: Zickzack-Timeline (theme.css liefert
   .tl4-item/.tl4-item-alt/.tl4-badge/.tl4-line-bg/.tl4-card, hier nur
   Überschrift/Unterzeile/Hintergrund an diese Seite angepasst). ── */
.tl4 { position: relative; padding: 88px 24px 20px; background: linear-gradient(180deg, #fff 0%, #f3f5f1 100%); margin: 0 !important; max-width: none !important; }
.tl4-heading { font-size: clamp(1.6rem, 3vw, 2.1rem) !important; color: var(--navy) !important; max-width: 620px; margin: 0 auto 10px !important; }
.tl4-sub { text-align: center; max-width: 560px; margin: 0 auto 64px; color: #3a3e38; font-size: .98rem; }
.tl4-track { max-width: 900px; margin: 0 auto; }
.tl4-card img { aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 0; }
.tl4-card h3 { font-size: 1.48rem; color: var(--navy); margin: 0 0 10px; }
.tl4-card p { font-size: .92rem; line-height: 1.6; color: #3a3e38; margin: 0; }
.tl4-cta-wrap { text-align: center; margin-top: 20px; }

/* ── Über WILMS Real Estate ─────────────────── */
.hg-about { max-width: 1060px; margin: 92px auto; padding: 0 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hg-about h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin-bottom: 20px; line-height: 1.25; }
.hg-about p { font-size: .98rem; line-height: 1.75; color: #3a3e38; margin-bottom: 18px; }
.hg-about p strong { color: var(--navy); }
.hg-about-img { border-radius: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(25,41,28,.1); }
.hg-about-img img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* ── Google-Bewertungen: komplett flach, KEIN Container/Rahmen/Schatten um
   die Summary oder die einzelnen Bewertungen – nur Text auf dem Hintergrund,
   wie ein natives Google-Reviews-Widget. Sterne in echtem Google-Gelb statt
   Marken-Gold. Kein blaues Verifiziert-Häkchen. Kein Karussell/Pfeile. ── */
.hg-reviews-wrap { max-width: 1180px; margin: 0 auto; padding: 88px 24px 100px; }
.hg-reviews-wrap h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin-bottom: 44px; }
.hg-reviews-grid { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 36px; align-items: start; }
.hg-reviews-grid > * { min-width: 0; }
.hg-review-card { background: none; border: none; box-shadow: none; padding: 0; }
.hg-review-more {
  display: block; margin-top: 10px; font-size: .82rem; color: #8a8d85;
  background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
}
.hg-review-more:hover { color: var(--navy); text-decoration: underline; }

.hg-review-summary {
  background: none; border: none; box-shadow: none; padding: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hg-review-summary-title { font-size: 1.15rem; font-weight: 800; color: #1c1f1a; letter-spacing: .02em; margin-bottom: 12px; }
.hg-review-summary-sub { font-size: .9rem; color: #3a3e38; margin-bottom: 14px; max-width: 100%; overflow-wrap: break-word; }
.hg-review-summary-sub strong { text-decoration: underline; text-underline-offset: 2px; }
.hg-review-summary-badge { width: 120px; max-width: 100%; height: auto; align-self: center; object-fit: contain; }
.hg-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hg-review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.05rem;
}
.hg-review-avatar-1 { background: #e07a2e; }
.hg-review-avatar-2 { background: #d81b60; }
.hg-review-avatar-3 { background: #5e35b1; }
.hg-review-head > div { flex: 1; min-width: 0; }
.hg-review-name { font-size: .95rem; font-weight: 700; color: var(--navy); }
.hg-review-meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #8a8d85; }
.hg-review-stars { color: #F4B400; letter-spacing: 1px; font-size: .9rem; }
.hg-review-glogo { width: 18px; height: 18px; flex-shrink: 0; }
.hg-review-text { font-size: .88rem; line-height: 1.6; color: #3a3e38; }
.hg-review-text.js-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ── FAQ (eigene volle Sektion, kein Trust-Card daneben mehr) ──────────── */
.hg-faq-wrap { background: var(--beige); padding: 88px 24px; }
.hg-faq-inner { max-width: 760px; margin: 0 auto; }
.hg-faq h2 { text-align: center; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); margin-bottom: 28px; }
.hg-faq-item { background: #fff; border: 1.5px solid var(--navy); border-radius: 0; margin-bottom: 12px; overflow: hidden; }
.hg-faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .96rem;
}
.hg-faq-item summary::-webkit-details-marker { display: none; }
.hg-faq-item summary::after {
  content: ''; flex-shrink: 0; width: 11px; height: 11px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.hg-faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.hg-faq-item p { padding: 0 20px 20px; font-size: .92rem; line-height: 1.7; color: #4a4d46; }

/* ── Abschluss + Wunschkriterien ────────────── */
.hg-close-wrap { max-width: 1060px; margin: 92px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hg-close h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--navy); line-height: 1.25; margin-bottom: 18px; }
.hg-close p { font-size: 1rem; line-height: 1.75; color: #3a3e38; }

.hg-recap-card { background: #fff; border: 1px solid #e4e6e1; border-radius: 0; box-shadow: 0 10px 30px rgba(25,41,28,.07); padding: 32px; }
.hg-recap-card h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
.hg-recap-card > p { font-size: .92rem; color: #3a3e38; line-height: 1.6; margin-bottom: 20px; }
.hg-recap-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.hg-recap-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: #2b2e2a; line-height: 1.4; }
.hg-recap-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 7px; }
.hg-recap-card .hg-cta { display: block; width: 100%; text-align: center; box-sizing: border-box; margin-bottom: 18px; }
.hg-trust-line { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: #5d6058; margin-bottom: 6px; }
.hg-trust-line svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

@media (max-width: 860px) {
  .hg-hero-intro { white-space: normal; }
  .hg-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hg-benefits-grid { grid-template-columns: 1fr; }
  .hg-kunde { grid-template-columns: 1fr; gap: 28px; }
  .hg-kunde-img { aspect-ratio: 16/10; order: -1; }
  /* Arzt-Foto: bei 16/10 wird der Kopf oben abgeschnitten, weil das
     quadratische Foto wenig Kopffreiraum hat (identisches Foto wie bei
     Champions Immobilien, dort selbes Problem). 1/1 zeigt das Foto
     unbeschnitten - nur auf der Arzt-Seite. */
  .hg-kunde-img.hg-kunde-img-tall { aspect-ratio: 1/1; }
  .hg-about { grid-template-columns: 1fr; gap: 28px; }
  .hg-about-img { order: -1; }
  .hg-reviews-grid { grid-template-columns: 1fr; }
  .hg-close-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer: nutzt jetzt 1:1 das .footer-mini-Markup/CSS der Wertermittlungs-
   Seite (style-test.css Basis + die body.pg-haus-gesucht-koeln-Overrides in
   theme.css) statt eigener .hg-footer-*-Klassen. */

/* ── Kontaktformular: dreistufig, direkt auf der Seite ─────────── */
.hg-form-wrap { max-width: 640px; margin: 0 auto; padding: 100px 24px 220px; }
.hg-form-intro { text-align: center; font-size: 1.25rem; color: var(--navy); line-height: 1.5; margin-bottom: 36px; }

/* Kein weißer Kartenrahmen um das Formular, wie bei der Dressel-Vorlage:
   die Felder stehen direkt auf dem Seitenhintergrund. */
.hg-form-wrap .funnel-card { background: transparent; box-shadow: none; border-radius: 0; }
.hg-form-wrap .fn-body { padding: 0; }

.hg-form-progress { height: 3px; background: #ece9e3; margin-bottom: 44px; }
.hg-form-progress-fill { display: block; height: 100%; width: 33.33%; background: var(--gold); transition: width .3s ease; }

.hg-form-step { display: none; }
.hg-form-step.is-active { display: block; }
.hg-form-step-h { font-size: 1.85rem; color: var(--navy); text-align: center; margin-bottom: 8px; }
.hg-form-step-sub { text-align: center; font-size: .9rem; color: #6b6a67; margin-bottom: 28px; }
.hg-form-step-h + .hg-form-field { margin-top: 28px; }

.hg-form-field { margin-bottom: 18px; }
.hg-form-field label { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.hg-form-inp {
  width: 100%; padding: 14px 16px; border: 1px solid #d8d6cf; border-radius: 0;
  font-size: .96rem; font-family: inherit; color: #1c1f1a; background: #fff;
}
.hg-form-inp:focus { outline: none; border-color: var(--gold); }
select.hg-form-inp {
  cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border-radius: 0; padding-right: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319291C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}

/* Pflichtfeld-Markierung: beim Klick auf Weiter werden auch komplett leere
   Felder rot hervorgehoben (nicht nur beim Tippen falscher Werte). */
.hg-form-field.hg-field-err .hg-form-inp { border-color: #cc2222; }
.hg-form-field.hg-field-err .fn-err { display: block; }

.hg-phone-wrap { position: relative; }
.hg-phone-flag {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 16px; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='3' height='0.667' fill='%23000000'/><rect width='3' height='0.667' y='0.667' fill='%23DD0000'/><rect width='3' height='0.667' y='1.333' fill='%23FFCE00'/></svg>");
  background-size: cover; background-position: center;
}
/* +49 ist ein fest stehendes, nicht editierbares Präfix (kein Teil des
   Eingabewerts) – so landet der Cursor beim Klick immer im echten
   Eingabefeld dahinter statt irgendwo mitten im Ländercode. */
.hg-phone-prefix {
  position: absolute; left: 46px; top: 50%; transform: translateY(-50%);
  font-size: .96rem; color: #1c1f1a; pointer-events: none;
}
.hg-phone-prefix::after {
  content: ''; position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px; background: #d8d6cf;
}
.hg-phone-inp { padding-left: 86px; }

.hg-form-step-btns { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.hg-form-step-btns .hg-cta { flex: 1; }
.hg-form-back {
  background: none; border: none; color: #6b6a67; font-size: .9rem; font-weight: 600;
  cursor: pointer; padding: 16px 10px; text-decoration: underline;
}
.hg-form-step > .hg-cta { width: 100%; margin-top: 8px; }
.hg-form-step .hg-cta:disabled { opacity: .5; cursor: not-allowed; }
