/* =========================================================
   Miri.Immo – Projektseite
   Layout nach Vorlage gutnauenhof.de, CI nach miri.immo
   ========================================================= */

:root {
  /* Miri.Immo CI (aus miri.immo / Elementor Global Colors) */
  --c-primary: #14497D;        /* Logo-Blau, Buttons, Akzente */
  --c-primary-dark: #0F3761;   /* Hover */
  --c-primary-light: #1F5F9E;
  --c-dark: #3E4C5C;           /* dunkle Karten */
  --c-footer: #1C2733;         /* Footer */
  --c-grey: #CFD9DF;           /* helle Flächen, Linien */
  --c-grey-light: #E4EAF0;
  --c-bg: #F2F5F8;
  --c-text: #1F1F1F;
  --c-text-muted: #5C6B7A;
  --c-white: #FFFFFF;

  --font-head: "Roboto Slab", Georgia, serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 6.25rem;

  --container: 1440px;
  --gutter: 5.5rem;    /* Seitenrand der Inhalte: bündig mit dem Inhalt der Hero-Karte (Rahmen 2rem + Innenabstand 3.5rem) */
  --nav-h: 7rem;
  --section-gap: 100px; /* Abstand zwischen den Sektionen */
  --frame: 2rem;      /* weißer Rahmen um die Hero-Karte */
  --hero-pad: 3.5rem; /* Innenabstand in der Hero-Karte */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  overflow-x: clip; /* clip statt hidden: position: sticky bleibt funktionsfähig */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typografie ---------- */
.h-xl {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.h-lg {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.h-md {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
}
.lead { font-size: 1.125rem; line-height: 1.6; }
.muted { color: var(--c-text-muted); }
.text-white { color: var(--c-white); }
.underline-accent {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  text-decoration-color: rgba(255,255,255,.8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.125rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--c-primary-dark); }
.btn:active { transform: translateY(1px); }
.btn .arrow { width: 1.1rem; height: 1.1rem; }
.btn .btn__icon { width: 1.25rem; height: 1.25rem; flex: none; margin-right: -.1rem; }
.btn--white { background: var(--c-white); color: var(--c-text); }
.btn--white:hover { background: var(--c-grey-light); }
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }
.btn--sm { padding: .8rem 1.25rem; font-size: .9rem; }

/* ---------- Navigation (liegt in der Hero-Karte) ---------- */
.nav {
  position: absolute;
  top: var(--frame);
  left: var(--frame);
  right: var(--frame);
  z-index: 50;
  height: var(--nav-h);
}
.nav__inner {
  height: 100%;
  padding: 0 var(--hero-pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* Weiße Leiste: Logo links, Menü rechts – der CTA-Button steht separat daneben */
.nav__bar {
  position: relative;
  flex: 1 1 auto; min-width: 0;
  height: 4.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.5rem 0 1.75rem;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.nav__logo { flex: none; }
.nav__logo img { height: 2.75rem; width: auto; display: block; }
.nav__drop { margin: 0 auto; display: flex; align-items: center; }
/* Menü steht mittig im freien Bereich rechts vom Logo. Ab 1480px ist genug Platz für ein unsichtbares
   Gegengewicht zum Logo, dann steht es exakt in der Mitte der ganzen Leiste. */
@media (min-width: 1480px) { .nav__bar::after { content: ""; flex: none; width: calc(2.75rem * 4.008 + .25rem); } }
.nav__links { display: flex; align-items: center; gap: 2rem; padding: 0 1.5rem; }
.nav__links a { font-size: 1rem; font-weight: 500; color: var(--c-text); white-space: nowrap; }
.nav__links a:hover { color: var(--c-primary); }
.nav__cta-mobile { display: none; }
.btn--nav { flex: none; padding: 0 1.75rem; height: 4.5rem; font-size: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.nav__burger {
  display: none;
  margin-left: auto;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 0;
  background: var(--c-grey-light);
  align-items: center; justify-content: center; flex-direction: column;
}
.nav__burger span { display: block; width: 1.1rem; height: 2px; background: var(--c-text); margin: 2px 0; }

/* ---------- Hero: abgerundete Bildkarte mit weißem Rahmen (wie Vorlage) ---------- */
.hero {
  position: relative;
  margin: var(--frame) var(--frame) 0;
  /* Höhe folgt dem Bildformat (ca. 2:1), damit das Foto komplett sichtbar bleibt;
     wächst bei Bedarf mit dem Inhalt */
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--frame)), calc((100vw - 2 * var(--frame)) * 0.5));
  border-radius: var(--radius-xl);
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
}
/* Zwei Bildebenen: unten eine unscharfe, bildfüllende Kopie (füllt die Karte),
   darüber das scharfe Foto in voller Breite – so wirkt das Motiv weiter entfernt
   und wird nicht beschnitten. */
.hero__bg {
  position: absolute; inset: -3rem; z-index: -3;
  background: url("../assets/img/brand/hero-halima.webp") center / cover no-repeat;
  filter: blur(22px) saturate(1.05);
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/img/brand/hero-halima.webp") center bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 24%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 24%);
  animation: heroZoom 18s ease-out forwards;
  transform-origin: center bottom;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,25,40,.55) 0%, rgba(10,25,40,.25) 28%, rgba(10,25,40,0) 42%),
    linear-gradient(180deg, rgba(10,25,40,.15) 0%, rgba(10,25,40,0) 25%, rgba(10,25,40,0) 60%, rgba(10,25,40,.4) 100%);
}
.hero__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 1.5rem) var(--hero-pad) var(--hero-pad);
}
.hero__title {
  font-weight: 300;
  font-size: clamp(2.4rem, 3.8vw, 4.75rem);
  line-height: 1.06;
  color: rgba(255,255,255,.94);
  margin: 0;
}
.hero__title .underline-accent { text-decoration-thickness: 2px; text-underline-offset: .14em; }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 2rem;
}
.hero__sub { font-size: clamp(1.15rem, 1.6vw, 1.75rem); font-weight: 300; line-height: 1.45; margin: 0 0 2.25rem; max-width: 40rem; }
.btn--lg { padding: 0 2.25rem; height: 4.5rem; font-size: 1.2rem; }

