/* ============================================================
   ImmoSecur GmbH — Haupt-Stylesheet
   Version: 5.0 | Stand: 2025
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --logo-blue:        #4A7FB5;
  --logo-blue-mid:    #5A8EC4;
  --logo-blue-light:  #7AADD6;
  --logo-blue-pale:   #EEF4FA;
  --logo-blue-ultra:  #F7FAFD;
  --logo-blue-border: rgba(74,127,181,0.15);
  --logo-blue-dark:   #2F5F8A;
  --gold:             #B8963E;
  --gold-pale:        rgba(184,150,62,0.10);
  --anthrazit:        #2A2F35;
  --text-mid:         #4A5560;
  --text-light:       #8A96A2;
  --white:            #FFFFFF;
  --off:              #F8FAFB;
  --border:           rgba(74,127,181,0.13);
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Inter', system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-w: 1520px;
  --pad-x: clamp(1.5rem, 4vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  color: var(--anthrazit);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--logo-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT WRAPPER ───────────────────────────────────────── */
/* Sections that need a centered content column */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── PAGE VISIBILITY ──────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  background: #000;
  border-radius: 7px;
  overflow: hidden;
}
.nav-logo-name {
  font-family: var(--fd);
  font-size: 19px;
  color: var(--anthrazit);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav-logo-name span { color: var(--logo-blue); }
.nav-logo-sub {
  font-size: 9.5px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -2px;
  font-family: var(--fb);
}

.nav-links { display: flex; gap: 2px; }
.nav-link {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 11px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.15s;
  font-family: var(--fb);
  background: none;
  border: none;
}
.nav-link:hover,
.nav-link.active { color: var(--logo-blue); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-book-btn {
  background: var(--logo-blue-pale);
  color: var(--logo-blue-dark);
  font-size: 12.5px;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  border: 1px solid var(--logo-blue-border);
  font-family: var(--fb);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-book-btn:hover { background: #daeef7; text-decoration: none; }
.nav-book-btn i { font-size: 14px; color: var(--logo-blue); }

.nav-cta-btn {
  background: var(--logo-blue);
  color: var(--white);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  border: none;
  font-family: var(--fb);
  transition: background 0.15s;
}
.nav-cta-btn:hover { background: var(--logo-blue-dark); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  background: var(--logo-blue);
  color: var(--white);
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  border: none;
  font-family: var(--fb);
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--logo-blue-dark); text-decoration: none; }

.btn-ghost {
  background: var(--white);
  color: var(--logo-blue);
  font-size: 14px;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  border: 1.5px solid var(--logo-blue-border);
  font-family: var(--fb);
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--logo-blue); background: var(--logo-blue-pale); text-decoration: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 100px var(--pad-x) 88px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--logo-blue-pale);
  color: var(--logo-blue-dark);
  font-size: 11.5px;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--fb);
}
.hero-badge i { font-size: 14px; color: var(--logo-blue); }

.hero-title {
  font-family: var(--fd);
  font-size: clamp(52px, 6vw, 76px);
  color: var(--anthrazit);
  line-height: 1.12;
  margin-bottom: 24px;
  font-weight: 300;
}
.hero-title em     { color: var(--logo-blue); font-style: italic; }
.hero-title strong { font-weight: 400; }

.hero-sub {
  font-size: 16.5px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.82;
  font-weight: 300;
}

