/*
Theme Name: WEB-MF Child
Theme URI: https://web-mf.de/
Author: WEB-MF
Author URI: https://web-mf.de/
Description: Child Theme für das individuelle WEB-MF WordPress Theme.
Template: webmf
Version: 1.4.0
Text Domain: webmf-child
*/
/* ============================================================
   WEB-MF Typografie – final
   H1-H6: Raleway | Rest: Montserrat
   ============================================================ */
@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/raleway-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/raleway-variable-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-variable-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

html, body,
button, input, select, textarea,
nav, .menu, .sub-menu,
.gform_wrapper {
  font-family: "Montserrat", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", Arial, sans-serif !important;
}


/* ============================================================
   WEB-MF Relaunch Startseite – Designbasis /webmf/
   Primary: #004225
   ============================================================ */

:root{
  --wm-green:#004225;
  --wm-green-hover:#00361e;
  --wm-green-soft:#eaf2ed;
  --wm-off:#f7f8f6;
  --wm-text:#121915;
  --wm-muted:#4d5751;
  --wm-border:rgba(0,66,37,.11);
  --wm-radius:15px;
  --wm-shadow:0 12px 34px rgba(0,66,37,.07);
}

.page article.webmf-page > .webmf-container.webmf-content > h1 {
  display: none !important;
}

.home #main-content,
.home main#main-content{
  margin-top:0!important;
  padding-top:0!important;
}

.home .webmf-r-hero-shell,
.home .webmf-r-hero-shell>.wpb_column,
.home .webmf-r-hero-shell>.wpb_column>.vc_column-inner,
.home .webmf-r-hero-shell .wpb_wrapper,
.home .webmf-r-hero-shell .wpb_content_element{
  margin-top:0!important;
  padding-top:0!important;
}
.home .webmf-r-hero-shell>.wpb_column>.vc_column-inner{padding-left:0!important;padding-right:0!important}
.home .webmf-r-hero-shell .wpb_content_element{margin-bottom:0!important}

.webmf-r-wrap{width:min(calc(100% - 44px),1280px);margin-inline:auto}

