/* raleway-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/raleway-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/raleway-v36-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/raleway-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/raleway-v36-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
  --dunkelgrau: rgba(87,87,86,1);
  --dunkelgrau_se: rgba(87,87,86,.9);
  --hellgrau: rgba(218,218,218,1);
  --hellgrau_se: rgba(218,218,218,.9);
  --hellesgrau: rgba(218,218,218,.4);
  --weiss: rgba(255,255,255,1);
  --weiss_se: rgba(255,255,255,.9);
  --hellblau: rgba(0,176,231,1);
  --dunkelblau: rgba(0,65,126,1);
  --dunkelblau_se: rgba(0,65,126,.1);
  --gelb: rgba(232,174,0,1);
  --lila: rgba(149,27,129,1);
  --orange: rgba(218,95,6,1);
  --gruen: rgba(82,174,50,1);
}


html {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Raleway' !important;
  font-size: 18px;
  margin: 0 !important;
  overflow-x: hidden;
}


.dunkelgrau {
  background: var(--dunkelgrau);
}
.hellgrau {
  background: var(--hellgrau);
}
.hellblau {
  background: var(--hellblau);
}
.dunkelblau {
  background: var(--dunkelblau);
}
.gelb {
  background: var(--gelb);
}
.lila {
  background: var(--lila);
}
.orange {
  background: var(--orange);
}
.gruen {
  background: var(--gruen);
}


h2 {
  font-size: 1.5rem;
  line-height: 1.4em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.4em;
}



/* Weiterlesen */
#read-more-btn {
  border-radius: 0;
  background: var(--dunkelgrau);
}






/* Swiper */

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  width: 100%;
  height: auto;
  position: relative;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slidercaption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(50,50,50,.35);
  color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
  height: 50%;
  width: 3vw;
  top: 50%;
  transform: translateY(-50%);
  bottom: 0;
  left: 1.5vw;
}

.swiper-button-next {
  left: auto;
  right: 1.5vw;
}

/* Standard-Swiper-Pfeile ausblenden */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* FontAwesome-Icons per HTML sichtbar */
.swiper-button-prev svg,
.swiper-button-next svg {
  font-size: 1.5rem;
  color: #fff;
}

.swiper-pagination-bullet-active {
    background: var(--weiss);
}





/* Headerbild */
.headerimage {
  display: flex;
}

.headerimage > img {
  width: 100%;
  height: auto;
  display: block;
}

a.homelink {
	text-decoration: none;
	color: var(--dunkelgrau) !important;
}





/* Off Canvas */

.offcanvas {
	top: 0;
	background: var(--dunkelgrau_se);
    box-shadow: 5px 0 10px rgba(50,50,50,.2);
     backdrop-filter: blur(5px);  
	right: -280px;
	width: 280px;
  padding: 5em 1em 1em 1em;
	opacity: 0;
	visibility: visible;
	transition: all cubic-bezier(0.06, 0.93, 0.68, 0.97) 500ms;
}

.offcanvas .menu-main-menue-container {
	display: block;
}

.offcanvas ul#primary-menu {
    display: flex;
	flex-direction: column;
	position: relative;
}

.offcanvas ul#primary-menu > li {
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, .35);
}

.offcanvas ul#primary-menu li a {
    color: var(--weiss);
	padding: .65em 0;
    margin-right: 0;
}

.offcanvas ul#primary-menu li ul {
    display: block;
    line-height: 2em;
    position: relative;
	font-size: .85em;
    width: 100%;
    margin: 0;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 25px;
    list-style: none;
    top: 0 !important;
}

.offcanvas ul#primary-menu > li ul > li {
    padding-left: 0;
}

.offcanvas ul#primary-menu > li ul a {
    white-space: nowrap;
    padding-left: 20px;
	color: var(--weiss);
	position: relative;
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(1),
.offcanvas ul#primary-menu > li ul li:nth-child(1) a:hover {
	background: var(--gelb);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(2),
.offcanvas ul#primary-menu > li ul li:nth-child(2) a:hover {
	background: var(--orange);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(3),
.offcanvas ul#primary-menu > li ul li:nth-child(3) a:hover {
	background: var(--lila);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(4),
.offcanvas ul#primary-menu > li ul li:nth-child(4) a:hover {
	background: var(--dunkelblau);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(5),
.offcanvas ul#primary-menu > li ul li:nth-child(5) a:hover {
	background: var(--hellblau);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(6),
