/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #de0000;
  --red-dark:    #b50000;
  --dark:        #1a1a1a;
  --dark2:       #222222;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --gray-border: #e0e0e0;
  --text:        #333333;
  --text-light:  #666666;
  --font:        'Open Sans', Arial, sans-serif;
  --header-h:    80px;
  --max-w:       1200px;
  --radius:      6px;
  --shadow:      0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:   0 4px 24px rgba(0,0,0,0.15);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo img {
  height: 72px;
  width: auto;
  border-radius: 4px;
  transition: opacity var(--transition);
}
.header-logo:hover img { opacity: 0.85; }

/* Desktop Nav */
.main-nav { flex: 1; display: flex; justify-content: flex-end; align-items: stretch; gap: 0; align-self: stretch; }
.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-list li {
  display: flex;
  align-items: stretch;
}
.nav-link {
  display: flex;
  align-items: center;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0 14px;
  border-radius: 0;
  transition: all var(--transition);
  white-space: nowrap;
  height: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--red);
}
.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  font-size: 1rem;
  padding: 0 12px;
  display: flex;
  align-items: center;
  align-self: stretch;
  transition: color var(--transition);
}
.nav-search-btn:hover { color: var(--red); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: min(290px, 85vw);
  height: calc(100vh - var(--header-h));
  background: var(--dark);
  z-index: 900;
  transition: right var(--transition);
  overflow-y: auto;
  padding: 20px 0;
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--white); background: var(--red); padding-left: 32px; }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 800;
}
.mobile-overlay.open { display: block; }

/* ===== PAGE BANNER (alle Seiten, inkl. Startseite) ===== */
.page-banner {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  background-image: url('../images/banner-hero.png');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}
.page-banner h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ===== HERO SEARCH SECTION (Startseite, split layout) ===== */
.hero-search-section {
  background: var(--gray-light);
}
.hero-search-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.hero-search-img {
  background-size: cover;
  background-position: center;
  margin: 20px;
  border-radius: 8px;
  min-height: 380px;
}
.hero-search-form {
  padding: 40px 50px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.hero-search-form h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}
.hero-search-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-search-form select,
.hero-search-form input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
}
.hero-search-form select:focus,
.hero-search-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.hero-search-form form .btn {
  align-self: center;
  padding: 9px 28px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== PAGE TITLE BAR ===== */
.page-title-bar {
  background: var(--dark);
  padding: 32px 0;
}
.page-title-bar h1 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
}
.breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 6px; }

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}
.section-gray { background: var(--gray-light); }
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Section label above heading */
.label-red {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== CONTENT SPLIT ===== */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.content-split__img {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  min-height: 420px;
}
.content-split__text {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.content-split__text h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.content-split__text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin-top: 12px;
}
.content-split__text p { color: var(--text-light); line-height: 1.75; }
.content-split__text a.link-read {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.95rem;
}
.content-split__text a.link-read:hover { color: var(--red-dark); }

/* ===== SERVICE ICONS GRID ===== */
.services-section {
  padding: 70px 0;
}
.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-light);
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-item {
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-item__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.service-item__body {
  padding: 18px 16px 22px;
}
.service-item__body::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
}
.service-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FILIALEN ===== */
.filialen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.filiale-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.filiale-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.filiale-card__img {
  height: 180px;
  overflow: hidden;
  background: var(--gray-light);
}
.filiale-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.filiale-card:hover .filiale-card__img img { transform: scale(1.05); }
.filiale-card__body { padding: 20px; }
.filiale-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.filiale-card__body address {
  font-style: normal;
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.7;
}
.filiale-card__body a { color: var(--red); }
.filiale-card__body a:hover { color: var(--red-dark); }
.filiale-card__footer { padding: 0 20px 20px; }

/* ===== KONTAKT ===== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(204,0,0,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 3px; flex-shrink: 0; accent-color: var(--red); }
.form-check label { font-size: 0.85rem; color: var(--text-light); }
.required { color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.kontakt-info { }
.kontakt-info h3 { font-size: 1.1rem; margin-bottom: 20px; }
.kontakt-row { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.kontakt-row i { color: var(--red); margin-top: 3px; width: 18px; }
.kontakt-row span, .kontakt-row a { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.kontakt-row a:hover { color: var(--white); }

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Honeypot */
.hp-field { display: none !important; position: absolute; left: -9999px; }