.form-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 27.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: rgba(20, 30, 40, .42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--c-white);
}
.form-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.35rem; margin: 0 0 1.1rem; }
.form-card .field { margin-bottom: .9rem; }
.form-card .field input { height: 3.25rem; font-size: .95rem; padding-left: 3.1rem; border-color: rgba(255,255,255,.8); background: transparent; }
.form-card .field svg, .form-card .field .flag { left: 1.15rem; }
.form-card .btn--block { height: 3.25rem; font-size: 1rem; margin-top: .15rem; }
.field {
  position: relative;
  margin-bottom: .75rem;
}
.field svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.1rem; height: 1.1rem; opacity: .9;
}
.field input, .field select {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  color: var(--c-white);
  font: inherit;
  font-size: .9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field select option { color: var(--c-text); }
.field input::placeholder { color: rgba(255,255,255,.8); }
.field input:focus, .field select:focus { border-color: var(--c-white); background: rgba(255,255,255,.12); }
.field--select::after {
  content: "";
  position: absolute; right: 1.1rem; top: 50%;
  width: .55rem; height: .55rem;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field .flag {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.1rem; height: .8rem; border-radius: 2px;
  background: linear-gradient(#000 0 33%, #d00 33% 66%, #fc0 66%);
}
.field--phone input { padding-left: 2.75rem; }
.check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .75rem; line-height: 1.35; margin: .25rem 0 1rem;
}
.check input { margin: .15rem 0 0; accent-color: var(--c-primary); flex: none; }
.form-note { font-size: .8rem; margin-top: .75rem; display: none; }
.form-note.is-visible { display: block; }

/* ---------- Dunkle Karten ---------- */
/* Einheitlicher Abstand zwischen allen Sektionen: --section-gap (je zur Hälfte oben/unten) */
.section, .section--tight { padding: calc(var(--section-gap) / 2) 0; }
.hero + .section { padding-top: var(--frame); } /* Ausnahme: gleicher Abstand wie der Rand über dem Hero */
.contact { margin-top: calc(var(--section-gap) / 2); }
.container > .eyebrow { display: block; }
.card-dark {
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
}
.card-dark--split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: center;
}
.card-dark--split p { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.card-dark--center { text-align: center; padding: 5rem 4rem; }
.card-dark--center p { max-width: 42rem; margin: 1.25rem auto 2rem; color: rgba(255,255,255,.9); }

/* ---------- Juwel / Slider + Stats ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-grey);
  margin-bottom: 2rem;
}
.section-head p { max-width: 34rem; justify-self: end; }

/* ---------- Luxus-Features ---------- */
.features {
  display: flex; margin-top: 2rem;
}
.feature {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2rem; border-left: 1px solid rgba(255,255,255,.25);
  font-size: .95rem; font-weight: 500;
}
.feature:first-child { padding-left: 0; border: 0; }
.feature svg { width: 2rem; height: 2rem; flex: none; }


/* ---------- Kapitalanleger ---------- */

/* ---------- Kontakt ---------- */

/* ---------- Footer (Karte mit weißem Rahmen und weißer Leiste – wie der Kopfbereich) ---------- */
.footer {
  margin: var(--frame);
  border-radius: var(--radius-xl);
  background: var(--c-footer); color: #fff;
  padding: 3rem 0 2rem;
}
.footer__inner { padding: 0 var(--hero-pad); }
.footer__top { display: flex; align-items: center; gap: 1.5rem; }
.footer__bar {
  flex: 1 1 auto; min-width: 0; height: 4.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.5rem 0 1.75rem;
  background: var(--c-white); border-radius: var(--radius-pill);
}
.footer__logo { flex: none; }
.footer__logo img { height: 2.75rem; width: auto; display: block; }
.footer__links { margin: 0 auto; display: flex; align-items: center; gap: 2rem; padding: 0 1.5rem; }
.footer__links a { font-size: 1rem; font-weight: 500; color: var(--c-text); white-space: nowrap; }
.footer__links a:hover { color: var(--c-primary); }
.footer__cta { box-shadow: none; }
.footer__info { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; font-size: .95rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.footer__contact a:hover { color: var(--c-grey); }
.footer__contact svg { width: 1.1rem; height: 1.1rem; flex: none; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center;
}
.footer__social a:hover { background: var(--c-primary); border-color: var(--c-primary); }
.footer__social svg { width: 1.1rem; height: 1.1rem; }
.footer__bottom {
  margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .85rem; color: rgba(255,255,255,.7);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__legal a:hover { color: #fff; }
@media (max-width: 1339px) {
  .footer__top { gap: 1rem; }
  .footer__bar { height: 4.25rem; gap: 1rem; padding: 0 1rem 0 1.5rem; }
  .footer__logo img { height: 2.25rem; }
  .footer__links { gap: 1.1rem; padding: 0 .9rem; }
  .footer__links a { font-size: .95rem; }
}
@media (max-width: 1099px) {
  .footer { padding-top: 1.75rem; }
  .footer__top { flex-direction: column; align-items: stretch; }
  .footer__bar { height: auto; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.25rem 1.5rem 1.5rem; border-radius: var(--radius-lg); }
  .footer__links { margin: 0; padding: 0; flex-wrap: wrap; gap: .75rem 1.5rem; }
  .footer__links a { font-size: 1rem; }
  .footer .footer__cta { display: flex; justify-content: center; height: 3.5rem; }
  .footer__info { margin-top: 2rem; }
}
@media (max-width: 600px) {
  .footer__contact { flex-direction: column; gap: .75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; }
}

/* ---------- Responsive ---------- */
/* Navigation: kompakter auf mittleren Breiten, Burger-Menü darunter */
@media (max-width: 1339px) {
  .nav__inner { gap: 1rem; }
  .nav__bar { height: 4.25rem; gap: 1rem; padding: 0 1rem 0 1.5rem; }
  .nav__logo img { height: 2.25rem; }
  .nav__links { gap: 1.1rem; padding: 0 .9rem; }
  .nav__links a { font-size: .95rem; }
  .btn--nav { height: 4.25rem; padding: 0 1.25rem; font-size: .95rem; }
}
@media (max-width: 1099px) {
  .btn--nav { display: none; }
  .nav__bar { height: 3.75rem; padding: 0 .4rem 0 1.25rem; }
  .nav__burger { display: flex; }
  .nav__drop { display: none; margin: 0; }
  .nav.is-open .nav__drop {
    display: flex; flex-direction: column; align-items: stretch; gap: 1rem;
    position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
    background: var(--c-white); border-radius: var(--radius-md); padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
  }
  .nav.is-open .nav__links { flex-direction: column; align-items: flex-start; gap: .85rem; padding: 0; }
  .nav.is-open .nav__links a { font-size: 1rem; }
  .nav.is-open .nav__cta-mobile { display: flex; height: 3.25rem; }
}
@media (max-width: 1100px) {
  .card-dark { padding: 2.5rem; }
}
@media (max-width: 991px) {
  :root { --gutter: 1.5rem; }
  :root { --frame: 1rem; --hero-pad: 1.5rem; --nav-h: 5.5rem; }
  .nav__logo img { height: 2.1rem; }
  /* Mobil: Foto oben in der Karte, Text darunter auf dunkler Fläche – so bleibt das Gesicht frei */
  .hero { min-height: 0; background: var(--c-dark); }
  .hero__bg { inset: 0; height: 88vw; filter: none; background-position: 50% 15%; }
  .hero__img { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(62,76,92,0) 50vw, var(--c-dark) 88vw); }
  .hero__inner { padding-top: 78vw; }
  .hero__bottom { flex-direction: column; align-items: stretch; margin-top: 2.5rem; }
  .form-card { max-width: 100%; }
  .card-dark--split, .section-head, .contact__inner {
    grid-template-columns: 1fr;
  }
  .section-head p { justify-self: start; }
  .features { flex-direction: column; gap: 1rem; }
  .feature { padding: 0; border: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 1rem; }
  :root { --frame: .75rem; --hero-pad: 1.25rem; --section-gap: 64px; }
  .hero__sub { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .btn--lg { height: auto; padding: 1.1rem 1.5rem; font-size: 1rem; }
  .form-card { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
  .card-dark { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
  .btn { white-space: normal; text-align: center; }
}

@media (min-width: 992px) and (max-aspect-ratio: 5/4) {
  .hero__bg { inset: 0; filter: none; background-position: 50% 10%; }
  .hero__img { display: none; }
}

/* ---------- Ergänzungen: Miri.Immo-Inhalte ---------- */



/* Kundenstimmen (ersetzt Video-Sektion) */

/* Region */



@media (max-width: 991px) {
}

/* ---------- Kundenstimmen (Überschrift links, Bewertungszeile, drei Zitate ohne Karten) ---------- */
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: 1rem;
}
.reviews__head { padding-bottom: 2.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--c-grey); }
.reviews__head .eyebrow { display: block; margin-bottom: 1.5rem; }
.reviews__rating {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 2rem;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-muted);
}
.g-logo { width: 1.5rem; height: 1.5rem; flex: none; }
.reviews__rating strong { font-size: .95rem; font-weight: 700; letter-spacing: .08em; color: var(--c-text); }
.stars { display: inline-flex; gap: .15rem; color: var(--c-dark); }
.stars svg { width: .95rem; height: .95rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.review { display: flex; flex-direction: column; }
.review p { margin: 0 0 2rem; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--c-text); }
.review footer { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--c-grey); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-muted); line-height: 1.6; }
.review footer i { font-style: normal; margin: 0 .35em; }
.offers-nav.reviews__nav { display: none; } /* Desktop: alle drei Bewertungen sichtbar, keine Pfeile nötig */
/* Tablet/Handy: Bewertungen nebeneinander zum Wischen, die nächste schaut rechts hervor */
@media (max-width: 991px) {
  .reviews__head { padding-bottom: 2rem; margin-bottom: 2rem; }
  .reviews__grid {
    display: flex; gap: 2rem;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .25rem; scroll-padding: 0 var(--gutter);
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .reviews__grid .review { flex: 0 0 82%; scroll-snap-align: start; opacity: 1; transform: none; }
  .offers-nav.reviews__nav { display: flex; justify-content: center; margin-top: 1.5rem; }
}
@media (min-width: 601px) and (max-width: 991px) { .reviews__grid .review { flex-basis: 46%; } }

/* ---------- Dienstleistungen (Tabs + Bild + Karte) ---------- */
.svc-head { margin-bottom: 2.25rem; padding-bottom: 0; border: 0; grid-template-columns: 1fr; text-align: center; }
#leistungen > .container > .eyebrow { text-align: center; }
.svc-head p { color: var(--c-text-muted); }
.svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.svc-tabs button {
  height: 3.75rem; padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-grey);
  background: var(--c-white); color: var(--c-text);
  font: inherit; font-weight: 500; font-size: 1rem;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.svc-tabs button:hover { border-color: var(--c-primary); }
.svc-tabs button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.svc-panel { display: none; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.svc-panel.is-active { display: grid; }
.svc-photo {
  position: relative;
  min-height: 26rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #CFD9DF 0%, #B9C6D0 100%) center / cover no-repeat;
  display: grid; place-items: center;
  overflow: hidden;
}
.svc-photo span {
  font-size: .85rem; letter-spacing: .04em; color: var(--c-dark);
  padding: .5rem 1rem; border: 1px dashed rgba(62,76,92,.6); border-radius: var(--radius-pill);
  background: rgba(255,255,255,.55);
}
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card {
  padding: 1rem 0 1rem 2.5rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.svc-card__icon { display: block; color: var(--c-primary); margin-bottom: 1.5rem; line-height: 0; }
.svc-card__icon svg { width: 3rem; height: 3rem; }
.svc-card h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.2; margin: 0 0 1.25rem; }
.svc-card p { color: var(--c-text-muted); line-height: 1.65; margin: 0 0 1.5rem; max-width: 34rem; }
.svc-checks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .9rem; }
.svc-checks li { display: flex; align-items: center; gap: .85rem; font-size: 1.05rem; }
.svc-check { flex: none; color: var(--c-primary); line-height: 0; }
.svc-check svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 991px) {
  .svc-tabs { grid-template-columns: 1fr; gap: .6rem; }
  .svc-tabs button { height: 3.25rem; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-photo { min-height: 14rem; }
  .svc-card { padding: 1.5rem 0 0; }
}

/* ---------- Aktuelle Angebote (Karten) ---------- */
.offers-head { border: 0; padding-bottom: 0; margin-bottom: 2.5rem; align-items: center; }
.offers-nav { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 2rem; }
.offers-nav button {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 1px solid var(--c-grey); background: var(--c-white); color: var(--c-text);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.offers-nav button:hover:not(:disabled) { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.offers-nav button:disabled { opacity: .35; cursor: default; }
.offers-nav svg { width: 1.1rem; height: 1.1rem; }
/* Horizontale Kartenleiste: 3 Karten sichtbar, weitere per Pfeil oder Wischen */
.offers {
  --offers-gap: 2.5rem;
  display: flex; gap: var(--offers-gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.offers::-webkit-scrollbar { display: none; }
.offer { flex: 0 0 calc((100% - 2 * var(--offers-gap)) / 3); scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; color: inherit; }
.offer__img { aspect-ratio: 4 / 3; border-radius: .5rem; overflow: hidden; background: linear-gradient(180deg, #CFD9DF 0%, #B9C6D0 100%); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.offer__img { display: block; }
.offer:hover .offer__img img { transform: scale(1.04); }
.offer__btn { margin-top: 1.5rem; }
.btn--ghost { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.offer__status {
  margin-top: 1.5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-primary);
}
.offer__status--sold { color: #B93A2E; }
.offer__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.25; margin: .9rem 0 1.25rem; }
.offer__meta {
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-top: 1.25rem; border-top: 1px solid var(--c-grey);
}
.offer__meta span { font-size: .9rem; color: var(--c-text-muted); }
.offer__meta strong { font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; color: var(--c-primary); white-space: nowrap; }
@media (max-width: 991px) {
  .offers { --offers-gap: 1.25rem; }
  .offer { flex-basis: calc((100% - var(--offers-gap)) / 2); }
}
@media (max-width: 600px) { .offer { flex-basis: 86%; } }

/* ---------- Über mich (Foto bis zum Rand + überlappende Textkarte) ---------- */
.about__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}
.about__img {
  grid-column: 1 / 8; grid-row: 1;
  position: relative; align-self: stretch;
  min-height: 30rem; margin-bottom: 5rem;
  border-radius: var(--radius-xl);
  overflow: hidden; background: var(--c-grey);
}
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 30%; display: block; }
.about__card {
  grid-column: 6 / 13; grid-row: 1;
  position: relative; z-index: 1;
  margin-top: 6rem;
  background: var(--c-grey-light); /* helles Blaugrau, hebt die Karte vom weißen Seitenhintergrund ab */
  padding: 4rem 4rem 4.5rem 4.5rem;
  border-radius: var(--radius-xl);
}
.about__title { margin: 0 0 1rem; }
.about__sub { font-size: clamp(.95rem, 1.35vw, 1.3rem); letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin: 0 0 1.75rem; }
.about__card p:not(.about__sub) { line-height: 1.85; margin: 0 0 2.25rem; max-width: 46rem; }
@media (max-width: 991px) {
  .about__inner { display: block; }
  .about__img { min-height: 0; height: 62vw; margin: 0; border-radius: var(--radius-lg); }
  .about__card { margin: -3rem .5rem 0; padding: 1.75rem 1.25rem 2.25rem; border-radius: var(--radius-lg); }
  .about__title { font-size: clamp(1.15rem, 5.3vw, 2rem); overflow-wrap: break-word; }
}
/* Hochformatiges Fassadenfoto: Ausschnitt auf Fenster und Eingang */
.offer__img img[src*="einfamilienhaus-dueren"] { object-position: 50% 45%; }

/* ---------- Vorteile (Intro zentriert, darunter 6 Punkte in 2 Zeilen à 3) ---------- */
.benefits__intro { text-align: center; max-width: 46rem; margin: 0 auto 3.5rem; }
.benefits__intro .eyebrow { display: block; margin-bottom: 1.25rem; }
.benefits__intro p { margin: 1.25rem 0 0; line-height: 1.7; }
.benefits__list { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.benefit { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.benefit svg { width: 2rem; height: 2rem; flex: none; color: var(--c-primary); }
.benefit h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; line-height: 1.3; margin: 0 0 .5rem; }
.benefit p { margin: 0 auto; max-width: 16rem; color: var(--c-text-muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 991px) { .benefits__list { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1rem; } .benefits__intro { margin-bottom: 2.5rem; } }

/* ---------- Verkaufsablauf als mittige Zeitleiste ---------- */
/* Nummer auf der Mittelachse, darunter die Linie, Text abwechselnd links und rechts.
   main.js setzt .is-animated und schaltet die Schritte beim Scrollen mit .is-on frei. */
.timeline__head { text-align: center; max-width: 40rem; margin: 0 auto 4rem; }
.timeline__head p { margin: 1.25rem auto 0; max-width: 32rem; line-height: 1.7; }
.timeline__list { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; }
.tstep { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 2.75rem; }
.tstep__no {
  grid-column: 2; grid-row: 1; justify-self: center;
  font-family: var(--font-head); font-weight: 500; font-size: clamp(2.5rem, 3.6vw, 3.25rem); line-height: 1;
  color: var(--c-primary); transition: color .45s ease;
}
.tstep__line { grid-column: 2; grid-row: 2; justify-self: center; width: 2px; min-height: 8.5rem; margin: 1rem 0; border-radius: 2px; background: #E1E7EC; position: relative; overflow: hidden; }
.tstep__line::after { content: ""; position: absolute; inset: 0; background: var(--c-primary); transform-origin: top; transition: transform .6s ease; }
.tstep__body { grid-row: 2; padding: 1.5rem 0 2rem; max-width: 25rem; transition: opacity .45s ease; }
.tstep:nth-child(odd) .tstep__body { grid-column: 1; justify-self: end; text-align: right; }
.tstep:nth-child(even) .tstep__body { grid-column: 3; justify-self: start; }
.tstep h3 { font-family: var(--font-head); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.25; margin: 0 0 .6rem; }
.tstep p { margin: 0; line-height: 1.65; color: var(--c-text-muted); }
.timeline.is-animated .tstep:not(.is-on) .tstep__no { color: #CBD4DC; }
.timeline.is-animated .tstep:not(.is-on) .tstep__line::after { transform: scaleY(0); }
.timeline.is-animated .tstep:not(.is-on) .tstep__body { opacity: .32; }
.timeline__cta { text-align: center; margin-top: 1.5rem; }
@media (max-width: 767px) {
  .timeline__head { margin-bottom: 2.5rem; }
  .tstep { grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem; }
  .tstep__no { grid-column: 1; font-size: 2rem; }
  .tstep__line { grid-column: 1; min-height: 0; margin: .75rem 0; }
  .tstep .tstep__body, .tstep:nth-child(odd) .tstep__body, .tstep:nth-child(even) .tstep__body { grid-column: 2; grid-row: 1 / span 2; justify-self: start; text-align: left; max-width: none; padding: .35rem 0 2.25rem; }
  .timeline__cta { margin-top: .5rem; }
  .timeline__cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tstep__no, .tstep__body, .tstep__line::after { transition: none; } }

/* ---------- Standort (Panorama + Text + Städte) ---------- */
.place__img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 2000 / 786; background: var(--c-grey); }
.place__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
/* Wie die Hero-Karte: schmaler Rand links und rechts, abgerundete Ecken */
.place__img--full { margin: 0 var(--frame); border-radius: var(--radius-xl); aspect-ratio: auto; height: clamp(16rem, 39.3vw, 36rem); }
.place { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5rem; align-items: start; margin-top: 3.5rem; }
.place__intro .eyebrow { display: block; margin-bottom: 1.5rem; }
.place__intro p { margin: 1.5rem 0 1.75rem; line-height: 1.7; max-width: 34rem; }
.place__addr { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--c-primary); }
.place__addr:hover { text-decoration: underline; }
.place__addr svg { width: 1.2rem; height: 1.2rem; flex: none; }
.place__cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.place__group h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); padding-bottom: 1rem; margin: 0 0 .25rem; border-bottom: 1px solid var(--c-grey); }
.place__group ul { list-style: none; margin: 0; padding: 0; }
.place__group li { font-family: var(--font-head); font-size: clamp(1.2rem, 1.7vw, 1.6rem); padding: .9rem 0; border-bottom: 1px solid var(--c-grey); }
@media (max-width: 991px) {
  .place { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
  .place__img { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
  .place__img--full { border-radius: var(--radius-xl); aspect-ratio: auto; }
}
@media (max-width: 600px) { .place__cities { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Wertermittlung: gespiegelte Variante (Textkarte links, Bild rechts) ---------- */
.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--c-primary); }
.link-arrow svg { width: 1.25rem; height: 1.25rem; flex: none; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
@media (min-width: 992px) {
  .about--reverse .about__img { grid-column: 6 / 13; }
  .about--reverse .about__img img { object-position: 50% 50%; }
  .about--reverse .about__card { grid-column: 1 / 8; padding: 4rem 4.5rem 4.5rem 4rem; }
}
/* Lange Überschrift („Immobilienmaklerin“) muss in die farbige Karte passen */
@media (min-width: 992px) {
  .about__title { font-size: clamp(1.6rem, 2.9vw, 2.9rem); }
}
@media (min-width: 992px) and (max-width: 1339px) {
  .about__card, .about--reverse .about__card { padding: 3.25rem 3rem 3.75rem; }
}

/* ---------- Kontakt (hell, zweigeteilt) ---------- */
.contact { padding-bottom: calc(var(--section-gap) - var(--frame)); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.contact__copy { padding: 0 5rem 0 0; }
.contact__copy .eyebrow { display: block; margin-bottom: 1.5rem; }
.contact__copy p { margin: 1.5rem 0 2.5rem; line-height: 1.7; max-width: 32rem; }
.contact__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-grey); }
.contact__row { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-grey); }
.contact__ico { flex: none; width: 2rem; display: grid; place-items: center; color: var(--c-primary); }
.contact__ico svg { width: 1.5rem; height: 1.5rem; }
.contact__txt { display: flex; flex-direction: column; min-width: 0; }
.contact__txt small { font-size: .75rem; color: var(--c-text-muted); }
.contact__txt strong { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); overflow-wrap: anywhere; }
.contact__arrow { width: 1.1rem; height: 1.1rem; flex: none; margin-left: auto; color: var(--c-primary); transition: transform .2s ease; }
.contact__row:hover .contact__arrow { transform: translateX(4px); }
.contact__form { padding: 0 0 0 5rem; }
.contact__form h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0 0 2rem; }
.line-field { display: block; margin-bottom: 2rem; }
.line-field > span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: .35rem; }
.line-field input, .line-field select {
  width: 100%; height: 2.75rem; padding: 0 .1rem;
  border: 0; border-bottom: 1.5px solid #C3CBD3; border-radius: 0;
  background: transparent; color: var(--c-text); font: inherit; font-size: 1rem; outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease;
}
.line-field input:focus, .line-field select:focus { border-bottom-color: var(--c-primary); }
.line-field--select { position: relative; }
.line-field--select::after { content: ""; position: absolute; right: .35rem; bottom: 1.2rem; width: .5rem; height: .5rem; border-right: 1.5px solid var(--c-text); border-bottom: 1.5px solid var(--c-text); transform: rotate(45deg); pointer-events: none; }
.line-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.consent { display: flex; align-items: flex-start; gap: .75rem; font-size: .8rem; line-height: 1.5; color: var(--c-text-muted); margin: .25rem 0 2rem; }
.consent input { margin: .2rem 0 0; flex: none; accent-color: var(--c-primary); }
.consent a { text-decoration: underline; color: var(--c-text); }
.contact__form .form-note { color: var(--c-primary); font-weight: 500; font-size: .9rem; margin-top: 1rem; }
/* Desktop: Formular endet unten bündig mit der letzten Linie links; die Meldung hängt darunter und verschiebt nichts */
@media (min-width: 992px) {
  .contact__form { position: relative; }
  .contact__form .form-note { position: absolute; left: 5rem; right: 0; top: 100%; margin: 1rem 0 0; }
}
@media (max-width: 991px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__copy { padding: 0 0 3rem; }
  .contact__form { padding: 0; }
}
@media (max-width: 600px) { .line-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Anpassungen an die schmalere Inhaltsbreite ---------- */
@media (min-width: 992px) {
  .card-dark--split { grid-template-columns: auto 1fr; }
  .card-dark--split h2 { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  .offers { --offers-gap: 2rem; }
  .offer__meta { gap: .75rem; }
  .offer__meta span { font-size: .8rem; }
  .offer__meta strong { font-size: 1.1rem; }
}

/* Umbruch nur auf größeren Bildschirmen: auf dem Handy bleibt der Hero-Untertitel so bei drei Zeilen */
@media (max-width: 600px) { .br-desktop { display: none; } }

/* ---------- Bildband (breites Foto zwischen zwei Sektionen) ---------- */
.banner { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1942 / 809; background: var(--c-grey); }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 991px) { .banner { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); } }
/* Wie die Hero-Karte: schmaler Rand links und rechts, abgerundete Ecken */
/* Bildbänder wie die Hero-Karte: schmaler Rand links und rechts (--frame), abgerundete Ecken */
.banner--full { margin: 0 var(--frame); border-radius: var(--radius-xl); aspect-ratio: auto; height: clamp(16rem, 41.6vw, 36rem); }
.banner--full img { object-position: 50% 45%; }
.banner--ablauf img { object-position: 50% 50%; }

/* ---------- Blog (Karten-Leiste; Inhalte aktuell Platzhalter) ---------- */
.blog__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.blog__all { flex: none; cursor: default; }
.blog__rail {
  --blog-gap: 1.75rem;
  display: flex; gap: var(--blog-gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.blog__rail::-webkit-scrollbar { display: none; }
.post {
  flex: 0 0 calc((100% - 2 * var(--blog-gap)) / 3); min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column;
  border: 1px solid var(--c-grey); border-radius: var(--radius-md); overflow: hidden; background: var(--c-white);
}
.post__img { aspect-ratio: 16 / 9; background: linear-gradient(180deg, #CFD9DF 0%, #B9C6D0 100%); display: grid; place-items: center; }
.post__img span { font-size: .8rem; letter-spacing: .04em; color: var(--c-dark); padding: .4rem .9rem; border: 1px dashed rgba(62,76,92,.6); border-radius: var(--radius-pill); background: rgba(255,255,255,.55); }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; flex: 1 1 auto; }
.post__meta { font-size: .8rem; color: var(--c-text-muted); }
.post__meta i { font-style: normal; margin: 0 .25em; }
.post h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.35; margin: 0; }
.post__more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; color: var(--c-primary); }
.post__more svg { width: 1rem; height: 1rem; }
.offers-nav.blog__nav { justify-content: flex-start; align-items: center; gap: 1rem; }
.blog__dots { display: flex; gap: .5rem; }
.blog__dots span { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c-grey); transition: background .2s ease; }
.blog__dots span.is-active { background: var(--c-primary); }
@media (max-width: 991px) {
  .blog__rail { --blog-gap: 1.25rem; }
  .post { flex-basis: calc((100% - var(--blog-gap)) / 2); }
}
@media (max-width: 600px) {
  .blog__head { flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem; }
  .post { flex-basis: 86%; }
}

/* ---------- FAQ (Intro links, aufklappbare Fragen rechts) ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.faq__intro .eyebrow { display: block; margin-bottom: 1.5rem; }
.faq__intro p { margin: 1.5rem 0 1.75rem; line-height: 1.7; max-width: 24rem; }
.faq__list { border-top: 1px solid var(--c-grey); }
.faq__item { border-bottom: 1px solid var(--c-grey); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-head); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-primary); }
.faq__plus { position: relative; flex: none; width: 1.1rem; height: 1.1rem; color: var(--c-primary); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .25s ease; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__item p { margin: 0; padding: 0 3rem 1.75rem 0; color: var(--c-text-muted); line-height: 1.7; max-width: 44rem; }
@media (max-width: 991px) {
  .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__item summary { padding: 1.25rem 0; }
  .faq__item p { padding-right: 0; }
}

/* ---------- Wertermittlungs-Funnel (mehrstufig, Schritte wie im bisherigen Funnel auf miri.immo) ---------- */
.funnel { background: var(--c-grey-light); border-radius: var(--radius-xl); padding: 4rem 4rem 3rem; }
.funnel__head { text-align: center; margin-bottom: 2rem; }
.funnel__head .eyebrow { display: block; margin-bottom: 1rem; }
.funnel__progress { height: 4px; border-radius: 4px; background: #D5DDE4; overflow: hidden; margin: 0 auto 3rem; max-width: 46rem; }
.funnel__progress i { display: block; height: 100%; width: 8%; background: var(--c-primary); border-radius: 4px; transition: width .4s ease; }
.funnel__form { max-width: 46rem; margin: 0 auto; }
.funnel__step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.funnel__step.is-active { display: block; min-height: 19rem; animation: funnelIn .35s ease; }
@keyframes funnelIn { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
.funnel__step legend { display: block; width: 100%; padding: 0; text-align: center; font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; margin-bottom: 2rem; }
.funnel__step legend small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--c-text-muted); margin-top: .4rem; }
.funnel__badge { display: table; margin: 0 auto 1rem; padding: .35rem .9rem; border-radius: var(--radius-pill); background: #E1F0E6; color: #1E7A42; font-size: .8rem; font-weight: 700; }
.funnel__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.25rem; max-width: 34rem; margin: 0 auto; }
.funnel__cards--3 { max-width: 42rem; }
.funnel__list { display: grid; gap: .75rem; max-width: 34rem; margin: 0 auto; }
.funnel__list[hidden] { display: none; }
.fopt { position: relative; display: flex; align-items: center; gap: 1rem; cursor: pointer; background: var(--c-white); border: 1.5px solid transparent; border-radius: var(--radius-md); padding: 1.1rem 1.25rem; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; box-shadow: 0 4px 16px rgba(20,40,60,.05); }
.fopt:hover { border-color: var(--c-grey); transform: translateY(-1px); }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt:has(input:checked) { border-color: var(--c-primary); box-shadow: 0 6px 20px rgba(20,73,125,.14); }
.fopt:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.fopt svg { width: 1.75rem; height: 1.75rem; flex: none; color: var(--c-primary); }
.fopt--card { flex-direction: column; justify-content: center; text-align: center; gap: .9rem; padding: 2rem 1rem 1.5rem; }
.fopt--card svg { width: 3rem; height: 3rem; }
.fopt .stars { color: #F5B301; }
.fopt .stars svg { width: 1rem; height: 1rem; color: inherit; }
.fopt .stars svg.is-off { color: #D5DDE4; }
.frange { max-width: 30rem; margin: 0 auto; text-align: center; }
.frange output { display: inline-block; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.15rem; padding: .35rem .9rem; border-radius: .5rem; margin-bottom: 1rem; }
.frange input[type="range"] { width: 100%; accent-color: var(--c-primary); cursor: pointer; }
.frange__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--c-text-muted); margin: .25rem 0 1.25rem; }
.frange__field { display: flex; max-width: 14rem; margin: 0 auto; }
.frange__field input { flex: 1 1 auto; min-width: 0; height: 3rem; padding: 0 1rem; border: 1.5px solid #C3CBD3; border-right: 0; border-radius: .6rem 0 0 .6rem; font: inherit; background: var(--c-white); outline: none; }
.frange__field input:focus { border-color: var(--c-primary); }
.frange__field span { display: grid; place-items: center; padding: 0 1rem; background: var(--c-primary); color: #fff; font-weight: 500; border-radius: 0 .6rem .6rem 0; }
.fstep { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.fstep button { width: 3rem; height: 3rem; border-radius: .6rem; border: 0; background: var(--c-primary); color: #fff; font-size: 1.4rem; line-height: 1; }
.fstep button:hover { background: var(--c-primary-dark); }
.fstep input { width: 4.5rem; height: 3rem; text-align: center; border: 1.5px solid #C3CBD3; border-radius: .6rem; font: inherit; font-size: 1.15rem; font-weight: 500; background: var(--c-white); outline: none; -moz-appearance: textfield; }
.fstep input::-webkit-outer-spin-button, .fstep input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fstep__label { text-align: center; font-size: .9rem; color: var(--c-text-muted); margin-top: .75rem; }
.ffields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; max-width: 34rem; margin: 0 auto; }
.ffield { grid-column: span 6; display: block; }
.ffield--4 { grid-column: span 4; } .ffield--3 { grid-column: span 3; } .ffield--2 { grid-column: span 2; }
.ffield > span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: .35rem; }
.ffield input { width: 100%; height: 3.25rem; padding: 0 1rem; border: 1.5px solid #C3CBD3; border-radius: .6rem; background: var(--c-white); font: inherit; outline: none; transition: border-color .2s ease; }
.ffield input:focus { border-color: var(--c-primary); }
.funnel .consent { grid-column: span 6; margin: .25rem 0 0; }
.funnel__error { min-height: 1.5rem; margin: 1.25rem auto 0; text-align: center; font-size: .9rem; color: #B93A2E; }
.funnel__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.funnel__back { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid #C3CBD3; background: var(--c-white); color: var(--c-text); display: grid; place-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.funnel__back:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.funnel__back svg { width: 1.1rem; height: 1.1rem; }
.funnel__back[hidden], .funnel__next[hidden] { display: none; }
.funnel__next { margin-left: auto; }
.funnel__done { text-align: center; padding: 1rem 0 1.5rem; }
.funnel__done.is-active { min-height: 0; }
.funnel__done svg { width: 3.5rem; height: 3.5rem; color: #2E9E5B; margin-bottom: 1rem; }
.funnel__done h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 .75rem; }
.funnel__done p { color: var(--c-text-muted); max-width: 30rem; margin: 0 auto; line-height: 1.7; }
@media (max-width: 991px) { .funnel { padding: 2.5rem 1.5rem 2rem; border-radius: var(--radius-lg); } .funnel__progress { margin-bottom: 2rem; } }
@media (max-width: 600px) {
  .funnel { padding: 2rem 1.1rem 1.5rem; }
  .funnel__cards--3 { grid-template-columns: 1fr; }
  .ffield--3 { grid-column: span 6; }
}
.funnel__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.funnel__next:disabled { opacity: .6; cursor: default; }

/* ---------- SEO: Ortsangabe über der Hero-Überschrift ---------- */
.hero__kicker { display: block; margin-bottom: 1.1rem; font-family: var(--font-body); font-size: clamp(.72rem, .9vw, .85rem); font-weight: 700; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* ---------- Blog: ganze Karte klickbar, sobald ein Beitrag verlinkt ist ---------- */
.post { position: relative; }
.post__link { color: inherit; }
.post__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post:has(.post__link):hover { box-shadow: 0 12px 30px rgba(20,40,60,.1); }
.post:has(.post__link):hover .post__more svg { transform: translateX(4px); }
.post__more svg { transition: transform .2s ease; }

/* ---------- Ratgeber-Artikelseiten ---------- */
.page-article .nav__bar { box-shadow: 0 0 0 1px var(--c-grey); }
.article { padding: calc(var(--frame) + var(--nav-h) + 3.5rem) 0 calc(var(--section-gap) - var(--frame)); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--c-text-muted); max-width: 46rem; margin: 0 auto 2.5rem; }
.crumbs a { color: var(--c-text-muted); text-decoration: underline; text-underline-offset: .2em; }
.crumbs a:hover { color: var(--c-primary); }
.article__inner { max-width: 46rem; margin: 0 auto; }
.article__inner .eyebrow { display: block; margin-bottom: 1.25rem; }
.article__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.2; margin: 0 0 2.5rem; }
.article__body { font-size: 1.075rem; line-height: 1.8; }
.article__body p { margin: 0 0 1.4rem; }
.article__body h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; text-transform: none; letter-spacing: 0; margin: 2.75rem 0 1rem; }
.article__src { display: inline-block; margin-left: .35rem; font-size: .8rem; color: var(--c-text-muted); text-decoration: underline; text-underline-offset: .2em; }
.article__cta { max-width: 46rem; margin: 4rem auto 2.5rem; }
.article__back { display: flex; max-width: 46rem; margin: 0 auto; }
@media (max-width: 600px) { .article { padding-top: calc(var(--frame) + var(--nav-h) + 2rem); } .article__body { font-size: 1rem; } }
.article__tip { margin: 1.75rem 0 1.75rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--c-primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--c-grey-light); font-family: var(--font-head); font-size: 1.05rem; line-height: 1.6; }
.article__tip strong { display: block; margin-bottom: .35rem; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.article__img { margin: 0 0 2.5rem; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-grey); }
.article__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .article__img { border-radius: var(--radius-lg); margin-bottom: 2rem; } }

/* ---------- Blogkarten: Kategorie als Kästchen plus Datum ---------- */
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.post__tag { padding: .35rem .7rem; border: 1px solid var(--c-grey); border-radius: .5rem; background: var(--c-grey-light); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); }

/* ---------- Artikelseiten: Kopf mit Autorin, zweispaltig mit Seitenleiste ---------- */
.crumbs, .article__inner, .article__cta, .article__back { max-width: none; margin-left: 0; margin-right: 0; }
.article__head { max-width: 56rem; margin-bottom: 2.75rem; }
.article__head .eyebrow { display: block; margin-bottom: 1.25rem; }
.article__head .article__title { margin-bottom: 1.75rem; }
.article__author { display: flex; align-items: center; gap: 1rem; }
.article__author img { width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; flex: none; }
.article__author strong { display: block; font-weight: 500; }
.article__author span { font-size: .9rem; color: var(--c-text-muted); }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; align-items: start; }
.article__summary { margin: 0 0 2.5rem; padding: 2rem 2.25rem; border: 1px solid var(--c-grey); border-radius: var(--radius-lg); background: var(--c-grey-light); }
.article__summary h2 { margin: 0 0 1.25rem; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-primary); }
.article__summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.article__summary li { position: relative; padding-left: 2rem; line-height: 1.6; }
.article__summary li::before { content: ""; position: absolute; left: .2rem; top: .35em; width: .55rem; height: .9rem; border: solid var(--c-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.article__body h2 { scroll-margin-top: 2rem; }
.article__cta { margin-top: 3.5rem; }
.article__side { display: grid; gap: 1.5rem; }
.side-box { padding: 1.75rem; border: 1px solid var(--c-grey); border-radius: var(--radius-lg); background: var(--c-white); }
.side-box__label, .side-value__label { display: block; margin-bottom: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-text-muted); }
.side-toc ol { list-style: none; margin: 0; padding: 0; }
.side-toc li { border-top: 1px solid var(--c-grey); }
.side-toc a { display: flex; gap: .9rem; padding: .8rem 0; font-size: .95rem; font-weight: 500; line-height: 1.4; color: var(--c-text); }
.side-toc a span { flex: none; font-size: .8rem; color: var(--c-text-muted); padding-top: .1rem; }
.side-toc a:hover { color: var(--c-primary); }
.side-value { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--c-dark); color: #fff; }
.side-value__label { color: rgba(255,255,255,.7); }
.side-value h2 { margin: 0 0 .75rem; font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.side-value p { margin: 0 0 1.5rem; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.8); }
.side-value .btn { width: 100%; justify-content: center; }
.side-value__foot { display: flex; justify-content: space-between; margin: 1.5rem -1.75rem -1.75rem; padding: 1rem 1.75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.65); }
.side-post { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--c-grey); color: var(--c-text); }
.side-post img { width: 5rem; height: 3.75rem; border-radius: .6rem; object-fit: cover; flex: none; }
.side-post small { display: block; margin-bottom: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); }
.side-post span { font-weight: 500; font-size: .92rem; line-height: 1.4; }
.side-post:hover span { color: var(--c-primary); }
@media (max-width: 1099px) { .article__layout { grid-template-columns: minmax(0, 1fr) 18rem; gap: 2.5rem; } }
@media (max-width: 991px) {
  .article__layout { grid-template-columns: 1fr; gap: 3rem; }
  .article__summary { padding: 1.5rem 1.25rem; }
}

/* ---------- Über mich: Kennzahlen ---------- */
.about__stats { list-style: none; margin: 1.75rem 0 2.25rem; padding: 1.25rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--c-grey); border-bottom: 1px solid var(--c-grey); }
.about__stats li { display: flex; flex-direction: column; gap: .3rem; }
.about__stats strong { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; color: var(--c-primary); }
.about__stats span { font-size: .8rem; line-height: 1.35; color: var(--c-text-muted); }
.about__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about__stats span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 600px) { .about__stats { gap: .75rem; } .about__stats span { font-size: .72rem; } }

