@font-face {
	font-family: "KlikBlackNarrow";
	src: url('fonts/font.woff2') format('woff2'), url('fonts/font.woff') format('woff');
  }

@font-face {
  font-family: GrueneType;
  font-style: normal;
  font-weight: 600;
  font-display: fallback;
  src: local("GrueneType"),local("GrueneType"),url(fonts/GrueneType-BlackCondensedItalic.woff) format("woff"),url(fonts/GrueneType-BlackCondensedItalic.woff2) format("woff2")
}

@font-face {
  font-family: 'PT Sans';
  src: local('PT Sans'), local('PTSans-Regular'), url('fonts/ptsans-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PT Sans Bold';
  src: local('PT Sans Bold'), local('PTSans-Bold'), url('fonts/ptsans-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

:root {
	--gruen: 0, 137, 57;  /* Klee */
	--dunkelgruen: 0, 85, 56;  /*tanne*/
	--hellgruen: 138, 189, 36; /* Grashalm */
	--magenta: 251, 27, 125;  /*himbeere*/
	--gelb: 255, 255, 0;  /*sonnenblume*/
	--dunkelgelb: 255, 213, 0;
	--dunkelblau: 91, 125, 169;
	--hellblau: 11, 161, 221; /* himmel */
	--sand: 245, 241, 233;
	--text-dunkel: 17, 24, 39;
	--text-hell: 255, 255, 255;
	--weiss: 255, 255, 255;
	
	--textfont: 'PT Sans', sans-serif;
	--textfont-bold: 'PT Sans Bold', sans-serif;
	--headfont: 'GrueneType', sans-serif;

	--swiper-navigation-color: rgb(138, 189, 36);
	--swiper-theme-color: rgb(138, 189, 36);
	--swiper-navigation-sides-offset: 0px;
	
	--sitemargin: 1rem;

	--cardshadow: 0px 0px 10px 0px rgba(0,0,0,.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--textfont);
  /* outline: 1px solid #f00 !important; */
  /* opacity: 1 !important; */
  /* visibility: visible !important; */
}


html {
  font-size: 16px !important;
}

html, body {
  width: 100%;
  min-height: 100%;
	overflow-x: hidden;
}

body {
  background: rgb(var(--dunkelgruen)) url('img/bg.webp');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
  padding: var(--sitemargin);
  text-align: center;
  
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--headfont);
	font-weight: normal;
	line-height: 1.2em;
	color: #fff;
	margin: 0 0 1rem 0;
	text-wrap: balance
}

.head {
	font-family: KlikBlackNarrow, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
	letter-spacing: 0.01em;
}

h2 {
	font-size: 2rem;
}

section > h2 {
	margin: 1em 0 1em 0
}

br {
  font-size: 100%;
}

a {
	color: rgb(var(--hellblau));
	text-decoration: none;
	transition: all 0.3s;
}

a:hover {
	color: rgb(var(--dunkelblau));
}

p {
	max-width: 60ch;
}

strong {
  font-weight: normal;
  font-family: var(--textfont-bold);
}

.dunkel {
	color: rgb(var(--dunkelgruen));
}

.text-dunkel {
	color: rgb(var(--text-dunkel));
}

.text-hell {
	color: rgb(var(--text-hell));
}

.big {
	font-size: 1.2rem;
}



.mt1 {
	margin-top: 1rem !important;
}

.mt2 {
	margin-top: 2rem !important;
}

.mt3 {
	margin-top: 3rem !important;
}

.mt4 {
	margin-top: 4rem !important;
}



.mb1 {
	margin-bottom: 1rem !important;
}

.mb2 {
	margin-bottom: 2rem !important;
}

.mb3 {
	margin-bottom: 3rem !important;
}

.mb4 {
	margin-bottom: 4rem !important;
}

.centered {
	margin-inline: auto;
}

.lh-n {
	line-height: 1.4em;
}

a.button.grnmuc {
  font-family: var(--textfont);
  font-size: 1rem;
	background: rgba(0,0,0,0.2);
	color: rgb(var(--weiss));
}


a.button {
  background-color: rgb(var(--gelb));
  color: rgb(var(--gruen));
  padding: 10px 20px;
  margin: 7.5px auto;
  border-radius: 100px;
  font-family: var(--headfont);
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.2em;
  display: inline-block;
}

a.button.small {
	font-size: 1.2rem;
	padding: 0.2em 0.7em;	
}

img#logo {
  width: 15vw;
	padding-top: 4rem;
 }

main #heads {
	padding: 1rem 0 0 0;
}