.offcanvas ul#primary-menu > li ul li:nth-child(6) a:hover {
	background: var(--gruen);
}

.offcanvas ul#primary-menu > li ul li.current_page_item:nth-child(7),
.offcanvas ul#primary-menu > li ul li:nth-child(7) a:hover {
	background: var(--dunkelgrau);
}

.offcanvas ul#primary-menu > li ul a::before {
 position: absolute;
	content:"";
	top:0;
	right: 0;
	bottom: 0;
	background: var(--dunkelgrau);
	width: 12px;
}

.offcanvas ul#primary-menu > li ul li:nth-child(1) a::before {
	background: var(--gelb);
}

.offcanvas ul#primary-menu > li ul li:nth-child(2) a::before {
	background: var(--orange);
}

.offcanvas ul#primary-menu > li ul li:nth-child(3) a::before {
	background: var(--lila);
}

.offcanvas ul#primary-menu > li ul li:nth-child(4) a::before {
	background: var(--dunkelblau);
}

.offcanvas ul#primary-menu > li ul li:nth-child(5) a::before {
	background: var(--hellblau);
}

.offcanvas ul#primary-menu > li ul li:nth-child(6) a::before {
	background: var(--gruen);
}





.offcanvas.opened {
	right: 0;
	opacity: 1
}

.ctoggleholder {
    top: 10px;
    right: 12px;
    position: fixed;
    width: 45px;
    z-index: 9999;
    background: #333;
    padding: 0 .275em;
}

.ctoggleholder:before,
.ctoggleholder:after,
.ctoggleholder div {
  background: #fff;
  content: "";
  display: block;
  height: 3px;
  border-radius: 3px;
  margin: 6px 0;
  transition: 0.5s;
}

.ctoggleholder.knock {
    background: transparent;
}

.ctoggleholder.knock:before {
  	transform: translateX(-3px) translateY(9px) rotate(135deg);
	background: var(--weiss);
}
.ctoggleholder.knock:after {
  	transform: translateX(-3px) translateY(-9px) rotate(-135deg);
	background: var(--weiss);
}
.ctoggleholder.knock div {
	transform: scale(0);
	background: var(--dunkelgrau);
}

.sensitivbackground {
    position: absolute;
    width: 0;
    top: 0;
    bottom: 0;
    left: 0;
	transition: all ease-in 200ms;
}

.sensitivbackground.triggered {
    width: 100%;
}



/* Hauptmenu */

.mainnav {
    background: var(--weiss_se);
    min-height: 50px;
    box-shadow: 0 2px 4px 1px rgba(50,50,50,.3);
	backdrop-filter: blur(6px);
}

.mainnav ul {
  display: flex;
}

.mainnav ul li {
  min-width: 20%;
  text-align: center;
}

ul#primary-menu li a {
  color: var(--dunkelgrau);
  display: block;
  font-size: 1.45rem;
  padding: 1em 0;
  margin-right: 2em;
  text-decoration: none;
  transition: all ease-in-out 300ms;
}

ul#primary-menu li a:hover,
ul#primary-menu li.current-menu-item a {
  font-weight: 600;
}


/* Untermenü */

.mainnav ul ul {
    visibility: hidden;
    opacity: 0;
	display: flex;
    flex-direction: column;
    position: absolute;
    padding: 0;
    margin: 0;
	background: var(--weiss);
    z-index: 1000;
    min-width: 180px;
    width: 13%;
	transform: translateY(-10px);
    transition: all ease-in-out 300ms;
	transition-delay: 500ms;
}

.mainnav ul li:focus-within > ul,
.mainnav ul li:hover > ul {
  	visibility: visible;
    opacity: 1;
    transform: translateY(0);
	transition-delay: 0s;
	box-shadow: 0 2px 4px 1px rgba(50,50,50,.3);
}

.mainnav ul ul li {
  display: block;
  text-align: left;
  margin: 1px 0 0 0;
  padding: 0;
}

.mainnav ul ul li a {
 position: relative;
  background: var(--dunkelgrau_se);
  color: var(--weiss) !important;
  padding: .75em .5em !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
font-weight: 400 !important;
  text-align: left;
  text-decoration: none;
  display: block;
  transition: background 0.2s ease;
}

.mainnav ul ul li a::before {
 position: absolute;
	content:"";
	top:0;
	right: 0;
	bottom: 0;
	background: var(--dunkelgrau);
	width: 12px;
}

