﻿@charset "UTF-8";

/*
Theme Name: PBS Strategie Theme
Theme URI: https://www.fahrenheit.ch
Author: Webagentur fahrenheit
Author URI: https://www.fahrenheit.ch/
Description: Custom theme based on WP Core Functionality
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fahrenheittheme
Tags: accessibility-ready, block-patterns, translation-ready 
*/


:root {
    
  
  --cols-gap: 2rem;
  
  --nav-text-color:#000;
  --nav-text-color-hov: #8c3c4f; 
  --nav-text-color-on: #8c3c4f;
  --nav-text-color-sub: #000;

  --site-body-bg-color: #f8f7f6;
  --site-color-silver: #706f6f;

  --site-bg-color-a: #632949;
  --site-bg-color-b: #EFCA6E;
  --site-bg-color-c: #EEDABB;

  --site-btn-color: #8c3c4f;
  --site-btn-color-h: #8c3c4f;
  --site-btn-text: #fff;

  --site-text-heading: #8c3c4f;
  --site-text-muted: #e5c1e2; /* #d6b4d3; */

  --border-radius-img:8px;
  
  /* wp block settings */
  --wp--preset--spacing--20: 25px;  /* size 1 */
  --wp--preset--spacing--30: 25px;
  --wp--preset--spacing--40: 35px;
  --wp--preset--spacing--50: 50px;
  --wp--preset--spacing--60: 75px;
  --wp--preset--spacing--70: 100px;

  --flex-grid-gap: 40px;  /* ab 992px */
  --flex-cols-gap: 40px;

}

::selection {
	background: var(--site-bg-color-a);
	color:white 
}
::-moz-selection {
	background: var(--site-bg-color-a); 
	color:white
}


/* Hauptlayout mit den Box-Elementen, ALLE Layout row-Blöcke unterliegen dieser Grundordnung - blueprint */
:root {
    --max-w-site:2048px;    /* site-max, Bilder, Farbige Balken */
    --max-w-content: 92%;   /* maximale Breite für den effektiven Inhalt 92% = links/rechts padding von ca. 15px) */
    --site-padding-size-2:0px;  /* Indent space für Content mit reduzierter Breite */

    --group-padding-t:30px;   /* farbige Balken padding oben/unten */
    --group-padding-b:30px;   /* ca. 1/2, da letztes Element immer auch padding/margin hat! */

    --site-footer-before-space:30px;

    --group-size2-after-cover-t:30px;
    --group-padding-white-tb:0px;
}

/* .is-style-cs-size-0 > .wp-block-group__inner-container { nichts, da immer ganze Breite }  */
.site-header__inner-container,
.site-footer__inner-container,
.is-style-cs-size-1 > .wp-block-group__inner-container,
.is-style-cs-size-2 > .wp-block-group__inner-container,
.is-style-cs-size-2 > .wp-block-cover__inner-container {
  position: relative;
  width: 100%;
  max-width: var(--max-w-content);
  margin-right: auto;
  margin-left: auto;
}

.is-style-cs-size-2 > .wp-block-group__inner-container,
.is-style-cs-size-2 > .wp-block-cover__inner-container {
  padding-left:var(--site-padding-size-2);
  padding-right:var(--site-padding-size-2);
}

section.is-style-cs-size-2 > .wp-block-group__inner-container {
  /* white bg style "regular" content */
  padding-top:var(--group-padding-white-tb);
  padding-bottom:var(--group-padding-white-tb);
}

.wp-block-cover + .wp-block-group.is-style-cs-size-2 > .wp-block-group__inner-container {
  /*erster Block nach cover mit size-2 weiss */
  padding-top: clamp(var(--group-size2-after-cover-t), var(--group-padding-white-tb), 999px);
}


/* footer bereich */
.site-content {padding-bottom: var(--site-footer-before-space)} /* abstand vor footer */
.site-footer__inner-container {
  padding-top: 20px;
  padding-bottom: 20px;  
}


/*
.is-style-cs-size-1,
.is-style-cs-size-2 {
  margin-bottom:calc(var(--group-padding-t) * 1.5);
} */


.is-style-cs-size-1.has-background,
.is-style-cs-size-2.has-background {
  padding-top:var(--group-padding-t);
  padding-bottom:var(--group-padding-b);
}

@media (min-width:768px) {
    :root {
        --max-w-content: 84%;
        --group-size2-after-cover-t:45px;
        --group-padding-white-tb:30px;
    }
}

@media (min-width:992px) {
    :root {
        --max-w-content: 88%;
        --site-padding-size-2:1.8%;

        
    }
    /* at breakpoint mobile/desktop navi */
    .site-header__inner-container {
        max-width: var(--max-w-content);
    }
}

@media (min-width:992px) and (max-width:1199px) {    
  :root {
    --max-w-content: 94%;
  }
}

@media (min-width:1200px) {
    :root {
        --max-w-content: 88%;
        --site-padding-size-2:0;
        --group-padding-white-tb:45px;
    }
}

@media (min-width:1400px) {
    :root {
      --group-padding-white-tb:55px;
    }
}
@media (min-width:1600px) {
    :root {
        --max-w-content: 1280px;
        --group-size2-after-cover-t:55px;
        --site-footer-before-space:55px;
    }
}

@media (min-width:1900px) {
    :root {
        --group-padding-white-tb:60px;
    }
}


.container {display:block;margin:0 auto;max-width:var(--max-w-site)}

/* für nav überlagern = grid grid-area: 1 / 1; */
.site {position: relative;}
.header-wrapper {
  position: absolute;
  top: 0;             
  left: 0;            
  width: 100%;        
  z-index: 5;         
  height: fit-content;
}


/* fix footer for short content */
#site-wrapper {min-height: 100vh;display: flex;flex-direction: column}
#site-footer {margin-top: auto;background-color:var(--site-bg-color-a);color:#fff;}
.theme-footer {background-color: var(--site-body-bg-color)}





.fb-row-copy {
  display: flex;
  align-items: center;
  gap: 0.3em; /* optionaler Abstand zwischen den Blöcken */
  flex-wrap: nowrap;
}

.fb-row-copy .widget_text p {
  margin: 0;
  display: inline;
}

.fb-row-copy .wp-block-image {
  margin: 0;
}

.fb-row-copy img {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  animation: pulse-heart 1.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulse-heart {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}








/* reset Marker in unterstützten Browsern */
summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: 1.2em; /* Platz für Marker */
  font-weight: 600;
  font-size:1.6rem;
}

summary::-webkit-details-marker {
  display: none; /* Safari: Standard-Dreieck ausblenden */
}

/* Fügt eigenes "Plus"-Zeichen ein */
summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

/* Wenn <details open> ist, zeige stattdessen "–" */
.wp-block-details {
  margin-bottom:0.3em;
}
.wp-block-details[open] > summary::before {
  content: "–";
}










.table-summary-pbs {
  --marker-width:30px;
  --marker-fs:40px;
  --marker-l:2px;
  --marker-t:10px;
  --marker-oz-t: 8px;
}


.table-summary-pbs .mobile-off {display: none}

.table-notes {
  margin-bottom:10px;
  font-size:93%;
}

/* reset Marker in unterstützten Browsern */
.table-summary-pbs summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: var(--marker-width); /* Platz für Marker */
  font-weight: 600;
}

/* Fügt eigenes "Plus"-Zeichen ein */
.table-summary-pbs summary::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>');
  position: absolute;
  left: var(--marker-l);
  top: var(--marker-t);
  width: var(--marker-fs);
  height: var(--marker-fs);
  transform: scale(0.85); /* Anpassen der Größe */
}

.table-summary-pbs .wp-block-details[open] > summary::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19 13H5v-2h14v2z"/></svg>');
}

.table-summary-pbs .summary-oz-wrp summary::before {top: var(--marker-oz-t)}


