
:root {
    /* typography */
    --text-xxl: 4.5rem;
    --text-xl: 2.6rem;
    --text-l: 2.2rem;
    --text-m: 1.5rem;
    --text-s: 1.15rem;
    --text-xs: 0.9rem;
    --abstand:65px;

    --maincolor-dunkel: #000000;
    --maincolor-hell: #f1f5e1;
    --maincolor-gruen: #b8c758;
    --maincolor-dgruen: #aab73d;
    --maincolor-weiss: #ffffff;
    --mainfont: 'canada-type-gibson';
}

@media(max-width: 1024px){
  :root {
    --text-xl: 3.0rem;
    --text-xl: 2.3rem;
    --text-l: 1.6rem;
    --text-m: 1.4rem;
    --text-s: 1.15rem;
    --text-xs: 0.9rem;
    --abstand:40px;
    --abstand:20px;
  }
}

@media(max-width: 640px){
  :root {
    --text-xxl: 2.2rem;
    --text-xl: 1.9rem;
    --text-l: 1.7rem;
    --text-m: 1.4rem;
    --text-s: 1.05rem;
    --text-xs: 0.8rem;
    --abstand:20px;
  }
}


* {
	line-height:140%;
	margin:0;
	padding:0;
	font-size:16px;
	}
body {
	background: #fff;
  	cursor: auto;
    font-family: var(--mainfont);
    font-style: normal;
    font-weight: 600;
  	line-height: 1.5;
  	margin: 0;
  	padding: 0;
    cursor: auto;
	}
:active, :focus {
	outline: none
	border: 0; 
	}

body.bunt {
	background:	url(../Images/symbole_sprechwerk.svg);
	background-repeat:no-repeat;
	background-position:0 0;
	background-size:cover;
	background-attachment:fixed;
	height: 100vh;
	}
body.bunt .streifen_u {
	background:	url(../Images/symbole_sprechwerk_unten.svg);
	height:3vh;
	background-position:center bottom;
	background-repeat:no-repeat;
	background-size:cover;
	}

#zusatz {
	position:absolute;
	right:0;
	max-width:120px;
	padding:10px 0 10px 0;
    margin: 42px 0 10px 0;
	z-index:100;
	}
#logo {
	position:absolute;
	right:150px;
	max-width:340px;
	padding:10px 0 10px 0;
    margin: 3px 0 10px 0;
	z-index:80;
	}
#rueckruf {
    position: absolute;
    max-width: 200px;
    max-height: auto;
    margin:-30px 0 0 -20px;
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
 	transition: all 0.5s ease;
    }
#rueckruf:hover {
    transform: scale(0.9);
    -webkit-transition: all 0.8s ease;
 	transition: all 0.5s ease;
    }
.fuss {
    background:var(--maincolor-dgruen);
    }

/**************************/
/******** Formatierung ****/
/**************************/

h1 {
    color:var(--maincolor-dgruen);
    font-size: var(--text-xl);
    }
h2 {
	color:var(--maincolor-dgruen);
    text-transform: none;
    font-size: var(--text-l);
    }
h3 {
	color:var(--maincolor-dgruen);
    font-size: var(--text-m);
    }
.large-6 .frame-type-textpic h3 {
	color:var(--maincolor-dgruen);
    font-size: var(--text-s);
	font-weight: 600;
	}
p {
    font-family: var(--mainfont);
    font-style: normal;
	color:var(--maincolor-dunkel);
    font-size: var(--text-s);
	line-height:160%;
	}
p b, p strong {
    font-family: var(--mainfont);
    font-style: normal;
    font-weight: 600;
    font-size: 100%;
    }

p a {
  font-weight:500;
    }
a[href^="mailto:"]{
    background-image: url("../Icons/icon_mail_sp.svg");
	} 
a[href^="tel:"]{
    background-image: url("../Icons/icon_tel_sp.svg");
	} 

.image a[href^="tel:"], .image a[href^="mailto:"]{
  	background-image: none;
	}
