/* ==========================================================================
   Fleck Immobilien – Feinschliff Typografie & Farbe
   Wird als letztes Stylesheet im <head> geladen und überschreibt gezielt.
   Struktur, Raster und Abstände der Seiten bleiben unverändert.
   ========================================================================== */

/* Keine kursiven Auszeichnungen mehr – durchgehend aufrechte Druckschrift */
em, i, cite { font-style: normal; }

/* --------------------------------------------------------------------------
   Überschriften
   -------------------------------------------------------------------------- */
.hero__title, .page-hero__title, .block__title, .section-title,
.lp-hero__title, .success-hero__title, .cta-bottom__title, .erben-cta__title,
.contact__title, .steps-head__title, .section__title, .book-modal__title {
  letter-spacing: -0.012em;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Akzentwörter: aufrecht und halbfett statt kursiv */
h1 em, h2 em, h3 em { font-weight: 600; }

.block__title em, .section-title em, .hero__title em, .page-hero__title em,
.lp-hero__title em, .cta-bottom__title em, .erben-cta__title em,
.success-hero__title em, .steps-head__title em, .section__title em,
.contact__title em, .cta-section h2 em, .cf-box h2 em, .about-bio h2 em,
.book-modal__title em, .cta-section h2 em {
  font-style: normal;
  font-weight: 600;
}

/* Auf hellem Grund tieferes Messing – deutlich besser lesbar */
.block--light .block__title em, .block--white .block__title em,
.block--offwhite .block__title em, .section-title em,
.cta-section h2 em, .cf-box h2 em, .about-bio h2 em,
.contact__title em, .steps-head__title em, .section__title em {
  color: var(--fi-gold-dark, #8A6C36);
}

/* Auf dunklem Grund: Überschrift im Papierton, nur das Akzentwort in Messing */
.block--dark .block__title, .block--navy-deep .block__title {
  color: var(--fi-cream, #FFFFFF);
}
.block--dark .block__title em, .block--navy-deep .block__title em {
  color: var(--fi-gold, #B08B4F);
}

/* --------------------------------------------------------------------------
   Labels – ein einheitliches System statt zwei konkurrierender Stile
   -------------------------------------------------------------------------- */
.block__label, .hero__tag, .page-hero__tag, .page-hero__label,
.section__label, .lp-hero__label, .cta-bottom__label, .success-hero__label,
.steps-head__label, .franz-card__label {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.book-modal .book-modal__label {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons – normale Schreibweise statt Versalien
   -------------------------------------------------------------------------- */
.btn-v3, .btn, .cta-bottom__btn, .franz-card__btn, .contact-card__btn,
.social-card__btn {
  text-transform: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}
.nav__cta { font-size: 13px; }
.bw .bw__btn, .quiz__btn {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   Ruhigere Dekoration
   -------------------------------------------------------------------------- */
.block--dark::before { content: none; }
.hero__line { display: none; }
.divider { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Footer hell – gleiche Fläche wie der Header, Logo in Originalfarbe
   -------------------------------------------------------------------------- */
.footer {
  background: var(--fi-white);
  color: var(--fi-text-light);
  border-top: 1px solid rgba(22, 36, 62, 0.12);
}
.footer .logo img { filter: none !important; opacity: 1 !important; }
.footer__heading { color: var(--fi-navy); }
.footer__brand-text { color: var(--fi-text-light); }
.footer__links a, .footer__links li { color: var(--fi-text-light); }
.footer__links a:hover { color: var(--fi-navy); }
.footer__bottom {
  border-top: 1px solid rgba(22, 36, 62, 0.1);
  color: rgba(22, 36, 62, 0.45);
}
.footer__bottom {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px 40px;
}
.footer__credit { color: var(--fi-navy); font-weight: 600; border-bottom: 1px solid rgba(22,36,62,0.2); padding-bottom: 1px; transition: border-color .2s; }
.footer__credit:hover { border-color: var(--fi-gold); }
.hero__tag::before, .page-hero__tag::before { content: none; }

/* --------------------------------------------------------------------------
   Breite Inhaltsflächen wie auf der Startseite
   -------------------------------------------------------------------------- */
@media (min-width: 1101px) {
  .block .container,
  .page-hero .container,
  .header .container {
    max-width: min(1480px, calc(100vw - 48px));
  }
}

/* Zitate im Fließtextschnitt statt Playfair – bessere Lesbarkeit */
.ref-card__quote, .test-text, .testimonial-card__text, .kst__zitat {
  font-family: var(--font-body);
}
.kst__zitat { font-size: 16.5px; line-height: 1.65; }

/* Hero-Überschrift am Telefon größer – die alte 480er-Regel drückte sie auf 28px */
@media (max-width: 480px) {
  .hero__title { font-size: 40px !important; line-height: 1.08; }
  .page-hero__title, .lp-hero__title { font-size: 32px !important; line-height: 1.12; }
  .hero__sub { font-size: 16.5px; }
}
@media (max-width: 360px) {
  .hero__title { font-size: 35px !important; }
}

/* --------------------------------------------------------------------------
   Mobiles Menü als Schublade von rechts statt Vollbild
   -------------------------------------------------------------------------- */
.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(14, 26, 46, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
body.nav-open .mobile-nav__backdrop { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

.mobile-nav {
  right: 0;
  left: auto;
  display: flex;
  inset: 0 0 0 auto;
  width: min(84vw, 330px);
  max-width: 330px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  padding: 84px 26px 40px;
  background: var(--fi-navy-deep);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  /* Kein transform nach aussen - das erzeugte einen waagerechten Scrollbereich.
     Stattdessen wird die Schublade an Ort und Stelle aufgezogen. */
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path .32s cubic-bezier(0.22, 1, 0.36, 1), visibility .32s;
}
.mobile-nav.open {
  display: flex;
  clip-path: inset(0 0 0 0);
  visibility: visible;
  animation: none;
}
.mobile-nav a {
  text-align: left;
  padding: 13px 0;
  font-size: 16px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn-v3 {
  margin-top: 22px;
  justify-content: center;
  text-align: center;
  border-bottom: none;
  padding: 14px 20px;
}
.mobile-nav__close { top: 20px; right: 20px; }

/* Kein seitliches Verschieben der Seite mehr */
html, body { overflow-x: clip; }

/* --------------------------------------------------------------------------
   Dekorative Striche raus, Titelteile gleich groß
   -------------------------------------------------------------------------- */
.page-hero::before,
.page-hero__tag::before,
.page-hero__tag::after,
.block--dark::before,
.block--navy-deep::before,
.sm-hero::before,
.section__label::before,
.section__label::after,
.block__label::before,
.block__label::after { content: none; }

.hero__title strong, .hero__title em,
.page-hero__title strong, .page-hero__title em,
.block__title strong, .block__title em,
.section-title strong, .section-title em {
  font-weight: 600;
  font-size: inherit;
  letter-spacing: inherit;
}

/* --------------------------------------------------------------------------
   Abschluss-CTA als eigene Fläche statt frei im Weiß
   -------------------------------------------------------------------------- */
.cta-section .container {
  background: var(--fi-navy);
  border-radius: 4px;
  padding: clamp(44px, 5vw, 64px) clamp(24px, 4vw, 56px);
  text-align: center;
}
.cta-section h2 { color: var(--fi-cream); }
.cta-section h2 em { color: var(--fi-gold); }
.cta-section p { color: rgba(255, 255, 255, 0.62); }
.cta-section .divider { display: none; }
.cta-section .btn-v3--primary { background: var(--fi-gold); color: var(--fi-navy); }
.cta-section .btn-v3--primary:hover { background: #C09A5B; }

/* Restliche Zierstriche */
.ref-block--dark::before,
.option-card::before { content: none; }
.cta-section::before { content: none; }

/* Bewertungstool: gleiche Höhe über alle Schritte.
   Der Inhalt sitzt mittig, der Weiter-Pfeil bleibt unten an fester Stelle. */
.bw__step.active { min-height: 459px; justify-content: flex-start; }
.bw__step.active .bw__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bw__step.active .bw__nav { margin-top: auto; }
@media (max-width: 1024px) { .bw__step.active { min-height: 487px; } }
@media (max-width: 560px)  { .bw__step.active { min-height: 439px; } }

/* Bewertungstool: Auswahlkacheln füllen die Fläche */
.bw__cards--2col { max-width: 660px; gap: 20px; }
.bw__cards--3col { max-width: 720px; gap: 16px; }
.bw__cards--list { max-width: 520px; }
.bw__card { padding: 40px 20px; font-size: 16px; }
.bw__cards--2col .bw__card { min-height: 210px; }
.bw__cards--2col .bw__card svg { width: 56px; height: 56px; }
.bw__cards--3col .bw__card { min-height: 160px; }
.bw__cards--3col .bw__card svg { width: 48px; height: 48px; }
@media (max-width: 560px) {
  .bw__card { padding: 28px 14px; }
  .bw__cards--2col .bw__card { min-height: 150px; }
  .bw__cards--2col .bw__card svg { width: 44px; height: 44px; }
  .bw__cards--3col .bw__card { min-height: 120px; }
}

/* Kopfbereiche der Unterseiten: Luft zwischen Titel und Unterzeile */
.page-hero__title { margin-bottom: 30px; }
.page-hero__sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 560px) {
  .page-hero__title { margin-bottom: 16px; }
  .page-hero__sub { font-size: 15.5px; }
}

/* --------------------------------------------------------------------------
   Formularfelder: ein eigenes, einheitliches Erscheinungsbild auf allen
   Seiten. Keine nativen Browser-Steuerelemente mehr, auch nicht bei Select.
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="url"], input:not([type]),
textarea, textarea[name], select, select[name], select[id],
.form-group input, .form-group textarea, .form-group select, .quiz__field input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--fi-navy);
  background: var(--fi-white);
  border: 1.5px solid rgba(22, 36, 62, 0.22);
  border-radius: 4px;
  padding: 13px 16px;
  box-shadow: none;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
input::placeholder, textarea::placeholder { color: rgba(22, 36, 62, 0.42); }
input:hover, textarea:hover, select:hover, .form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: rgba(22, 36, 62, 0.38); }
input:focus, textarea:focus, select:focus,
.form-group input:focus, .form-group textarea:focus, .form-group select:focus, .quiz__field input:focus {
  border-color: var(--fi-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 134, 0.12);
}
textarea { resize: vertical; min-height: 130px; }

/* Select: eigener Pfeil in Navy, ausreichend Platz rechts */
select, select[name], select[id], .form-group select, .quiz__field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316243E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
select:invalid, select option[value=""] { color: rgba(22, 36, 62, 0.55); }
select option { color: var(--fi-navy); background: #fff; }

/* Zahlenfelder ohne Spinner */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* Checkbox in Hausfarben */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(22, 36, 62, 0.35);
  border-radius: 3px;
  background: #fff;
  vertical-align: -3px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}
input[type="checkbox"]::before {
  content: '';
  width: 10px; height: 10px;
  transform: scale(0);
  transition: transform .12s;
  background: var(--fi-navy);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="checkbox"]:checked { border-color: var(--fi-navy); }
input[type="checkbox"]:checked::before { transform: scale(1); }
input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(29, 78, 134, 0.15); }

/* Kontaktseite: die Feldbeschriftung etwas ruhiger */
.form-group label { font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }

/* Bewertungstool: Zahlenfeld neben Einheit bleibt kompakt */
.bw__slider-input input[type="number"] { width: 110px; border-radius: 4px 0 0 4px; }
.bw__slider-input { display: inline-flex; align-items: stretch; }
.bw__slider-input .bw__unit { border-radius: 0 4px 4px 0; }

/* Objektanfrage: Fragen linksbündig, auch auf dem Handy */
.oa .oa__frage { text-align: left !important; }

/* --------------------------------------------------------------------------
   Kopfbereich auf allen Seiten exakt gleich
   -------------------------------------------------------------------------- */
.topbar, .header-top, .hdr-top { padding-top: 10px; padding-bottom: 10px; }
.header .logo img { height: 52px !important; width: auto !important; }
.header .nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 13px; font-weight: 600; line-height: 22px; letter-spacing: 0;
  border-radius: 4px; background: var(--fi-blue); color: var(--fi-white); text-transform: none;
}
.header .nav__cta svg { width: 16px; height: 16px; }
.header .nav__cta:hover { background: var(--fi-blue-bright); }
.header, .topbar, .header-top, .hdr-top { transition: none !important; }
.header .container { min-height: 81px; }

/* Header endgültig festnageln: feste Maße, unabhängig von Bildladung, Schrift und Scrollbalken */
html { overflow-y: scroll; }
.topbar, .header-top, .hdr-top { height: 42px; box-sizing: border-box; }
.header .container { height: 81px !important; min-height: 81px; }
.header .logo { display: flex; align-items: center; width: 85px; height: 52px; }
.header .logo img, .header .logo__img { width: 85px !important; height: 52px !important; object-fit: contain; object-position: left center; }
.header .nav__cta { white-space: nowrap; justify-content: center; box-sizing: border-box; }
@media (max-width: 1100px) {
  .header .container { height: auto !important; min-height: 0; }
}