/* ===== CONTENT PAGE (Verkauf, Neubau, etc.) ===== */
.content-page { padding: 60px 0; }
.content-page__img {
  float: right;
  margin: 0 0 24px 32px;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.content-page__img img { width: 100%; height: auto; display: block; }
.content-page h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.content-page h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 24px 0 10px; }
.content-page p { color: var(--text-light); margin-bottom: 14px; line-height: 1.75; }
.content-page ol,
.content-page ul { padding-left: 20px; margin-bottom: 14px; }
.content-page ol { list-style: decimal; }
.content-page ul { list-style: disc; }
.content-page li { color: var(--text-light); margin-bottom: 8px; line-height: 1.65; }
.content-page address { font-style: normal; }

.clearfix::after { content: ''; display: table; clear: both; }

/* ===== IMPRESSUM / DATENSCHUTZ ===== */
.legal-page { padding: 60px 0; max-width: 800px; }
.legal-page h1 { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 28px 0 10px; }
.legal-page h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.legal-page p { color: var(--text-light); margin-bottom: 14px; line-height: 1.75; }
.legal-page ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.legal-page li { color: var(--text-light); margin-bottom: 6px; }
.legal-page address { font-style: normal; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--red);
  color: rgba(255,255,255,0.9);
  padding: 0;
  margin-top: 0;
}
.footer-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 60px;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px 28px;
}
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--red); color: var(--white); }

/* ===== PROPERTY CARDS ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
  color: inherit;
}
.property-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.property-card__img { height: 200px; overflow: hidden; background: var(--gray-light); position: relative; }
.property-card__img img { width: 100%; height: 100%; object-fit: cover; }
.property-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.property-card__body { padding: 18px; }
.property-card__price { font-size: 1.15rem; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.property-card__title { font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.95rem; }
.property-card__location { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; }
.property-card__meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--text-light); }

/* ===== RESPONSIVE ===== */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .nav-link { padding: 8px 8px; font-size: 0.82rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .filialen-grid  { grid-template-columns: repeat(2, 1fr); }
  .property-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .content-split { grid-template-columns: 1fr; }
  .content-split__img { min-height: 260px; border-radius: var(--radius); order: -1; }
  .content-split__text { padding: 40px 32px; }
  .kontakt-layout { grid-template-columns: 1fr; }
  .hero-search-split { grid-template-columns: 1fr; }
  .hero-search-img { min-height: 220px; margin: 12px; border-radius: 6px; }
  .hero-search-form { padding: 24px 20px; }
  .hero-search-form form { width: 100%; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  .page-banner { height: 150px; }
  .page-banner h1 { font-size: 1.5rem; }
  .page-hero { height: 150px; }
  .page-hero h1 { font-size: 1.5rem; }

  .services-grid,
  .filialen-grid,
  .property-grid { grid-template-columns: 1fr; }

  .content-page__img { float: none; margin: 0 0 24px; max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .content-split__text { padding: 28px 20px; }
}

/* Smart TV ≥ 1600px */
@media (min-width: 1600px) {
  :root { --max-w: 1400px; }
  .service-item__img { height: 260px; }
}

/* ===== PAGE HERO (inner pages) — uses same banner as homepage ===== */
.page-hero {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  background-image: url('../images/banner-hero.png');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.page-hero .hero-sub {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-size: 0.95rem;
}
.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* ===== SERVICE LIST ===== */
.service-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 8px 0 16px;
}
.service-list li {
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.65;
  padding-left: 4px;
}
.service-list--dash {
  list-style: none;
  padding-left: 0;
}
.service-list--dash li::before {
  content: '– ';
  color: var(--red);
}

/* ===== CONTACT LIST (Neubau phone/email) ===== */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.contact-list i { color: var(--red); width: 16px; }
.contact-list a { color: var(--red); font-weight: 600; }
.contact-list a:hover { color: var(--red-dark); }

/* ===== FILIALEN intro ===== */
.filialen-intro {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 700px;
}

/* ===== NEUBAU ===== */
.neubau-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 16px;
}
.neubau-list li {
  color: var(--text-light);
  line-height: 1.8;
}
.neubau-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}
.neubau-contact a { color: var(--red); }