.hero-claim {
  font-family: var(--fd);
  font-size: 19px;
  color: var(--logo-blue-dark);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Booking teaser */
.booking-teaser {
  background: var(--logo-blue-ultra);
  border: 1px solid var(--logo-blue-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bt-icon {
  width: 42px; height: 42px;
  background: var(--logo-blue-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bt-icon i { font-size: 20px; color: var(--logo-blue); }
.bt-body { flex: 1; text-align: left; }
.bt-label { font-size: 13.5px; font-weight: 500; color: var(--anthrazit); margin-bottom: 3px; }
.bt-sub   { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.bt-cta {
  background: var(--logo-blue);
  color: var(--white);
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  font-family: var(--fb);
}
.bt-cta:hover { background: var(--logo-blue-dark); }

/* ── GOLD RULE ────────────────────────────────────────────── */
.gold-rule { width: 44px; height: 1.5px; background: var(--gold); margin: 0 auto 26px; }

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: var(--logo-blue-ultra);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
}
.trust-item {
  flex: 1; text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-val { font-family: var(--fd); font-size: 20px; color: var(--logo-blue); font-weight: 400; }
.trust-lbl { font-size: 10.5px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 3px; }

/* ── SECTION HELPERS ──────────────────────────────────────── */
.section-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-blue);
  margin-bottom: 7px;
  font-weight: 500;
}
.section-title {
  font-family: var(--fd);
  font-size: 30px;
  color: var(--anthrazit);
  margin-bottom: 36px;
  font-weight: 300;
}

/* ── PILLAR CARDS ─────────────────────────────────────────── */
.pillars {
  background: var(--white);
  padding: 72px 0;
}
.pillars-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar-card:hover {
  border-color: var(--logo-blue-light);
  box-shadow: 0 4px 20px rgba(74,127,181,0.08);
}
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--logo-blue-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon i { font-size: 22px; color: var(--logo-blue); }
.pillar-title { font-size: 15px; font-weight: 500; color: var(--anthrazit); margin-bottom: 10px; }
.pillar-text  { font-size: 13px; color: var(--text-mid); line-height: 1.72; }

/* ── STATEMENT BAND ───────────────────────────────────────── */
.statement {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.statement-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x); }
.statement-quote {
  font-family: var(--fd);
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--anthrazit);
  line-height: 1.55;
  margin-bottom: 16px;
  font-weight: 300;
  font-style: italic;
}
.statement-sub {
  font-size: 14px;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── CTA BLOCK ────────────────────────────────────────────── */
.cta-block {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}
.cta-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--fb);
}
.cta-title { font-family: var(--fd); font-size: 28px; color: var(--anthrazit); margin-bottom: 10px; font-weight: 300; }
.cta-sub   { font-size: 14px; color: var(--text-mid); margin-bottom: 12px; }
.cta-booking-note {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.cta-booking-note i { font-size: 14px; color: var(--logo-blue-light); }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HEADER (inner pages) ────────────────────────────── */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad-x) 48px;
}
.ph-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-blue);
  margin-bottom: 12px;
  font-weight: 500;
}
.ph-title {
  font-family: var(--fd);
  font-size: clamp(30px, 3.5vw, 42px);
  color: var(--anthrazit);
  font-weight: 300;
  margin-bottom: 14px;
}
.ph-sub {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}

/* ── CONTENT SECTIONS ─────────────────────────────────────── */
.content-section {
  padding: 64px 0;
  background: var(--white);
}
.content-section.alt { background: var(--off); }
.content-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.content-title { font-family: var(--fd); font-size: 28px; color: var(--anthrazit); margin-bottom: 18px; font-weight: 300; }
.content-lead  { font-size: 15.5px; color: var(--text-mid); line-height: 1.82; margin-bottom: 18px; font-weight: 300; }
.content-body  { font-size: 13.5px; color: var(--text-mid); line-height: 1.82; margin-bottom: 14px; }

.highlight-box {
  background: var(--logo-blue-pale);
  border-left: 2.5px solid var(--logo-blue);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── FOCUS CARDS ──────────────────────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.focus-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--white);
  transition: border-color 0.2s;
}
.focus-card:hover { border-color: var(--logo-blue-light); }
.focus-card-tag   { font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--logo-blue); margin-bottom: 8px; font-weight: 500; }
.focus-card-title { font-size: 14px; font-weight: 500; color: var(--anthrazit); margin-bottom: 8px; }
.focus-card-text  { font-size: 13px; color: var(--text-mid); line-height: 1.68; }

/* ── STEP LIST ────────────────────────────────────────────── */
.step-list { margin-top: 28px; display: grid; gap: 13px; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}
.step-num   { font-family: var(--fd); font-size: 24px; color: var(--logo-blue); flex-shrink: 0; line-height: 1; margin-top: 1px; font-weight: 300; }
.step-title { font-size: 14px; font-weight: 500; color: var(--anthrazit); margin-bottom: 5px; }
.step-text  { font-size: 13px; color: var(--text-mid); line-height: 1.68; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: var(--fb);
  color: var(--anthrazit);
  background: var(--white);
  resize: vertical;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--logo-blue);
  outline-offset: 1px;
  border-color: var(--logo-blue);
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 17px 20px;
  background: var(--white);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-card-title { font-size: 13px; font-weight: 500; color: var(--anthrazit); margin-bottom: 3px; }
.info-card-body  { font-size: 13px; color: var(--text-mid); line-height: 1.65; }
.info-card-icon  { font-size: 18px; color: var(--logo-blue); flex-shrink: 0; margin-top: 2px; }