main #heads h1, 
main #heads h2 {
  font-size: 3.5rem;
  line-height: 1em;
  margin: 20px auto 50px auto;
}

main #heads h1 {
	font-size: 4.3rem;
	margin: 20px auto 30px auto;
}


main #heads h3,
.textcontainer h3 {
  /* color: rgb(var(--gelb)); */
  font-size: 1.5rem;
  margin-top: 1rem;
}

main #heads h3:not(.center),
.textcontainer h3 {
  text-align: left;
}

p.center {
	text-align: center;
}

ul.home {
  text-align: left;
  margin: 2rem auto 2rem auto;
  max-width: 25ch;
}

ul.home li {
  list-style-type: none; 
  font-family: var(--textfont-bold) !important;;
  color: rgb(var(--gelb)) !important;  
  font-weight: normal;
  padding: 0 0 1rem 2rem;
}

ul.home li::before {
  content: url(img/bullet.svg);
  position: absolute;
  display: inline-block;
  width: 1.3em;
  margin: 0 0 0 -2rem;
}


main>figure {
  overflow: hidden;
  position: relative;
	aspect-ratio: 18 / 10;
}

main>figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.nositemargin {
	margin: 0 calc(0rem - var(--sitemargin));
	/*margin-block: 0;
	margin-inline: -1rem;*/
}

.innersitemargin {
	padding: var(--sitemargin);
}

section#intro {
	background: rgb(var(--weiss));
	padding: 0.2rem 2rem 2rem 2rem;
}

#intro p {
  margin: 20px auto;
  text-align: left;
  font-size: 1rem;
}

section#wahl {
	/*background: rgb(var(--hellgruen))*/
}

.stoerer {
	display: flex;
	background-color: rgb(var(--hellblau));
	width: 142px;
	height: 142px;
	border-radius: 100%;
	transform: rotate(-9deg) scale(0.8);
	font-size: 2rem;
	font-family: var(--headfont);
	text-transform: uppercase;
	text-align: center;
	/* padding-top: 1rem; */
	margin: auto;
	line-height: 1.1em;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
	display: none;
}

header {
  width: 100%;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  height: 9vw;
  display: flex;
  padding: 0 3vw 0 8vw;
  justify-content: space-between;
  align-items: center;
  background: rgb(var(--gruen));
}

header h6 {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
	margin: 0;
}

header a {
  display: none;
}

header a.button.grnmuc {
  font-size: 0.7rem;
	padding-block: 0.6em;
	margin: 0 0 0 auto;
}

header a.button.grnmuc b {
  display: none;
}



#kandilist h6 {
	font-family: var(--textfont-bold);
	font-size: 1.1rem;
	color: rgb(var(--dunkelgruen));
	line-height: 1em;
}

span.spacer {
  display: block;
  height: 6rem;
}


#toggle button {
  background: none;
  border: 4px solid rgb(var(--gelb));
  border-radius: 40px;
  padding: 0.5rem 1rem;
  font-family: var(--headfont);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

#toggle button#ltwbutton {
  border-width: 4px 0 4px 4px;
  border-radius: 40px 0 0 40px;
  background-color: rgb(var(--gelb));
  color: rgb(var(--dunkelgruen));
}

#toggle button#btwbutton {
  border-radius: 0 40px 40px 0;
}

body.btw #toggle button#ltwbutton {
  border-width: 4px;
  background-color: transparent;
  color: #fff;
}

body.btw #toggle button#btwbutton {
  border-width: 4px 4px 4px 0;
  background-color: rgb(var(--gelb));
  color: rgb(var(--dunkelgruen));
}






.textcontainer {
	text-align: left;
	max-width: 60ch;
	margin: 0 auto;
	line-height: 1.3em;
}

.textcontainer h3 {
margin: 2rem 0 1rem 0;
}

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

.swiper-slide .swiper-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-inline: 5%;
}

.swiper-slide-prev .swiper-inner,
.swiper-slide-next .swiper-inner {
	padding: 0;
}

.swiper-slide figure,
.swiper-slide > span {
	width: auto;
	box-shadow: var(--cardshadow);
}

.swiper-slide figure span {
	display: flex;
	position: absolute;
	left: 10%;
	top: 1.1rem;
	color: rgb(var(--hellgruen));
	margin: 0;
	padding: 0 0.5rem;
	border-radius: 1000px;
	width: 50px;
	height: 50px;
	aspect-ratio: 1 / 1;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	background-color: rgb(var(--dunkelgruen));
	align-content: center;
}

