:root {

  /* ==========================================================================
     BRAND
     ========================================================================== */

  --color-primary-dark: #021538;
  --color-primary: #194781;
  
  /* ==========================================================================
     GREYS
     ========================================================================== */

  --color-grey-darker: #2C2C2B;
  --color-grey-dark: #585a5b;
  --color-grey: #8d8e8f;
  --color-grey-light: #cbcacb;

  /* ==========================================================================
     BLUES
     ========================================================================== */

  --color-blue: #81addc;
  --color-blue-light: #bed1ec;
  --color-blue-lighter: #d8e3f4;
  --color-blue-online-form: #EBF1FA;

  /* ==========================================================================
     BROWNS
     ========================================================================== */

  --color-brown: #705b48;
  --color-brown-light: #b3a598;
  --color-brown-ultra-light: #e2dcd6;

  /* ==========================================================================
     OLIVES
     ========================================================================== */

  --color-olive-darker: #4A5F20;
  --color-olive-dark: #536e31;
  --color-olive: #acc093;
  --color-olive-light: #d4ddc6;
  --color-olive-lighter: #eff1e9;

  /* ==========================================================================
     BASE
     ========================================================================== */

  --color-white: #ffffff;

  /* ==========================================================================
     STATUS COLORS
     ========================================================================== */

  --color-success: #536e31;
  --color-success-light: #d4ddc6;

  --color-warning: #705b48;
  --color-warning-light: #b3a598;

  --color-danger: #9a4a4a;
  --color-danger-light: #e7c9c9;

  --color-info: #81addc;
  --color-info-light: #bed1ec;

  /* ==========================================================================
     Font Sizes and Line Heights
     ========================================================================== */

    /* Heading: 35px → 43px */
  --fs-fluid-xl: clamp(2.9167rem, 2.5912rem + 1.2402vw, 3.5833rem);
  --lh-fluid-xl: 1.047;

  /* Before 25082026 --fs-hero-heading: clamp(2.3rem, 1.1677rem + 3.0195vw, 3.5833rem);*/
  --fs-hero-heading: clamp(2.08rem, 1.3458rem + 2.7968vw, 3.5833rem);

  --fs-fluid-lx: clamp(2.9167rem, 2.3873rem + 1.4110vw, 3.4167rem);
  --lh-fluid-lx: 1.1;

  --fs-fluid-x: clamp(1.6rem, 1.5333rem + 0.3333vw, 1.8rem);
  --lh-fluid-x: 1.2;

  --fs-fluid-l: clamp(1.4815rem, 1.4018rem + 0.3986vw, 1.6667rem);
  --lh-fluid-l: 1.15;

  --fs-fluid-lg: clamp(1.2667rem, 1.2139rem + 0.2639vw, 1.425rem);
  --lh-fluid-lg: 1.0526;

  --fs-fluid-cta: clamp(0.985rem, 0.7701rem + 0.8186vw, 1.425rem);
  --arrow-fluid-cta: clamp(25px, 17.67px + 1.7442vw, 40px);

  /* Before 270726 --fs-fluid-md: clamp(1.3333rem, 1.3056rem + 0.1389vw, 1.4167rem);*/
  /* Before 250826 --fs-fluid-md: clamp(1.2667rem, 1.2114rem + 0.2108vw, 1.38rem);*/
  --fs-fluid-md: clamp(1.1rem, 0.9693rem + 0.4978vw, 1.38rem);
  --lh-fluid-md: 1;

  --fs-fluid-ms: clamp(0.985rem, 0.944rem + 0.2053vw, 1.108rem);
  --lh-fluid-ms: 1.2;

  --fs-fluid-sm: clamp(1.1rem, 1.075rem + 0.125vw, 1.1667rem);
  --lh-fluid-sm: 1.125;

  --fs-fluid-s-plus: clamp(0.985rem, 0.9335rem + 0.1373vw, 1.04335rem);

  /* Before 270726 --fs-fluid-s: clamp(0.87rem, 0.8259rem + 0.1176vw, 0.92rem); */
  /* Before 010926 --fs-fluid-s: clamp(0.90175rem, 0.8627rem + 0.1487vw, 0.981675rem); */
  --fs-fluid-s: clamp(0.985rem, 0.9866rem + -0.0062vw, 0.981675rem);
  --lh-fluid-s: 1.25;

  --fs-fluid-xs: 0.8rem;
  --lh-fluid-xs: 1;

  --fs-fluid-nav: clamp(0.99rem, 0.97rem + 0.1vw, 1.05rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-heavy: 800;

  /* ==========================================================================
     MOBILE SPACING
     ========================================================================== */
  --space-scale: 1;
  --space-mobile-1: 0.875rem;  /* 13.9936px */
  --space-mobile-2: 1.75rem;   /* 27.9872px */
  --space-mobile-3: 2.625rem;  /* 41.9807px */
  --space-mobile-4: 3.5rem;    /* 55.9745px */
  --space-mobile-5: 5.25rem;   /* 83.9615px */

  /* ==========================================================================
     DESKTOP SPACING
     ========================================================================== */

  --space-desktop-0: 1.1354rem; /* 18.16635px */
  --space-desktop-1: 1.8038rem; /* 28.8601px */
  --space-desktop-30: calc(5.8rem * var(--space-scale)); /* 30.053 mm */
  --space-desktop-2: 2.1487rem; /* 34.3797 px */
  --space-desktop-3: 2.2708rem; /* 36.3327px */
  --space-desktop-4: 2.9597rem; /* 47.3546px */
  --space-desktop-5: 4.2975rem; /* 68.7594px */
  --space-desktop-6: 5.3244rem; /* 85.1909px */

  /* =========================================================================
     inner-content-wrapper margin top
     ========================================================================= */

  --box-nudge: 1px;
  --box-offset: calc(-1 * (
      var(--space-desktop-1)
      + (var(--fs-hero-heading) * var(--lh-fluid-l) * 2)
      + (var(--space-desktop-0) / 2)
      + var(--box-nudge)
   ));

  /* ==========================================================================
     Footer SPACING
     ========================================================================== */ 

  --space-footer-fluid: clamp(2rem, 4.45vw, 3.56rem);

  /* Misc variables */
}

@media (max-width: 1024px) {
  :root {
    --space-scale: 0.6;
  }
}

/* general CSS */

/* ==========================================================================
   Anchor link scroll offsets — tablet and mobile only
   Aquila & Partners

   Sticky header is 75px on tablet/phone.

   The sections use two padding tiers (--space-desktop-30 = 92.8px, or half
   of it = 46.4px), so a single offset makes the headings land at different
   heights. The full-padding sections get a reduced offset so all five land
   at roughly the same visual position.

   Desktop is deliberately not touched — it tests correctly as is.
   ========================================================================== */

@media (max-width: 1024px) {

	/* Half padding-top: 46.4px — base offset */
	#unsere-geschichte,      /* .geschichte-section         */
	#unsere-werte,           /* .ueber-uns-intro-section    */
	#kundenmeinungen {       /* .kundentestimonial-section  */
		scroll-margin-top: 100px;
	}

	/* Full padding-top: 92.8px — offset reduced by the extra 46.4px
	   so these headings land at the same height as the group above. */
	#beratungsschritte,      /* .beratungsschritte-section  */
	#depotbanken {           /* .depotbanken-section        */
		scroll-margin-top: calc(100px - (var(--space-desktop-30) * 0.5));
	}
}

/* ==========================================================================
   1. GLOBAL VARIABLES
   ========================================================================== */
:root {
  --site-content-width: 1280px;
  --hero-offset: var(--space-desktop-4, 2.9597rem);
  --edge-gutter: var(--padding-inline, 1.75rem);
  
  /* Large screens (> 1280px): centered offset */
  --inner-width-special: calc(1280px - (2 * var(--hero-offset)));
}

/* Compact screens (<= 1280px): accounts for the hero edge gutter */
@media (max-width: 1280px) {
  :root {
    --inner-width-special: calc(100% - (2 * (var(--edge-gutter) + var(--hero-offset))));
  }
}

/* ==========================================================================
   2. MAIN SECTION CONTAINER (Non-Hero Sections)
   Stays at 0 padding across all desktop screen sizes
   ========================================================================== */