/* Booking card (contact) */
.booking-card {
  background: var(--logo-blue-ultra);
  border: 1px solid var(--logo-blue-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 16px;
}
.bc-top   { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bc-icon  { width: 38px; height: 38px; background: var(--logo-blue-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bc-icon i { font-size: 20px; color: var(--logo-blue); }
.bc-title { font-size: 14px; font-weight: 500; color: var(--anthrazit); }
.bc-sub   { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.bc-btn {
  display: block; width: 100%;
  background: var(--logo-blue);
  color: var(--white);
  font-size: 13.5px; padding: 11px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
  font-family: var(--fb);
}
.bc-btn:hover { background: var(--logo-blue-dark); }
.bc-note {
  font-size: 11px; color: var(--text-light);
  text-align: center; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.bc-note i { font-size: 12px; color: var(--logo-blue-light); }

/* ── LEGAL / IMPRESSUM ────────────────────────────────────── */
.legal-section {
  padding: 56px 0;
}
.legal-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  max-width: 900px; /* slightly narrower for readability */
}
.legal-block { padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.legal-block:last-child { border-bottom: none; }

.legal-title { font-size: 14.5px; font-weight: 500; color: var(--anthrazit); margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.legal-title i { font-size: 16px; color: var(--logo-blue); }
.legal-body { font-size: 13px; color: var(--text-mid); line-height: 1.9; }
.legal-body a { color: var(--logo-blue); }
.legal-body a:hover { text-decoration: underline; }

.reg-badge {
  display: inline-block;
  background: var(--logo-blue-pale);
  color: var(--logo-blue-dark);
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 20px;
  margin: 5px 3px 0 0;
  font-family: var(--fb);
}

.gold-hint {
  background: var(--gold-pale);
  border-left: 2.5px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 13px 16px;
  margin-top: 13px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--anthrazit); padding: 0; }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad-x) 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand-name { font-family: var(--fd); font-size: 18px; color: var(--white); margin-bottom: 3px; font-weight: 300; }
.footer-brand-name span { color: var(--logo-blue-light); }
.footer-brand-tagline { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 13px; font-family: var(--fb); }
.footer-brand-text { font-size: 12.5px; color: rgba(255,255,255,0.42); line-height: 1.78; margin-bottom: 18px; }

.footer-booking-box {
  background: rgba(74,127,181,0.12);
  border: 1px solid rgba(74,127,181,0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.fbb-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.82); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.fbb-title i { font-size: 15px; color: var(--logo-blue-light); }
.fbb-sub  { font-size: 11.5px; color: rgba(255,255,255,0.40); margin-bottom: 13px; line-height: 1.55; }
.fbb-btn  {
  display: block;
  background: var(--logo-blue);
  color: var(--white);
  font-size: 12.5px; padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  font-family: var(--fb);
  transition: background 0.15s;
}
.fbb-btn:hover { background: var(--logo-blue-mid); }

.footer-col-head { font-size: 10px; text-transform: uppercase; letter-spacing: 0.13em; color: rgba(255,255,255,0.30); margin-bottom: 13px; font-weight: 500; font-family: var(--fb); }
.footer-col-link { display: block; font-size: 12.5px; color: rgba(255,255,255,0.55); margin-bottom: 8px; cursor: pointer; font-family: var(--fb); text-decoration: none; }
.footer-col-link:hover { color: rgba(255,255,255,0.90); text-decoration: none; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }

.footer-vermittler {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,127,181,0.10);
  border: 1px solid rgba(74,127,181,0.20);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  margin-bottom: 12px;
}
.footer-vermittler-text { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.5; font-family: var(--fb); }
.footer-vermittler-text strong { color: rgba(255,255,255,0.70); display: block; font-weight: 500; }

.footer-legal { font-size: 10.5px; color: rgba(255,255,255,0.24); line-height: 1.7; font-family: var(--fb); }
.footer-legal a { color: rgba(255,255,255,0.40); text-decoration: underline; }
.footer-legal a:hover { color: rgba(255,255,255,0.70); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .nav-book-btn { display: none; }
  .booking-teaser { flex-direction: column; align-items: flex-start; }
}

/* ────────────────────────────────────────────────────────────
   IMMOSECUR24.DE — Bildstarke Erweiterung
   Additive Klassen — verändert keine bestehenden Styles.
   ──────────────────────────────────────────────────────────── */

.estates {
  background: var(--white);
  padding: 72px 0;
}
.estates-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.estates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.estate-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.estate-card:hover {
  border-color: var(--logo-blue-light);
  box-shadow: 0 4px 20px rgba(74,127,181,0.08);
  text-decoration: none;
}

.estate-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--logo-blue-pale);
}
.estate-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.estate-card:hover .estate-card-media img {
  transform: scale(1.04);
}

.estate-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.94);
  color: var(--logo-blue-dark);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  font-weight: 500;
  font-family: var(--fb);
  backdrop-filter: blur(4px);
}

.estate-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.estate-card-tag {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--logo-blue);
  margin-bottom: 8px;
  font-weight: 500;
}
.estate-card-title {
  font-family: var(--fd);
  font-size: 21px;
  color: var(--anthrazit);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.25;
}
.estate-card-title em { color: var(--logo-blue); font-style: italic; }
.estate-card-text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 16px;
  flex: 1;
}
.estate-card-link {
  font-size: 12.5px;
  color: var(--logo-blue);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.estate-card:hover .estate-card-link { color: var(--logo-blue-dark); }

@media (max-width: 1100px) {
  .estates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .estates-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────
   HUBSPOT FORM STYLING
   Passt das eingebettete HubSpot-Formular ans Site-Design an
   ──────────────────────────────────────────────────────────── */

.hubspot-form-wrapper {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-top: 8px;
}

.hubspot-form-wrapper .hs-form-frame {
  min-height: 380px;
}

.hubspot-form-wrapper iframe {
  width: 100% !important;
  border: none !important;
}