.swiper-slide figure span b {
	font-family: var(--headfont);
	font-size: 2rem;
	color: #fff;
	line-height: 1em;
}

.swiper-slide figure img {
	height: 30vh;
	width: 100%;
	object-fit: cover;
	display: block;
}

.swiper-slide span {
	padding: 2rem 1rem 2rem 1rem;
	background: #fff;
}

.swiper-slide span h4 {
	color: rgb(var(--gruen));
	font-size: 1.8rem;
	text-align: left;
	margin-bottom: 1rem;
}

.swiper-slide span p {
	color: rgb(var(--text-dunkel));
	font-size: 0.9rem;
	text-align: left;
}

.swiper-button-prev,
.swiper-button-next {
	background: rgb(var(--hellgruen));
	border-radius: 1000px;
	aspect-ratio: 1 / 1 !important;
	width: 30px !important;
	height: 30px !important;
	color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	color: #fff;
	font-size: 1.2rem !important;
}


ul.cols {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 0.5rem;
	flex-wrap: wrap;
}

ul.cols.c2 li {
	width: auto;
}

ul.cols.c3 li {
	width: auto;
}

ul.cols.c4 li {
	
}

ul.cols li {
	margin: 0;
	background: rgb(var(--weiss));
	color: rgb(var(--text-dunkel));
	text-align: left;
	padding: 2rem;
	box-shadow: var(--cardshadow);
	line-height: 1.4em;
}

ul.cols li h5 {
	color: rgb(var(--gruen));
	font-size: 1.5rem;
	margin-bottom: 0.5em;
}

#kandilist img {
	width: calc(100% + 4rem);
	margin: -2rem -2rem 2rem -2rem;
}

section#programm li {
	background: #001423;
	color: #fff;
}

section#action {
	/*background: url('img/IAG_8507_hd.jpg') no-repeat center center;*/
	background-size: cover;
}

section#kandis {
	/* background: rgb(var(--sand)); */
}

section#kandis ul.cols li {
	background: #fff;
}

#lauftext {
	background: rgb(var(--gelb));
	padding: 0.5rem;
	display: flex;
	overflow: hidden;
}

#lauftext ul {
	display: flex;
	gap: 2rem;
	margin: 0;
	font-size: 0.9rem;
	animation: infinite-scroll 40s linear infinite;
	padding: 0 1.5rem;
}

#lauftext ul li {
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

@keyframes infinite-scroll {
	0% {
		transform: translateX(0)
	}
	
	to {
		transform: translateX(-100%)
	}
}

dialog {
	z-index: 1000;
	max-width: 90vw;
	max-height: 80vh;
	aspect-ratio: 3 / 4;
	border-color: #fff;
	border-radius: 20px;
	overflow: hidden;
	margin: 10vh auto;
	box-shadow: 0 0 40px; 
	background: #030304;
	padding-bottom: 1rem
}

dialog img {
	max-width: 100%;
}


/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop,
[popover]::backdrop {
  background-color: rgb(0 0 0 / 0%);
  transition:
    display 0.7s allow-discrete,
    overlay 0.7s allow-discrete,
    background-color 0.7s;
  /* Equivalent to
  transition: all 0.7s allow-discrete; */
}

dialog[open]::backdrop,
[popover]::backdrop {
  background: rgba(var(--dunkelgruen),0.8);
}

/* This starting-style rule cannot be nested inside the above selector
because the nesting selector cannot represent pseudo-elements. */

@starting-style {
  dialog[open]::backdrop,
	[popover]::backdrop {
    background-color: rgb(0 0 0 / 0%);
  }
}

button.close {
	font-size: 3rem;
	line-height: 2.5rem;
	padding: 0; 
	margin: 0;
	background: #fff;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 3rem;
	color: rgb(var(--gruen));
	position: absolute;
	border: 0;
	left: 1rem;
	top: 1rem;
	cursor: pointer;
	transition: all 0.3s;
}

video {
	width: 100%;	
	height: 100%;
	max-width: 900px;
	display: block;
	margin: 0 auto 1rem auto;
	aspect-ratio: 16 / 9;
	cursor: pointer;
}

#video button {
	background: none;
	border: none;
	cursor: pointer;
}

#video button svg {
	fill: #fff;
}