/* ===== FINANZIERUNG: HW-Partner ===== */
.hw-partner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.hw-logo {
  width: 180px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hw-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.hw-info p { color: var(--text-light); margin-bottom: 14px; }
.hw-info .service-list { margin-bottom: 20px; }
.hw-info address {
  font-style: normal;
  color: var(--text-light);
  line-height: 1.8;
}
.hw-info address p { margin-bottom: 10px; }
.hw-info address a { color: var(--red); }

/* ===== FILIALEN page ===== */
.filiale-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.filiale-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.filiale-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.filiale-img--logo {
  background-size: 40%;
  background-repeat: no-repeat;
  background-color: var(--white);
}
.filiale-img--placeholder {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-border);
  font-size: 2.5rem;
}
.filiale-body {
  padding: 24px;
}
.filiale-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.filiale-body address {
  font-style: normal;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.filiale-contact {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filiale-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.filiale-contact i { color: var(--red); width: 14px; }
.filiale-contact a { color: var(--red); }
.filiale-contact a:hover { color: var(--red-dark); }

/* ===== KONTAKT page forms ===== */
.kontakt-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(204,0,0,0.12);
}
.kontakt-form textarea { resize: vertical; min-height: 130px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-group--check input[type=checkbox] {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--red);
}
.form-group--check label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}
.kontakt-info-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  color: var(--text);
}
.kontakt-logo {
  width: 100px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 4px;
}
.kontakt-info-card h3 {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.kontakt-info-card address {
  font-style: normal;
}
.kontakt-info-card address p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
}
.kontakt-info-card address i { color: var(--red); margin-top: 3px; width: 14px; }
.kontakt-info-card address a { color: var(--text); }
.kontakt-info-card address a:hover { color: var(--red); }
.kontakt-hours { margin-top: 20px; }
.kontakt-hours h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.kontakt-hours table { width: 100%; border-collapse: collapse; }
.kontakt-hours td {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding: 3px 0;
}
.kontakt-hours td:first-child { font-weight: 600; color: rgba(255,255,255,0.9); width: 80px; }
.kontakt-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

/* ===== FINANZIERUNG ===== */
.fin-hero-section { padding-top: 50px; padding-bottom: 20px; }
.fin-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
}
.fin-hero-card {
  background: var(--gray-light);
  padding: 48px 56px;
}
.fin-hero-img {
  flex-shrink: 0;
}
.fin-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fin-badge {
  display: inline-block;
  background: rgba(222,0,0,0.1);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.fin-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.fin-hero-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}
.fin-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.fin-stats-section { background: var(--white); padding: 40px 0; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.fin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fin-stat { display: flex; flex-direction: column; gap: 4px; }
.fin-stat__num { font-size: 1.8rem; font-weight: 700; color: var(--dark); }
.fin-stat__label { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }

.fin-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}
.fin-leistung-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.fin-leistung-card {
  flex: 0 1 calc(33.333% - 14px);
  min-width: 220px;
}
.fin-leistung-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 24px;
}
.fin-leistung-icon { font-size: 1.4rem; color: var(--red); margin-bottom: 12px; display: block; }
.fin-leistung-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.fin-leistung-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

.fin-prozess-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fin-prozess-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 24px;
}
.fin-prozess-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(222,0,0,0.1);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.fin-prozess-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.fin-prozess-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