.ce-gallery .image a img {
  	scale:1.0;
	transition: all .3s ease;
	}
.ce-gallery .image a:hover img {
  	scale:1.1;
	transition: all .3s ease;
	}
/******************************/
/******* ACCORDION ************/
/******************************/

ul.accordion {
    list-style-type: none;
    background: none;
    margin:30px 12px 30px 0!important;
    }
.accordion-title {
    background: var(--maincolor-hell);
    color:var(--maincolor-dgruen);
    }
.accordion p {
    padding: 10px 20px 0 15px;
    }
.accordion-title {
    display: block;
    padding: 10px 30px 8px 50px; /* Abstand Vorzeichen/Symbol + - */
    line-height: 1.9;
    border:0 !important;
    font-weight:500;
    font-size: var(--text-s);
    }
:last-child:not(.is-active) > .accordion-title {
    border-radius: 0 0 0 0;
    border: none;
    }
.accordion-title:hover, .accordion-title:focus {
    background:var(--maincolor-gruen);
    color:var(--maincolor-hell);
}
.accordion-title:focus {
    background:var(--maincolor-gruen);
    color:var(--maincolor-weiss);
    }
.accordion-title::before { /* Abstand Vorzeichen/Symbol + - */
    content: '+';
    position: absolute;
    left: 0.5em;
    margin-top: -12px;
    width: 28px;
    height: 28px;
    color: #000;
    text-align: center;
    line-height: 140%;
    border-radius: 2px;
    }
.is-active > .accordion-title::before {
    content: '-';
    color: #fff;
    }
.accordion-content {
    display: none;
    border: none;
    border: 0;
    background-color: none;
    font-weight: normal;
    }
:last-child > .accordion-content:last-child {
  border-bottom: 1px solid #fff;
}
.is-accordion-submenu-parent > a {
  position: relative;
}
.is-accordion-submenu-parent > a::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  border-color: #fff transparent transparent;
  border-top-style: solid;
  border-bottom-width: 0;
  position: absolute;
  top: 50%;
  margin-top: -4px;
  right: 2rem;
}
.is-accordion-submenu-parent[aria-expanded='true'] > a::after {
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform: scaleY(-1);
  -ms-transform: scaleY(-1);
  transform: scaleY(-1);
}

/******************************/
/********** TEASER ************/
/******************************/
.kaesten {
    display: flex;
    gap:30px;
    }
.kasten, .kasten:hover {
    background:var(--maincolor-gruen);
	border:4px solid #fff;
	width:100%;
	height:auto;
	margin-bottom:0;
	}
.kasten img {
	padding:0 0 20px 0;
	max-width: 100%!important;
	height:auto;
	}
.kasten h3 {
	color:#fff;
	margin:0 auto;
	}
.button, .btn-primary{
    background:var(--maincolor-weiss) !important;
    color:var(--maincolor-gruen)!important;
    }
.button:hover, .button.active, .btn-primary:hover {
    background:var(--maincolor-hell) !important;
    color: var(--maincolor-dunkel)!important;
    }

#news-container-1344 .grid-x .large-4, #news-container-1314 .grid-x .large-4 {
	margin:40px 0 20px 0!important;
	padding:0 6px!important;
	}
.callout {
	border:0;
	background:var(--maincolor-gruen)!important;
	margin:0!important;
	padding:0!important;
	}
.callout img {
	width:100%!important;
	}
.callout .condition-date {
	display:none;
	}
.news .news-list-view .teaser-text h4 span {
	display:inline-block!important;
	color:#fff;
	padding:0 10px;
	margin:12px 0!important;
	font-size: var(--text-m)!important;
	}
/**************************/
/******** Abstände ********/
/**************************/

h1 {
	margin:30px 20px 20px 20px;
    padding:0;
	}
h2 {
	margin:30px 20px 40px 20px;
	padding:0;
	}

h3 {
	margin:40px 20px 10px 20px;
	padding:0;
	}
