/* ##########################################################################
   MAINLAND DESIGN-SYSTEM – zentrale Festlegungen (Stand 08.10.2026)
   --------------------------------------------------------------------------
   Diese Werte gelten für ALLE Seiten und Beiträge. Neue Regeln verwenden
   bevorzugt diese Variablen (var(--mainland-...)). Suchen mit Strg+F nach
   dem Namen in Großbuchstaben, z. B. "ABSTÄNDE" oder "BUTTONS".

   INHALTSVERZEICHNIS (Abschnitte weiter unten in dieser Datei)
   1. DESIGN-SYSTEM: Farben, Typografie, Breiten, Abstände, Rundungen, Buttons (dieser Block)
   2. GRUNDLAGEN: Überschriften-/Absatz-Abstände, Schrift-Fallback, Mobile-Overflow
   3. BEITRÄGE: "MAINLAND: Einheitliche Abstaende und Bilder in Blogbeitraegen"
   4. BAUSTEINE (überall): FAQ-Akkordeon, Zweispaltiger Bereich, Karten und Textkaesten,
      Kasten-Varianten, Kurzfazit, Checkliste, Textlink mit Pfeil, Kacheln, Infokarte,
      Preiskarten, Download-Karten, Rand dunkelblau, Gruene Link-Buttons
   5. SEITEN-BAUSTEINE: "MAINLAND: Seiten-Bausteine", Seiten-Abschnittsabstaende,
      Abstands-Feinabgleich, Vorlagen-Ergaenzungen, Suchkartei-Aufruf
   6. SEITEN: Startseite neu (mst-), Verkaufsseite, Hausseite, Bewertungsseite 8269,
      Wohnungsseite 8246, Marktbericht 6100, Kaufen-Seite 8281, Carsten-Erhard 8256,
      Situationscheck 33070, Immobilienrechner (mir-)
   7. HEADER UND FOOTER: Header B "Vertrauen oben", Footer-Widgets, Footer-Feinschliff
   8. GESAMTPRÜFUNG 08.10.2026: Vereinheitlichung (Textkante, H1, Karten-H3,
      Bereichsabstände, Autorzeile, orange Buttons, Trustindex, Handy-Kontaktleiste)

   ÜBERSICHT DER FESTLEGUNGEN
   Farben ........ Orange #ff9103 (Akzent, Dachzeile, orange Buttons)
                   H1-Blau #011381 (Überschriften, blaue Buttons, Footer)
                   Logo-Blau #0c2c74 (dunkle Flächen, Schrift auf Orange)
                   Text #393939 · Text hell #5b5f6a · Rahmen #dcdfe6
                   Fläche grau #f4f4f6 · Fläche hellblau #eef1f9 · Hinweis orange-hell #fff4e5
   Schrift ....... Open Sans; Überschriften 600, GROSSBUCHSTABEN; Fließtext 17 px
                   H1 36 (Handy 26) · H2 30 (Handy 21) · H3 20 (Handy 17,3)
                   Karten-H3 18 · H4 18 · Autorzeile 13 · Startseite H1 größer
   Breiten ....... Inhalt max. 1200 px · Fließtext max. 936 px · Rechner/Formulare max. 936 px
                   Textkante: Desktop 24 px Innenrand (bei 1280 px = 56 px vom Rand), Handy 20 px
   Abstände ...... Abschnitt innen 40 px oben/unten (Handy 30)
                   Farbiger Bereich außen 56 px (Handy 36)
                   Absatz/Überschrift 20 px · vor H2 60 (Handy 50) · vor H3 40 (Handy 32)
                   Text zu Button/Kasten/Kacheln 40 (Handy 32) · Kasten zu Kasten 40 (Handy 32, auch farbige Bereiche direkt untereinander; Nr. 22)
                   letzter Inhalt bis Footer 80 (Handy 60)
   Rundungen ..... Bereiche/Kästen 15–20 px · Karten 12–15 px · Buttons 10 px · Logos 0
   Buttons ....... Blau #011381 mit Pfeil, Hover Orange mit Text #111
                   Orange #ff9103, Schrift + Pfeil #0c2c74 (Kontrast 5,7:1), Hover Blau/weiß
                   Haupt-Text: "Kostenloses Erstgespräch"; Handy-Hero-Buttons gleich hoch (58 px)
   Autorzeile .... immer am Ende der Seite/des Beitrags, bündig mit der Textkante
   Überschriften . genau eine H1, keine Ebenen-Sprünge; Objekt-/Kartentitel als fetter Text
   ########################################################################## */
:root{
  /* Farben */
  --mainland-farbe-orange:#ff9103;
  --mainland-farbe-h1-blau:#011381;
  --mainland-farbe-logo-blau:#0c2c74;
  --mainland-farbe-text:#393939;
  --mainland-farbe-text-hell:#5b5f6a;
  --mainland-farbe-rahmen:#dcdfe6;
  --mainland-farbe-flaeche-grau:#f4f4f6;
  --mainland-farbe-flaeche-hellblau:#eef1f9;
  --mainland-farbe-hinweis-orange:#fff4e5;
  --mainland-farbe-hover-text:#111111;
  /* Typografie */
  --mainland-schrift:"Open Sans",sans-serif;
  --mainland-schrift-fliesstext:17px;
  --mainland-schrift-h1:36px;
  --mainland-schrift-h1-handy:26px;
  --mainland-schrift-h2:30px;
  --mainland-schrift-h3:20px;
  --mainland-schrift-h3-karte:18px;
  --mainland-schrift-h4:18px;
  --mainland-schrift-klein:13px;
  /* Breiten */
  --mainland-breite-inhalt:1200px;
  --mainland-breite-text:936px;
  --mainland-rand-desktop:24px;
  --mainland-rand-handy:20px;
  /* Abstände */
  --mainland-abstand-absatz:20px;
  --mainland-abstand-abschnitt-innen:40px;
  --mainland-abstand-abschnitt-innen-handy:30px;
  --mainland-abstand-bereich:56px;
  --mainland-abstand-bereich-handy:36px;
  --mainland-abstand-vor-h2:60px;
  --mainland-abstand-vor-h3:40px;
  --mainland-abstand-baustein:40px;
  --mainland-abstand-baustein-handy:32px;
  --mainland-abstand-footer:80px;
  --mainland-abstand-footer-handy:60px;
  /* Rundungen */
  --mainland-rundung-bereich:15px;
  --mainland-rundung-karte:12px;
  --mainland-rundung-button:10px;
  /* Buttons */
  --mainland-button-blau:#011381;
  --mainland-button-orange:#ff9103;
  --mainland-button-orange-schrift:#0c2c74;
  --mainland-button-hoehe-handy:58px;
}
/* ##################### Ende DESIGN-SYSTEM ##################### */

/* ==========================================================
   MAINLAND IMMOBILIEN – Zusätzliches CSS (bereinigt)
   Stand: 31.07.2026

   Es werden nur noch die beiden Systemwerte verwendet:
   976 px = Tablet (Astra astra_tablet_breakpoint = Spectra
   UAGB_TABLET_BREAKPOINT), 767 px = Mobil (Astra
   astra_mobile_breakpoint = Spectra UAGB_MOBILE_BREAKPOINT).
   FIX v8 wurde auf eine einzige Regel eingedampft. Es gibt
   keine Hash-ID-abhängigen Regeln mehr: die Hero-H1-Regel
   wurde entfernt, weil der Spectra-Block die Farbe #fff
   bereits selbst ausgibt. Bereinigt am 07.10.2026: alle Regeln fuer Spectra
   Legacy (uagb) und nachweislich wirkungslose Regeln entfernt
   (Pruefung aller Seiten in 1440/1024/800/375 px).
   ========================================================== */

/* Rundet nur Bilder innerhalb des Inhaltsbereichs ab */
.entry-content img,
.wp-block-image img {
    border-radius: 15px !important;
}

/* Trustindex-Disclaimer-Link ausblenden */
.ti-disclaimer a[href*="trustindex.io"] {
    display: none;
}

/* Footer-Padding */
.site-primary-footer-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Below-Footer */
.site-below-footer-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Navigationslinks */
.main-header-menu .menu-link {
    padding-left: 16px;
    padding-right: 16px;
}

.main-header-menu .sub-menu .menu-link {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Überschriften-Abstände */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 24px;
}

/* Absatz-Abstände */
p {
    margin-bottom: 16px;
}

/* Alle Buttons einheitlich 15px Radius, ohne Rahmen */
button,
.ast-button,
.button,
input[type="submit"],
a.wp-block-button__link,
.wp-block-button__link {
    border-radius: 15px !important;
    border: none !important;
}

/* Aufeinanderfolgende Absätze ohne Doppelabstand */
.wp-block-paragraph + .wp-block-paragraph {
    margin-top: 0;
}

/* ==========================================================
   Metric-Adjusted Fallback für Open Sans
   ========================================================== */

@font-face{   
    font-family: "Open Sans Fallback";
    src: local("Arial"), local("ArialMT");
    size-adjust: 106.55%;
    ascent-override: 101.17%;
    descent-override: 27.73%;
    line-gap-override: 0%;
    font-display: swap;
   }

:where(
    body,
    button,
    input,
    select,
    textarea,
    .ast-container,
    .entry-content,
    .site-title,
    .site-description,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6
) {
    font-family:
        "Open Sans",
        "Open Sans Fallback",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

/* ==========================================================
   Mobile-Overflow- und Silbentrennungs-Fixes
   (zusammengeführt – vorher gab es zwei sich teils
   widersprechende Regelblöcke für dieselben Selektoren)
   ========================================================== */

/* Tabellen responsiv begrenzen */
.entry-content table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

.entry-content table th,
.entry-content table td {
    padding: 0.6em 0.5em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Content-Elemente nie breiter als ihr Elternelement */
:where(.entry-content) > * {
    max-width: 100%;
}

:where(.entry-content .wp-block-uagb-advanced-heading),
:where(.entry-content ul.wp-block-list),
:where(.entry-content ol.wp-block-list) {
    max-width: 100%;
    box-sizing: border-box;
}

/* Silbentrennung für Fließtext, Listen und lange Wörter
   (z. B. "Scheidungsfolgevereinbarung", "Spekulationssteuer") */
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content blockquote,
.entry-content figcaption {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* ==========================================================
   FIX (24.07.2026): Blog-Beiträge – #primary-Padding korrigieren
   Ursache: Astra rendert #primary mit padding: 24em (statt Default),
   dadurch schrumpft der Artikelinhalt auf 0–50px.
   Ziel: Standard-Astra-Verhalten für Boxed-Container wiederherstellen.
   ========================================================== */
.ast-separate-container #primary,
.ast-narrow-container #primary {
    padding-left: 5.714em !important;
    padding-right: 5.714em !important;
}

@media (max-width: 976px) {
    .ast-separate-container #primary,
    .ast-narrow-container #primary {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
}

/* ===========================================================
   Situationscheck-Banner, Teil 1 von 2: CSS
   MAINLAND IMMOBILIEN, Stand 5. August 2026

   WOHIN: Design, dann Customizer, dann "Zusaetzliches CSS".
   Dort unten anfuegen und veroeffentlichen.

   Dieses Teil enthaelt bewusst keine spitzen Klammern und
   keine HTML-Kommentare, damit der Blockeditor nichts
   davon als Markup interpretieren kann.
   =========================================================== */

.mlisc,.mlisc *{box-sizing:border-box}
.mlisc{
  /* ==== HIER die Farbe anpassen ==== */
  --mlisc-blau:#0c2c74;        /* Hintergrund = Hero-Blau Ihrer Startseite */
  --mlisc-blau-2:#0c2c74;      /* Schriftfarbe im orangen Button */
  --mlisc-orange:#ff9103;
  --mlisc-orange-dark:#e07f00;
  --mlisc-radius:15px;
  background:var(--mlisc-blau);
  color:#fff;
  padding:56px 44px 52px;
  margin:0;
  border-radius:var(--mlisc-radius);
  font-family:inherit;
  line-height:1.65;
}
.mlisc-inner{max-width:1200px;margin:0 auto}

/* Harter Reset: neutralisiert alle Abstände, die Astra oder Spectra
   mitbringen. Die einzelnen Abstände werden danach bewusst neu gesetzt. */
.mlisc h2,
.mlisc p,
.mlisc ol,
.mlisc li,
.mlisc dl,
.mlisc dt,
.mlisc dd{margin:0;padding:0;list-style:none}
.mlisc-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.mlisc .mlisc-kicker{
  font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--mlisc-orange);margin:0 0 10px;
}
.mlisc h2.mlisc-h2{
  font-size:clamp(1.55rem,1.25rem + 1.3vw,2rem);line-height:1.24;font-weight:700;
  color:#fff;margin:0 0 16px;text-transform:none;
}
.mlisc .mlisc-lead{font-size:17px;line-height:1.66;color:#ccd2ec;margin:0 0 28px;max-width:56ch}

/* ---- Die drei Schritte: gleiche Abstände, jeder Schritt eine Zeile ---- */
.mlisc ol.mlisc-schritte{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;row-gap:18px;
}
.mlisc ol.mlisc-schritte > li{
  display:flex;gap:14px;align-items:flex-start;
  font-size:16px;line-height:1.5;color:#e8eaf6;
  margin:0;padding:0;list-style:none;
}
.mlisc ol.mlisc-schritte > li::before,
.mlisc ol.mlisc-schritte > li::marker{content:none;display:none}
.mlisc .mlisc-num{
  flex:0 0 auto;width:27px;height:27px;border-radius:50%;
  background:rgba(255,145,3,.18);border:1px solid rgba(255,145,3,.55);
  color:var(--mlisc-orange);font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin-top:0;
}

/* ---- Eigener Block für den Button, damit der Abstand nicht von der
        Liste abhängt und nichts überlappen kann ---- */
.mlisc .mlisc-cta{margin:38px 0 0;padding:0}
/* Der Button muss sich gegen die Link-Unterstreichung des Themes durchsetzen,
   deshalb der doppelte Selektor und !important nur bei text-decoration. */
.mlisc a.mlisc-btn,
.mlisc a.mlisc-btn:link,
.mlisc a.mlisc-btn:visited{
  display:inline-block;background:var(--mlisc-orange);color:var(--mlisc-blau-2);
  font-size:16px;font-weight:700;
  text-decoration:none !important;border-bottom:0 !important;box-shadow:none;
  padding:14px 26px;border-radius:var(--mlisc-radius);line-height:1.35;border:0;
  transition:background .15s ease;
}
.mlisc a.mlisc-btn:hover,
.mlisc a.mlisc-btn:focus,
.mlisc a.mlisc-btn:active{
  background:var(--mlisc-orange-dark);color:var(--mlisc-blau-2);
  text-decoration:none !important;
}
.mlisc a.mlisc-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mlisc .mlisc-unter{font-size:14px;line-height:1.55;color:#a9b1d4;margin:18px 0 0;max-width:60ch}
.mlisc-karte{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:var(--mlisc-radius);padding:26px 24px;
}
.mlisc .mlisc-kt{
  font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--mlisc-orange);margin:0 0 18px;
}
.mlisc .mlisc-karte dl{margin:0;display:grid;gap:15px}
.mlisc-row{
  display:flex;justify-content:space-between;gap:16px;align-items:baseline;
  border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:13px;
}
.mlisc-row:last-child{border-bottom:0;padding-bottom:0}
.mlisc .mlisc-karte dt{font-size:15px;line-height:1.5;color:#ccd2ec;margin:0}
.mlisc .mlisc-karte dd{font-size:16px;line-height:1.5;font-weight:700;color:#fff;margin:0;text-align:right;white-space:nowrap}

@media (max-width:900px){
  .mlisc{padding:48px 32px}
  .mlisc-grid{grid-template-columns:1fr;gap:34px}
}
@media (max-width:640px){
  .mlisc{padding:36px 20px;border-radius:12px}
  .mlisc a.mlisc-btn{display:block;text-align:center}
  .mlisc-row{flex-direction:column;align-items:flex-start;gap:3px;padding-bottom:12px}
  .mlisc-karte dd{text-align:left;white-space:normal}
}
/* Ankersprung: Sticky-Header nicht ueber das Tool legen */
#mainland-check-wrap{scroll-margin-top:120px}

/* ==== MAINLAND: Spectra Blocks – Astra-Abstaende in Textabschnitten (Umstellung von Spectra Legacy, 06.10.2026) ====
   Spectra Blocks setzt die Aussenabstaende der Inhalte in Containern auf 0.
   Containern mit der Klasse "mainland-text" geben diese Regeln die Astra-Abstaende zurueck.
   Globale Spectra-Stile (z. B. h-blue-600) und Einstellungen am einzelnen Block haben weiterhin Vorrang. */
body .mainland-text > :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.5em; margin-bottom: calc(0.3em + 10px); }
body .mainland-text > p { margin-top: 0; margin-bottom: 1.2em; }
body .mainland-text > :is(ul, ol) { margin-top: 1em; margin-bottom: 1em; }
body .mainland-text > :is(ul, ol) { margin-left: 20px; } /* Legacy-Container: Listen-Einzug */
/* ==== Ende MAINLAND Spectra Blocks ==== */

/* ==== MAINLAND: Einheitliche Abstaende und Bilder in Blogbeitraegen (06.10.2026) ==== */
body.single-post .mainland-text.mainland-text { row-gap: 0; }
body.single-post .mainland-text.mainland-text > * { margin-top: 0; margin-bottom: 0; }

body.single-post .mainland-text.mainland-text > * + * { margin-top: 20px; }
body.single-post .mainland-text.mainland-text > * + h2 { margin-top: 85px; }
body.single-post .mainland-text.mainland-text > * + h3 { margin-top: 60px; }

body.single-post .mainland-text.mainland-text > :is(h1, h2, h3, h4, h5, h6) + :not(h1, h2, h3, h4, h5, h6) { margin-top: 20px; }
body.single-post .mainland-text.mainland-text > :is(h1, h2) + h3 { margin-top: 30px; }
body.single-post .mainland-text.mainland-text > * + figure.wp-block-image,
body.single-post .mainland-text.mainland-text > figure.wp-block-image + * { margin-top: 40px; }
body.single-post .mainland-text.mainland-text > figure.wp-block-image + h2 { margin-top: 85px; }

body.single-post .mainland-text.mainland-text > figure.wp-block-image { float: none; margin-bottom: 0; align-self: stretch; width: 100%; max-width: 100%; text-align: center; }
body.single-post .mainland-text.mainland-text > figure.wp-block-image img { display: block; margin-left: auto; margin-right: auto; width: auto; height: auto; max-width: min(600px, 100%); max-height: 600px; }
@media (max-width: 767px) {
  body.single-post .mainland-text.mainland-text > * + h2, body.single-post .mainland-text.mainland-text > figure.wp-block-image + h2 { margin-top: 70px; }
  body.single-post .mainland-text.mainland-text > * + h3, body.single-post .mainland-text.mainland-text > figure.wp-block-image + h3 { margin-top: 50px; }
  body.single-post .mainland-text.mainland-text > * + figure.wp-block-image, body.single-post .mainland-text.mainland-text > figure.wp-block-image + * { margin-top: 32px; }
}
/* Trennung Ueberschriften Handy: lange Woerter mit Bindestrich trennen (Schriftgroesse unveraendert) */
@media (max-width: 767px) {
  body.single-post .entry-content :is(h1, h2, h3) { -webkit-hyphens: auto; hyphens: auto; }
}
/* Seitenrand auch bei ausgeblendetem Titel (Astra setzt die 20 px sonst nur bei sichtbarem Titel) */
body.single-post.ast-page-builder-template:not(.ast-normal-title-enabled) .site-main > article { padding-left: 20px; padding-right: 20px; }
/* Innenabstand von Ueberschriften aus Stilvorlagen neutralisieren, damit nach jeder Ueberschrift 20 px gelten */
body.single-post .mainland-text.mainland-text > :is(h1, h2, h3, h4, h5, h6) { padding-top: 0; padding-bottom: 0; }
/* ==== Ende Abstaende Blogbeitraege ==== */

/* ==== MAINLAND: FAQ-Akkordeon im Stil der bisherigen Legacy-FAQ (06.10.2026) ==== */
body .wp-block-spectra-accordion.mainland-faq { row-gap: 10px; gap: 10px; }
body .wp-block-spectra-accordion.mainland-faq > .wp-block-spectra-accordion-child-item { border: 1px solid #d2d2d2; border-radius: 2px; }
body .wp-block-spectra-accordion.mainland-faq .wp-block-spectra-accordion-child-header { padding: 10px; gap: 10px; text-align: left; }

/* ==== Ende FAQ-Akkordeon ==== */

/* ==== MAINLAND: Zweispaltiger Bereich (Text/Bild nebeneinander, am Handy untereinander) ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 20px; padding: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig > * { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); max-width: calc(50% - 10px); min-width: 0; margin: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig > figure img { width: 100%; height: auto; }
@media (max-width: 767px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig { flex-direction: column; align-items: stretch; } body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig > * { flex: 0 0 auto; width: 100%; max-width: 100%; } }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig > :is(.wp-block-spectra-container, .wp-block-group):not(.mainland-karte):not(.mainland-box) { padding: 0; }
/* ==== Ende Zweispaltiger Bereich ==== */

/* ==== MAINLAND: Karten und Textkaesten (grauer Hintergrund, abgerundet) ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-karte { background: var(--ast-global-color-5); border-radius: 20px; padding: 20px; gap: 20px; text-align: center; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-karte > * { margin: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-karte img { display: block; width: 100%; height: auto; border-radius: 15px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-box { background: var(--ast-global-color-5); border-radius: 20px; padding: 50px 20px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-schmal { max-width: 900px; width: 100%; margin-left: auto; margin-right: auto; align-items: stretch; }
@media (max-width: 767px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-box { padding: 28px 16px; } }
/* ==== Ende Karten und Textkaesten ==== */

/* ==== MAINLAND: Kasten-Varianten (hellgrau mit Rahmen, weiss mit Rahmen, dunkelblau) ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-box-hell { background: #f7f8fb; border: 1px solid #d9dee8; border-radius: 0; padding: 48px 28px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-box-rahmen { background: #ffffff; border: 1px solid #d9dee8; border-radius: 0; padding: 48px 28px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-box-blau { background: var(--ast-global-color-1); border-radius: 20px; padding: 48px 28px; color: #ffffff; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-box-blau :is(h1, h2, h3, h4, h5, h6, p, li) { color: #ffffff; }
@media (max-width: 767px) { body :is(.wp-block-spectra-container, .wp-block-group):is(.mainland-box-hell, .mainland-box-rahmen, .mainland-box-blau) { padding: 28px 18px; } }
/* Abstand vor und nach Kaesten in Beitraegen wie bei Bildern */
body.single-post .mainland-text.mainland-text > * + .mainland-box, body.single-post .mainland-text.mainland-text > .mainland-box + * { margin-top: 40px; }
@media (max-width: 767px) { body.single-post .mainland-text.mainland-text > * + .mainland-box, body.single-post .mainland-text.mainland-text > .mainland-box + * { margin-top: 32px; } }
body.single-post .mainland-text.mainland-text > .mainland-box + h2 { margin-top: 85px; }
body.single-post .mainland-text.mainland-text > .mainland-box + h3 { margin-top: 60px; }
@media (max-width: 767px) { body.single-post .mainland-text.mainland-text > .mainland-box + h2 { margin-top: 70px; } body.single-post .mainland-text.mainland-text > .mainland-box + h3 { margin-top: 50px; } }
/* ==== Ende Kasten-Varianten ==== */

/* ==== MAINLAND: Energieeffizienz-Tabelle mittig (Beitrag Energieeffizienz Immobilienwert) ==== */
body .mainland-energy-table-wrap { margin-left: auto !important; margin-right: auto !important; align-self: center; }

/* ==== MAINLAND: Seiten-Bausteine (Bereiche, Spalten, Infobox, Hinweis, Zeitstrahl) ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-bereich-rose { background: var(--ast-global-color-7); border-radius: 15px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-bereich-grau { background: var(--ast-global-color-5); border-radius: 15px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-bereich-schatten { box-shadow: 3px 8px 12px 0 rgba(0, 0, 0, 0.44); border-radius: 15px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > :first-child { flex: 0 0 calc(75% - 20px); width: calc(75% - 20px); max-width: calc(75% - 20px); }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > :last-child { flex: 0 0 25%; width: 25%; max-width: 25%; }

body :is(.wp-block-spectra-container, .wp-block-group).mainland-dreispaltig { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 20px; padding: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-dreispaltig > * { flex: 1 1 0; min-width: 0; margin: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox { display: block; text-align: center; padding: 15px 0 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox::before { content: ""; display: block; width: 30px; height: 30px; margin: 0 auto 18px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20512%20512'%3E%3Cpath%20fill%3D'%23ff9103'%20d%3D'M256%200C114.6%200%200%20114.6%200%20256c0%20141.4%20114.6%20256%20256%20256s256-114.6%20256-256C512%20114.6%20397.4%200%20256%200zM382.6%20302.6l-103.1%20103.1C270.7%20414.6%20260.9%20416%20256%20416c-4.881%200-14.65-1.391-22.65-9.398L129.4%20302.6c-12.5-12.5-12.5-32.75%200-45.25s32.75-12.5%2045.25%200L224%20306.8V128c0-17.690%2014.33-32%2032-32s32%2014.31%2032%2032v178.8l49.380-49.38c12.5-12.5%2032.75-12.5%2045.25%200S395.1%20290.1%20382.6%20302.6z'%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > :is(h2, h3, h4) { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; text-transform: uppercase; color: var(--ast-global-color-1); text-align: center; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > :is(h2, h3, h4)::after { content: ""; display: block; width: 104px; height: 2px; margin: 28px auto 0; background: #333333; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > p { margin: 10px 0 0; text-align: center; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > p.mainland-infobox-link { margin-top: 20px; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > p.mainland-infobox-link a { color: #0c2c74; font-weight: 600; text-decoration: none; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-infobox > p.mainland-infobox-link a::after { content: ""; display: inline-block; width: 15px; height: 15px; margin-left: 5px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20512%20512'%3E%3Cpath%20fill%3D'%230c2c74'%20d%3D'M504.3%20273.6l-112.1%20104c-6.992%206.484-17.18%208.218-25.94%204.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9%20288H32C14.33%20288%20.0002%20273.7%20.0002%20255.1S14.33%20224%2032%20224h319.9l0-72c0-9.547%205.66-18.19%2014.42-22c8.754-3.809%2018.950-2.075%2025.94%204.41l112.1%20104C514.6%20247.9%20514.6%20264.1%20504.3%20273.6z'%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-hinweis { display: block; background: var(--ast-global-color-5); border-left: 10px solid #0c2c74; padding: 15px 15px 10px 20px; }

body :is(.wp-block-spectra-container, .wp-block-group).mainland-hinweis > p { margin: 0; }

body .mainland-dachzeile { color: var(--ast-global-color-0); margin-bottom: 15px; }
body .wp-block-spectra-button.mainland-button-orange { background: var(--ast-global-color-0); }
@media (max-width: 767px) {
  body :is(.wp-block-spectra-container, .wp-block-group).mainland-dreispaltig { flex-direction: column; }
  body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > :first-child, body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > :last-child { flex: 0 0 auto; width: 100%; max-width: 100%; }
}
body .mainland-text > .mainland-ah { margin-top: 0; margin-bottom: 0; }
body .mainland-text > h1.mainland-ah { margin-bottom: 15px; }
body .mainland-text > .mainland-dachzeile { margin-top: 0; margin-bottom: 0; }
body:not(.single-post) .mainland-text > :is(ul, ol) { margin-top: 0; margin-bottom: 0; }
body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > *, body :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig.mainland-breit-links > :is(.wp-block-spectra-container, .wp-block-group):not(.mainland-karte) { padding: 10px; box-sizing: border-box; }
body .wp-block-spectra-button.mainland-pfeil::after { content: ""; display: inline-block; width: 15px; height: 15px; margin-left: 8px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20512%20512'%3E%3Cpath%20fill%3D'%23ffffff'%20d%3D'M504.3%20273.6l-112.1%20104c-6.992%206.484-17.18%208.218-25.94%204.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9%20288H32C14.33%20288%20.0002%20273.7%20.0002%20255.1S14.33%20224%2032%20224h319.9l0-72c0-9.547%205.66-18.19%2014.42-22c8.754-3.809%2018.95-2.075%2025.94%204.41l112.1%20104C514.6%20247.9%20514.6%20264.1%20504.3%20273.6z'%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
/* Spalten in Seiten: wie Legacy nur 20-px-Raster, keine Astra-Aussenabstaende */
body:not(.single-post) :is(.wp-block-spectra-container, .wp-block-group).mainland-zweispaltig > .mainland-text { gap: 20px; }

/* ==== Ende Seiten-Bausteine ==== */

/* MAINLAND: Seiten - Ueberschriften direkt im Textabschnitt wie Legacy (0 oben, 20 px unten) */
body.page:not(.page-id-33070) .mainland-text.mainland-text > :is(h1,h2,h3,h4,h5,h6):not(.mainland-ah) { margin-top: 0; margin-bottom: 20px; }

/* MAINLAND: Telefonzeile (Nummer und Anruf-Button nebeneinander) */

/* MAINLAND: Luft unter Ueberschrift/Dachzeile in Abschnitten ohne Abstand */
body .mainland-text.mainland-text > .mainland-luft { margin-bottom: 20px; }

/* MAINLAND: Kurzfazit-Kasten (grau, oranger Rand links, Schatten) */
body .mainland-box.mainland-kurzfazit { background: #f4f4f6; border-left: 6px solid #ff9103; border-radius: 15px; box-shadow: 3px 8px 12px 0 rgba(0,0,0,.44); padding: 30px 34px; }
@media (max-width: 767px) { body .mainland-box.mainland-kurzfazit { padding: 24px 18px; } }

/* MAINLAND: Checkliste (Liste mit orangem Haken-Kreis) */
body .mainland-text.mainland-text > ul.mainland-checkliste, body ul.mainland-checkliste { list-style: none; margin-left: 0; padding-left: 6px; }
body ul.mainland-checkliste > li { position: relative; padding-left: 40px; min-height: 28px; font-weight: 600; line-height: 1.5; margin: 0; }
body ul.mainland-checkliste > li + li { margin-top: 14px; }
body ul.mainland-checkliste > li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ff9103' d='M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z'/%3E%3C/svg%3E") no-repeat center / 28px 28px; }

/* MAINLAND: Preistabellen (vorher Stil im HTML-Block der Seite Immobilienmarkt) */

/* Tablet: 768 bis 976 px – Breakpoint identisch mit Astra und Spectra */

/* Mobil: bis 767 px – Breakpoint identisch mit Astra und Spectra.
   Ab hier kein Mindestbreitenzwang mehr, die Tabelle passt sich der
   Bildschirmbreite an. Damit entfaellt das seitliche Scrollen. */
@media (max-width: 767px) {
  

  

  

  /* Preisspalte darf jetzt umbrechen, sonst erzwingt sie Breite */
  

  
  
  
}

/* MAINLAND: Seiten - Bilder direkt im Abschnitt ohne Aussenabstand (Abstand kommt vom Abschnitt) */

/* MAINLAND: Zweispalter 2/3 zu 1/3 */

/* MAINLAND: Textlink mit Pfeil-Symbol davor */
body p.mainland-linkpfeil { display: flex; align-items: center; gap: 15px; }
body p.mainland-linkpfeil::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0C114.6 0 0 114.6 0 256c0 141.4 114.6 256 256 256s256-114.6 256-256C512 114.6 397.4 0 256 0zM406.6 278.6l-103.1 103.1c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25L306.8 288H128C110.3 288 96 273.7 96 256s14.31-32 32-32h178.8l-49.38-49.38c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l103.1 103.1C414.6 241.3 416 251.1 416 256C416 260.9 414.6 270.7 406.6 278.6z'/%3E%3C/svg%3E") no-repeat center / 16px 16px; }
body p.mainland-linkpfeil a { color: var(--ast-global-color-0); text-decoration: none; }

/* MAINLAND: Kasten hellblau */
body .mainland-box.mainland-box-blauhell { background: rgba(11, 42, 115, .08); }

/* MAINLAND: Erbschaft-Tabellen (vorher Stil im HTML-Block der Seite Geerbte Immobilie) */

.mli-tab-wrap,.mli-tab-wrap *{box-sizing:border-box}
.mli-tab-wrap{
  --mli-blue:#011381;
  --mli-blue-soft:#e6e8f4;
  --mli-border:#d5d9e6;
  --mli-zebra:#f6f7fb;
  --mli-text:#141a33;
  --mli-muted:#5c6379;
  margin:2rem 0;
  font-variant-numeric:tabular-nums;
  color:var(--mli-text);
}
.mli-tab-wrap h3{
  font-size:1.0625rem;margin:0 0 .5rem;line-height:1.3;
}
.mli-tab-wrap table{
  width:100%;border-collapse:collapse;background:#fff;
  border:1px solid var(--mli-border);border-radius:8px;overflow:hidden;
  font-size:.9375rem;
}
.mli-tab-wrap caption{
  caption-side:top;text-align:left;font-size:.8125rem;color:var(--mli-muted);
  padding:0 0 .5rem;
}
.mli-tab-wrap thead th{
  background:var(--mli-blue);color:#fff;font-weight:650;text-align:left;
  padding:.7rem .85rem;font-size:.875rem;line-height:1.3;
}
.mli-tab-wrap thead th.mli-num{text-align:right}
.mli-tab-wrap tbody th{
  text-align:left;font-weight:650;padding:.7rem .85rem;vertical-align:top;
}
.mli-tab-wrap tbody td{
  padding:.7rem .85rem;vertical-align:top;
}
.mli-tab-wrap tbody td.mli-num{text-align:right;white-space:nowrap;font-weight:650}
.mli-tab-wrap tbody tr:nth-child(even){background:var(--mli-zebra)}
.mli-tab-wrap tbody tr + tr{border-top:1px solid var(--mli-border)}
.mli-tab-wrap .mli-quelle{
  font-size:.8125rem;color:var(--mli-muted);margin:.6rem 0 0;
}
.mli-tab-wrap .mli-quelle a{color:var(--mli-blue)}

/* ---- Mobil: Tabelle wird zur Karte ---- */
@media (max-width:640px){
  .mli-tab-wrap table,
  .mli-tab-wrap caption,
  .mli-tab-wrap thead,
  .mli-tab-wrap tbody,
  .mli-tab-wrap tr,
  .mli-tab-wrap th,
  .mli-tab-wrap td{display:block;width:auto;max-width:100%}
  .mli-tab-wrap table{border:0;border-radius:0;background:transparent;width:100%}
  .mli-tab-wrap caption{padding-bottom:.6rem}
  .mli-tab-wrap thead{
    position:absolute;width:1px;height:1px;overflow:hidden;
    clip:rect(0 0 0 0);white-space:nowrap;
  }
  .mli-tab-wrap tbody tr{
    border:1px solid var(--mli-border);border-radius:8px;
    margin-bottom:.75rem;background:#fff;overflow:hidden;
  }
  .mli-tab-wrap tbody tr:nth-child(even){background:#fff}
  .mli-tab-wrap tbody th{
    background:var(--mli-blue-soft);color:var(--mli-blue);
    padding:.6rem .85rem;font-size:.9375rem;overflow-wrap:break-word;
  }
  .mli-tab-wrap tbody td{
    display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
    padding:.55rem .85rem;border-top:1px solid var(--mli-border);
    text-align:right;white-space:normal;
  }
  .mli-tab-wrap tbody td::before{
    content:attr(data-label);
    font-weight:400;color:var(--mli-muted);font-size:.875rem;
    flex:1 1 auto;text-align:left;
  }
  .mli-tab-wrap tbody td.mli-num{white-space:nowrap}
}

body .entry-content p.mainland-linkpfeil a { text-decoration: none; }
body .entry-content p.mainland-linkpfeil a:hover { text-decoration: underline; }

/* MAINLAND: Seiten - kompaktere Abschnittsabstaende (06.10.2026) */
body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { padding-top: 40px !important; padding-bottom: 40px !important; margin-top: 0; }
body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt:is(.mainland-bereich, .mainland-box), body.page .entry-content > :is(.mainland-bereich, .mainland-box) + .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { margin-top: 40px; }

@media (max-width: 767px) { body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { padding-top: 30px !important; padding-bottom: 30px !important; } body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt:is(.mainland-bereich, .mainland-box), body.page .entry-content > :is(.mainland-bereich, .mainland-box) + .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { margin-top: 30px; }  }
body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt:has(> .mainland-box:only-child) { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 40px; }

@media (max-width: 767px) { body.page .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt:has(> .mainland-box:only-child), body.page .entry-content > :has(> .mainland-box:only-child) + .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { margin-top: 30px; } }
/* Spectra setzt vor jeden Abschnitt ein <style>-Element, daher auch + style + */
body.page .entry-content > :is(.mainland-bereich, .mainland-box, :has(> .mainland-box:only-child)) + style + .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { margin-top: 40px; }
@media (max-width: 767px) { body.page .entry-content > :is(.mainland-bereich, .mainland-box, :has(> .mainland-box:only-child)) + style + .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt { margin-top: 30px; } }

/* MAINLAND: Kacheln (4 nebeneinander, Tablet 2, Handy 1) */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; }
@media (max-width: 976px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-kacheln { grid-template-columns: 1fr; } }
body .mainland-box.mainland-kachel { padding: 20px; margin: 0; }

/* MAINLAND: Infokarte (Rahmen, blaues Symbol, Linie ueber dem Titel) */

/* MAINLAND: Seiten - H2 mitten im Abschnitt (neues Thema) mit 40 px Luft davor */
body.page .mainland-text.mainland-text > h2:not(:first-child) { margin-top: 40px; }
@media (max-width: 767px) { body.page .mainland-text.mainland-text > h2:not(:first-child) { margin-top: 30px; } }

/* MAINLAND: Bilder in Spalten mittig */
body .mainland-zweispaltig figure.wp-block-image, body .mainland-zweispaltig > :is(.wp-block-spectra-container, .wp-block-group) > figure.wp-block-image { text-align: center; }
body .mainland-zweispaltig figure.wp-block-image img { margin-left: auto; margin-right: auto; }

/* MAINLAND: Seiten - einheitlicher Seitenrand (06.10.2026): Text und Kaesten enden links/rechts buendig */
body.page .entry-content > :is(:is(.wp-block-spectra-container.spectra-is-root-container, .wp-block-group.mainland-abschnitt), .wp-block-group.mainland-tool):not(.mainland-bereich):not(.mainland-box) { padding-left: 24px !important; padding-right: 24px !important; }
body.page .entry-content > :is(.spectra-is-root-container, .mainland-abschnitt):is(.mainland-bereich, .mainland-box) { max-width: 1152px !important; width: calc(100% - 48px); margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 767px) {
  body.page .entry-content > :is(:is(.wp-block-spectra-container.spectra-is-root-container, .wp-block-group.mainland-abschnitt), .wp-block-group.mainland-tool):not(.mainland-bereich):not(.mainland-box) { padding-left: 20px !important; padding-right: 20px !important; }
  body.page .entry-content > :is(.spectra-is-root-container, .mainland-abschnitt):is(.mainland-bereich, .mainland-box) { width: calc(100% - 40px); }
}
body.page.ast-page-builder-template .site-main > article:has(> .entry-content > :is(.spectra-is-root-container, .mainland-abschnitt)) { padding-left: 0; padding-right: 0; }

/* MAINLAND: Infokarte orange (Rahmen orange, Symbol als Bild) */

/* MAINLAND: Tabellen Provision und Hauspreise (vorher Stil im HTML-Block der Seite Haus verkaufen) */

#mi-provision {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-family: inherit;
  color: #393939;
}

#mi-provision * {
  box-sizing: border-box;
}

#mi-provision .table-title {
  padding: 14px;
  background: #f4f4f6;
  color: #011381;
  border: 1px solid #d9dce8;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  font-weight: 700;
}

#mi-provision .table-shell {
  overflow: hidden;
  border: 1px solid #d9dce8;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 16px rgba(1,19,129,0.06);
}

#mi-provision table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

#mi-provision th,
#mi-provision td {
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid #e4dfdf;
}

