/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* ===================================== */
/* TYPOGRAPHY – CLEANPRO SAFE SETUP      */
/* Headings = Arboria                    */
/* Base/Fließtext/Buttons/Nav = Inter    */
/* ===================================== */

/* Base variables */
:root {
  /* Fließtext */
  --ff-base: Inter, sans-serif;

  /* Akzent / Headlines */
  --ff-accent: Arboria, sans-serif;
}

/* Body = Fließtext */
body {
  font-family: var(--ff-base);
}

/* Headlines: nur H1 = Accent, H2–H6 = Base */
h1 {
  font-family: var(--ff-accent);
}

h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-base);
}

/* Navigation & Header */
.hhs-header-menu .hs-menu-wrapper > ul > li > a,
.hhs-header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a,
.hhs-lang-switch .lang_list_class li a,
.hhs-top-bar .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
  font-family: var(--ff-base);
}

/* Buttons / CTAs */
.cta_button {
  font-family: var(--ff-base);
}

/* Arboria Utility Classes (nur für bewusste Nutzung) */
.arboria__light {
  font-family: Arboria, sans-serif;
  font-weight: 100;
  font-style: normal;
}

.arboria__regular {
  font-family: Arboria, sans-serif;
  font-weight: 300;
  font-style: normal;
}

.arboria__medium {
  font-family: Arboria, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.arboria__bold {
  font-family: Arboria, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.arboria__extrabold {
  font-family: Arboria, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.arboria__black {
  font-family: Arboria, sans-serif;
  font-weight: 900;
  font-style: normal;
}

/*
 body,p, h1, h2, h3, h4, h5, h6, a, ul, li {  
  font-family: "arboria", sans-serif;
  font-weight: 400;
  font-style: normal;
}
*/

h1, h2, h3, h4, h5, h6, p {
  color: #000000 !important;
}

/* --- FINALER FIX: Hover-Zoom auch sichtbar, wenn Container beschränkt ist --- */

/* Damit kein Container den Zoom abschneidet */
.magic-hover-zoom,
.magic-hover-zoom * {
  overflow: visible !important;
}

/* Basis: alle Bilder im Modul */
.magic-hover-zoom img,
.magic-hover-zoom picture img,
.magic-hover-zoom .c-img-1 {
  transition: transform 0.6s ease;
  will-change: transform;
  position: relative !important;
  z-index: 5 !important;
  transform-origin: center center;
}

/* Hover: sichtbarer Zoom-Effekt */
.magic-hover-zoom img:hover,
.magic-hover-zoom picture:hover img,
.magic-hover-zoom .c-img-1:hover {
  transform: scale(1.5) !important;
  z-index: 10 !important;
  position: relative !important;
}

/* Nur Desktop */
@media (hover: hover) and (pointer: fine) {
  .magic-hover-zoom img:hover,
  .magic-hover-zoom picture:hover img,
  .magic-hover-zoom .c-img-1:hover {
    transform: scale(1.5) !important;
  }
}

/* =========================================
   Clean Pro - Multi-Column Accordion (Pro)
   Mobile/Tablet kompakter (stark priorisiert)
   ========================================= */

@media (max-width: 991px) {

  /* 1) Basis: schraubt alles im Modul etwas runter */
  .mobile-compact-accordion {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  /* 2) Häufige Clean-Pro-Strukturen abdecken (Header/Trigger/Titel) */
  .mobile-compact-accordion [class*="accordion"][class*="header"],
  .mobile-compact-accordion [class*="accordion"] [class*="header"],
  .mobile-compact-accordion [class*="accordion"] [class*="trigger"],
  .mobile-compact-accordion [class*="accordion"] [class*="title"] {
    padding: 6px 8px !important;
    font-size: 12.75px !important;
    line-height: 1.25 !important;
  }

  /* 3) Icons kleiner */
  .mobile-compact-accordion [class*="accordion"] [class*="icon"],
  .mobile-compact-accordion [class*="accordion"] svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* 4) Item-Abstände */
  .mobile-compact-accordion [class*="accordion"] [class*="item"] {
    margin-bottom: 4px !important;
  }

  /* 5) Content kompakter */
  .mobile-compact-accordion [class*="accordion"] [class*="content"] {
    padding: 6px 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .mobile-compact-accordion [class*="accordion"] [class*="content"] h1,
  .mobile-compact-accordion [class*="accordion"] [class*="content"] h2,
  .mobile-compact-accordion [class*="accordion"] [class*="content"] h3 {
    font-size: 12.75px !important;
    line-height: 1.25 !important;
    margin: 4px 0 !important;
  }

  .mobile-compact-accordion [class*="accordion"] [class*="content"] ul,
  .mobile-compact-accordion [class*="accordion"] [class*="content"] ol {
    margin: 4px 0 4px 14px !important;
  }
  .mobile-compact-accordion [class*="accordion"] [class*="content"] li {
    margin: 2px 0 !important;
  }
}

/* Flexi Cards Badge */
.hhs-flexi-card {
  position: relative;
}

.flexi-card-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #6C4BF4;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 50;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Contentformate – Flexi Cards (Pro) */
.contentformats-cards .flexi-card {
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  background: #ffffff;
  padding: 24px;
}

/* Spalten / Grid-Abstand */
.contentformats-cards .row {
  row-gap: 24px;
}

/* Desktop: 3 Spalten erzwingen, falls nötig */
@media (min-width: 992px) {
  .contentformats-cards .col-md-4,
  .contentformats-cards .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* Contentformate – Flexi Cards (Pro) – Grundkarte */
.contentformats-cards .hhs-card-content {
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid #eeeeee;
  background: #ffffff;
  padding: 20px 24px;
}

/* Typografie innerhalb der Karte */
.contentformats-cards .hhs-card-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contentformats-cards .hhs-card-content h5 {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
  margin: 0;
}

/* Grid-Layout für die Contentformate-Flexi-Cards */

/* Grundlayout: Flex-Grid */
.contentformats-cards .row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
  column-gap: 24px;
}

/* Jede direkte Spalte innerhalb der Row */
.contentformats-cards .row > div {
  display: flex;
}

/* Die Karte selbst soll im Spalten-Container die volle Breite nehmen */
.contentformats-cards .row > div .hhs-card-content {
  width: 100%;
}

/* Desktop: 3 Spalten */
@media (min-width: 992px) {
  .contentformats-cards .row > div {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) and (max-width: 991px) {
  .contentformats-cards .row > div {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* Mobile: 1 Spalte */
@media (max-width: 767px) {
  .contentformats-cards .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Bild/Icon mittlere Größe */
.contentformats-cards img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 16px auto 12px;
}

/* ============================================================
   CONTENTFORMATE – TYPOGRAFIE FÜR HEADLINE & SUBHEADLINE
   ============================================================ */

/* Headline */
.contentformats-cards .hhs-card-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px;
  text-align: center;
}

/* Subheadline */
.contentformats-cards .hhs-card-content h5 {
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

/* ============================================================
   CONTENTFORMATE – SPACING (innenliegende Abstände)
   ============================================================ */

/* Abstand unter dem Icon etwas vergrößern */
.contentformats-cards img {
  margin-bottom: 16px;
}

/* Abstand unter der Headline */
.contentformats-cards .hhs-card-content h4 {
  margin-bottom: 6px;
}

/* Abstand unter der Subheadline */
.contentformats-cards .hhs-card-content h5 {
  margin-bottom: 8px;
}

/* Optional: wenn es ein Textfeld gibt, etwas mehr Abstand oben */
.contentformats-cards .hhs-card-content p {
  margin-top: 12px;
}

/* ============================================================
   CONTENTFORMATE – HOVER-EFFEKT AUF DER KOMPLETTEN KARTE
   ============================================================ */

/* Ganze Spalte = gesamte Karte */
.contentformats-cards .row > div {
  transition: transform 0.18s ease-out,
              box-shadow 0.18s ease-out,
              border-color 0.18s ease-out;
}

/* Hover über gesamte Karte */
.contentformats-cards .row > div:hover {
  transform: translateY(-4px);
}

.contentformats-cards .row > div:hover .hhs-card-content {
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  border-color: #dddddd;
}

/* ============================================================
   PROMO-TEASER (KARTE 6)
   ============================================================ */

.contentformats-cards .row > div:nth-child(6) .hhs-card-content {
  background: #6d28d9;
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 24px rgba(109, 40, 217, 0.25);
}

/* Headline in Promo-Karte (Karte 6) */
.contentformats-cards .row > div:nth-child(6) .hhs-card-content h4,
.contentformats-cards .row > div:nth-child(6) .hhs-card-content h4 span {
  color: #ffffff !important;
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-align: left;
}

/* Subheadline in Promo-Karte (Karte 6) */
.contentformats-cards .row > div:nth-child(6) .hhs-card-content h5,
.contentformats-cards .row > div:nth-child(6) .hhs-card-content h5 span {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: left;
}

/* Button innerhalb der Promo-Karte */
.contentformats-cards .row > div:nth-child(6) .hhs-card-content a {
  display: inline-block;
  background: #ffffff;
  color: #6d28d9;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 12px;
}

/* Hover-Effekt nur für Promo-Knopf */
.contentformats-cards .row > div:nth-child(6) .hhs-card-content a:hover {
  background: rgba(255,255,255,0.85);
}

/* ============================================================
   PROMO-KARTE – LEICHT SCHRÄG
   ============================================================ */

.contentformats-cards .row > div:nth-child(6) {
  transform: rotate(-3deg);
}

.contentformats-cards .row > div:nth-child(6):hover {
  transform: rotate(0deg) translateY(-4px);
}

/* Content Slider Style 1 – Bild in der linken Spalte horizontal zentrieren */
.cs-image-center .c-image-container-1 {
  display: flex;
  justify-content: center;
}

/* erste Spalte: volle Breite im mobilen Bereich, zentriert mit Max-Breite */
.icontext-singlecol .row > div:first-child {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* alle weiteren Spalten ausblenden */
.icontext-singlecol .row > div:not(:first-child) {
  display: none;
}

/* ===== Impact-Reporting Box in Multi-Column Content (Pro) – Bertelsmann Style ===== */

.impact-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #003865;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.impact-box__logo {
  display: block;
  max-width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

.impact-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #003865;
}

.impact-box p {
  margin-bottom: 1.75rem;
  color: #111111;
}

.impact-box__btn {
  display: inline-block;
  background: #003865;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.impact-box__btn:hover {
  background: #00264a;
  color: #ffffff;
}

/* -----------------------------------------------------------
   Hover Cards (Pro) – Mobile Fix: Icon nicht oben anschneiden
----------------------------------------------------------- */

@media (max-width: 992px) {

  .hover-cards-mobile-fix .hhs-img-hover-back .inner-con {
    padding-top: 80px !important;
  }

}

/* ============================
   Simple Testimonial (Custom)
   ============================ */

.cp-testimonial {
  margin: 40px 0;
  padding: 20px 0;
}

.cp-testimonial__inner {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.cp-testimonial__image {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.cp-testimonial__image img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.cp-testimonial__content {
  max-width: 700px;
  background: #f7f7f7;
  padding: 24px 28px;
  border-radius: 6px;
  position: relative;
}

/* Desktop: Bild links / rechts + Overlap */
.cp-testimonial--image-left .cp-testimonial__image {
  order: 0;
  margin-right: -110px;
}
.cp-testimonial--image-left .cp-testimonial__content {
  order: 1;
  padding-left: 150px;
}

.cp-testimonial--image-right .cp-testimonial__image {
  order: 1;
  margin-left: -110px;
}
.cp-testimonial--image-right .cp-testimonial__content {
  order: 0;
  padding-right: 150px;
}

.cp-testimonial__meta {
  margin-top: 16px;
}

.cp-testimonial__quote {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.cp-testimonial__name {
  font-weight: 600;
}

.cp-testimonial__position {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 767px) {
  .cp-testimonial__inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cp-testimonial--image-right .cp-testimonial__image,
  .cp-testimonial--image-left .cp-testimonial__image {
    order: 0;
  }

  .cp-testimonial--image-right .cp-testimonial__image,
  .cp-testimonial--image-left .cp-testimonial__image {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -102px;
    position: relative;
    z-index: 2;
  }

  .cp-testimonial__image img {
    max-width: 140px;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
  }

  .cp-testimonial__content {
    width: 100%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    padding: 24px 28px;
    padding-top: 90px;
  }

  .cp-testimonial--image-left .cp-testimonial__content,
  .cp-testimonial--image-right .cp-testimonial__content {
    padding-left: 28px;
    padding-right: 28px;
  }

  .cp-testimonial__content::after {
    display: none !important;
  }
}

/* Gerahmter Textblock im Magic Module (Pro) */
.clean-base.framed-block {
  background-color: #f5f5f5;
  border-radius: 16px;
  padding: 40px 60px;
  max-width: 700px;
  margin: 0px auto;
  position: relative;
}

/* Icon in die linke obere Rundung setzen */
.clean-base.framed-block::before {
  content: "";
  position: absolute;
  top: -33px;
  left: -43px;
  width: 96px;
  height: 96px;
  background-image: url("https://8347045.fs1.hubspotusercontent-na1.net/hubfs/8347045/Icons/Glocke_5E2DC1_300px.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* Vertikaler Abstand der Section mit dem gerahmten Block */
.row-fluid-wrapper.row-depth-1.row-number-7.dnd-section {
  padding-top: 60px;
  padding-bottom: 80px;
}
/* =========================================
   FIX: Magic Module / clean-base Typography
   ========================================= */

/* Fließtext innerhalb clean-base auf Inter zurücksetzen */
.clean-base,
.clean-base p,
.clean-base li,
.clean-base a,
.clean-base span {
  font-family: var(--ff-base);
}

/* Headings innerhalb clean-base: nur H1 = Arboria, H2–H6 = Inter */
.clean-base h1 {
  font-family: var(--ff-accent);
}

.clean-base h2,
.clean-base h3,
.clean-base h4,
.clean-base h5,
.clean-base h6 {
  font-family: var(--ff-base);
}
/* =========================================
   FORCE FIX: clean-base darf Fließtext nicht auf Arboria setzen
   (nur für Magic Module / clean-base)
   ========================================= */

html body .clean-base {
  font-family: Inter, sans-serif !important;
}

/* Fließtext-Elemente erben das */
html body .clean-base p,
html body .clean-base li,
html body .clean-base a,
html body .clean-base span,
html body .clean-base div {
  font-family: inherit !important;
}

/* CleanPro-Override-Killer: muss gegen CleanPro-!important gewinnen */
html body .clean-base h1 {
  font-family: var(--ff-accent) !important;
}

html body .clean-base h2,
html body .clean-base h3,
html body .clean-base h4,
html body .clean-base h5,
html body .clean-base h6 {
  font-family: var(--ff-base) !important;
}
/* =========================================
   GLOBAL OVERRIDE – muss IMMER gewinnen
   ========================================= */
:root {
  --ff-base: Inter, sans-serif !important;
  --ff-accent: Arboria, sans-serif !important;
}
/* Footer Layout Fix: Logo + Menüs + Social nebeneinander */
@media (min-width: 1200px) {
  #js-sidewide-footer .links{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  #js-sidewide-footer .links .logo{
    flex: 0 0 242px; /* entspricht deiner gewünschten Logo-Spalte */
  }

  #js-sidewide-footer .links .link-lists{
    flex: 1 1 auto;
  }

  #js-sidewide-footer .links .social-media-wrapper{
    flex: 0 0 auto;
  }
}

/* ============================================================
   Agency Contact – robust wrapper setup (no :has)
   ============================================================ */

/* Frame nur für dieses eine Magic Module */
.agency-contact-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

/* Inneres Contact Cards Modul: eigenen Frame deaktivieren */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Agency contact – header spacing inside wrapper */
.agency-contact-wrapper h2{
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.agency-contact-wrapper p{
  text-align: center;
  margin-top: 0;
  margin-bottom: 28px;
}
/* Agency contact – inner Contact Cards module should not add its own spacing/box */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section.outer-shadow,
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section.inner-shadow{
  box-shadow: none !important;
}
/* Agency contact – remove the inner "container" frame inside Contact Cards */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame > .container{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Agency contact – remove inner container frame (robust) */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .container{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Agency contact – kill inner frame candidates (scoped) */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame,
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame .container,
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame .row{
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* remove the padding that creates the "inner box" look */
.agency-contact-wrapper .hhs-flexi-card-mod.agency-contact-section .agency-contact-frame .container{
  padding: 0 !important;
}
/* Agency Landingpage – Rahmen um Icon-Boxes / Cards */
.agency-boxframe .item,
.agency-boxframe .card,
.agency-boxframe .icon-box,
.agency-boxframe .service-item,
.agency-boxframe .features-item,
.agency-boxframe .hs_cos_wrapper_type_module > div > div {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

/* Luft zwischen den Boxen (falls das Modul keine Gaps hat) */
.agency-boxframe .item,
.agency-boxframe .card,
.agency-boxframe .icon-box,
.agency-boxframe .service-item,
.agency-boxframe .features-item {
  margin-bottom: 20px;
}

/* Optional: leichte Aufwertung beim Hover (sehr dezent) */
.agency-boxframe .item:hover,
.agency-boxframe .card:hover,
.agency-boxframe .icon-box:hover,
.agency-boxframe .service-item:hover,
.agency-boxframe .features-item:hover {
  border-color: rgba(0,0,0,0.14);
}
/* Agency Landingpage – Rahmen um jede Icon-Box (Konditionen) */
.agency-boxframe .hhs-icon-con{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  height: 100%;
}

/* Abstand zwischen den Boxen (für Mobile/Wrap) */
.agency-boxframe .col-sm{
  margin-bottom: 20px;
}
/* =========================================================
   agency-boxframe – Equal height, weniger Leerraum unten
   ========================================================= */

/* 1) Box bleibt gleich hoch, Inhalt wird nach oben ausgerichtet */
.agency-boxframe .hhs-icon-con{
  height: 100%;                 /* equal height beibehalten */
  display: flex;                /* wichtig: Innenlayout kontrollieren */
  flex-direction: column;
  justify-content: flex-start;  /* KEIN space-between -> keine Luft unten */
  align-items: center;          /* optional: wenn ihr zentriert */
  padding: 24px;
  box-sizing: border-box;
}

/* 2) Typische Übeltäter: Margins unten entfernen */
.agency-boxframe .hhs-icon-con p{
  margin-bottom: 10px;          /* etwas kompakter als Default */
}

.agency-boxframe .hhs-icon-con p:last-child,
.agency-boxframe .hhs-icon-con ul:last-child,
.agency-boxframe .hhs-icon-con ol:last-child{
  margin-bottom: 0;             /* ganz wichtig */
}

/* 3) Falls Überschriften/Labels ebenfalls große Bottom-Margins haben */
.agency-boxframe .hhs-icon-con h1,
.agency-boxframe .hhs-icon-con h2,
.agency-boxframe .hhs-icon-con h3,
.agency-boxframe .hhs-icon-con h4,
.agency-boxframe .hhs-icon-con h5{
  margin-bottom: 8px;
}

/* 4) Wenn ein Wrapper im Modul die Luft erzeugt (sehr häufig):
   -> packt alle direkten Kinder nach oben und killt den letzten Margin */
.agency-boxframe .hhs-icon-con > *:last-child{
  margin-bottom: 0;
}

/* 5) Optional: Wenn ihr Icon + Text habt und das Icon oben sitzt:
   etwas tighter spacing */
.agency-boxframe .hhs-icon-con svg,
.agency-boxframe .hhs-icon-con img{
  margin-bottom: 12px;
}
/* =========================================================
   agency-boxframe – noch kompakter unten
   ========================================================= */

/* Box bleibt gleich hoch */
.agency-boxframe .hhs-icon-con{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 24px 16px;  /* weniger Bottom-Padding */
  box-sizing: border-box;
}

/* Headline enger */
.agency-boxframe .hhs-icon-con h3,
.agency-boxframe .hhs-icon-con h4{
  margin: 10px 0 6px;
}

/* Text kompakter */
.agency-boxframe .hhs-icon-con p{
  margin: 0 0 6px;
  line-height: 1.45;
}

/* letzter Block kein Extra-Abstand */
.agency-boxframe .hhs-icon-con > *:last-child{
  margin-bottom: 0;
}


/* === Magic Modul: Icon oben mittig (über CSS-Class am Modul) === */
.magic-icon-top{
  position: relative;     /* Anker für das Icon */
  padding-top: 10px;      /* kleiner Puffer, damit nichts überlappt */
}

.magic-icon-top::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;                 /* wir steuern die Nähe über transform */
  transform: translate(-50%, -35%); /* näher am Block (weniger "schweben") */
  width: 56px;
  height: 56px;

  background-image: url("https://8347045.fs1.hubspotusercontent-na1.net/hubfs/8347045/Icons/icon_hands_5E2DC1_300px.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
  z-index: 5;
}
/* =========================================
   Success Numbers – Icon with Text Boxes
   basiert auf .hs-icon-mod + Bootstrap columns
   ========================================= */

.success-numbers-boxes .row > [class*="col-"] {
  padding: 12px; /* Abstand zwischen den Boxen */
}

.success-numbers-boxes .row > [class*="col-"] > div {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* =========================================
   Success Numbers – Icon with Text Boxes
   basiert auf .hs-icon-mod + Bootstrap columns
   ========================================= */

.success-numbers-boxes .row > [class*="col-"] {
  padding: 12px; /* Abstand zwischen den Boxen */
}

.success-numbers-boxes .row > [class*="col-"] > div {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;

  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.06);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.success-numbers-boxes .row > [class*="col-"] > div:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.18),
    0 6px 12px rgba(0, 0, 0, 0.08);
}
/* =========================================
   Success Story – Infobox (Option A final)
   Klarer Rahmen + ruhiger Shadow
   ========================================= */

.success-story-infobox {
  background: #f4f4f4 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  max-width: 360px;
  margin-left: auto;

  /* klare, aber ruhige Kante */
  border: 1px solid rgba(0, 0, 0, 0.08);

  /* erwachsener, flächiger Schatten */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Logo als klarer Header */
.success-story-infobox img {
  display: block;
  margin: 0 auto;
  max-width: 150px;
  padding: 2px 0 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Abstand zwischen Logo und Inhalt */
.success-story-infobox ul {
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

/* Faktenzeilen */
.success-story-infobox ul li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.35;
  color: #222;
}

/* Mobile */
@media (max-width: 768px) {
  .success-story-infobox {
    max-width: 100%;
    margin: 16px 0;
  }
}
/* =========================================
   Success Story – Top Jobs Cards
   Module CSS class: success-story-top-jobs
   ========================================= */

.success-story-top-jobs .row > [class*="col-"] {
  padding: 12px; /* Abstand zwischen Cards */
}

.success-story-top-jobs .row > [class*="col-"] > * {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;

  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.14);
}


/* Icon etwas harmonischer */
.success-story-top-jobs img,
.success-story-top-jobs svg,
.success-story-top-jobs i {
  margin-bottom: 14px;
}

/* Headline etwas mehr Präsenz */
.success-story-top-jobs h3,
.success-story-top-jobs h4 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* KPI-Text etwas dichter */
.success-story-top-jobs p {
  margin-bottom: 0;
  line-height: 1.35;
}
.success-story-challenges .row > [class*="col-"] > * {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;

  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.14);
}
.success-story-solutions a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-color); /* euer Violett */
}

.success-story-solutions a:hover {
  text-decoration: underline;
}
/* Strategie & Lösungen – Icons optisch beruhigen */
.success-story-solutions svg,
.success-story-solutions img {
  opacity: 0.85;        /* weniger dominant */
  margin-bottom: 18px; /* saubere Trennung zur Headline */
}
/* BLOG – Bullet- und Nummernmarker immer schwarz (scoped, hohe Spezifität) */
.post-page-full .blog-post__body ul li::marker,
.post-page-full .blog-post__body ol li::marker {
  color: #000 !important;
}

/* Vorsorge: manche Browser/Setups ignorieren ::marker-Farbe und erben color vom li.
   Daher nur für den Fall: li selbst schwarz setzen, aber Links in Listen nicht beeinflussen. */
.post-page-full .blog-post__body ul li,
.post-page-full .blog-post__body ol li {
  color: #000;
}

/* Falls Links in Listen ebenfalls schwarz werden sollten: (nur aktivieren, wenn gewünscht)
.post-page-full .blog-post__body ul li a,
.post-page-full .blog-post__body ol li a {
  color: inherit;
}
*/
/* =========================
   Mobile Optimierung – Herausforderungen
   ========================= */

@media (max-width: 767px) {

  /* Cards kompakter machen */
  .success-story-challenges .row > [class*="col-"] > * {
    padding: 20px 18px;       /* weniger Innenabstand */
  }

  /* Icon etwas kleiner */
  .success-story-challenges svg,
  .success-story-challenges img {
    width: 48px;
    height: auto;
    margin-bottom: 12px;
  }

  /* Headline enger führen */
  .success-story-challenges h3,
  .success-story-challenges h4 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
  }

  /* Text besser lesbar, aber kürzer wirkend */
  .success-story-challenges p {
    font-size: 15px;
    line-height: 1.45;
  }

  /* Abstand zwischen Cards reduzieren */
  .success-story-challenges .row {
    row-gap: 20px;
  }
}
/* FAQ: Typo leiser + Inter statt Arboria */
.faq-inter,
.faq-inter * {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* optional: Fragen weniger "laut" */
.faq-inter .accordion-button,
.faq-inter .accordion__title,
.faq-inter .accordion-title {
  font-weight: 600;
  letter-spacing: 0;
}
/* FAQ: Fragen noch ruhiger */
.faq-inter .accordion-button,
.faq-inter .accordion__title,
.faq-inter .accordion-title {
  font-size: 1.05rem;
  font-weight: 500;
}

/* Badge am gesamten Card-Wrapper (grauer Bereich) */
.clean-base.has-webinar-badge .container > .row{
  position: relative !important;
  overflow: visible !important;
}

/* Badge auf den Rand der gesamten Card */
.clean-base.has-webinar-badge .container > .row::before{
  content: "LIVE WEBINAR";
  position: absolute;
  top: -14px;
  left: 28px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 999px;

  background-color: #5e2dc1;
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
/* =========================================================
   BLOG: Podcast / Case Article – FINAL (theme-breit)
   Klassen:
   - .podcast-article (Story-Textblöcke)
   - .small-image (Quote/Testimonial Modul)
   - .podcast-learnings (Learnings Modul; sitzt bei euch auf .clean-base)
   ========================================================= */


/* ---------- Podcast Article – Rhythmus (clean) ---------- */

/* H2: einheitlich */
.podcast-article h2 {
  margin-top: 24px;
  margin-bottom: 20px;
}

/* Fließtext */
.podcast-article p {
  margin-bottom: 14px;
}

/* Listen */
.podcast-article ul,
.podcast-article ol {
  margin-bottom: 14px;
}

.podcast-article li {
  margin-bottom: 6px;
}
.podcast-article li:last-child {
  margin-bottom: 0;
}

/* Claim: H3 + direkt folgender Absatz */
.podcast-article h3 + p {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 18px 0 26px;
  letter-spacing: -0.01em;
}

/* VERSTECKTE LEERZEILEN killen (das ist sehr oft der Übeltäter) */
.podcast-article p:empty {
  display: none;
  margin: 0 !important;
}


/* ---------- 2) Quotes / Testimonials: Übergänge ---------- */
.podcast-article + .small-image {
  margin-top: 40px;
  margin-bottom: 40px;
}

.small-image + .podcast-article {
  margin-top: 60px;
}


/* ---------- 3) Learnings: sauberer Abschnitt (CleanPro Wrapper) ---------- */
/* Bei euch: <div class="clean-base podcast-learnings"> ... */
.clean-base.podcast-learnings {
  padding-top: 80px;
  padding-bottom: 80px;
}

.clean-base.podcast-learnings h2 {
  margin-bottom: 32px;
}

.clean-base.podcast-learnings li {
  margin-bottom: 14px;
  font-weight: 500;
}

.clean-base.podcast-learnings li:last-child {
  margin-bottom: 0;
}
.clean-base.podcast-learnings li {
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.6;
}
/* Podcastgäste-Block: abgerundete Ecken (grauer Hintergrund sitzt oft innen) */
body.blog-post .podcast-guests {
  border-radius: 16px;
  overflow: hidden;
}

/* Falls der Hintergrund auf inneren Wrappers liegt */
body.blog-post .podcast-guests .container,
body.blog-post .podcast-guests .row,
body.blog-post .podcast-guests [class*="col-"] {
  border-radius: 16px;
}
/* =========================================================
   Learnings – dezente Hervorhebung (brand-nah, minimal)
   ========================================================= */

.clean-base.podcast-learnings {
  /* ruhige Absetzung */
  background: rgba(103, 58, 183, 0.04); /* sehr subtiler Brand-Tint */

  /* “Card”-Feeling ohne laut zu sein */
  border-radius: 12px;

  /* Abstand innen */
  padding: 32px 28px;
}

/* Headline minimal “settlen” */
.clean-base.podcast-learnings h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

/* Liste lesbarer & wertiger */
.clean-base.podcast-learnings ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.clean-base.podcast-learnings ol li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: 500;
}

.clean-base.podcast-learnings ol li:last-child {
  margin-bottom: 0;
}

/* Zahlen einen Tick präsenter (ohne größer zu werden) */
.clean-base.podcast-learnings ol li::marker {
  font-weight: 700;
}
/* =========================================================
   Podcastgäste (grauer Block) – Radius erzwingen, inkl. ::before/::after
   ========================================================= */

body.blog-post .clean-base.podcast-guests {
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative !important; /* wichtig für Pseudo-Overlays */
}

/* Alles innerhalb erbt den Radius (falls Background innen sitzt) */
body.blog-post .clean-base.podcast-guests * {
  border-radius: inherit;
}

/* Pseudo-Elemente, die oft den grauen Hintergrund zeichnen */
body.blog-post .clean-base.podcast-guests::before,
body.blog-post .clean-base.podcast-guests::after,
body.blog-post .clean-base.podcast-guests *::before,
body.blog-post .clean-base.podcast-guests *::after {
  border-radius: 16px !important;
}

/* Falls CleanPro ein Vollflächen-Overlay nutzt (typisch) */
body.blog-post .clean-base.podcast-guests::before,
body.blog-post .clean-base.podcast-guests::after {
  overflow: hidden !important;
}
.magic-rounded {
  border-radius: 12px;
  overflow: hidden; 
}
/* Bullet-Text im magic-rounded Bereich größer */
.magic-rounded ul li {
  font-size: 18px; /* ggf. 19 oder 20 testen */
}
/* Bullet-Text im magic-rounded Bereich größer + bold */
.magic-rounded ul li {
  font-size: 18px;
  font-weight: 600; /* schöner als 700 */
}
/* Social Booster Slider – Text weiter nach innen (Spalten-Wrapper) */
.social-booster-slider .c-slide-text-container-1 {
  padding-left: 60px !important;
  padding-right: 40px !important;
  box-sizing: border-box;
}

/* falls die Klasse c-align-center den Eindruck “neutralisiert” */
.social-booster-slider .c-slide-text-1 {
  text-align: left;
}
/* falls die Klasse c-align-center den Eindruck “neutralisiert” */
.social-booster-slider .c-slide-text-1 {
  text-align: left;
}

/* Awards Proof Split: Bullet-Kachel Inhalt vertikal zentrieren (robust) */
.awards-proof-split .row > div:first-child {
  min-height: 140px;                 /* ggf. 120–180px testen */
  display: flex !important;
  align-items: center !important;     /* vertikal zentrieren */
}

/* Bullet-Element soll volle Breite bekommen + typische Abstände entfernen */
.awards-proof-split .row > div:first-child > * {
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Falls Bullet-Element intern eine Liste rendert: Standard-UL-Abstände entfernen */
.awards-proof-split .row > div:first-child ul {
  margin: 0 !important;
}
/* =========================================
   FINAL: Landingpages (.clean-base) Headings fix
   H1 = Arboria, H2–H6 = Inter
   (extra Spezifität, um template_child.min.css zu schlagen)
   ========================================= */

html body .clean-base.clean-base h1{
  font-family: var(--ff-accent) !important;
}

html body .clean-base.clean-base h2,
html body .clean-base.clean-base h3,
html body .clean-base.clean-base h4,
html body .clean-base.clean-base h5,
html body .clean-base.clean-base h6
{
  font-family: var(--ff-base) !important;
}
/* =========================================================
   ABBY JOURNEY STEPS (CLEAN + CONSOLIDATED)
   Scope: only affects the section with class "abby-journey-steps"
========================================================= */

/* --- Section spacing + CleanPro overlay background --- */
.abby-journey-steps {
  position: relative;
  padding: 72px 0;
}

/* CleanPro places the visible background on the row overlay */
.abby-journey-steps .hhs-row-overlay {
  background: linear-gradient(180deg, rgba(91, 60, 255, 0.10) 0%, rgba(255, 255, 255, 0) 65%);
}

/* --- Cards --- */
.abby-journey-steps .hhs-flexi-card {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(15, 20, 45, 0.08);
  padding: 44px 40px 36px;
}

/* Hover only on desktop devices that actually hover */
@media (hover: hover) and (min-width: 1025px) {
  .abby-journey-steps .hhs-flexi-card {
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .abby-journey-steps .hhs-flexi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 75px rgba(15, 20, 45, 0.12);
  }
}

/* --- Content overlay (Step + Headline sits above image) --- */
.abby-journey-steps .hhs-flexi-card .hhs-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Step label ("Schritt 1/2/3") */
.abby-journey-steps .hhs-flexi-card .hhs-card-content > *:first-child {
  background: rgba(15, 20, 45, 0.04);
  border: 1px solid rgba(15, 20, 45, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: none;
  display: inline-block;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* Headline inside card ("Was passt zu mir?") */
.abby-journey-steps .hhs-flexi-card .hhs-card-content p,
.abby-journey-steps .hhs-flexi-card .hhs-card-content .subhead {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: #111;
}

/* --- Image positioning --- */
.abby-journey-steps .hhs-flexi-card img {
  display: block;
  margin-top: 92px; /* controls distance between overlay-content and image */
}

/* --- Text block above cards (optional, but safe) --- */
.abby-journey-steps h2,
.abby-journey-steps h3 {
  margin-bottom: 14px;
}

.abby-journey-steps > * p,
.abby-journey-steps p {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive adjustments --- */
@media (max-width: 1024px) {
  .abby-journey-steps .hhs-flexi-card img {
    margin-top: 80px;
  }
  .abby-journey-steps .hhs-flexi-card .hhs-card-content > *:first-child {
    padding: 8px 14px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .abby-journey-steps {
    padding: 48px 0;
  }
}

@media (max-width: 600px) {
  .abby-journey-steps {
    padding-left: 12px;
    padding-right: 12px;
  }
  .abby-journey-steps .hhs-flexi-card img {
    margin-top: 70px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .abby-journey-steps .hhs-flexi-card .hhs-card-content > *:first-child {
    padding: 7px 12px;
    font-size: 15px;
  }
/* =========================================
   Abby Journey – Desktop Connector
========================================= */

@media (min-width: 1025px) {

  .abby-journey-steps .hhs-flexi-card {
    position: relative;
  }

  .abby-journey-steps .hhs-flexi-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -40px;
    width: 60px;
    height: 2px;
    background: rgba(91, 60, 255, 0.25);
    transform: translateY(-50%);
  }

  .abby-journey-steps .hhs-flexi-card:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -44px;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(91, 60, 255, 0.25);
    border-right: 2px solid rgba(91, 60, 255, 0.25);
    transform: translateY(-50%) rotate(45deg);
  }

/* =========================================
   Abby Journey – Connector (Desktop only)
========================================= */
@media (min-width: 1025px) {

  /* Wichtig: Pfeile dürfen außerhalb der Card sichtbar sein */
  .abby-journey-steps .hhs-flexi-card{
    overflow: visible;
  }

  /* Linie + Pfeil zwischen Card 1->2 und 2->3 */
  .abby-journey-steps .hhs-flexi-card:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 54%;
    right: -56px;             /* Abstand zwischen Cards */
    width: 72px;
    height: 2px;
    background: rgba(91, 60, 255, 0.28);
    transform: translateY(-50%);
    border-radius: 2px;
  }

  /* Pfeilspitze */
  .abby-journey-steps .hhs-flexi-card:not(:last-child)::before{
    content: "";
    position: absolute;
    top: 54%;
    right: -60px;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(91, 60, 255, 0.28);
    border-right: 2px solid rgba(91, 60, 255, 0.28);
    transform: translateY(-50%) rotate(45deg);
  }

  /* Optional: kleiner Node-Punkt am Linienstart (wirkt “Journey”) */
  .abby-journey-steps .hhs-flexi-card:not(:last-child) .hhs-card-content::after{
    content: "";
    position: absolute;
    top: 54%;
    right: -16px;
    width: 8px;
    height: 8px;
    background: rgba(91, 60, 255, 0.35);
    border-radius: 50%;
  }
}

/* Mobile: Connector aus */
@media (max-width: 1024px) {
  .abby-journey-steps .hhs-flexi-card::before,
  .abby-journey-steps .hhs-flexi-card::after{
    content: none !important;
  }
}