/* details/summary für Gesamtansicht */
.summary-years-wrp {
  margin-bottom: 4px;
  padding-left:var(--marker-width);
  padding-right:20px;

  position: sticky;
  top: 0;
  z-index: 5;
  background-color: var(--site-body-bg-color);

  display: none;
}
.table-summary-pbs details {
  margin-bottom: 0;
}

.table-summary-pbs summary {
  font-weight: 400;
  font-size:inherit;
  padding-left:10px;
  padding-right: 10px;
  padding-top: 12px;
  padding-bottom: 10px;
}
.table-summary-pbs summary:hover {
  background-color: #6e2d51;
}

.table-summary-pbs summary::before {
  width: var(--marker-width);
  text-align: center;
}

.table-summary-pbs .wp-block-heading {
  font-size: 1.45rem;
  color:#fff;
}

.table-summary-pbs .wp-block-heading,
.table-summary-pbs .i-ziel-txt summary {
  margin-bottom: 0.5rem;
}

.summary-schwerpunkt-wrp .i-jahre-wrp {font-weight: 700}
.summary-ziel-wrp .i-jahre-wrp {font-weight: 400}
.summary-row-massnahme .i-jahre-wrp {font-weight: 400}

.pbs-block-info-years {
  display:flex;
  justify-content:space-between;
}
.i-ziel-txt {
  width: 100%;
  padding-right: 0;
  padding-left:25px;
  margin-bottom: 15px;
}
.i-jahre-wrp {
  display:flex;
  justify-content:flex-end;
  align-items: flex-start;
  flex-basis:50%;
  flex-shrink:0;
}
.h-jahre {
  flex-basis:25%;
  flex-shrink:0;
  flex-grow: 0;
  text-align:right;
  font-size: 1.8rem;
  font-weight: 700;

  padding:3px 10px;
}
.h-jahre.active {
  color:#d84e23;
}
.jahre-item {
  flex-basis:25%;
  flex-shrink:0;
  text-align:right;
  white-space: nowrap;

  padding: 2px 5px;
}