.webmf-r-hero{
  min-height:560px;
  position:relative;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.webmf-r-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 25%,rgba(255,255,255,.75) 41%,rgba(255,255,255,.16) 61%,rgba(255,255,255,0) 77%);
}
.webmf-r-hero-copy{
  position:relative;
  z-index:2;
  width:min(600px,100%);
  padding:66px 0 38px;
}
.webmf-r-kicker{
  color:var(--wm-green);
  font:800 .72rem/1 "Montserrat",Arial,sans-serif;
  letter-spacing:.2em;
  text-transform:uppercase;
  margin-bottom:15px;
}
.webmf-r-kicker-light{color:#cfe2d6}
.webmf-r-hero h1{
  margin:0 0 17px;
  color:var(--wm-text);
  font:800 clamp(3rem,4.9vw,4.9rem)/.94 "Raleway",Arial,sans-serif;
  letter-spacing:-.045em;
}
.webmf-r-hero h1 span{color:var(--wm-green)}
.webmf-r-lead{max-width:540px;color:#34413a;font-size:1.06rem;line-height:1.48;margin-bottom:25px}
.webmf-r-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:23px}
.webmf-r-btn{
  min-height:47px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 19px;
  border-radius:11px;
  font-weight:700;
  font-size:.92rem;
  transition:.2s ease;
}
.webmf-r-btn:hover{transform:translateY(-2px)}
.webmf-r-btn-primary{background:var(--wm-green);color:#fff!important;box-shadow:0 9px 24px rgba(0,66,37,.17)}
.webmf-r-btn-primary:hover{background:var(--wm-green-hover)}
.webmf-r-btn-secondary{background:#fff;color:var(--wm-green)!important;border:1px solid var(--wm-green)}
.webmf-r-usps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;max-width:610px}
.webmf-r-usps>div{display:flex;gap:9px;align-items:flex-start}
.webmf-r-usps span{
  width:25px;height:25px;border-radius:50%;background:var(--wm-green);color:#fff;
  display:flex;align-items:center;justify-content:center;flex:0 0 25px;font-size:.75rem
}
.webmf-r-usps small{font-size:.82rem;line-height:1.22;color:#29352e}

/* trust */
.webmf-r-trust{border-bottom:1px solid var(--wm-border)}
.webmf-r-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.webmf-r-trust-grid>div{padding:14px 22px;border-right:1px solid var(--wm-border)}
.webmf-r-trust-grid>div:last-child{border-right:0}
.webmf-r-trust-grid strong{display:block;color:var(--wm-green);font-family:"Montserrat",Arial,sans-serif;font-size:.95rem}
.webmf-r-trust-grid span{display:block;margin-top:2px;color:var(--wm-muted);font-size:.81rem;line-height:1.3}

/* sections */
.home .webmf-r-section{
  padding-left:max(22px,calc((100vw - 1280px)/2))!important;
  padding-right:max(22px,calc((100vw - 1280px)/2))!important;
  margin-left:0!important;margin-right:0!important
}
.home .webmf-r-section>.wpb_column{margin-left:0!important;margin-right:0!important}
.home .webmf-r-section .vc_column-inner{padding-left:12px;padding-right:12px}
.home .webmf-r-section .wpb_content_element{margin-bottom:0}
.webmf-r-section h2{
  margin:0;color:var(--wm-text);
  font:750 clamp(2.15rem,3.3vw,3.5rem)/.99 "Raleway",Arial,sans-serif;
  letter-spacing:-.035em
}
.webmf-r-section-intro{max-width:420px;margin-top:13px;color:var(--wm-muted);font-size:1.02rem;line-height:1.48}

/* projects */
.webmf-r-project-top{display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;gap:14px}
.webmf-r-project-top p{max-width:400px;color:var(--wm-muted);margin:4px 0 0;text-align:right}
.webmf-r-project-card{
  height:100%;overflow:hidden;border:1px solid var(--wm-border);border-radius:var(--wm-radius);
  background:#fff;box-shadow:var(--wm-shadow)
}
.webmf-r-project-image{display:block;overflow:hidden}
.webmf-r-project-image img{display:block;width:100%;aspect-ratio:1.7;object-fit:cover;transition:.3s}
.webmf-r-project-card:hover .webmf-r-project-image img{transform:scale(1.025)}
.webmf-r-project-content{position:relative;padding:15px 18px 48px}
.webmf-r-meta{color:var(--wm-green);font:800 .65rem/1.3 "Montserrat",Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;margin-bottom:7px}
.webmf-r-project-card h3{margin:0 0 7px;font-size:1.38rem}
.webmf-r-project-card p{margin:0;color:var(--wm-muted);font-size:.92rem;line-height:1.4}
.webmf-r-circle-link{
  position:absolute;right:16px;bottom:13px;width:38px;height:38px;border:1px solid var(--wm-border);
  border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--wm-green)!important;background:#fff;font-weight:700
}

/* content feature sections */
.webmf-r-large-copy{max-width:650px;font-size:1.08rem;line-height:1.55;color:var(--wm-muted)}
.webmf-r-checklist{list-style:none;padding:0;margin:24px 0 27px}
.webmf-r-checklist li{position:relative;padding:8px 0 8px 30px;color:#354139}
.webmf-r-checklist li:before{
  content:"✓";position:absolute;left:0;top:8px;width:20px;height:20px;border-radius:50%;
  background:var(--wm-green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.7rem
}
.webmf-r-feature-image .vc_single_image-wrapper,.webmf-r-person-image .vc_single_image-wrapper{
  display:block;overflow:hidden;border-radius:18px;box-shadow:0 18px 45px rgba(0,66,37,.11)
}
.webmf-r-feature-image img,.webmf-r-person-image img{display:block;width:100%;height:auto}
.webmf-r-seogeo p{max-width:700px;color:var(--wm-muted)}
.webmf-r-inline-links{display:flex;gap:22px;flex-wrap:wrap;margin-top:24px}
.webmf-r-inline-links a{font-weight:700;color:var(--wm-green)!important}

/* why */
.webmf-r-why p{max-width:470px;color:var(--wm-muted)}
.webmf-r-feature-list{display:grid}
.webmf-r-feature-list>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--wm-border)}
.webmf-r-feature-list strong{color:var(--wm-green);font-family:"Montserrat",Arial,sans-serif}
.webmf-r-feature-list span{color:var(--wm-muted)}

/* quote */
.webmf-r-quote{
  max-width:980px;margin:28px auto 0;padding:44px 48px;border:1px solid var(--wm-border);
  border-radius:18px;background:#fff;box-shadow:var(--wm-shadow)
}
.webmf-r-quote blockquote{margin:0;font:700 clamp(1.5rem,2.5vw,2.2rem)/1.35 "Montserrat",Arial,sans-serif;color:var(--wm-text)}
.webmf-r-quote>div{margin-top:23px;display:flex;flex-direction:column}
.webmf-r-quote strong{color:var(--wm-green)}

/* lead form */
.home .webmf-r-lead-section{
  padding-left:max(22px,calc((100vw - 1280px)/2))!important;
  padding-right:max(22px,calc((100vw - 1280px)/2))!important;
  margin-left:0!important;margin-right:0!important
}
.home .webmf-r-lead-section .vc_column-inner{padding-left:12px;padding-right:12px}
.webmf-r-lead-copy h2{color:#fff;font:750 clamp(2.2rem,3.3vw,3.4rem)/1 "Raleway",Arial,sans-serif;letter-spacing:-.035em;margin:0 0 17px}
.webmf-r-lead-copy p{max-width:500px;color:rgba(255,255,255,.82)}
.webmf-r-lead-points{display:flex;flex-direction:column;gap:7px;color:#d7e6dd;font-size:.9rem;margin-top:24px}

/* Gravity Forms on dark section */
.webmf-r-lead-section .gform_wrapper{background:#fff;border-radius:18px;padding:26px;box-shadow:0 20px 55px rgba(0,0,0,.14)}
.webmf-r-lead-section .gfield_label{color:var(--wm-text)!important}
.webmf-r-lead-section input[type=text],
.webmf-r-lead-section input[type=email],
.webmf-r-lead-section input[type=tel],
.webmf-r-lead-section input[type=url],
.webmf-r-lead-section select,
.webmf-r-lead-section textarea{
  border:1px solid #ccd6d0!important;border-radius:10px!important;background:#fff!important;padding:13px 14px!important
}
.webmf-r-lead-section input:focus,
.webmf-r-lead-section select:focus,
.webmf-r-lead-section textarea:focus{
  border-color:var(--wm-green)!important;box-shadow:0 0 0 3px rgba(0,66,37,.10)!important;outline:0!important
}
.webmf-r-lead-section .gform_button{
  min-height:48px!important;border:0!important;border-radius:10px!important;background:var(--wm-green)!important;color:#fff!important;
  font-weight:700!important;padding:0 22px!important
}

/* ============================================================
   KONSOLIDIERTE STARTSEITEN-REGELN
   ============================================================ */

/* Gemeinsame Abstände */
.webmf-r-kicker {
  margin-bottom: 18px;
}

.webmf-r-section h2 {
  margin-bottom: 24px;
}

.webmf-r-section-intro {
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   Leistungen – final bereinigt
   ============================================================ */

.webmf-r-card-grid {
  width: 100%;
  clear: both;
  margin-left: -12px !important;
  margin-right: -12px !important;
  padding-top: 38px;
}

.webmf-r-card-grid::after {
  content: "";
  display: table;
  clear: both;
}

.webmf-r-card-grid > .wpb_column,
.webmf-r-card-grid > .vc_column_container {
  padding-left: 12px;
  padding-right: 12px;
}

/* Keine erzwungenen Höhen: Inhalte fließen natürlich von oben nach unten. */
.webmf-r-card-grid .vc_column-inner,
.webmf-r-card-grid .wpb_wrapper {
  height: auto !important;
  min-height: 0 !important;
}

.webmf-r-service-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 22px 20px 20px !important;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  background: #fff;
  box-shadow: var(--wm-shadow);
}

.webmf-r-service-card-secondary {
  background: #fbfcfb;
}

.webmf-r-service-card > .wpb_wrapper {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

.webmf-r-service-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 22px !important;
}

.webmf-r-icon {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--wm-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 41px;
  font-size: 1rem;
}

.webmf-r-service-card h3 {
  margin: 3px 0 0 !important;
  color: var(--wm-text);
  font: 700 1.02rem/1.18 "Raleway", Arial, sans-serif;
}

.webmf-r-service-card p {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: var(--wm-muted);
  font-size: .91rem;
  line-height: 1.55 !important;
}

.webmf-r-service-image {
  overflow: hidden;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border-radius: 10px;
  background: #edf2ef;
}

.webmf-r-service-image img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

.webmf-r-service-card a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--wm-green) !important;
  border-radius: 9px !important;
  background: var(--wm-green) !important;
  color: #fff !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: .2s ease;
}

.webmf-r-service-card a:hover {
  background: var(--wm-green-hover) !important;
  border-color: var(--wm-green-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ============================================================
   Projekte / Textsektionen – Feintuning
   ============================================================ */

.webmf-r-project-grid {
  padding-top: 34px;
}

.webmf-r-project-content {
  padding-top: 20px;
}

.webmf-r-project-card h3 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.webmf-r-project-card p {
  line-height: 1.55;
}

.webmf-r-relaunch,
.webmf-r-seogeo {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
}

.webmf-r-relaunch h2,
.webmf-r-seogeo h2,
.webmf-r-why h2,
.webmf-r-person h2 {
  margin-bottom: 24px;
}

.webmf-r-relaunch p,
.webmf-r-seogeo p,
.webmf-r-why p,
.webmf-r-person p {
  line-height: 1.65;
}

.webmf-r-seogeo p + p,
.webmf-r-person p + p {
  margin-top: 16px;
}

.webmf-r-feature-list {
  margin-top: 10px;
}

.webmf-r-feature-list > div {
  padding-top: 22px;
  padding-bottom: 22px;
}

.webmf-r-testimonial h2 {
  margin-bottom: 32px;
}

.webmf-r-quote {
  padding: 52px 56px;
}

/* ============================================================
   Ansprechpartner – Skills als robuste UL/LI-Pills
   ============================================================ */

.webmf-r-person p {
  max-width: 700px;
  color: var(--wm-muted);
}

.webmf-r-person h2 {
  margin-bottom: 24px !important;
}

.webmf-r-person p + p {
  margin-top: 18px !important;
}

.webmf-r-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 26px 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}

.webmf-r-tags li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 9px 15px !important;
  border-radius: 999px !important;
  background: var(--wm-green-soft) !important;
  color: var(--wm-green) !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  list-style: none !important;
  white-space: nowrap;
}

.webmf-r-tags li::before,
.webmf-r-tags li::marker {
  content: none !important;
  display: none !important;
}

/* ============================================================
   Leadformular – Feintuning
   ============================================================ */

.webmf-r-lead-copy h2 {
  margin-bottom: 24px;
}

.webmf-r-lead-copy > p {
  margin-bottom: 24px;
  line-height: 1.65;
}

.webmf-r-lead-section .gform_wrapper {
  padding: 32px;
}

.webmf-r-lead-section .gfield {
  margin-bottom: 8px;
}

/* ============================================================
   Responsive – konsolidiert
   ============================================================ */

@media (max-width: 1024px) {
  .webmf-r-trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .webmf-r-trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .webmf-r-usps {
    grid-template-columns: 1fr 1fr;
  }

  .webmf-r-project-top {
    align-items: flex-start;
  }

  .webmf-r-project-top p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .webmf-r-wrap {
    width: calc(100% - 28px);
  }

  .webmf-r-hero {
    min-height: auto;
    background-position: 70% center;
  }

  .webmf-r-hero::before {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.97),
      rgba(255,255,255,.90)
    );
  }

  .webmf-r-hero-copy {
    padding: 38px 0 30px;
  }

  .webmf-r-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
  }

  .webmf-r-actions {
    flex-direction: column;
  }

  .webmf-r-actions .webmf-r-btn {
    width: 100%;
  }

  .webmf-r-usps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .webmf-r-trust-grid {
    grid-template-columns: 1fr;
  }

  .webmf-r-trust-grid > div {
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--wm-border);
  }

  .home .webmf-r-section,
  .home .webmf-r-lead-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .webmf-r-section h2 {
    margin-bottom: 18px;
  }

  .webmf-r-card-grid,
  .webmf-r-project-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 26px;
  }

  .webmf-r-card-grid > .wpb_column,
  .webmf-r-card-grid > .vc_column_container,
  .webmf-r-project-grid > .wpb_column,
  .webmf-r-project-grid > .vc_column_container {
    margin-bottom: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .webmf-r-service-card {
    padding: 22px 18px 20px !important;
  }

  .webmf-r-service-card a {
    width: 100% !important;
  }

  .webmf-r-feature-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .webmf-r-quote {
    padding: 28px;
  }

  .webmf-r-lead-section .gform_wrapper {
    padding: 22px;
  }
}