.fin-rechner-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.fin-rechner-wrap .fin-section-title {
  text-align: left;
}
.fin-rechner {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 36px 40px;
}
.fin-slider-row { margin-bottom: 24px; }
.fin-slider-row label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }
.fin-slider-wrap { display: flex; align-items: center; gap: 16px; }
.fin-slider-wrap input[type=range] {
  flex: 1;
  accent-color: var(--red);
  height: 4px;
}
.fin-slider-val { font-size: 0.95rem; font-weight: 700; color: var(--dark); min-width: 90px; text-align: right; }
.fin-rechner-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
  margin-top: 8px;
}
.fin-result-col { display: flex; flex-direction: column; gap: 4px; }
.fin-result-label { font-size: 0.8rem; color: var(--text-light); }
.fin-result-val { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.fin-result-val--green { color: #1a7a3c; }

.fin-faq { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.fin-faq-item { border: 1px solid var(--gray-border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.fin-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}
.fin-faq-q i { transition: transform var(--transition); flex-shrink: 0; color: var(--text-light); }
.fin-faq-item.open .fin-faq-q i { transform: rotate(180deg); }
.fin-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fin-faq-item.open .fin-faq-a { max-height: 300px; }
.fin-faq-a p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .fin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fin-prozess-grid { grid-template-columns: repeat(2, 1fr); }
}
.fin-partner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}
.fin-partner-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.fin-partner-info {
  text-align: center;
}
.fin-partner-info p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 6px;
}
.fin-partner-info a {
  color: #119ed3;
  font-weight: 600;
}
.fin-partner-info a:hover { color: #0d7aa3; }
@media (max-width: 600px) {
  .fin-partner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .fin-partner-logo { max-width: 160px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .fin-hero-wrap { grid-template-columns: 1fr; }
  .fin-hero-img { max-height: 260px; }
}
@media (max-width: 768px) {
  .fin-hero-card { padding: 28px 24px; }
  .fin-leistung-grid { grid-template-columns: 1fr; }
  .fin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fin-prozess-grid { grid-template-columns: 1fr; }
  .fin-rechner { padding: 24px 20px; }
  .fin-rechner-result { grid-template-columns: 1fr; }
}

/* ===== VERKAUF two-column layout ===== */
.verkauf-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}
.verkauf-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.verkauf-text p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .verkauf-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===== IMPRESSUM two-column layout ===== */
.impressum-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
  max-width: 900px;
}
.impressum-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.impressum-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.impressum-text p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.impressum-text a {
  color: var(--red);
}
.impressum-text a:hover {
  color: var(--red-dark);
}
@media (max-width: 600px) {
  .impressum-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .impressum-logo { max-width: 180px; }
}

/* ===== LEGAL (Impressum, Datenschutz) ===== */
.legal-content {
  max-width: 800px;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.legal-content p { color: var(--text-light); margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.legal-content li { color: var(--text-light); margin-bottom: 6px; line-height: 1.65; }
.legal-content address { font-style: normal; }
.legal-content a { color: var(--red); }

/* ===== OBJEKTE (Listing) ===== */
.objekte-filter-bar { padding: 20px 0; }
.objekte-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.objekte-filter select,
.objekte-filter input {
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  flex: 1;
  min-width: 140px;
}
.objekte-filter select:focus,
.objekte-filter input:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.objekte-count {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.objekte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.objekt-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  color: inherit;
  text-decoration: none;
}
.objekt-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}
.objekt-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}
.objekt-card__img img { width: 100%; height: 100%; object-fit: cover; }
.objekt-card__no-img {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2.5rem;
}
.objekt-card__art {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.objekt-card__body { padding: 18px; }
.objekt-card__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.objekt-card__ort {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.objekt-card__facts {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.objekt-card__facts span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.objekt-card__preis {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}
.objekte-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.objekte-empty i { font-size: 3rem; color: #ccc; margin-bottom: 16px; display: block; }
.objekte-empty p { margin-bottom: 20px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination__btn {
  padding: 8px 16px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
}
.pagination__btn:hover,
.pagination__btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ===== OBJEKT-DETAIL ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.detail-gallery { margin-bottom: 32px; }
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--gray-light);
  max-height: 480px;
}
.gallery-main img { width: 100%; height: 480px; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  opacity: 0.75;
}
.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--red);
  opacity: 1;
}
.detail-no-img {
  height: 300px;
  background: var(--gray-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ccc;
  font-size: 3rem;
  margin-bottom: 32px;
}
.detail-no-img p { font-size: 0.9rem; color: var(--text-light); }
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.fact__val { font-size: 1rem; font-weight: 700; color: var(--dark); }
.detail-section { margin-bottom: 36px; }
.detail-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.detail-text { color: var(--text-light); line-height: 1.75; }
.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.detail-table tr { border-bottom: 1px solid var(--gray-border); }
.detail-table th {
  text-align: left;
  width: 40%;
  padding: 10px 12px;
  color: var(--text-light);
  font-weight: 600;
  background: var(--gray-light);
}
.detail-table td {
  padding: 10px 12px;
  color: var(--dark);
}

/* Sidebar */
.detail-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-price-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.price-value { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.price-value small { font-size: 0.9rem; font-weight: 400; }
.sidebar-contact {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: none;
  padding: 24px;
}
.sidebar-contact h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}
.sidebar-form input,
.sidebar-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.sidebar-form input:focus,
.sidebar-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(204,0,0,0.1);
}
.sidebar-form textarea { resize: vertical; }
.sidebar-form .form-group { margin-bottom: 12px; }
.sidebar-form .form-group--check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.sidebar-form .form-group--check input { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--red); }
.sidebar-form .form-group--check label { font-size: 0.8rem; color: var(--text-light); }
.btn--full { width: 100%; justify-content: center; }
.sidebar-agent {
  border: 1px solid var(--gray-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-light);
}
.agent-foto { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.agent-info { display: flex; flex-direction: column; gap: 4px; }
.agent-info strong { font-size: 0.9rem; color: var(--dark); }
.agent-info a { font-size: 0.85rem; color: var(--red); display: flex; align-items: center; gap: 6px; }

/* Responsive additions */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .hw-partner { grid-template-columns: 1fr; }
  .objekte-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .form-row--2 { grid-template-columns: 1fr; }
  .filialen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .objekte-filter { flex-direction: column; }
  .objekte-filter select,
  .objekte-filter input { min-width: 100%; }
  .objekte-grid { grid-template-columns: 1fr; }
  .filialen-grid { grid-template-columns: 1fr; }
  .gallery-main img { height: 260px; }
}

/* ===== SUCHE (Ergebnisseite) ===== */
.suche-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  max-width: 680px;
}
.suche-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.suche-input-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(222,0,0,0.10);
}
.suche-input-wrap i { color: var(--text-light); flex-shrink: 0; }
.suche-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
  background: transparent;
}
.suche-hint {
  color: var(--text-light);
  margin-top: 8px;
}
.suche-count {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.suche-results { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.suche-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--dark);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.suche-result-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
  color: var(--dark);
}
.suche-result-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}
.suche-result-body { flex: 1; min-width: 0; }
.suche-result-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.suche-result-desc  { font-size: 0.88rem; color: var(--text); line-height: 1.5; margin-bottom: 4px; }
.suche-result-url   { font-size: 0.78rem; color: var(--text-light); }
.suche-result-arrow { color: var(--gray-border); font-size: 0.8rem; flex-shrink: 0; }
.suche-result-card:hover .suche-result-arrow { color: var(--red); }