.summary-content-wrp {
  border-top:2px solid white;
}
.summary-row-massnahme-wrp {
  /* wegen marker plus/minus margin integrieren */
  margin-left: 10px;
  padding-top:12px;
  padding-bottom: 7px; /* 12 - 5 */
  padding-right:10px
}
.summary-schwerpunkt-wrp {
  border-bottom: 2px solid white;
}
.summary-schwerpunkt-item {
  background-color: #632949;
  color:white;
}
.summary-ziel-wrp {
  background-color: #8b426b;
  color:white;
  border-bottom: 1px dotted white;
}
.summary-row-massnahme {
  display:flex; 
  justify-content:space-between;
  flex-direction: column;
  margin-bottom: 15px;
  overflow-x: scroll;
}
.summary-row-massnahme__txt {
  font-weight: 700;

  padding:2px 0;    /* dasselbe padding wie jahre-item */
  padding-right:50px;
  padding-bottom:10px;
}
.summary-row-massnahme .i-jahre-wrp > div {background-color:#f5dfa8}
.summary-row-massnahme .i-jahre-wrp > div:nth-child(1) {background-color:#efca6e}
.summary-row-massnahme .is-empty {background-color: transparent !important;}

.site-content a.table-summary-pbs__a {
  color: inherit !important;
  text-decoration: none !important;
}
.site-content a.table-summary-pbs__a:hover {
  text-decoration: underline !important;
}




@media screen and (max-width:991px) {
  
  .table-summary-pbs .wp-block-heading {
    margin-left: var(--marker-width);
  }
  
  .pbs-block-info-years div:first-child {
    align-self: self-end;
  }
  
  .summary-schwerpunkt-wrp .i-jahre-wrp {
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.1px;
  }
  
}



@media screen and (min-width:992px) {

  .table-summary-pbs {
    --marker-width:50px;
    --marker-fs:40px;
    --marker-l:0px;
    --marker-t:4px;
    --marker-oz-t: 5px;
  }

  .summary-years-wrp {display: block}
  .table-summary-pbs .mobile-only {display: none}
  .table-summary-pbs .mobile-off {display:unset}
  .table-notes {display: none}

  .table-summary-pbs .summary-oz-wrp summary::before {
    top: var(--marker-oz-t);
    width:calc( var(--marker-width) - 6px);
    left:3px;
  }
  

  .table-summary-pbs summary {
    padding-left:var(--marker-width);
    padding-right:20px;
    padding-top:12px;
    padding-bottom: 10px;
  }

  .table-summary-pbs .wp-block-heading {
    font-size: 1.75rem;
  }

  .summary-row-massnahme-wrp {
    margin-left: var(--marker-width);
    padding-right:20px;
  }
  .summary-row-massnahme {
    flex-direction: row;
    margin-bottom: 5px;
  }
  .summary-row-massnahme__txt {
    padding-bottom:2px;
  }

  .i-ziel-txt {
    width: 50%;
    padding-right:5%;
    padding-left:0;
    margin-bottom: 10px;
  }

  .jahre-item {
    padding: 2px 10px;
  }
  
}




/* Standardzustand: kein Spinner sichtbar */
#summary-download.loading a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

/* Spinner Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

















.tax-content-wrp {
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  gap:80px;
}

.tax-content-wrp__left {flex-basis: 100%}
.tax-content-wrp__right {display: none}


.wp-block-heading img.emoji {margin: 0 0.16em 0 0 !important}

/* Listenanzeige Massnahmen */
#measures[data-columns]::before {
    content: '3 .column.size-1of3';
}

/* These are the classes that are going to be applied: */
.column { float: left; }



@media screen and (max-width: 767px){
    #measures[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #measures[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}
@media screen and (min-width: 992px) {
    #measures[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.ajax-filters-wrp {
  margin-bottom: 2.4rem;
}

.measures-archive {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px; 
}
.listing-item {
  padding:20px;
  background-color: var(--site-text-heading);
  margin-bottom:20px; /* wie gap measures-archive */
}
.post-thumbnail.listing {
  aspect-ratio: 21/12;
}
.post-thumbnail.listing img {
  object-fit: cover;
  height:auto;
  width: 100%;
  aspect-ratio: 21/12;
}

.measures-archive .col-white {
  color:white !important;
}

.measures-no-results {
  /* Dieses Element überspannt alle Spalten */
  grid-column: 1 / -1; 
  background-color: var(--site-bg-color-c);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
}
.measures-archive > .column:has(.measures-no-results) {
  grid-column: 1 / -1; 
}

.is-loading {
  opacity: 0.6;
}


@media (min-width:768px) {
  .measures-archive {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width:992px) {
  .measures-archive {
    grid-template-columns: repeat(3, 1fr);
  }
}






/* Hauptlayout mit den Box-Elementen ohne Inhalte! */


/* some WP default overrides und generelle Layout-Werte */

:where(.wp-block-group.has-background) { padding:0} /* override wp default */

.img-fluid, .wp-post-image, .wp-block-image:not(.is-style-cs-image-emoji) > img, svg {max-width: 100%;height: auto;}
.img-cover {object-fit: cover;object-position: 50% 50%;}
.wp-block-image figcaption { text-align: left;color:var(--site-text-muted)}

.is-content-justification-center {display:flex;justify-content: center;}
.hyphens-auto {hyphens: auto;}
.hyphens-off {hyphens: none !important;}
.wsnw {white-space: nowrap;}

.p-relative, .p-rel {position:relative}
.d-block {display:block}
.d-flex {display:flex;flex-wrap: wrap;}
.d-flex-cols-rows {flex-direction: column}
.d-grid {display: grid;}
.screen-reader-text, .d-none {display:none !important}
.h-100 {height: 100% !important}
.w-100 {width:100%}
.w-33 {width:33.33%}
.w-66 {width:66.66%}
.w-90 {width: 90%;}
.img-size-50 {max-width: 50%}
.img-size-60 {max-width: 60%}
.img-size-70 {max-width: 70%}
.img-size-80 {max-width: 80%}
.img-size-90 {max-width: 90%}

.clearfix:after {display: block;clear: both;content: "";}
.ml-a {margin-left: auto}

.wp-block-cover {padding:0}
:root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {border-radius: var(--border-radius-img)}


/* end some WP default overrides */




/* SITE Inhalte */
body {
	font-family: "Source Sans Pro", system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji", sans-serif;
	font-size:1.02rem;
	font-weight: 400;
	color:#222222;
  background-color: var(--site-body-bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.lock-scrolling {overflow: hidden;}
.is-loadingxx {opacity: 0.7;} /* auchtung zerschiesst salvatore layout */

.screen-reader-text, .d-none {display: none !important} 
.skip-link {left: 0;position: absolute;transform: translateY(-100%)}
.skip-link:focus {transform: translateY(0%)}

b, strong { font-weight:700; }
.small, .has-small-font-size, .is-style-cs-paragraph-small { font-size: .95rem}

.has-textcol-a-color, .text-muted {color:var(--site-text-muted)}
.has-textcol-b-color {color:var(--site-extra-color-1)}
.has-keycol-a-color {color:var(--site-bg-color-a)}
.has-keycol-a-background-color {background-color: var(--site-bg-color-a)}
.has-keycol-b-background-color {background-color: var(--site-bg-color-b)}
.has-keycol-c-background-color {background-color: var(--site-bg-color-c)}

.has-blue-gradient-1-gradient-background {background: linear-gradient(135deg, rgba(0,173,239,1) 0%, rgba(0,164,227,1) 100%)}
.has-blue-gradient-2-gradient-background {background: linear-gradient(135deg, rgba(26,138,203,1) 0%, rgba(0,112,177,1) 100%)}

.has-white-color {color:#fff !important}

.wp-block-column {position: relative;}

.wp-block-group:not(.is-style-size-0).has-background {
  border-radius: 8px;
}

.wp-block-group:not(.is-style-size-0).has-background > .wp-block-group__inner-container {
  padding:20px 20px 20px 20px;
}








/* cover block */
.wp-block-cover.content-space .wp-block-cover__inner-container {padding-top:100px;padding-bottom:30px}

.wp-block-cover .wp-block-columns .wp-block-column {margin-bottom:30px}
.wp-block-cover .wp-block-columns .wp-block-column:nth-child(1) {position: relative;z-index: 1;margin-bottom:55px}







/* Spezialsachen, Content */
/*
h1, h2, h3, h4, h5, h6, 
.is-style-cs-h1, .is-style-cs-h2, .is-style-cs-h3, .is-style-cs-h4, .is-style-cs-h5 */
.wp-block-heading {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.2;
  color:var(--site-text-heading);
}

h1.wp-block-heading, .is-style-cs-h1 {font-size:2rem; margin-bottom:0.45em;}
h2.wp-block-heading, .is-style-cs-h2 {font-size:1.7rem; margin-bottom:0.45em;}
h3.wp-block-heading, .is-style-cs-h3 {font-size:1.5rem; margin-bottom:0.45em;}
h4.wp-block-heading, .is-style-cs-h4 {font-size:1.4rem; margin-bottom:0.45em;}
h5.wp-block-heading, .is-style-cs-h5 {font-size:1.2rem; margin-bottom:0.45em;}
h6.wp-block-heading, .is-style-cs-h6 {font-size:1.12rem; margin-bottom:0.45em;}

.page-template-landing-page h2.wp-block-heading {margin-bottom: .8em}
.cover-no h1.wp-block-heading, .is-style-cs-h1 {margin-bottom: .4em}

.wp-block-heading > a {color:var(--site-bg-color-a) !important}
.wp-block-heading > a:hover {text-decoration: none}



/* default margins */
.site-main p {margin-bottom:20px}
.site-main figure {margin-bottom:30px}
.site-main ul,
.site-main ol {
  margin-bottom: 20px;
}



/* end site Inhalte */


/*site spezifisch, z.B. overlayed menu */
.cover-no .site-wrapper {padding-top:130px}
.cover-no.primary-navigation-open .header-items {background-color:var(--site-body-bg-color)}


.site-logo {max-width: 168px;height:auto}
.footer-logo {margin-top: .4rem;margin-bottom: 35px}
.logo-subheading {
  font-size:22px;
  font-weight: 700;
  transform:translateY(5px);
}


.site-main .pre-header {
  font-size: 1.65rem;
  color:var(--site-color-silver) !important;
  margin-bottom:10px;
}




@media only screen and (max-width: 991px) {

	.menu-button-container {display: flex}
	
	.primary-navigation-open #login-langs-nav {display: block;margin-top: 0;width:100%}
	.header-wrapper.sticked .login-langs-nav-wrapper {display: block}
	
	.primary-navigation-open #site-header {overflow:scroll;padding-bottom:50px}
	#header-nav { 	display:none;	}
	.primary-navigation-open #header-nav { display: block; padding-top:1rem;	}
	
	.primary-navigation-open .header-wrapper {height:100vh; transition: flex 0.3s ease-out;	}

	
}

.site-content a:not(.wp-block-button__link):not(.post-edit-link):not(.h2-a):not(.page-numbers):not(.resp-sharing-button__link):not(.wp-block-file__button) {
  color:var(--site-btn-color);
  text-decoration: underline;
}
.site-content a:hover:not(.wp-block-button__link):not(.post-edit-link):not(.h2-a):not(.page-numbers):not(.resp-sharing-button__link):not(.wp-block-file__button) {
  color:var(--site-btn-color);
  text-decoration: none;
}
.site-footer a:not(.post-edit-link):not(.h2-a) {
  color:inherit;
  text-decoration: none;
}
.site-footer a:hover:not(.post-edit-link):not(.h2-a):not(.wp-block-button__link) {
  color:inherit;
  text-decoration: underline;
}


.wp-block-cover, .wp-block-cover-image {min-height: 360px}


.site-content .btn,
.wp-block-button__link {
  background-color: var(--site-btn-color);
  color: white;
  white-space: nowrap;
  line-height: 1;
  border:none;
  border-radius: 9999px;
  box-shadow: none;
  height:auto;
  transition: all .3s ease;
}
.wp-block-button .wp-block-button__link {margin-right:15px;margin-bottom:8px}
.wp-block-button:last-child > .wp-block-button__link {margin-right: 0;}
.wp-block-buttons + p {margin-top:25px}

.site-content .btn:not(.btn-round-icon):not(.btn-xs),
.wp-block-button__link {
  padding: calc(.667em + 2px) calc(1.333em + 2px);
}
.btn-xs {
  font-size: 82%;
  line-height: .8;
  padding: calc(.267em + 1px) calc(0.72em + 1px);
}
.btn-filter-reset {
  margin-top:20px;
}




.wp-block-button__link:hover {
  color:#fff;
  background-color: var(--site-btn-color-h);
  text-decoration: none;
}

.btn-round-icon {
  display: flex;
  padding: 5px;
  border-radius: 999px;
}
.btn-round-icon svg {width:20px}
.btn-round-icon.light {background-color: #e1e1e1;color:#b1b1b1}
.btn-round-icon + .btn-round-icon {margin-left:4px}

.cl-a:hover {text-decoration: none;}


.wp-block-gallery {
    margin-top:2rem;
    margin-bottom:3.5rem;
}


.wp-block-embed.is-type-video {
    max-width:100%;
    margin:0 auto;
    margin-top:2rem;
    margin-bottom:2rem;
    
}



.site-main p,
.site-footer p,
.site-main ul:not(.splide__list) li {
    line-height:1.5;
}



.site-main dl,
.site-main ol,
.site-main ul:not(.splide__list):not(.list-unstyled) {
    margin-top:1.5rem;
    margin-bottom: 2.5rem;
}
.site-main ul:not(.splide__list) li ul {margin-top:1rem}

nav ul {list-style-type: none;margin:0;padding:0}




.site-main ul:not(.page-numbers):not(.list-inline):not(.is-style-cs-list-lined):not(.splide__list):not(.list-unstyled):not(.is-style-cs-list-checks),
.site-main ul:not(.page-numbers):not(.list-inline):not(.is-style-cs-list-lined):not(.splide__list):not(.list-unstyled):not(.is-style-cs-list-checks) ul {
    list-style: circle;
    padding-left:15px;
    display:grid;
}



.list-inline {
    padding-left: 0;
    list-style: none;
}
.list-inline-item {
    display: inline-block;
    margin-bottom:.5rem !important;
    background-image: none !important;
    padding-left:0 !important;
}
.list-inline-item:not(:last-child) {
    margin-right: 1rem;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}



.is-style-cs-list-iconlist {
  padding-left: 0 !important;
  list-style: none;
  position: relative;
}
.is-style-cs-list-iconlist li {
  display: inline-block;
  padding-left: 50px;
  line-height: 21px;
  margin-bottom: 15px;
  position: relative;
}
a.color-regular,
.icon-email a, .icon-phone a {
  color:#3a3a3a;
}

.is-style-cs-list-iconlist li.icon-phone::before,
.is-style-cs-list-iconlist li.icon-email::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50px;
  background-color: var(--site-bg-color-b);

  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 16px 16px;
}


.key-image-measure {
  width: 100%;
  aspect-ratio: 21/12;
  overflow: hidden;
}
.key-image-measure img {
  aspect-ratio: 21/12;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: auto;
}



.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 20px;
}


.filter-grid-first {
  margin-bottom:15px; /* wie row-gap von grid */
}
.filter-grid-first .list-unstyled {
  margin-top: 10px !important;
  margin-bottom: 15px !important;
}

.ajax-form img.emoji {
  margin-right:10px !important;
}



/* Check OK List-Style */
.is-style-cs-list-checks {
  padding-left: 0 !important;
  list-style: none;
  position: relative;
}
.is-style-cs-list-checks li, 
.is-style-cs-list-checks li li {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23295da6' viewBox='0 0 24 24' width='24' height='24'><path fill='none' d='M0 0h24v24H0z'></path><path d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'></path></svg>") !important;
  background-repeat: no-repeat;
  background-position: left 3px;
  background-size: 23px 23px;
  padding-left: 30px;
}

.is-style-cs-list-checks.is-last {margin-bottom:1.5rem !important}

.flex-gap-sm {display: flex;align-items: first baseline;}
.flex-gap-sm div {display:inline;cursor: pointer;}
.flex-gap-sm div:first-child {white-space: nowrap;padding-right:8px;}
.flex-gap-sm div:last-child {font-size:93%;line-height: 1.25;overflow: hidden; white-space: nowrap; text-overflow: ellipsis}

.flex-gap-sm input {margin-right:8px}


.posted-on {margin-bottom: 25px}
    


.header-items {
  align-items: center;
  justify-content: space-between;
  padding: 4px 0px 6px 0px;
  margin-top:5px;
}
.outer-wrapper-primary-nav {
    align-items: center;
}
  
.footer-items {
    justify-content: space-between;
    flex-direction: column;
}

.footer-nav li {margin-bottom:10px}
.footer-block, .fb-row-copy, .fb-row-menu {margin-bottom:20px}
.fb-row-copy .widget_block:empty {display: none;}

.copy-fahrenheit {font-size: 93%;color:var(--site-bg-color-b);opacity: .7;}

.footer-nav.fn_horizontal {display: flex;gap: 16px;} 
  



.menu-button-container #primary-mobile-menu {
	background-color: transparent;
	border: none;
  padding:0;
  margin-right: -4px; /* optische Korrektur wegen SVG */
  margin-bottom: 4px;
}
.menu-button-container #primary-mobile-menu:focus {
   outline:none;
}

.menu-button-container #primary-mobile-menu .dropdown-icon {
	display: flex;
	align-items: center;
}

.menu-button-container #primary-mobile-menu .dropdown-icon .svg-icon {
	width:32px;
	height:32px;
}


.menu-button-container #primary-mobile-menu .dropdown-icon.open .svg-icon {
	position: relative;
}