#video button svg:nth-child(2),
#video button.active svg:nth-child(1) {
	display: none;
}

#video button.active svg:nth-child(2) {
	display: block;
}



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

	:root {
		--sitemargin: 4rem;
		--swiper-navigation-sides-offset: 10px;
	}
	
	.textcontainer {
		text-align: left;
		font-size: 1.2rem;
	}
	
	body {
	border: 0;
	padding: var(--sitemargin);
	}

	main>figure {
		aspect-ratio: unset;
	}

	a {
		cursor: pointer;
	}
	
	header a.button {
	display: block;
	font-family: var(--textfont);
	font-size: 1rem;
	background: rgba(0,0,0,0.1);
	}
	
	main h1 {
		font-size: 6rem;
		margin: 20px auto 50px auto;
	}
	
	main h2 {
		font-size: 4rem;
		margin: 20px auto 50px auto;
	}	
	
	
	main #heads h1, 
	main #heads h2 {
		font-size: 6rem;
		line-height: 1em;
		margin: 20px auto 50px auto;
	}
	
	main #heads h3,
	.textcontainer h3 {
	font-size: 2rem;
	}
	
	header {
	height: 4rem;
	padding: 0 4vw;
	}
	
	header > * {
		width: 33%;
	}
	
	header h6 {
	font-size: 1.6rem;
	  text-align: left;
	}

	header a.button.grnmuc {
	  font-size: 1rem;
	}
	
	header a.button.grnmuc b {
	  display: inline;
	}
	
	img#logo {
		/* position: absolute; */
		z-index: 1;
		width: 8vw;
		right: -150px;
		margin-top: 0rem;
		}

	.big {
	font-size: 1.4rem;
	}	
	
	ul.home {
	max-width: 45ch;
	}
	
	ul.home li::before {
	margin: 0 0 0 -2.5rem;
	}
	
	
	
	#toggle button:hover,
	body.btw #toggle button#ltwbutton:hover {
	background: rgb(var(--dunkelgruen));
	}
	
	#intro p {
	width: 60ch;
	font-size: 1.2rem;
	line-height: 1.3em;	  
	}
	/*
	main>figure {
	width: 100%;
	}
	*/
	a.button {
	padding: 10px 20px;
	font-size: 2rem;
	transition: all 0.3s;
	/* color: #fff; */
	}
	
	a.button:hover {
	color: rgb(var(--hellblau));
	background-color: white;
	}
	
	.stoerer {
		position: relative;
		left: 300px;
		top: 1rem;
		transform: rotate(-9deg) scale(1);
	}

	section#intro {
	    padding: 2rem 2rem 2rem 2rem;
	}
	
	.swiper {
	  width: 100%;
	  height: 600px;
	}
	
	.swiper-slide .swiper-inner {
		flex-direction: row;
		padding-inline: 5%;
	}	

	.swiper-slide-prev .swiper-inner,
	.swiper-slide-next .swiper-inner {
		padding: 0;
	}

	.swiper-slide figure,
	.swiper-slide span {
		width: 50%;
		box-shadow: var(--cardshadow);
	}
	
	.swiper-slide figure img {
		height: 100%;
		width: 100%;
	}
	
	.swiper-slide span {
		padding: 4rem 6rem 4rem 4rem;
		background: #fff;
	}
	
	.swiper-slide span p {
		font-size: 1.1rem;
	}	

	.swiper-slide span p.big {
		font-size: 1.4rem;
	}		

	.swiper-slide figure span {
		left: 6%;
		top: 1rem;
		box-shadow: none;
	}	
	
	#kandilist img {
		width: calc(100% + 4rem);
		margin: -2rem -2rem 2rem -2rem;
	}	

	#kandilist li.wrap {
		display: flex;
		padding: 0;
	}

	#kandilist li.wrap span {
		padding: 2rem;
	}
	
	#kandilist li.wrap img {
		width: calc(50%);
		margin: 0;
	}	
	
	ul.cols.c2 li {
		width: calc(50% - 0.5rem);
	}
	
	ul.cols.c3 li {
		width: calc(33% - 0.33rem);
	}

	ul.cols.c4 li {
		width: calc(25% - 0.5rem);
	}	
	
	ul.cols li h5 {
		font-size: 1.8rem;
	}

	dialog {
		max-width: 50vw;
	}

	button.close:hover {
		background-color: rgb(var(--gelb));
	}

	#dialog-cta {
		font-size: calc(2vh + 0.5rem);
	}
}