/* ===== NAV INLINE SEARCH ===== */
.main-nav { position: relative; }
.nav-search-wrap {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.38s cubic-bezier(0.4,0,0.2,1),
              opacity 0.25s ease;
  opacity: 0;
}
.nav-search-wrap.open {
  max-width: 280px;
  opacity: 1;
}
.nav-search-form {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-search-input {
  width: 240px;
  padding: 5px 10px 5px 4px;
  border: none;
  border-bottom: 2px solid var(--red);
  outline: none;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--dark);
  background: transparent;
  white-space: nowrap;
}
.nav-search-input::placeholder { color: #aaa; }

/* Results dropdown */
.nav-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.15);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  z-index: 500;
  max-height: 420px;
  overflow-y: auto;
}
.nav-search-dropdown.open { display: block; }

.search-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 10px 20px 4px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  text-decoration: none;
  color: var(--dark);
  transition: background var(--transition);
}
.search-result-item:hover { background: var(--gray-light); color: var(--dark); }
.search-result-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.search-result-item__body { flex: 1; min-width: 0; }
.search-result-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-item__sub {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.search-result-item__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}
.search-no-results {
  padding: 24px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}
.search-divider {
  height: 1px;
  background: var(--gray-border);
  margin: 4px 0;
}

/* ===== NEUBAU page ===== */
.neubau-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.neubau-hero-section { padding-bottom: 60px; }
.neubau-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.neubau-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}
.neubau-hero-sub {
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}
.neubau-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 8px;
}
.neubau-check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.neubau-check-list li i { color: var(--red); }
.neubau-hero-img {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  min-height: 400px;
  height: 100%;
}

/* Stats bar */
.neubau-stats-bar {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 28px 0;
}
.neubau-stats-grid {
  display: flex;
  justify-content: center;
}
.neubau-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 52px;
  border-right: 1px solid var(--gray-border);
}
.neubau-stat:last-child { border-right: none; }
.neubau-stat__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.neubau-stat__label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
  text-align: center;
}