.menu-button-container #primary-mobile-menu .dropdown-icon.close {
	display: none;
}

.menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.open {
	display: none;
}

.menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close {
	display: flex;
}

.has-logo.has-title-and-tagline .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close {
	animation-name: cay-close-button-transition;
	animation-duration: 0.3s;
}

.primary-navigation-open .menu-button-container #primary-mobile-menu {
	position: static;
}



/* smartmenus */

.sm{box-sizing:border-box;position:relative;z-index:9999;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;}
.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right;}
.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0;}
.sm ul{display:none;}
.sm li,.sm a{position:relative;}
.sm a{display:block;}
.sm a.disabled{cursor:default;}
.sm::after{content:"";display:block;height:0;font:0px/0 serif;clear:both;overflow:hidden;}
.sm *,.sm *::before,.sm *::after{box-sizing:inherit;}


.sm-clean {
  background: var(--site-body-bg-color);
  border-radius: 3px;
}

.sm-clean a {
  
  padding: 13px 58px 13px 5px;
  
  color: var(--nav-text-color);
  font-size: 18px;
  font-weight: 400;	
  
  line-height: 21px;
  text-decoration: none;
  
}

.sm-clean a:hover {color: var(--nav-text-color-hov)}

.sm-clean a.current, 
.sm-clean li.current-menu-item > a, 
.sm-clean li.current-menu-ancestor > a,
.sm-clean li.current_page_item > a,
.sm-clean li.current-page-ancestor > a,
.sm-clean li.current-post-ancestor > a,
.sm-clean li.current-post-parent > a,
.sm-clean li.current-menu-parent > a,
.sm-clean.langNav li.current-menu-item > a,
.sm-clean a.current-page-item {
  color: var(--nav-text-color-on);
}
.sm-clean a.current .sub-arrow, 
.sm-clean li.current_page_item > a .sub-arrow,
.sm-clean a.current-page-item .sub-arrow {
  color:var(--nav-text-color);
}  
 
.sm-clean a.disabled {
  color: #bbb;
}

.sm-clean a .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -19px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font: bold 16px/34px monospace !important;
  color:#000 !important;
  text-align: center;
  text-shadow: none;
  background: var(--site-body-bg-color);
  border-radius: 5px;
}
.sm-clean a .sub-arrow::before {
  content: '+';
  font-size: 22px;
  font-weight: normal;
}
.sm-clean a.highlighted .sub-arrow::before {
  content: '-';
}
.sm-clean > li:first-child > a, .sm-clean > li:first-child > :not(ul) a {
  border-radius: 5px 5px 0 0;
}
.sm-clean > li:last-child > a, .sm-clean > li:last-child > *:not(ul) a, .sm-clean > li:last-child > ul, .sm-clean > li:last-child > ul > li:last-child > a, .sm-clean > li:last-child > ul > li:last-child > *:not(ul) a, .sm-clean > li:last-child > ul > li:last-child > ul, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
  border-radius: 0 0 5px 5px;
}
.sm-clean > li:last-child > a.highlighted, .sm-clean > li:last-child > *:not(ul) a.highlighted, .sm-clean > li:last-child > ul > li:last-child > a.highlighted, .sm-clean > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-clean > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0;
}
.sm-clean li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-clean > li:first-child {
  border-top: 0;
}


.sm-clean ul a {
  font-size: 16px;
  border-left: 12px solid transparent;
  text-transform:none;
}