.mainnav ul ul li:nth-child(1) a::before {
	background: var(--gelb);
}

.mainnav ul ul li:nth-child(2) a::before {
	background: var(--orange);
}

.mainnav ul ul li:nth-child(3) a::before {
	background: var(--lila);
}

.mainnav ul ul li:nth-child(4) a::before {
	background: var(--dunkelblau);
}

.mainnav ul ul li:nth-child(5) a::before {
	background: var(--hellblau);
}

.mainnav ul ul li:nth-child(6) a::before {
	background: var(--gruen);
}




.mainnav ul ul li a:hover,
.mainnav ul ul li.current-menu-item a {
  background: #f0f0f0; /* noch helleres Grau */
  color: var(--dunkelgrau) !important;
}

.mainnav ul ul li.current-menu-item a {
  font-weight: 600 !important;
}







/* Entry-Content */
.entry-content ul {
  margin: 0 0 1.25em 1.25em;
  list-style-type: square;
}

.entry-content a {
  color: var(--orange);
}





/* Sections */
.page-id-3 #primary,
.page-id-52 #primary,
.margintop {
	margin-top: 81px;
	display: block;
}




/* Kontaktformular */
#kontakt {
	scroll-margin-top: 100px;
}

#thecontactform {
	background: var(--hellesgrau);
	transition: all ease-in-out 1000ms;
}

/* Radio-Buttons dunkelgrau statt blau */
input[type="radio"].form-check-input:checked {
  background-color: #333 !important;
  border-color: #333 !important;
}

input[type="radio"].form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25) !important;
}

#thecontactform .form-control,
#thecontactform .btn {
	border-radius: 0 !important;
}

.wpcf7-checkbox {
	display: flex;
	flex-direction: column;
}

.wpcf7-checkbox > span {
	margin: .5em 0;
}


input[type="checkbox"],
input[type="radio"] {
    margin-right: 5px;
}

.wpcf7-acceptance .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
    margin-left: 30px;
}

.accept .wpcf7-acceptance .wpcf7-list-item-label,
.accept .wpcf7-checkbox .wpcf7-list-item-label {
    margin-left: 5px;
}

.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    margin-left: 3px;
	margin-right: 30px;
}

.wpcf7-list-item > label {
    margin-left: 0;
}

.wpcf7-list-item > label > input[type="checkbox"],
.wpcf7-list-item > label > input[type="radio"] {
    appearance: none;
    -webkit-appearance: none; /* Für Safari */
    width: 24px !important;
    height: 24px !important;
	margin-bottom: -5px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

.wpcf7-list-item > label > input[type="checkbox"]:checked,
.wpcf7-list-item > label > input[type="radio"]:checked {
    background: #fff
}

.wpcf7-list-item > label > input[type="checkbox"]:checked::before,
.wpcf7-list-item > label > input[type="radio"]:checked::before {
    content: '✔';
    color: var(--redcar);
    font-size: 26px;
    position: absolute;
    left: 6px;
    top: -10px;
}

.wpcf7-form-control {
	display: flex;
	flex-wrap: wrap;
}

.accept .wpcf7-form-control {
    display: inline-block;
}

.accept span.akzeptieren {
    display: inline-block;
	padding-left: 5px;
}

.wpcf7-form-control > span {
	flex: 0 0 50%;
}

.wpcf7-form-control-wrap > input,
.wpcf7-form-control-wrap > textarea {
	border: 0 !important;
}

.akzeptieren a:link,
.akzeptieren a:visited {
	text-decoration: none;
	color: var(--dunkelgrau);
}

.akzeptieren a:hover {
	color: #121212;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--dunkelgrau);
	padding: .25em .65em;
	color: #fff;
}

input.wpcf7-form-control.wpcf7-submit:disabled {
  	background: var(--hellgrau);
	border: none;
}



/* Akkordions */
.accordion-button {
  background: var(--hellesgrau);
  color: var(--dunkelgrau);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--dunkelgrau);
  color: var(--weiss);
}

.accordion-item {
    border: none;
    margin-bottom: 1em;
}

.accordion-item:first-of-type {
    border-radius: none !important;
}

.accordion-button:not(.collapsed)::after {
	-webkit-filter: grayscale(1) invert(1);
	filter: grayscale(1) invert(1);
}





/* Themenkacheln */
.titel_kontaktbox {
  line-height: 1.3em;
}