/* =========================================================
   WEB-MF Leistungen – Karten gleiche Höhe
   ========================================================= */

.webmf-r-card-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

.webmf-r-card-grid > .vc_column_container {
  display: flex !important;
}

.webmf-r-card-grid > .vc_column_container > .vc_column-inner {
  display: flex !important;
  width: 100% !important;
}

.webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  width: 100% !important;
}

.webmf-r-service-card {
  width: 100% !important;
  height: 100% !important;
}

/* WICHTIG:
   Inhalt bleibt oben – keine künstliche Verteilung */
.webmf-r-service-card > .wpb_wrapper {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Mobile wieder natürliche Höhe */
@media (max-width: 767px) {
  .webmf-r-card-grid {
    display: block !important;
  }

  .webmf-r-card-grid > .vc_column_container,
  .webmf-r-card-grid > .vc_column_container > .vc_column-inner,
  .webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    display: block !important;
  }

  .webmf-r-service-card {
    height: auto !important;
  }
}
/* =========================================================
   WEB-MF Leistungen – Karten endgültig gleiche Höhe
   ========================================================= */

.home .webmf-r-services .webmf-r-service-card {
  min-height: 465px !important;
  height: 465px !important;
  box-sizing: border-box !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .home .webmf-r-services .webmf-r-service-card {
    min-height: 0 !important;
    height: auto !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home .webmf-r-services .webmf-r-service-card {
    min-height: 0 !important;
    height: auto !important;
  }
}

/* Leistungs-Karten: Buttons über volle Bildbreite */
.webmf-r-service-card a {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
}

/* ============================================================
   WEB-MF Startseite – Feinschliff v1.2
   Projekte · Relaunch · SEO/GEO · Warum · Testimonial
   ============================================================ */

/* Leistungen – finaler Stand */
.webmf-r-card-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

.webmf-r-card-grid > .vc_column_container {
  display: flex !important;
}

.webmf-r-card-grid > .vc_column_container > .vc_column-inner,
.webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  width: 100% !important;
}

.home .webmf-r-services .webmf-r-service-card {
  width: 100% !important;
  min-height: 465px !important;
  height: 465px !important;
  box-sizing: border-box !important;
}

.webmf-r-service-card > .wpb_wrapper {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

.webmf-r-service-card a {
  width: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}

/* Gemeinsamer vertikaler Rhythmus */
.webmf-r-projects,
.webmf-r-why,
.webmf-r-testimonial,
.webmf-r-person {
  padding-top: 82px !important;
  padding-bottom: 82px !important;
}

.webmf-r-relaunch,
.webmf-r-seogeo {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

.webmf-r-projects .webmf-r-kicker,
.webmf-r-relaunch .webmf-r-kicker,
.webmf-r-seogeo .webmf-r-kicker,
.webmf-r-why .webmf-r-kicker,
.webmf-r-testimonial .webmf-r-kicker,
.webmf-r-person .webmf-r-kicker {
  margin-bottom: 16px;
}

/* Projektbereich */
.webmf-r-project-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  padding-top: 36px !important;
}

.webmf-r-project-grid > .vc_column_container {
  display: flex !important;
}

.webmf-r-project-grid > .vc_column_container > .vc_column-inner,
.webmf-r-project-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  width: 100% !important;
}

.webmf-r-project-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

.webmf-r-project-card > .wpb_wrapper {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

.webmf-r-project-image {
  flex: 0 0 auto;
}

.webmf-r-project-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 20px 56px !important;
}

.webmf-r-project-card h3 {
  margin: 6px 0 10px !important;
  line-height: 1.15;
}

.webmf-r-project-card p {
  margin: 0 !important;
  line-height: 1.55 !important;
}

.webmf-r-circle-link {
  right: 18px;
  bottom: 16px;
  width: 40px;
  height: 40px;
}

.webmf-r-project-top {
  gap: 12px;
}

.webmf-r-project-top p {
  margin-top: 2px;
  line-height: 1.5;
}

/* Website-Relaunch */
.webmf-r-relaunch h2 {
  margin-bottom: 22px !important;
}

.webmf-r-relaunch .webmf-r-large-copy {
  margin-bottom: 0;
  line-height: 1.62;
}

.webmf-r-checklist {
  margin-top: 26px;
  margin-bottom: 28px;
}

.webmf-r-checklist li {
  padding-top: 9px;
  padding-bottom: 9px;
  line-height: 1.45;
}

.webmf-r-feature-image .vc_single_image-wrapper {
  border-radius: 16px;
}

/* SEO & GEO */
.webmf-r-seogeo h2 {
  margin-bottom: 22px !important;
}

.webmf-r-seogeo p {
  line-height: 1.62 !important;
}

.webmf-r-seogeo p + p {
  margin-top: 18px !important;
}

.webmf-r-inline-links {
  gap: 18px;
  margin-top: 26px;
}

.webmf-r-inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--wm-green);
  border-radius: 9px;
  background: #fff;
  color: var(--wm-green) !important;
  text-decoration: none;
  transition: .2s ease;
}

