/*
Theme Name: Salient Child Theme
Description: Child Theme für Salient
Author: ZIAN design
Template: salient
Version: 1.0
*/


/* =========================================================
   Mobiles Off-Canvas-Menü (Fullscreen Split)
   Klassen im Menü: ocm-btn ocm-btn-filled / ocm-btn ocm-btn-outline
   ========================================================= */

@media only screen and (max-width: 999px) {
body #header-outer .slide-out-widget-area-toggle a.open:before { background-color: #d5c4ab !important; }
    body #header-outer .slide-out-widget-area-toggle a.open .lines:before, body #header-outer .slide-out-widget-area-toggle a.open .lines:after { background-color: #184066 !important; }
    
  #top nav > ul > .button_bordered > a:before, #header-outer:not(.transparent) #top .slide-out-widget-area-toggle .close-line, body.material #header-outer .slide-out-widget-area-toggle[data-custom-color="true"] a .close-line{
      background-color: #184066 !important; 
    }
    
    .pz-eyebrow-h1, .pz-eyebrow-h1 p { font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
  /* ----- Rand links/rechts: hier anpassen, damit es zur Logo-Kante passt ----- */
  html body #slide-out-widget-area.fullscreen-split {
    --ocm-rand: 25px;
  }

  /* ----- Header, wenn das Menü offen ist ----- */
  body:has(#slide-out-widget-area.open) #header-outer,
  body:has(.slide-out-widget-area-toggle a.open) #header-outer {
    background-color: #184066;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  body:has(#slide-out-widget-area.open) #header-outer #logo,
  body:has(.slide-out-widget-area-toggle a.open) #header-outer #logo {
    background: url("/wp-content/uploads/2026/11/Logo-Petschko-weiss.png") no-repeat left center / contain;
  }
  body:has(#slide-out-widget-area.open) #header-outer #logo img.stnd,
  body:has(.slide-out-widget-area-toggle a.open) #header-outer #logo img.stnd {
    opacity: 0;
  }

  /* ----- Schließen-Link im Menü: aus dem Flex-Fluss nehmen ----- */
  html body #slide-out-widget-area.fullscreen-split .inner > .slide_out_area_close {
    position: absolute !important;
  }

  /* ----- Breite: Salient-Container zurücksetzen ----- */
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner .container.normal-container {
    left: 0 !important;
    right: auto !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
    box-sizing: border-box;
  }
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner .container.normal-container:before,
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner .container.normal-container:after {
    display: none !important;
  }
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner .container.normal-container .left-side {
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
    box-sizing: border-box;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu {
    margin: 0 !important;
    padding: 0 !important;
  }
  html body #slide-out-widget-area.fullscreen-split .right-side {
    display: none !important;
  }

  /* ----- Menü oben statt mittig ----- */
  html body #slide-out-widget-area.fullscreen-split .inner-wrap .inner {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
  }

  /* ----- Hauptpunkte: 20px + 28px Text + 20px = 68px Zeile ----- */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li {
    position: relative;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li > a {
    display: block;
    padding: 0 40px 0 0;
    line-height: 28px !important; /* Salient erzwingt Zeilenhöhe */
  }

  /* ----- Pfeil: Kasten auf Höhe der Textzeile ----- */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li > .ocm-dropdown-arrow {
    top: 20px !important;
    right: 0 !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  /* Icon selbst: nur leicht nach oben */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li > .ocm-dropdown-arrow i {
    top: 11px !important;
  }
html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.open-submenu > .ocm-dropdown-arrow i {
  top: -13px !important;
}
  /* ----- Kein Unterstreichen beim Hover ----- */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu li a,
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu li a:hover,
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu li a:focus {
    text-decoration: none;
    border-bottom: 0;
    background-image: none;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu li a:before,
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu li a:after {
    display: none;
  }

  /* ----- Unterpunkte (Abstand nur sichtbar, wenn aufgeklappt) ----- */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu .sub-menu {
    margin: 0;
    padding: 0;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu .sub-menu li {
    margin: 0;
    padding: 0;
    border: 0;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu .sub-menu li a {
    display: block;
    padding: 7px 0 7px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #d5c4ab;
    -webkit-text-fill-color: #d5c4ab;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu .sub-menu li:first-child a {
    padding-top: 19px;
  }

  /* ----- Buttons: Pille auf dem li ----- */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn {
    padding: 0;
    border: 0;
    border-radius: 50px;
    overflow: hidden;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    text-align: center;
    font-weight: 700;
    line-height: 18px !important;
    font-size: 15px !important; /* Salient erzwingt Größe, nur hier nötig */
  }

  /* Gefüllt: Bewertung, Text in Navy */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn-filled {
    margin-top: 26px;
    background-color: #d5c4ab;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn-filled > a {
    color: #184066 !important; /* Salient erzwingt Farbe, nur hier nötig */
    -webkit-text-fill-color: #184066 !important;
  }

  /* Outline: Telefon, weißer Rahmen */
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn-outline {
    margin-top: 12px;
    background-color: transparent;
    box-shadow: inset 0 0 0 2px #fff;
  }
  html body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container ul.menu > li.ocm-btn-outline > a {
    color: #fff !important; /* Salient erzwingt Farbe, nur hier nötig */
    -webkit-text-fill-color: #fff;
  }
}




/* Petschko: Blog-Karten wie im Entwurf
   Gilt für die Seite „Aktuelles“ (Blog, Masonry „Classic Enhanced“) und die Startseite (Recent Posts, Stil „Classic Enhanced“) */
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .inner-wrap { position: relative; display: flex !important; flex-direction: column; height: 100%; border-radius: 12px !important; overflow: hidden; background: #fff !important; box-shadow: none !important; transition: transform .25s ease, box-shadow .25s ease; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col):hover .inner-wrap { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(24, 64, 102, .12) !important; }

/* Raster: Salient-Masonry durch ein festes 3er-Raster ersetzen, damit die Karten die volle Breite nutzen und mittig sitzen */
.masonry.classic_enhanced .posts-container { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; height: auto !important; }
.masonry.classic_enhanced .posts-container > .masonry-blog-item { position: relative !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; transform: none !important; }
.masonry.classic_enhanced .masonry-blog-item .post-content { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.masonry.classic_enhanced .masonry-blog-item .content-inner { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.masonry.classic_enhanced .masonry-blog-item .article-content-wrap { height: auto !important; }
@media (max-width: 999px) { .masonry.classic_enhanced .posts-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 690px) { .masonry.classic_enhanced .posts-container { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Bild: einheitliches Querformat, randlos */
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .post-featured-img { display: block; aspect-ratio: 1.65; overflow: hidden; margin: 0 !important; border-radius: 0 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .post-featured-img img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .5s ease; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col):hover .post-featured-img img { transform: scale(1.04); }

/* Ausblenden: Kategorie-Badge, Datum, Autor-Icon, Love-Button */
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .meta-category,
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .post-header > span,
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .post-meta { display: none !important; }

/* Textbereich */
.masonry.classic_enhanced .masonry-blog-item .content-inner { padding: 0 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .article-content-wrap { flex: 1 1 auto; display: flex !important; flex-direction: column; align-items: flex-start; padding: 26px 22px 24px !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .post-header { margin: 0 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) h3.title { margin: 0 0 12px !important; font-size: 28px !important; line-height: 1.2 !important; letter-spacing: -0.04em !important; color: #184066 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) h3.title a { color: #184066 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .excerpt { margin: 0 !important; padding: 0 !important; font-size: 15px !important; line-height: 1.45 !important; color: #184066 !important; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .excerpt { margin-bottom: 18px !important; }

/* Button „Mehr erfahren“ */
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) .article-content-wrap::after { content: "Mehr erfahren"; display: inline-block; margin-top: auto; padding: 12px 34px; border-radius: 999px; background: #184066; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; transition: background .2s ease; }
:is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col):hover .article-content-wrap::after { background: #0f2b47; }

@media (max-width: 690px) {
  :is(.masonry.classic_enhanced .masonry-blog-item, .blog-recent[data-style="classic_enhanced"] > .col) h3.title { font-size: 24px !important; }
}

/* Ähnliche Beiträge: kein grauer Hintergrund (Salient legt dort einen leichten Grauschleier über die Fläche) */
.related-post-wrap .row-bg { background: transparent !important; }

/* Ähnliche Beiträge: deutsche Überschrift in Navy statt „Similar Posts“ */
.related-post-wrap .related-title { position: relative; visibility: hidden; margin-bottom: 28px !important; font-size: 44px !important; line-height: 1.1 !important; letter-spacing: -0.035em; }
.related-post-wrap .related-title::after { content: "Ähnliche Beiträge"; position: absolute; bottom: 0; left: 0; white-space: nowrap; visibility: visible; color: #184066; }
@media (max-width: 690px) { .related-post-wrap .related-title { font-size: 32px !important; } }



/* ===== Petschko: einheitliches Aussehen für ALLE Formulare (Contact Form 7) ===== */

/* Abstände: Contact Form 7 setzt automatisch Absätze und Zeilenumbrüche, die stören */
.wpcf7-form p { margin: 0 0 16px !important; padding: 0 !important; }
.wpcf7-form br { display: none; }
.wpcf7-form .pi-form-raster > p, .wpcf7-form .pi-form-anliegen > p, .wpcf7-form .pi-form-nachricht > p { display: contents; }

/* Optionale Bereiche im Formular-Aufbau */
.wpcf7-form .pi-form-anliegen { margin-bottom: 16px; }
.wpcf7-form .pi-form-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.wpcf7-form .pi-form-nachricht { margin-bottom: 16px; }

/* Beschriftungen */
.wpcf7-form label { display: block; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; color: #184066; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }

/* Eingabefelder, Auswahlfelder, Textfelder */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="number"], .wpcf7-form input[type="date"], .wpcf7-form input[type="url"], .wpcf7-form select, .wpcf7-form textarea { width: 100% !important; min-height: 44px; margin: 0 !important; padding: 10px 12px !important; border: 1.5px solid #c3ccd5 !important; border-radius: 6px !important; background-color: #fff !important; box-shadow: none !important; font-family: inherit; font-size: 15px !important; line-height: 1.4 !important; color: #1d1d1b !important; transition: border-color .2s ease; }
.wpcf7-form select { -webkit-appearance: none !important; appearance: none !important; padding-right: 40px !important; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23184066' stroke-width='1.8'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px !important; }
.wpcf7-form textarea { height: 130px !important; min-height: 130px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: #184066 !important; outline: none; }

/* Radio-Buttons und Checkboxen: native Felder in Navy */
.wpcf7-form .wpcf7-list-item { display: inline-flex; align-items: center; margin: 0 28px 8px 0 !important; padding: 0 !important; }
.wpcf7-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.wpcf7-form .wpcf7-list-item label::before, .wpcf7-form .wpcf7-list-item label::after, .wpcf7-form .wpcf7-list-item-label::before, .wpcf7-form .wpcf7-list-item-label::after { content: none !important; display: none !important; }
.wpcf7-form input[type="radio"], .wpcf7-form input[type="checkbox"] { position: static !important; display: inline-block !important; flex-shrink: 0; width: 18px !important; height: 18px !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important; -webkit-appearance: auto !important; appearance: auto !important; accent-color: #184066; cursor: pointer; }

/* Datenschutz-Häkchen */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0 0 18px !important; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item label { align-items: flex-start; font-size: 12px; font-weight: 400; line-height: 1.6; color: #1d1d1b; }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { margin-top: 2px !important; }
.wpcf7-form .wpcf7-acceptance a { color: #184066; text-decoration: underline; }

/* Absenden-Button */
.wpcf7-form input[type="submit"], .wpcf7-form .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 0 !important; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; background: #184066 !important; color: #fff !important; font-family: inherit; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; transition: background .2s ease; }
.wpcf7-form input[type="submit"]:hover, .wpcf7-form .wpcf7-submit:hover { background: #0f2b47 !important; }

/* Hinweise und Meldungen */
.wpcf7-form .pi-form-pflicht { display: block; margin-top: 12px; font-size: 12px; color: #4a4a48; }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; }
.wpcf7-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 10px 14px !important; border-radius: 6px; font-size: 13px; }
.wpcf7-form .wpcf7-spinner { margin: 0 0 0 12px; }

@media (max-width: 690px) {
  .wpcf7-form .pi-form-raster { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Kontaktseite: Buttons in den drei Karten ===== */
.pk-btn-zeile { margin: 22px 0 0 !important; }
a.pi-btn.pk-btn-linie { border: 2px solid #184066; color: #184066 !important; background: transparent; }
a.pi-btn.pk-btn-linie:hover { background: #184066; color: #fff !important; }

/* ===== Allgemeine Buttons: Größe, Abstände, Form (Farben kommen aus dem Theme) =====
   Gilt für Salient-Buttons (Element „Button“) und das Element „Call To Action“ als Button,
   also mit Hintergrund ODER mit Rahmen. Die Footer-Links (ohne Hintergrund und Rahmen) bleiben unverändert. */
a.nectar-button,
.nectar-cta:is([data-using-bg="true"], [class*="border_color_"]) .link_wrap,
a.pi-btn,
.wpcf7-form input[type="submit"] {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 26px !important;
  border-radius: 999px !important;
  font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: 0 !important; text-transform: none !important;
}
a.nectar-button span,
.nectar-cta:is([data-using-bg="true"], [class*="border_color_"]) .link_wrap :is(.link_text, .text) { padding: 0 !important; font-size: inherit !important; line-height: inherit !important; letter-spacing: 0 !important; text-transform: none !important; }
@media (max-width: 690px) {
  a.nectar-button, .nectar-cta:is([data-using-bg="true"], [class*="border_color_"]) .link_wrap, a.pi-btn { white-space: normal; text-align: center; }
}

/* ===== Seitenübergreifend: Pfeil oben rechts in Service-Karten, Buttons rechtsbündig ===== */
.pz-arr { position: relative; padding-right: 28px; }
.pz-arr::after { content: ""; position: absolute; right: 0; top: 0; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23184066' stroke-width='2'%3E%3Cpath d='M3 13 13 3M5 3h8v8'/%3E%3C/svg%3E") no-repeat center / contain; }
.pk-btn-zeile .pi-btn { margin: 0 10px 10px 0; }
.pk-rechts { text-align: right; }
@media (max-width: 999px) { .pk-rechts { text-align: left; } }

/* ===== Landingpage-Header (Global Section): Logo links, Frage und Telefon-Button rechts ===== */
.wpb_row:has(.pk-lp-frage) .wpb_column, .wpb_row:has(.pk-lp-frage) .wpb_text_column { margin-bottom: 0 !important; }
.wpb_column:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column .pk-lp-frage) > .vc_column-inner > .wpb_wrapper { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 22px; }
p.pk-lp-frage { margin: 0 !important; font-size: 15px; }
.wpb_row:has(.pk-lp-frage) .nectar-cta { margin: 0 !important; }
.wpb_row:has(.pk-lp-frage) .nectar-cta .link_text::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23184066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") no-repeat center / contain; }
/* Logo und Button exakt auf einer Höhe */
body :has(> .wpb_column + .wpb_column .pk-lp-frage) > .wpb_column > .vc_column-inner > .wpb_wrapper { display: flex; align-items: center; min-height: 100%; }
.wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap, .wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap .inner, .wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap .hover-wrap { margin: 0 !important; padding: 0 !important; line-height: 0 !important; }
.wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap img { display: block !important; margin: 0 !important; }
/* Tablet und Handy: Logo links und Telefon-Button rechts in einer Zeile */
@media (max-width: 999px) {
  body :has(> .wpb_column + .wpb_column .pk-lp-frage) { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 16px; }
  body :has(> .wpb_column + .wpb_column .pk-lp-frage) > .wpb_column { flex: 0 1 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; }
  body :has(> .wpb_column + .wpb_column .pk-lp-frage)::before, body :has(> .wpb_column + .wpb_column .pk-lp-frage)::after { display: none !important; }
  .wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap img { max-width: 150px !important; height: auto !important; }
  p.pk-lp-frage { display: none; }
}
@media (max-width: 480px) {
  .wpb_row:has(.pk-lp-frage) .img-with-aniamtion-wrap img { max-width: 120px !important; }
  .wpb_row:has(.pk-lp-frage) .nectar-cta .link_wrap { min-height: 40px; padding: 8px 14px !important; font-size: 13px !important; }
  .wpb_row:has(.pk-lp-frage) .nectar-cta .link_text::before { width: 14px; height: 14px; margin-right: 6px; }
}

/* ===== SEO-Landingpages „Immobilienmakler [Ort]“: gilt automatisch auf allen Landingpages ===== */

/* Häkchen-Zeilen etwas kräftiger */
body p.pk-chk { font-weight: 600; line-height: 1.9; }

/* Zwei Buttons nebeneinander (Hero) */
body .vc_col-sm-12:has(> .vc_column-inner > .wpb_wrapper > .nectar-cta + .nectar-cta) > .vc_column-inner > .wpb_wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body .vc_col-sm-12:has(> .vc_column-inner > .wpb_wrapper > .nectar-cta + .nectar-cta) .nectar-cta { margin: 0 !important; }

/* Bewertungs-Karte unten links über dem Teamfoto */
body .wpb_column:has(.pk-rating) > .vc_column-inner, body .wpb_column:has(.pk-rating) .wpb_wrapper { position: relative !important; }
body .wpb_column:has(.pk-rating) .wpb_text_column:has(.pk-rating) { position: absolute !important; left: -20px; bottom: -24px; z-index: 3; width: auto !important; margin: 0 !important; }
body div.pk-rating { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(24,64,102,.14); }
body div.pk-rating strong { font-size: 28px !important; font-weight: 800 !important; line-height: 1 !important; color: #184066; }
body .pk-rating-txt { display: flex; flex-direction: column; gap: 2px; font-size: 12px !important; line-height: 1.4 !important; }
body .pk-rating-txt span:first-child { font-size: 15px !important; letter-spacing: 2px; }
@media (max-width: 999px) { body .wpb_column:has(.pk-rating) .wpb_text_column:has(.pk-rating) { left: 12px; bottom: 12px; } }

/* Icons in den Vorteils-Karten */
body h3.pk-adv::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 10px; background: #184066 no-repeat center / 26px; }
body h3.pk-i1::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' 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 15h4M12 13v4'/%3E%3C/svg%3E"); }
body h3.pk-i2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3Cpath d='M8 7l1.5-3h5L16 7'/%3E%3C/svg%3E"); }
body h3.pk-i3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4h3l6 4V6l-6 4H4z'/%3E%3Cpath d='M17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); }
body h3.pk-i4::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
body h3.pk-i5::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5'/%3E%3Cpath d='M8.5 13 7 21l5-3 5 3-1.5-8'/%3E%3C/svg%3E"); }
body h3.pk-i6::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5c4ab' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l4-4 4 3 3-3 7 6'/%3E%3Cpath d='M7 15l3 3M11 14l3 3'/%3E%3Cpath d='M3 12l4 5'/%3E%3C/svg%3E"); }

/* Namenskarte im Team-Bereich: Name links, Button rechts */
body .wpb_column:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column .pk-namecard) > .vc_column-inner > .wpb_wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
body .wpb_text_column:has(.pk-namecard), body .wpb_text_column:has(.pk-namecard) h4 { margin: 0 !important; }
body .wpb_column:has(.pk-namecard) .nectar-cta { margin: 0 !important; }

/* FAQ als aufklappbare Karten */
body .pk-faqs { display: flex; flex-direction: column; gap: 10px; }
body .pk-faq { overflow: hidden; border-radius: 10px; background: #f7f6f3; transition: background .2s ease; }
body .pk-faq:hover, body .pk-faq[open] { background: #efede8; }
body .pk-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 24px; list-style: none; cursor: pointer; }
body .pk-faq summary::-webkit-details-marker { display: none; }
body .pk-faq summary h3 { flex: 1; margin: 0 !important; padding: 0 !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: -0.01em !important; color: #184066; }
body .pk-faq summary::after { content: "+"; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 2px solid #184066; border-radius: 50%; font-size: 20px; font-weight: 500; line-height: 1; color: #184066; transition: background .2s ease, color .2s ease, transform .3s ease; }
body .pk-faq[open] summary::after { content: "−"; background: #184066; color: #fff; }
body .pk-faq summary:hover::after { background: #184066; color: #fff; }
body .pk-faq p { max-width: 820px; margin: 0 !important; padding: 0 24px 22px !important; font-size: 15px; line-height: 1.7; }
@media (max-width: 690px) { body .pk-faq summary { padding: 16px 18px; } body .pk-faq summary h3 { font-size: 16px !important; } body .pk-faq p { padding: 0 18px 18px !important; } }

/* Kennzahlen-Leiste: Zahl groß und kräftig, Beschriftung klein in Großbuchstaben, kompakt */
body .pk-stat h2 { margin: 0 0 4px !important; padding: 0 !important; font-size: 38px !important; font-weight: 700 !important; line-height: 1.05 !important; letter-spacing: -0.035em !important; }
body .pk-stat h6 { margin: 0 !important; padding: 0 !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important; letter-spacing: .08em !important; text-transform: uppercase !important; }
body .wpb_row:has(.pk-stat) .wpb_column, body .wpb_row:has(.pk-stat) .wpb_text_column { margin-bottom: 0 !important; }
body .wpb_row:has(.pk-stat) .img-with-aniamtion-wrap img { max-height: 58px; width: auto !important; }
@media (max-width: 999px) { body .wpb_row:has(.pk-stat) .wpb_column { margin-bottom: 20px !important; } body .pk-stat h2 { font-size: 32px !important; } }
@media (min-width: 1000px) {
  body :has(> .wpb_column .pk-stat) { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; gap: 36px; }
  body :has(> .wpb_column .pk-stat) > .wpb_column { flex: 0 0 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; }
  body :has(> .wpb_column .pk-stat)::before, body :has(> .wpb_column .pk-stat)::after { display: none !important; }
}

/* Marktdaten-Karten auf Landingpages (Eyebrow, große Zahl, kleiner Text): etwas kompakter */
body:has(.pk-lp-frage) .wpb_column[data-has-bg-color="true"]:has(.wpb_text_column > h6 + h2 + p small) > .vc_column-inner { padding: 34px 32px !important; }
body:has(.pk-lp-frage) .wpb_text_column:has(> h6 + h2 + p small) h6 { margin: 0 0 10px !important; font-size: 13px !important; }
body:has(.pk-lp-frage) .wpb_text_column:has(> h6 + h2 + p small) h2 { margin: 0 0 8px !important; font-size: clamp(28px, 2.7vw, 40px) !important; line-height: 1.1 !important; letter-spacing: -0.03em !important; }
body:has(.pk-lp-frage) .wpb_text_column:has(> h6 + h2 + p small) p { margin: 0 !important; padding: 0 !important; font-size: 15px; line-height: 1.5; }
@media (max-width: 999px) {
  body:has(.pk-lp-frage) .wpb_column[data-has-bg-color="true"]:has(.wpb_text_column > h6 + h2 + p small) > .vc_column-inner { padding: 26px 24px !important; }
  body:has(.pk-lp-frage) .wpb_text_column:has(> h6 + h2 + p small) h2 { font-size: 30px !important; }
}

/* Vorteils-Karten: Größen wie im Entwurf */
body h3.pk-adv { margin: 0 0 8px !important; font-size: 21px !important; line-height: 1.2 !important; letter-spacing: -0.02em; }
body .wpb_text_column:has(.pk-adv) p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Nur auf Landingpages (erkennbar am Landingpage-Header): großen Header und normalen Footer ausblenden */
body:has(.pk-lp-frage) #header-outer, body:has(.pk-lp-frage) #header-space, body:has(.pk-lp-frage) #header-secondary-outer { display: none !important; }
body:has(.pk-lp-frage) #footer-outer, body:has(.pk-lp-frage) .nectar-global-section.before-footer, body:has(.pk-lp-frage) .nectar-global-section.after-footer { display: none !important; }
body:has(.pk-lp-frage) .container-wrap { padding-top: 0 !important; }

/* Landingpage-Footer: Inhalt bündig mit der Inhaltsbreite, Navy-Hintergrund über die volle Breite */
body .wpb_row:has(.pk-lp-adresse) .wpb_column, body .wpb_row:has(.pk-lp-adresse) .wpb_text_column { margin-bottom: 0 !important; }
body .wpb_row:has(.pk-lp-adresse):not(:has(.wpb_row .pk-lp-adresse)) { background: #184066; box-shadow: 0 0 0 100vmax #184066; clip-path: inset(0 -100vmax); padding-left: 0 !important; padding-right: 0 !important; }
body .wpb_row:has(.pk-lp-adresse):not(:has(.wpb_row .pk-lp-adresse)) > .row-bg-wrap { display: none !important; }
body .nectar-global-section:has(.pk-lp-adresse), body .nectar-global-section:has(.pk-lp-adresse) .container, body .wpb_row:has(.pk-lp-adresse) .vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; border-radius: 0 !important; }
body :has(> .wpb_column + .wpb_column .pk-lp-links) { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
body:has(.pk-lp-adresse) .container-wrap { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body p.pk-lp-adresse { margin: 0 !important; font-size: 15px; }
body p.pk-lp-links { margin: 0 !important; }
body p.pk-lp-links a { text-decoration: none; transition: opacity .2s ease; }
body p.pk-lp-links a:hover { opacity: .7; }
@media (max-width: 999px) { body p.pk-lp-links { text-align: left !important; margin-top: 10px !important; } }
/* Nach-oben-Button auf Landingpages über den Footer schieben, damit er nichts verdeckt */
body:has(.pk-lp-adresse) #to-top { bottom: 96px !important; }


/* =========================================================
   Lange Wörter in Überschriften (z. B. „Fingerspitzengefühl“)
   Auf Tablet und Handy automatisch sauber trennen statt über den Rand laufen
   ========================================================= */
@media only screen and (max-width: 999px) {
  body h1, body h2, body h3 {
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 4;
    hyphenate-limit-chars: 10 4 4;
    overflow-wrap: break-word;
  }
}
@media only screen and (max-width: 690px) {
  body h1:not(.pz-eyebrow-h1):not(.pz-eyebrow-h1 h1):not(.nectar-responsive-text h1) { font-size: clamp(34px, 10.5vw, 44px) !important; line-height: 1.08 !important; }
}
/* Eyebrow als H1 (z. B. Startseite „Petschko Immobilien, Ihr Makler in …“) bleibt klein, auch auf dem Handy.
   H1 im Salient-Element „Responsive Text“ behalten die Größe, die im Element eingestellt ist. */
@media only screen and (max-width: 999px) {
  body .nectar-responsive-text h1 { -webkit-hyphens: manual; hyphens: manual; }
  body h1.pz-eyebrow-h1, body .pz-eyebrow-h1 h1 { margin: 0 0 12px !important; font-size: 14px !important; line-height: 1.4 !important; font-weight: 500 !important; letter-spacing: .06em !important; text-transform: uppercase; -webkit-hyphens: manual; hyphens: manual; }
}