.sm-clean ul ul a {
  border-left: 24px solid transparent;
}
.sm-clean ul ul ul a {
  border-left: 36px solid transparent;
}
.sm-clean ul ul ul ul a {
  border-left: 48px solid transparent;
}
.sm-clean ul ul ul ul ul a {
  border-left: 60px solid transparent;
}

.sm-clean ul a:hover {
	color:#555555;
}


.wpml-ls-flag {padding-right: 5px;margin-bottom: 2px;}

@media (min-width: 992px) {
  
  /* Switch to desktop layout */
  
    
	.sm {
		display:inline-block;
	}

  .sm-clean ul {
    position: absolute;
    width: 12em;
  }

  .sm-clean li {
    float: left;
  }

  .sm-clean.sm-rtl li {
    float: right;
  }

  .sm-clean ul li, .sm-clean.sm-rtl ul li, .sm-clean.sm-vertical li {
    float: none;
  }

  .sm-clean a {
    white-space: nowrap;
  }

  .sm-clean ul a {
    border-left:none;
  }

  .sm-clean ul a, .sm-clean.sm-vertical a {
    white-space: normal;
  }

  .sm-clean .sm-nowrap > li > a, .sm-clean .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  
  .sm-clean {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  	
	.sm-clean a {
		font-size:14px;
	}

  .sm-clean a, .sm-clean a.highlighted {
    padding: 7px 12px;	
    color: var(--nav-text-color);
    border-radius: 0 !important;
  }

  .sm-clean > li > a {
	  color:var(--nav-text-color);
  }
  
  #main-nav {
  	  display:flex;
  	  justify-content: space-between;
  }
    
  .sm-clean {
  	  display: flex;
      align-items: center;
  }
  .primary-menu-container {
  	  display: flex;
  }
  .sm-clean > a {
  	  padding:9px 12px
  }
  
  
  .sm-clean > li a,
  .sm-clean > li a.highlighted { 
  	font-weight: 400;
  	padding: 9px 16px 11px 16px;
  	margin:0; 
    font-size:16px; 
  }
  .sm-clean {margin-right: -16px}   /* visuelle Korrektur obiges padding-right */
  
  .sm-clean.lang-nav > li a {padding: 10px 10px 12px 10px;text-transform: uppercase;}
  .sm-clean.lang-nav .lang-menu > a {
    padding: 0px 8px 1px 8px;
  }
  
  .sm-clean.lang-nav li ul {min-width:fit-content !important}
  .wpml-ls-item .sub-menu {min-width:5em !important;max-width:5em !important}



  .sm-clean li li a,
  .sm-clean li li a.highlighted { 
  	/* padding-right: 5px; */
    font-size:16px;
  }

  /*
  .sm-clean > li:first-child > a {margin-left:0}
  */
  	
  	
  .header-wrapper {background-color:transparent}
  .primary-navigation-open .header-wrapper {background-color:white}
  
  /*
  .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    color: var(--col-nav-link-on) !important; 
  } */
  
  .sm-clean a.current, 
  .sm-clean li.current_page_item > a,
  .sm-clean li.current-page-ancestor > a,
  .sm-clean.langNav li.current-menu-item > a,
  .sm-clean a.current-page-item {
    color: rebeccapurple;
  }
  
  .sm-clean ul ul a,
  .sm-clean ul ul ul a,
  .sm-clean ul ul ul ul a,
  .sm-clean ul ul ul ul ul a {
    border-left: 13px solid transparent;
  }


  /* only Top-Level */ 
  .sm-clean.main > a.current, 
  .sm-clean.main > li.current-menu-item > a, 
  .sm-clean.main > li.current-menu-ancestor > a,
  .sm-clean.main > li.current-menu-parent > a, 
  .sm-clean.main > li.current_page_item > a,
  .sm-clean.main > li.current-page-ancestor > a,
  .sm-clean.main > a.current-page-item {
    color:var(--site-bg-color-a);
    background-color:var(--site-bg-color-b);
    border-radius: 50px !important;
    line-height: 1;
  }
  
  .sm-clean.main li li.current-menu-item > a   {
  	color: var(--nav-text-color-on);	
  } 
  
  .sm-clean a.disabled {
    color: #bbb;
  }
	

  .sm-clean a .sub-arrow {
    position: relative;
    top: -5px;
    margin-top: -2px;
    right: -8px;
    background-color:transparent;
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #fff;
    border-top: 1.5px solid #fff;
    transform: rotate(135deg);
    border-radius:0;

    display: none;
  }
  /* fix sublevel chevron/arrows */
  .sm-clean > li li a .sub-arrow {
    position:absolute;
    border-right-color: #000;
    border-top-color: #000;
  }
	
  
  .sm-clean li {
    border-top: 0;
  }


  .sm-clean > li > ul::before,
  .sm-clean > li > ul::after {
    content: '';
    position: absolute;
    top: -18px;
    left: 30px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 9px;
  }
  .sm-clean > li > ul::after {
    top: -16px;
    left: 31px;
    border-width: 8px;
    border-color: transparent transparent #fff transparent;
  }
  .sm-clean ul {
    border: 1px solid #f2f2f2;
    padding: 5px 0;
    background: #fff;
    border-radius: 4px !important;

    background-color: #fff;
	  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.12);
  }
     
  .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {
    background: transparent;
    color: var(--nav-text-color-hov);
  }
  .sm-clean ul a.current {
    color: var(--nav-text-color-on);
  }
  .sm-clean ul a.disabled {
    background: #fff;
    color: #ccc;
  }
  .sm-clean ul a.has-submenu {
    padding-right: 20px;
  }
  
  /* chevron-right Unterstufen */
  .sm-clean ul a.has-submenu {
    padding-right: 30px !important;
  }
  .sm-clean ul a .sub-arrow {
    margin-top:-3px;
    top: 50%;
    right: 10px;
    display: inline-block;
    border-color:#555555;
    border-style: solid;
	  border-width: 1px 1px 0 0;
	  content: '';
	  transform: rotate(45deg);
	  width: 6px;
	  height: 6px;
	  border-radius: 0;
  }

  .bm-xs {display: none}
  .bm-lg {display: inline-block}

  
}

/* NUR smartmenus Zusatzanimationen */    
@media (min-width:992px) {
      .sm-clean {-webkit-font-smoothing: subpixel-antialiased}
      
      .sm-clean ul.show-animation {
        -webkit-animation: show-animation 0.35s;
        animation: show-animation 0.35s;
      }

      @keyframes show-animation {
        0% {
          transform: translate3d(0,15px,0);
          opacity: 0;
        }
        100% {
          transform: translate3d(0,0,0);
          opacity: 1;
        }
      }
      
      .sm-clean ul.hide-animation{
        -webkit-animation: hide-animation 0.2s;
        animation: hide-animation 0.2s;
      }

      @keyframes hide-animation {
        0% {
          transform: translate3d(0,0,0);
          opacity: 1;
        }
        100% {
          transform: translate3d(0,15px,0);
          opacity: 0;
        }
      }
}