.webmf-r-inline-links a:hover {
  background: var(--wm-green);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Warum WEB-MF */
.webmf-r-why h2 {
  margin-bottom: 20px !important;
}

.webmf-r-why p {
  line-height: 1.62 !important;
}

.webmf-r-feature-list {
  margin-top: 0 !important;
}

.webmf-r-feature-list > div {
  padding-top: 19px !important;
  padding-bottom: 19px !important;
}

.webmf-r-feature-list > div:first-child {
  padding-top: 4px !important;
}

.webmf-r-feature-list strong {
  padding-top: 1px;
}

/* Kundenstimme */
.webmf-r-testimonial h2 {
  margin-bottom: 28px !important;
}

.webmf-r-quote {
  max-width: 920px;
  margin-top: 0 !important;
  padding: 42px 48px !important;
}

.webmf-r-quote blockquote {
  line-height: 1.38;
}

.webmf-r-quote > div {
  margin-top: 20px;
}

/* Ansprechpartner */
.webmf-r-person h2 {
  margin-bottom: 22px !important;
}

.webmf-r-person p {
  line-height: 1.62 !important;
}

.webmf-r-tags {
  margin-top: 24px !important;
  margin-bottom: 28px !important;
}

/* Leadbereich */
.webmf-r-lead-copy h2 {
  margin-bottom: 20px !important;
}

.webmf-r-lead-copy > p {
  line-height: 1.62 !important;
}

.webmf-r-lead-points {
  margin-top: 22px;
}

.webmf-r-lead-section .gform_wrapper {
  padding: 30px !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .home .webmf-r-services .webmf-r-service-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .webmf-r-project-grid {
    display: block !important;
  }

  .webmf-r-project-grid > .vc_column_container,
  .webmf-r-project-grid > .vc_column_container > .vc_column-inner,
  .webmf-r-project-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    display: block !important;
  }

  .webmf-r-project-card {
    height: auto !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .webmf-r-card-grid {
    display: block !important;
  }

  .webmf-r-card-grid > .vc_column_container,
  .webmf-r-card-grid > .vc_column_container > .vc_column-inner,
  .webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    display: block !important;
  }

  .home .webmf-r-services .webmf-r-service-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .webmf-r-projects,
  .webmf-r-relaunch,
  .webmf-r-seogeo,
  .webmf-r-why,
  .webmf-r-testimonial,
  .webmf-r-person {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .webmf-r-inline-links {
    flex-direction: column;
  }

  .webmf-r-inline-links a {
    width: 100%;
    justify-content: center;
  }

  .webmf-r-quote {
    padding: 28px !important;
  }

  .webmf-r-lead-section .gform_wrapper {
    padding: 22px !important;
  }
}

/* Relaunch-Seite: Abstand zwischen Leadbereich und Footer entfernen */
.webmf-r-lead-section {
  margin-bottom: 0 !important;
}

body:has(.webmf-r-lead-section) #main-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* Hero auf Unterseiten direkt an die Navigation setzen */
.page .webmf-r-hero-shell,
.page .webmf-r-hero-shell > .wpb_column,
.page .webmf-r-hero-shell > .wpb_column > .vc_column-inner,
.page .webmf-r-hero-shell .wpb_wrapper,
.page .webmf-r-hero-shell .wpb_content_element {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page .webmf-r-hero-shell > .wpb_column > .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page .webmf-r-hero-shell .wpb_content_element {
  margin-bottom: 0 !important;
}

/* WPBakery-Container der Seite ohne oberen Abstand */
.page .webmf-container.webmf-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page #wpb-content-root {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Letzten grünen CTA-Bereich direkt an Footer anschließen */
.page #main-content,
.page article.webmf-page,
.page .webmf-container.webmf-content,
.page #wpb-content-root {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page .webmf-r-lead-section {
  margin-bottom: 0 !important;
}

/* ============================================================
   WEB-MF Unterseiten – finaler Stand v1.3
   ============================================================ */

/* Unterseiten: Karten nur so hoch wie der Inhalt / die höchste Karte der Zeile */
body.page:not(.home) .webmf-r-card-grid .webmf-r-service-card {
  min-height: 0 !important;
  height: 100% !important;
}

body.page:not(.home) .webmf-r-card-grid > .vc_column_container,
body.page:not(.home) .webmf-r-card-grid > .wpb_column {
  display: flex !important;
  align-items: stretch !important;
}

body.page:not(.home) .webmf-r-card-grid > .vc_column_container > .vc_column-inner,
body.page:not(.home) .webmf-r-card-grid > .wpb_column > .vc_column-inner {
  display: flex !important;
  width: 100% !important;
}

body.page:not(.home) .webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper,
body.page:not(.home) .webmf-r-card-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
}

body.page:not(.home) .webmf-r-card-grid .webmf-r-service-card > .wpb_wrapper {
  height: auto !important;
}

/* Unterseiten: etwas kompaktere Karten-Innenabstände */
body.page:not(.home) .webmf-r-card-grid .webmf-r-service-card {
  padding: 20px 18px 18px !important;
}

body.page:not(.home) .webmf-r-card-grid .webmf-r-service-head {
  margin-bottom: 16px !important;
}

body.page:not(.home) .webmf-r-card-grid .webmf-r-service-card p {
  margin-bottom: 0 !important;
}

/* Letzten grünen CTA ohne Weißraum direkt an den Footer anschließen */
body.page:not(.home) #main-content,
body.page:not(.home) main#main-content,
body.page:not(.home) article.webmf-page,
body.page:not(.home) .webmf-container.webmf-content,
body.page:not(.home) #wpb-content-root,
body.page:not(.home) .wpb-content-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.page:not(.home) .webmf-r-lead-section {
  margin-bottom: 0 !important;
}

body.page:not(.home) footer,
body.page:not(.home) #colophon,
body.page:not(.home) .site-footer,
body.page:not(.home) footer.site-footer {
  margin-top: 0 !important;
}

/* Mobile: natürliche Kartenhöhe */
@media (max-width: 767px) {
  body.page:not(.home) .webmf-r-card-grid .webmf-r-service-card {
    height: auto !important;
    min-height: 0 !important;
  }
}

    
  

/* ============================================================
   SEO & GEO Unterseite – gezielte Layoutkorrekturen
   ============================================================ */