.l-section-h {
  position: relative !important;
  margin-inline: auto !important;
  width: 100% !important;
  max-width: var(--site-content-width, 1280px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Mobile fallback for general sections (< 1025px) */
@media (min-width: 600px) and (max-width: 1280px) {
  .l-section-h {
    padding-left: var(--edge-gutter) !important;
    padding-right: var(--edge-gutter) !important;
  }
}

@media (max-width: 600px) {
  .l-section-h {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==========================================================================
   3. HERO SECTION CONTAINER (Handled Separately)
   Gets side gutters on screens <= 1280px so it never touches the screen edge
   ========================================================================== */
.hero-section .l-section-h {
  position: relative !important;
  margin-inline: auto !important;
  width: 100% !important;
  max-width: var(--site-content-width, 1280px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 600px) and (max-width: 1280px) {
  .hero-section .l-section-h {
    padding-left: var(--edge-gutter) !important;
    padding-right: var(--edge-gutter) !important;
  }
}

@media (max-width: 600px) {
  .hero-section .l-section-h {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==========================================================================
   4. INNER CONTENT WRAPPERS (Uses your variable across the site)
   ========================================================================== */
/* Mobile / Tablet Base (< 1025px) */
[class*="-inner-wrapper"],
.align-with-hero {
  width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

/* Compact Screens (1025px to 1280px):
   Adds +1.5rem on both sides (+ 2 * 1.5rem total width) */
@media (min-width: 1025px) and (max-width: 1280px) {
  [class*="-inner-wrapper"],
  .align-with-hero {
    width: calc(var(--inner-width-special) + (2 * 1.5rem)) !important;
    max-width: calc(var(--inner-width-special) + (2 * 1.5rem)) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
}

/* Large Screens (> 1280px):
   Standard variable without the extra 1.5rem additions */
@media (min-width: 1281px) {
  [class*="-inner-wrapper"],
  .align-with-hero {
    width: var(--inner-width-special) !important;
    max-width: var(--inner-width-special) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
}

/* Main Navigation */
.main-navigation .w-nav-title {
    font-size: var(--fs-fluid-nav);
    font-weight: var(--fw-bold);
    line-height: 1.2;
}

/* Mobile navigation */
.mobile-navigation-section {
    height: auto;
    background:  #c6d7f0;
    color: var(--color-primary, #194781);
    padding-block: 2.6rem;
}

.w-nav.type_mobile.m_layout_fullscreen .w-nav-list.level_1 {
    top: 75px !important;
    height: fit-content !important;
    max-height: calc(100% - 75px);
    justify-content: flex-start !important;
    align-items: stretch;
}

.w-nav.type_mobile.m_layout_fullscreen .w-nav-list.level_1 > li:first-child {
    margin-top: 0 !important;
}

.w-nav.type_mobile.m_layout_fullscreen .w-nav-list.level_1 > li:nth-last-child(2) {
    margin-bottom: 0 !important;
}

.w-nav.type_mobile.m_layout_fullscreen .w-nav-list.level_1 > li.w-nav-close {
    flex: 0 0 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden;
}

.mobile-navigation-section a {
    display: inline-block;
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-bold, 700);
    color: var(--color-primary, #194781);
    line-height: 1;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.mobile-navigation-section .menu-item {
    text-align: center;
    padding-block: 1.1rem;
    position: relative;
}

.mobile-navigation-section .menu-item:first-child {
    padding-top: 0;
}

.mobile-navigation-section li.menu-item {
   line-height: 1;
}

.mobile-navigation-section .menu-item::after {
    content: "";
    display: block;
    width: 45%;
    margin: 0 auto;
    border-bottom: 1px solid #585a5b;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* Icons row */
.mobile-navigation-section .mobile-navigation__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}
.mobile-navigation-section .mobile-navigation__icon {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--color-primary, #194781);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-primary, #194781);
    font-weight: normal;
    transition: color .3s ease, border-color .3s ease;
}
.mobile-navigation-section .mobile-navigation__icon i {
    font-size: var(--fs-fluid-s);
    line-height: 1;
}
.mobile-navigation-section .mobile-navigation__icon:hover {
    color: #FFFFFF !important;
    background: var(--color-primary, #194781) !important;
    border-color: var(--color-primary, #194781) !important;
}

.main-logo {
   margin-top: 30px;
   margin-left: -10px!important;
   z-index: 999;
}

@media (min-width: 1025px) {
   .main-logo {
     margin-top: 0px;
   }
}

.mobile-navigation__icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}
.mobile-navigation__icon {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--color-primary, #194781);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-primary, #194781);
    transition: color .3s ease, border-color .3s ease;
}
.mobile-navigation__icon i {
    font-size: var(--fs-fluid-s);
    line-height: 1;
}
.mobile-navigation__icon:hover {
    color: #FFFFFF !important;
    background: var(--color-primary, #194781) !important;
    border-color: var(--color-primary, #194781) !important;
}

.mobile-navigation .w-nav-icon {
    top: 15px;
}

/* ============================================
   TEXT BUTTONS (arrow + label)
   ============================================ */
.text-btn {
  --btn-text:  var(--color-primary, #194781);
  --btn-arrow: var(--color-primary, #194781);

  display: inline-flex;
  align-items: center;
  gap: 0rem;
  color: var(--btn-text);
  text-decoration: none;
  transition: opacity 0.25s ease, font-weight 0.15s ease;
}
.text-btn i,
.text-btn svg {
  color: var(--btn-arrow);
}
/* Default */
.text-btn svg {
  width: 30px;
  height: auto;
  flex-shrink: 0;
  margin-right: 0.6rem;
}

/* Arrow sizes */
.text-btn.arrow-30 svg {
  width: 30px;
}

/*.text-btn.arrow-40 svg {
  width: 40px;
}*/

.text-btn.arrow-40 svg {
  width: var(--arrow-fluid-cta);
}

.text-btn:hover {
  opacity: 1;
  font-weight: var(--fw-heavy);
}

/* Variants — each only sets the two colour vars */

/* white label + light-blue arrow → dark cards */
.btn-blue {
  --btn-text:  var(--color-white, #ffffff);
  --btn-arrow: var(--color-blue, #81addc);
}

.btn-green {
  --btn-text:  var(--color-success, #536e31);
  --btn-arrow: var(--color-blue, #81addc);
}

/* blue label + brown arrow → light cards */
.btn-brown {
  --btn-text:  var(--color-primary, #194781);
  --btn-arrow: var(--color-brown, #705b48);
}

/* Lock global text buttons to use their explicit color vars on hover, modifying only opacity */
.text-btn:hover {
    color: var(--btn-text) !important;
    font-weight: var(--fw-heavy);
}

.text-btn:hover i,
.text-btn:hover svg {
    color: var(--btn-arrow) !important;
}

.w-btn-wrapper {
   margin: 0!important;
}

/* Fix for buttons inside the startseite blog category loop grid */
.startseite-blog-grid .w-grid-item:hover .blog-cta .text-btn {
    opacity: 1 !important;
}

.intro-inner-wrapper {
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
.intro-inner-wrapper {
   width: var(--inner-width-special);
   margin-inline: auto;
}
}

/* Generelle Section CSS */


/* --- Hero Section --- */
.hero-section {
   /* Mobile: No padding on top, --space-mobile-2 on bottom */
   padding: 0 0 var(--space-mobile-2); 
   background: var(--color-white);
}

/* Mobile-first grid setup */
.hero-section .vc_column-inner > .wpb_wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0;
}

/* Mobile Order Swap: Force second element to top, first to bottom */
.hero-section .vc_column-inner > .wpb_wrapper > *:nth-child(1) { 
   order: 2 !important; 
}
.hero-section .vc_column-inner > .wpb_wrapper > *:nth-child(2) { 
   order: 1 !important; 
}


/* --- Inner Content Wrapper --- */
.startseite .inner-content-wrapper {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: var(--space-desktop-1) var(--space-mobile-2); 
   margin-top: var(--box-offset);
   margin-bottom: 0;
   margin-left: var(--space-mobile-2);
   margin-right: var(--space-mobile-2);
   color: var(--color-white);
   background: var(--color-primary);
   background: color-mix(in srgb, var(--color-primary) 90%, transparent);
   gap: var(--space-desktop-0);
   z-index: 2;
}

@media (min-width: 1025px) {
   .startseite .inner-content-wrapper {
      padding: var(--space-desktop-4) var(--space-mobile-4);
      margin-inline: 0;
      margin-top: 0rem;
      margin-bottom: -5rem;
   }
}

.hero-heading h1 {
   color: var(--color-white);
   line-height: var(--lh-fluid-l);
   font-size: var(--fs-hero-heading);
   font-weight: var(--fw-heavy);
}

@media (min-width: 1025px) {
   .hero-heading h1 {
      font-size: var(--fs-hero-heading);
      line-height: var(--lh-fluid-lx);
   }
}

.hero-intro {
   color: var(--color-white);
   line-height: var(--lh-fluid-l);
   width: 100%;
   font-size: var(--fs-fluid-md);
   font-weight: var(--fw-light);
}

/* --- Desktop Responsive Styles --- */
@media (min-width: 1025px) {
   .hero-section {
      /* Restore original desktop padding */
      padding: var(--space-desktop-3) 0 var(--space-desktop-2);
   }

   .hero-section .vc_column-inner > .wpb_wrapper {
      grid-template-columns: 35% 65%; 
   }

   /* Desktop Order Reset: Forces them back to normal left-to-right */
   .hero-section .vc_column-inner > .wpb_wrapper > *:nth-child(1) { 
      order: 0 !important; 
   }
   .hero-section .vc_column-inner > .wpb_wrapper > *:nth-child(2) { 
      order: 0 !important; 
   }

   .inner-content-wrapper {
      width: 140%;
      position: relative;
      z-index: 10;
      margin: auto 0 var(--space-desktop-1);
   }

   .hero-intro {
      width: 80%;
   }
}

.team-seite .hero-intro {
   color: var(--color-white, #FFFFFF);
}

.vermoegensverwaltun-seite .hero-intro {
    color: var(--color-primary, #194781);
}

/* Startseite CSS */
/* Video Section */
.startseite-video-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.video-section-inner-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   width: 100%;
   margin-inline: auto;
   gap: 0;
}

@media (min-width: 1025px) {
.video-section-inner-wrapper {
   display: grid;
   grid-template-columns: 42% 58%;
   width: var(--inner-width-special);
   margin-inline: auto;
   gap: 0;
}
}

.video-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    width: 90%;
    padding-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .video-section-title {
      width: 100%;
   }
}

.video-section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
}

.video-section-intro p {
   margin-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .video-section-title,
   .video-section-intro {
      width: 80%;
   }
}

.startseite-video-section .brown-btn {
   margin-bottom: var(--space-desktop-1);
}

@media (min-width: 1025px) {
   .startseite-video-section .brown-btn {
      margin-bottom: 0;
}
}

.video-media {
    position: relative;
    color: var(--color-blue-light, #bed1ec);
}

/*.video-media::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5rem;
    aspect-ratio: 344.85 / 237.83;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344.85 237.83'%3E%3Cpath d='M337.49 37.34c-3.98-14.75-15.33-26.16-30.42-30.09C280.27 0 172.24 0 172.24 0S64.46 0 37.78 7.25C22.93 11.17 11.35 22.59 7.12 37.34 0 63.5 0 118.68 0 118.68S0 174.21 7.12 200.61c4.22 14.39 15.81 26.04 30.66 30.09 26.68 7.13 134.46 7.13 134.46 7.13h0s108.03 0 134.83-7.13c15.09-4.04 26.43-15.7 30.42-30.09 7.36-26.4 7.36-81.93 7.36-81.93s0-55.18-7.36-81.34ZM136.75 169.45V68.37l89.19 50.54-89.19 50.54Z'/%3E%3C/svg%3E") center / contain no-repeat;

            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344.85 237.83'%3E%3Cpath d='M337.49 37.34c-3.98-14.75-15.33-26.16-30.42-30.09C280.27 0 172.24 0 172.24 0S64.46 0 37.78 7.25C22.93 11.17 11.35 22.59 7.12 37.34 0 63.5 0 118.68 0 118.68S0 174.21 7.12 200.61c4.22 14.39 15.81 26.04 30.66 30.09 26.68 7.13 134.46 7.13 134.46 7.13h0s108.03 0 134.83-7.13c15.09-4.04 26.43-15.7 30.42-30.09 7.36-26.4 7.36-81.93 7.36-81.93s0-55.18-7.36-81.34ZM136.75 169.45V68.37l89.19 50.54-89.19 50.54Z'/%3E%3C/svg%3E") center / contain no-repeat;
}*/

.vorteile-icon-section {
   padding-top: calc(var(--space-desktop-30) * 0.5);
   padding-bottom: var(--space-desktop-30);
}

.vorteile-icon-section-title {
   font-size: var(--fs-fluid-x);
   line-height: var(--lh-fluid-x);
   font-weight: var(--fw-heavy);
   text-align: center;
   color: var(--color-primary, #194781);
}

.vorteil-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 80px;
    height: 70px;
    margin: 0 auto;
}

.vorteil-media-icon p {
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.vorteil-media-icon svg {
    display: block;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    color: var(--color-blue, #81addc);
}

.vorteil-label {
   font-size: var(--fs-fluid-sm);
   line-height: var(--lh-fluid-sm);
   font-weight: var(--fw-heavy);
   color: var(--color-primary, #194781);
   margin-bottom: 0.3rem!important;
}

@media (min-width: 1025px) {
   .vorteil-label {
      margin-bottom: 0.1rem!important;
   }
}

.vorteil-inhalt {
   font-size: calc(var(--fs-fluid-s) * 0.9);
   line-height: var(--lh-fluid-sm);
   font-weight: var(--fw-light);
   color: var(--color-primary, #194781);
}

/* mobile first: 2 per row */
.vorteil-grid-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* mobile: 2 per row */
.vorteil-grid-wrap .w-grid-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
}

/* tablet: 3 per row */
@media (min-width: 601px) {
    .vorteil-grid-wrap .w-grid-item {
        flex: 0 0 calc((100% - 3rem) / 3);
    }
}

/* desktop: 5 per row, 4th row centers automatically */
@media (min-width: 1025px) {
    .vorteil-grid-wrap .w-grid-item {
        flex: 0 0 calc((100% - 6rem) / 5);
    }
}

.teammitglied-zitat-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.teammitglied-zitat-grid {
   width: 100%;
   margin-inline: auto;
}

.teammitglied-zitat-grid-item {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0;
}

@media (min-width: 1025px) {
.teammitglied-zitat-grid {
   width: var(--inner-width-special);
   margin-inline: auto;
}
.teammitglied-zitat-grid-item {
   display: grid;
   grid-template-columns: 58% 42%;
   gap: 0;
}
}

.teammitglied-zitat-inhalt-wrapper {
   padding: var(--space-desktop-1) 0 0 0;
   width: 90%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
   .teammitglied-zitat-inhalt-wrapper {
      padding: 0 var(--space-desktop-1) 0 var(--space-desktop-1);
      width: 100%;
      margin-inline: auto;
   }
}

.teammitlied-zitat-inhalt {
    font-size: var(--fs-fluid-x);
    line-height: var(--lh-fluid-x);
    font-weight: var(--fw-light);
    color: var(--color-brown, #705b48);
    font-style: italic;
    padding-bottom: var(--space-desktop-0);
}

@media (max-width: 1024px) {
   .teammitlied-zitat-inhalt {
      font-size: var(--fs-fluid-lg);
      line-height: var(--lh-fluid-lg);
      font-weight: var(--fw-light);
      color: var(--color-brown, #705b48);
      font-style: italic;
      padding-bottom: var(--space-desktop-0);
   }
}

.teammitglied-zitat-name-vorname {
   color: var(--color-brown, #705b48);
   font-size: var(--fs-fluid-s);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-bold);
}

.teammitglied-zitat-in-firma-seit {
   color: var(--color-brown, #705b48);
   font-size: var(--fs-fluid-s);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-light);
}

.teammitglied-zitat-grid .dotstyle_circle .owl-dot.active span {
    background: transparent !important;
    box-shadow: 0 0 0 2px var(--color-brown, #705b48)!important;
    opacity: 1;
}

.teammitglied-zitat-grid .dotstyle_circle .owl-dot span {
    background: var(--color-brown, #705b48)!important;
}

/* Grundsatz Grid Section */
.grundsatz-grid-section {
   padding-top: calc(var(--space-desktop-30) * 0.5);
   padding-bottom: var(--space-desktop-30);
}

/* ============================================
   GRUNDSATZ GRID
   ============================================ */
.grundsatz-grid {
   width: 100%;
   margin-inline: auto;
}

.grundsatz-grid .w-grid-list {
   column-gap: var(--space-mobile-1)!important;
   row-gap: var(--space-mobile-1)!important;
}

@media (min-width: 1025px) {
   .grundsatz-grid .w-grid-list {
      column-gap: var(--space-mobile-2)!important;
      row-gap: var(--space-mobile-2)!important;
   }
   .grundsatz-grid {
      width: 84%;
      margin-inline: auto;
   }
}

.grundsatz-grid .btn-blue {
   font-weight: var(--fw-bold);
   transition: font-weight 0.3s ease;
}

/* Card surface */
.grundsatz-grid .grundsatz-grid-item {
  height: 100%;
  gap: 0;
  padding: clamp(1rem, 0.8rem + 1vw, 1.4rem);
  padding-left: 0.1rem;
  background: var(--color-blue-lighter, #d8e3f4);
  align-items: flex-start;
}

/* Icon (currentColor → driven by wrapper colour) */
.grundsatz-grid .grundsatz-grid-icon {
  flex-shrink: 0;
  line-height: 0;
  color: var(--color-blue, #81addc);
  margin-top: -20px;
}
.grundsatz-grid .grundsatz-grid-icon p {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}
.grundsatz-grid .grundsatz-grid-icon svg {
  display: block;
  width: 100px;
  height: 100px;
}

/* Title + body */
.grundsatz-grid .grundsatz-grid-title {
  color: var(--color-primary, #194781);
  font-size: var(--fs-fluid-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-fluid-lg);
}
.grundsatz-grid .grundsatz-grid-inhalt {
  color: var(--color-primary, #194781);
  font-size: var(--fs-fluid-s);
  line-height: var(--lh-fluid-s);
  font-weight: var(--fw-light);
}

.grundsatz-grid .grundsatz-grid-title,
.grundsatz-grid .grundsatz-grid-inhalt {
   width: 100%;
}

@media (min-width: 1025px) {
   .grundsatz-grid .w-grid-item:not(:last-child) .grundsatz-grid-title,
   .grundsatz-grid .w-grid-item:not(:last-child) .grundsatz-grid-inhalt {
      width: 80%;
   }
}

@media (max-width: 600px) {
   .grundsatz-grid .grundsatz-grid-title {
      width: 94%;
   }

   .grundsatz-grid .grundsatz-grid-inhalt {
      width: 90%;
   }
}

/* Featured (dark) card — bottom-right / last item */
.grundsatz-grid .w-grid-item:last-child .grundsatz-grid-item  { background: var(--color-brown, #705b48); }
.grundsatz-grid .w-grid-item:last-child .grundsatz-grid-icon  { color: var(--color-white, #ffffff); }
.grundsatz-grid .w-grid-item:last-child .grundsatz-grid-title { color: var(--color-white, #ffffff); }
.grundsatz-grid .w-grid-item:last-child .grundsatz-grid-inhalt{ color: var(--color-white, #ffffff); }

.grundsatz-grid .w-grid-item:hover .text-btn {
   color: var(--btn-text) !important;
   opacity: 1;
   font-weight: var(--fw-heavy);
}

/* Startseite kunden Testimonial */
.kundentestimonial-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
   background: var(--color-olive-lighter, #eff1e9);
}

.kundentestimonial-section-title  {
    color: var(--color-olive-dark, #536e31);
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-lg);
    text-align: center;
}

.kundentestimonial-grid {
   width: 100%;
   margin-inline: auto;
}

.kundentestimonial-grid-item {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0;
}

/* Force the image wrapper to the top, and text wrapper to the bottom */
.kundentestimonial-grid-item .kundentestimonial-inhalt-wrapper {
   order: 2;
}

.kundentestimonial-grid-item .kundentestimonial-media {
   order: 1;
}

@media (min-width: 1025px) {
.kundentestimonial-grid {
   width: 78%;
   margin-inline: auto;
}
.kundentestimonial-grid-item {
   display: grid;
   grid-template-columns: 45% 55%;
   gap: 0;
}

/* Reset the order for desktop so text is left (45%) and image is right (55%) */
.kundentestimonial-grid-item .kundentestimonial-inhalt-wrapper {
   order: unset; /* or 1 */
}
   
.kundentestimonial-grid-item .kundentestimonial-media {
   order: unset; /* or 2 */
}
}

.kundentestimonial-grid .owl-stage-outer {
    overflow: hidden !important;
}

.kundentestimonial-grid .owl-item {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* before 01092026 .kundentestimonial-inhalt-wrapper {
   padding: var(--space-desktop-1) var(--space-desktop-1) 0 var(--space-desktop-1);
} */

.kundentestimonial-inhalt-wrapper {
   padding: var(--space-desktop-1) 0 0 0;
   width: 90%;
   margin-inline: auto;
}

/* Mobile only: beat Impreza's .w-grid .w-hwrapper>*:not(:last-child) margin-inline-end */
@media (max-width: 1024px) {
   .kundentestimonial-grid .w-hwrapper.kundentestimonial-grid-item > .kundentestimonial-inhalt-wrapper {
      margin-inline: auto;
   }
}

@media (min-width: 1025px) {
   .kundentestimonial-inhalt-wrapper {
      padding: 0 var(--space-desktop-1) 0 var(--space-desktop-1);
      width: 100%;
      margin-inline: auto;
   }
}

.kundentestimonial-inhalt {
    font-size: var(--fs-fluid-lg);
    line-height: var(--lh-fluid-lg);
    font-weight: var(--fw-light);
    color: var(--color-olive-dark, #536e31);
    font-style: italic;
    padding-bottom: var(--space-desktop-0);
}

.kundentestimonial-name-vorname {
   color: var(--color-olive-dark, #536e31);
   font-size: var(--fs-fluid-s);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-bold);
}

.kundentestimonial-funktion {
   color: var(--color-olive-dark, #536e31);
   font-size: var(--fs-fluid-s);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-light);
}

.kundentestimonial-grid .dotstyle_circle .owl-dot.active span {
    background: transparent !important;
    box-shadow: 0 0 0 2px var(--color-olive-dark, #536e31)!important;
    opacity: 1;
}

.kundentestimonial-grid .dotstyle_circle .owl-dot span {
    background: var(--color-olive-dark, #536e31)!important;
}

/* Startseite partnerschaftliche zusammenarbeit section */
.zusammenarbeit-section {
   padding-top: var(--space-desktop-30);
   padding-bottom: calc(var(--space-desktop-30) * 0.5);
}

.zusammenarbeit-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-grey, #8d8e8f);
    padding-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .zusammenarbeit-section-title {
      font-size: var(--fs-fluid-x);
      line-height: var(--lh-fluid-x);
      text-align: center;
      padding-bottom: 0;
   }
}

.zusammenarbeit-section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    width: 100%;
    margin-top: 0;
    padding-bottom: var(--space-mobile-3);
}

@media (min-width: 1025px) {
.zusammenarbeit-section-intro {
   color: var(--color-primary, #194781);
   text-align: center;
   margin-inline: auto;
   width: 100%;
   font-size: var(--fs-fluid-lg);
   font-weight: var(--fw-light);
   line-height: var(--lh-fluid-lg);
   margin-top: calc(var(--space-mobile-1) * 0.5);
   padding-bottom: var(--space-mobile-3);
}
}

@media (min-width: 1025px) {
   .zusammenarbeit-section-intro {
      width: 65%;
      text-align: center;
      margin-inline: auto;
}
}

.zusammenarbeit-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-desktop-1);
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
.zusammenarbeit-wrapper {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: var(--space-desktop-1);
   width: 65%;
   margin-inline: auto;
   align-items: end;
}
}

/* base colours */
.logo-seg.aqp-green { color: #acc093; }
.logo-seg.aqp-blue  { color: #194781; }
.logo-seg.aqp-gray  { color: #585a5b; }

.aqp-box.aqp-green { background-color: #acc093; }
.aqp-box.aqp-blue  { background-color: #194781; }
.aqp-box.aqp-gray  { background-color: #585a5b; }

.logo-seg.aqp-blue path:nth-of-type(2) {color: #8d8e8f;}
.logo-seg.aqp-blue polygon {fill: #8d8e8f;}

/* the animation */
.logo-seg { transition: color .25s ease; }
.aqp-box  { transition: background-color .25s ease, color .25s ease; }

/* circles — unchanged hover */
.zusammenarbeit-wrapper:has(.aqp-green:hover) .logo-seg.aqp-green { color: #4A5F20; }
.zusammenarbeit-wrapper:has(.aqp-blue:hover) .logo-seg.aqp-blue { color: #021538; }
.zusammenarbeit-wrapper:has(.aqp-gray:hover) .logo-seg.aqp-gray { color: #2C2C2B; }

/* boxes — new hover colours */
.zusammenarbeit-wrapper:has(.aqp-green:hover) .aqp-box.aqp-green {
   background-color: #4A5F20;
   color: #FFFFFF;
}
.zusammenarbeit-wrapper:has(.aqp-blue:hover) .aqp-box.aqp-blue {
   background-color: #021538;
   color: #FFFFFF;
}
.zusammenarbeit-wrapper:has(.aqp-gray:hover) .aqp-box.aqp-gray {
   background-color: #2C2C2B;
   color: #FFFFFF;
}

/* green box text turns white on hover (default is dark) */
.zusammenarbeit-wrapper:has(.aqp-green:hover) .aqp-box.aqp-green h3,
.zusammenarbeit-wrapper:has(.aqp-green:hover) .aqp-box.aqp-green ul,
.zusammenarbeit-wrapper:has(.aqp-green:hover) .aqp-box.aqp-green li {
   color: #FFFFFF;
}

.aqp-box h3,
.aqp-box ul,
.aqp-box li {
   line-height: 1.25;
   margin: 0;
   font-size: var(--fs-fluid-s);
   transition: color .25s ease;
}

.aqp-box h3 {
   font-weight: var(--fw-bold);
}

.aqp-box ul {
   list-style-type: disc;
   margin-inline-start: 1.3rem;
}

.aqp-box ul li {
   font-weight: var(--fw-light);
}

.aqp-box {
   padding: 1.25rem 1.5rem;
}

.aqp-box h3,
.aqp-box ul,
.aqp-box li {
   color: var(--color-white, #ffffff);
}

.aqp-box.aqp-green h3,
.aqp-box.aqp-green ul,
.aqp-box.aqp-green li {
   color: var(--color-grey-darker, #2C2C2B);
}

.aqp-box ul {
   max-width: 100%;
}

@media (max-width: 600px) {
   .aqp-box ul {
      max-width: 84%;
   }
}

/* Leistungen Section */
.leistungen-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.leistungen-section-intro {
   color: var(--color-grey, #8d8e8f);
   text-align: center;
   margin-inline: auto;
   width: 100%;
   font-size: var(--fs-fluid-x);
   font-weight: var(--fw-heavy);
   line-height: var(--lh-fluid-x);
   padding-bottom: var(--space-mobile-2);
}

@media (min-width: 601px) {
   .leistungen-section-intro {
      color: var(--color-grey, #8d8e8f);
      text-align: center;
      margin-inline: auto;
      width: 100%;
      font-size: var(--fs-fluid-x);
      font-weight: var(--fw-heavy);
      line-height: var(--lh-fluid-x);
      padding-bottom: var(--space-mobile-2);
}
}

.leistungen-grid .leistung-title {
   font-size: var(--fs-fluid-lg);
   font-weight: var(--fw-heavy);
   line-height: var(--lh-fluid-ms);
   padding-bottom: calc(var(--space-mobile-2) * 0.5);
}

.leistungen-grid .leistung-inhalt {
   font-size: var(--fs-fluid-s);
   font-weight: var(--fw-light);
   line-height: 1.25;
}

.leistungen-grid .leistung-inhalt .text-btn {
   margin-top: var(--space-desktop-1);
   font-weight: var(--fw-bold);
}

.leistungen-grid .w-grid-item:hover .text-btn {
    color: var(--btn-text) !important;
    opacity: 1;
    font-weight: var(--fw-heavy);
}

.leistungen-grid .leistung-item {
   padding: var(--space-desktop-1) var(--space-desktop-2);
}

.leistungen-grid .w-grid-item-h {
   transition: background-color .25s ease;
}

.leistungen-grid .card-blue .w-grid-item-h { background-color: var(--color-primary, #194781); }
.leistungen-grid .card-blue .leistung-title,
.leistungen-grid .card-blue .leistung-inhalt { color: var(--color-white, #ffffff); }

.leistungen-grid .card-green .w-grid-item-h { background-color: var(--color-olive-lighter, #eff1e9); }
.leistungen-grid .card-green .leistung-title,
.leistungen-grid .card-green .leistung-inhalt { color: var(--color-olive-dark, #536e31); }

.leistungen-grid .card-sand .w-grid-item-h { background-color: var(--color-brown-ultra-light, #e2dcd6); }
.leistungen-grid .card-sand .leistung-title,
.leistungen-grid .card-sand .leistung-inhalt { color: var(--color-brown, #705b48); }

.leistungen-grid .card-blue .w-grid-item-h,
.leistungen-grid .card-green .w-grid-item-h {
   transition: background-color .4s ease;
}

/* card-blue: hover to darker navy */
.leistungen-grid .card-blue .w-grid-item-h:hover {
   background-color: #021538;
}

/* card-green: hover to lighter olive/sand tone */
.leistungen-grid .card-green .w-grid-item-h:hover {
   background-color: #dde2cc;
}

/* fallback hover background when no image is set */
.leistungen-grid .has-hover-bild .w-grid-item-h {
   transition: background-color .4s ease;
}
.leistungen-grid .has-hover-bild .w-grid-item-h:hover {
   background-color: #CABFB4;
}

/* ===== Card WITH hover image only ===== */

/* base */
.leistungen-grid .has-hover-bild .w-grid-item-h {
   position: relative;
   overflow: hidden;
   background-color: var(--color-brown-ultra-light, #e2dcd6);
}

/* image layer – fades in on hover */
.leistungen-grid .has-hover-bild .w-grid-item-h::after {
   content: "";
   position: absolute;
   inset: 0;
   background-image: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)), var(--hover-bild);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   opacity: 0;
   transition: opacity .4s ease;
   pointer-events: none;
}
.leistungen-grid .has-hover-bild .w-grid-item-h:hover::after {
   opacity: 1;
}

/* keep text above the image */
.leistungen-grid .has-hover-bild .leistung-item {
   position: relative;
   z-index: 1;
}

/* title – stays, changes colour on hover */
.leistungen-grid .has-hover-bild .leistung-title {
   transition: color .4s ease;
}
.leistungen-grid .has-hover-bild .w-grid-item-h:hover .leistung-title {
   color: #fff;
}

/* body text – disappears on hover */
.leistungen-grid .has-hover-bild .leistung-inhalt {
   transition: opacity .4s ease;
}
.leistungen-grid .has-hover-bild .w-grid-item-h:hover .leistung-inhalt {
   opacity: 0;
}

/* ===== Tablet and below – normal inset boxes ===== */
@media (max-width: 1024px) {
   .leistungen-grid {
      --gap: 0.875rem;
      /*padding-left: 1.5rem;
      padding-right: 1.5rem;*/
   }
}

@media (max-width: 600px) {
   .leistungen-grid {
      /*padding-left: 1.25rem;
      padding-right: 1.25rem;*/
   }
}

.leistungen-grid .dotstyle_circle .owl-dot.active span {
    background: transparent !important;
    box-shadow: 0 0 0 2px var(--color-primary, #194781)!important;
    opacity: 1;
}

.leistungen-grid .dotstyle_circle .owl-dot span {
    background: var(--color-primary, #194781)!important;
}

/* Align all card links at the bottom */
.leistungen-grid .leistung-item {
   display: flex;
   flex-direction: column;
   height: 100%;
}

.leistungen-grid .leistung-inhalt {
   display: flex;
   flex-direction: column;
   flex: 1;
}

.leistungen-grid .leistung-inhalt > p:last-child {
   margin-top: auto;
}

/* =========================================================
   TABLET
   Single carousel item uses original image aspect ratio
   1280 × 853
   ========================================================= */

@media (min-width: 601px) and (max-width: 1024px) {

   .leistungen-grid .w-grid-item-h {
      aspect-ratio: 1280 / 853;
      height: auto !important;
   }

   .leistungen-grid .leistung-item {
      height: 100%;
   }

   /* Larger typography for single-card tablet layout */
   .leistungen-grid .leistung-title {
      font-size: var(--fs-fluid-x);
      line-height: var(--lh-fluid-x);
   }

   .leistungen-grid .leistung-inhalt {
      font-size: var(--fs-fluid-sm);
      line-height: var(--lh-fluid-sm);
   }
}

/* Smartphones */
@media (max-width: 600px) {

   /* Don't push the link area to the bottom */
   .leistungen-grid .leistung-inhalt > p:last-child {
      margin-top: 0;
   }

   /* Reduce spacing between content and button */
   .leistungen-grid .leistung-inhalt .text-btn {
      margin-top: calc(var(--space-mobile-1) * 0.5);
   }
}

/* ==========================================================
   Mobile: automatically alternate text / hover image
   Only cards with .has-hover-bild
   ========================================================== */

@media (max-width: 600px) {

   /* Image:
      0–3 sec  = hidden
      3–6 sec  = visible
   */
   .leistungen-grid .has-hover-bild .w-grid-item-h::after {
      animation: leistung-mobile-image 6s ease-in-out infinite;
   }

   /* Body text does the opposite */
   .leistungen-grid .has-hover-bild .leistung-inhalt {
      animation: leistung-mobile-text 6s ease-in-out infinite;
   }

   /* Title stays visible, but changes to white over image */
   .leistungen-grid .has-hover-bild .leistung-title {
      animation: leistung-mobile-title 6s ease-in-out infinite;
   }

   @keyframes leistung-mobile-image {
      0%,
      45% {
         opacity: 0;
      }

      55%,
      95% {
         opacity: 1;
      }

      100% {
         opacity: 0;
      }
   }

   @keyframes leistung-mobile-text {
      0%,
      45% {
         opacity: 1;
      }

      55%,
      95% {
         opacity: 0;
      }

      100% {
         opacity: 1;
      }
   }

   @keyframes leistung-mobile-title {
      0%,
      45% {
         color: var(--color-brown, #705b48);
      }

      55%,
      95% {
         color: #fff;
      }

      100% {
         color: var(--color-brown, #705b48);
      }
   }
}


/* Startseite Blog */
.startseite-blog-news-section {
   padding-top: calc(var(--space-desktop-30) * 0.5);
   padding-bottom: var(--space-desktop-30);
}
.startseite-blog-grid .blog-media {

}

.startseite-blog-grid .blog-meta {
   margin-top: calc(var(--space-desktop-1) * 0.5)!important;
   margin-bottom: calc(var(--space-desktop-1) * 0.5)!important;
}

.startseite-blog-grid .blog-date {
   font-size: var(--fs-fluid-xs);
   line-height: var(--lh-fluid-xs);
   font-weight: var(--fw-light);
   margin-bottom: calc(var(--space-desktop-1) * 0.1)!important;
}

.startseite-blog-grid .post-meta-line {
   font-size: var(--fs-fluid-xs);
   line-height: var(--lh-fluid-xs);
   font-weight: var(--fw-light);
   margin-bottom: calc(var(--space-desktop-1) * 0.1)!important;
}

.startseite-blog-grid .post-meta-line .post-meta-category {
    font-size: var(--fs-fluid-xs);
    line-height: var(--lh-fluid-xs);
    font-weight: var(--fw-heavy);
}

.startseite-blog-grid .blog-category-title {
   font-size: var(--fs-fluid-ms);
   line-height: var(--lh-fluid-ms);
   font-weight: var(--fw-heavy);
}

.startseite-blog-grid .blog-title {
   font-size: var(--fs-fluid-lg);
   font-weight: var(--fw-light);
   line-height: var(--lh-fluid-lg);
   margin-bottom: calc(var(--space-desktop-1) * 0.5)!important;
   width: 90%;
}

@media (min-width: 1025px) {
   .startseite-blog-grid .blog-title {
      margin-bottom: var(--space-desktop-1)!important;
   }
}

.startseite-blog-grid .blog-excerpt {
   font-size: var(--fs-fluid-s);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-light);
   margin-bottom: var(--space-desktop-1)!important;
   width: 90%;
}

.startseite-blog-grid .blog-cta .text-btn  {
   font-size: var(--fs-fluid-xs);
   line-height: var(--lh-fluid-s);
   font-weight: var(--fw-bold);
}

.startseite-blog-grid .dotstyle_circle .owl-dot.active span {
    background: transparent !important;
    box-shadow: 0 0 0 2px var(--color-primary, #194781)!important;
    opacity: 1;
}

.startseite-blog-grid .dotstyle_circle .owl-dot span {
    background: var(--color-primary, #194781)!important;
}

/* ==========================================================================
   Category Specific Colors (All Grid Card Elements)
   ========================================================================== */

/* 1. A&P Monitor (--color-primary) */
.category-ap-monitor .blog-date,
.category-ap-monitor .blog-category-title,
.category-ap-monitor .blog-title,
.category-ap-monitor .blog-title a,
.category-ap-monitor .blog-excerpt,
.category-ap-monitor .blog-cta .text-btn,
.category-ap-monitor .post-meta-line {
    color: var(--color-primary) !important;
}

/* 2. Finanz-Talk (--color-grey-dark) */
.category-finanz-talk .blog-date,
.category-finanz-talk .blog-category-title,
.category-finanz-talk .blog-title,
.category-finanz-talk .blog-title a,
.category-finanz-talk .blog-excerpt,
.category-finanz-talk .blog-cta .text-btn,
.category-finanz-talk .post-meta-line {
    color: var(--color-grey-dark) !important;
}

/* 3. Über uns (--color-brown) */
.category-ueber-uns .blog-date,
.category-ueber-uns .blog-category-title,
.category-ueber-uns .blog-title,
.category-ueber-uns .blog-title a,
.category-ueber-uns .blog-excerpt,
.category-ueber-uns .blog-cta .text-btn,
.category-ueber-uns .post-meta-line {
    color: var(--color-brown) !important;
}

/* 4. Partnerschaften (--color-olive-dark) */
.category-partnerschaften .blog-date,
.category-partnerschaften .blog-category-title,
.category-partnerschaften .blog-title,
.category-partnerschaften .blog-title a,
.category-partnerschaften .blog-excerpt,
.category-partnerschaften .blog-cta .text-btn,
.category-partnerschaften .post-meta-line {
    color: var(--color-olive-dark) !important;
}

/* ==========================================================================
   CTA Arrow Preservation Overrides
   ========================================================================== */

/* Force the SVG inline icon elements to lock to your brand blue variable */
.startseite-blog-grid .blog-cta .text-btn svg line,
.startseite-blog-grid .blog-cta .text-btn svg polyline {
    stroke: var(--color-primary) !important;
}

/* ==========================================================================
   Full Card Hover Transition Effects
   ========================================================================== */

/* ==========================================================================
   Full Card Hover Transition Effects (All Card Elements)
   ========================================================================== */

/* 1. Setup smooth transitions using your exact timing scale across all layout pieces */
.startseite-blog-grid .w-grid-item .blog-media,
.startseite-blog-grid .w-grid-item .blog-media img,
.startseite-blog-grid .w-grid-item .blog-date,
.startseite-blog-grid .w-grid-item .blog-category-title,
.startseite-blog-grid .w-grid-item .blog-title,
.startseite-blog-grid .w-grid-item .blog-title a,
.startseite-blog-grid .w-grid-item .blog-excerpt,
.startseite-blog-grid .w-grid-item .blog-cta .text-btn {
    /*transition: opacity 0.25s ease, font-weight 0.25s ease;*/
    transition: opacity 0.25s ease, filter 0.25s ease, font-weight 0.25s ease;
}

.startseite-blog-grid .w-grid-item:hover .blog-cta .text-btn {
    font-weight: var(--fw-heavy);
}

/* 2. Apply opacity drop to all elements simultaneously when the full grid item container is hovered */
.startseite-blog-grid .w-grid-item:hover .blog-media,
.startseite-blog-grid .w-grid-item:hover .blog-media img,
.startseite-blog-grid .w-grid-item:hover .blog-date,
.startseite-blog-grid .w-grid-item:hover .blog-category-title,
.startseite-blog-grid .w-grid-item:hover .blog-title,
.startseite-blog-grid .w-grid-item:hover .blog-title a,
.startseite-blog-grid .w-grid-item:hover .blog-excerpt,
.startseite-blog-grid .w-grid-item:hover .blog-cta .text-btn {
    /*opacity: 0.7;*/
    opacity: 1;
    filter: brightness(0.8);
}

/* Above Footer Section */
.above-footer-section {
   position: relative;
   aspect-ratio: 1024 / 614;       /* mobile — matches image exactly */
   display: flex;
   align-items: center;
   overflow: visible;
   z-index: 1;
}
@media (min-width: 1025px) {
   .above-footer-section {
      aspect-ratio: 2560 / 820;    /* desktop / laptop — matches image exactly */
   }
}
.above-footer-section .w-post-elm.post_image {
   line-height: 0;
   font-size: 0;
}
.above-footer-section .w-post-elm.post_image img {
   display: block;
   vertical-align: bottom;
}
.above-footer-section .hero__media {
   position: absolute;
   inset: 0; z-index: 0;
}
.hero__slide {
   position: absolute;
   inset: 0;
   opacity: 0;
   transition: opacity 1.2s ease;
}
.hero__slide.is-active {
   opacity: 1;
}
.hero__slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
   display: block;
}
.above-footer-section .your-slider {
   position: absolute;
   inset: 0;
   z-index: 0;
}
.above-footer-section .hero__cta {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: min(80%, 922px);
    padding: 1.75rem;
    background: rgba(21, 41, 85, 0.9);
    transition: background-color 0.3s ease;
}
.above-footer-section .hero__cta:hover {
   background-color: rgba(112, 91, 72, 0.8);
}
.above-footer-section .hero__cta:hover .text-btn svg {
   color: var(--color-white, #ffffff);
}
.above-footer-section .hero__cta .cta-title {
   font-size: var(--fs-fluid-l);
   line-height: var(--lh-fluid-lx);
   font-weight: var(--fw-heavy);
   color: var(--color-white, #ffffff);
   margin-bottom: var(--space-desktop-1);
}
/* Mobile: tighter gap under the title */
@media (max-width: 600px) {
   .above-footer-section .hero__cta .cta-title {
      margin-bottom: calc(var(--space-desktop-1) * 0.6);
   }
}
/* Desktop overrides */
@media (min-width: 1025px) {
   .above-footer-section .hero__cta {
      /* top and transform intentionally omitted — the base rule's
         top: 50% / translate(-50%, -50%) handles vertical centring */
      width: min(72%, 922px);
      padding: 2.9597rem;
   }
   .above-footer-section .hero__cta .cta-title {
      font-size: var(--fs-fluid-xl);
      margin-bottom: calc(var(--space-desktop-1) * 0.8);
   }
}
.above-footer-section .hero__cta .text-btn {
   /* font-size: var(--fs-fluid-lg); */
   font-size: var(--fs-fluid-cta);
   line-height: var(--lh-fluid-l);
   color: var(--color-white, #ffffff);
   font-weight: var(--fw-light);
   transition: opacity 0.3s ease;
}
.above-footer-section .hero__cta .text-btn:hover {
   color: var(--color-white, #ffffff)!important;
   opacity: 0.7;
}
.above-footer-section .hero__cta:hover .text-btn {
   opacity: 0.7;
}

/* ==========================================
   MAIN FOOTER
   ========================================== */

.main-footer-section {
   background: var(--color-footer-dark-bg, #152955);
   padding-top: var(--space-desktop-6);
   padding-bottom: calc(var(--space-desktop-6) * 0.3);
   z-index: 5;
   position: relative;
   color: var(--color-white, #ffffff);
   font-size: var(--fs-fluid-s);
   font-weight: var(--fw-light);
   line-height: 1.25;
   overflow: visible;
}

.main-footer-section.mobile-footer {
   background: var(--color-footer-dark-bg, #152955);
   padding-top: var(--space-mobile-2);
   padding-bottom: var(--space-mobile-2);
   z-index: 5;
   position: relative;
   color: var(--color-white, #ffffff);
   font-size: var(--fs-fluid-s);
   font-weight: var(--fw-light);
   line-height: 1.25;
   overflow: visible;
}

.main-footer-section .footer-logo {
    position: absolute;
    left: calc((100% - 1280px) / 2);
    top: calc((var(--space-desktop-6) * -1) - 49px);
    z-index: 20;
    margin: 0;
    padding: 0;
}

.main-footer-section .footer-logo .w-image-h {
    display: block;
    height: 98px;
}

.main-footer-section .footer-logo img {
    display: block !important;
    height: 98px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0;
}

.l-footer {
    overflow: visible!important;
}

/* Impreza column → grid */
.main-footer-section .inner-footer-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-footer-fluid);
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
   .main-footer-section .inner-footer-wrapper {
      grid-template-columns: 1fr 1fr 1fr;
      gap: var(--space-footer-fluid);
      width: 80%;
      margin-inline: auto;
   }
}

.main-footer-section .footer-divide,
.main-footer-section .footer-social {
   margin-top: 0.625em;
   padding-top: 0.625em;
   border-top: 0.567px solid rgba(255, 255, 255, 0.25);
}

.main-footer-section .footer-company-title {
   font-weight: var(--fw-bold);
}

.main-footer-section .standort-list {

}

.main-footer-section .standort__title {
   margin: 0 0 0.5em;
   font-size: inherit;
   font-weight: var(--fw-bold);
   line-height: inherit;
   color: inherit;
}

.main-footer-section .standort__address {
   margin-bottom: 0.5em;
}

.main-footer-section .standort__row {
   display: flex;
   align-items: baseline;
   gap: 0.6em;
}

.main-footer-section .standort__icon {
   flex: 0 0 1.25em;
   text-align: center;
   color: var(--color-blue, #81addc);
}

.main-footer-section a.standort__link {
   color: var(--color-white, #ffffff) !important;
   text-decoration: none;
   opacity: 1;
   transition: color 0.2s ease, opacity 0.2s ease;
}

.main-footer-section a.standort__link:hover,
.main-footer-section a.standort__link:focus {
   color: var(--color-blue, #81addc) !important;
   opacity: 1 !important;
   font-weight: 700;
   text-decoration: none;
}

.main-footer-section .footer-menu.layout_ver .menu > li {
   margin-bottom: 0;
}

.main-footer-section .footer-menu.layout_ver .menu > li:not(:first-child) {
   margin-top: 0.7rem;          /* space ABOVE the border */
   padding-top: 0.7rem;         /* space BELOW the border */
   border-top: 0.567px solid rgba(255, 255, 255, 0.25);
}

.main-footer-section .footer-menu.layout_ver .menu > li:last-child {
   margin-top: 0.7rem !important;
}

@media (max-width: 1025px) {
  #menu-footer-mobile-menu.menu,
  .main-footer-section .footer-menu.layout_ver .menu {
    display: flex !important;
    flex-direction: column;
  }

  #menu-footer-mobile-menu.menu > li,
  .main-footer-section .footer-menu.layout_ver .menu > li {
    position: relative;
    margin: 0 !important;
    padding: 0.7rem 0 !important;
    border-top: none !important;
  }

  #menu-footer-mobile-menu.menu > li:first-child,
  .main-footer-section .footer-menu.layout_ver .menu > li:first-child {
    padding-top: 0 !important;
  }

  #menu-footer-mobile-menu.menu > li:last-child,
  .main-footer-section .footer-menu.layout_ver .menu > li:last-child {
    padding-bottom: 0 !important;
  }

  /* explicitly neutralize Impreza's default privacy-policy item spacing */
  #menu-footer-mobile-menu.menu > li.menu-item-privacy-policy,
  .main-footer-section .footer-menu.layout_ver .menu > li.menu-item-privacy-policy {
    margin: 0 !important;
    padding: 0.7rem 0 !important;
  }

  #menu-footer-mobile-menu.menu > li:not(:first-child)::before,
  .main-footer-section .footer-menu.layout_ver .menu > li:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.567px;
    background: rgba(255, 255, 255, 0.25);
  }
}

.footer-menu a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--color-blue, #81addc) !important;
  opacity: 1 !important;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1025px) {
  .main-footer-section .search-form {
    padding-top: calc(var(--space-mobile-2) * 0.5);
  }
}

@media (max-width: 1025px) {
  .main-footer-section.mobile-footer .special-footer-wrapper {
    position: relative;
    z-index: 0;
    margin-top: calc(var(--space-mobile-3) * 0.5);
    margin-bottom: calc(var(--space-mobile-3) * 0.5);
  }

  .main-footer-section.mobile-footer .special-footer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--color-primary, #194781);
    z-index: -1;
  }

 .main-footer-section.mobile-footer .footer-team-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: calc(var(--space-mobile-3) * 0.5);
    margin-bottom: calc(var(--space-mobile-3) * 0.5);
}
}

.footer-team-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: var(--space-mobile-3);
    margin-bottom: var(--space-mobile-3);
}

.footer-team-contact__content {
    flex: 1 1 auto;
}

.footer-team-contact__title,
.footer-team-contact__name,
.footer-team-contact__function {
    color: var(--color-white, #ffffff);
    font-size: var(--fs-fluid-s);
    line-height: 1.4;
}

.footer-team-contact__title {
    font-weight: var(--fw-bold);
    margin-bottom: 0;
}

.footer-team-contact__name,
.footer-team-contact__function {
    font-weight: var(--fw-light);
    margin: 0;
}

.footer-team-contact__icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.footer-team-contact__icon {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--color-blue, #81addc);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-blue, #81addc);
    transition: color .3s ease, border-color .3s ease;
}

.footer-team-contact__icon:hover {
    color: #FFFFFF !important;
    background: var(--color-blue, #81addc)!important;
    border-color: var(--color-blue, #81addc)!important;
}

.footer-team-contact__icon:hover {
    /*opacity: 0.7 !important;*/
}

.footer-team-contact__media {
    flex: 0 0 auto;
}

.footer-team-contact__image {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.search-footer-section {
   background: var(--color-primary, #194781);
   padding-top: calc(var(--space-desktop-6) * 0.3);
   padding-bottom: calc(var(--space-desktop-6) * 0.5);
}

/* Impreza column → grid */
.search-footer-section .vc_column-inner > .wpb_wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-footer-fluid);
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
   .search-footer-section .vc_column-inner > .wpb_wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: var(--space-footer-fluid);
      width: 80%;
      margin-inline: auto;
   }
}

.bottom-footer-section {
   background: var(--color-white, #ffffff);
   padding-block: 0.3rem;
   color: var(--color-primary, #194781);
}

.bottom-footer-section .vc_column-inner > .wpb_wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0;
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
   .bottom-footer-section .vc_column-inner > .wpb_wrapper {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      width: 80%;
      margin-inline: auto;
   }
}

.bottom-footer-text {
   font-size: 0.8rem;
   color: var(--color-primary, #194781);
   font-weight: var(--fw-light); 
}

.bottom-footer-text a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.bottom-footer-text a:hover,
.bottom-footer-text a:focus {
  color: var(--color-blue, #81addc) !important;
  opacity: 1 !important;
  font-weight: 700;
  text-decoration: none;
}

/* Team Seite CSS */
.team-seite .inner-content-wrapper {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: var(--space-desktop-1) var(--space-mobile-2);
   margin-top: var(--box-offset);
   margin-bottom: 0;
   margin-left: var(--space-mobile-2);
   margin-right: var(--space-mobile-2);
   color: var(--color-white);
   background: var(--color-brown);
   background: color-mix(in srgb, var(--color-brown) 90%, transparent);
   gap: var(--space-desktop-0);
   z-index: 2;
}

@media (min-width: 1025px) {
   .team-seite .inner-content-wrapper {
      padding: var(--space-desktop-4) var(--space-mobile-4);
      margin-inline: 0;
      margin-top: 0rem;
      margin-bottom: -5rem;
   }
}

.team-grid-section {
    padding-top: calc(var(--space-desktop-30) * 0.5);
    padding-bottom: var(--space-desktop-30);
}

.team-grid-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    width: 90%;
    padding-bottom: var(--space-desktop-0);
}

/* Vermögensverwaltung Seite CSS */

.vermoegensverwaltun-seite .inner-content-wrapper {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: var(--space-desktop-1) var(--space-mobile-2);
   margin-top: var(--box-offset);
   margin-bottom: 0;
   margin-left: var(--space-mobile-2);
   margin-right: var(--space-mobile-2);
   color: var(--color-white);
   background: var(--color-blue);
   background: color-mix(in srgb, var(--color-blue) 90%, transparent);
   gap: var(--space-desktop-0);
   z-index: 2;
}

@media (min-width: 1025px) {
   .vermoegensverwaltun-seite .inner-content-wrapper {
      padding: var(--space-desktop-4) var(--space-mobile-4); 
      margin-inline: 0;
      margin-top: 0rem;
      margin-bottom: -5rem;
   }
}

.vermoegensverwaltung-intro-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.beratungsschritte-section {
    padding-top: var(--space-desktop-30);
    padding-bottom: calc((var(--space-desktop-30) * 0.5) - 2px);
    background: var(--color-olive-lighter, #eff1e9);
}

.beratung-process-title {
    font-size: var(--fs-fluid-x);
    line-height: var(--lh-fluid-x);
    font-weight: var(--fw-heavy);
    text-align: center;
    color: var(--color-olive-dark, #536e31);
}

.beratung-process-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-lg);
    text-align: center;
}

.anlage-prozess-section {
   padding-top: var(--space-desktop-30);
   padding-bottom: var(--space-desktop-30);
   background: var(--color-blue-lighter, #d8e3f4);
}

.anlage-prozess-title {
    font-size: var(--fs-fluid-x);
    line-height: var(--lh-fluid-x);
    font-weight: var(--fw-heavy);
    text-align: center;
    color: var(--color-primary, #194781);
}

.anlage-prozess-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-lg);
    text-align: center;
}

/* Ueber uns Seite CSS */

.ueber-uns-intro-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.ueber-uns-seite .inner-content-wrapper {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: var(--space-desktop-1) var(--space-mobile-2);
   margin-top: var(--box-offset);
   margin-bottom: 0;
   margin-left: var(--space-mobile-2);
   margin-right: var(--space-mobile-2);
   color: var(--color-white);
   background: var(--color-grey-dark);
   background: color-mix(in srgb, var(--color-grey-dark) 90%, transparent);
   gap: var(--space-desktop-0);
   z-index: 2;
}

@media (min-width: 1025px) {
   .ueber-uns-seite .inner-content-wrapper {
      padding: var(--space-desktop-4) var(--space-mobile-4);
      margin-inline: 0;
      margin-top: 0rem;
      margin-bottom: -5rem;
   }
}

.intro-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    width: 90%;
    padding-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .intro-section-title {
      width: 100%;
   }
}

.ueber-uns-intro-section .intro-section-intro,
.vermoegensverwaltung-intro-section .intro-section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .ueber-uns-intro-section .intro-section-intro {
      width: 45%;
   }
   .vermoegensverwaltung-intro-section .intro-section-intro {
      width: 45%;
   }
}

.vermoegen-tabs {
   width: 100%;
   margin-inline: auto;
}

@media (min-width: 1025px) {
.vermoegen-tabs {
   max-width: 70%;
   margin-inline: auto;
}
}


.w-tabs-item.vermeoegensverwaltung-tab,
.w-tabs-item.zusatzleistung-tab {
   padding: calc(var(--space-desktop-1) * 0.5) var(--space-desktop-2);
}

.vermoegen-tabs .w-tabs-section-content {
   padding: var(--space-desktop-1) var(--space-desktop-2);
}

.vermoegen-tabs .w-tabs-item {
    border-width: 0!important;
}

.w-tabs-item.vermeoegensverwaltung-tab,
.w-tabs-item.vermeoegensverwaltung-tab.active {
   background: #d8e3f4!important;
	color: #194781!important;
}

.w-tabs-item.zusatzleistung-tab,
.w-tabs-item.zusatzleistung-tab.active {
   background: #e2dcd6!important;
	color: #705b48!important;
}



.verantwortung-vermoegen-section {
   padding-top: var(--space-desktop-30);
   padding-bottom: 0;
   background: var(--color-white, #ffffff);
}

.einbindung-beduerfnisse-section {
   padding-top: 0;
   padding-bottom: var(--space-desktop-30);
   background: var(--color-white, #ffffff);
}

.einbindung-beduerfnisse-title {
    font-size: var(--fs-fluid-x);
    line-height: var(--lh-fluid-x);
    font-weight: var(--fw-heavy);
    text-align: center;
    color: var(--color-primary, #194781);
}

.einbindung-beduerfnisse-intro {
   color: var(--color-primary, #194781);
   text-align: center;
   margin-inline: auto;
   width: 100%;
   font-size: var(--fs-fluid-lg);
   font-weight: var(--fw-light);
   line-height: var(--lh-fluid-lg);
   margin-top: calc(var(--space-mobile-1) * 0.5);
   padding-bottom: var(--space-mobile-3);
}

@media (min-width: 1025px) {
   .einbindung-beduerfnisse-intro {
      width: 65%;
      text-align: center;
      margin-inline: auto;
}
}

/**
 * Reduces the grid gap for .teammitglied-nur-bild-grid
 * on tablet (≤1024px) and mobile (≤600px).
 * Overrides Impreza's inline --gap custom property.
 */
@media (max-width: 1024px) {
    .teammitglied-nur-bild-grid {
        --gap: 1.1354rem !important;
    }
}

@media (max-width: 600px) {
    .teammitglied-nur-bild-grid {
        --gap: 0.875rem !important;
    }
}

/* ==========================================================
   Team carousel (Impreza grid, CPT: teammitglied)
   Image hover matches the [team_grid] shortcode behaviour
   ========================================================== */

.teammitglied-item {
	--team-carousel-hover-brightness: 0.8;
	--team-carousel-transition: 0.25s ease;
}

.teammitglied-item .teammitglied-media img {
	display: block;
	width: 100%;
	height: auto;
	transition: filter var(--team-carousel-transition);
}

/* Only slides that actually link somewhere react to hover */
.teammitglied-item.has-link:hover .teammitglied-media img,
.teammitglied-item.has-link:focus-within .teammitglied-media img {
	filter: brightness(var(--team-carousel-hover-brightness));
}

/* The overlay link sits above the image and carries the click target */
.teammitglied-item.has-link .w-vwrapper-link {
	cursor: pointer;
}

/* Keyboard focus stays visible on the overlay link */
.teammitglied-item.has-link .w-vwrapper-link:focus-visible {
	outline: 2px solid var(--color-primary, #194781);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.teammitglied-item .teammitglied-media img {
		transition: none;
	}
}

/* ============================================
   Ueberzeugung GRID
   ============================================ */
.ueberzeugung-grid {
   width: 100%;
   margin-inline: auto;
}

.ueberzeugung-grid .w-grid-list {
   column-gap: var(--space-mobile-1)!important;
   row-gap: var(--space-mobile-1)!important;
}

@media (min-width: 1025px) {
   .ueberzeugung-grid .w-grid-list {
      column-gap: var(--space-mobile-2)!important;
      row-gap: var(--space-mobile-2)!important;
   }
   .ueberzeugung-grid {
      width: 84%;
      margin-inline: auto;
   }
}

.ueberzeugung-grid .btn-blue {
   font-weight: var(--fw-bold);
   transition: font-weight 0.3s ease;
}

/* Card surface */
.ueberzeugung-grid .grundsatz-grid-item {
  height: 100%;
  gap: 0;
  padding: clamp(1rem, 0.8rem + 1vw, 1.4rem);
  padding-left: 0.1rem;
  background: var(--color-blue-lighter, #d8e3f4);
  align-items: flex-start;
}

/* Icon (currentColor → driven by wrapper colour) */
.ueberzeugung-grid .grundsatz-grid-icon {
  flex-shrink: 0;
  line-height: 0;
  color: var(--color-blue, #81addc);
  margin-top: -20px;
}
.ueberzeugung-grid .grundsatz-grid-icon p {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}
.ueberzeugung-grid .grundsatz-grid-icon svg {
  display: block;
  width: 100px;
  height: 100px;
}

/* Title + body */
.ueberzeugung-grid .grundsatz-grid-title {
  color: var(--color-primary, #194781);
  font-size: var(--fs-fluid-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-fluid-lg);
}
.ueberzeugung-grid .grundsatz-grid-inhalt {
  color: var(--color-primary, #194781);
  font-size: var(--fs-fluid-s);
  line-height: var(--lh-fluid-s);
  font-weight: var(--fw-light);
}

.ueberzeugung-grid .grundsatz-grid-title,
.ueberzeugung-grid .grundsatz-grid-inhalt {
   width: 80%;
}

@media (min-width: 1025px) {
   .ueberzeugung-grid .w-grid-item:not(:last-child) .grundsatz-grid-title,
   .ueberzeugung-grid .w-grid-item:not(:last-child) .grundsatz-grid-inhalt {
      width: 80%;
   }
}

@media (max-width: 600px) {
   .ueberzeugung-grid .grundsatz-grid-title {
      width: 94%;
   }

   .ueberzeugung-grid .grundsatz-grid-inhalt {
      width: 90%;
   }
}

/* Featured (dark) card — bottom-right / last item 
.ueberzeugung-grid .w-grid-item:last-child .grundsatz-grid-item  { color: var(--color-white, #ffffff); }
.ueberzeugung-grid .w-grid-item:last-child .grundsatz-grid-icon  { color: var(--color-white, #ffffff); }
.ueberzeugung-grid .w-grid-item:last-child .grundsatz-grid-title { color: var(--color-white, #ffffff); }
.ueberzeugung-grid .w-grid-item:last-child .grundsatz-grid-inhalt{ color: var(--color-white, #ffffff); }*/

.ueberzeugung-grid .text-btn:hover {
   color: var(--btn-text) !important;
   opacity: 1;
   font-weight: var(--fw-heavy);
}

.ueberzeugung-grid .grundsatz-grid-item:hover .text-btn {
   color: var(--btn-text) !important;
   opacity: 1;
   font-weight: var(--fw-heavy);
}

/* Geschichte Section */
.geschichte-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.geschichte-section-inner-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   width: 100%;
   margin-inline: auto;
   gap: 0;
}

@media (min-width: 1025px) {
.geschichte-section-inner-wrapper {
   display: grid;
   grid-template-columns: 42% 58%;
   width: var(--inner-width-special);
   margin-inline: auto;
   gap: 0;
}
}

.geschichte-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-primary, #194781);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
}

.geschichte-section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
}

.geschichte-section-intro p {
   margin-bottom: var(--space-desktop-0);
}

@media (min-width: 1025px) {
   .geschichte-section-title {
      width: 50%;
   }

   .geschichte-section-intro {
      width: 80%;
   }
}

.geschichte-section .brown-btn {
   margin-bottom: var(--space-desktop-1);
}

@media (min-width: 1025px) {
   .geschichte-section .brown-btn {
      margin-bottom: 0;
}
}

/* Hide timeline container initially with smooth max-height expansion */
.our-timeline {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  margin-top: var(--space-desktop-30);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Active visible state */
.our-timeline.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Optional: rotate button icon or style button when active */
.toggle-timeline-btn.is-active {
  opacity: 0.9;
}


.depotbanken-section {
    padding-block: var(--space-desktop-30);
}

.depotbanken-section-title {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-lg);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Depotbanken Carousel CSS */
/* Layout: center each logo within its carousel cell */
.depotbank-grid .depotbank-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.depotbank-grid .depotbank-logo,
.depotbank-grid .depotbank-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Force visible size regardless of the SVG's internal dimensions */
.depotbank-grid .depotbank-logo img {
  display: block !important;
  width: 140px !important;
  height: 48px !important;
  max-width: 100%;
  object-fit: contain;

  /* Gray, subdued default state */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

/* Darker/full opacity on hover of the whole item */
.depotbank-grid .depotbank-item:hover .depotbank-logo img {
  opacity: 1;
}

/* Responsive: fewer items visible per breakpoint (matches Impreza's owl-responsive classes) */
@media (max-width: 1025px) {
  .depotbank-grid .depotbank-logo img {
    width: 120px !important;
    height: 42px !important;
  }
}

@media (max-width: 600px) {
  .depotbank-grid .depotbank-logo img {
    width: 100px !important;
    height: 36px !important;
  }
}

.generelle-informationen-section {
   padding-block: calc(var(--space-desktop-30) * 0.5);
   background: var(--color-blue-lighter, #d8e3f4);
   overflow-x: clip;
}
.generelle-informationen-section-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1.5rem;
}
@media (min-width: 1025px) {
   .generelle-informationen-section-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 2.5rem;
   }
}
@media (max-width: 1024px) {
   .generelle-informationen-section {
      padding-block: 0;
   }
   .generelle-informationen-section-wrapper {
      gap: 0;
   }
   .generelle-informationen-section-wrapper > .w-vwrapper {
      width: 100vw;
      max-width: 100vw;
      margin-inline: calc(50% - 50vw);
      padding-block: calc(var(--space-desktop-30) * 0.5);
      padding-inline: 1.5rem;
      box-sizing: border-box;
   }
   .generelle-informationen-section-wrapper > .w-vwrapper:nth-child(1) {
      background: var(--color-blue-online-form, #EBF1FA);
   }
   .generelle-informationen-section-wrapper > .w-vwrapper:nth-child(2) {
      background: var(--color-blue-lighter, #d8e3f4);
   }
   .generelle-informationen-section-wrapper > .w-vwrapper:nth-child(3) {
      background: var(--color-blue-light, #bed1ec);
   }
   .generelle-informationen-intro {
      padding-bottom: 0;
   }
}
.generelle-informationen-title {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-lg);
    text-align: left;
}
.generelle-informationen-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
}

.generelle-informationen-intro a.text-btn {
   margin-top: 1.5rem;
}

.generelle-informationen-intro .btn-blue {
  --btn-text: var(--color-primary, #194781);
  --btn-arrow: var(--color-blue, #81addc);
  font-weight: 700;
}

.generelle-informationen-intro .btn-blue:hover {
  font-weight: 800;
}

.generelle-informationen-intro ul {
    list-style-type: disc;
    margin-inline-start: 1.3rem;
}

.generelle-informationen-intro li {
    line-height: 1.25;
    margin: 0;
}

.beratung-buchen-section {
   padding-block: calc(var(--space-desktop-30) * 0.9);
}

.beratung-buchen-section-intro {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-primary, #194781);
    width: 100%;
    padding-bottom: var(--space-desktop-0);
    text-align: center;
}

/* FAQ Seite CSS */
.faq-seite .inner-content-wrapper {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: var(--space-desktop-1) var(--space-mobile-2);
   margin-top: var(--box-offset);
   margin-bottom: 0;
   margin-left: var(--space-mobile-2);
   margin-right: var(--space-mobile-2);
   color: var(--color-white);
   background: var(--color-primary);
   background: color-mix(in srgb, var(--color-primary) 70%, transparent);
   gap: var(--space-desktop-0);
   z-index: 2;
}

@media (min-width: 1025px) {
    .faq-seite .inner-content-wrapper {
        padding: var(--space-desktop-4) var(--space-mobile-4);
        margin-inline: 0;
        margin-top: 0rem;
        margin-bottom: -5rem;
    }
}

.faq-section {
    padding-top: calc(var(--space-desktop-30) * 0.5);
    padding-bottom: var(--space-desktop-30);
}

.faq-section-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    width: 100%;
    padding-top: calc(var(--space-desktop-4) + 1.6667rem);
    padding-bottom: calc(var(--space-desktop-0) * 0.3);
    margin-bottom: 0;
}

.faq-section-first-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    width: 100%;
    padding-top: 0;
    padding-bottom: calc(var(--space-desktop-0) * 0.3);
    margin-bottom: 0;
}

.faq-section-second-title {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-brown, #705b48);
    text-align: center;
    width: 100%;
    padding-top: 0;
    padding-bottom: calc(var(--space-desktop-0) * 0.3);
    margin-bottom: 0;
}


.faq-team-contact-section {
   padding-top: 0;
   padding-bottom: var(--space-desktop-30);
}

.faq-team-contact-section .section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
    text-align: center;
    width: 100%;
    padding-bottom: var(--space-desktop-1);
}

/* Kontakt Seite CSS */

.main-contact-section {
    padding-top: calc(var(--space-desktop-30) * 0.5);
    padding-bottom: var(--space-desktop-30);
}

.main-contact-mobile {
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.main-calendly-mobile {
   background: var(--color-blue-lighter, #d8e3f4);
   padding-block: calc(var(--space-desktop-30) * 0.5);
}

.main-form-mobile {
   padding-top: calc(var(--space-desktop-30) * 0.5);
   padding-bottom: var(--space-desktop-30);
}

.main-contact-title {
   font-size: var(--fs-fluid-l);
   font-weight: 800;
   line-height: var(--lh-fluid-l);
   color: var(--color-olive-dark, #536e31);
   margin-bottom: calc(var(--space-mobile-2) * 0.8)!important;
}


.kontakt-seite .inner-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-desktop-1) var(--space-mobile-2);
    margin-top: var(--box-offset);
    margin-bottom: 0;
    margin-left: var(--space-mobile-2);
    margin-right: var(--space-mobile-2);
    color: var(--color-white);
    background: var(--color-olive-dark);
    background: color-mix(in srgb, var(--color-olive-dark) 70%, transparent);
    gap: var(--space-desktop-0);
    z-index: 2;
}

@media (min-width: 1025px) {
    .kontakt-seite .inner-content-wrapper {
      padding: var(--space-desktop-4) var(--space-mobile-4);
      margin-inline: 0;
      margin-top: 0rem;
      margin-bottom: -5rem;
    }
}

.contact-address-calendly-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-mobile-2);
}

@media (min-width: 1025px) {
.contact-address-calendly-wrapper {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
}
}

.contact-address-calendly-wrapper-title {
   font-size: var(--fs-fluid-sm);
   font-weight: 800;
   line-height: 1.1;
   color: var(--color-primary, #194781);
   margin-bottom: calc(var(--space-mobile-2) * 0.8)!important;
}

.contact-address-calendly-wrapper-intro {
    font-size: var(--fs-fluid-s);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-primary, #194781);
    margin-bottom: calc(var(--space-mobile-2) * 0.8) !important;
}

.contact-form-wrapper-title  {
    font-size: var(--fs-fluid-l);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-primary, #194781);
    width: 100%;
}

.contact-form-wrapper-intro {
    font-size: var(--fs-fluid-sm);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-primary, #194781);
    margin-bottom: calc(var(--space-mobile-2) * 0.8) !important;
}

.standort-grid {
	display: grid;
	grid-template-columns: repeat(var(--standort-columns, 2), 1fr);
	gap: var(--space-mobile-2) 0.4rem;
}

@media (max-width: 1024px) {
	.standort-grid {
		grid-template-columns: 1fr;
      gap: var(--space-mobile-2) 0.4rem;
	}
}



.standort-title {
	font-size: var(--fs-fluid-s);
	line-height: 1.3;
	color: var(--color-primary, #194781);
	font-weight: 700;
}

.standort-adresse {
	font-size: var(--fs-fluid-s);
	line-height: 1.3;
	color: var(--color-primary, #194781);
	font-weight: 300;
}

.standort-meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-top: var(--space-mobile-1, 0.875rem);
}
.standort-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--color-primary, #194781);
	font-size: var(--fs-fluid-s);
	line-height: 1.2;
	font-weight: 300;
	opacity: 1 !important;
	transition: font-weight 0.15s ease, color 0.15s ease;
}
.standort-link:hover {
	font-weight: 700;
}
.standort-link i {
	width: 1em;
	text-align: center;
	flex-shrink: 0;
	color: var(--color-blue, #81addc);
	transition: color 0.15s ease;
}
.standort-link:hover,
.standort-link:focus,
.standort-link:active {
	color: var(--color-blue, #81addc);
}
.standort-link:hover i,
.standort-link:focus i,
.standort-link:active i {
	color: var(--color-blue, #81addc);
}
.no-touch .standort-link:hover {
	color: var(--color-blue, #81addc);
}

/* Main Blog Seite CSS */
.main-blog-section {
    padding-top: calc(var(--space-desktop-6) * 0.5);
    padding-bottom: var(--space-desktop-6);
}

@media (max-width: 1024px) {
   .main-blog-section {
      padding-top: calc(var(--space-desktop-6) * 0.5);
      padding-bottom: var(--space-desktop-6);
   }
}

.main-blog-section-title {
    color: var(--color-primary);
    line-height: var(--lh-fluid-lx);
    font-size: var(--fs-hero-heading);
    font-weight: var(--fw-heavy);
    margin-bottom: 0;
}

.main-blog-section-intro {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-md);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-l);
}

/* =========================================================
   Blog filter — Aquila & Partners
   ========================================================= */

.w-filter {
	/* "Alle Rubriken" colours — adjust here */
	--all-fill: #81ADDC;   /* blue fill, active state */
	--all-text: #194781;   /* dark blue text on the active fill */
	--all-line: #81ADDC;   /* border + text, inactive state */
}

/* --- Reset button ("Alle Rubriken"): visible, first in row --- */
.w-filter.state_desktop.mod_no_titles .w-filter-item-reset.js-filter-all {
	display: inline-flex !important;
	align-items: center;
	position: relative !important;
	order: -1;
	cursor: pointer;
	opacity: 1 !important;
	visibility: visible !important;
}

.w-filter-item-value.js-filter-all {
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Active — nothing selected: blue fill, dark blue text */
.w-filter-item-value.js-filter-all.checked {
	background: var(--all-fill) !important;
	border-color: var(--all-fill) !important;
	color: var(--all-text) !important;
}

.w-filter-item-value.js-filter-all.checked .w-filter-item-value-label {
	color: var(--all-text) !important;
}

/* Inactive — a category is selected: white fill, #81ADDC border + text */
.w-filter-item-value.js-filter-all:not(.checked) {
	background: #FFFFFF !important;
	border-color: var(--all-line) !important;
	color: var(--all-line) !important;
}

.w-filter-item-value.js-filter-all:not(.checked) .w-filter-item-value-label {
	color: var(--all-line) !important;
}

/* Hover on the inactive state only */
.w-filter-item-value.js-filter-all:not(.checked):hover {
	background: var(--all-fill) !important;
	border-color: var(--all-fill) !important;
	color: var(--all-text) !important;
}

.w-filter-item-value.js-filter-all:not(.checked):hover .w-filter-item-value-label {
	color: var(--all-text) !important;
}

/* --- Gap between buttons --- */
.w-filter.mod_no_titles .w-filter-item-values {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.w-filter.mod_no_titles .w-filter-item-values .w-filter-item-value,
.w-filter.mod_no_titles .w-filter-item-values .w-filter-item-reset {
	margin: 0 !important;
}

/* --- Per-category accent colours (unchanged) --- */
.w-filter-item-value[data-value="ap-monitor"]      { --accent-color: #194781; }
.w-filter-item-value[data-value="finanz-talk"]     { --accent-color: #8d8e8f; }
.w-filter-item-value[data-value="ueber-uns"]       { --accent-color: #705b48; }
.w-filter-item-value[data-value="partnerschaften"] { --accent-color: #4A5F20; }

/* Base state */
.w-filter-item-value[data-value] {
	background: #FFFFFF !important;
	border-color: var(--accent-color) !important;
	color: var(--accent-color) !important;
}

.w-filter-item-value[data-value] .w-filter-item-value-label {
	color: var(--accent-color) !important;
}

/* Hover + checked state (same treatment) */
.w-filter-item-value[data-value]:hover,
.w-filter-item-value[data-value]:has(input:checked) {
	background: var(--accent-color) !important;
	border-color: var(--accent-color) !important;
	color: #FFFFFF !important;
}

.w-filter-item-value[data-value]:hover .w-filter-item-value-label,
.w-filter-item-value[data-value]:has(input:checked) .w-filter-item-value-label {
	color: #FFFFFF !important;
}

/* Single Blog CSS */
.single-blog-section {
    padding-top: calc(var(--space-desktop-6) * 0.5);
    padding-bottom: var(--space-desktop-30);
}

@media (max-width: 1024px) {
   .single-blog-section {
      padding-top: calc(var(--space-desktop-6) * 0.5);
      padding-bottom: var(--space-desktop-30);
   }
}

.single-blog-title {
    color: var(--color-primary);
    line-height: var(--lh-fluid-lx);
    font-size: var(--fs-hero-heading);
    font-weight: var(--fw-heavy);
    margin-bottom: 0;
    width: 100%;
}

@media (min-width: 1025px) {
   .single-blog-title {
      font-size: var(--fs-hero-heading);
      /* same width as the left grid column (2fr of 2fr 1fr, minus the gap) */
      width: calc((100% - var(--space-desktop-30) * 0.5) * 2 / 3);
   }
}

.single-blog-excerpt {
    color: var(--color-primary);
    font-size: var(--fs-fluid-md);
    font-weight: var(--fw-light);
    line-height: var(--lh-fluid-l);
    width: 100%;
}

@media (min-width: 1025px) {
   .single-blog-excerpt {
      width: 65%;
   }
}

.single-blog-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-desktop-30);
}

@media (min-width: 1025px) {
   .single-blog-wrapper {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: calc(var(--space-desktop-30) * 0.5);
   }
}

/* ==========================================================================
   Single blog post — meta line (date | main category)
   ========================================================================== */

.single-blog-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: calc(0.875rem * 2);
}

.single-blog-meta-wrapper .post-meta-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: var(--fs-fluid-xs);
    line-height: var(--lh-fluid-xs);
    font-weight: var(--fw-light);
}

.single-blog-meta-wrapper .post-meta-date,
.single-blog-meta-wrapper .post-meta-sep,
.single-blog-meta-wrapper .post-meta-category {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.single-blog-meta-wrapper .post-meta-sep {
    white-space: pre;
}

.single-blog-meta-wrapper .post-meta-category {
   font-weight: var(--fw-heavy);
}

.single-blog-meta-wrapper .post-meta-category a {
    color: inherit;
    text-decoration: none;
    font-weight: var(--fw-heavy);
}

.single-blog-meta-wrapper .post-meta-category a:hover,
.single-blog-meta-wrapper .post-meta-category a:focus-visible {
    text-decoration: underline;
}

.startseite-blog-grid .blog-category-title {
    font-size: var(--fs-fluid-ms);
    line-height: var(--lh-fluid-ms);
    font-weight: var(--fw-heavy);
}

.single-blog-content h2,
.single-blog-content h3,
.single-blog-content h4 {
    font-size: var(--fs-fluid-md);
    line-height: var(--lh-fluid-l);
    font-weight: var(--fw-heavy);
    color: var(--color-primary, #194781);
    margin-top: 0;
    margin-bottom: 6px;
    padding-top: calc(24px - 6px);
}

.single-blog-content p {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
}

.single-blog-content > *:last-child {
    margin-bottom: 0;
}

.single-blog-content ul {
    list-style-type: disc;
    margin-inline-start: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
}

.further-question-title {
   color: var(--color-brown, #705b48);
   font-size: var(--fs-fluid-l);
   font-weight: var(--fw-heavy);
   line-height: var(--lh-fluid-l);
   padding-bottom: calc(var(--space-desktop-0) * 0.3);
}

.more-interesting-title {
   color: var(--color-primary);
   line-height: var(--lh-fluid-xl);
   font-size: var(--fs-fluid-lg);
   font-weight: var(--fw-heavy);
   text-align: left;
   margin-top: 0.875rem;
}

/* ==========================================================================
   Single Blog — layout wrapper + related posts grid
   aquila-partners
   --------------------------------------------------------------------------
   Breakpoints
   ≥ 1025px : content 2fr / sidebar 1fr — 1 item column, image left 50%
   601–1024px: full width — 2 item columns, image left 50%
   ≤ 600px  : full width — 1 item column, stacked: image → date → title
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Settings
   -------------------------------------------------------------------------- */
.related-blog-grid {
	--rb-media-width: 50%;      /* image width — exactly half the item row */
	--rb-gap: 0.3rem;           /* space between image and text */
	--rb-row-gap: 1.5rem;       /* vertical space between items */
	--rb-col-gap: 1.5rem;       /* horizontal space between item columns */
	--rb-valign: end;           /* start | center | end */
	--rb-title-size: var(--fs-fluid-s-plus);
	--rb-title-weight: 700;
	--rb-title-lh: 1.15;
	--rb-date-size: 0.8rem;
	--rb-date-weight: var(--fw-light);
	--rb-date-color: var(--color-primary, #194781);
	--rb-mobile-gap: 0.6rem;    /* space between image and text when stacked */
}

/* --------------------------------------------------------------------------
   2. Page wrapper
   -------------------------------------------------------------------------- */
.single-blog-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-desktop-30);
}

/* grid children must be allowed to shrink, otherwise long titles and
   images push the sidebar column wider than its 1fr track */
.single-blog-wrapper > * {
	min-width: 0;
}

@media (min-width: 1025px) {
	.single-blog-wrapper {
		grid-template-columns: 2fr 1fr;
		gap: calc(var(--space-desktop-30) * 0.5);
	}
}

/* --------------------------------------------------------------------------
   3. Related grid wrapper — item columns
   -------------------------------------------------------------------------- */
.related-blog-grid .w-grid-list {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--rb-col-gap);
	row-gap: var(--rb-row-gap);
	align-items: start;
}

/* tablet / small desktop: grid is full width, so two items per row */
@media (min-width: 601px) and (max-width: 1024px) {
	.related-blog-grid .w-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.related-blog-grid .w-grid-item,
.related-blog-grid .w-grid-item-h {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	height: 100%;
}

/* Impreza's spinner overlay is not needed for a static list */
.related-blog-grid > .g-preloader {
	display: none;
}

/* --------------------------------------------------------------------------
   4. Item row: image + content
   -------------------------------------------------------------------------- */
.related-blog-grid .related-blog-item {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: var(--rb-valign);
	gap: var(--rb-gap);
	--hwrapper-gap: var(--rb-gap); /* overrides Impreza's inline gap var */
	width: 100%;
	height: 100%;
	margin: 0;
}

/* --------------------------------------------------------------------------
   5. Image — exactly half the item width, natural aspect ratio
   -------------------------------------------------------------------------- */
.related-blog-grid .related-blog-media {
	flex: 0 0 var(--rb-media-width);
	width: var(--rb-media-width);
	max-width: var(--rb-media-width);
	margin: 0;
	position: relative;
	overflow: hidden;
}

/* neutralise Impreza's .stretched absolute positioning */
.related-blog-grid .related-blog-media.stretched,
.related-blog-grid .related-blog-media.stretched > a {
	position: relative;
	inset: auto;
	height: auto;
}

.related-blog-grid .related-blog-media a {
	display: block;
	width: 100%;
	line-height: 0;
}

.related-blog-grid .related-blog-media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

/* --------------------------------------------------------------------------
   6. Content — remaining half
   -------------------------------------------------------------------------- */
.related-blog-grid .related-blog-content {
	flex: 1 1 0;
	min-width: 0; /* lets long titles wrap instead of overflowing */
	display: flex;
	flex-direction: column;
	justify-content: var(--rb-valign);
	gap: 0.2rem;
	--vwrapper-gap: 0.2rem;
	margin: 0;
}

.related-blog-grid .related-blog-title {
	margin: 0;
	font-size: var(--rb-title-size);
	line-height: var(--rb-title-lh);
	font-weight: var(--fw-light);
	overflow-wrap: break-word;
}

.related-blog-grid .related-blog-title a {
	color: inherit;
	text-decoration: none;
}

.related-blog-grid .related-blog-title a:hover,
.related-blog-grid .related-blog-title a:focus {
	text-decoration: none;
}

.related-blog-grid .related-blog-date {
	display: block;
	margin: 0;
	font-size: var(--rb-date-size);
	line-height: 1.2;
	font-weight: var(--rb-date-weight);
	color: var(--rb-date-color);
}

/* --------------------------------------------------------------------------
   7. Mobile — stack, and put the date above the title
   DOM order stays title → date; only the visual order flips.
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
	.related-blog-grid .related-blog-item {
		flex-direction: column;
		align-items: stretch;
		gap: var(--rb-mobile-gap);
		--hwrapper-gap: var(--rb-mobile-gap);
	}

	.related-blog-grid .related-blog-media {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}

	.related-blog-grid .related-blog-content {
		flex: 0 1 auto;
		justify-content: flex-start;
		gap: 0.25rem;
	}

	.related-blog-grid .related-blog-date {
		order: 1;
	}

	.related-blog-grid .related-blog-title {
		order: 2;
	}
}

/* --------------------------------------------------------------------------
   8. Optional: hide the date
   Add class "no-date" to the grid wrapper, or uncomment the second block
   to hide it site-wide.
   -------------------------------------------------------------------------- */
.related-blog-grid.no-date .related-blog-date {
	display: none;
}

/*
.related-blog-grid .related-blog-date {
	display: none;
}
*/

/* --------------------------------------------------------------------------
   9. Optional: clamp the title to 2 lines
   -------------------------------------------------------------------------- */
/*
.related-blog-grid .related-blog-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
*/

/* Suchergebnisse Seite CSS */

.suchergebniss-grid .search-result-item {
   background: var(--color-blue-lighter, #d8e3f4);
   padding: var(--space-mobile-2);
}

.suchergebniss-grid .search-result-title {
    font-size: var(--fs-fluid-sm);
    line-height: var(--lh-fluid-sm);
    font-weight: var(--fw-heavy);
    color: var(--color-primary, #194781);
}

.suchergebniss-grid .search-result-content {
    color: var(--color-primary, #194781);
    font-size: var(--fs-fluid-s);
    line-height: var(--lh-fluid-s);
    font-weight: var(--fw-light);
}