/* Reasons grid */
.neubau-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.neubau-reason-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px;
}
.neubau-reason-icon {
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.neubau-reason-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.neubau-reason-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* Process list */
.neubau-prozess-list { max-width: 720px; }
.neubau-prozess-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-border);
  align-items: flex-start;
}
.neubau-prozess-item:first-child { border-top: 1px solid var(--gray-border); }
.neubau-prozess-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 2px solid var(--gray-border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.neubau-prozess-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.neubau-prozess-item p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.neubau-faq { max-width: 720px; }
.neubau-faq-item { border-bottom: 1px solid var(--gray-border); }
.neubau-faq-item:first-child { border-top: 1px solid var(--gray-border); }
.neubau-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}
.neubau-faq-q i { transition: transform var(--transition); flex-shrink: 0; color: var(--text-light); }
.neubau-faq-item.open .neubau-faq-q i { transform: rotate(180deg); }
.neubau-faq-a { display: none; padding-bottom: 20px; }
.neubau-faq-item.open .neubau-faq-a { display: block; }
.neubau-faq-a p { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin: 0; }

/* CTA box */
.neubau-cta {
  background: var(--gray-light);
  border: 1px solid #c8c8c8;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
}
.neubau-cta-text {
  padding: 48px 56px;
}
.neubau-cta h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.neubau-cta p {
  color: var(--text);
  margin-bottom: 28px;
}
.neubau-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.neubau-cta-img {
  width: 500px;
  flex-shrink: 0;
}
.neubau-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact block */
.neubau-contact-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}
.neubau-contact-logo {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}
.neubau-contact-block p { margin: 0; }
.neubau-contact-block a { color: var(--red); }
.neubau-contact-block a:hover { color: var(--red-dark); }

/* Neubau responsive */
@media (max-width: 900px) {
  .neubau-hero-split { grid-template-columns: 1fr; }
  .neubau-hero-img { min-height: 260px; order: -1; }
  .neubau-reasons-grid { grid-template-columns: 1fr; }
  .neubau-stat { padding: 0 28px; }
  .neubau-cta { grid-template-columns: 1fr; }
  .neubau-cta-img { width: 100%; height: 220px; }
  .neubau-cta-text { padding: 32px 28px; }
  .neubau-contact-block { flex-direction: column; gap: 20px; text-align: center; }
}

/* ===== OBJEKT-LISTE (Suchergebnisse) ===== */
.objekte-results-head { margin-bottom: 20px; }
.objekt-list { display: flex; flex-direction: column; gap: 16px; }

.objekt-list-item {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--dark);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.objekt-list-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: var(--dark);
}
.objekt-list-item__thumb {
  width: 220px;
  min-width: 220px;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--gray-light);
}
.objekt-list-item__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.objekt-list-item:hover .objekt-list-item__thumb img { transform: scale(1.04); }
.objekt-list-item__no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 2.2rem;
}
.objekt-list-item__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.objekt-list-item__body {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.objekt-list-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}
.objekt-list-item__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.objekt-list-item__facts span {
  display: flex; align-items: center; gap: 5px;
}
.objekt-list-item__preis {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  margin: 0;
}
.objekt-list-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.objekt-list-item__nr { font-size: 0.78rem; }
.objekt-list-item__arrow {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--gray-border);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.objekt-list-item:hover .objekt-list-item__arrow { color: var(--red); }

/* ===== OBJEKT-DETAIL ===== */
.od-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.od-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.od-breadcrumb a:hover { color: var(--white); }
.od-breadcrumb i { font-size: 0.65rem; }
.od-hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 6px 0 0;
}

/* Galerie */
.od-gallery { margin-bottom: 36px; }
.od-gallery__main {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--gray-light);
}
.od-gallery__main img {
  width: 100%; max-height: 480px;
  object-fit: cover; display: block;
}
.od-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.od-gallery__thumb {
  width: 90px; height: 64px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  opacity: 0.75;
}
.od-gallery__thumb:hover,
.od-gallery__thumb.active { border-color: var(--red); opacity: 1; }

/* Galerie-Navigation (Prev/Next) */
.od-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff;
  border: none; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.od-gallery__nav:hover { background: rgba(0,0,0,0.70); }
.od-gallery__nav--prev { left: 12px; }
.od-gallery__nav--next { right: 12px; }

/* Layout */
.od-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.od-main { min-width: 0; }
.od-section { margin-bottom: 32px; }
.od-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.od-section p { line-height: 1.75; color: var(--dark); margin-bottom: 10px; }