.kontaktbox a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--dunkelgrau);
  padding: .5em;
  background: white;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, background 0.4s ease;
  line-height: 1;
  border: none; /* Kein Rahmen */
}

.kontaktbox a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 100%;
  background: var(--dunkelgrau);
  z-index: -1;
  transition: width 0.4s ease;
}

.kontaktbox a:hover {
  color: white;
}

.kontaktbox a:hover::before {
  width: 100%;
}

.kontaktbox > span {
    padding: 0.5rem 1rem;
}

.kontaktbox a svg,
.kontaktbox a i {
  background: var(--dunkelgrau);
  color: white;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.2rem;  /* kleiner */
  width: 1.2rem;   /* kleiner */
  font-size: 0.9rem;
  line-height: 1;
}

.themenkachel {
  aspect-ratio: 1 / 1;
}

.themenkachel img {
  object-fit: cover;
  width: 100%;
  transition: all ease-in-out 1000ms;
}

.themenkachel:hover img {
  transform: scale(1.1);
  filter: grayscale(.6) contrast(2);
}

.themenkachel .thementitel {
    min-height: 10%;
    transition: all cubic-bezier(0.21, 1.08, 0.92, 1.03) 500ms;
}

.themenkachel:hover .thementitel {
 min-height: 100%;
 opacity: .9;
}

.page-id-120 .themenkacheln div:nth-child(2),
.page-id-122 .themenkacheln div:nth-child(3),
.page-id-124 .themenkacheln div:nth-child(4),
.page-id-126 .themenkacheln div:nth-child(5),
.page-id-128 .themenkacheln div:nth-child(6),
.page-id-130 .themenkacheln div:nth-child(7),
.page-id-132 .themenkacheln div:nth-child(8) {
	display: none;
}



/* Sidebar */

#secondary .sticky-top {
	top: 100px;
}

aside > div {
  background: var(--hellesgrau);
}

.sidebuttons {
	background: var(--weiss);
}

.sidebuttons a {
	text-decoration: none;
}

.sidebuttons a:first-child {
	background: var(--dunkelgrau);
	color: var(--weiss);
}

.page-id-120 .sidebuttons a:first-child,
.page-id-120 .colorarea {
	background: var(--gelb);
}

.page-id-122 .sidebuttons a:first-child,
.page-id-122 .colorarea {
	background: var(--orange);
}

.page-id-124 .sidebuttons a:first-child,
.page-id-124 .colorarea {
	background: var(--lila);
}

.page-id-126 .sidebuttons a:first-child,
.page-id-126 .colorarea {
	background: var(--dunkelblau);
}

.page-id-128 .sidebuttons a:first-child,
.page-id-128 .colorarea {
	background: var(--hellblau);
}

.page-id-130 .sidebuttons a:first-child,
.page-id-130 .colorarea {
	background: var(--gruen);
}

.page-id-132 .sidebuttons a:first-child,
.page-id-132 .colorarea {
	background: var(--dunkelgrau);
}

.sidebuttons img {
	width: 65px;
	margin-right: 16px;
	height: auto;
	transition: all ease-in-out 300ms;
}

.sidebuttons a:hover img {
	width: 65px;
	margin-right: 16px;
	height: auto;
	transform: scale(1.2);
}

.page-id-3 .sidebuttons,
.page-id-52 .sidebuttons {
	display: none;
}


.site-main #thecontactform {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease;
}



/* Footer */

footer {
  background: var(--hellgrau);
}

footer a:link,
footer a:visited,
footer a:hover {
  position: relative;
  color: #333;
  text-decoration: none;
}

footer a:hover {
  font-weight: 500;
}
/*
footer a::before {
  content:"> ";
  font-size: .85em;
  position: absolute;
  left: 0;
  top: 40%;
  transform: translateY(-50%);
}
*/



@media screen and (max-width: 1150px) {
	ul#primary-menu li a {
		font-size: 1.25rem;
	}
	.offcanvas ul#primary-menu li ul li a {
		font-size: 1.1rem;
	}
	.mainnav > div > div > div {
		font-size: 1.35rem !important
	}
}

@media screen and (max-width: 991px) {
	.page-id-3 #primary,
	.page-id-52 #primary,
	.margintop {
		margin-top: 50px;
	}
	#secondary .sticky-top {
		top: 70px;
	}
	#kontakt {
		scroll-margin-top: 80px;
	}
}

@media screen and (max-width: 550px) {
	.thementitel.fs-5 {
		font-size: 3.5vw !important;
	}
}