h2 + h3 {
    margin-top: 0;
	}
h2:has(+ h3) {
    margin-bottom: 0;
	}
p {
	margin:15px 20px 20px 20px;
	padding:0;
	}
h3 ~ p { 
    margin:0 20px 20px 20px;
    }

hr.abstandshalter {
    height:1px;
    border:none;
    color: #fff;
    margin:var(--abstand) 0;
    }
.large-6 img {
	padding:0 10px 10px 20px;
	margin:0;
	}
.large-8 .grid-x {
	margin: auto 0;
	}
.inhalt ul {
  	padding-left: 18px;
  	margin-top: -25px;
	}
#c1330 ul {
  	padding-left: 20px;
  	margin-top: 25px !important; 
	}
.inhalt ul li {
  	margin: 4px 0 4px 0;
  	padding: 1px 10px 1px 3px;
  	line-height: 180%;
	}
/**********************************************/
@media only screen and (max-width: 1200px)  {
    
#zusatz {
	position:absolute;
	right:0;
	max-width:100px;
	padding:10px 0 10px 0;
    margin: -25px 0 10px 0;
	z-index:100;
	}
#logo {
	position:absolute;
	right:0px;
	max-width:300px;
	padding:10px 0 10px 0;
    margin: 12px 0 10px 0;
	z-index:80;
	}
  
}

/**********************************************/
@media only screen and (max-width: 1024px)  {

#zusatz {
	position:absolute;
	right:0;
	max-width:100px;
	padding:10px 0 10px 0;
    margin: 42px 10px 10px 0;
	z-index:100;
	}
#logo {
	position:absolute;
	right:auto;
    left:0;
	max-width:300px;
	padding:10px 0 10px 0;
    margin: 10px 0 10px 30px;
	z-index:80;
	}
.kaesten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
    }

.kasten, .kasten:hover {
    background:var(--maincolor-gruen);
	border:4px solid #fff;
	height:auto;
	margin-bottom:0;
	}
    
}


/**********************************************/
@media only screen and (max-width: 640px) {

/* Reihenfolge der div auf der Startseite ändern */
.grid-x .large-4 {
	order:2;
}

#zusatz {
	position:absolute;
	right:0;
	max-width:80px;
	padding:10px 0 10px 0;
    margin: 0 10px 10px 0;
	z-index:100;
	}
#logo {
	position:absolute;
	right:auto;
    left:0;
	max-width:240px;
	padding:10px 0 10px 0;
    margin: 30px 0 10px 30px;
	z-index:80;
	}

h1 {
	margin:20px;
	padding:0;
	}
h2 {
	margin:20px;
	padding:0;
	}
h3 {
	margin:20px 20px 0 20px;
	padding:0;
	}
p {
	margin:15px 20px 20px 20px;
	padding:0;
	}
h3 ~ p { 
    margin:0 20px 20px 20px;
    }

.fuss {
    width: 100%;
    padding: 30px 35px;
    }
.fuss .cell{
    padding-top:30px;
    }
.fuss p, .fuss ul {
    margin:10px 20px;
    padding:0;
	}
.fuss img{
    max-width: 220px;
  max-height: 100px;
	}
.kaesten {
    grid-template-columns: 1fr;
    }
#rueckruf {
    position: absolute;
    max-width: 150px;
    max-height: auto;
    margin:-30px 0 0 -20px;
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
 	transition: all 0.5s ease;
    }
}

.fuss #c1222 a img {
	max-width:40px;
	margin:2px 20px 10px 0;
	opacity:1;
	}
.fuss #c1222 a:hover img {
	opacity:0.8;
	}

.tx-tinyaccordion-pi1 .accordion-content header {
	    display: none;
	}
.accordion p {
    padding: 10px 0 20px 0;
	margin:0;
    }
.accordion-content, .accordion-content .frame { 
	padding-left:0!important;
	margin-left:0!important;
	}
ul#menu li.current a {
  	border-bottom:0;
	color:#000;
	}

}