body.page:not(.home) .webmf-r-seo-today {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

body.page:not(.home) .webmf-r-seo-today > .wpb_column,
body.page:not(.home) .webmf-r-seo-today > .vc_column_container {
  float: none !important;
  position: relative !important;
  min-width: 0 !important;
}

body.page:not(.home) .webmf-r-seo-today > .vc_col-sm-6 {
  width: 50% !important;
  flex: 0 0 50% !important;
}

body.page:not(.home) .webmf-r-seo-today > .vc_col-sm-6:first-child {
  padding-right: 28px !important;
}

body.page:not(.home) .webmf-r-seo-today > .vc_col-sm-6:last-child {
  padding-left: 28px !important;
}

body.page:not(.home) .webmf-r-seo-today .webmf-r-feature-image,
body.page:not(.home) .webmf-r-seo-today .webmf-r-feature-image .vc_single_image-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

body.page:not(.home) .webmf-r-seo-today .webmf-r-feature-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

body.page:not(.home) .webmf-r-seo-today .wpb_text_column {
  position: relative !important;
  z-index: 2 !important;
}

body.page:not(.home) .webmf-r-seo-today h2 {
  margin-bottom: 22px !important;
}

body.page:not(.home) .webmf-r-geo-meaning {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

body.page:not(.home) .webmf-r-geo-meaning > .wpb_column,
body.page:not(.home) .webmf-r-geo-meaning > .vc_column_container {
  float: none !important;
  position: relative !important;
  min-width: 0 !important;
}

body.page:not(.home) .webmf-r-geo-meaning > .vc_col-sm-5 {
  width: 40% !important;
  flex: 0 0 40% !important;
  padding-right: 34px !important;
}

body.page:not(.home) .webmf-r-geo-meaning > .vc_col-sm-7 {
  width: 60% !important;
  flex: 0 0 60% !important;
  padding-left: 34px !important;
}

body.page:not(.home) .webmf-r-geo-meaning .webmf-r-feature-list {
  width: 100% !important;
  margin-top: 0 !important;
}

body.page:not(.home) .webmf-r-geo-meaning .webmf-r-feature-list > div {
  width: 100% !important;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 22px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

body.page:not(.home) .webmf-r-geo-meaning .webmf-r-feature-list span {
width: auto !important;}

/* ============================================================
   Projekte – Weitere Arbeiten / Karten final
   ============================================================ */
@media (min-width: 768px) {
  .webmf-r-more-projects .webmf-r-card-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 38px !important;
  }
  .webmf-r-more-projects .webmf-r-card-grid > .wpb_column,
  .webmf-r-more-projects .webmf-r-card-grid > .vc_column_container {
    display: flex !important;
    width: 33.333333% !important;
    flex: 0 0 33.333333% !important;
  }
  .webmf-r-more-projects .webmf-r-card-grid > .vc_column_container > .vc_column-inner {
    display: flex !important;
    width: 100% !important;
  }
  .webmf-r-more-projects .webmf-r-card-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    display: flex !important;
    width: 100% !important;
  }
  .webmf-r-more-projects .webmf-r-service-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  .webmf-r-more-projects .webmf-r-service-card > .wpb_wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
  }
  .webmf-r-more-projects .webmf-r-tags {
    margin-top: auto !important;
    margin-bottom: 14px !important;
  }
  .webmf-r-more-projects .webmf-r-btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: 0 !important;
  }
}
@media (max-width: 767px) {
  .webmf-r-more-projects .webmf-r-card-grid { display: block !important; }
  .webmf-r-more-projects .webmf-r-card-grid > .wpb_column,
  .webmf-r-more-projects .webmf-r-card-grid > .vc_column_container {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
}

.webmf-r-legal-page {
  color:#26352f;
}

.webmf-r-legal-page h1 {
  margin-bottom:18px;
}

.webmf-r-legal-page .webmf-r-section-intro {
  max-width:760px;
  margin-bottom:45px;
}

.webmf-r-legal-grid {
  margin-bottom:42px;
}

.webmf-r-legal-card {
  height:100%;
  padding:30px 32px;
  background:#f7f8f6;
  border:1px solid rgba(0,66,37,.10);
  border-radius:18px;
}

.webmf-r-legal-card h2,
.webmf-r-legal-section h2 {
  margin-top:0;
  margin-bottom:16px;
}

.webmf-r-legal-section {
  padding:34px 0;
  border-top:1px solid rgba(0,66,37,.12);
}

.webmf-r-legal-section p:last-child {
  margin-bottom:0;
}

.webmf-r-legal-page a {
  color:#004225;
  text-decoration:underline;
  text-underline-offset:3px;
}

@media (max-width:767px) {
  .webmf-r-legal-page {
    padding-top:55px!important;
    padding-bottom:65px!important;
  }

  .webmf-r-legal-card {
    margin-bottom:20px;
    padding:24px;
  }

  .webmf-r-legal-section {
    padding:28px 0;
  }
}

.webmf-r-privacy-page .webmf-r-legal-section {
  max-width: 980px;
}

.webmf-r-privacy-page .webmf-r-legal-section h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 21px;
}

.webmf-r-privacy-page .webmf-r-legal-section ul {
  margin: 16px 0 22px;
  padding-left: 22px;
}

.webmf-r-privacy-page .webmf-r-legal-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ============================================================
   Branding & Print + Projekte – lange Feature-Labels FINAL
   ============================================================ */

body.page.page-id-95:not(.home) 
.webmf-r-geo-meaning 
.webmf-r-feature-list > div,

body.page.page-id-107:not(.home) 
.webmf-r-geo-meaning 
.webmf-r-feature-list > div {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  column-gap: 28px !important;
}

body.page.page-id-95:not(.home) 
.webmf-r-geo-meaning 
.webmf-r-feature-list strong,

body.page.page-id-107:not(.home) 
.webmf-r-geo-meaning 
.webmf-r-feature-list strong {
  white-space: nowrap !important;
  min-width: 0 !important;
}

/* ============================================================
   WEB-MF Magazin – final
   ============================================================ */

/* Hero */
.webmf-r-mag-hero {
  min-height: 560px !important;
  background-position: center center !important;
}

.webmf-r-mag-hero .webmf-r-hero-copy {
  width: min(650px, 100%) !important;
}

.webmf-r-mag-hero .webmf-r-lead {
  max-width: 600px;
}

/* Kategorien */
.webmf-r-mag-category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.webmf-r-mag-category-nav > span {
  margin-right: 4px;
  color: var(--wm-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.webmf-r-mag-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--wm-green-soft);
  color: var(--wm-green) !important;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.webmf-r-mag-category-nav a:hover {
  background: var(--wm-green);
  color: #fff !important;
}

/* Featured article */
.webmf-r-mag-featured {
  align-items: center;
}

.webmf-r-mag-featured-card {
  margin-bottom: 0 !important;
}

.webmf-r-mag-featured-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--wm-shadow);
}

.webmf-r-mag-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s ease;
}

.webmf-r-mag-featured-image:hover img {
  transform: scale(1.02);
}

.webmf-r-mag-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-bottom: 14px;
  color: var(--wm-muted);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.webmf-r-mag-meta span:first-child {
  color: var(--wm-green);
  font-weight: 800;
}

.webmf-r-mag-featured h2 {
  margin-bottom: 20px !important;
}

.webmf-r-mag-featured p {
  margin-bottom: 26px;
  color: var(--wm-muted);
  line-height: 1.65;
}

/* Article cards */
.webmf-r-mag-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  margin-top: 42px !important;
}

.webmf-r-mag-grid > .vc_column_container {
  display: flex !important;
}

.webmf-r-mag-grid > .vc_column_container > .vc_column-inner,
.webmf-r-mag-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  width: 100% !important;
}

.webmf-r-mag-card {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--wm-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--wm-shadow);
}

.webmf-r-mag-card > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.webmf-r-mag-card-image {
  overflow: hidden;
}

.webmf-r-mag-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .3s ease;
}

.webmf-r-mag-card:hover .webmf-r-mag-card-image img {
  transform: scale(1.025);
}

.webmf-r-mag-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.webmf-r-mag-card h3 {
  margin: 0 0 15px !important;
  font-size: 1.35rem;
  line-height: 1.18;
}

.webmf-r-mag-card h3 a {
  color: var(--wm-text) !important;
  text-decoration: none !important;
}

.webmf-r-mag-card p {
  margin: 0 0 22px;
  color: var(--wm-muted);
  line-height: 1.6;
}