/* Detail-Tabelle */
.od-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.od-table tr { border-bottom: 1px solid var(--gray-border); }
.od-table tr:last-child { border-bottom: none; }
.od-table th {
  width: 44%;
  padding: 9px 12px 9px 0;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  vertical-align: top;
}
.od-table td {
  padding: 9px 0 9px 12px;
  color: var(--dark);
  vertical-align: top;
}

/* Energieklasse-Badge */
.od-energy-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 4px;
  font-size: 1rem;
}

/* Sidebar */
.od-sidebar { display: flex; flex-direction: column; gap: 20px; }
.od-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.od-box--price { border-top: 4px solid var(--red); }
.od-price-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.od-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}
.od-price-sub {
  font-size: 0.83rem;
  color: var(--text-light);
  margin-top: 4px;
}
.od-price-provision {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-border);
}
.od-box__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}
.od-facts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.od-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.85rem;
  gap: 8px;
}
.od-facts li:last-child { border-bottom: none; }
.od-facts li span { color: var(--text-light); flex-shrink: 0; }
.od-facts li strong { text-align: right; color: var(--dark); }
.od-box--contact { background: var(--gray-light); border: 1px solid var(--gray-border); }
.od-box__text { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.5; }
.od-contact-btn { display: block; width: 100%; text-align: center; }

/* Energieausweis-Hinweis */
.od-energie-hinweis {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-light); border: 1px solid var(--gray-border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem; color: var(--text);
}
.od-energie-hinweis i { color: var(--red); flex-shrink: 0; }

/* Objekt-Detailseite: schlichter Seitenkopf (kein Banner-Bild) */
.od-page-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 24px 0 20px;
}
.od-page-header h1 {
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
}
.od-page-header .od-hero-sub {
  color: var(--text-light);
  font-size: 0.9rem;
}
.od-page-header .od-breadcrumb a { color: var(--text-light); }
.od-page-header .od-breadcrumb a:hover { color: var(--red); }
.od-page-header .od-breadcrumb i,
.od-page-header .od-breadcrumb span { color: var(--text-light); }

/* Maklercourtage in Preisbox */
.od-courtage {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--gray-border);
  font-size: 0.82rem;
}
.od-courtage > i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.od-courtage > div { display: flex; flex-direction: column; gap: 2px; }
.od-courtage__label { font-weight: 700; color: var(--dark); }
.od-courtage__val   { color: var(--text); }
.od-courtage__hint  { color: var(--text-light); font-style: italic; }

/* PDF-Dokumente */
.od-docs { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.od-docs a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--dark); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  padding: 10px 14px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
  word-break: break-word;
}
.od-docs a:hover { border-color: var(--red); background: #fff5f5; color: var(--red); }
.od-docs a i { color: var(--red); font-size: 1.1rem; flex-shrink: 0; }

/* Ansprechpartner-Box */
.od-box--agent { border-top: 3px solid var(--red); }
.od-agent { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.od-agent__photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gray-border);
}
.od-agent__photo--placeholder {
  background: var(--gray-light); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-light); font-size: 1.6rem;
}
.od-agent__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.od-agent__name { font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.od-agent__pos  { font-size: 0.8rem; color: var(--text-light); }
.od-agent__contacts {
  list-style: none; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.od-agent__contacts li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
}
.od-agent__contacts li i {
  width: 16px; text-align: center;
  color: var(--red); flex-shrink: 0;
}
.od-agent__contacts a {
  color: var(--dark); text-decoration: none;
  word-break: break-all;
}
.od-agent__contacts a:hover { color: var(--red); }

/* Responsive */
@media (max-width: 1024px) {
  .od-layout { grid-template-columns: 1fr 280px; }
}
@media (max-width: 768px) {
  .od-layout { grid-template-columns: 1fr; }
  .od-sidebar { order: -1; }
  .objekt-list-item__thumb { width: 140px; min-width: 140px; height: 120px; }
  .objekt-list-item__arrow { padding: 0 12px; }
}
@media (max-width: 480px) {
  .objekt-list-item { flex-direction: column; }
  .objekt-list-item__thumb { width: 100%; height: 180px; }
  .objekt-list-item__arrow { display: none; }
}

/* ===== VERKAUF ===== */

/* Hero */
.vk-hero-section { background: var(--dark); padding: 0; }
.vk-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.vk-hero-card {
  padding: 60px 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px;
}
.vk-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
  width: fit-content;
}
.vk-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.25;
}
.vk-hero-title span { color: var(--red); }
.vk-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem; line-height: 1.7;
  max-width: 480px;
}
.vk-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: border-color var(--transition), background var(--transition);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.vk-hero-img {
  overflow: hidden;
  min-height: 260px;
}
.vk-hero-img img {
  width: 100%; height: 100%;
  min-height: 260px;
  object-fit: cover; display: block;
}

