/* WeserBergland Immobilien – Markenanpassung (nach style.css laden) */
:root {
  --navy:  #1a1a1a;  /* Kernfarbe Text/Struktur (schwarz, wie gewünscht) */
  --wine:  #6699B8;  /* Akzentfarbe für Buttons/Auswahl/besondere Elemente (Taubenblau) */
  --beige: #f5f5f5;  /* Hintergrund Hellgrau */
}

.hero-photo {
  background: linear-gradient(135deg, var(--wine), #1a1a1a);
  background-size: cover;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}

/* ── Buttons rot ────────────────────────────── */
.btn-primary,
.fn-next,
.fn-sub,
.fn-bar-fill {
  background: var(--wine);
}
/* Ausgewählte Kachel/Radio-Zeile: wie bei Trausnitz nur graue Umrandung
   (aus style-test.css), kein rotes Flächen-Highlight - sonst scheint das
   .fn-choice-tile-Hintergrund als roter Balken unter dem Kachelbild durch. */
.btn-primary:hover,
.fn-next:hover,
.fn-sub:not(:disabled):hover,
.fn-choice:hover {
  background: #537d96;
}
.btn-outline {
  color: var(--wine);
  border-color: var(--wine);
}
.btn-outline:hover {
  background: var(--wine);
  color: var(--white);
}
.pain-card-cta .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  white-space: normal;
}

/* ── Header: größeres Logo ─────────────────────── */
.hdr-logo img { height: 54px; max-height: 54px; }

/* ── Footer: dezentes Anthrazit ────────────────── */
.footer-uni { background: #2b2c2e; }

/* ── Bewertungen: Klick-Karussell ─────────────────── */
.rv-carousel { margin-top: 40px; }
.rv-carousel-outer { overflow: hidden; }
.rv-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
}
.rv-carousel-track .rv-card { flex: 0 0 340px; }
.rv-carousel-arrows { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.rv-arr {
  width: 44px; height: 44px; border-radius: 50%;
  background: #e9e9ea; color: #58595b;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s; border: none; cursor: pointer;
}
.rv-arr:hover:not(:disabled) { background: var(--wine); color: var(--white); }
.rv-arr:disabled { opacity: .35; cursor: default; }

/* ── Zertifikate unter dem Hero-Foto (rechte Spalte) ───────── */
.hero-certs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.hero-certs img { height: 85px; width: auto; display: block; }
@media (max-width: 639px) {
  .hero-certs { justify-content: center; }
}

/* ── Zertifikate-Leiste: kompakt direkt unter dem Hero-Bild ── */
.cert-bar {
  background: var(--white);
  padding: 14px 24px;
  border-bottom: 1px solid #ececec;
}
.cert-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
  max-width: var(--cw);
  margin: 0 auto;
}
.cert-item {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  color: #58595b; font-size: .82rem; font-weight: 600;
}
.cert-item svg { flex-shrink: 0; color: var(--wine); }
.cert-item img { height: 125px; width: auto; display: block; }

/* ── Überschriften-Hervorhebung: Unterstreichung statt Fläche ── */
.hl-gray, .hl-wine, .hl-light {
  background: none;
  padding: 0;
  border-bottom: 3px solid rgba(88,89,91,.5);
}

/* ── Über uns: Team-Foto breiter und oben ausgerichtet ── */
.about-mini-inner { align-items: flex-start; }
.about-mini-photo { width: 460px; }

/* ── "Für Eigentümer in ..."-Badge: weiß mit grauem Rahmen statt
   halbtransparent, damit es sich klarer vom Hero-Foto abhebt ── */
.hero-mini-eyebrow {
  background: #fff;
  border: 1px solid #cfcfcf;
}

/* ── Google-Rezension: "Local Guide"-Kennzeichnung unter dem Namen ── */
.gmap-local-guide { font-size: .72rem; color: #70757a; margin-top: 1px; }

/* ── /wertermittlung/: eigenständiger Mini-Funnel, ein Screen pro Schritt ──
   Kein Site-Header mehr: Logo + Google-Badge sind Teil des Seiteninhalts.
   Reines Weiß, keine Hero-Fotografie, kein Fortschrittsbalken, keine
   Emojis. Poppins statt Inter für einen hochwertigeren Look, Inhalte
   überwiegend zentriert. Kacheln in WeserBergland-Rot mit dunkelgrauem
   Label-Balken (statt Gelb/Dunkelblau der Vorlage). ── */
/* Hintergrundfoto (Marl) wird per Inline-Style am <section class="wert-hero2">
   gesetzt; der Verlauf hier greift nur als Fallback, falls das Bild fehlt. */
.wert-hero2 {
  position: relative; padding-top: 48px; font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f2f5f7 0%, #e7edf1 100%);
  background-size: cover; background-position: center;
}
.wert-hero2::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.62) 45%, rgba(255,255,255,.8) 100%);
}
.wert-hero2-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px 160px; }
.wert-hero2-text { max-width: 100%; text-align: center; }