.webmf-r-mag-read {
  margin-top: auto;
  color: var(--wm-green) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* Praxis-Featureliste */
body.page .webmf-r-mag-positioning .webmf-r-feature-list {
  display: grid !important;
  width: 100% !important;
  margin: 0 !important;
}

body.page .webmf-r-mag-positioning .webmf-r-feature-list > div {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  column-gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
  padding: 22px 0 !important;
}

body.page .webmf-r-mag-positioning .webmf-r-feature-list strong {
  grid-column: 1 !important;
  grid-row: 1 !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  padding-top: 0 !important;
}

body.page .webmf-r-mag-positioning .webmf-r-feature-list span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

body.page .webmf-r-mag-positioning .webmf-r-feature-list > div:first-child {
  padding-top: 22px !important;
}

/* Tablet */
@media (max-width:1024px) {
  .webmf-r-mag-grid > .vc_column_container {
    width: 50% !important;
    flex: 0 0 50% !important;
    margin-bottom: 24px;
  }
}

/* Mobile */
@media (max-width:767px) {
  .webmf-r-mag-hero {
    min-height: auto !important;
    background-position: 68% center !important;
  }

  .webmf-r-mag-hero .webmf-r-hero-copy {
    width: 100% !important;
  }

  .webmf-r-mag-category-nav {
    align-items: flex-start;
  }

  .webmf-r-mag-category-nav > span {
    width: 100%;
    margin-bottom: 4px;
  }

  .webmf-r-mag-featured {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .webmf-r-mag-featured .vc_col-sm-7 {
    margin-bottom: 30px;
  }

  .webmf-r-mag-grid {
    display: block !important;
    margin-top: 30px !important;
  }

  .webmf-r-mag-grid > .vc_column_container {
    display: block !important;
    width: 100% !important;
    margin-bottom: 22px;
  }

  .webmf-r-mag-card {
    height: auto;
  }

  body.page .webmf-r-mag-positioning .webmf-r-feature-list > div {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    row-gap: 7px !important;
  }

  body.page .webmf-r-mag-positioning .webmf-r-feature-list strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.page .webmf-r-mag-positioning .webmf-r-feature-list span {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}

/* ============================================================
   WEB-MF Magazin – Single Posts
   ============================================================ */

.single-post #main-content,
.single-post main#main-content,
.single-post article.webmf-post,
.single-post .webmf-container.webmf-content,
.single-post #wpb-content-root {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.single-post #main-content,
.single-post article.webmf-post,
.single-post .webmf-container.webmf-content,
.single-post #wpb-content-root {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* WPBakery soll bei Magazinbeiträgen die volle Inhaltsbreite steuern */
.single-post .webmf-container.webmf-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================================
   WEB-MF Magazin – Einzelbeiträge / Article Design
   ============================================================ */

/* ------------------------------------------------------------
   Artikelkopf
   ------------------------------------------------------------ */

.single-post .webmf-r-article-head {
  position: relative;
  overflow: hidden;
}

.single-post .webmf-r-article-head > .wpb_column {
  position: relative;
  z-index: 2;
}

.single-post .webmf-r-article-head h1 {
  max-width: 980px;
  margin: 0 0 24px !important;
  color: var(--wm-text);
  font: 800 clamp(2.8rem, 4.6vw, 4.9rem)/.98 "Raleway", Arial, sans-serif;
  letter-spacing: -.04em;
}

.single-post .webmf-r-article-lead {
  max-width: 820px;
  margin: 0 0 26px;
  color: #39473f;
  font-size: 1.12rem;
  line-height: 1.7;
}

.single-post .webmf-r-article-head .webmf-r-mag-meta {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(0,66,37,.12);
}


/* ------------------------------------------------------------
   Hauptartikel
   ------------------------------------------------------------ */

.single-post .webmf-r-article-body {
  color: var(--wm-text);
}

.single-post .webmf-r-article-body > .wpb_column > .vc_column-inner {
  padding-left: 0;
  padding-right: 0;
}

.single-post .webmf-r-article-body .wpb_text_column {
  margin-bottom: 0;
}

.single-post .webmf-r-article-body .wpb_text_column + .wpb_text_column {
  margin-top: 54px;
}

.single-post .webmf-r-article-body p {
  margin: 0 0 20px;
  color: #354139;
  font-size: 1.02rem;
  line-height: 1.78;
}

.single-post .webmf-r-article-body p:last-child {
  margin-bottom: 0;
}

.single-post .webmf-r-article-body h2 {
  margin: 0 0 24px !important;
  color: var(--wm-text);
  font: 750 clamp(1.9rem, 2.8vw, 2.65rem)/1.08 "Raleway", Arial, sans-serif;
  letter-spacing: -.025em;
}

.single-post .webmf-r-article-body h3 {
  margin: 34px 0 14px !important;
  color: var(--wm-text);
  font: 700 1.28rem/1.25 "Raleway", Arial, sans-serif;
}


/* ------------------------------------------------------------
   Inline Code
   ------------------------------------------------------------ */

.single-post .webmf-r-article-body code {
  padding: 3px 7px;
  border-radius: 6px;
  background: #edf3ef;
  color: #004225;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: .92em;
}


/* ------------------------------------------------------------
   Codeblöcke
   ------------------------------------------------------------ */

.single-post .webmf-r-article-body pre {
  position: relative;
  overflow-x: auto;
  margin: 22px 0 26px !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(0,66,37,.12);
  border-left: 4px solid var(--wm-green);
  border-radius: 12px;
  background: #111a15;
  color: #eaf2ed;
  font: 500 .92rem/1.65 Consolas, Monaco, "Courier New", monospace;
  box-shadow: 0 10px 28px rgba(0,66,37,.06);
}

.single-post .webmf-r-article-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}


/* ------------------------------------------------------------
   Tabellen
   ------------------------------------------------------------ */

.single-post .webmf-r-article-table {
  overflow-x: auto;
  margin: 26px 0 34px;
  border: 1px solid var(--wm-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--wm-shadow);
}

.single-post .webmf-r-article-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.single-post .webmf-r-article-table th {
  padding: 16px 18px;
  background: var(--wm-green);
  color: #fff;
  font-weight: 700;
  text-align: left;
}

.single-post .webmf-r-article-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--wm-border);
  vertical-align: top;
  color: #354139;
  line-height: 1.55;
}

.single-post .webmf-r-article-table tbody tr:last-child td {
  border-bottom: 0;
}

.single-post .webmf-r-article-table tbody tr:nth-child(even) {
  background: #f7f9f8;
}


/* ------------------------------------------------------------
   Hervorgehobene Contentbox
   ------------------------------------------------------------ */

.single-post .webmf-r-article-box {
  padding: 34px 36px !important;
  border: 1px solid rgba(0,66,37,.12);
  border-radius: 18px;
  background: #eaf2ed;
}

.single-post .webmf-r-article-box h2 {
  margin-top: 0 !important;
}

.single-post .webmf-r-article-box h3:first-of-type {
  margin-top: 26px !important;
}


/* ------------------------------------------------------------
   Praxis-Hinweis
   ------------------------------------------------------------ */

.single-post .webmf-r-article-note {
  position: relative;
  padding: 25px 28px 25px 68px !important;
  border-radius: 14px;
  background: #f7f8f6;
  border: 1px solid var(--wm-border);
}

.single-post .webmf-r-article-note::before {
  content: "!";
  position: absolute;
  top: 24px;
  left: 25px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wm-green);
  color: #fff;
  font-weight: 800;
}

.single-post .webmf-r-article-note > .wpb_wrapper > strong,
.single-post .webmf-r-article-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--wm-green);
  font-weight: 800;
}


/* ------------------------------------------------------------
   Checklisten innerhalb Artikeln
   ------------------------------------------------------------ */

.single-post .webmf-r-article-body .webmf-r-checklist {
  margin: 22px 0 6px;
}