/* Stats */
.vk-stats-section { background: var(--dark2); padding: 28px 0; }
.vk-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.vk-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.vk-stat:last-child { border-right: none; }
.vk-stat__num  { font-size: 1.9rem; font-weight: 800; color: var(--red); }
.vk-stat__label{ font-size: 0.82rem; color: rgba(255,255,255,0.6); text-align: center; }

/* Section headings */
.vk-section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--dark);
  margin-bottom: 6px;
}
.vk-section-sub { color: var(--text-light); margin-bottom: 40px; font-size: 0.95rem; }

/* Timeline / Prozess */
.vk-timeline {
  display: flex; flex-direction: column;
  position: relative;
  max-width: 760px;
}
.vk-timeline::before {
  content: '';
  position: absolute;
  left: 23px; top: 48px; bottom: 24px;
  width: 2px;
  background: var(--gray-border);
}
.vk-timeline__item {
  display: flex; gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}
.vk-timeline__item:last-child { padding-bottom: 0; }
.vk-timeline__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: #f0f4ff;
  border: 2px solid var(--gray-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.1rem;
  position: relative; z-index: 1;
  transition: background var(--transition), border-color var(--transition);
}
.vk-timeline__item:hover .vk-timeline__icon {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}
.vk-timeline__body {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  flex: 1;
  box-shadow: var(--shadow);
  transition: border-color var(--transition);
}
.vk-timeline__item:hover .vk-timeline__body { border-color: var(--red); }
.vk-timeline__body h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.vk-timeline__body p {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin: 0;
}

/* Trust Cards */
.vk-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vk-trust-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.vk-trust-card__icon {
  width: 46px; height: 46px;
  background: #f0f4ff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.2rem;
  margin-bottom: 14px;
}
.vk-trust-card h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.vk-trust-card p {
  font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin: 0;
}

/* CTA Strip */
.vk-cta-section { padding: 0; }
.vk-cta {
  background: var(--red);
  border-radius: 12px;
  padding: 32px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  margin: 0 0 48px;
}
.vk-cta__text {
  display: flex; flex-direction: column; gap: 4px;
}
.vk-cta__text strong {
  font-size: 1.2rem; color: var(--white); font-weight: 700;
}
.vk-cta__text span {
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  background: var(--white); color: var(--red);
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-white:hover { background: #f5f5f5; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* Responsive Verkauf */
@media (max-width: 1024px) {
  .vk-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .vk-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .vk-hero-wrap { grid-template-columns: 1fr; }
  .vk-hero-img { height: 240px; order: -1; }
  .vk-hero-card { padding: 32px 24px; }
  .vk-timeline::before { left: 19px; }
  .vk-timeline__icon { width: 40px; height: 40px; font-size: 0.95rem; }
  .vk-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}
@media (max-width: 480px) {
  .vk-trust-grid { grid-template-columns: 1fr; }
  .vk-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Modal: Objektanfrage ───────────────────────────────────────────────── */
.od-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.od-modal.open { display: flex; }
.od-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  cursor: pointer;
}
.od-modal__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  width: 100%;
  max-width: 560px;
  margin: auto;
  z-index: 1;
}
.od-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.3rem; cursor: pointer;
  color: var(--dark2); padding: 4px; line-height: 1;
}
.od-modal__close:hover { color: var(--red); }
.od-modal__title {
  font-size: 1.15rem;
  margin: 0 0 6px;
  padding-right: 32px;
}
.od-modal__ref {
  font-size: .88rem;
  color: var(--dark2);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
}
.od-modal__msg {
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: .9rem;
  display: none;
}
.od-modal__msg.visible { display: block; }
.od-modal__msg--ok  { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.od-modal__msg--err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.hp-field { display: none !important; }
@media (max-width: 600px) {
  .od-modal__box { padding: 24px 16px; }
}
