/* Abstand vom Title */
.breadcrumb-area {
	padding: 200px 0 70px !important;
	background: var(--tg-gradient-color);
	}

/* Schriftgröße vom Titel */
.breadcrumb-content .title {
	font-size: 60px;
	text-transform: uppercase;
	margin-bottom: 8px;
	line-height: 1.30;
}

.bl-visual-box {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bl-shortcode-row {
  margin-top: 30px;
}

.bl-shortcode-card--full {
  width: 100%;
}

.bl-shortcode-card--full .bl-shortcode-slot {
  width: 100%;
  margin-top: 26px;
}

/* Nur Desktop, nur nicht-sticky Header */
@media (min-width: 1024px) {
    header:not(.is-sticky):not(.sticky-header) {
        top: 12px;
        position: relative;
    }
}

/* MOBILE: Erste große Überschrift weit genug unterhalb des Logos platzieren,
   damit sie es auch bei maximaler Schriftgröße nicht überdeckt */
@media (max-width: 1000px) {

    /* Startseite + Unterseiten: erste H1/H2 im Inhalt nach unten schieben */
    body.home h1:first-of-type,
    body.home h2:first-of-type,
    body.page h1:first-of-type,
    body.page h2:first-of-type {
        margin-top: 3rem !important;  /* wenn zu viel: auf 5rem oder 4rem reduzieren */
    }
}

@media (max-width: 767px) {
  h2.title {
    font-size: 30px !important;
  }
}

/* ===== Grundlayout & Theme-Anpassung ===== */
.berlin-market-lp {
  /* Elementor Global Colors (falls vorhanden) mit Fallbacks */
  --lp-primary: var(--e-global-color-primary, #0f172a);
  --lp-secondary: var(--e-global-color-secondary, #111827);
  --lp-text: var(--e-global-color-text, #111827);
  --lp-accent: var(--e-global-color-accent, #8b1d3a);
  --lp-bg: var(--e-global-color-ffffff, #ffffff);

  /* Abgeleitete Farben */
  --lp-muted: rgba(15, 23, 42, 0.6);
  --lp-alt: #f6f7f8;
  --lp-border: rgba(15, 23, 42, 0.14);

  /* Typografie (Elementor Global Fonts, falls vorhanden) */
  --lp-font: var(--e-global-typography-text-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --lp-font-head: var(--e-global-typography-primary-font-family, var(--lp-font));

  /* UI */
  --lp-radius: 18px;
  --lp-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);

  font-family: var(--lp-font);
  color: var(--lp-text);
  /* Hintergrund der gesamten Sektion transparent */
  background: transparent;
}

.berlin-market-lp .lp-container {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

/* ===== HERO ===== */
.berlin-market-lp .lp-hero {
  padding: 44px 0 26px;
  border-bottom: 1px solid var(--lp-border);
  /* ebenfalls transparent, damit nix hinterlegt ist */
  background: transparent;
}

/* einspaltige Struktur (Karte unter H1/KPIs/Quelle) */
.berlin-market-lp .lp-hero-grid {
  display: block;
}

.berlin-market-lp .lp-eyebrow {
  margin: 0 0 10px;
  color: var(--lp-muted);
  font-size: 13px;
}

.berlin-market-lp h1 {
  font-family: var(--lp-font-head);
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.4px;
}

.berlin-market-lp .lp-lead {
  margin: 0 0 18px;
  color: var(--lp-muted);
  font-size: 17px;
}

/* KPIs – Abstand nach unten = 22px */
.berlin-market-lp .lp-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  margin-bottom: 22px; /* Abstand zu "Original-Grafiken..." */
}

.berlin-market-lp .lp-kpi {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.berlin-market-lp .lp-kpi-label {
  color: var(--lp-muted);
  font-size: 12px;
}

.berlin-market-lp .lp-kpi-value {
  font-family: var(--lp-font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.2px;
  margin-top: 4px;
}

.berlin-market-lp .lp-kpi-meta {
  color: var(--lp-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Kasten "Original-Grafiken aus dem Marktbericht" –
   Abstand nach oben kommt von den KPIs, nach unten 22px zur Quelle */
.berlin-market-lp .lp-hero-card {
  margin: 0 0 22px;  /* kein Abstand nach oben, 22px nach unten */
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: calc(var(--lp-radius) + 4px);
  padding: 18px;
  box-shadow: var(--lp-shadow);
}

.berlin-market-lp .lp-hero-card-title {
  font-family: var(--lp-font-head);
  font-weight: 750;
  font-size: 16px;
}

.berlin-market-lp .lp-hero-card-text {
  color: var(--lp-muted);
  margin: 10px 0 14px;
}

.berlin-market-lp .lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

/* Hinweis / Quelle – gleicher Abstand zum Kasten wie Kasten zu den KPIs */
.berlin-market-lp .lp-note {
  margin-top: 22px;
  border-left: 4px solid rgba(139, 29, 58, 0.55);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(139, 29, 58, 0.06);
  color: var(--lp-muted);
  font-size: 13px;
}

/* Buttons (CTA & Download) */
.berlin-market-lp .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--lp-accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(139, 29, 58, 0.25);
  font-size: 14px;
}

.berlin-market-lp .lp-btn:hover {
  opacity: 0.95;
}

.berlin-market-lp .lp-btn.lp-btn-outline {
  background: transparent;
  color: var(--lp-text);
  border: 1px solid var(--lp-border);
  box-shadow: none;
}

.berlin-market-lp .lp-hero-card-foot {
  margin-top: 8px;
  font-size: 12px;
  color: var(--lp-muted);
}

/* ===== SECTIONS GENERELL ===== */
.berlin-market-lp .lp-section {
  padding: 46px 0;
}

/* alt-Sektion ebenfalls transparent (nur Linien bleiben) */
.berlin-market-lp .lp-alt {
  background: transparent;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.berlin-market-lp .lp-section-head h2 {
  font-family: var(--lp-font-head);
  margin: 0 0 6px;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.3px;
}

.berlin-market-lp .lp-section-head p {
  margin: 0;
  color: var(--lp-muted);
}

/* ===== TABELLE ===== */
.berlin-market-lp .lp-table-wrap {
  margin-top: 18px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.berlin-market-lp .lp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.berlin-market-lp .lp-table th,
.berlin-market-lp .lp-table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: top;
  text-align: right;
  white-space: nowrap;
  font-size: 13px;
}

.berlin-market-lp .lp-table th:first-child,
.berlin-market-lp .lp-table td:first-child {
  text-align: left;
  white-space: normal;
  min-width: 260px;
}

.berlin-market-lp .lp-table thead th {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
  font-size: 12px;
  color: var(--lp-muted);
}

/* Zeilenstile */
.berlin-market-lp .lp-row-group td {
  background: rgba(139, 29, 58, 0.04);
  font-weight: 700;
}

.berlin-market-lp .lp-row-sub td:first-child {
  padding-left: 22px;
}

.berlin-market-lp .lp-row-sub2 td:first-child {
  padding-left: 40px;
}

.berlin-market-lp .lp-row-total td {
  background: rgba(139, 29, 58, 0.08);
  font-weight: 800;
}

.berlin-market-lp .lp-fineprint {
  margin: 10px 0 0;
  color: var(--lp-muted);
  font-size: 12px;
}

/* ===== CHART-GRID ===== */
.berlin-market-lp .lp-chart-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.berlin-market-lp .lp-chart-card {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.berlin-market-lp .lp-chart {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.berlin-market-lp .lp-chart-card figcaption {
  margin-top: 10px;
  color: var(--lp-muted);
  font-size: 13px;
}

/* ===== MODAL (Zoom) ===== */
.berlin-market-lp .lp-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 17, 20, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.berlin-market-lp .lp-modal.open {
  display: flex;
}

.berlin-market-lp .lp-modal-canvas {
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.berlin-market-lp .lp-modal-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .berlin-market-lp .lp-kpis {
    grid-template-columns: 1fr;
  }

  .berlin-market-lp .lp-chart-grid {
    grid-template-columns: 1fr;
  }

  .berlin-market-lp .lp-table {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .berlin-market-lp .lp-container {
    width: min(100% - 24px, 1140px);
  }

  .berlin-market-lp h1 {
    font-size: 26px;
  }

  .berlin-market-lp .lp-lead {
    font-size: 15px;
  }

  .berlin-market-lp .lp-hero-card {
    padding: 14px;
  }

  .berlin-market-lp .lp-btn {
    width: 100%;
    justify-content: center;
  }
}
.mobile-menu .logo {
    display: none !important;
}
@media (max-width: 1200px) {
    .logo.mobile-logo.d-none {
        display: block !important;
        margin: 0;
    }
	.menu-area .mobile-nav-toggler {
        display: block;
    }
	.menu-nav {
			justify-content: space-between;
	}
	.sticky-menu .logo.mobile-logo.d-none > a:not(.sticky-logo) {
        display: none;
    }
}

/* CSS für das Tippgeber Kontaktformular */

.tippgeber-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.tippgeber-form .form-intro {
    margin-bottom: 30px;
    text-align: left;
}

.tippgeber-form .form-intro h2 {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.2;
}

.tippgeber-form .form-intro p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.tippgeber-form .form-section {
    margin-bottom: 32px;
    padding: 28px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
}

.tippgeber-form .form-section-optional {
    background: #f8f8f8;
}

.tippgeber-form .section-head {
    margin-bottom: 20px;
}

.tippgeber-form .section-head h3 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.3;
}

.tippgeber-form .section-head h3 span {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}

.tippgeber-form .section-head p {
    margin: 0;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
}

.tippgeber-form .form-grp {
    margin-bottom: 20px;
}

.tippgeber-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.tippgeber-form input,
.tippgeber-form select,
.tippgeber-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    transition: all 0.25s ease;
}

.tippgeber-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 14px;
}

.tippgeber-form input:focus,
.tippgeber-form select:focus,
.tippgeber-form textarea:focus {
    outline: none;
    border-color: #c7a46a;
    box-shadow: 0 0 0 4px rgba(199, 164, 106, 0.12);
}

.tippgeber-form .form-check {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.tippgeber-form .form-check a {
    color: #c7a46a;
    text-decoration: none;
}

.tippgeber-form .form-check a:hover {
    text-decoration: underline;
}

.tippgeber-form .form-submit {
    margin-top: 10px;
}

.tippgeber-form .form-submit input[type="submit"] {
    display: inline-block;
    min-height: 56px;
    padding: 0 30px;
    border: none;
    border-radius: 10px;
    background: #c7a46a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tippgeber-form .form-submit input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(199, 164, 106, 0.25);
}

.tippgeber-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
}

.tippgeber-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px;
}

.bl-immobiliensuche-page.luxury h1 {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  max-width: 14ch;
  font-family: var(--e-global-typography-primary-font-family, inherit);
  font-weight: 300;
  text-transform: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.bl-immobiliensuche-page.luxury h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  max-width: 100%;
}