.single-post .webmf-r-article-body .webmf-r-checklist li {
  padding-top: 7px;
  padding-bottom: 7px;
  line-height: 1.55;
}


/* ------------------------------------------------------------
   CTA unter Artikel
   ------------------------------------------------------------ */

.single-post .webmf-r-mag-check {
  padding-left: max(22px, calc((100vw - 1280px)/2)) !important;
  padding-right: max(22px, calc((100vw - 1280px)/2)) !important;
}

.single-post .webmf-r-mag-check p {
  max-width: 600px;
  line-height: 1.65;
}


/* ------------------------------------------------------------
   Autorenbereich
   ------------------------------------------------------------ */

.single-post .webmf-r-article-author {
  padding-left: max(22px, calc((100vw - 1280px)/2)) !important;
  padding-right: max(22px, calc((100vw - 1280px)/2)) !important;
}

.single-post .webmf-r-article-author h2 {
  margin-bottom: 18px !important;
}

.single-post .webmf-r-article-author p {
  max-width: 760px;
  color: var(--wm-muted);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 767px) {

  .single-post .webmf-r-article-head {
    padding-top: 55px !important;
    padding-bottom: 50px !important;
  }

  .single-post .webmf-r-article-head h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .single-post .webmf-r-article-lead {
    font-size: 1rem;
  }

  .single-post .webmf-r-article-body {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  .single-post .webmf-r-article-body .vc_col-sm-8 {
    width: 100% !important;
  }

  .single-post .webmf-r-article-body .vc_col-sm-2 {
    display: none !important;
  }

  .single-post .webmf-r-article-body .wpb_text_column + .wpb_text_column {
    margin-top: 42px;
  }

  .single-post .webmf-r-article-box {
    padding: 25px 22px !important;
  }

  .single-post .webmf-r-article-note {
    padding: 58px 22px 22px !important;
  }

  .single-post .webmf-r-article-note::before {
    top: 20px;
    left: 22px;
  }

  .single-post .webmf-r-article-body pre {
    padding: 18px !important;
    font-size: .82rem;
  }

  .single-post .webmf-r-article-table {
    width: 100%;
    overflow-x: auto;
  }

  .single-post .webmf-r-article-table table {
    min-width: 620px;
  }

  .single-post .webmf-r-mag-check,
  .single-post .webmf-r-article-author {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
/* ============================================================
   WEB-MF Magazin – Article Hero
   ============================================================ */

.single-post .webmf-r-article-hero {
  display:flex !important;
  align-items:center !important;
}

.single-post .webmf-r-article-hero h1 {
  max-width:780px;
  margin:0 0 22px !important;
  color:var(--wm-text);
  font:800 clamp(2.7rem,4vw,4.4rem)/.98 "Raleway",Arial,sans-serif;
  letter-spacing:-.04em;
}

.single-post .webmf-r-article-hero .webmf-r-article-lead {
  max-width:720px;
  margin:0 0 25px;
  color:#3f4d45;
  font-size:1.08rem;
  line-height:1.65;
}

.webmf-r-article-meta-line {
  display:flex;
  flex-wrap:wrap;
  gap:9px 20px;
  padding-top:20px;
  border-top:1px solid rgba(0,66,37,.13);
  color:var(--wm-muted);
  font-size:.8rem;
  font-weight:600;
}

.webmf-r-article-mini-author {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:24px;
}

.webmf-r-article-mini-author img {
  width:48px;
  height:48px;
  flex:0 0 48px;
  object-fit:cover;
  border-radius:50%;
}

.webmf-r-article-mini-author div {
  display:flex;
  flex-direction:column;
}

.webmf-r-article-mini-author strong {
  color:var(--wm-text);
  font-size:.9rem;
}

.webmf-r-article-mini-author span {
  margin-top:2px;
  color:var(--wm-muted);
  font-size:.78rem;
}

.single-post .webmf-r-article-hero-image {
  margin-bottom:0 !important;
}

.single-post .webmf-r-article-hero-image .vc_single_image-wrapper {
  display:block;
  overflow:hidden;
  border-radius:18px;
  box-shadow:0 18px 45px rgba(0,66,37,.11);
}

.single-post .webmf-r-article-hero-image img {
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}


/* Mobile */

@media (max-width:767px) {

  .single-post .webmf-r-article-hero {
    display:block !important;
    padding-top:52px !important;
    padding-bottom:52px !important;
  }

  .single-post .webmf-r-article-hero h1 {
    font-size:clamp(2.35rem,10.5vw,3.4rem);
  }

  .single-post .webmf-r-article-hero .vc_col-sm-7 {
    margin-bottom:30px;
  }

  .webmf-r-article-meta-line {
    flex-direction:column;
    gap:5px;
  }
}
.webmf-r-author-card {
  padding:34px !important;
  border:1px solid var(--wm-border);
  border-radius:18px;
  background:#f7f8f6;
  box-shadow:var(--wm-shadow);
}

.webmf-r-author-image .vc_single_image-wrapper {
  display:block;
  overflow:hidden;
  border-radius:14px;
}

.webmf-r-author-image img {
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
/* ============================================================
   WEB-MF Magazin – automatische Beitragsübersicht
   ============================================================ */

.webmf-r-mag-auto {
  width: 100%;
}


/* Featured */

.webmf-r-mag-auto-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 95px;
}

.webmf-r-mag-auto-featured-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--wm-shadow);
}

.webmf-r-mag-auto-featured-image a {
  display: block;
}

.webmf-r-mag-auto-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 750 / 548;
  object-fit: cover;
  transition: transform .3s ease;
}

.webmf-r-mag-auto-featured-image:hover img {
  transform: scale(1.02);
}

.webmf-r-mag-auto-featured-content h2 {
  margin: 0 0 20px !important;
  color: var(--wm-text);
  font: 750 clamp(2rem, 3vw, 3rem)/1.05 "Raleway", Arial, sans-serif;
  letter-spacing: -.03em;
}

.webmf-r-mag-auto-featured-content h2 a {
  color: inherit !important;
  text-decoration: none !important;
}

.webmf-r-mag-auto-featured-content p {
  margin: 0 0 26px;
  color: var(--wm-muted);
  line-height: 1.68;
}


/* Grid Heading */

.webmf-r-mag-auto-heading {
  margin-bottom: 38px;
}

.webmf-r-mag-auto-heading h2 {
  max-width: 750px;
  margin: 0 0 16px !important;
  color: var(--wm-text);
  font: 750 clamp(2.15rem, 3.3vw, 3.4rem)/1 "Raleway", Arial, sans-serif;
  letter-spacing: -.035em;
}

.webmf-r-mag-auto-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--wm-muted);
  line-height: 1.65;
}


/* Grid */

.webmf-r-mag-auto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.webmf-r-mag-auto-grid .webmf-r-mag-card {
  display: flex;
  flex-direction: column;
}

.webmf-r-mag-auto-grid .webmf-r-mag-card-image img {
  aspect-ratio: 750 / 548;
  object-fit: cover;
}

.webmf-r-mag-auto-grid .webmf-r-mag-card-content {
  flex: 1;
}


/* Fallback ohne Beitragsbild */

.webmf-r-mag-placeholder {
  width: 100%;
  aspect-ratio: 750 / 548;
  background:
    linear-gradient(
      135deg,
      #eaf2ed 0%,
      #f7f8f6 100%
    );
}


/* Pagination */

.webmf-r-mag-pagination {
  margin-top: 52px;
}