.wert-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 44px; }
.wert-logo { height: 52px; width: auto; display: block; }

/* Formular als weiße, abgerundete Karte, die mittig im Hero-Bereich sitzt. */
/* TEST-Variante: alles (Logo, Headline, Google-Badge, Formular) in
   einem einzigen großen weißen Container auf dem Hintergrundfoto. */
.wert-hero2-card {
  max-width: 760px; margin: 0 auto;
  background: var(--white); border-radius: var(--r);
  box-shadow: 0 10px 34px rgba(0,0,0,.18);
  padding: 56px 64px 52px;
}
.wert-hero2-card .wert-top-row { margin-bottom: 36px; }
.wert-hero2-card .wert-lead { margin-bottom: 44px; }

.wert-card2 {
  max-width: 100%; margin: 0 auto;
}
.wert-card2 .fn-body { padding: 16px 0 0; }

.wert-h1 {
  font-size: clamp(2rem, 6.8vw, 2.7rem); font-weight: 700;
  line-height: 1.4; letter-spacing: -.005em; color: var(--ink); margin-bottom: 24px;
}
.wert-lead { font-size: .98rem; line-height: 1.7; font-weight: 400; color: var(--navy); margin: 0 0 115px; }
.wert-lead strong { font-weight: 700; }

.wert-google-card {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid #ebebeb; border-radius: 14px;
  padding: 12px 18px; box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.wert-google-icon { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.wert-google-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; text-align: left; }
.wert-google-rating { display: flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.wert-google-count { font-size: .8rem; font-weight: 500; color: #8a8a8a; }

.wert-card-h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.35; color: var(--ink); text-align: center; margin-bottom: 8px; }
.wert-card-sub { font-size: .85rem; font-weight: 400; color: #8a8a8a; text-align: center; margin-bottom: 0; }
/* Einheitlicher Abstand zwischen Frage (bzw. Hinweistext) und der
   anklickbaren Antwort/den Eingabefeldern - bei jedem Schritt gleich groß,
   unabhängig davon ob ein Hinweistext dazwischen steht oder nicht. */
.wert-card2 .fn-choices, .wert-card2 .fn-fields { margin-top: 28px; }

/* Immobilienart-Kacheln: leuchtendes WeserBergland-Rot statt Gelb, dunkelgrauer
   Label-Balken statt Dunkelblau - Struktur/Proportion wie in der Vorlage.
   Größer, mit spürbarem Hover-/Klick-Effekt statt statisch. */
.fn-choices.fn-choices-tiles.wert-tiles { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.wert-tiles .fn-choice.fn-choice-tile {
  flex-direction: column; align-items: stretch;
  background: var(--wine); border: none; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(102,153,184,.28);
  transition: box-shadow .18s ease, transform .18s ease;
}
.wert-tiles .fn-choice.fn-choice-tile:hover { box-shadow: 0 10px 22px rgba(102,153,184,.36); transform: translateY(-3px); }
.wert-tiles .fn-choice-tile-imgwrap {
  width: 100%; height: 190px; display: flex; align-items: center; justify-content: center;
  background: transparent; overflow: hidden;
}
.wert-tiles .fn-choice-tile-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wert-tiles .fn-choice-tile-label {
  font-size: 1.02rem; font-weight: 700; text-align: center; padding: 16px 8px;
  color: var(--white); background: var(--wine);
}
/* Label bleibt beim Klick immer weiß - die generische .sel-Regel aus
   style-test.css würde die Schrift sonst kurz schwarz aufblitzen lassen,
   bevor automatisch zur nächsten Frage weitergesprungen wird. */
.wert-tiles .fn-choice.fn-choice-tile.sel .fn-choice-tile-label { color: var(--white); }

.wert-duration {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .85rem; font-weight: 500; color: var(--navy); margin: 36px 0 36px;
}
.wert-duration svg { width: 18px; height: 18px; flex-shrink: 0; }

.wert-avatars { display: flex; align-items: center; justify-content: center; }
.wert-avatar {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--white); box-shadow: 0 0 0 1px #e2e2e2;
  margin-left: -14px;
}
.wert-avatar:first-child { margin-left: 0; }

.wert-reviews-text { font-size: .92rem; font-weight: 400; color: var(--ink); text-align: center; margin-top: 8px; }
.wert-reviews-text strong { font-weight: 700; }

/* Kontaktschritt: dünner hellgrauer Rahmenstil wie die Kacheln-Karte, keine
   Emojis, kein farbiger Hintergrund am Sicherheits-Hinweis. */
.wert-security {
  font-size: .9rem; font-weight: 500; color: #8a8a8a; text-align: center; margin-bottom: 28px;
}
/* "+49" fest im Eingabefeld statt als loses Element daneben - nur die
   äußere Zeile trägt den Rahmen, das Input selbst bleibt rahmenlos und
   schließt nahtlos an den fett gesetzten Präfix an. Die Selektoren sind
   bewusst auf .wert-card2 .wert-phone-row .fn-inp verschärft, damit sie
   zuverlässig die generischen .wert-card2 .fn-inp(:focus)-Regeln schlagen
   (gleiche Spezifität + spätere Position im Stylesheet gewann sonst und
   ließ das Input-Feld einen zweiten, sichtbaren Rahmen/Fokusring zeigen). */
.wert-phone-row {
  display: flex; align-items: center; flex-wrap: wrap;
  border: 1px solid #e3e5e8; border-radius: 10px; background: var(--white);
  padding: 0 18px; transition: border-color .15s;
}
.wert-phone-row:focus-within { border-color: var(--wine); }
.wert-phone-prefix {
  font-size: .95rem; font-weight: 700; color: var(--ink); flex-shrink: 0;
  padding-right: 12px; border-right: 1px solid #e3e5e8;
}
.wert-card2 .wert-phone-row .fn-inp {
  flex: 1; min-width: 140px; border: none; padding: 14px 0 14px 12px; background: transparent;
}
.wert-card2 .wert-phone-row .fn-inp:focus { border: none; }
.wert-phone-row .fn-err { flex-basis: 100%; width: 100%; margin: 4px 0 8px; }
.wert-card2 .fn-inp { border: 1px solid #e3e5e8; font-family: inherit; font-size: .95rem; padding: 14px 18px; }
.wert-card2 .fn-inp:focus { border-color: var(--wine); outline: none; }
.wert-card2 .fn-sub { font-size: 1.02rem; font-weight: 700; padding: 16px; margin-top: 28px; border-radius: 12px; }
.wert-card2 .fn-next { font-weight: 700; border-radius: 12px; }

/* Auswahl-Buttons (Verkaufsabsicht) im selben dünnen, hellen Rahmenstil wie
   die restliche Seite - die generische graue/dicke .sel-Fläche aus
   style-test.css sonst zu dick/grau statt dünn/rot. Auch der blaue
   Standard-Fokusring beim automatischen Fokus nach Schrittwechsel entfernt. */
.wert-card2 .fn-choice.fn-choice-radio {
  background: var(--white); color: var(--ink);
  border: 1px solid #e3e5e8; border-radius: 10px;
  padding: 16px 20px; font-size: .95rem;
  transition: background .2s, border-color .2s, border-width .2s, transform .15s ease, box-shadow .15s ease;
}
.wert-card2 .fn-choice.fn-choice-radio:hover {
  background: var(--white); border-color: #c7cbd1;
  transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.wert-card2 .fn-choice.fn-choice-radio:focus,
.wert-card2 .fn-choice.fn-choice-radio:focus-visible { outline: none; box-shadow: none; }
.wert-card2 .fn-choice.fn-choice-radio.sel {
  background: var(--white); border-color: var(--wine); border-width: 1px; padding: 16px 20px;
}
.wert-card2 .fn-choice.fn-choice-radio.sel .fn-choice-radio-dot { border-color: var(--wine); }
.wert-card2 .fn-choice.fn-choice-radio.sel .fn-choice-radio-dot::after { background: var(--wine); }
.wert-card2 .fn-choice.fn-choice-tile:focus,
.wert-card2 .fn-choice.fn-choice-tile:focus-visible { outline: none; }
.wert-card2 .fn-choices { max-width: 460px; margin-left: auto; margin-right: auto; gap: 14px; }
.wert-card2 .fn-fields { max-width: 460px; margin-left: auto; margin-right: auto; gap: 14px; }
.wert-card2 .fn-consent { max-width: 460px; margin-left: auto; margin-right: auto; }

@media (max-width: 639px) {
  .wert-hero2 { padding-top: 32px; }
  .wert-hero2-inner { padding: 0 20px 120px; }
  .wert-top-row { margin-bottom: 32px; }
  .wert-logo { height: 42px; }
  .wert-google-card { padding: 9px 14px; gap: 9px; }
  .wert-google-icon { width: 28px; height: 28px; }
  .wert-google-rating { font-size: .92rem; }
  .wert-h1 { font-size: clamp(1.7rem, 8vw, 2.1rem); margin-bottom: 18px; }
  .wert-lead { font-size: .98rem; margin-bottom: 42px; }
  /* Auf Mobile bleibt es wie vorher: nur das Formular ist eine weiße
     Karte, Logo/Headline/Google-Badge liegen direkt auf dem Foto. Der
     große Container (Desktop) wird hier optisch "aufgelöst". */
  .wert-hero2-card { background: none; box-shadow: none; padding: 0; }
  .wert-card2 {
    background: var(--white); border-radius: var(--r);
    box-shadow: 0 10px 34px rgba(0,0,0,.18);
    padding: 24px 20px;
  }
  .wert-card2 .fn-body { padding: 8px 0 0; }
  .wert-card-h2 { font-size: 1.3rem; }
  .wert-tiles .fn-choice-tile-imgwrap { height: 128px; }
  .wert-tiles .fn-choice-tile-label { font-size: 1.02rem; padding: 14px 6px; }
  .wert-avatar { width: 48px; height: 48px; margin-left: -12px; }
}

/* ── Flache Kopf-/Formularseite (Vorlage: Soetebeer's-Referenzseite) ──
   Ersetzt die Foto-Hero-Karte von .wert-hero2: dunkle Kopfleiste mit
   Logo+Claim, darunter eine flächige helle Seite mit Formular (unverändert,
   .wert-card2/.fn-step bleiben technisch gleich), Bewertungssterne,
   Vorteils-Checkliste, Abschluss-Zeile, Kanzleiname. Kein Hintergrundfoto,
   kein Fortschrittsbalken. ── */
.wert-topbar { background: var(--wine); padding: 28px 24px 32px; text-align: center; }
.wert-topbar-inner { max-width: var(--cw); margin: 0 auto; }
.wert-topbar-logo { height: 44px; width: auto; display: block; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.wert-topbar-tag { color: var(--white); font-size: .95rem; font-weight: 600; line-height: 1.5; margin: 0; }
.wert-topbar-tag strong { text-decoration: underline; }

.wert-flat { background: var(--white); padding: 48px 24px 64px; font-family: 'Poppins', sans-serif; }
.wert-flat-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.wert-flat-inner .wert-h1 { color: var(--ink); margin-bottom: 20px; }
.wert-flat-inner .wert-lead { margin-bottom: 36px; }
.wert-flat-inner .wert-card2 .fn-body { padding-top: 0; }

/* Checkliste: 2-spaltig, Haken statt Kreis-Icon wie in der Referenz. */
.wert-checklist {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px;
  text-align: left; margin: 56px 0 52px;
}
.wert-checklist-item { display: flex; align-items: flex-start; gap: 12px; }
.wert-checklist-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--wine); }
.wert-checklist-item span { font-size: .92rem; line-height: 1.5; color: var(--ink); }
.wert-checklist-item strong { font-weight: 700; }

@media (max-width: 639px) {
  .wert-topbar { padding: 22px 20px 26px; }
  .wert-topbar-logo { height: 38px; }
  .wert-flat { padding: 36px 20px 48px; }
  .wert-checklist { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* ── Fußzeile weiß statt schwarz (Kundenwunsch, weicht von der
   style-test.css-Vorgabe ab) ── */
.footer-mini { background: var(--white); border-top: 1px solid #ececec; }
.footer-mini-logo img { filter: none; }
.footer-mini-copy { color: rgba(0,0,0,.55); }
.footer-mini-madeby { color: rgba(0,0,0,.55); }
.footer-mini-madeby:hover { color: rgba(0,0,0,.8); }
.footer-mini-madeby img { filter: brightness(0); }
.footer-mini-divider { background: rgba(0,0,0,.1); }
.footer-mini-links a { color: rgba(0,0,0,.65); }
.footer-mini-links a:hover { color: var(--wine); }