#mi-provision th {
  background: #011381;
  color: #ffffff;
  text-align: left;
}

#mi-provision th:nth-child(2),
#mi-provision th:nth-child(3),
#mi-provision td:nth-child(2),
#mi-provision td:nth-child(3) {
  text-align: right;
}

#mi-provision tbody tr:nth-child(even) {
  background: #f4f4f6;
}

#mi-provision tbody tr:last-child td {
  border-bottom: 0;
}

#mi-provision td:first-child {
  color: #011381;
  font-weight: 700;
}

/* Tablet und Mobil */
@media (max-width: 921px) {
  #mi-provision .table-title {
    margin-bottom: 10px;
    border: 0;
    border-radius: 12px;
  }

  #mi-provision .table-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #mi-provision table,
  #mi-provision tbody,
  #mi-provision tr,
  #mi-provision td {
    display: block;
    width: 100%;
  }

  #mi-provision thead {
    display: none;
  }

  #mi-provision tbody tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #d9dce8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(1,19,129,0.05);
  }

  #mi-provision tbody tr:nth-child(even) {
    background: #ffffff;
  }

  #mi-provision td {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
    padding: 10px 14px;
    border: 0;
    text-align: right !important;
  }

  #mi-provision td::before {
    content: attr(data-label);
    color: #393939;
    font-weight: 600;
    text-align: left;
  }

  #mi-provision td:first-child {
    display: block;
    padding: 13px 14px;
    background: #f4f4f6;
    color: #011381;
    font-size: 16px;
    text-align: left !important;
  }

  #mi-provision td:first-child::before {
    content: none;
  }
}

#mi-hauspreise {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-family: inherit;
  color: #393939;
}

#mi-hauspreise * {
  box-sizing: border-box;
}

#mi-hauspreise .table-title {
  padding: 14px;
  background: #f4f4f6;
  color: #011381;
  border: 1px solid #d9dce8;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  font-weight: 700;
}

#mi-hauspreise .table-shell {
  overflow: hidden;
  border: 1px solid #d9dce8;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 16px rgba(1,19,129,0.06);
}

#mi-hauspreise table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

#mi-hauspreise th,
#mi-hauspreise td {
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid #e4dfdf;
}

#mi-hauspreise th {
  background: #011381;
  color: #ffffff;
  text-align: left;
}

#mi-hauspreise th:last-child,
#mi-hauspreise td:last-child {
  text-align: right;
}

#mi-hauspreise tbody tr:nth-child(even) {
  background: #f4f4f6;
}

#mi-hauspreise tbody tr:last-child td {
  border-bottom: 0;
}

#mi-hauspreise td:first-child {
  color: #011381;
  font-weight: 700;
}

/* Tablet und Mobil */
@media (max-width: 921px) {
  #mi-hauspreise .table-title {
    margin-bottom: 10px;
    border: 0;
    border-radius: 12px;
  }

  #mi-hauspreise .table-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #mi-hauspreise table,
  #mi-hauspreise tbody,
  #mi-hauspreise tr,
  #mi-hauspreise td {
    display: block;
    width: 100%;
  }

  #mi-hauspreise thead {
    display: none;
  }

  #mi-hauspreise tbody tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #d9dce8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(1,19,129,0.05);
  }

  #mi-hauspreise tbody tr:nth-child(even) {
    background: #ffffff;
  }

  #mi-hauspreise td {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
    padding: 10px 14px;
    border: 0;
    text-align: right !important;
  }

  #mi-hauspreise td::before {
    content: attr(data-label);
    color: #393939;
    font-weight: 600;
    text-align: left;
  }

  #mi-hauspreise td:first-child {
    display: block;
    padding: 13px 14px;
    background: #f4f4f6;
    color: #011381;
    font-size: 16px;
    text-align: left !important;
  }

  #mi-hauspreise td:first-child::before {
    content: none;
  }
}

/* MAINLAND: Dachzeile ueber H2 mitten im Abschnitt: Luft vor der Dachzeile, nicht zwischen Dachzeile und H2 */

body.page .mainland-text.mainland-text > .mainland-dachzeile + h2 { margin-top: 0; }

/* MAINLAND: innere Bereiche als WordPress-Gruppe (weniger Inline-CSS als Spectra-Container) */
.mainland-text .wp-block-group.is-layout-flex > * { min-width: 0; }
.mainland-text .wp-block-group { margin-top: 0; margin-bottom: 0; }

/* MAINLAND: Infokarte orange - kraeftigerer Rahmen */

/* MAINLAND: Seiten - H3 mitten im Abschnitt mit Luft davor; Tabellen mit Abstand */
body.page:not(.page-id-33070) .mainland-text.mainland-text > h3:not(:first-child) { margin-top: 40px; }

body .mainland-text.mainland-text > :is(#mi-provision, #mi-hauspreise) { margin-top: 20px; margin-bottom: 40px; }

/* MAINLAND: Abschnitt als WordPress-Gruppe (ersetzt Spectra-Abschnittscontainer) */
/* wie Spectra-Container: Kinder ohne eigenen Aussenabstand (gleiche Spezifitaet 0,1,1) */
body .wp-block-group:where([class*="mainland-"]) > * { margin-top: 0; margin-bottom: 0; }

body .entry-content > .wp-block-group.mainland-abschnitt { max-width: 1200px; width: 100%; margin-left: auto; margin-right: auto; box-sizing: border-box; }
/* Astra gibt Gruppen 3em Innenabstand - fuer MAINLAND-Gruppen aus */
body:not(.page) .entry-content > .wp-block-group.mainland-abschnitt:not([style*="padding-left"]) { padding-left: 0 !important; padding-right: 0 !important; }

/* MAINLAND: Sonder-CSS aus frueheren Spectra-Containern (GEG-Beitrag, Dachgeschoss-Checkliste) */
body .mainland-abschnitt > .mainland-law-comparison { margin: 32px 0 20px; }
@media (max-width: 767px) {
  body .mainland-abschnitt > .mainland-law-comparison { margin: 24px 0 20px; }
}
body .mainland-abschnitt > .mainland-dg-checkliste { width: 100%; margin-left: auto !important; margin-right: auto !important; }

/* MAINLAND: Kacheln 2 nebeneinander, mittige Karten, Vorteil-Karten (Symbol links) */

/* MAINLAND: Unterzeile unter Ueberschrift (grau, etwas kleiner), Angebots-Karten, farbige Bereiche als Gruppe */
body .mainland-unterzeile { font-size: 0.912em; color: var(--ast-global-color-3); }
body .mainland-text.mainland-text > h2 + .mainland-unterzeile { margin-top: -10px; }

/* MAINLAND: Preiskarten (Immobilienbewertung) */

/* MAINLAND: Kacheln 5 nebeneinander (Pluspunkte) */

/* Preiskarten gleich hoch, Button unten */

/* MAINLAND: Zaehler (Spectra Counter in grauer Kachel) */

/* MAINLAND: Slider und Galerie */

body .wp-block-gallery.mainland-galerie { gap: 20px; }
body .wp-block-gallery.mainland-galerie .wp-block-image { justify-content: center; align-items: center; }

/* ==== MAINLAND: Startseite (Oktober 2026) ==== */
/* Dunkelblauer Bereich (Hero, Statistik) */

/* Sterne */

/* Kacheln 3 je Zeile */

/* Statistik-Karten */

/* Kurzfazit mit blauem Rand */

/* Siegel-Reihe */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-siegel { display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--ast-global-color-5); border: 2px solid #0c2c74; border-radius: 15px; }
body .mainland-siegel .wp-block-image { margin: 0; }
body .mainland-siegel img { display: block; max-width: 100%; height: auto; }
/* Leistungs- und Schritt-Karten */

/* Drei Schritte mit Pfeilen */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 70px; padding: 0; }