/* Tables */
.wp-block-table {
  margin-bottom:20px; /* analog p-tag */
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wp-block-table td, 
.wp-block-table th {
    padding: .4em .7em;
    border: none;
    word-break: normal;
}
.wp-block-table td:first-child, 
.wp-block-table th:first-child {
    padding-left:0;
}


.wp-block-table.size-auto table {width:auto}

.table-label-value td, 
.table-label-value th {
  padding: 1px 6px 0px 6px;
}
.td-label {white-space: nowrap;padding-right: 0;width:1px; /* setzt Inhaltsbreite */}
.td-value {width: auto;}




.single-measure-finance-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.single-measure-finance-flex > div {flex-basis: 25%;text-align: left;}
.single-measure-finance-flex .is-col-total {flex-basis: 100%;text-align: left;padding-bottom: 15px;}

.single-measure-col-section-graphic {display: none;}



.is-style-cs-image-circle {
  width: 100%;
  max-width: 460px;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1/1;
}
.is-style-cs-image-circle img {
  object-fit: cover;
  object-position: 50% 50%;
  height: 100%;
}

.wp-block-quote {border-left: 3px solid var(--col-key);padding-left:1rem }
.wp-block-quote p {	margin-bottom:1rem }

/*
.edit-link {display:flex;border:1px solid black;margin:2rem auto;width: fit-content;}
.edit-link a {padding:1.5rem} */
.edit-link {display: none;}




/* Filter form */
.form-select {
  /* --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); */
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    padding-left: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid rgb(68, 78, 90);
  border-radius: 2px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-text {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid rgb(68, 78, 90);
  border-radius: 2px;
  color: #000;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: .375rem .75rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  width: 100%;
}

.range_container {
  
  display: flex;
  flex-direction: column;
}

.sliders_control {
  position: relative;
  margin-top:18px;
  min-height: 15px;
}
.slider-info {
  text-align: center;
  position: relative;
  z-index: 0;
  margin-top: -8px;
  font-size: 93%;
}


input[type="range"] {
  -webkit-appearance: none; 
  appearance: none;
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: #EEDABB;
  pointer-events: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #EEDABB;
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #EEDABB;
  cursor: pointer;  
}

input[type=range]::-webkit-slider-thumb:hover {
  background: #f7f7f7;
}

input[type=range]::-webkit-slider-thumb:active {
  box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
  -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

#fromSlider {
  height: 0;
  z-index: 1;
}

#backToTop {
  display: block; 
  position: fixed;
  z-index:5;
  right: 10px;
  bottom: 15px;
  background-color: var(--site-body-bg-color);
  padding:4px;
  border-radius: 999px;
  visibility: hidden;
  text-decoration: none;
  transition: opacity 0.6s ease;
  opacity: 0;
  /* mix-blend-mode: multiply; */
}

#backToTop.show {
  visibility:visible;
  opacity: 1;
}
  