.webmf-r-mag-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.webmf-r-mag-pagination li {
  margin: 0;
}

.webmf-r-mag-pagination a,
.webmf-r-mag-pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--wm-border);
  border-radius: 9px;
  background: #fff;
  color: var(--wm-green) !important;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.webmf-r-mag-pagination a:hover,
.webmf-r-mag-pagination .current {
  border-color: var(--wm-green);
  background: var(--wm-green);
  color: #fff !important;
}


/* Tablet */

@media (max-width: 1024px) {

  .webmf-r-mag-auto-featured {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .webmf-r-mag-auto-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}


/* Mobile */

@media (max-width: 767px) {

  .webmf-r-mag-auto-featured {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 68px;
  }

  .webmf-r-mag-auto-featured-content h2 {
    font-size: 2rem;
  }

  .webmf-r-mag-auto-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .webmf-r-mag-pagination {
    margin-top: 38px;
  }
}

/* =========================================================
   WEB-MF Testimonials – final
   ========================================================= */

.webmf-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
    width: 100%;
    margin-top: 34px;
}

/* Wenn aktuell nur eine Kundenstimme vorhanden ist:
   nicht über die komplette Bildschirmbreite ziehen */
.webmf-testimonial-card:only-child {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.webmf-testimonials:has(.webmf-testimonial-card:only-child) {
    grid-template-columns: 1fr;
}

/* Karte */
.webmf-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 38px 38px 32px;
    background: #ffffff;
    border: 1px solid var(--wm-border);
    border-radius: 18px;
    box-shadow: var(--wm-shadow);
    box-sizing: border-box;
}

/* Großes, dezentes Anführungszeichen */
.webmf-testimonial-quote {
    height: 42px;
    margin: 0 0 15px;
    color: var(--wm-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    font-weight: 700;
    line-height: .72;
    opacity: .16;
}

/* Kundenstimme */
.webmf-testimonial-text {
    flex: 1 1 auto;
    color: var(--wm-text);
    font-size: 1rem;
    line-height: 1.72;
}

.webmf-testimonial-text p {
    margin: 0;
}

.webmf-testimonial-text p:last-child {
    margin-bottom: 0;
}

/* Unterer Kundenbereich */
.webmf-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--wm-border);
}

/* Logo bewusst klein halten */
.webmf-testimonial-logo {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 58px;
}

.webmf-testimonial-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

/* Name / Unternehmen */
.webmf-testimonial-person {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.webmf-testimonial-person strong {
    color: var(--wm-green);
    font-family: "Raleway", Arial, sans-serif;
    font-size: .98rem;
    font-weight: 750;
    line-height: 1.3;
}

.webmf-testimonial-person span {
    color: var(--wm-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.webmf-testimonial-person a {
    color: var(--wm-green) !important;
    text-decoration: none !important;
}

.webmf-testimonial-person a:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Dezenter Hover nur Desktop */
@media (hover: hover) {

    .webmf-testimonial-card {
        transition:
            transform .2s ease,
            box-shadow .2s ease,
            border-color .2s ease;
    }

    .webmf-testimonial-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0, 66, 37, .18);
        box-shadow: 0 16px 40px rgba(0, 66, 37, .10);
    }
}

/* Tablet */
@media (max-width: 1024px) {

    .webmf-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .webmf-testimonials:has(.webmf-testimonial-card:only-child) {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .webmf-testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 26px;
    }

    .webmf-testimonial-card {
        padding: 30px 24px 26px;
    }

    .webmf-testimonial-quote {
        font-size: 62px;
        height: 35px;
    }

    .webmf-testimonial-text {
        font-size: .96rem;
        line-height: 1.68;
    }

    .webmf-testimonial-footer {
        gap: 14px;
        margin-top: 24px;
        padding-top: 20px;
    }

    .webmf-testimonial-logo {
        flex-basis: 60px;
        width: 60px;
        height: 50px;
    }

    .webmf-testimonial-logo img {
        max-width: 60px !important;
        max-height: 50px !important;
    }
}

/* ============================================================
   WEB-MF Leadmagnet
   ============================================================ */

.webmf-leadmagnet {
    width: 100%;
    margin: 55px 0;
}

.webmf-leadmagnet-inner {
    display: grid;
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.4fr);
    gap: 44px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--wm-border);
    border-radius: 20px;
    background: var(--wm-green-soft);
    box-shadow: var(--wm-shadow);
}


/* Cover */

.webmf-leadmagnet-cover {
    display: flex;
    align-items: center;
    justify-content: center;
}

.webmf-leadmagnet-cover img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 16px 40px rgba(0,66,37,.14);
}


/* Inhalt */

.webmf-leadmagnet-content {
    min-width: 0;
}

.webmf-leadmagnet h2 {
    margin: 0 0 18px !important;
    color: var(--wm-text);
    font:
        750 clamp(1.8rem,2.6vw,2.6rem)/1.08
        "Raleway",
        Arial,
        sans-serif;
    letter-spacing: -.025em;
}

.webmf-leadmagnet-description {
    color: var(--wm-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.webmf-leadmagnet-description p {
    margin: 0 0 16px;
}

.webmf-leadmagnet-description p:last-child {
    margin-bottom: 0;
}


/* Nutzenzeile */

.webmf-leadmagnet-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--wm-green);
    font-size: .9rem;
    font-weight: 700;
}

.webmf-leadmagnet-benefit span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    background: var(--wm-green);
    color: #fff;
    font-size: .7rem;
}


/* Formular */

.webmf-leadmagnet-form {
    margin-top: 28px;
}

.webmf-leadmagnet-form .gform_wrapper {
    margin: 0;
}

.webmf-leadmagnet-form .gform_fields {
    row-gap: 15px;
}

.webmf-leadmagnet-form input[type="text"],
.webmf-leadmagnet-form input[type="email"] {
    min-height: 48px;
    padding: 11px 14px !important;
    border: 1px solid #cbd7d0 !important;
    border-radius: 9px !important;
    background: #fff !important;
}

.webmf-leadmagnet-form input:focus {
    border-color: var(--wm-green) !important;
    outline: 0;
    box-shadow:
        0 0 0 3px rgba(0,66,37,.10) !important;
}

.webmf-leadmagnet-form .gform_button {
    min-height: 48px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: var(--wm-green) !important;
    color: #fff !important;
    font-weight: 700 !important;
    transition: .2s ease;
}

.webmf-leadmagnet-form .gform_button:hover {
    background: var(--wm-green-hover) !important;
    transform: translateY(-1px);
}


/* Datenschutz */

.webmf-leadmagnet-privacy {
    margin: 0 !important;
    color: var(--wm-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.webmf-leadmagnet-privacy a {
    color: var(--wm-green) !important;
}


/* Mobile */

@media (max-width: 767px) {

    .webmf-leadmagnet {
        margin: 42px 0;
    }

    .webmf-leadmagnet-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 28px 22px;
    }

    .webmf-leadmagnet-cover img {
        max-width: 240px;
    }

}

/* ============================================================
   WEB-MF Leadmagnet – Formularheadline
   ============================================================ */

.webmf-leadmagnet-form-headline {
    margin-top: 24px;
    margin-bottom: 14px;
    color: var(--wm-text);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.25;
}

.webmf-leadmagnet-form-headline + .webmf-leadmagnet-form {
    margin-top: 0;
}

@media (max-width: 767px) {
    .webmf-leadmagnet-form-headline {
        margin-top: 22px;
        font-size: 1.08rem;
    }
}