@media (max-width: 1100px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-schritte { grid-template-columns: 1fr; }  }
/* Blog-Karten (Abfrage-Block) */
body .mainland-blogkarten .wp-block-post-template { gap: 20px; margin: 0; }
@media (min-width: 600px) and (max-width: 976px) { body .mainland-blogkarten .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .mainland-blogkarten .wp-block-post { display: flex; flex-direction: column; margin: 0; padding: 20px; overflow: hidden; border-radius: 20px; background: var(--ast-global-color-7); }
body .mainland-blogkarten .wp-block-post-featured-image { margin: -20px -20px 15px; }
body .mainland-blogkarten .wp-block-post-featured-image img { display: block; width: 100%; border-radius: 0; object-fit: cover; }
body .mainland-blogkarten .wp-block-post-title { margin: 0 0 15px; font-size: 20px; line-height: 26px; font-weight: 600; text-transform: none; }
body .mainland-blogkarten .wp-block-post-title a { color: var(--ast-global-color-1); text-decoration: none; }
body .mainland-blogkarten .wp-block-read-more { margin-top: auto; align-self: flex-start; padding: 12px; border-radius: 15px; background: var(--ast-global-color-1); color: #ffffff; font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: uppercase; text-decoration: none; }
body .mainland-blogkarten .wp-block-read-more:hover { background: var(--ast-global-color-0); color: var(--ast-global-color-8); }

/* Startseite Nachbesserung: Hero-Button linksbuendig, Siegel einheitlich gross, mehr Abstand unter Siegeln */

body :is(.wp-block-spectra-container, .wp-block-group).mainland-kacheln.mainland-siegel-reihe { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 30px; }
@media (max-width: 767px) { body :is(.wp-block-spectra-container, .wp-block-group).mainland-kacheln.mainland-siegel-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .mainland-siegel-reihe > .mainland-siegel { aspect-ratio: 1 / 1; padding: 16px; }
body .mainland-siegel-reihe > .mainland-siegel .wp-block-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
body .mainland-siegel-reihe > .mainland-siegel img { width: 100%; height: 100%; max-width: 200px; max-height: 200px; object-fit: contain; }

/* MAINLAND: Blog-Uebersicht (Seite 29029) – Variante der Blog-Karten */
body .mainland-blogkarten.mainland-blogliste .wp-block-post { background: #ffffff; border: 1px solid var(--ast-global-color-7); border-radius: 6px; box-shadow: 0 50px 50px -46px rgba(0, 0, 0, .14); }
body .mainland-blogkarten.mainland-blogliste .wp-block-post-featured-image { margin-bottom: 18px; }
body .mainland-blogkarten.mainland-blogliste .wp-block-post-featured-image img { border-radius: 15px; }
body .mainland-blogkarten.mainland-blogliste .wp-block-post-title { margin: 0 0 20px; font-size: 17px; line-height: 1.5; }
body .mainland-blogkarten.mainland-blogliste .wp-block-read-more { padding: 10px 15px; font-size: 13px; text-transform: none; }
body .mainland-blogkarten.mainland-blogliste .wp-block-post-template { gap: 30px 20px; }

/* MAINLAND: Footer-Widgets (WordPress-Bloecke statt Spectra Legacy) */
body .site-footer p.mainland-footer-text { margin: 0; color: var(--ast-global-color-4); }
body .site-footer p.mainland-footer-text.mainland-footer-klein { font-size: 14px; line-height: 23.1px; }
body .site-footer p.mainland-footer-text a { color: var(--ast-global-color-4); text-decoration: none; }
body .site-footer p.mainland-footer-text a:hover { color: var(--ast-global-color-0); }
body .site-footer .mainland-footer-logo { margin: 0; }

/* MAINLAND: 404-Seite (Astra-Layout 31420) */
body .wp-block-group.mainland-404 { max-width: 1200px; margin: 0 auto; padding: 64px 24px; box-sizing: border-box; }
body .wp-block-group.mainland-404 > * { margin-top: 0; margin-bottom: 0; }
body .wp-block-group.mainland-404 > h1 { margin-bottom: 24px; color: var(--ast-global-color-1); }
body .wp-block-group.mainland-404 > .wp-block-image { margin-bottom: 20px; }
body .wp-block-group.mainland-404 img { border-radius: 15px; }
@media (max-width: 767px) { body .wp-block-group.mainland-404 { padding: 32px 16px; } }

/* MAINLAND: Google-Sterne (wiederverwendbarer Block 30767) immer gelb wie auf der Startseite */

/* MAINLAND: Gruene Link-Buttons (z. B. Bodenrichtwerte, externe Portale) */
body .wp-block-spectra-buttons.mainland-buttons-gruen { gap: 12px; }
body a.wp-block-spectra-button.mainland-button-gruen.mainland-button-gruen { background: #2e7d32; color: #ffffff; }
body a.wp-block-spectra-button.mainland-button-gruen.mainland-button-gruen:hover, body a.wp-block-spectra-button.mainland-button-gruen.mainland-button-gruen:focus { background: #1b5e20; color: #ffffff; }
body p.mainland-linkgruppe-titel { margin-top: 30px; }

/* MAINLAND: Bild in Spalte linksbuendig (statt mittig) */

/* MAINLAND: abgerundete blaue Kaesten + Zielkarten (3 nebeneinander, Button unten) */

/* MAINLAND: Hover einheitlich – blaue Buttons werden orange mit dunkler Schrift; orange Buttons behalten ihren bisherigen Hover (blau, orange Schrift) */
body a.wp-block-spectra-button.mainland-button-orange:hover, body a.wp-block-spectra-button.mainland-button-orange:focus { background: var(--ast-global-color-1); color: var(--ast-global-color-0); }

/* MAINLAND: einheitlicher Abstand vom letzten Inhalt zum Footer (Desktop 80 px, Handy 60 px) */
body .site-content .entry-content { padding-bottom: 80px; }
body .entry-content > :last-child:not(.mainland-box):not(.mainland-bereich) { padding-bottom: 0 !important; }
body .entry-content > :last-child { margin-bottom: 0 !important; }
body .entry-content > :last-child > :last-child,
body .entry-content > :last-child > :last-child > :last-child { margin-bottom: 0 !important; }
@media (max-width: 767px) { body .site-content .entry-content { padding-bottom: 60px; } }
html body .site-content .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt:last-child:not(.mainland-box):not(.mainland-bereich) { padding-bottom: 0 !important; }

/* ==== MAINLAND: einheitliche Abstaende auf Seiten (07.10.2026) ====
   Grundraster 20 px zwischen allen Elementen eines Textbereichs (Abstand nur noch ueber "gap", keine Einzel-Margins),
   vor Zwischenueberschriften mehr Luft: H2 60 px, H3 40 px, H4 32 px; vor/nach Bildern, Buttons, Kaesten, Tabellen 40 px.
   Handy: H2 50 px, H3 32 px, H4 28 px, Bilder/Buttons/Kaesten 32 px. Situationscheck (33070) ausgenommen. */
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text { row-gap: 20px; }

html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p, ul, ol, h1, h2, h3, h4, h5, h6, figure, .wp-block-image, .wp-block-table, .wp-block-buttons, .wp-block-spectra-buttons, .wp-block-embed, .wp-block-html) { margin-top: 0 !important; margin-bottom: 0 !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > .mainland-luft { margin-bottom: 0 !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h2 { margin-top: 40px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h3 { margin-top: 20px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h4 { margin-top: 12px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .wp-block-spectra-accordion) { margin-top: 20px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .wp-block-spectra-accordion) + :is(p, ul, ol) { margin-top: 20px !important; }
@media (max-width: 767px) {
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h2 { margin-top: 30px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h3 { margin-top: 12px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .wp-block-spectra-accordion, .wp-block-html, .wp-block-embed) + h4 { margin-top: 8px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .wp-block-spectra-accordion) { margin-top: 12px !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .wp-block-spectra-accordion) + :is(p, ul, ol) { margin-top: 12px !important; }
}

/* MAINLAND: Typografie-Abgleich (07.10.2026) */
/* Spectra-Stilvorlage "h3-blue-600-fliesstext-margin-20-oben" setzte Schriftstaerke 500 – einheitlich 600 wie alle Ueberschriften */

/* Tabellen-Ueberschriften in Info-Tabellen wie normale H3 */
html body .entry-content .mli-tab-wrap h3 { font-size: 20px; line-height: 1.3; }
/* Checkliste Dachgeschossausbau: Schriftgroessen und Farben wie auf der restlichen Seite */
html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste .mi-header h2 { font-size: 30px; line-height: 1.3; font-weight: 600; }
html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste h3 { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ast-global-color-1); }
html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste :is(p, li):not(.mi-header *) { font-size: 17px; color: var(--ast-global-color-2); }
@media (max-width: 767px) {
html body .entry-content .mli-tab-wrap h3, html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste h3 { font-size: 17.33px; }
html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste .mi-header h2 { font-size: 20.98px; }
html body .entry-content .mainland-dg-checkliste.mainland-dg-checkliste :is(p, li):not(.mi-header *) { font-size: 15.5px; }
}

/* ==== MAINLAND: FAQ farbig (07.10.2026) – hellgraue Karten, Frage in H1-Blau, Icon orange, offene Frage hellblau mit orangem Balken ==== */
body .wp-block-spectra-accordion.mainland-faq.mainland-faq { row-gap: 12px; gap: 12px; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq > .wp-block-spectra-accordion-child-item { background: var(--ast-global-color-5); border: 0; border-left: 4px solid transparent; border-radius: 12px; overflow: hidden; transition: background-color .2s ease, border-color .2s ease; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq > .wp-block-spectra-accordion-child-item.is-active { background: #eef1f9; border-left-color: var(--ast-global-color-0); }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header { padding: 16px 20px; gap: 14px; color: var(--ast-global-color-1); font-weight: 600; line-height: 1.45; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header:hover, body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header:focus-visible { color: var(--ast-global-color-1); background-color: #e9ecf5; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: -2px; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header.is-active:hover { background-color: transparent; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq > .wp-block-spectra-accordion-child-item { row-gap: 0; gap: 0; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header-icon { color: var(--ast-global-color-0); flex: 0 0 auto; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header-icon svg { width: 16px; height: 16px; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-details { padding: 0 20px 18px 50px; color: var(--ast-global-color-2); }
@media (max-width: 767px) {
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-header { padding: 14px 16px; gap: 12px; }
body .wp-block-spectra-accordion.mainland-faq.mainland-faq .wp-block-spectra-accordion-child-details { padding: 0 16px 16px 16px; }
}

/* ==== MAINLAND: Abstands-Feinabgleich (07.10.2026) ==== */
/* Seiten: Tabellen wie andere grosse Elemente (40 px Abstand zum Text), Kasten auf Kasten 40 px */
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(table, .mli-tab-wrap, .wp-block-table) { margin-top: 0 !important; margin-bottom: 0 !important; }
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(table, .mli-tab-wrap) + :is(p, ul, ol), html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p, ul, ol) + :is(table, .mli-tab-wrap) { margin-top: 20px !important; }

/* Beitraege: Buttons wie Bilder und Kaesten mit 40 px (Handy 32 px) Abstand zum Text */
body.single-post .mainland-text.mainland-text > :is(p, ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons), body.single-post .mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons) + :is(p, ul, ol) { margin-top: 40px; }
@media (max-width: 767px) {
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(table, .mli-tab-wrap) + :is(p, ul, ol), html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p, ul, ol) + :is(table, .mli-tab-wrap), html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(.mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel) + :is(.mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel) { margin-top: 12px !important; }
body.single-post .mainland-text.mainland-text > :is(p, ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons), body.single-post .mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons) + :is(p, ul, ol) { margin-top: 32px; }
}

/* ==== MAINLAND: Vorlagen-Ergaenzungen (07.10.2026) ==== */
/* Kinder von Abschnitts-Containern duerfen schrumpfen (bisher je Seite per Spectra-Custom-CSS, jetzt zentral auch fuer neue Vorlagen) */
body .wp-block-spectra-container.mainland-text > * { min-width: 0; }
/* Objekt-Status-Buttons (nicht klickbar, ohne Pfeil, ohne Hover): Verkauft rot, Im Vorlauf orange, Reserviert dunkelgrau. Klasse mainland-button-status + mainland-button-verkauft / -vorlauf / -reserviert, ohne Link */

/* Angebotskarten: Bilder einheitlich 3:2, Button immer unten in der Karte */

/* Formulare (SureForms) wie andere grosse Elemente: 40 px (Handy 32 px) Abstand zum Text davor */
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p, ul, ol, .wp-block-spectra-buttons, .wp-block-buttons) + .srfm-form-container { margin-top: 20px !important; }
@media (max-width: 767px) { html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p, ul, ol, .wp-block-spectra-buttons, .wp-block-buttons) + .srfm-form-container { margin-top: 12px !important; } }

/* ==== MAINLAND: Suchkartei-Aufruf (07.10.2026) – grauer Bereich, links Text und Button, rechts drei weisse Vorteil-Karten mit blauem Symbol ==== */
body .mainland-suchkartei.mainland-suchkartei .mainland-zweispaltig { gap: 20px; align-items: center; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt { position: relative; background: #ffffff; border-radius: 12px; padding: 20px 24px 20px 90px; display: flex; flex-direction: column; gap: 4px; min-height: 48px; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt::before { content: ""; position: absolute; left: 24px; top: 20px; width: 48px; height: 48px; border-radius: 50%; background-color: var(--ast-global-color-1); background-repeat: no-repeat; background-position: center; background-size: 24px 24px; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt.mainland-icon-glocke::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'white'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%208a6%206%200%200%201%2012%200c0%207%203%209%203%209H3s3-2%203-9'%2F%3E%3Cpath%20d%3D'M10.3%2021a1.94%201.94%200%200%200%203.4%200'%2F%3E%3C%2Fsvg%3E"); }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt.mainland-icon-haken::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'white'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M20%206%209%2017l-5-5'%2F%3E%3C%2Fsvg%3E"); }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt.mainland-icon-person::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'white'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021a8%208%200%200%201%2016%200'%2F%3E%3C%2Fsvg%3E"); }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt > * { margin: 0 !important; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt > h3 { font-size: 20px; line-height: 1.3; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkte { gap: 16px; }
@media (max-width: 767px) {
body .mainland-suchkartei.mainland-suchkartei .mainland-zweispaltig { gap: 32px; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt { padding: 18px 18px 18px 78px; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt::before { left: 16px; top: 18px; width: 44px; height: 44px; background-size: 22px 22px; }
body .mainland-suchkartei.mainland-suchkartei .mainland-suchkartei-punkt > h3 { font-size: 17.33px; }
}

/* ==== MAINLAND: Rand dunkelblau links mit Schatten (07.10.2026) – frei kombinierbar, z. B. Suchkartei. Klasse mainland-rand-blau ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-rand-blau.mainland-rand-blau { border-left: 6px solid var(--ast-global-color-1); border-radius: 15px; box-shadow: 3px 8px 12px 0 rgba(0,0,0,.44); }

/* ==== MAINLAND: Footer-Feinschliff (07.10.2026) – Logo wie in der Kopfzeile (176 px), am Handy alles mittig, Seitenrand zwischen 977 und 1239 px ==== */
body .site-footer .mainland-footer-logo img { width: 176px !important; max-width: 100%; height: auto !important; }
/* Logos nie abrunden (die Grundregel rundet alle Bilder im Inhalt mit 15 px) */
html body .site-footer .wp-block-image.mainland-footer-logo img, html body .site-header img.custom-logo { border-radius: 0 !important; }
@media (max-width: 767px) {
  body .site-footer .mainland-footer-logo { display: flex; justify-content: center; }
  body .site-footer .footer-widget-area .menu { justify-content: center; }
}
@media (min-width: 977px) and (max-width: 1239px) {
  body .site-footer .site-primary-footer-wrap.ast-builder-grid-row-container, body .site-footer .site-below-footer-wrap.ast-builder-grid-row-container { padding-left: 24px; padding-right: 24px; }
}

/* Footer: linke Spalte (Logo, Anschrift, E-Mail, Telefon) buendig mit dem Seiteninhalt (Hauptseiten 24 px innen) */
@media (min-width: 1240px) { body .site-footer .site-primary-footer-wrap .site-footer-primary-section-1 { padding-left: 24px; } }

/* ==== MAINLAND: Feste Kennzahlen statt hochlaufender Zaehler (07.10.2026) – gleiche Optik wie zuvor der Spectra-Zaehler ==== */

/* ==== MAINLAND: Sterne in Systemschrift (07.10.2026) – "★" liegt nicht im normalen Open-Sans-Paket; ohne diese Regel laedt der Browser fuer die Sterne ein zusaetzliches 26-KB-Schriftpaket ==== */

/* ==== MAINLAND: Download-Karten (Mustervorlagen, 07.10.2026) ==== */
body :is(.wp-block-spectra-container, .wp-block-group).mainland-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; }
body .mainland-downloads > .mainland-download.mainland-download { display: flex; flex-direction: column; margin: 0; border-radius: 15px; }
html body .mainland-download.mainland-download.mainland-text > .mainland-download-info { margin-top: 8px !important; font-size: 0.88em; font-weight: 600; }
body .mainland-download .mainland-download-info::before { content: "PDF"; display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 6px; background: var(--ast-global-color-0); color: #111111; font-size: 0.85em; font-weight: 700; letter-spacing: 0.04em; }
html body .mainland-download.mainland-download.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons) { margin-top: auto !important; padding-top: 24px; }
/* Download-Karten: Vorschaubild der ersten PDF-Seite */
html body .mainland-download.mainland-download.mainland-text > figure.wp-block-image.mainland-download-vorschau { margin: 16px 0 0 !important; align-self: flex-start; width: auto; max-width: 100%; text-align: left; }
html body .mainland-download.mainland-download.mainland-text > figure.wp-block-image.mainland-download-vorschau img { display: block; width: 150px; max-width: 100%; height: auto; max-height: none; margin: 0; border: 1px solid #dde1ea; border-radius: 6px; box-shadow: 0 4px 12px rgba(1, 19, 129, 0.12); }
html body .mainland-download.mainland-download.mainland-text > figure.wp-block-image.mainland-download-vorschau + * { margin-top: 16px !important; }
@media (max-width: 767px) {
html body .mainland-download.mainland-download.mainland-text > figure.wp-block-image.mainland-download-vorschau img { width: 130px; }
}
@media (max-width: 767px) {
body :is(.wp-block-spectra-container, .wp-block-group).mainland-downloads { grid-template-columns: 1fr; }
html body .mainland-download.mainland-download.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons) { padding-top: 20px; }
}

/* ==== MAINLAND: Startseiten-Banner Mustervorlagen (07.10.2026) ==== */
html body .mainland-mv-banner.mainland-mv-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". bild" "text bild" "btn bild" ". bild"; column-gap: 40px; row-gap: 0; margin: 0; padding: 48px 56px; background: var(--ast-global-color-1); border-radius: 15px; overflow: hidden; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-text { grid-area: text; display: flex; flex-direction: column; gap: 16px; margin: 0; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-text > * { margin: 0 !important; padding: 0; }
html body .mainland-mv-banner.mainland-mv-banner .mainland-mv-dachzeile { color: var(--ast-global-color-0); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
html body .mainland-mv-banner.mainland-mv-banner .mainland-mv-dachzeile::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 16px; border-radius: 2px; background: var(--ast-global-color-0); }
html body .mainland-mv-banner.mainland-mv-banner h3 { color: #ffffff; font-size: 30px; line-height: 1.25; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-text > p:not(.mainland-mv-dachzeile) { color: #dfe4f5; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button { grid-area: btn; margin: 24px 0 0 !important; padding: 0; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button a.wp-block-spectra-button { background: var(--ast-global-color-0) !important; color: #111111 !important; font-weight: 700; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button a.wp-block-spectra-button:hover, html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button a.wp-block-spectra-button:focus { background: #ffffff !important; color: var(--ast-global-color-1) !important; }
html body .mainland-mv-banner.mainland-mv-banner > figure.mainland-mv-bild { grid-area: bild; align-self: center; margin: 0 !important; text-align: center; }
html body .mainland-mv-banner.mainland-mv-banner > figure.mainland-mv-bild img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; border-radius: 0; box-shadow: none; }
@media (max-width: 921px) {
html body .mainland-mv-banner.mainland-mv-banner { column-gap: 24px; padding: 40px 32px; }
html body .mainland-mv-banner.mainland-mv-banner h3 { font-size: 25px; }
}
@media (max-width: 767px) {
html body .mainland-mv-banner.mainland-mv-banner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-template-areas: "text" "bild" "btn"; padding: 32px 22px; }
html body .mainland-mv-banner.mainland-mv-banner h3 { font-size: 21px; }
html body .mainland-mv-banner.mainland-mv-banner .mainland-mv-dachzeile { font-size: 13px; }
html body .mainland-mv-banner.mainland-mv-banner > figure.mainland-mv-bild { margin-top: 20px !important; }
html body .mainland-mv-banner.mainland-mv-banner > figure.mainland-mv-bild img { max-width: 340px; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button { margin-top: 16px !important; }
html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button, html body .mainland-mv-banner.mainland-mv-banner > .mainland-mv-button a.wp-block-spectra-button { width: 100%; justify-content: center; }
}

/* MAINLAND: Referenzen (Verkaufsseite) und Angebote/Zuletzt verkauft (Kaufen-Seite), 07.10.2026 */
body .mainland-angebot > .wp-block-image,
body .mainland-referenz > .wp-block-image { order: -1; margin: 0 0 4px; }
body .mainland-referenz { position: relative; border-radius: 15px; }
body .mainland-referenz > .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 15px; }
body .mainland-badge { position: absolute; top: 32px; left: 32px; z-index: 1; margin: 0 !important; padding: 5px 10px; border-radius: 99px; background: var(--ast-global-color-0); color: #0c2c74; font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body .mainland-referenz > .mainland-referenz-art { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4a4f5a; }

body .mainland-referenz > .mainland-referenz-ort { margin: 0; }
body .mainland-referenz > .mainland-referenz-dauer { margin-top: auto !important; padding-top: 12px; border-top: 1px solid #dcdfe6; display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
body .mainland-referenz > .mainland-referenz-dauer strong { color: var(--ast-global-color-6); }

/* Kennzahlen ueber den Referenzen */
body .wp-block-group.mainland-kennzahlen { display: flex; flex-wrap: wrap; gap: 12px; }
body .wp-block-group.mainland-kennzahl { background: var(--ast-global-color-5); border-radius: 15px; padding: 16px 20px; min-width: 200px; gap: 2px; }
body .mainland-kennzahl > p { margin: 0; }
body .mainland-kennzahl > .mainland-kennzahl-wert { font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--ast-global-color-6); }
body .mainland-kennzahl > .mainland-kennzahl-text { font-size: 14px; line-height: 1.4; color: #4a4f5a; }
/* Zuletzt verkauft: kompakte Zeilen, 3 nebeneinander */
body .wp-block-group.mainland-zuletzt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 976px) { body .wp-block-group.mainland-zuletzt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body .wp-block-group.mainland-zuletzt { grid-template-columns: 1fr; } }
body .wp-block-group.mainland-referenz-kompakt { display: flex; flex-direction: row; align-items: stretch; gap: 0; padding: 0; overflow: hidden; background: var(--ast-global-color-5); border-radius: 15px; }
body .mainland-referenz-kompakt > .wp-block-image { flex: 0 0 116px; margin: 0; }
body .mainland-referenz-kompakt > .wp-block-image img { display: block; width: 116px; height: 100%; min-height: 104px; object-fit: cover; border-radius: 0; }
body .mainland-referenz-kompakt > .wp-block-group { padding: 12px 16px; gap: 4px; justify-content: center; min-width: 0; }
body .mainland-referenz-kompakt .mainland-badge { position: static; align-self: flex-start; font-size: 11px; padding: 3px 8px; }
body .mainland-referenz-kompakt p { margin: 0; }
body .mainland-referenz-kompakt .mainland-referenz-titel { font-weight: 700; color: var(--ast-global-color-6); font-size: 16px; line-height: 1.35; }
body .mainland-referenz-kompakt .mainland-referenz-ort { font-size: 14px; line-height: 1.4; color: #4a4f5a; }

/* MAINLAND: Referenzen Feinschliff */
html body .entry-content .wp-block-group.mainland-referenz.mainland-referenz { gap: 8px; }

html body .entry-content .mainland-referenz.mainland-referenz > p { margin-top: 0 !important; margin-bottom: 0 !important; }
html body .entry-content .mainland-referenz.mainland-referenz > .mainland-referenz-ort { margin-bottom: 8px !important; }
html body .entry-content .mainland-referenz.mainland-referenz > .mainland-referenz-dauer { margin-top: auto !important; flex-wrap: wrap; hyphens: none; -webkit-hyphens: none; font-size: 14px; }
body .mainland-referenz > .mainland-referenz-dauer strong { white-space: nowrap; }
body #referenzen { scroll-margin-top: 140px; }

/* MAINLAND: Angebotskarten wie Mockup (weiss, Plakette auf Bild, Titel + Ort, graue Eckdaten) */

/* ===== MAINLAND: Verkaufsseite Neugestaltung 07.10.2026 ===== */
/* Hinweis 07.10.2026 abends: .mainland-schritte und das Video unter .mainland-text auf Seite 8278 begrenzt – die Klasse mainland-schritte nutzt auch die Startseite (Zusammenarbeit-Schritte). Neue Bausteine bitte mit eindeutigen Klassennamen anlegen. */
body .mainland-flaeche-grau, body .mainland-hero-abschnitt { background: #f4f4f6; box-shadow: 0 0 0 100vmax #f4f4f6; clip-path: inset(0 -100vmax); padding-top: 56px !important; padding-bottom: 56px !important; }
body .mainland-cta-band { background: #0c2c74; box-shadow: 0 0 0 100vmax #0c2c74; clip-path: inset(0 -100vmax); padding-top: 48px !important; padding-bottom: 48px !important; }
body .mainland-cta-band h2, body .mainland-cta-band p { color: #ffffff !important; }
body .mainland-cta-band p { color: #dbe2f2 !important; }
body .wp-block-group.mainland-cta-inhalt { gap: 24px; }
body .wp-block-group.mainland-cta-text { flex: 1 1 480px; min-width: 0; gap: 8px; }
/* Hero */
body .wp-block-group.mainland-hero { gap: 40px; align-items: center; }
body .wp-block-group.mainland-hero-text { flex: 7 1 520px; min-width: 0; gap: 16px; }
body .wp-block-group.mainland-hero-bild { flex: 5 1 320px; min-width: 0; gap: 10px; }
body .mainland-hero-bild img { display: block; width: 100%; height: auto; border-radius: 20px; }
body .mainland-hero-bildtext { margin: 0; font-size: 14px; line-height: 1.45; color: #4a4f5a; text-align: center; }
html body .entry-content h1.mainland-hero-h1 { margin: 0; font-size: 38px; line-height: 1.25; color: var(--ast-global-color-6); }
body .mainland-hero-unterzeile { margin: 0; font-size: 19px; line-height: 1.6; }
body .mainland-hero-hinweis { margin: 0; font-size: 13px; color: #4a4f5a; }
body .wp-block-group.mainland-plaketten { gap: 10px; }
body .mainland-plakette { margin: 0; display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #dcdfe6; border-radius: 99px; padding: 7px 14px; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--ast-global-color-6); }
body .mainland-plakette-sterne::before { content: "★★★★★"; color: #b35f00; letter-spacing: 1px; }
/* Buttons */
body .mainland-btnreihe { gap: 12px; }
html body .entry-content a.wp-block-spectra-button.mainland-btn-orange, html body .entry-content .mainland-btn-orange a { background: var(--ast-global-color-0) !important; color: #0c2c74 !important; border: 2px solid var(--ast-global-color-0) !important; font-weight: 800; }
html body .entry-content a.wp-block-spectra-button.mainland-btn-kontur, html body .entry-content .mainland-btn-kontur a { background: #ffffff !important; color: #0c2c74 !important; border: 2px solid #0c2c74 !important; }
html body .entry-content a.wp-block-spectra-button.mainland-btn-kontur-weiss, html body .entry-content .mainland-btn-kontur-weiss a { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff !important; }
html body .entry-content a.wp-block-spectra-button.mainland-btn-blau, html body .entry-content .mainland-btn-blau a { background: #0c2c74 !important; color: #ffffff !important; border: 2px solid #0c2c74 !important; }
/* Kurzueberblick */
body .wp-block-group.mainland-kurz-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
@media (max-width: 976px) { body .wp-block-group.mainland-kurz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body .wp-block-group.mainland-kurz-raster { grid-template-columns: 1fr; } }
body .mainland-kurz-punkt { margin: 0 !important; display: flex; gap: 12px; align-items: flex-start; background: #ffffff; border: 1px solid #dcdfe6; border-top: 4px solid #0c2c74; border-radius: 14px; padding: 18px; font-size: 16px; line-height: 1.5; }
body .mainland-kurz-punkt::before { content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 99px; background: var(--ast-global-color-0); color: #0c2c74; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
/* Marktwert */
body .wp-block-group.mainland-marktwert { gap: 40px; align-items: flex-start; }
body .mainland-marktwert > .wp-block-group.mainland-text { flex: 7 1 460px; min-width: 0; }
body .wp-block-group.mainland-bewertungskasten { flex: 5 1 320px; min-width: 0; background: #e6ecf6; border-radius: 20px; padding: 28px; gap: 8px; }
body .mainland-kastentitel { margin: 0; font-size: 18px; font-weight: 800; color: var(--ast-global-color-6); }
body ul.mainland-hakenliste { list-style: none; margin: 0; padding: 0; }
body ul.mainland-hakenliste > li { margin: 0; padding: 8px 0 8px 28px; border-top: 1px solid #c9d3e6; position: relative; font-size: 16px; line-height: 1.5; }
body ul.mainland-hakenliste > li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: #0c2c74; font-weight: 800; }
/* Ablauf */
body.page-id-8278 .wp-block-group.mainland-schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 976px) { body.page-id-8278 .wp-block-group.mainland-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body.page-id-8278 .wp-block-group.mainland-schritte { grid-template-columns: 1fr; } }
body .wp-block-group.mainland-schritt { background: #ffffff; border-radius: 16px; border-top: 4px solid var(--ast-global-color-0); padding: 22px; gap: 10px; }
body .mainland-schritt > h3 { margin: 0 !important; font-size: 18px; line-height: 1.35; }
body .mainland-schritt > p { margin: 0; font-size: 15px; line-height: 1.55; }
body .mainland-schritt > .mainland-schritt-nr { width: 40px; height: 40px; border-radius: 99px; background: #0c2c74; color: #ffffff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
body .mainland-flaeche-grau .wp-block-embed { max-width: 860px; margin: 24px auto 0; }
/* Vermarktung */
body .wp-block-group.mainland-vermarktung, body .wp-block-group.mainland-vorteile, body .wp-block-group.mainland-weiter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 976px) { body .wp-block-group.mainland-vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body .wp-block-group.mainland-vermarktung, body .wp-block-group.mainland-vorteile, body .wp-block-group.mainland-weiter { grid-template-columns: 1fr; } }
body .wp-block-group.mainland-vm-karte { border: 1px solid #dcdfe6; border-radius: 16px; overflow: hidden; gap: 8px; padding-bottom: 20px; }
body .mainland-vm-karte > .wp-block-image { margin: 0 0 6px; }
body .mainland-vm-karte > .wp-block-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
body .mainland-vm-karte > :not(.wp-block-image) { margin: 0 20px !important; }
body .mainland-vm-karte > h3, body .mainland-vorteil-karte > h3, body .mainland-weiter-karte > h3 { font-size: 19px; line-height: 1.35; }
/* Vorteile */
body .wp-block-group.mainland-vorteil-karte { background: #f4f4f6; border-radius: 16px; padding: 24px; gap: 8px; }
body .wp-block-group.mainland-vorteil-karte::before { content: ""; width: 36px; height: 4px; border-radius: 99px; background: var(--ast-global-color-0); }
body .mainland-vorteil-karte > p, body .mainland-weiter-karte > p { margin: 0; font-size: 15px; line-height: 1.55; }
/* Orte + Weiter */
body ul.mainland-orte-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
body ul.mainland-orte-chips > li { margin: 0; background: #f4f4f6; border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
body ul.mainland-orte-chips > li::before { display: none; }
body .wp-block-group.mainland-weiter { margin-top: 24px; }
body .wp-block-group.mainland-weiter-karte { border: 1px solid #dcdfe6; border-radius: 16px; padding: 24px; gap: 6px; }
body .mainland-weiter-karte h3 a { text-decoration: none; color: var(--ast-global-color-6); }
body .mainland-weiter-karte h3 a::after { content: " →"; }
/* Abschluss */
body .wp-block-group.mainland-abschluss { gap: 40px; align-items: flex-start; }
body .mainland-abschluss > .wp-block-group.mainland-text { flex: 5 1 380px; min-width: 0; }
body .wp-block-group.mainland-formularkasten { flex: 7 1 440px; min-width: 0; background: #ffffff; border-radius: 20px; padding: 28px; }
body #kontakt { scroll-margin-top: 140px; }
/* Sticky-Kontaktleiste mobil */
body .mainland-sticky-kontakt { display: none; }
@media (max-width: 767px) {
 body .mainland-sticky-kontakt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #ffffff; padding: 10px 12px 14px; box-shadow: 0 -6px 18px rgba(12, 44, 116, 0.14); }
 body .mainland-sticky-kontakt a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font-weight: 700; text-decoration: none; }
 body .mainland-sticky-kontakt .mainland-sticky-tel { border: 2px solid #0c2c74; color: #0c2c74; }
 body .mainland-sticky-kontakt .mainland-sticky-anfrage { background: #0c2c74; color: #ffffff; }
 body.page-id-8278 { padding-bottom: 76px; }
 html body .entry-content h1.mainland-hero-h1 { font-size: 27px; }
 body .mainland-hero-unterzeile { font-size: 17px; }
 body .mainland-hero-abschnitt .mainland-btnreihe a { width: 100%; justify-content: center; }
}

/* Verkaufsseite Feinschliff */
html body .entry-content .mainland-zweispaltig > .wp-block-group.mainland-formularkasten { padding: 28px !important; background: #ffffff; border-radius: 20px; }
html body .entry-content .mainland-zweispaltig > .wp-block-group.mainland-bewertungskasten { padding: 28px !important; }

@media (max-width: 767px) { html body .entry-content .mainland-zweispaltig > .wp-block-group.mainland-formularkasten, html body .entry-content .mainland-zweispaltig > .wp-block-group.mainland-bewertungskasten { padding: 20px !important; } }

@media (max-width: 767px) {
 html body .entry-content .mainland-sticky-kontakt a { width: 100%; justify-self: stretch; text-decoration: none !important; }
 html body .entry-content .mainland-hero-abschnitt .mainland-btnreihe a.wp-block-spectra-button { text-align: center; justify-content: center; }
}

/* ===== Verkaufsseite Runde 2: eingerueckte Kaesten statt seitenbreit ===== */
html body .mainland-flaeche-grau, html body .mainland-hero-abschnitt, html body .mainland-cta-band, html body .mainland-flaeche-blau { box-shadow: none !important; clip-path: none !important; border-radius: 20px; padding: 48px 40px !important; }
html body .mainland-flaeche-blau { background: #e6ecf6; }
@media (max-width: 767px) { html body .mainland-flaeche-grau, html body .mainland-hero-abschnitt, html body .mainland-cta-band, html body .mainland-flaeche-blau { border-radius: 14px; padding: 28px 16px !important; } }
/* Hero: Foto buendig mit H1, Plaketten einzeilig */
html body .wp-block-group.mainland-hero { align-items: flex-start; }
@media (min-width: 768px) { html body .wp-block-group.mainland-hero-bild { margin-top: 44px !important; } }
html body .mainland-plakette { white-space: nowrap; padding: 6px 12px; font-size: 13px; }
html body .wp-block-group.mainland-plaketten { gap: 8px; padding-top: 4px; }
html body .mainland-hero-text .mainland-btnreihe { margin-top: 8px; }
/* Abstand Hero zu Kurzpunkten */
html body .mainland-hero-abschnitt + * { margin-top: 40px !important; }
/* Vermarktung: Bilder 4:3, Expose-Foto oben, 360 enger zugeschnitten */
html body .mainland-vm-karte > .wp-block-image img { aspect-ratio: 4 / 3 !important; object-fit: cover; }
html body .mainland-vm-oben > .wp-block-image img { object-position: center 15%; }
html body .mainland-vm-360 > .wp-block-image { overflow: hidden; }
html body .mainland-vm-360 > .wp-block-image img { transform: scale(1.35); transform-origin: 50% 55%; }
/* Video unter den Vorteilen */
html body.page-id-8278 .mainland-text > .wp-block-embed { max-width: 860px; margin: 32px auto 0 !important; width: 100%; }
/* Kontaktperson mit Foto */
html body .wp-block-group.mainland-kontaktperson { gap: 16px; align-items: center; margin-top: 8px; }
html body .mainland-kontaktperson > .wp-block-image { flex: 0 0 96px; margin: 0; }
html body .mainland-kontaktperson > .wp-block-image img { width: 96px; height: 96px; border-radius: 99px; object-fit: cover; object-position: center 20%; }
html body .mainland-kontaktzeile { margin: 0; font-size: 15px; line-height: 1.6; }
/* Weiterfuehrend */
html body .mainland-flaeche-blau .mainland-weiter-karte { background: #ffffff; border-color: #ffffff; }
html body .mainland-flaeche-blau .wp-block-group.mainland-weiter { margin-top: 8px; }
/* Autor am Ende */
html body .mainland-autor-abschnitt { margin-top: 24px !important; }
/* Mobil: Schritte kompakt (Nummer links) */
@media (max-width: 767px) {
 html body .wp-block-group.mainland-schritt { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px; }
 html body .mainland-schritt > .mainland-schritt-nr { grid-row: 1 / span 2; }
 html body.page-id-8278 .wp-block-group.mainland-schritte { gap: 12px; }
 html body .wp-block-group.mainland-hero-bild { margin-top: 8px !important; }
 html body .mainland-hero-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
 html body .mainland-plakette { white-space: normal; }
}

html body .entry-content .mainland-autor-abschnitt { margin-top: 24px !important; margin-bottom: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; }
html body .entry-content .mainland-autor-abschnitt .spectra-is-root-container { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; }

/* Videokasten Verkaufsseite */
html body .mainland-video-kasten { background: #e6ecf6; border-radius: 20px; padding: 40px !important; }
html body .wp-block-group.mainland-video-raster { gap: 40px; align-items: center; }
html body .wp-block-group.mainland-video-text { flex: 5 1 300px; min-width: 0; gap: 10px; }
html body .wp-block-group.mainland-video-player { flex: 7 1 420px; min-width: 0; }
html body .mainland-video-player .wp-block-embed { margin: 0 !important; max-width: none; width: 100%; }
html body .mainland-video-player iframe, html body .mainland-video-player .wp-block-embed__wrapper { border-radius: 14px; overflow: hidden; }
html body .mainland-video-text > h3 { margin: 0 !important; font-size: 24px; line-height: 1.3; }
html body .mainland-video-text > p { margin: 0; }
@media (max-width: 767px) { html body .mainland-video-kasten { border-radius: 14px; padding: 24px 16px !important; } html body .wp-block-group.mainland-video-raster { gap: 20px; } }

/* Abstand zwischen eingerueckten Kaesten (nie direkt aneinander) */
html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten):not(:first-child) { margin-top: 56px !important; }
html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten) + * { margin-top: 56px !important; }
@media (max-width: 767px) { html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten):not(:first-child), html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten) + * { margin-top: 36px !important; } }

/* Runde 3 (07.10.2026): Absende-Button orange, Kontaktfoto, Portale, Auszeichnungen */
html body .srfm-submit-button.srfm-btn-frontend, html body .srfm-form-container button.srfm-submit-button { background: #ff9103 !important; border-color: #ff9103 !important; color: #0c2c74 !important; font-weight: 800 !important; }
html body .srfm-submit-button.srfm-btn-frontend:hover, html body .srfm-submit-button.srfm-btn-frontend:focus-visible { background: #e88300 !important; border-color: #e88300 !important; color: #0c2c74 !important; }
html body .mainland-kontaktperson > .wp-block-image { flex: 0 0 112px !important; width: 112px; height: 112px; overflow: hidden; border-radius: 16px; margin: 0; }
html body .mainland-kontaktperson > .wp-block-image img { width: 112px !important; height: 112px !important; border-radius: 0 !important; object-fit: cover; object-position: 50% 0 !important; transform: scale(1.4); transform-origin: 50% 0; }
html body .entry-content .wp-block-group.mainland-portale { margin-top: 36px; padding-top: 28px; border-top: 1px solid #e4e7ed; text-align: center; }

@media (max-width: 600px) {
  html body .mainland-kontaktperson > .wp-block-image { flex-basis: 96px !important; width: 96px; height: 96px; }
  html body .mainland-kontaktperson > .wp-block-image img { width: 96px !important; height: 96px !important; }
  
  
  
  
}

/* ==== MAINLAND: Hausseite – Lebenssituationen und Faktor-Karten (07.10.2026, Seite 8251) ==== */
/* Hero mit Hochformat-Porträt (Hausseite): quadratischer Ausschnitt, Gesicht oben */
html body .mainland-hero-bild.mainland-hero-portrait img { aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; object-position: center 12%; }
html body .wp-block-group.mainland-situationen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 12px !important; }
html body .mainland-situationen > .wp-block-group.mainland-situation-karte { grid-column: span 2; margin: 0 !important; background: #ffffff; border: 1px solid #dcdfe6; border-top: 4px solid var(--ast-global-color-0); border-radius: 16px; padding: 24px; gap: 10px; }
html body .mainland-situationen > .mainland-situation-karte:nth-child(4) { grid-column: 2 / span 2; }
html body .mainland-situation-karte > * { margin: 0 !important; }
html body .entry-content .mainland-situation-karte > h3 { font-size: 18px; line-height: 1.35; }
html body .mainland-situation-karte > p { font-size: 16px; line-height: 1.6; }
html body .wp-block-group.mainland-faktoren { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 4px !important; }
html body .mainland-faktoren > .wp-block-group.mainland-faktor-karte { margin: 0 !important; background: #ffffff; border: 2px solid var(--ast-global-color-0); border-radius: 16px; padding: 24px; gap: 10px; }
html body .mainland-faktor-karte > * { margin: 0 !important; }
html body .entry-content .mainland-faktor-karte > h3 { font-size: 18px; line-height: 1.35; }
html body .mainland-faktor-karte > p { font-size: 16px; line-height: 1.6; }
html body .entry-content p.mainland-faktoren-titel { margin-top: 40px !important; }
@media (max-width: 976px) {
html body .wp-block-group.mainland-situationen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .mainland-situationen > .wp-block-group.mainland-situation-karte, html body .mainland-situationen > .mainland-situation-karte:nth-child(4) { grid-column: auto; }
html body .mainland-situationen > .mainland-situation-karte:nth-child(5) { grid-column: 1 / -1; }
html body .wp-block-group.mainland-faktoren { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
html body .wp-block-group.mainland-situationen { grid-template-columns: 1fr; }
html body .mainland-situationen > .mainland-situation-karte:nth-child(5) { grid-column: auto; }
html body .mainland-situationen > .wp-block-group.mainland-situation-karte, html body .mainland-faktoren > .wp-block-group.mainland-faktor-karte { padding: 20px; }
html body .entry-content p.mainland-faktoren-titel { margin-top: 32px !important; }
body.page-id-8251 { padding-bottom: 76px; }
}

/* ==== MAINLAND: Feinschliff 07.10.2026, 22:30 (Hausseite-Rückmeldung, gilt seitenübergreifend) ==== */
/* Abstand nach eingerückten Kästen auch dann, wenn Spectra ein <style> dazwischen setzt (vorher nur 40 px statt 96 px) */
html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten) + style + * { margin-top: 56px !important; }
@media (max-width: 767px) { html body .entry-content > :is(.mainland-flaeche-grau, .mainland-flaeche-blau, .mainland-cta-band, .mainland-video-kasten) + style + * { margin-top: 36px !important; } }
/* Hero: mehr Luft zwischen Unterzeile und Buttons */
html body .mainland-hero-text .mainland-btnreihe { margin-top: 24px; }
/* Hero-Porträt (Hausseite) rund 20 % kleiner, mittig */
html body .mainland-hero-bild.mainland-hero-portrait { align-self: center; }
html body .mainland-hero-bild.mainland-hero-portrait img { width: 80% !important; margin-left: auto; margin-right: auto; }
/* Einheitliche Schriftgröße: Karten- und Listentexte wie Fließtext (vorher 15–16 px) */
html body .mainland-kurz-punkt,
html body ul.mainland-hakenliste > li,
html body .mainland-situation-karte > p,
html body .mainland-faktor-karte > p,
html body .mainland-weiter-karte > p { font-size: inherit; line-height: 1.65; }

/* Überschriften ohne einzelnes Wort in der letzten Zeile (Text unverändert) */
html body .entry-content :is(h1, h2, h3) { text-wrap: balance; }
/* Hakenliste ohne Kastentitel: keine freie Linie über dem ersten Punkt */
html body .mainland-bewertungskasten > ul.mainland-hakenliste:first-child > li:first-child { border-top: 0; padding-top: 0; }
html body .mainland-bewertungskasten > ul.mainland-hakenliste:first-child > li:first-child::before { top: 0; }
/* Hausseite: alte Inline-Innenabstände an Absätzen neutralisieren (Text bündig mit Überschriften) */
body.page-id-8251 .entry-content .mainland-text p:not(.mainland-autor p):not(.mainland-badge):not(.mainland-bewertungshinweis):not(.mainland-faq-liste p) { padding-left: 0 !important; padding-right: 0 !important; }

/* Feinschliff 2 (07.10.2026, 22:35) */
/* „Worauf es … ankommt“: Kasten breiter, damit er niedriger wird */
html body .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-text { flex: 4 1 320px; }
html body .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-bewertungskasten { flex: 6 1 480px; }
/* Hausseite: Karten in zweispaltigen Abschnitten (Unterlagen, privat/mit Makler) wie der blaue Kasten */
body.page-id-8251 .entry-content .mainland-zweispaltig > .wp-block-group.mainland-box { padding: 28px !important; border-radius: 20px; }
@media (max-width: 767px) { body.page-id-8251 .entry-content .mainland-zweispaltig > .wp-block-group.mainland-box { padding: 20px !important; } }
/* Tabellen in Textabschnitten etwas größer */
html body .entry-content .mainland-text table :is(td, th) { font-size: 15px; }
@media (max-width: 767px) { html body .entry-content .mainland-text table :is(td, th) { font-size: 15.5px; } }
/* Plakette „Verkauft“ lesbarer */
html body .mainland-badge { font-size: 13px; letter-spacing: 0.06em; padding: 6px 14px !important; }
html body .mainland-referenz-kompakt .mainland-badge { font-size: 12.5px; letter-spacing: .04em; padding: 4px 10px !important; }
/* Hero-Button am Handy: passt nicht in eine Zeile, daher zwei gleich lange Zeilen */
@media (max-width: 767px) { html body .entry-content .mainland-hero-abschnitt .mainland-btnreihe a.wp-block-spectra-button { line-height: 1.3; } html body .entry-content .mainland-hero-abschnitt .mainland-btnreihe .spectra-button__link { display: block; text-wrap: balance; } }
@media (min-width: 922px) { html body .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group { max-width: none !important; } }

/* ==== MAINLAND: Bewertungsseite 8269 – neue Bausteine (07.10.2026) ==== */
/* Vergleich Online-Rechner / Kurzgutachten / Verkehrswertgutachten: Desktop 3 Spalten mit gleich hohen Zeilen, Handy Karten */
html body .wp-block-group.mainland-vergleich { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
html body .mainland-vergleich > .wp-block-group.mainland-vg-karte { display: grid; grid-template-rows: subgrid; grid-row: span 8; gap: 0; margin: 0 !important; background: #ffffff; border: 1px solid #dcdfe6; border-radius: 16px; padding: 8px 24px 16px; }
html body .mainland-vergleich > .mainland-vg-karte.mainland-vg-empfohlen { border: 2px solid var(--ast-global-color-0); box-shadow: 0 10px 28px rgba(12, 44, 116, 0.10); }
html body .mainland-vg-karte > p { margin: 0 !important; }
html body .mainland-vg-karte > .mainland-vg-kopf { padding: 16px 0 14px; border-bottom: 2px solid #dcdfe6; font-size: 19px; line-height: 1.35; font-weight: 700; color: #0c2c74; }
html body .mainland-vg-empfohlen > .mainland-vg-kopf { border-bottom-color: var(--ast-global-color-0); }
html body .mainland-vg-karte > .mainland-vg-zeile { padding: 12px 0; border-bottom: 1px solid #e6eaf2; line-height: 1.55; }
html body .mainland-vg-karte > .mainland-vg-zeile:last-child { border-bottom: 0; }
html body .mainland-vg-label { display: block; margin-bottom: 2px; font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #5c6372; }
@media (max-width: 921px) { html body .wp-block-group.mainland-vergleich { grid-template-columns: minmax(0, 1fr); gap: 16px; } html body .mainland-vergleich > .wp-block-group.mainland-vg-karte { display: block; grid-row: auto; padding: 4px 20px 12px; } }
/* Preiskarten */
html body .wp-block-group.mainland-bw-preise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html body .mainland-bw-preise > .wp-block-group.mainland-bw-preiskarte { margin: 0 !important; background: #ffffff; border-radius: 16px; padding: 28px; gap: 12px; border-top: 4px solid var(--ast-global-color-6); }
html body .mainland-bw-preise > .mainland-bw-preiskarte.mainland-bw-preiskarte-orange { border-top-color: var(--ast-global-color-0); }
html body .mainland-bw-preiskarte > * { margin: 0 !important; }
html body .mainland-bw-preiskarte > .mainland-bw-preis { font-size: 18px; line-height: 1.3; color: #4a4f5a; }
html body .mainland-bw-preiskarte > .mainland-bw-preis strong { display: block; font-size: 38px; line-height: 1.15; font-weight: 800; color: var(--ast-global-color-6); }
html body .mainland-bw-preiskarte > .wp-block-spectra-buttons { margin-top: auto !important; padding-top: 8px; }
html body .mainland-bw-hinweis { font-size: 15px; line-height: 1.6; color: #4a4f5a; }
@media (max-width: 767px) { html body .wp-block-group.mainland-bw-preise { grid-template-columns: minmax(0, 1fr); } html body .mainland-bw-preise > .wp-block-group.mainland-bw-preiskarte { padding: 20px; } }
/* Ablauf in vier Schritten */
html body .wp-block-group.mainland-bw-schritte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html body .mainland-bw-schritte > .wp-block-group.mainland-bw-schritt { margin: 0 !important; background: #f4f4f6; border-top: 4px solid var(--ast-global-color-6); border-radius: 16px; padding: 24px; gap: 10px; }
html body .mainland-bw-schritt > * { margin: 0 !important; }
html body .entry-content .mainland-bw-schritt > h3 { font-size: 18px; line-height: 1.35; }
@media (max-width: 1100px) { html body .wp-block-group.mainland-bw-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { html body .wp-block-group.mainland-bw-schritte { grid-template-columns: minmax(0, 1fr); } html body .mainland-bw-schritte > .wp-block-group.mainland-bw-schritt { padding: 20px; } }
/* Kennzahlen Gutachterausschuss */
html body .wp-block-group.mainland-bw-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html body .mainland-bw-zahlen > .wp-block-group.mainland-bw-zahl-karte { margin: 0 !important; background: #eef1f9; border-radius: 16px; padding: 24px; gap: 6px; }
html body .mainland-bw-zahl-karte > * { margin: 0 !important; }
html body .mainland-bw-zahl-karte > .mainland-bw-zahl { font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--ast-global-color-6); }
html body .mainland-quelle { font-size: 13px; line-height: 1.5; color: #4a4f5a; }
@media (max-width: 921px) { html body .wp-block-group.mainland-bw-zahlen { grid-template-columns: minmax(0, 1fr); } }
/* Sachverständiger mit Foto und Partnerlogos */
html body .wp-block-group.mainland-bw-sv { gap: 40px; align-items: center; }
html body .mainland-bw-sv > .wp-block-group.mainland-text { flex: 7 1 460px; min-width: 0; }
html body .mainland-bw-sv > .wp-block-group.mainland-bw-sv-bild { flex: 5 1 300px; min-width: 0; }
html body .mainland-bw-sv-bild img { display: block; width: 100%; height: auto; border-radius: 20px; }
html body .mainland-bw-sv-bild figure { margin: 0; }
html body .wp-block-group.mainland-bw-partner { margin-top: 24px !important; padding-top: 32px; border-top: 1px solid #dcdfe6; gap: 12px; }
html body .mainland-bw-partner > * { margin: 0 !important; }
html body .wp-block-group.mainland-partnerlogos { gap: 48px; align-items: center; margin-top: 8px !important; }
html body .mainland-partnerlogos figure { margin: 0 !important; }
html body .mainland-partnerlogos img { display: block; height: 56px !important; width: auto !important; border-radius: 0 !important; }
@media (max-width: 767px) { html body .wp-block-group.mainland-partnerlogos { gap: 28px; } html body .mainland-partnerlogos img { height: 44px !important; } }
/* Unterlagen in drei Karten */
html body .wp-block-group.mainland-unterlagen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
html body .mainland-unterlagen-raster > .wp-block-group.mainland-unterlagen-karte { margin: 0 !important; background: #f4f4f6; border-radius: 16px; padding: 24px; gap: 12px; }
html body .mainland-unterlagen-karte > * { margin: 0 !important; }
html body .entry-content .mainland-unterlagen-karte > h3 { font-size: 18px; line-height: 1.35; }
html body .mainland-unterlagen-karte ul.mainland-hakenliste > li:first-child { border-top: 0; }
@media (max-width: 921px) { html body .wp-block-group.mainland-unterlagen-raster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { body.page-id-8269 { padding-bottom: 76px; } }
/* Hinweis zur Echtheit der Bewertungen (§ 5b Abs. 3 UWG), immer sichtbar */
html body .mainland-bewertungshinweis { margin-top: 12px !important; text-align: center; }

/* Bewertungsseite: Feinschliff nach UX-Prüfung (07.10.2026, 23:15) */
html body .wp-block-group.mainland-unterlagen-raster { align-items: stretch; }
html body .mainland-vergleich > .mainland-vg-karte.mainland-vg-empfohlen { background: #fff8ee; }
html body .mainland-vg-karte > .mainland-vg-kopf { text-wrap: balance; }
html body .wp-block-group.mainland-situationen { grid-auto-rows: 1fr; }
html body .mainland-bewertungshinweis { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 767px) { html body .mainland-bewertungshinweis { margin-top: 4px !important; } }

/* Bewertungsseite: Unterlagen-Karten am Handy aufklappbar (erste offen), Desktop unverändert */
@media (max-width: 767px) {
  html body .entry-content .mainland-unterlagen-karte > h3 { cursor: pointer; position: relative; padding-right: 36px; font-size: 16px; }
  html body .entry-content .mainland-unterlagen-karte > h3::after { content: "–"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 99px; background: var(--ast-global-color-0); color: #ffffff; font-size: 20px; line-height: 28px; text-align: center; font-weight: 700; }
  
  
}

/* ==== MAINLAND: Wohnungsseite 8246 – neue Bausteine (07.10.2026) ==== */
/* Hinweis-Kasten Verwalterzustimmung: oranger Balken links */
html body .wp-block-group.mainland-wo-hinweiskasten { background: #fff8ee; border-left: 6px solid var(--ast-global-color-0); border-radius: 0 16px 16px 0; padding: 32px; gap: 16px; }
html body .mainland-wo-hinweiskasten > * { margin: 0 !important; }
@media (max-width: 767px) { html body .wp-block-group.mainland-wo-hinweiskasten { padding: 20px; border-left-width: 5px; } }
/* Tabelle Medianpreise */

/* Video-Kasten ohne Textspalte: Video mittig und breit */
html body .mainland-video-raster > .wp-block-group.mainland-wo-video { flex: 1 1 100%; max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 767px) { body.page-id-8246 { padding-bottom: 76px; } }
@media (min-width: 922px) { html body .wp-block-group.mainland-kacheln.mainland-wo-referenzen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Wohnungsseite: Karten „Vermietete Wohnung“ am Desktop als Zeilen (Titel links, Text rechts), damit keine Lücken entstehen */

/* ==== Lesbarkeit: Fließtext in Seitenabschnitten max. 936 px, ca. 90 Zeichen je Zeile (07.10.2026, 23:32, auf Wunsch um 20 % erhöht) ==== */
html body .entry-content .mainland-astra-abschnitt > p:not(.mainland-dachzeile):not(.mainland-quelle):not(.mainland-bewertungshinweis),
html body .entry-content .mainland-astra-abschnitt > ul:not(.mainland-orte-chips),
html body .entry-content .mainland-astra-abschnitt > ol,
html body .entry-content .mainland-wo-hinweiskasten > p { max-width: 936px; }

/* Wohnungsseite: „Vermietete Wohnung“ als nummerierte Liste (07.10.2026, 23:40) */
html body .wp-block-group.mainland-wo-liste { counter-reset: wopunkt; display: flex; flex-direction: column; gap: 0; max-width: 936px; }
html body .mainland-wo-liste > .wp-block-group.mainland-wo-punkt { counter-increment: wopunkt; position: relative; margin: 0 !important; padding: 24px 0 24px 64px; border-bottom: 1px solid #d5dbe8; gap: 8px; }
html body .mainland-wo-liste > .mainland-wo-punkt:first-child { padding-top: 8px; }
html body .mainland-wo-liste > .mainland-wo-punkt:last-child { border-bottom: 0; padding-bottom: 8px; }
html body .mainland-wo-liste > .mainland-wo-punkt::before { content: counter(wopunkt); position: absolute; left: 0; top: 22px; width: 40px; height: 40px; border-radius: 99px; background: var(--ast-global-color-0); color: #0c2c74; font-weight: 800; font-size: 18px; line-height: 40px; text-align: center; }
html body .mainland-wo-liste > .mainland-wo-punkt:first-child::before { top: 6px; }
html body .mainland-wo-punkt > * { margin: 0 !important; }
html body .entry-content .mainland-wo-punkt > h3 { font-size: 19px; line-height: 1.35; }
@media (max-width: 767px) { html body .mainland-wo-liste > .wp-block-group.mainland-wo-punkt { padding-left: 48px; } html body .mainland-wo-liste > .mainland-wo-punkt::before { width: 32px; height: 32px; line-height: 32px; font-size: 16px; } }

/* Kontaktbereich: linke Spalte (Text, Foto, Telefon, E-Mail) läuft am Desktop beim Scrollen neben dem Formular mit (07.10.2026, 23:38) */
@media (min-width: 922px) { html body .wp-block-group.mainland-zweispaltig.mainland-abschluss > .wp-block-group.mainland-text { position: sticky; top: 150px; align-self: flex-start; } }

/* ==== MAINLAND: Marktbericht 6100 – Datentabellen, Kennzahlen, Infobox (08.10.2026) ==== */
html body .wp-block-table.mainland-daten-tabelle { max-width: 936px; width: 100%; margin: 0 !important; overflow-x: auto; }
html body .mainland-daten-tabelle table { border-collapse: collapse; width: 100%; border: 0; }
html body .mainland-daten-tabelle table:has(th:nth-child(3)) { min-width: 420px; }
html body .mainland-daten-tabelle :is(th, td) { padding: 12px 14px; font-size: 16px; border: 0; border-bottom: 1px solid #dcdfe6; text-align: left; vertical-align: top; }
html body .mainland-daten-tabelle th { background: #0c2c74; color: #ffffff; font-weight: 700; }
html body .mainland-daten-tabelle :is(th, td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
html body .mainland-daten-tabelle tbody tr:nth-child(even) td { background: #f4f4f6; }
@media (max-width: 767px) { html body .mainland-daten-tabelle :is(th, td) { font-size: 15px; padding: 10px; } }
html body .wp-block-group.mainland-mk-zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { html body .wp-block-group.mainland-mk-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { html body .wp-block-group.mainland-mk-zahlen { grid-template-columns: minmax(0, 1fr); } }
html body .mainland-mk-zahlen .mainland-bw-zahl { font-size: 28px; }
html body .mainland-bw-zahl-karte > .mainland-quelle { margin-top: auto !important; padding-top: 6px; }
html body .wp-block-group.mainland-mk-infobox { background: #eef1f9; border-left: 6px solid var(--ast-global-color-6); border-radius: 0 16px 16px 0; padding: 24px 28px; gap: 8px; max-width: 936px; }
html body .mainland-mk-infobox > * { margin: 0 !important; }
html body .wp-block-group.mainland-mk-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html body .mainland-mk-zwei > .wp-block-group.mainland-mk-kachel { margin: 0 !important; background: #ffffff; border: 1px solid #dcdfe6; border-top: 4px solid var(--ast-global-color-0); border-radius: 16px; padding: 24px; gap: 10px; }
html body .mainland-mk-kachel > * { margin: 0 !important; }
html body .mainland-mk-kachel > .mainland-quelle { margin-top: auto !important; }
@media (max-width: 767px) { html body .wp-block-group.mainland-mk-zwei { grid-template-columns: minmax(0, 1fr); } html body .mainland-mk-zwei > .wp-block-group.mainland-mk-kachel { padding: 20px; } }
html body .wp-block-group.mainland-weiter.mainland-weiter-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { html body .wp-block-group.mainland-weiter.mainland-weiter-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { html body .wp-block-group.mainland-weiter.mainland-weiter-4 { grid-template-columns: minmax(0, 1fr); } }
/* Hero mit Panoramabild (Marktbericht): Bild senkrecht mittig, nicht zuschneiden */
html body .wp-block-group.mainland-hero-bild.mainland-hero-panorama { align-self: center; margin-top: 0 !important; }
html body .mainland-hero-bild.mainland-hero-panorama img { aspect-ratio: auto !important; height: auto !important; }
/* Marktbericht: Feinschliff nach UX-Prüfung (08.10.2026, 00:15) */
@media (max-width: 480px) { html body .mainland-daten-tabelle table:has(th:nth-child(3)) { min-width: 0; } html body .mainland-daten-tabelle :is(th, td) { padding: 9px 8px; font-size: 14px; } html body .mainland-daten-tabelle table { table-layout: auto; } html body .mainland-daten-tabelle :is(th, td) { overflow-wrap: anywhere; hyphens: auto; } }
html body .entry-content .mainland-astra-abschnitt > .mainland-quelle { max-width: 936px; }
html body .entry-content .mainland-weiter-4 .mainland-weiter-karte > h3 { font-size: 16px; overflow-wrap: normal; hyphens: manual; }
html body .mainland-mk-zahlen .mainland-bw-zahl { font-size: 22px; white-space: nowrap; }
@media (max-width: 767px) { html body .mainland-mk-zahlen .mainland-bw-zahl { font-size: 26px; } }
html body .entry-content .mainland-astra-abschnitt > ul.wp-block-list:not(.mainland-orte-chips) > li + li { margin-top: 0.5em; }

/* ==== MAINLAND: Objektkarten Kaufangebote (Seite 8281, 08.10.2026, Entwurf Designer) ==== */
html body .mainland-objekt-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: 100%; margin: 8px 0 0 !important; padding: 0; }
html body .mainland-objekt-raster .mainland-objekt { --objekt-innen: 28px; --objekt-rand: 10px; position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 0; background: #fff; border: 1px solid #dcdfe6; border-radius: 18px; box-shadow: 0 1px 2px rgba(12,44,116,.05), 0 18px 40px -28px rgba(12,44,116,.35); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
html body .mainland-objekt-raster .mainland-objekt > * { max-width: none; margin: 0 var(--objekt-innen); }
html body .mainland-objekt-raster .mainland-objekt > .mainland-objekt-bild { margin: var(--objekt-rand) var(--objekt-rand) 0 !important; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: #e6ecf6; }
html body .mainland-objekt-raster .mainland-objekt-bild img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; object-position: center; border-radius: 0 !important; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
html body .mainland-objekt-raster .mainland-objekt > .mainland-objekt-status { position: absolute; top: calc(var(--objekt-rand) + 14px); left: calc(var(--objekt-rand) + 14px); z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 7px 14px 7px 12px; background: rgba(255,255,255,.96); color: #0c2c74; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; border-radius: 999px; box-shadow: 0 2px 10px rgba(12,44,116,.18); pointer-events: none; }
html body .mainland-objekt-raster .mainland-objekt > .mainland-objekt-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff9103; }
html body .entry-content .mainland-objekt-raster .mainland-objekt > .mainland-objekt-titel { margin: 26px var(--objekt-innen) 18px !important; color: #0c2c74; font-size: 20px; line-height: 1.3; letter-spacing: .03em; overflow-wrap: normal; hyphens: manual; }
html body .mainland-objekt-raster .mainland-objekt > ul.mainland-objekt-fakten { display: flex; flex-wrap: wrap; list-style: none; margin: 0 var(--objekt-innen) 20px !important; padding: 0; background: #eef1f9; border-radius: 12px; max-width: none; }
html body .mainland-objekt-raster .mainland-objekt-fakten > li { flex: 1 1 0; min-width: 120px; margin: 0 !important; padding: 14px 18px; color: #393939; font-size: 15px; line-height: 1.35; }
html body .mainland-objekt-raster .mainland-objekt-fakten > li::before { display: none; }
html body .mainland-objekt-raster .mainland-objekt-fakten > li + li { border-left: 1px solid rgba(12,44,116,.14); }
html body .mainland-objekt-raster .mainland-objekt-fakten strong { display: block; margin-bottom: 2px; color: #0c2c74; font-size: 21px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
html body .mainland-objekt-raster .mainland-objekt > ul.mainland-objekt-merkmale { list-style: none; margin: 0 var(--objekt-innen) 26px !important; padding: 0; max-width: none; }
html body .mainland-objekt-raster .mainland-objekt-merkmale > li { position: relative; margin: 0 !important; padding-left: 22px; color: #393939; font-size: 17px; line-height: 1.5; }
html body .mainland-objekt-raster .mainland-objekt-merkmale > li + li { margin-top: 6px !important; }
html body .mainland-objekt-raster .mainland-objekt-merkmale > li::before { content: ""; position: absolute; left: 0; top: calc(.75em - 1px); width: 10px; height: 2px; border-radius: 2px; background: #011381; }
html body .mainland-objekt-raster .mainland-objekt > .mainland-objekt-aktion { position: static; margin: auto var(--objekt-innen) var(--objekt-innen) !important; padding-top: 0; }
html body .mainland-objekt-raster .mainland-objekt .mainland-objekt-aktion :is(.wp-block-button, .wp-block-spectra-button, a) { position: static; }
html body .mainland-objekt-raster .mainland-objekt .mainland-objekt-aktion a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
@media (hover: hover) { html body .mainland-objekt-raster .mainland-objekt:hover { border-color: #b9c3dc; box-shadow: 0 1px 2px rgba(12,44,116,.06), 0 26px 50px -26px rgba(12,44,116,.45); } html body .mainland-objekt-raster .mainland-objekt:hover .mainland-objekt-bild img { transform: scale(1.035); } }
html body .mainland-objekt-raster .mainland-objekt:has(a:focus-visible) { outline: 3px solid #011381; outline-offset: 4px; }
html body .mainland-objekt-raster .mainland-objekt .mainland-objekt-aktion a:focus-visible { outline: 3px solid #0c2c74; outline-offset: 3px; }

@media (max-width: 1100px) { html body .mainland-objekt-raster { gap: 32px; } html body .mainland-objekt-raster .mainland-objekt { --objekt-innen: 24px; } }
@media (max-width: 921px) { html body .mainland-objekt-raster { gap: 24px; } html body .mainland-objekt-raster .mainland-objekt { --objekt-innen: 22px; --objekt-rand: 8px; } html body .entry-content .mainland-objekt-raster .mainland-objekt > .mainland-objekt-titel { font-size: 19px; } html body .mainland-objekt-raster .mainland-objekt-fakten strong { font-size: 19px; } html body .mainland-objekt-raster .mainland-objekt-fakten > li { padding: 12px 14px; } html body .mainland-objekt-raster .mainland-objekt-merkmale > li { font-size: 16px; } }
@media (max-width: 767px) { html body .mainland-objekt-raster { grid-template-columns: minmax(0, 1fr); gap: 24px; } html body .mainland-objekt-raster .mainland-objekt { --objekt-innen: 20px; } html body .mainland-objekt-raster .mainland-objekt > .mainland-objekt-status { font-size: 13.5px; } html body .entry-content .mainland-objekt-raster .mainland-objekt > .mainland-objekt-titel { margin-top: 22px !important; } html body .mainland-objekt-raster .mainland-objekt-fakten > li { font-size: 14.5px; } html body .mainland-objekt-raster .mainland-objekt-merkmale > li { font-size: 15.5px; } html body .mainland-objekt-raster .mainland-objekt .mainland-objekt-aktion a { display: flex; justify-content: center; width: 100%; } }
@media (prefers-reduced-motion: reduce) { html body .mainland-objekt-raster .mainland-objekt, html body .mainland-objekt-raster .mainland-objekt-bild img { transition: none; } html body .mainland-objekt-raster .mainland-objekt:hover .mainland-objekt-bild img { transform: none; } }
/* Kaufen-Seite: 3 Kurzpunkte, Nebenkosten-Tabelle */
html body .wp-block-group.mainland-kurz-raster.mainland-kurz-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 921px) { html body .wp-block-group.mainland-kurz-raster.mainland-kurz-3 { grid-template-columns: minmax(0, 1fr); } }
html body .mainland-kf-tabelle tbody tr:last-child td { background: #eef1f9 !important; border-bottom: 0; }
/* Kaufen-Seite: Feinschliff nach UX-Prüfung (08.10.2026, 00:40) */
@media (max-width: 767px) { html body .mainland-kf-tabelle table { table-layout: auto; } html body .mainland-kf-tabelle :is(td, th) { overflow-wrap: normal; word-break: normal; hyphens: auto; padding: 12px 10px; } html body .mainland-kf-tabelle :is(td, th) { font-size: 14px; } }
html body .entry-content .mainland-linkpfeil a { color: #0c2c74; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body .entry-content .mainland-linkpfeil a:hover { color: #ff9103; }
/* Nebenkosten-Tabelle am Handy als gestapelte Zeilen */
@media (max-width: 767px) {
  html body .mainland-kf-tabelle table, html body .mainland-kf-tabelle tbody { display: block; width: 100%; min-width: 0 !important; }
  html body .mainland-kf-tabelle thead { display: none; }
  html body .mainland-kf-tabelle tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #dcdfe6; }
  html body .mainland-kf-tabelle tbody tr:nth-child(even) td { background: transparent; }
  html body .mainland-kf-tabelle tbody tr:nth-child(even) { background: #f4f4f6; }
  html body .mainland-kf-tabelle tbody tr:last-child { background: #eef1f9; }
  html body .mainland-kf-tabelle td { border: 0 !important; padding: 6px 12px !important; font-size: 15px !important; text-align: left !important; white-space: normal; overflow-wrap: normal; }
  html body .mainland-kf-tabelle td:first-child { grid-column: 1 / -1; padding-top: 12px !important; font-weight: 600; color: #0c2c74; }
  html body .mainland-kf-tabelle td:nth-child(2)::before { content: "Anteil: "; color: #5c6372; }
  html body .mainland-kf-tabelle td:nth-child(3) { padding-bottom: 12px !important; }
  html body .mainland-kf-tabelle td:nth-child(2) { padding-bottom: 12px !important; }
  html body .mainland-kf-tabelle td:nth-child(3)::before { content: "bei 400.000 €: "; color: #5c6372; }
}

/* Scheidungsseite 8221 (08.10.2026): Platz für Handy-Kontaktleiste, Hinweiskasten-Überschrift */
@media (max-width: 767px) { body.page-id-8221 { padding-bottom: 76px; } }
html body .entry-content .mainland-wo-hinweiskasten > h3 { font-size: 19px; line-height: 1.35; }
/* Scheidungsseite: Feinschliff nach UX-Prüfung (08.10.2026, 09:10) */
@media (min-width: 922px) { body.page-id-8221 .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-text { flex: 1 1 0; } body.page-id-8221 .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-bewertungskasten { flex: 1 1 0; } }
html body .mainland-sc-wege > .wp-block-group.mainland-faktor-karte { border: 1px solid #dcdfe6; border-top: 3px solid var(--ast-global-color-0); }
@media (max-width: 600px) { html body .mainland-autor p br { display: none; } }

/* Erbe-Seite 14951 (08.10.2026): Platz für Handy-Kontaktleiste */
@media (max-width: 767px) { body.page-id-14951 { padding-bottom: 76px; } }
/* Erbe-Seite: Leistungsliste als Hakenliste, ab Tablet zweispaltig (08.10.2026) */
@media (min-width: 768px) { html body .entry-content ul.mainland-erbe-leistungen { column-count: 2; column-gap: 40px; max-width: none; } html body .entry-content ul.mainland-erbe-leistungen > li { break-inside: avoid; } }
html body #familienheim { scroll-margin-top: 140px; }

/* Carsten-Erhard-Seite 8256 (08.10.2026) */
html body .entry-content p.mainland-ce-bewertung { margin: 0; font-size: 16px; }
html body .mainland-ce-sterne { color: #f0ad4e; letter-spacing: 2px; }
html body .entry-content p.mainland-ce-hinweis { text-align: left; margin: 6px 0 0; max-width: 560px; }

@media (min-width: 768px) { html body .mainland-bw-zahlen.mainland-ce-steckbrief { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { html body .mainland-bw-zahlen.mainland-ce-steckbrief { grid-template-columns: minmax(0, 1fr); gap: 12px; } html body .mainland-ce-steckbrief > .mainland-bw-zahl-karte { padding: 16px 20px; } html body .mainland-ce-steckbrief p.mainland-bw-zahl { font-size: 21px; } }
html body .mainland-ce-steckbrief p.mainland-bw-zahl { font-size: 24px; line-height: 1.25; }
html body .mainland-ce-steckbrief p:not(.mainland-bw-zahl) { font-size: 15px; line-height: 1.5; hyphens: auto; -webkit-hyphens: auto; word-break: normal; overflow-wrap: normal; }
html body .mainland-ce-zeitleiste th, html body .mainland-ce-zeitleiste td { text-align: left !important; }
html body .mainland-ce-zeitleiste td:first-child, html body .mainland-ce-zeitleiste th:first-child { width: 170px; white-space: nowrap; }
@media (max-width: 600px) { html body .mainland-ce-zeitleiste td:first-child, html body .mainland-ce-zeitleiste th:first-child { width: 110px; white-space: normal; } }
html body .mainland-ce-referenzen figure.wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; height: auto !important; width: 100%; }
html body .mainland-ce-zertifikate figure.wp-block-image img { height: 260px !important; width: 100%; object-fit: contain; background: #fff; }
@media (max-width: 767px) { html body .mainland-ce-zertifikate figure.wp-block-image img { height: 200px !important; } }
@media (min-width: 768px) { html body .mainland-ce-beitraege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 12px; max-width: 936px; } html body .mainland-ce-beitraege > p { margin: 0 !important; } }
@media (max-width: 767px) { html body .mainland-ce-beitraege > p + p { margin-top: 12px !important; } }
html body .entry-content p.mainland-ce-nap { line-height: 1.8; }
html body .entry-content p.mainland-ce-signatur { font-size: 15px; color: #5a5a5a; }
html body .mainland-ce-portrait img { border-radius: 16px; width: 100%; height: auto; }
@media (min-width: 922px) { html body .mainland-zweispaltig.mainland-ce-abschluss { align-items: center; } body.page-id-8256 .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-text, body.page-id-8256 .wp-block-group.mainland-marktwert.mainland-marktwert-breit > .wp-block-group.mainland-bewertungskasten { flex: 1 1 0; } }
@media (max-width: 767px) { html body .wp-block-gallery.mainland-ce-zertifikate, html body .wp-block-gallery.mainland-ce-referenzen { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } html body .wp-block-gallery.mainland-ce-zertifikate > figure, html body .wp-block-gallery.mainland-ce-referenzen > figure { width: auto !important; margin: 0 !important; } html body .mainland-ce-zertifikate figure.wp-block-image img { height: 180px !important; } }
/* Carsten-Erhard-Seite: Signatur unter dem Foto, Bildunterschriften Verkäufe (08.10.2026, 14:30) */
html body .mainland-ce-portrait { display: flex; flex-direction: column; gap: 12px; }
html body .mainland-ce-portrait > figure { margin: 0 !important; }
html body .entry-content .mainland-ce-portrait > p.mainland-ce-signatur { margin: 0 !important; font-size: 14px; line-height: 1.5; text-align: center; max-width: none; }
html body .mainland-ce-referenzen figure.wp-block-image { display: flex; flex-direction: column; }
html body .mainland-ce-referenzen figure.wp-block-image figcaption { position: static !important; background: none !important; color: #393939 !important; font-size: 14px; text-align: left; padding: 8px 2px 0 !important; margin: 0 !important; max-height: none !important; overflow: visible; }
/* Graue Fläche als letzter Abschnitt behält ihren Innenabstand unten (08.10.2026, Carsten-Erhard-Seite) */
html body .site-content .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-flaeche-grau:last-child:not(.mainland-box):not(.mainland-bereich) { padding-bottom: 40px !important; }
@media (max-width: 767px) { html body .site-content .entry-content > .mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-astra-abschnitt.mainland-flaeche-grau:last-child:not(.mainland-box):not(.mainland-bereich) { padding-bottom: 30px !important; } }
@media (max-width: 767px) { html body .mainland-ce-referenzen figure.wp-block-image figcaption { font-size: 13px; } }
/* Portal-Logoleiste dezenter (08.10.2026, 14:55) */
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure { flex: 0 1 270px !important; max-width: 270px; }
@media (max-width: 976px) { html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure { flex-basis: 220px !important; max-width: 220px; } }
@media (max-width: 767px) { html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] { flex-wrap: nowrap !important; gap: 20px !important; padding-left: 0 !important; padding-right: 0 !important; } html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure { flex: 1 1 0 !important; max-width: 105px; } }

/* ==== MAINLAND: Startseite neu (mst-), 08.10.2026 ==== */
html body .mst{--b:#011381;--bl:#0c2c74;--o:#ff9103;--t:#393939;--g:#f4f4f6;--hb:#eef1f9;--warm:#f7f5f2;--line:#e3e7f2;--sh1:0 2px 6px rgba(1,19,129,.06),0 10px 28px rgba(1,19,129,.08);--sh2:0 18px 44px rgba(1,19,129,.16);color:var(--t);font-size:17px;line-height:1.65}
html body .entry-content > .wp-block-spectra-container.mst.mst-box{display:block;box-sizing:border-box;width:calc(100% - 40px);max-width:1200px;margin:0 auto 28px !important;padding:76px 60px;border-radius:20px;gap:0}
html body .entry-content > .wp-block-spectra-container.mst.mst-hero{margin-top:24px !important}
html body .mst *{box-sizing:border-box}
html body .mst p{margin:0}
html body .mst a{color:var(--b);text-decoration:none}
html body .mst p:not(.mst-pfeil):not(.mst-btns):not(.mst-center):not(.mst-sterne) a:not(.mst-btn){text-decoration:underline;text-underline-offset:3px}
html body .mst h1,html body .mst h2,html body .mst h3{color:var(--b);font-weight:600;margin:0;font-family:inherit}
html body .mst h1,html body .mst h2{text-transform:uppercase;letter-spacing:.02em}
html body .mst h3{text-transform:none;letter-spacing:0;font-size:19px;line-height:1.35}
html body .mst h1{font-size:clamp(28px,3.3vw,46px);line-height:1.13}
html body .mst h2{font-size:clamp(23px,2.3vw,33px);line-height:1.2;margin-bottom:36px}
html body .mst.mst-weiss{background:#fff;border:1px solid var(--line);box-shadow:var(--sh1)}
html body .mst.mst-warm{background:var(--warm)}
html body .mst.mst-hblau{background:var(--hb)}
html body .mst.mst-dunkel{background:linear-gradient(160deg,#0c2c74,#011381);color:#e6eaf6}
html body .mst.mst-dunkel h2,html body .mst.mst-dunkel h3{color:#fff}
html body .mst .mst-kicker{display:flex;align-items:center;gap:10px;color:var(--o);font-weight:700;font-size:13.5px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
html body .mst .mst-kicker::before{content:"";width:28px;height:2px;background:var(--o);flex:0 0 28px}
html body .mst .mst-intro{font-size:18px;margin:-22px 0 40px;max-width:780px}
html body .mst .mst-btns{display:flex;gap:14px;flex-wrap:wrap}
html body .mst a.mst-btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 28px;border-radius:10px;font-weight:700;font-size:16px;line-height:1.3;text-decoration:none;transition:.2s}
html body .mst a.mst-btn-o{background:var(--o);color:var(--bl);box-shadow:0 8px 20px rgba(255,145,3,.28)}
html body .mst a.mst-btn-o:hover{background:var(--b);color:#fff}
html body .mst a.mst-btn-k{border:2px solid var(--b);color:var(--b);padding:13px 26px;background:#fff}
html body .mst a.mst-btn-k:hover{background:var(--b);color:#fff}
html body .mst .mst-pfeil a{font-weight:700;text-decoration:none}
html body .mst .mst-pfeil a::after{content:" →";color:var(--o)}
html body .mst .mst-mehr{margin-top:34px}
html body .mst.mst-dunkel .mst-mehr a{color:#fff}
html body .mst a:focus-visible{outline:3px solid var(--o);outline-offset:3px;border-radius:6px}
html body .entry-content > .wp-block-spectra-container.mst.mst-hero{display:grid;grid-template-columns:55fr 45fr;gap:56px;align-items:center;padding:64px 60px;background:linear-gradient(135deg,#eef1f9 0%,#f7f5f2 100%);position:relative;overflow:hidden}
html body .mst.mst-hero::before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;background:rgba(1,19,129,.05);right:-90px;top:50%;transform:translateY(-50%);pointer-events:none}
html body .mst.mst-hero > *{position:relative;min-width:0;margin:0}
html body .mst .mst-lead{font-size:18px;margin:22px 0;max-width:620px}
html body .mst .mst-sterne{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border-radius:40px;padding:8px 18px;box-shadow:var(--sh1);font-size:15px;max-width:100%}
html body .mst .mst-sterne::before{content:"★★★★★";color:#f0ad4e;letter-spacing:2px;font-size:18px}
html body .mst .mst-sterne a{color:var(--t)}
html body .mst .mst-sterne strong{color:var(--b)}
html body .mst.mst-hero .mst-btns{margin-top:28px}

html body .mst figure.mst-hero-bild{position:relative;margin:0}
html body .mst figure.mst-hero-bild img{width:100%;height:auto;aspect-ratio:4/5;max-height:600px;object-fit:cover;object-position:center 15%;border-radius:20px;box-shadow:var(--sh2);display:block}
html body .mst figure.mst-hero-bild figcaption{position:absolute;left:20px;bottom:20px;margin:0;background:#fff;border-radius:14px;padding:12px 18px;box-shadow:var(--sh1);font-size:14px;line-height:1.4;color:var(--t);text-align:left}
html body .mst figure.mst-hero-bild figcaption strong{color:var(--b)}
html body .entry-content > .wp-block-spectra-container.mst.mst-wicht{padding:52px 60px}
html body .mst.mst-wicht h2{margin-bottom:28px}
html body .mst ul.mst-haken{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 48px;margin:0;padding:0;list-style:none}
html body .mst ul.mst-haken li{position:relative;padding-left:44px;font-size:16.5px;margin:0}
html body .mst ul.mst-haken li::before{content:"";position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:var(--o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%230c2c74' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
html body .mst .mst-karten{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
html body .mst .mst-karte{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:104px 24px 24px;box-shadow:var(--sh1);transition:transform .2s,box-shadow .2s;margin:0}
html body .mst .mst-karte::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--b);transition:background .2s}
html body .mst .mst-karte::after{content:"";position:absolute;left:24px;top:30px;width:56px;height:56px;border-radius:14px;background-color:var(--hb);background-position:center;background-repeat:no-repeat;background-size:28px}
html body .mst .mst-karte:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
html body .mst .mst-karte:hover::before{background:var(--o)}
html body .mst .mst-karte .mst-kt{color:var(--b);font-size:19px;font-weight:700;line-height:1.3}
html body .mst .mst-karte p{font-size:15.5px;line-height:1.55}
html body .mst .mst-karte .mst-pfeil{margin-top:auto;font-size:14.5px}
html body .mst .mst-karte .mst-pfeil a{color:var(--b)}
html body .mst .mst-karte .mst-pfeil a::before{content:"";position:absolute;inset:0;z-index:1}
html body .mst .mst-karte.mst-karte-top{background:var(--b);border-color:var(--b);color:#dfe5f5}
html body .mst .mst-karte.mst-karte-top::before{background:var(--o)}
html body .mst .mst-karte.mst-karte-top::after{background-color:var(--o)}
html body .mst .mst-karte.mst-karte-top .mst-kt{color:#fff}
html body .mst .mst-karte.mst-karte-top .mst-pfeil a{color:var(--o)}
html body .mst .mst-i-haus::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E")}
html body .mst .mst-karte-top.mst-i-haus::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2c74' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E")}
html body .mst .mst-i-wohnung::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2'/%3E%3C/svg%3E")}
html body .mst .mst-i-wert::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 17v-6M12 17V6M17 17v-4'/%3E%3C/svg%3E")}
html body .mst .mst-i-erbe::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E")}
html body .mst .mst-i-trennung::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 20h8M5 7h14'/%3E%3Cpath d='M5 7l-3 6a3 3 0 0 0 6 0zM19 7l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E")}
html body .mst .mst-i-preise::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 7a6 6 0 1 0 0 10'/%3E%3Cpath d='M5 10.5h9M5 13.5h9'/%3E%3C/svg%3E")}
html body .mst .mst-i-kaufen::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E")}
html body .entry-content > .wp-block-spectra-container.mst-sc-wrap,html body .entry-content > .wp-block-spectra-container.mst-mv-wrap{width:calc(100% - 40px);max-width:1200px;margin:0 auto 28px !important;padding:0 !important}
html body .mst.mst-kunden > .mst-kicker{justify-content:center}
html body .mst.mst-kunden h2{text-align:center;margin-bottom:12px}
html body .mst .mst-rating{text-align:center;font-size:16px;margin-bottom:40px}
html body .mst .mst-rating::before{content:"★★★★★ ";color:#f0ad4e;letter-spacing:2px}
html body .mst .mst-rating strong{color:var(--b)}
html body .mst .mst-siegel{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:0 0 44px}
html body .mst .mst-siegel figure.wp-block-image{margin:0;background:#fff;border-radius:16px;box-shadow:var(--sh1);padding:20px 18px 16px;width:200px;text-align:center;display:flex;flex-direction:column;align-items:center}
html body .mst .mst-siegel figure.wp-block-image img{height:120px;width:auto;max-width:100%;object-fit:contain}
html body .mst .mst-siegel figcaption{font-size:13px;line-height:1.4;margin:12px 0 0;color:#5b5f6a}
html body .mst .mst-siegel figcaption strong{color:var(--t)}
html body .mst .mst-hinweis{font-size:13px;line-height:1.6;color:#5b5f6a;max-width:860px;margin:22px auto 0;text-align:center}
html body .mst .mst-profile{text-align:center;margin-top:20px;font-size:15px}
html body .mst.mst-kunden .ti-widget.ti-goog .ti-widget-container:not(.ti-col-1) .ti-footer{display:none !important}
html body .mst.mst-kunden .ti-widget.ti-goog .ti-widget-container:not(.ti-col-1) .ti-reviews-container{flex:0 0 100% !important;max-width:100% !important}
html body .mst.mst-kunden .ti-widget.ti-goog .ti-col-3 .ti-review-item{flex:0 0 33.3333% !important;max-width:33.3333% !important}
html body .mst.mst-kunden .ti-verified-by{display:none !important}
html body .mst.mst-kunden .wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"]{margin:30px auto 0 !important;padding:0 !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"]{gap:40px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure{flex:0 0 auto !important;max-width:none !important;margin:0 !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{width:auto !important;max-width:none;height:70px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:84px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:55px !important}
@media (max-width:1100px){
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"]{gap:28px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:52px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:63px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:41px !important}
}
@media (max-width:767px){
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"]{gap:14px !important;flex-wrap:nowrap !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure{flex:0 1 auto !important;min-width:0}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:auto !important;max-height:23px;width:auto !important;max-width:100% !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{max-height:27px}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{max-height:18px}
}
html body .entry-content > .wp-block-spectra-container.mst.mst-ueber{display:grid;grid-template-columns:6fr 5fr;gap:60px;align-items:center}
html body .mst.mst-ueber > *{min-width:0;margin:0}
html body .mst figure.mst-ueber-bild{margin:0;height:100%}
html body .mst figure.mst-ueber-bild img{width:100%;height:100%;min-height:380px;object-fit:cover;border-radius:18px;box-shadow:var(--sh2);display:block}
html body .mst .mst-ueber-text h2{margin-bottom:20px}
html body .mst .mst-ueber-text p:not(.mst-kicker):not(.mst-pfeil){margin-bottom:24px}
html body .mst .mst-zahlen{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
html body .mst .mst-zahl{padding:0 26px;border-left:1px solid var(--line);margin:0}
html body .mst .mst-zahl:first-child{border-left:0;padding-left:0}
html body .mst .mst-zahl::before{content:"";display:block;width:40px;height:3px;background:var(--o);margin-bottom:18px}
html body .mst .mst-zahl-wert{font-size:clamp(34px,3.6vw,52px);line-height:1.05;color:var(--b);font-weight:700;margin-bottom:12px !important;white-space:nowrap}
html body .mst .mst-zahl-wert .mst-z-klein{font-size:.45em;font-weight:600;letter-spacing:.01em}
html body .mst .mst-zahl-text{font-size:15px;line-height:1.5}
html body .mst .mst-fuss{font-size:13px;color:#5b5f6a;margin-top:30px;max-width:860px}
html body .mst .mst-ablauf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;position:relative;counter-reset:mstab}
html body .mst .mst-ablauf::before{content:"";position:absolute;top:58px;left:15%;right:15%;border-top:2px dashed rgba(255,145,3,.5)}
html body .mst .mst-ab{counter-increment:mstab;position:relative;margin:0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:30px 28px}
html body .mst .mst-ab::before{content:counter(mstab);display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--o);color:var(--bl);font-weight:700;font-size:22px;margin-bottom:22px;box-shadow:0 0 0 8px #0a2470}
html body .mst .mst-ab p{margin-top:10px;color:rgba(255,255,255,.86);font-size:16px}
html body .mst.mst-verk .mainland-kacheln{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0}
html body .mst.mst-verk .mainland-referenz{display:flex !important;flex-direction:row !important;flex-wrap:wrap;align-content:flex-start;gap:0 !important;padding:0 0 14px !important;margin:0 !important;background:#fff;border:0;border-radius:14px;overflow:hidden;box-shadow:var(--sh1);min-height:0}
html body .mst.mst-verk .mainland-referenz > .wp-block-image{flex:0 0 100%;margin:0 0 12px !important;overflow:hidden}
html body .mst.mst-verk .mainland-referenz > .wp-block-image img{aspect-ratio:4/3;border-radius:0;border-bottom:3px solid var(--o);transition:transform .3s}
html body .mst.mst-verk .mainland-referenz:hover > .wp-block-image img{transform:scale(1.03)}
html body .mst.mst-verk .mainland-badge{top:12px;left:12px}
html body .mst.mst-verk .mainland-referenz-art,html body .mst.mst-verk .mainland-referenz-dauer{display:none !important}

html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{font-size:14.5px;line-height:1.4;font-weight:600;color:var(--b);padding:0 16px 0 0}
html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort::before{content:"\00a0·\00a0"}
html body .mst .mst-region{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px}
html body .mst .mst-region-sp{border-top:3px solid var(--o);padding-top:20px;margin:0}
html body .mst .mst-region .mst-kt{color:var(--b);font-weight:700;font-size:19px;margin-bottom:10px}
html body .mst .mst-blogkarten .wp-block-post-template{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
html body .mst .mst-blogkarten .wp-block-post{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh1);display:flex;flex-direction:column;margin:0;transition:transform .2s,box-shadow .2s;position:relative}
html body .mst .mst-blogkarten .wp-block-post:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
html body .mst .mst-blogkarten .wp-block-post-featured-image{margin:0}
html body .mst .mst-blogkarten .wp-block-post-featured-image img{border-radius:0;width:100%;aspect-ratio:3/2;object-fit:cover}
html body .mst .mst-blogkarten .wp-block-post-title{margin:0;padding:20px 22px 24px;font-size:17px;line-height:1.4;font-weight:700;text-transform:none}
html body .mst .mst-blogkarten .wp-block-post-title a{color:var(--b);text-decoration:none}
html body .mst .mst-blogkarten .wp-block-post-title a::after{content:" →";color:var(--o)}
html body .mst .mst-blogkarten .wp-block-post-title a::before{content:"";position:absolute;inset:0}
html body .mst .mst-center{text-align:center;margin-top:36px}
html body .mst.mst-faqbox .mainland-faq{max-width:900px}
html body .entry-content > .wp-block-spectra-container.mst.mst-kontakt{display:grid;grid-template-columns:5fr 7fr;gap:56px;align-items:center;scroll-margin-top:100px}
html body .mst.mst-kontakt > *{min-width:0;margin:0}
html body .mst figure.mst-kontakt-bild{margin:0}
html body .mst figure.mst-kontakt-bild img{width:100%;height:470px;object-fit:cover;object-position:center 20%;border-radius:20px;box-shadow:var(--sh2);display:block}
html body .mst.mst-kontakt h2{margin-bottom:0}
html body .mst.mst-kontakt .mst-lead{margin:16px 0 26px}
html body .mst .mst-nap{background:#fff;border-radius:18px;box-shadow:var(--sh1);padding:30px 34px;margin:0 0 26px}
html body .mst .mst-firma{color:var(--t);font-size:15px;line-height:1.5;margin-bottom:8px !important}
html body .mst .mst-firma strong{color:var(--b);font-size:17px}
html body .mst .mst-z{display:flex;gap:16px;align-items:center;margin-top:12px !important;font-size:16px;line-height:1.45}
html body .mst .mst-z::before{content:"";flex:0 0 40px;height:40px;border-radius:10px;background-color:var(--hb);background-position:center;background-repeat:no-repeat;background-size:20px}
html body .mst .mst-z-ort::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E")}
html body .mst .mst-z-tel::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E")}
html body .mst .mst-z-zeit::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
html body .mst .mst-z-google::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011381' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.8-4.4 4.3 1 6.1L12 17l-5.4 2.8 1-6.1L3.2 9.4l6.1-.8z'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion:reduce){html body .mst *{transition:none !important}}
@media (max-width:1024px){
html body .mst .mst-karten,html body .mst.mst-verk .mainland-kacheln{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .mst .mst-zahlen{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 0}
html body .mst .mst-zahl:nth-child(3){border-left:0;padding-left:0}
html body .entry-content > .wp-block-spectra-container.mst.mst-box{padding:56px 36px}
}
@media (max-width:767px){
html body .mst{font-size:16px}
html body .entry-content > .wp-block-spectra-container.mst.mst-box,html body .entry-content > .wp-block-spectra-container.mst-sc-wrap,html body .entry-content > .wp-block-spectra-container.mst-mv-wrap{width:calc(100% - 24px);margin:0 auto 16px !important}
html body .entry-content > .wp-block-spectra-container.mst.mst-box{padding:44px 20px;border-radius:16px}
html body .entry-content > .wp-block-spectra-container.mst.mst-hero{margin-top:12px !important;grid-template-columns:1fr;gap:20px;display:flex;flex-direction:column;align-items:stretch}
html body .mst.mst-hero::before{display:none}
html body .mst figure.mst-hero-bild{order:-1;display:flex;align-items:center;gap:14px}
html body .mst figure.mst-hero-bild img{width:76px !important;height:76px !important;aspect-ratio:1/1;border-radius:50% !important;object-position:center 12%;box-shadow:0 0 0 4px #fff,var(--sh1)}
html body .mst figure.mst-hero-bild figcaption{position:static;box-shadow:none;padding:0;background:none}
html body .mst .mst-hero-text{display:flex;flex-direction:column}
html body .mst h1{font-size:clamp(23px,6.6vw,27px);line-height:1.15;hyphens:auto}
html body .mst h2{font-size:22px;margin-bottom:26px}
html body .mst .mst-hero-text .mst-lead{order:5;margin:24px 0 0;font-size:16px}

html body .mst .mst-sterne{margin-top:18px;font-size:13.5px;gap:4px 8px;padding:10px 16px;border-radius:14px}
html body .mst.mst-hero .mst-btns{margin-top:20px}
html body .mst .mst-btns a.mst-btn{width:100%}
html body .mst .mst-kicker{font-size:12px;letter-spacing:.05em}
html body .mst .mst-intro{margin:-12px 0 28px;font-size:16px}
html body .mst ul.mst-haken,html body .mst .mst-karten,html body .mst .mst-ablauf,html body .mst .mst-region,html body .mst .mst-blogkarten .wp-block-post-template{grid-template-columns:1fr;gap:16px}
html body .entry-content > .wp-block-spectra-container.mst.mst-ueber,html body .entry-content > .wp-block-spectra-container.mst.mst-kontakt{grid-template-columns:1fr;gap:28px}
html body .mst figure.mst-ueber-bild img{min-height:0;height:240px}
html body .mst .mst-karte{padding:18px 18px 18px 80px;gap:4px}
html body .mst .mst-karte::after{left:18px;top:20px;width:46px;height:46px;background-size:22px}
html body .mst .mst-karte p{font-size:15px}
html body .mst .mst-karte .mst-pfeil{margin-top:6px}
html body .mst .mst-ablauf::before{display:none}
html body .mst .mst-ab{padding:22px 20px}
html body .mst .mst-ab::before{width:44px;height:44px;font-size:18px;margin-bottom:14px;box-shadow:none}
html body .mst .mst-siegel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body .mst .mst-siegel figure.wp-block-image{width:auto;padding:14px 10px}
html body .mst .mst-siegel figure.wp-block-image img{height:88px}
html body .mst .mst-zahl{padding:0 0 0 16px}
html body .mst .mst-zahl:nth-child(odd){border-left:0;padding-left:0}
html body .mst .mst-zahl-wert{font-size:30px;white-space:normal}
html body .mst.mst-verk .mainland-kacheln{gap:10px}
html body .mst.mst-verk .mainland-referenz > h3,html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{font-size:12.5px}

html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{padding-right:10px}
html body .mst.mst-verk .mainland-badge{top:8px;left:8px;font-size:11px;padding:2px 8px}
html body .mst figure.mst-kontakt-bild img{height:300px}
html body .mst .mst-nap{padding:24px 20px}
body:has(.mst-hero){padding-bottom:calc(76px + env(safe-area-inset-bottom))}
body:has(.mst-hero) #ast-scroll-top{display:none !important}
}
/* ==== Ende Startseite neu ==== */
/* Startseite neu: Korrekturen 1 */
html body.page .entry-content > .wp-block-spectra-container.mst.mst.mst-box{padding-left:60px !important;padding-right:60px !important}
html body.page .entry-content > .wp-block-spectra-container.mst-sc-wrap.mst-sc-wrap.mst-sc-wrap,html body.page .entry-content > .wp-block-spectra-container.mst-mv-wrap.mst-mv-wrap.mst-mv-wrap{padding-left:0 !important;padding-right:0 !important}
html body .mst .mst-sterne a,html body .mst .mst-blogkarten .wp-block-post-title a,html body .mst .mst-pfeil a,html body .mst a.mst-btn{text-decoration:none !important}
html body .mst.mst-verk .mainland-referenz > h3,html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{flex:0 0 100%;padding:0 16px !important;margin:0 !important}
html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{font-weight:400;color:#5b5f6a}
html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort::before{content:none}
html body .mst .mst-z{display:block;position:relative;padding:8px 0 0 56px;min-height:40px}
html body .mst .mst-z::before{position:absolute;left:0;top:0;width:40px}
@media (max-width:1024px){html body.page .entry-content > .wp-block-spectra-container.mst.mst.mst-box{padding-left:36px !important;padding-right:36px !important}}
@media (max-width:767px){
html body.page .entry-content > .wp-block-spectra-container.mst.mst.mst-box{padding-left:20px !important;padding-right:20px !important}
html body .mst .mst-zahl-wert{font-size:28px;white-space:nowrap}
html body .mst.mst-verk .mainland-referenz > h3,html body .mst.mst-verk .mainland-referenz > .mainland-referenz-ort{padding:0 10px !important}
html body .mst .mst-blogkarten .wp-block-post{flex-direction:row;align-items:center}
html body .mst .mst-blogkarten .wp-block-post-featured-image{flex:0 0 112px;align-self:stretch}
html body .mst .mst-blogkarten .wp-block-post-featured-image a,html body .mst .mst-blogkarten .wp-block-post-featured-image img{height:100%}
html body .mst .mst-blogkarten .wp-block-post-featured-image img{aspect-ratio:auto;min-height:100px}
html body .mst .mst-blogkarten .wp-block-post-title{padding:14px 16px;font-size:15.5px}
}
html body .mst a.mst-btn{text-align:center}
html body .mst .mst-blogkarten .wp-block-post-title{hyphens:auto;-webkit-hyphens:auto}
html body .mst.mst-kunden .ti-widget,html body .mst.mst-kunden .ti-widget-container{margin-bottom:0 !important;padding-bottom:0 !important}
html body .mst.mst-kunden .ti-controls-line{margin-bottom:0 !important}
@media (max-width:767px){html body .mst .mst-zahl{padding:0 10px 0 16px}html body .mst .mst-zahl:nth-child(odd){padding:0 12px 0 0}html body .mst .mst-zahl-text{font-size:14px;hyphens:auto}}
/* Ende Korrekturen 1 */
/* Startseite neu: Runde 2 (08.10.2026, 17:05) */
html body .mst .mst-hero-text .mst-lead{margin:24px 0 30px}
html body .mst .mst-sterne{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 22px 14px 20px;box-shadow:var(--sh1)}
html body .mst .mst-sterne::before{content:none}
html body .mst .mst-sterne a{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:12px;row-gap:3px;color:var(--t)}
html body .mst .mst-sterne a::before{content:"★★★★★";color:#f5a623;font-size:19px;letter-spacing:1px;line-height:1}
html body .mst .mst-sterne strong{font-size:16px;line-height:1.3;color:var(--b)}
html body .mst .mst-sterne span{grid-column:1 / -1;font-size:13.5px;line-height:1.4;color:#5b5f6a}
html body .mst.mst-hero .mst-btns{margin-top:36px}
html body .mst .mst-rating{margin-bottom:28px}
html body .mst .mst-hinweis{max-width:none;margin:28px 0 0;text-align:left;font-size:13.5px;line-height:1.6;color:#5b5f6a;background:#f7f8fb;border-left:3px solid var(--o);border-radius:10px;padding:14px 20px}
html body .mst .mst-hinweis strong{display:inline-block;color:var(--t);margin-bottom:2px}
html body .mst .mst-siegel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:36px 0 0}
html body .mst .mst-siegel figure.wp-block-image{width:auto;padding:26px 20px 20px}
html body .mst .mst-siegel figure.wp-block-image img{height:150px}
html body .mst .mst-siegel figcaption{font-size:14px}
html body .mst .mst-profile{margin-top:30px}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:63px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:76px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:50px !important}
html body .mst.mst-verk .mainland-kacheln{grid-template-columns:repeat(3,minmax(0,1fr))}
html body .mst.mst-verk .mainland-kacheln > .mainland-referenz:nth-child(n+7){display:none !important}
html body .mst.mst-verk .mainland-referenz > .wp-block-image{border-bottom:3px solid var(--o)}
html body .mst.mst-verk .mainland-referenz > .wp-block-image img{border-bottom:0}
html body .mst .mst-blogkarten .wp-block-post-title{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:140px;padding:30px 26px}
html body .mst.mst-kontakt .mst-nap{margin-bottom:40px}
@media (min-width:1100px){html body .mainland-bw-zahlen.mainland-ce-steckbrief{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1099px){html body .mainland-bw-zahlen.mainland-ce-steckbrief{grid-template-columns:repeat(6,minmax(0,1fr))}html body .mainland-ce-steckbrief > .mainland-bw-zahl-karte{grid-column:span 2}html body .mainland-ce-steckbrief > .mainland-bw-zahl-karte:nth-child(4){grid-column:2 / span 2}}
@media (max-width:1100px){
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:47px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:57px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:37px !important}
}
@media (max-width:1024px){html body .mst.mst-verk .mainland-kacheln{grid-template-columns:repeat(2,minmax(0,1fr))}html body .mst .mst-siegel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
html body .mst .mst-sterne{display:block;margin-top:20px;padding:12px 16px}
html body .mst .mst-sterne a{grid-template-columns:auto 1fr}
html body .mst.mst-hero .mst-btns{margin-top:26px}
html body .mst .mst-hinweis{font-size:13px;padding:12px 14px}
html body .mst .mst-siegel{gap:12px;margin-top:28px}
html body .mst .mst-siegel figure.wp-block-image{padding:16px 10px 14px}
html body .mst .mst-siegel figure.wp-block-image img{height:100px}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{max-height:21px}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{max-height:24px}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{max-height:16px}
html body .mst .mst-blogkarten .wp-block-post-title{min-height:0;justify-content:flex-start;text-align:left;padding:14px 16px}
html body .mst.mst-kontakt .mst-nap{margin-bottom:32px}
}
html body .mst .mst-sterne a{display:grid !important;grid-template-columns:auto 1fr;justify-content:start;align-items:center;column-gap:12px;row-gap:4px}
html body .mst .mst-sterne span{grid-column:1 / -1}
html body .mst .mst-sterne{border:1px solid rgba(1,19,129,.08);border-radius:12px;box-shadow:0 6px 20px rgba(1,19,129,.08);padding:14px 20px}
html body .mst .mst-sterne a::before{font-size:16px;letter-spacing:2px}
html body .mst .mst-sterne strong{font-weight:600}
html body .mst .mst-sterne span{color:#6b7280;font-size:13px}
html body .mst .mst-sterne .mst-nw{white-space:nowrap;grid-column:auto}
html body .mst.mst-hero .mst-kicker{margin-bottom:16px}
html body .mst .mst-hero-text .mst-lead{margin:24px 0 32px}
html body .mst.mst-hero .mst-btns{margin-top:40px}
@media (max-width:767px){html body .mst .mst-sterne{padding:14px 18px}html body .mst.mst-hero .mst-kicker{align-items:flex-start;line-height:1.5;letter-spacing:1px}html body .mst.mst-hero .mst-kicker::before{margin-top:.7em}html body .mst figure.mst-hero-bild{margin-bottom:4px}html body .mst.mst-hero .mst-btns{margin-top:28px}}
/* Portal-Logos Runde 3 (17:05): -10 %, Jacasa -15 % */
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:57px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:68px !important}
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:43px !important}
@media (max-width:1100px){html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{height:42px !important}html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{height:51px !important}html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:31px !important}}
@media (max-width:767px){html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img{max-height:19px}html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001678{max-height:22px}html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{max-height:14px}}
/* Jacasa nochmals -15 % (17:06) */
html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:37px !important}
@media (max-width:1100px){html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{height:26px !important}}
@media (max-width:767px){html body .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id="spectra-mainland-logostart"] > figure img.wp-image-1001679{max-height:12px}}
/* Ende Runde 2 */
/* Trustindex: Badge „Verifiziert“ ausblenden (SEO-Konzept Startseite, 08.10.2026) */
html body .ti-widget .ti-verified-by{display:none !important}

/* ==== MAINLAND: Header B „Vertrauen oben“ (08.10.2026) ==== */
html body .ast-above-header-bar,html body .ast-above-header-wrap .ast-above-header-bar{background:#011381 !important;border:0 !important}
html body .ast-above-header-bar p.mhd-top{margin:0 !important;display:flex;align-items:center;gap:26px;font-size:13.5px;line-height:1.3;color:#fff !important;white-space:nowrap}
html body .mhd-top a{color:#fff !important;text-decoration:none !important;font-weight:600}
html body .mhd-top a:hover{text-decoration:underline !important}
html body .mhd-stars{color:#ff9103;letter-spacing:1px;margin-right:4px}
html body .mhd-stand{font-weight:400;opacity:.8}
html body .mhd-claim,html body .mhd-zeit{color:#e6eaf6}
html body .mhd-tel::before{content:"";display:inline-block;width:15px;height:15px;margin-right:7px;vertical-align:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat}
html body p.mhd-top.mhd-top-m{justify-content:center;font-size:12.5px;gap:0}
html body .mhd-d{display:block;font-size:13px;font-weight:400;color:#5b6475;margin-top:3px;text-transform:none;letter-spacing:0}

html body #ast-hf-menu-1 > li > .menu-link{text-transform:none !important;font-weight:600}
@media (min-width:922px){
html body .ast-primary-header-bar .ast-builder-grid-row{position:relative}
html body .ast-primary-header-bar .site-header-primary-section-right,html body .ast-primary-header-bar #ast-hf-menu-1{position:static !important}
html body #ast-hf-menu-1 .sub-menu > li.mhd-teaser > .menu-link{white-space:normal}
html body #ast-hf-menu-1 .sub-menu{background:#fff !important;border:1px solid #e5e8f1 !important;border-radius:12px !important;box-shadow:0 18px 40px rgba(1,19,129,.14) !important;padding:8px !important;min-width:300px}
html body #ast-hf-menu-1 .sub-menu > .menu-item{border:0 !important;margin:0 !important}
html body #ast-hf-menu-1 .sub-menu .menu-link{display:block !important;padding:10px 12px !important;border:0 !important;border-radius:8px;background:transparent !important;color:#1f2a4d !important;font-weight:600;font-size:15px;line-height:1.3;text-transform:none !important}
html body #ast-hf-menu-1 .sub-menu .menu-link:hover,html body #ast-hf-menu-1 .sub-menu .menu-link:focus{background:#eef1f9 !important;color:#011381 !important}
html body #ast-hf-menu-1 .sub-menu > .mhd-sep{border-top:1px solid #e5e8f1 !important;margin-top:6px !important;padding-top:6px}
html body #ast-hf-menu-1 > li.mhd-mega{position:static}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu{left:0 !important;right:0 !important;width:auto !important;display:grid !important;grid-template-columns:1fr 1fr 330px;grid-template-rows:auto auto auto auto;column-gap:10px;row-gap:2px;padding:18px !important}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::before,html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::after{display:block;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5b6475;padding:8px 12px 4px;grid-row:1}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::before{content:"Was möchten Sie verkaufen?";grid-column:1}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::after{content:"Ihre Situation";grid-column:2}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(1){grid-column:1;grid-row:2}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(2){grid-column:1;grid-row:3}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(3){grid-column:1;grid-row:4}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(4){grid-column:2;grid-row:2}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(5){grid-column:2;grid-row:3}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li:nth-child(6){grid-column:2;grid-row:4}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu > li.mhd-teaser{grid-column:3;grid-row:1 / 5}
html body #ast-hf-menu-1 .sub-menu > li.mhd-teaser > .menu-link{height:100%;display:flex !important;flex-direction:column;align-items:flex-start;background:#011381 !important;color:#fff !important;border-radius:12px;padding:22px !important}
html body #ast-hf-menu-1 .sub-menu > li.mhd-teaser > .menu-link:hover{background:#0c2c74 !important;color:#fff !important}
html body .mhd-teaser .mhd-cap{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ffc670}
html body .mhd-teaser strong{display:block;font-size:20px;line-height:1.25;margin:6px 0 8px;color:#fff}
html body .mhd-teaser .mhd-tz-t{display:block;font-size:14px;font-weight:400;line-height:1.5;color:#dfe4f7}
html body .mhd-teaser .mhd-tz-b{display:inline-flex;align-items:center;min-height:42px;padding:0 18px;margin-top:14px;border-radius:8px;background:#ff9103;color:#011381;font-weight:700;font-size:15px}
}
@media (max-width:921px){
html body .mhd-d,html body #ast-hf-mobile-menu li.mhd-teaser{display:none !important}
}
html body .site-branding .custom-logo,html body .ast-site-identity img{border-radius:0 !important}
@media (min-width:922px){html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::before,html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu::after{margin:0 !important;position:static !important;border:0 !important;width:auto !important;height:auto !important;align-self:end;background:none !important;transform:none !important;top:auto !important}}
html body .ast-header-button-1 .ast-custom-button{text-transform:none !important;letter-spacing:0 !important}
@media (min-width:922px){html body #ast-hf-menu-1 > li > .menu-link{padding-left:6px !important;padding-right:6px !important;background:transparent !important}html body #ast-hf-menu-1 > li > .menu-link .menu-text{display:inline !important;height:auto !important;align-self:center;padding:7px 10px;border-radius:8px;line-height:1.3;transition:background .15s}html body #ast-hf-menu-1 > li:hover > .menu-link,html body #ast-hf-menu-1 > li:focus-within > .menu-link,html body #ast-hf-menu-1 > li.current-menu-item > .menu-link,html body #ast-hf-menu-1 > li.current-menu-ancestor > .menu-link{color:#011381 !important}html body #ast-hf-menu-1 > li:hover > .menu-link .menu-text,html body #ast-hf-menu-1 > li:focus-within > .menu-link .menu-text,html body #ast-hf-menu-1 > li.current-menu-item > .menu-link .menu-text,html body #ast-hf-menu-1 > li.current-menu-ancestor > .menu-link .menu-text{background:#eef1f9}}
@media (max-width:921px){
html body .ast-mobile-header-content,html body #ast-hf-mobile-menu,html body #ast-hf-mobile-menu .sub-menu{background:#fff !important}
html body #ast-hf-mobile-menu > li > .menu-link{text-transform:none !important;background:#fff !important;color:#1f2a4d !important;font-weight:600;font-size:17px;border-color:#e5e8f1 !important;padding-top:15px !important;padding-bottom:15px !important}
html body #ast-hf-mobile-menu > li.current-menu-item > .menu-link,html body #ast-hf-mobile-menu > li.ast-submenu-expanded > .menu-link{color:#011381 !important}
html body #ast-hf-mobile-menu .sub-menu{padding:2px 16px 10px !important}
html body #ast-hf-mobile-menu .sub-menu .menu-item{border:0 !important}
html body #ast-hf-mobile-menu .sub-menu .menu-link{text-transform:none !important;font-size:15.5px;font-weight:500;background:#eef1f9 !important;color:#30364a !important;border:0 !important;border-radius:8px;margin:0 0 4px !important;padding:12px 14px !important}
html body #ast-hf-mobile-menu .sub-menu .menu-link .ast-icon{display:none}
html body #ast-hf-mobile-menu .ast-menu-toggle,html body #ast-hf-mobile-menu .ast-menu-toggle .ast-arrow-svg{color:#011381 !important;fill:#011381 !important}
html body .ast-mobile-header-content .ast-header-button-1{padding:14px 20px 18px !important}
html body #ast-hf-mobile-menu .menu-link{line-height:1.35 !important}
}
@media (min-width:922px) and (max-width:1199px){
html body .mhd-claim{display:none !important}
html body .ast-above-header-bar p.mhd-top{gap:16px;font-size:12.5px}
html body #ast-hf-menu-1 > li > .menu-link{padding-left:0 !important;padding-right:0 !important}
html body #ast-hf-menu-1 > li > .menu-link .menu-text{padding:7px 7px;font-size:14.5px}
html body .ast-header-button-1 .ast-custom-button{white-space:nowrap;padding:10px 14px !important;font-size:14px}
html body .site-branding .custom-logo{max-width:150px;height:auto}
html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu{grid-template-columns:1fr 1fr 280px}
}
@media (min-width:922px){html body #ast-hf-menu-1 > li > .menu-link .dropdown-menu-toggle{margin-left:-6px !important;margin-right:8px !important;padding:0 !important}}
@media (min-width:922px){html body #ast-hf-menu-1 > li.mhd-mega > .sub-menu{margin-top:0 !important}html body #ast-hf-menu-1 > li.mhd-mega > .menu-link{position:relative}html body #ast-hf-menu-1 > li.mhd-mega > .menu-link::after{content:"";position:absolute;left:-20px;right:-20px;top:100%;height:24px;background:transparent}}
@media (max-width:921px){
html body #ast-hf-mobile-menu > li > .menu-link{min-height:54px;padding-right:72px !important;display:flex !important;align-items:center}
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle,html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle:hover,html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle:focus,html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle:active{top:0 !important;right:0 !important;transform:none !important;margin:0 !important;width:60px !important;height:54px !important;padding:0 !important;display:flex !important;align-items:center;justify-content:center;background:transparent !important;border:0 !important;border-left:1px solid #e5e8f1 !important;border-radius:0 !important;box-shadow:none !important;outline:0;color:#011381 !important}
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle:focus-visible{outline:2px solid #0c2c74 !important;outline-offset:-4px}
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle .ast-icon{display:flex;align-items:center;justify-content:center;width:auto;height:auto;margin:0;line-height:1}
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle svg{width:14px !important;height:14px !important;fill:#011381 !important;transition:transform .2s;margin:0 !important}
html body #ast-hf-mobile-menu > li.ast-submenu-expanded > .ast-menu-toggle svg{transform:rotate(180deg)}
html body #ast-hf-mobile-menu > li.ast-submenu-expanded > .menu-link{color:#011381 !important}
}
@media (max-width:921px){
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle .ast-icon{display:none !important}
html body #ast-hf-mobile-menu > li.menu-item-has-children > .ast-menu-toggle::before{content:"";display:block;width:9px;height:9px;border-right:2px solid #011381;border-bottom:2px solid #011381;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
html body #ast-hf-mobile-menu > li.menu-item-has-children.ast-submenu-expanded > .ast-menu-toggle::before{transform:translateY(2px) rotate(-135deg)}
}
@media (min-width:922px){
html body #ast-hf-menu-1 > li.mhd-mega.current-menu-ancestor:not(:has(> .sub-menu > li.current-menu-item:not(.mhd-teaser))):not(:hover):not(:focus-within) > .menu-link{color:#1f2a4d !important}
html body #ast-hf-menu-1 > li.mhd-mega.current-menu-ancestor:not(:has(> .sub-menu > li.current-menu-item:not(.mhd-teaser))):not(:hover):not(:focus-within) > .menu-link .menu-text{background:transparent !important}
}
@media (max-width:921px){html body #ast-hf-mobile-menu > li.mhd-mega.current-menu-ancestor:not(:has(> .sub-menu > li.current-menu-item:not(.mhd-teaser))) > .menu-link{color:#1f2a4d !important}}
/* ==== Ende Header B ==== */
/* ==== MAINLAND: Situationscheck 33070 (08.10.2026) ==== */
html body .msc-lagen h2.has-text-align-center,html body .msc-lagen > p.has-text-align-center{text-align:left !important}
html body .wp-block-spectra-container.msc-karten{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px !important;margin-top:12px}
html body .wp-block-spectra-container.msc-karte{position:relative;overflow:hidden;display:flex !important;flex-direction:column;gap:10px !important;background:#fff !important;border:1px solid #e3e7f2 !important;border-radius:16px !important;box-shadow:inset 0 4px 0 #011381,0 2px 6px rgba(1,19,129,.06),0 10px 28px rgba(1,19,129,.08) !important;padding:30px 26px 26px !important;text-align:left !important;margin:0 !important;transition:transform .2s,box-shadow .2s}
html body .wp-block-spectra-container.msc-karte:hover{transform:translateY(-3px);box-shadow:inset 0 4px 0 #ff9103,0 18px 44px rgba(1,19,129,.14) !important}
html body .msc-karte::before,html body .msc-karte::after{display:none !important;content:none !important}
html body .msc-karte > h3{text-transform:none !important;letter-spacing:0 !important;text-align:left !important;font-size:20px !important;line-height:1.3 !important;margin:0 !important;padding:0 0 12px !important;border:0 !important;color:#011381}
html body .msc-karte > h3::after,html body .msc-karte > h3::before{display:none !important}
html body .msc-karte > p{text-align:left !important;hyphens:manual !important;-webkit-hyphens:manual !important;margin:0 !important;font-size:16px;line-height:1.6}
html body .msc-karte > p.mainland-infobox-link{margin-top:auto !important;padding-top:14px !important;border-top:1px solid #e3e7f2}
html body .msc-karte > p.mainland-infobox-link a{font-weight:700;text-decoration:none !important;color:#011381}
html body ul.msc-haken{list-style:none !important;margin:8px 0 0 !important;padding:0 !important;display:grid;gap:14px}
html body ul.msc-haken li{position:relative;padding-left:42px;margin:0 !important;line-height:1.55}
html body ul.msc-haken li::before{content:"";position:absolute;left:0;top:-1px;width:28px;height:28px;border-radius:50%;background:#ff9103 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%230c2c74' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
@media (max-width:1024px){html body .wp-block-spectra-container.msc-karten{grid-template-columns:1fr}}
html body .wp-block-spectra-container.msc-karte{align-items:stretch !important}
html body .msc-karte > *{align-self:stretch !important;text-align:left !important;width:100%}
html body .msc-hero-eins > .wp-block-spectra-container{flex:1 1 100% !important;max-width:860px !important;width:100% !important}
html body p.msc-person{display:grid;grid-template-columns:64px 1fr;column-gap:16px;align-items:center;margin:8px 0 0 !important;padding:14px 18px;background:#fff;border:1px solid #e3e7f2;border-radius:14px;box-shadow:0 2px 6px rgba(1,19,129,.06),0 10px 28px rgba(1,19,129,.08);font-size:14.5px;line-height:1.5;color:#5b5f6a;max-width:640px}
html body p.msc-person::before{content:"";grid-row:1 / span 2;width:64px;height:64px;border-radius:50%;background:#eef1f9 url("https://mainland-immobilien.de/wp-content/uploads/2026/10/carsten-erhard-mainland-immobilien-wuerzburg.webp") center 12% / cover no-repeat;box-shadow:0 0 0 3px #fff,0 0 0 5px #ff9103}
html body p.msc-person br{display:none}
html body p.msc-person a{grid-column:2;font-weight:700;font-size:16.5px;color:#011381;text-decoration:none !important}
html body .msc-bekommen ul.msc-haken{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px !important;margin-top:18px !important;counter-reset:mscb}
html body .msc-bekommen ul.msc-haken li{counter-increment:mscb;background:#fff;border:1px solid #e3e7f2;border-radius:14px;box-shadow:0 2px 6px rgba(1,19,129,.06),0 10px 28px rgba(1,19,129,.08);padding:62px 18px 20px !important;font-size:15.5px;font-weight:600;color:#1f2a4d;line-height:1.45}
html body .msc-bekommen ul.msc-haken li::before{left:18px !important;top:18px !important;width:32px !important;height:32px !important;background-size:16px !important}
@media (max-width:1024px){html body .msc-bekommen ul.msc-haken{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){html body .msc-bekommen ul.msc-haken{grid-template-columns:1fr}html body .msc-bekommen ul.msc-haken li{padding:16px 16px 16px 62px !important}html body .msc-bekommen ul.msc-haken li::before{top:50% !important;transform:translateY(-50%)}}
html body .msc-bekommen ul.msc-haken{max-width:none !important;width:100% !important}
html body .msc-bekommen ul.msc-haken li{hyphens:manual !important;-webkit-hyphens:manual !important}
html body .wp-block-spectra-container.msc-bekommen{background:#eef1f9 !important}
html body ul.msc-haken.msc-vertrauen{display:flex !important;flex-wrap:wrap;gap:12px 32px !important;margin:6px 0 10px !important;max-width:none !important}
html body ul.msc-haken.msc-vertrauen li{font-size:15.5px}
/* ==== Ende Situationscheck ==== */

/* ===== Immobilienrechner (mir-) – Seite /immobilienrechner/ ===== */
/* Rechner-Bausteine: CI-Farben (Logik unverändert) */
html body .mlr{--mlr-primary:#0c2c74;--mlr-accent:#ff9103;--mlr-field:#eef1f9;--mlr-panel:#f4f6fb;--mlr-border:#dcdfe6;--mlr-text:#393939;--mlr-muted:#5b5f6a;--mlr-radius:12px}
html body .mlr .mlr-head{background:linear-gradient(135deg,#0c2c74,#011381);font-size:1.05rem;letter-spacing:.01em}
html body .mlr .mlr-btn{border-radius:8px;color:#fff;background:#ff9103;text-transform:none}
html body .mlr .mlr-btn:hover{background:#e67f00}
html body .mlr .mlr-btn.mlr-sec{background:#fff;color:#0c2c74}
html body .mlr .mlr-btn.mlr-sec:hover{background:#eef1f9}
html body .mlr .mlr-group>legend{font-size:1rem}
html body .mlr .mlr-card{box-shadow:0 6px 24px rgba(12,44,116,.08)}
html body .mlr .mlr-table tr.mlr-hl td{background:#fff4e5}

/* Abschnitte */
html body .entry-content > .wp-block-group.mir-abschnitt{box-sizing:border-box;max-width:1200px;margin:30px auto 0;padding:40px 24px}
html body .entry-content > .wp-block-group.mir-abschnitt.mir-grau{background:#f4f4f6;border-radius:15px}
html body .entry-content > .wp-block-group.mir-abschnitt > *{max-width:936px;margin-left:0;margin-right:0}
html body .entry-content > .wp-block-group.mir-abschnitt > .mlr{max-width:936px;margin:28px 0 32px}
.mir-abschnitt h2[id]{scroll-margin-top:130px}
html body .mir-abschnitt h3{margin-top:28px}

/* Kopfbereich */
html body .entry-content > .wp-block-spectra-container.mir-hero.mir-hero.mir-hero{background:linear-gradient(135deg,#eef1f9 0%,#f7f5f2 100%);border-radius:15px;padding:44px 40px !important;margin-top:20px}
.mir-hero h1{margin-bottom:6px}
.mir-hero > p{max-width:820px;font-size:1.06rem}
ul.mir-sprung{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:none}
ul.mir-sprung li{margin:0;padding:0}
ul.mir-sprung li::before,ul.mir-sprung li::marker{content:none}
ul.mir-sprung a{display:flex;align-items:center;justify-content:space-between;gap:8px;height:100%;box-sizing:border-box;padding:14px 16px;background:#fff;border:1px solid #dcdfe6;border-top:3px solid #ff9103;border-radius:10px;color:#0c2c74;font-weight:600;line-height:1.3;text-decoration:none;box-shadow:0 2px 10px rgba(12,44,116,.06);transition:transform .15s,box-shadow .15s}
ul.mir-sprung a::after{content:"";flex:0 0 auto;width:8px;height:8px;border-right:2px solid #ff9103;border-bottom:2px solid #ff9103;transform:rotate(45deg) translateY(-3px)}
ul.mir-sprung a:hover,ul.mir-sprung a:focus-visible{transform:translateY(-2px);box-shadow:0 6px 16px rgba(12,44,116,.12);color:#011381}

/* Listen, Tabellen, Hinweise */
ol.mir-schritte{list-style:none;counter-reset:mir;padding:0;margin-left:0}
ol.mir-schritte li{counter-increment:mir;position:relative;padding:4px 0 4px 44px;margin:0 0 10px}
ol.mir-schritte li::before{content:counter(mir);position:absolute;left:0;top:2px;width:30px;height:30px;border-radius:50%;background:#0c2c74;color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center}
ul.mir-liste li{margin-bottom:8px}
figure.mir-tabelle{max-width:640px !important;margin:16px 0 20px}
figure.mir-tabelle table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dcdfe6;border-radius:12px;overflow:hidden;background:#fff;font-variant-numeric:tabular-nums}
figure.mir-tabelle th{background:#0c2c74;color:#fff;text-align:left;padding:10px 14px;border:0;font-weight:600}
figure.mir-tabelle td{padding:10px 14px;border:0;border-top:1px solid #e6e9f0}
figure.mir-tabelle td:last-child,figure.mir-tabelle th:last-child{text-align:right;white-space:nowrap}
figure.mir-tabelle tr:last-child td{background:#eef1f9;color:#0c2c74;border-top:2px solid #0c2c74}
p.mir-warnung{background:#fff4e5;border-left:4px solid #ff9103;border-radius:8px;padding:14px 18px;margin-top:20px}

/* FAQ */
html body .entry-content > .wp-block-spectra-container.mir-faq-bereich{margin-top:30px}
.mir-fragen.mir-fragen{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
.mir-frage.mir-frage{background:#fff;border:1px solid #dcdfe6;border-left:4px solid #0c2c74;border-radius:12px;padding:20px 22px;gap:8px !important}
.mir-frage h3{font-size:1.05rem;margin:0;color:#0c2c74;text-transform:none}
.mir-frage p{margin:0}

/* Hinweis und Kontakt */
p.mir-haftung{background:#f4f4f6;border-radius:10px;padding:12px 18px;font-size:.85rem;color:#5b5f6a;max-width:none}
.mir-cta.mir-cta{background:linear-gradient(135deg,#0c2c74,#011381);border-radius:15px;padding:36px 40px;color:#fff;margin-top:10px}
.mir-cta h2,.mir-cta p{color:#fff}
.mir-cta p{max-width:720px}

@media (max-width:1100px){ul.mir-sprung{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:921px){
 html body .entry-content > .wp-block-spectra-container.mir-hero.mir-hero.mir-hero{padding:30px 22px !important}
 .mir-fragen.mir-fragen{grid-template-columns:1fr}
}
@media (max-width:600px){
 ul.mir-sprung{grid-template-columns:1fr 1fr;gap:8px}
 ul.mir-sprung li:last-child{grid-column:1/-1}
 ul.mir-sprung a{padding:12px 12px;font-size:.92rem}
 html body .entry-content > .wp-block-group.mir-abschnitt{padding:28px 16px;margin-top:20px}
 html body .entry-content > .wp-block-group.mir-abschnitt.mir-grau{border-radius:0}
 .mir-cta.mir-cta{padding:26px 20px}
 figure.mir-tabelle td,figure.mir-tabelle th{padding:9px 10px;font-size:.92rem}
 figure.mir-tabelle td:last-child{white-space:normal}
}

/* mir- Korrekturen 1 */
ul.mir-sprung{display:flex;flex-wrap:wrap}
ul.mir-sprung li{flex:1 1 auto}
html body ul.mir-sprung a,html body ul.mir-sprung a:hover{text-decoration:none !important;hyphens:none;-webkit-hyphens:none;white-space:nowrap}
html body .mir-abschnitt ul.mir-liste{padding-left:1.3em}
figure.mir-tabelle{max-width:720px !important}
html body .mir-frage.mir-frage h3{margin:0 !important}
.mir-frage.mir-frage{justify-content:flex-start !important}
html body .mir-schluss p.mir-haftung{max-width:none !important;width:100%}
html body .entry-content > .wp-block-spectra-container.mir-schluss{margin-bottom:50px}
@media (max-width:600px){ul.mir-sprung li{flex:1 1 45%}html body ul.mir-sprung a{white-space:normal}}
html body .mir-hero ul.mir-sprung{max-width:none !important;width:100%}
html body ul.mir-sprung li{margin:0 !important}
html body .mir-hero ul.mir-sprung{margin:10px 0 0 !important;padding:0 !important}
@media (max-width:600px){html body .entry-content > .wp-block-group.mir-abschnitt{padding:28px 20px}}
/* mir- Runde 2 (UX) */
html body .entry-content > .wp-block-group.mir-abschnitt{padding:44px 40px}
html body .entry-content > .wp-block-spectra-container.mir-faq-bereich.mir-faq-bereich.mir-faq-bereich,html body .entry-content > .wp-block-spectra-container.mir-schluss.mir-schluss.mir-schluss{padding-left:40px !important;padding-right:40px !important}
.mir-hero h1{margin-bottom:12px}
html body .mir-abschnitt h3{margin:34px 0 10px}
ul.mir-sprung a:focus-visible,html body .mlr .mlr-btn:focus-visible{outline:3px solid #ff9103;outline-offset:2px}
.mir-frage.mir-frage{border-left-width:1px;box-shadow:inset 4px 0 0 #0c2c74}
figure.mir-tabelle tbody tr:nth-child(even):not(:last-child) td{background:#fafbfd}
html body .mir-schluss p.mir-haftung{margin-bottom:24px}
.mir-cta.mir-cta{box-shadow:0 10px 30px rgba(1,19,129,.18)}
@media (max-width:921px){
 html body .entry-content > .wp-block-group.mir-abschnitt{padding:30px 22px}
 html body .entry-content > .wp-block-spectra-container.mir-faq-bereich.mir-faq-bereich.mir-faq-bereich,html body .entry-content > .wp-block-spectra-container.mir-schluss.mir-schluss.mir-schluss{padding-left:22px !important;padding-right:22px !important}
 .mir-abschnitt h2[id]{scroll-margin-top:90px}
}
@media (max-width:600px){
 ul.mir-sprung li{flex:1 1 100%}
 ul.mir-sprung a{padding:11px 14px;min-height:44px}
 .mir-frage.mir-frage{padding:16px 18px}
}
@media (max-width:921px){html body .entry-content > .wp-block-group.mir-abschnitt{padding-left:20px;padding-right:20px}}
@media (min-width:922px){html body .entry-content > .wp-block-group.mir-abschnitt{padding-left:24px;padding-right:24px}}

/* ===== Gesamtpruefung 08.10.2026: Vereinheitlichung ===== */
/* 1. Beitraege: linke Textkante wie Seiten (Desktop 24 px Innenrand, Handy/Tablet Theme-Rand) */
@media (min-width:922px){html body.single-post .entry-content > .wp-block-group.mainland-abschnitt.mainland-abschnitt{padding-left:24px !important;padding-right:24px !important}}
@media (max-width:921px){html body.single-post .entry-content > .wp-block-group.mainland-abschnitt.mainland-abschnitt{padding-left:0 !important;padding-right:0 !important}}
/* 2. H1 einheitlich 36 px / Handy 26 px (Startseite ausgenommen) */
html body .entry-content h1.mainland-hero-h1{font-size:36px}
@media (max-width:767px){html body .entry-content h1.mainland-hero-h1{font-size:26px}}
/* 3. Karten-Ueberschriften (H3) einheitlich 18 px */
html body .entry-content :is(.mainland-weiter-karte,.msc-karte,.mst-ab,.mainland-bw-preiskarte) h3{font-size:18px}
/* 4. Farbige Bereiche: Aussenabstand 56 px (Handy 36 px) wie auf den Leistungsseiten */
html body.page .entry-content > .mainland-bereich.mainland-bereich.mainland-bereich{margin-top:56px !important;margin-bottom:56px !important}
html body .entry-content > .wp-block-group.mir-abschnitt.mir-grau{margin-top:56px;margin-bottom:56px}
@media (max-width:767px){html body.page .entry-content > .mainland-bereich.mainland-bereich.mainland-bereich{margin-top:36px !important;margin-bottom:36px !important}html body .entry-content > .wp-block-group.mir-abschnitt.mir-grau{margin-top:36px;margin-bottom:36px}}
/* 5. Referenz-Objekttitel als fetter Text statt H3 (SEO-Pruefung 08.10.2026) */
html body .entry-content .mainland-referenz > p.mainland-referenz-titel{margin:0 !important;font-size:20px;line-height:1.3;font-weight:600;color:var(--ast-global-color-1);text-transform:uppercase}
html body .entry-content .mainland-referenz > p.mainland-referenz-titel strong{font-weight:inherit}
@media (max-width:921px){html body .entry-content .mainland-referenz > p.mainland-referenz-titel{font-size:19px}}
@media (max-width:544px){html body .entry-content .mainland-referenz > p.mainland-referenz-titel{font-size:17.33px}}
html body .mst.mst-verk .mainland-referenz > p.mainland-referenz-titel{flex:0 0 100%;padding:0 16px !important;margin:0 !important;font-size:14.5px;line-height:1.4;font-weight:700;color:var(--b);text-transform:none}
@media (max-width:767px){html body .mst.mst-verk .mainland-referenz > p.mainland-referenz-titel{font-size:12.5px;padding:0 10px !important}}
/* 6. Blog-Uebersicht: Beitragstitel H2 statt H4, Optik unveraendert */
html body .entry-content .wp-block-query h2.wp-block-post-title{font-size:17px;line-height:1.5;font-weight:600;text-transform:none;margin:0 0 20px;color:var(--ast-global-color-1)}
/* 7. Karten-Titel als Text (Entruempelung VORHER/NACHHER) */
html body .entry-content .mainland-karte > p.mainland-karte-titel{margin:0;font-size:20px;line-height:1.3;font-weight:600;text-transform:uppercase;color:var(--ast-global-color-1)}
@media (max-width:921px){html body .entry-content .mainland-karte > p.mainland-karte-titel{font-size:19px}}
@media (max-width:544px){html body .entry-content .mainland-karte > p.mainland-karte-titel{font-size:17.33px}}
/* 8. Trustindex: Haekchen "verifiziert" je Bewertung ausblenden (Paragraf 5b Abs. 3 UWG, SEO-Pruefung 08.10.2026) */
html body .ti-widget .ti-verified-review,html body .ti-widget .ti-verified-tooltip{display:none !important}
/* 9. Handy-Kontaktleiste: Platz unten auf allen Seiten mit Leiste (bisher nur 8278) */
@media (max-width:767px){html body:has(.mainland-sticky-kontakt){padding-bottom:76px}}
/* 10. Hero-Buttons am Handy gleich hoch */
@media (max-width:767px){html body .entry-content .mainland-btnreihe > .wp-block-spectra-button{min-height:58px;line-height:1.2;justify-content:center;align-items:center;text-align:center}}
/* 11. Trustindex: Platz vor dem Laden reservieren (kein Springen) */
html body pre.ti-widget{display:block !important;height:256px;overflow:hidden;visibility:hidden;margin:0;padding:0;border:0;background:none}
@media (max-width:767px){html body pre.ti-widget{height:480px}}
/* 12. Orange Buttons: Schrift dunkelblau #0c2c74 (Kontrast ca. 5,7:1, Vorgabe Herr Erhard) */
html body .entry-content a.mainland-button-orange:not(:hover):not(:focus-visible),html body .entry-content .mainland-mv-button a:not(:hover):not(:focus-visible){color:#0c2c74 !important}
html body .entry-content a.mainland-button-orange.mainland-pfeil:not(:hover):not(:focus-visible)::after,html body .entry-content .mainland-mv-button a.mainland-pfeil:not(:hover):not(:focus-visible)::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20512%20512'%3E%3Cpath%20fill%3D'%230c2c74'%20d%3D'M504.3%20273.6l-112.1%20104c-6.992%206.484-17.18%208.218-25.94%204.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9%20288H32C14.33%20288%20.0002%20273.7%20.0002%20255.1S14.33%20224%2032%20224h319.9l0-72c0-9.547%205.66-18.19%2014.42-22c8.754-3.809%2018.95-2.075%2025.94%204.41l112.1%20104C514.6%20247.9%20514.6%20264.1%20504.3%20273.6z'%2F%3E%3C%2Fsvg%3E") !important}
html body .mlr .mlr-btn:not(.mlr-sec){color:#0c2c74}
/* 13. Trustindex an Marke angleichen */
html body .ti-widget .ti-rating,html body .ti-widget .ti-rating-text,html body .ti-widget .ti-header .ti-rating + *,html body .ti-widget .ti-name{color:#011381 !important}
html body .ti-widget .ti-review-content,html body .ti-widget .ti-review-text-container,html body .ti-widget .ti-read-more-active{color:#393939 !important}
html body .ti-widget .ti-review-item > .ti-inner{border-color:#dcdfe6 !important}
/* 14. Autorzeile buendig mit der Textkante (Seiten und Beitraege) */
html body .entry-content .mainland-autor.mainland-autor{padding-left:0 !important;padding-right:0 !important}
@media (max-width:921px){html body.single-post .entry-content > .mainland-autor-abschnitt.mainland-autor-abschnitt{padding-left:0 !important;padding-right:0 !important}}
html body.page .entry-content > .wp-block-group.mir-abschnitt.mir-grau.mir-grau{margin-top:56px !important;margin-bottom:56px !important}
@media (max-width:767px){html body.page .entry-content > .wp-block-group.mir-abschnitt.mir-grau.mir-grau{margin-top:36px !important;margin-bottom:36px !important}}
/* 15. Bewertungshinweis ueberall wie auf der Startseite (Kasten, oranger Rand links, zweizeilig) */
html body .entry-content p.mainland-bewertungshinweis.mainland-bewertungshinweis{max-width:none;margin-left:0;margin-right:0;text-align:left;font-size:13.5px;line-height:1.6;color:#5b5f6a;background:#f7f8fb;padding:14px 20px;border-radius:10px;border-left:3px solid var(--mainland-farbe-orange,#ff9103)}
html body .entry-content p.mainland-bewertungshinweis strong{color:#393939;font-size:inherit}
/* 16. Suchkartei (8281) an farbige Flaechen angleichen: gleiche Breite, Innenrand, Rundung */
html body .entry-content > .wp-block-spectra-container.mainland-suchkartei.mainland-suchkartei{max-width:1200px !important;width:100%;padding-left:24px !important;padding-right:24px !important;border-radius:20px}
@media (max-width:767px){html body .entry-content > .wp-block-spectra-container.mainland-suchkartei.mainland-suchkartei{margin-left:0 !important;margin-right:0 !important;padding-left:20px !important;padding-right:20px !important;border-radius:14px}}
/* 17. Dachzeilen ohne Strich davor (wie auf den Unterseiten), Startseite angeglichen */
html body .mst .mst-kicker::before{content:none !important;display:none !important}
html body .mst .mst-kicker{padding-left:0 !important;gap:0 !important}
/* 18. Beitragsnavigation (Astra-Hook 1001975): vorheriger / naechster Beitrag, Alle Beitraege */
html body .mainland-beitragsnavigation{box-sizing:border-box;max-width:1200px;margin:0 auto 80px;padding:32px 24px 0;border-top:1px solid #dcdfe6;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:stretch}
html body .mainland-beitragsnavigation .wp-block-post-navigation-link{position:relative;margin:0;display:flex;align-items:center;gap:12px;background:#f4f4f6;border-radius:12px;padding:16px 20px;color:var(--mainland-farbe-orange,#ff9103);font-size:20px}
html body .mainland-beitragsnavigation .post-navigation-link-next{justify-content:flex-end;text-align:right}
html body .mainland-beitragsnavigation .wp-block-post-navigation-link a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:#011381}
html body .mainland-beitragsnavigation .wp-block-post-navigation-link a::after{content:"";position:absolute;inset:0;border-radius:12px}
html body .mainland-beitragsnavigation .post-navigation-link__label{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5b5f6a}
html body .mainland-beitragsnavigation .post-navigation-link__title{font-size:16px;font-weight:600;line-height:1.35}
html body .mainland-beitragsnavigation .wp-block-post-navigation-link:hover{background:#eef1f9}
html body .mainland-beitragsnavigation .mainland-bn-uebersicht{margin:0;align-self:center}
html body .mainland-beitragsnavigation .mainland-bn-uebersicht a{display:inline-block;padding:10px 18px;border:1px solid #dcdfe6;border-radius:10px;font-weight:600;color:#011381;text-decoration:none;white-space:nowrap}
html body .mainland-beitragsnavigation .mainland-bn-uebersicht a:hover{border-color:#011381}
html body .mainland-beitragsnavigation :is(a):focus-visible{outline:3px solid #ff9103;outline-offset:2px}
@media (max-width:767px){html body .mainland-beitragsnavigation{grid-template-columns:1fr;padding:28px 20px 0;margin-bottom:60px}html body .mainland-beitragsnavigation .mainland-bn-uebersicht{order:3;justify-self:center}html body .mainland-beitragsnavigation .post-navigation-link-next{justify-content:space-between;text-align:left}}
/* 18b. Beitragsnavigation steht ueber der Autorzeile, Autorzeile ganz unten (Wunsch Herr Erhard) */
html body.single-post .entry-content{display:flex;flex-direction:column}
html body.single-post .entry-content > .astra-advanced-hook-1001975{order:2}
html body.single-post .entry-content > .mainland-autor-abschnitt{order:3}
html body .mainland-beitragsnavigation{margin-bottom:0}
html body.single-post .entry-content > .astra-advanced-hook-1001975{width:100%;min-width:0}
html body .mainland-beitragsnavigation{width:100%;margin-top:40px}
@media (max-width:767px){html body .mainland-beitragsnavigation{grid-template-columns:minmax(0,1fr);padding-left:0;padding-right:0}html body .mainland-beitragsnavigation .wp-block-post-navigation-link{min-width:0}}
@media (min-width:768px){html body .mainland-beitragsnavigation.mainland-beitragsnavigation{max-width:1152px !important;padding-left:0 !important;padding-right:0 !important;margin-left:auto !important;margin-right:auto !important}}
/* 19. Dachzeile ueberall wie auf der Startseite: klein, fett, Grossbuchstaben, gesperrt, ohne Strich */
html body .entry-content p.mainland-dachzeile,html body .mlisc-kicker{font-size:13.5px !important;font-weight:700 !important;text-transform:uppercase !important;letter-spacing:.08em !important;line-height:1.5;color:var(--mainland-farbe-orange,#ff9103)}
/* 20. Startseite Ablauf: Nummernkreis mit duennem weissem Ring statt dunkelblauem */
html body .mst .mst-ab::before{box-shadow:0 0 0 2px rgba(255,255,255,.65) !important}
/* 21. Video in Beitraegen halb so gross (Klasse mainland-video-schmal am Einbettungs-Block), max. 600 px, mittig */
html body .wp-block-embed.mainland-video-schmal{max-width:600px;margin-left:auto !important;margin-right:auto !important;width:100%}
/* 22. KASTEN ZU KASTEN einheitlich (Entscheidung Herr Erhard 09.10.2026): zwei Kaesten/farbige Bereiche direkt untereinander = 40 px, Handy 32 px. Variablen --mainland-abstand-kasten / -handy */
:root{--mainland-abstand-kasten:40px;--mainland-abstand-kasten-handy:32px}
html body .entry-content .mainland-text.mainland-text > .mainland-box:not(#mlx) + .mainland-box{margin-top:var(--mainland-abstand-kasten) !important}
html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx):has(+ :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau), + style + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau)){margin-bottom:var(--mainland-abstand-kasten) !important}
html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx) + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau), html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx) + style + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau){margin-top:var(--mainland-abstand-kasten) !important}
@media (max-width:767px){
html body .entry-content .mainland-text.mainland-text > .mainland-box:not(#mlx) + .mainland-box{margin-top:var(--mainland-abstand-kasten-handy) !important}
html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx):has(+ :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau), + style + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau)){margin-bottom:var(--mainland-abstand-kasten-handy) !important}
html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx) + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau), html body .entry-content > :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau):not(#mlx) + style + :is(.mainland-bereich,[class*="mainland-flaeche-"],.mainland-cta-band,.mainland-video-kasten,.mir-grau){margin-top:var(--mainland-abstand-kasten-handy) !important}
}
/* 23. Hausseite Lebenssituationen: 6. Karte als Handlungsaufruf (mainland-situation-cta), Raster dann 3 + 3 (Tablet 2 + 2 + 2, Handy 1) */
html body .mainland-situationen:has(> .mainland-situation-cta) > .mainland-situation-karte:nth-child(4){grid-column:span 2}
html body .mainland-situationen > .wp-block-group.mainland-situation-karte.mainland-situation-cta{background:var(--mainland-farbe-logo-blau,#0c2c74);border-color:var(--mainland-farbe-logo-blau,#0c2c74);border-top-color:var(--mainland-farbe-orange,#ff9103);color:#fff;justify-content:center}

html body .mainland-situation-cta > p{color:#fff}
html body .mainland-situation-cta > p.mainland-situation-titel{font-family:var(--mainland-schrift,"Open Sans",sans-serif);font-size:18px;font-weight:600;text-transform:uppercase;line-height:1.35;color:#fff}
html body .mainland-situation-cta > p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
html body .mainland-situation-cta > p a:hover{color:var(--mainland-farbe-orange,#ff9103)}
html body .mainland-situation-cta > .wp-block-spectra-buttons{margin-top:8px !important}
@media (max-width:976px){html body .mainland-situationen:has(> .mainland-situation-cta) > .mainland-situation-karte:nth-child(4),html body .mainland-situationen:has(> .mainland-situation-cta) > .mainland-situation-karte:nth-child(5){grid-column:auto}}
@media (max-width:767px){html body .wp-block-group.mainland-situationen{grid-auto-rows:auto}}

/* #24 FOOTER TABLET ZWEISPALTIG (09.10.2026) */
@media (min-width:545px) and (max-width:921px){html body .site-primary-footer-wrap .ast-builder-grid-row{grid-template-columns:1fr 1fr !important;column-gap:40px;row-gap:40px}}

/* #25 OPEN SANS FRUEH DEFINIEREN (10.10.2026): gleiche @font-face wie Astra lokal (latin, latin-ext, 400/600). Grund: Astra-Schrift-CSS steckt in der asynchron geladenen LiteSpeed-Datei, Text wird sonst spaet neu gezeichnet (LCP). */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(/wp-content/astra-local-fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(/wp-content/astra-local-fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(/wp-content/astra-local-fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(/wp-content/astra-local-fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* #26 STARTSEITE ABLAUF: gestrichelte Linie verbindet genau die Mitten der Nummernkreise 1-3 (13.10.2026). Kreis-Mitte = Rahmen 1 + Innenabstand 28 + Kreis 28 px; Rasterabstand 24 px */
html body .mst .mst-ablauf::before{left:57px;right:calc((100% - 48px) / 3 - 57px)}

/* #27 FAQ ALS DETAILS-BLOCK (13.10.2026): gleiche Optik wie das bisherige Spectra-Akkordeon. Aufbau: Gruppe "mainland-faq mainland-faq-liste" > Details-Bloecke. Kein Skript noetig. */
html body .mainland-faq-liste{display:flex;flex-direction:column;gap:12px}
html body .mainland-faq-liste > .wp-block-details{margin:0;background:#f4f4f6;border-radius:12px;border-left:4px solid transparent;color:#393939;overflow:hidden}
html body .mainland-faq-liste > .wp-block-details[open]{background:#eef1f9;border-left-color:#ff9103}
html body .mainland-faq-liste > .wp-block-details > summary{list-style:none;display:flex;align-items:flex-start;gap:14px;padding:16px 20px;color:#011381;font-weight:600;line-height:1.45;cursor:pointer}
html body .mainland-faq-liste > .wp-block-details > summary::-webkit-details-marker{display:none}
html body .mainland-faq-liste > .wp-block-details > summary::before{content:"+";flex:0 0 12px;width:12px;color:#ff9103;font-weight:700;font-size:1.25em;line-height:1.1;text-align:center}
html body .mainland-faq-liste > .wp-block-details[open] > summary::before{content:"\2212"}
html body .mainland-faq-liste > .wp-block-details > summary:focus-visible{outline:2px solid #ff9103;outline-offset:-2px;border-radius:12px}
html body .mainland-faq-liste > .wp-block-details > :not(summary){margin:0;padding:0 20px 0 50px}

html body .mainland-faq-liste > .wp-block-details > :last-child:not(summary){padding-bottom:18px}

/* #28 FAQ-DETAILS: Abstaende wie beim bisherigen Akkordeon (Regeln mit .wp-block-spectra-accordion fuer .mainland-faq-liste uebernommen) + Handy-Innenabstand + Hover (13.10.2026) */
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h2{margin-top: 40px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h3{margin-top: 20px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h4{margin-top: 12px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .mainland-faq-liste){margin-top: 20px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .mainland-faq-liste) + :is(p, ul, ol){margin-top: 20px !important;}
@media (max-width: 767px){html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h2{margin-top: 30px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h3{margin-top: 12px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol, figure, .wp-block-table, .wp-block-group, .wp-block-spectra-container, .wp-block-spectra-buttons, .mainland-faq-liste, .wp-block-html, .wp-block-embed) + h4{margin-top: 8px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(p:not(.mainland-dachzeile), ul, ol) + :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .mainland-faq-liste){margin-top: 12px !important;}
html body.page:not(.page-id-33070) .entry-content :is(.wp-block-group, .wp-block-spectra-container).mainland-text.mainland-text > :is(.wp-block-spectra-buttons, .wp-block-buttons, figure, .wp-block-image, .wp-block-table, .wp-block-embed, .mainland-box, .mainland-kacheln, .mainland-kacheln-3, .mainland-zweispaltig, .mainland-zweidrittel, .mainland-faq-liste) + :is(p, ul, ol){margin-top: 12px !important;}}
html body .mainland-faq-liste > .wp-block-details:not([open]) > summary:hover{background-color:#e9ecf5}
@media (max-width:767px){html body .mainland-faq-liste > .wp-block-details > summary{padding:14px 16px;gap:12px}html body .mainland-faq-liste > .wp-block-details > :not(summary){padding:0 16px}html body .mainland-faq-liste > .wp-block-details > :last-child:not(summary){padding-bottom:16px}}

/* #29 REFERENZ-GALERIE CARSTEN ERHARD: letzte Reihe nicht auf volle Breite ziehen, sondern gleich gross und mittig (17.10.2026) */
html body .wp-block-gallery.mainland-ce-referenzen{justify-content:center}
html body .wp-block-gallery.mainland-ce-referenzen > figure.wp-block-image{flex-grow:0 !important}

/* #30 WEG-RATGEBER: Texttabellen, Inhaltsliste, Kurz-gesagt-Kasten, Hinweis orange, Warnliste, PDF-Titelbild im Hero (19.10.2026) */
html body .wp-block-table.mainland-text-tabelle{max-width:936px;width:100%;margin:0 !important}
html body .mainland-text-tabelle table{border-collapse:collapse;width:100%;border:0}
html body .mainland-text-tabelle table.has-fixed-layout{table-layout:fixed}
html body .mainland-text-tabelle :is(th,td){padding:12px 14px;line-height:1.55;border:0;border-bottom:1px solid #dcdfe6;text-align:left;vertical-align:top;overflow-wrap:break-word;hyphens:auto}
html body .mainland-text-tabelle th{background:#0c2c74;color:#fff;font-weight:700}
html body .mainland-text-tabelle tbody tr:nth-child(even) td{background:#f4f4f6}
html body .mainland-text-tabelle td:first-child{font-weight:600;color:#0c2c74}
html body .mainland-text-tabelle th:first-child{width:30%}
html body .mainland-text-tabelle.mainland-tt-3 th:first-child{width:22%}
@media (max-width:600px){html body .mainland-text-tabelle :is(table,tbody,tr,td){display:block;width:100% !important}html body .mainland-text-tabelle thead{display:none}html body .mainland-text-tabelle tr{border-bottom:1px solid #dcdfe6;padding:12px 14px}html body .mainland-text-tabelle tbody tr:nth-child(even){background:#f4f4f6}html body .mainland-text-tabelle tbody tr:nth-child(even) td{background:transparent}html body .mainland-text-tabelle td{border:0;padding:0 0 4px}html body .mainland-text-tabelle td:first-child{padding-bottom:6px}html body .mainland-tt-3 td:nth-child(2)::before{content:"Typische Beispiele: ";font-weight:600}html body .mainland-tt-3 td:nth-child(3){padding-top:6px}html body .mainland-tt-3 td:nth-child(3)::before{content:"Bedeutung: ";font-weight:600}}
html body ol.mainland-inhaltsliste{columns:2;column-gap:48px;padding-left:26px;margin:0}
html body ol.mainland-inhaltsliste > li{break-inside:avoid;margin:0 0 8px}
@media (max-width:767px){html body ol.mainland-inhaltsliste{columns:1}}
html body .mainland-box.mainland-kurz-gesagt{padding:24px 28px}
@media (max-width:767px){html body .mainland-box.mainland-kurz-gesagt{padding:20px 18px}}
html body :is(.wp-block-spectra-container,.wp-block-group).mainland-hinweis.mainland-hinweis-orange{border-left-color:#ff9103}
html body :is(.wp-block-spectra-container,.wp-block-group).mainland-hinweis > p + p.mainland-quelle{margin-top:8px}
html body ul.mainland-warnliste{list-style:none;padding-left:0;margin:0}
html body ul.mainland-warnliste > li{position:relative;padding-left:34px;margin:0 0 12px}
html body ul.mainland-warnliste > li::before{content:"!";position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:#ff9103;color:#0c2c74;font-weight:700;font-size:14px;line-height:22px;text-align:center}
html body .wp-block-group.mainland-hero-bild.mainland-hero-bild-cover{align-items:center}
html body .mainland-hero-bild .mainland-hero-cover img{aspect-ratio:auto !important;object-fit:contain !important;width:300px !important;max-width:100%;border-radius:8px !important;box-shadow:0 12px 32px rgba(12,44,116,.18)}
@media (max-width:767px){html body .mainland-hero-bild .mainland-hero-cover img{width:220px !important}}
html body .entry-content .mainland-astra-abschnitt :is(h2,h3)[id]{scroll-margin-top:140px}
html body .mainland-text > .mainland-box + .mainland-hinweis{margin-top:20px !important}
@media (max-width:767px){html body .mainland-text > .mainland-box + .mainland-hinweis{margin-top:12px !important}}

/* #31 BLOG-UEBERSICHT 29029: Ratgeber-Kacheln vom Beitrags-Raster absetzen (19.10.2026) */
html body .wp-block-group.mainland-weiter.mainland-blog-ratgeber{margin-top:4px;margin-bottom:40px}
@media (max-width:767px){html body .wp-block-group.mainland-weiter.mainland-blog-ratgeber{margin-bottom:32px}}

/* #32 MEGA-MENUE RATGEBER: zwei Spalten wie Verkaufen, ohne Teaser (19.10.2026) */
@media (min-width:922px){
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu{grid-template-columns:1fr 1fr !important;grid-template-rows:auto auto auto auto auto}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu::before{content:"Selbst pr\00FC fen"}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu::after{content:"Ratgeber-Themen"}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(1){grid-column:1;grid-row:2}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(2){grid-column:1;grid-row:3}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(3){grid-column:1;grid-row:4}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(4){grid-column:2;grid-row:2}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(5){grid-column:2;grid-row:3}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(6){grid-column:2;grid-row:4}
html body #ast-hf-menu-1 > li.mhd-mega.mhd-mega-rg > .sub-menu > li:nth-child(7){grid-column:2;grid-row:5}
}

/* #33 IMMOBILIENMARKT 6100: fuenf Kurzfakten (Desktop 3+2, Tablet 2+2+1), Tabelle Marktbeobachtung linksbuendig (19.10.2026) */

html body .mainland-daten-tabelle.mainland-dt-links :is(th,td):last-child{text-align:left;font-variant-numeric:normal}
html body .mainland-daten-tabelle.mainland-dt-links :is(th,td):nth-child(2){text-align:right;font-variant-numeric:tabular-nums}

html body .mainland-dt-links th:nth-child(1){width:42%}
html body .mainland-dt-links th:nth-child(2){width:14%}
@media (max-width:600px){html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) :is(table,tbody,tr,td){display:block;width:100% !important;min-width:0 !important}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) thead{display:none}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) tr{padding:12px 14px;border-bottom:1px solid #dcdfe6}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) tbody tr:nth-child(even){background:#f4f4f6}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) tbody tr:nth-child(even) td{background:transparent}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) td{border:0 !important;padding:0 0 4px !important;text-align:left !important;font-size:15.5px !important}html body .mainland-daten-tabelle:is(.mainland-dt-links,.mainland-mk-kaufpreise) td:first-child{font-weight:600;color:#0c2c74;padding-bottom:6px !important}html body .mainland-dt-links td:nth-child(2)::before{content:"Verk\00E4 ufe: ";font-weight:600}html body .mainland-dt-links td:nth-child(3)::before{content:"Vermarktungszeit: ";font-weight:600}}