/* multi select, b4 style */
.ts-control{/*border:1px solid #ced4da;*/ border-radius:.25rem;box-shadow:none;box-sizing:border-box;flex-wrap:wrap;overflow:hidden;padding:.375rem .75rem;position:relative;width:100%;z-index:1}.ts-wrapper.multi.has-items .ts-control{padding:calc(.375rem - 1px) .75rem calc(.375rem - 4px)}.full .ts-control{background-color:#fff}.disabled .ts-control,.disabled .ts-control *{cursor:default!important}.focus .ts-control{box-shadow:none}.ts-control>*{display:inline-block;vertical-align:initial}.ts-wrapper.multi .ts-control>div{background:#efefef;border:0 solid #dee2e6;color:#343a40;cursor:pointer;margin:0 3px 3px 0;padding:1px 5px}.ts-wrapper.multi .ts-control>div.active{background:#007bff;border:0 solid transparent;color:#fff}.ts-wrapper.multi.disabled .ts-control>div,.ts-wrapper.multi.disabled .ts-control>div.active{background:#fff;border:0 solid #fff;color:#878787}.ts-control>input{background:none!important;border:0!important;box-shadow:none!important;display:inline-block!important;flex:1 1 auto;line-height:inherit!important;margin:0!important;max-height:none!important;max-width:100%!important;min-height:0!important;min-width:7rem;padding:0!important;text-indent:0!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.ts-control>input::-ms-clear{display:none}.ts-control>input:focus{outline:none!important}.has-items .ts-control>input{margin:0 4px!important}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-control:after{left:calc(.75rem + 5px);right:auto}.ts-control.rtl .ts-control>input{margin:0 4px 0 -2px!important}.disabled .ts-control{background-color:#e9ecef;opacity:.5}.input-hidden .ts-control>input{left:-10000px;opacity:0;position:absolute}.ts-dropdown{background:#fff;border:1px solid #d0d0d0;border-radius:0 0 .25rem .25rem;border-top:0;box-shadow:0 1px 3px rgba(0,0,0,.1);box-sizing:border-box;left:0;margin:.25rem 0 0;position:absolute;top:100%;width:100%;z-index:10}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(255,237,40,.4);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:3px .75rem}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{cursor:pointer;opacity:1}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{background:#fff;color:#6c757d;cursor:default}.ts-dropdown .active{background-color:#e9ecef;color:#16181b}.ts-dropdown .active.create{color:#16181b}.ts-dropdown .create{color:rgba(52,58,64,.5)}.ts-dropdown .spinner{display:inline-block;height:30px;margin:3px .75rem;width:30px}.ts-dropdown .spinner:after{animation:lds-dual-ring 1.2s linear infinite;border-color:#d0d0d0 transparent;border-radius:50%;border-style:solid;border-width:5px;content:" ";display:block;height:24px;margin:3px;width:24px}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-dropdown-content{max-height:200px;overflow:hidden auto;scroll-behavior:smooth}.ts-wrapper.plugin-drag_drop .ts-dragging{color:transparent!important}.ts-wrapper.plugin-drag_drop .ts-dragging>*{visibility:hidden!important}.plugin-checkbox_options:not(.rtl) .option input{margin-right:.5rem}.plugin-checkbox_options.rtl .option input{margin-left:.5rem}.plugin-clear_button{--ts-pr-clear-button:1em}.plugin-clear_button .clear-button{background:transparent!important;cursor:pointer;margin-right:0!important;opacity:0;position:absolute;right:calc(.75rem - 5px);top:50%;transform:translateY(-50%);transition:opacity .5s}.plugin-clear_button.form-select .clear-button,.plugin-clear_button.single .clear-button{right:max(var(--ts-pr-caret),.75rem)}.plugin-clear_button.focus.has-items .clear-button,.plugin-clear_button:not(.disabled):hover.has-items .clear-button{opacity:1}.ts-wrapper .dropdown-header{background:color-mix(#fff 85%,#d0d0d0);border-bottom:1px solid #d0d0d0;border-radius:.25rem .25rem 0 0;padding:6px .75rem;position:relative}.ts-wrapper .dropdown-header-close{color:#343a40;font-size:20px!important;line-height:20px;margin-top:-12px;opacity:.4;position:absolute;right:.75rem;top:50%}.ts-wrapper .dropdown-header-close:hover{color:#000}.plugin-dropdown_input.focus.dropdown-active .ts-control{border:1px solid #ced4da;box-shadow:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.plugin-dropdown_input .dropdown-input{background:transparent;border:solid #d0d0d0;border-width:0 0 1px;box-shadow:none;display:block;padding:.375rem .75rem;width:100%}.plugin-dropdown_input.focus .ts-dropdown .dropdown-input{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);outline:0}.plugin-dropdown_input .items-placeholder{border:0!important;box-shadow:none!important;width:100%}.plugin-dropdown_input.dropdown-active .items-placeholder,.plugin-dropdown_input.has-items .items-placeholder{display:none!important}.ts-wrapper.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input{flex:none;min-width:4px}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-ms-input-placeholder{color:transparent}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::placeholder{color:transparent}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-basis:0;flex-grow:1;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-wrapper.plugin-remove_button .item{align-items:center;display:inline-flex}.ts-wrapper.plugin-remove_button .item .remove{border-radius:0 2px 2px 0;box-sizing:border-box;color:inherit;display:inline-block;padding:0 5px;text-decoration:none;vertical-align:middle}.ts-wrapper.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-wrapper.plugin-remove_button.disabled .item .remove:hover{background:none}.ts-wrapper.plugin-remove_button .remove-single{font-size:23px;position:absolute;right:0;top:0}.ts-wrapper.plugin-remove_button:not(.rtl) .item{padding-right:0!important}.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove{border-left:1px solid #dee2e6;margin-left:5px}.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove{border-left-color:transparent}.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove{border-left-color:#fff}.ts-wrapper.plugin-remove_button.rtl .item{padding-left:0!important}.ts-wrapper.plugin-remove_button.rtl .item .remove{border-right:1px solid #dee2e6;margin-right:5px}.ts-wrapper.plugin-remove_button.rtl .item.active .remove{border-right-color:transparent}.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove{border-right-color:#fff}:root{--ts-pr-clear-button:0px;--ts-pr-caret:0px;--ts-pr-min:.75rem}.ts-wrapper.single .ts-control,.ts-wrapper.single .ts-control input{cursor:pointer}.ts-control:not(.rtl){padding-right:max(var(--ts-pr-min),var(--ts-pr-clear-button) + var(--ts-pr-caret))!important}.ts-control.rtl{padding-left:max(var(--ts-pr-min),var(--ts-pr-clear-button) + var(--ts-pr-caret))!important}.ts-wrapper{position:relative}.ts-control,.ts-control input,.ts-dropdown{color:#343a40;font-family:inherit;font-size:inherit;line-height:1.5}.ts-control,.ts-wrapper.single.input-active .ts-control{background:#fff;cursor:text}.ts-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.ts-wrapper.single .ts-control{--ts-pr-caret:2rem}.ts-wrapper.single .ts-control:after{border-color:#343a40 transparent transparent;border-style:solid;border-width:5px 5px 0;content:" ";display:block;height:0;margin-top:-3px;position:absolute;top:50%;width:0}.ts-wrapper.single .ts-control:not(.rtl):after{right:calc(.75rem + 5px)}.ts-wrapper.single .ts-control.rtl:after{left:calc(.75rem + 5px)}.ts-wrapper.single.dropdown-active .ts-control:after{border-color:transparent transparent #343a40;border-width:0 5px 5px;margin-top:-4px}.ts-wrapper.single.input-active .ts-control,.ts-wrapper.single.input-active .ts-control input{cursor:text}.ts-wrapper.form-control,.ts-wrapper.form-select{padding:0!important}.ts-dropdown,.ts-dropdown.form-control{background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;box-shadow:0 6px 12px rgba(0,0,0,.175);height:auto;padding:0;z-index:1000}.ts-dropdown .optgroup-header{font-size:.875rem;line-height:1.5}.ts-dropdown .optgroup:first-child:before{display:none}.ts-dropdown .optgroup:before{border-top:1px solid #e9ecef;content:" ";display:block;height:0;margin:.5rem -.75rem;overflow:hidden}.ts-dropdown .create{padding-left:.75rem}.ts-dropdown-content{padding:5px 0}.ts-control{align-items:center;display:flex;min-height:calc(1.5em + .75rem + 2px);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.ts-control{transition:none}}.focus .ts-control{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);outline:0}.is-invalid .ts-control,.was-validated .invalid .ts-control{border-color:#dc3545}.focus .is-invalid .ts-control,.focus .was-validated .invalid .ts-control{border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.is-valid .ts-control{border-color:#28a745}.focus .is-valid .ts-control{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.input-group-sm>.ts-wrapper .ts-control,.ts-wrapper.form-control-sm .ts-control{border-radius:.2rem;font-size:.875rem;min-height:calc(1.5em + .5rem + 2px);padding:0 .75rem}.input-group-sm>.ts-wrapper.has-items .ts-control,.ts-wrapper.form-control-sm.has-items .ts-control{font-size:.875rem;min-height:calc(1.5em + .5rem + 2px)!important;padding-bottom:0}.input-group-sm>.ts-wrapper.multi.has-items .ts-control,.ts-wrapper.form-control-sm.multi.has-items .ts-control{padding-top:calc(.75em - .40625rem - 1px)!important}.ts-wrapper.multi.has-items .ts-control{padding-left:calc(.75rem - 5px);--ts-pr-min:calc(0.75rem - 5px)}.ts-wrapper.multi .ts-control>div{border-radius:calc(.25rem - 1px)}.input-group-lg>.ts-wrapper>.ts-control,.ts-wrapper.form-control-lg .ts-control{border-radius:.3rem;font-size:1.25rem;min-height:calc(1.5em + 1rem + 2px)}.form-control.ts-wrapper{background:none;border:none;border-radius:0;height:auto;padding:0}.input-group>.ts-wrapper{flex-grow:1}.input-group>.ts-wrapper:not(:nth-child(2))>.ts-control{border-bottom-left-radius:0;border-top-left-radius:0}.input-group>.ts-wrapper:not(:last-child)>.ts-control{border-bottom-right-radius:0;border-top-right-radius:0}
.ts-control > input::placeholder {color: #000}



.mb-lg {margin-bottom: 30px;}

.m-0 {margin:0 !important}
.mb-0,
.wp-block-group.mb-0 > .wp-block-group__inner-container {margin-bottom: 0 !important}
.pb-0, .wp-block-group.pb-0 > .wp-block-group__inner-container {padding-bottom: 0 !important}
.site-content .no-line {text-decoration: none !important;}





@media (max-width:991px) {

  .outer-wrapper-primary-nav {display: none;}
  .header-wrapper {padding-top: 7px;padding-bottom: 7px;}

  .primary-navigation-open #site-header {height: 100vh;overflow: hidden;background-color: var(--site-body-bg-color);}
  .primary-navigation-open #site-header .site-header__inner-container {height: 100vh;}
  .primary-navigation-open #site-header .header-items {flex-direction:row;/*align-items: self-start;*/flex-wrap: wrap;}
  /* .primary-navigation-open .site-header-logo-wrapper {padding-top:4px} */
  .primary-navigation-open .outer-wrapper-primary-nav {width: 100%;  margin-top: 50px;}
  .primary-navigation-open .primary-navigation ul:first-child {line-height:4}
  .primary-navigation-open .primary-navigation a {margin:0}
  .primary-navigation-open .outer-wrapper-primary-nav {display: block;height: 80%; text-align: center;}
	.primary-navigation-open .primary-navigation .nav-btn {margin-top:1.1rem}

  /* wp-cols von 782px (default) auf 992 setzen */
  .wp-block-columns {
    flex-wrap: wrap !important;
    flex-direction: column !important;
  }

}


@media (min-width:561px) and (max-width:991px) {
   .key-image-measure, .key-image-measure img {
    aspect-ratio: 21/9;
  }

}

    
    
@media (min-width:768px) {
	
	body { font-size:0.98rem;}
	
  
	h1.wp-block-heading, .is-style-cs-h1 {font-size:2.2rem}
  h2.wp-block-heading, .is-style-cs-h2 {font-size:2rem}

  .page-template-landing-page .is-style-cs-size-2 > .wp-block-group__inner-container > h2 {max-width: 85%}

  .wp-block-cover, .wp-block-cover-image {min-height: 440px}

  .wp-block-cover.content-space .wp-block-cover__inner-container {padding-top:140px}

  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size: 50px}
  .page-template-landing-page h2.wp-block-heading {font-size: 40px;margin-bottom:.7em}



  .fa-cs-accordion dt {align-items: center}
  .fa-cs-accordion dt:after {right:6px}

}


  
    
@media (min-width:992px) {

  :root {
    --border-radius-img: 30px;
  }

	body { font-size:1.08rem;}
  
  .page-template-landing-page .is-style-cs-size-2 > .wp-block-group__inner-container > h2 {max-width: 80%}

  .header-items {
    padding-top:9px;
    padding-bottom:9px;
    margin-top:20px;
  }
  .site-logo {max-width: 250px}
  .menu-button-container {display:none}

  /* wp-cols von 782px (default) auf 992 setzen */
  .wp-block-columns {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
  }
  .wp-block-columns.is-style-cs-cols-content-50-50 {gap: var(--flex-cols-gap)}
  .wp-block-columns.is-style-cs-cols-content-50-50.gap-xl {gap: calc( 2 * var(--flex-cols-gap))}


  /* cover, large content with space top margin */
  .wp-block-cover.content-space .wp-block-cover__inner-container {padding-top:150px;padding-bottom:65px}


  .wp-block-cover .wp-block-columns {align-items: center !important}
  .wp-block-cover .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: 58%;
    flex-grow:0;
  }
  .wp-block-cover .wp-block-columns .wp-block-column:nth-child(2) {
    display: flex;
    justify-content: flex-end;
  }


  .site-header-logo-wrapper {margin-top:-3px}   /* optik */
  .cover-no .site-wrapper {padding-top:160px}

  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size:52px;line-height: 1.15;margin-bottom:0.54em}

  .single-measure-finance-flex > div {flex-basis: 20%;text-align: left;}
  .single-measure-finance-flex .is-col-total {flex-basis: 20%;text-align: left;padding-bottom: 0;}
  .single-measure-col-content {flex-basis: auto !important;}
  .single-measure-col-section-graphic {display: block;text-align: right;flex-basis: content !important;flex-shrink: 0 !important;}
  .single-measure-img-section {max-width: 310px;display:inline-block;margin-left: 40px;}

  .key-image-measure, .key-image-measure img {aspect-ratio: 21/6.5;}

  .summary-row-massnahme {overflow-x: hidden}
  
  .wp-block-image figcaption { font-size:0.9rem;}

  .d-flex-cols-rows {flex-direction: row}

  .tax-content-wrp__left {flex-basis: 65%}
  .tax-content-wrp__right {display:block; flex-basis:calc(35% - 80px);}

  
  .filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 20px;
  }

  .filter-grid > div:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .filter-grid > div:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
  .filter-grid > div:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }

  .filter-grid > div:nth-child(4) { grid-column: 1 / 3; grid-row: 2; }
  .filter-grid > div:nth-child(5) { grid-column: 3 / 5; grid-row: 2; }

  .filter-grid > div:nth-child(6) { grid-column: 1 / 4; grid-row: 3; }
  .filter-grid > div:nth-child(7) { grid-column: 4 / 7; grid-row: 3; }


  .filter-grid.with-extra > div:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
  .filter-grid.with-extra > div:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }

  .filter-grid.with-extra > div:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .filter-grid.with-extra > div:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
  .filter-grid.with-extra > div:nth-child(5) { grid-column: 5 / 7; grid-row: 2; }

  .filter-grid.with-extra > div:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }
  .filter-grid.with-extra > div:nth-child(7) { grid-column: 3 / 5; grid-row: 3; }

  .filter-grid.with-extra > div:nth-child(8) { grid-column: 1 / 4; grid-row: 4; }
  .filter-grid.with-extra > div:nth-child(9) { grid-column: 4 / 7; grid-row: 4; }

  .flex-gap-sm div:last-child {
    padding-right: 60px;
    overflow: initial;
    white-space:unset;
    text-overflow:unset;
  }
  .filter-grid-first .list-unstyled {margin-bottom: 25px !important}

  

  footer {font-size:1.04rem}

  .footer-items {flex-direction: row;flex-wrap: wrap;justify-content: center; gap:1rem}
  .footer-nav.fn_horizontal {gap: 30px} 

  .fb-row-copy {margin-bottom:10px}
    
   
}