/* ---------- Kundenstimmen: Linie über dem Namen in allen Karten auf gleicher Höhe ---------- */
@media (min-width: 992px) {
  @supports (grid-template-rows: subgrid) {
    .reviews__grid { grid-template-rows: auto auto; row-gap: 0; }
    .review { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
    .review footer { margin-top: 0; }
  }
}

/* ---------- Blog: bei drei Beiträgen passen am Desktop alle nebeneinander, Pfeile ausblenden ---------- */
@media (min-width: 992px) { .blog__nav { display: none; } }

/* ---------- Vorteile auf dem Handy: wischbare Leiste, ein Punkt plus halber nächster sichtbar ---------- */
@media (max-width: 600px) {
  .benefits__list {
    display: flex; gap: 1rem; max-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .25rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .benefits__list::-webkit-scrollbar { display: none; }
  .benefit { flex: 0 0 64%; scroll-snap-align: start; padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); background: var(--c-grey-light); }
}

/* ---------- Funnel auf dem Handy: Auswahlkarten als Balken untereinander, Icon links ---------- */
@media (max-width: 600px) {
  .funnel__cards, .funnel__cards--3 { grid-template-columns: 1fr; gap: .75rem; }
  .fopt--card { flex-direction: row; justify-content: flex-start; text-align: left; gap: 1rem; padding: 1.1rem 1.25rem; }
  .fopt--card svg { width: 1.75rem; height: 1.75rem; }
  .fopt--card .stars { order: 2; margin-left: auto; }
}
@media (max-width: 600px) { .funnel__step.is-active { min-height: 0; } }

/* ---------- Kundenstimmen: obere Linie in drei Stücke wie die Linien unter den Bewertungen ---------- */
@media (min-width: 992px) {
  .reviews__head {
    --col: calc((100% - 8rem) / 3);
    border-bottom: 0;
    background: linear-gradient(to right,
      var(--c-grey) 0 var(--col),
      transparent 0 calc(var(--col) + 4rem),
      var(--c-grey) 0 calc(2 * var(--col) + 4rem),
      transparent 0 calc(2 * var(--col) + 8rem),
      var(--c-grey) 0) left bottom / 100% 1px no-repeat;
  }
}
.benefit p strong { color: var(--c-primary); font-weight: 700; }

/* ---------- Funnel: deutlicher Zurück-Button mit Text ---------- */
.funnel__back { width: auto; height: auto; display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid var(--c-primary); background: var(--c-white); color: var(--c-primary); font: inherit; font-weight: 700; cursor: pointer; }
.funnel__back:hover { background: var(--c-primary); color: #fff; }
.funnel__back[hidden] { display: none; }
.review footer strong { font-weight: 700; color: var(--c-text); }

/* ---------- Entrümpelung: Bild links, Karte rechts; Platzhalter bis das Foto da ist ---------- */
.about--clear .svc-checks { margin: -.75rem 0 2.25rem; }
.about__img--ph { display: grid; place-items: center; background: var(--c-grey); }
.about__img--ph span { font-size: .8rem; letter-spacing: .04em; color: var(--c-dark); padding: .4rem .9rem; border: 1px dashed rgba(62,76,92,.6); border-radius: var(--radius-pill); background: rgba(255,255,255,.55); }
.about--clear .about__img img { object-position: 40% 50%; }

/* ---------- Standort: Bürositz-Kasten und Orte von Aachen bis Köln ---------- */
.place__office { display: inline-flex; flex-direction: column; gap: .35rem; margin-top: .25rem; padding: 1.4rem 1.75rem 1.5rem; background: var(--c-white); border-radius: var(--radius-lg); border-left: 4px solid var(--c-primary); box-shadow: 0 10px 30px rgba(20,73,125,.06); }
.place__office-label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.place__intro .place__office p { margin: 0 0 .5rem; line-height: 1.5; color: var(--c-text); font-weight: 500; }
.place__addr { font-size: 1.1rem; font-weight: 700; }
.place__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
.place__cities .place__group:first-child { grid-row: auto; }
@media (max-width: 600px) {
  .place__cities { grid-template-columns: 1fr; }
  .place__cities .place__group:first-child { grid-row: auto; }
}

/* ---------- Angebote: Hinweis, solange kein Objekt online ist ---------- */
.offers-empty { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 3rem 3.5rem; background: var(--c-white); border-radius: var(--radius-xl); border-left: 4px solid var(--c-primary); }
.offers-empty__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.offers-empty__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; color: var(--c-text); }
.offers-empty p:not(.offers-empty__title) { margin: 0 0 1rem; color: var(--c-text-muted); line-height: 1.7; max-width: 40rem; }
@media (max-width: 600px) { .offers-empty { padding: 2rem 1.5rem; border-radius: var(--radius-lg); } }
.place__col { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
#ueber-mich .about__img img { object-position: 64% 30%; }

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 50rem; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.legal h2 { margin: 2.75rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 2rem 0 .75rem; }
.legal h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.legal ul { margin: 0 0 1.4rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--c-primary); text-decoration: underline; text-underline-offset: .2em; }