@media (min-width:992px) and (max-width:1199px) {    
  .copy-items {display: flex;}
  .site-logo {max-width: 220px}
  .header-items {padding: 4px 1.8% 6px 1.8%}

  .sm-clean > li a, .sm-clean > li a.highlighted {padding: 7px 11px 9px 11px}
  .sm-clean {margin-right: -11px}   /* visuelle Korrektur obiges padding-right */
}




@media (min-width:1200px) {
  
  :root {
    --flex-cols-gap: 60px;
  }

  body { font-size:1.16rem}
  h1.wp-block-heading, .is-style-cs-h1 {font-size: 2.5rem}
  .is-style-cs-h1 {font-size: 2.5rem !important;margin-bottom: .8em !important}

  .page-template-landing-page .is-style-cs-size-2 > .wp-block-group__inner-container > h2 {max-width: 75%}

  .sm-clean.lang-nav {margin-left:35px}
  .sm-clean > li a,
  .sm-clean > li a.highlighted { font-size:17px}

  .logo-subheading {font-size:29px}
   
  .wp-block-cover.content-space .wp-block-cover__inner-container {padding-top:160px}

  .wp-block-cover, .wp-block-cover-image {min-height: 550px}

  .cover-no .site-wrapper {padding-top:195px}

  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size:56px}
  .page-template-landing-page h2.wp-block-heading {font-size: 47px}

 
  .is-style-cs-image-circle {max-width: 550px}

  footer {font-size:17px}

  #backToTop {right: 25px;bottom: 35px}
  #backToTop svg {width:50px;height:50px}
  
}



@media (min-width:1400px) {

  .wp-block-cover {min-height: 500px;}
  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size:62px}
  .page-template-landing-page h2.wp-block-heading {font-size: 53px}

  .page-template-landing-page .is-style-cs-size-2 > .wp-block-group__inner-container > h2 {max-width: 70%}


  
}
    
    


@media (min-width:1600px) {

  :root {
    --flex-cols-gap: 80px;
  }

  body { font-size:1.2rem}
  h1.wp-block-heading, .is-style-cs-h1 {font-size: 2.9rem}
  .is-style-cs-h1 {font-size: 2.9rem !important}
  h2.wp-block-heading, .is-style-cs-h2 {font-size:2.2rem}
  .is-style-cs-h3 {font-size:1.98rem !important}


  .sm-clean > li a,
  .sm-clean > li a.highlighted { 
  	padding: 8px 22px 9px 22px;
    font-size:19px;
  }
  .sm-clean {margin-right: -22px}   /* visuelle Korrektur obiges padding-right */

  .wp-block-cover, .wp-block-cover-image {min-height: 600px}

  .page-template-landing-page .is-style-cs-size-2 > .wp-block-group__inner-container > h2 {max-width: 65%}
  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size:68px}
  .page-template-landing-page h2.wp-block-heading {font-size: 60px}


  .is-style-cs-image-circle {max-width: 620px}


  .footer-nav.fn_horizontal {gap: 50px;} 
}


@media (min-width:1800px) {

  .wp-block-cover, .wp-block-cover-image  {min-height: 660px;}

  .page-template-landing-page .wp-block-cover .wp-block-heading {font-size: 77px}
  .page-template-landing-page h2.wp-block-heading {font-size: 67px;margin-bottom:.7em}
  

  .wp-block-cover.content-space .wp-block-cover__inner-container {padding-top:170px;}
  .wp-block-cover .wp-block-columns .wp-block-column:nth-child(1) {max-width: 740px;}

  .wp-block-columns.is-style-cs-cols-content-50-50.gap-xl {gap: calc( 1.4 * var(--flex-cols-gap))}

}


@media (prefers-reduced-motion) {
	* {
		transition-delay: 0s !important;
		transition-duration: 0s !important;
    animation: none !important;
	}
}

@media print {

  @page {
    size: A4;
    margin: 10mm 12mm 18mm 12mm;
  }

  body {background-color: white;}
  .d-print-none, .edit-link { display: none !important; }
  .print-no-break {
    page-break-inside: avoid; /* ältere Schreibweise */
    break-inside: avoid;      /* neue, standardisierte Schreibweise */
  }

  .table-summary-pbs summary::before,
  .table-summary-pbs .summary-oz-wrp summary::before {display: none !important;}
  .table-summary-pbs .summaryxx {padding-left:0px !important; padding-right: 0px !important;}
  .i-ziel-txt {padding-left:0;}
  .pbs-block-info-years div:first-child {align-self: self-end}

  .site-footer__inner-container {margin-left: 0;}

}
