@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';
  src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
	font-display: swap; 
	font-family: 'PT Sans';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/pt-sans-v17-latin-italic.woff2') format('woff2'), 
		 url('../fonts/pt-sans-v17-latin-italic.ttf') format('truetype');
  }

:root {
	--gruen: 0, 137, 57;  /* Klee */
	--dunkelgruen: 0, 85, 56;  /*tanne*/
	--hellgruen: 138, 189, 36; /* Grashalm */
	--magenta: 251, 27, 125;  /*himbeere*/
	--gelb: 255, 241, 122;  /*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;
	--white: 255, 255, 255;
	
	--textfont: 'PT Sans', sans-serif;
	--textfont-bold: 'PT Sans', sans-serif;
	--headfont: 'GrueneType', serif;

	--swiper-navigation-color: rgb(138, 189, 36);
	--swiper-theme-color: rgb(138, 189, 36);
	--swiper-navigation-sides-offset: 10px;
	--swiper-pagination-bullet-inactive-color: rgb(255, 255, 255);
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-color: rgb(138, 189, 36);
	
	
	--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 {
  /*padding: var(--sitemargin);*/
  text-align: center;
}

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

h1 {
	font-size: 2.5rem;
	width: 60vw;
	color: rgb(var(--white));
}

h2 {
	font-size: 1.2rem;
	letter-spacing: 0.01em;
}



br {
  font-size: 100%;
}

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

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

p,
cite {
	display: block;
	max-width: 60ch;
}

b,
strong {
	font-family: var(--textfont-bold);
	font-weight: 700;
}

.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;
}

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

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

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

.centered {
	margin-inline: auto;
}

.hyphens {
	hyphens: auto;
}

.balanced {
	text-wrap: balance;
}

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


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

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

a.button.cta {
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

p.center {
	text-align: center;
}



.nositemargin {
	margin: 0 calc(0rem - var(--sitemargin));
}

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

.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: 100;
  top: 0;
  left: 0;
  height: 9vw;
  display: flex;
  padding: 0 3vw 0 8vw;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 68, 44, 0.8);
	backdrop-filter: blur(4px);
}

header h6 {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
	margin: 0;
	color: rgb(var(--white));
}

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;
}



h5 strong {
	font-size: 1.2rem;
	color: rgb(var(--dunkelgruen));
}

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





img#logo {
  position: absolute;
  z-index: 10;
  width: 20vw;
  right: 1rem;
  top: 50px;
 }






#heroine {
	padding: 5rem var(--sitemargin) var(--sitemargin) var(--sitemargin);
	text-align: left;
	background: rgb(var(--dunkelgruen));
}

#heroine img {
	max-width: 100%;
	border-radius: 10px;
}

#heroine h2 {
	margin: 0;
	color: rgb(var(--gelb));
}

#heroine p#teaser {
	font-size: 1rem;
	color: rgb(var(--white));
	margin: 1rem 0 3rem 0;
}






section#quotes {
	background: rgb(var(--white));
	border-bottom: 4px solid rgb(var(--dunkelgruen));
	padding: 0;
}

.tab-container {
	display: grid;
	gap: 1px; /* Abstand zwischen den Elementen */
	/* 3 Spalten in der ersten Zeile, 1 Spalte in der zweiten Zeile */
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}

.tab-container .tab-content { 
	grid-column: 1 / -1; grid-row: 2; 
}

.tab-container label {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	padding: 10px;
	background-color: rgb(var(--sand));
	color: rgb(var(--dunkelgruen));
	text-align: center;
	transition: all 0.3s;
	align-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.tab-container label:hover {
	background-color: rgba(var(--sand),0.5);
}

.tab-container input[type="radio"] {
	display: none;
}

.tab-container label img {
	width: 40px;
	height: 40px;
	border-radius: 40px;
}

.tab-container label {
	font-size: 0.6rem;
	text-transform: uppercase;
}

.tab-container label strong {
	font-size: 1rem;
	font-family: var(--headfont);
	text-transform: none;
	display: block;
}



.tab-content {
	grid-column: span 3;
	padding: 2rem var(--sitemargin) 4rem var(--sitemargin);
	font-size: 1rem;
	line-height: 1.4em;
	text-align: left;
	display: none;
	hyphens: auto;
}

/* Angezeigter Tab-Inhalt */
input[type="radio"]:checked + label + .tab-content {
	display: block;
}

/* Stil für das aktive Label */
input[type="radio"]:checked + label {
	background-color: rgb(var(--white));
	color: rgb(var(--text-dunkel));
}









section#successes {
	max-width: 1600px;
	margin-inline: auto;
	background: rgb(var(--white));
	padding: 4rem var(--sitemargin) 2rem var(--sitemargin);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

section#successes h2 {
	width: calc(50% - 0.5rem);
	text-align: left;
	font-size: 2rem;
}

.card {
	width: calc(50% - 0.5rem);
	display: flex;
	flex-direction: column;
	box-shadow: var(--cardshadow);
	border-radius: 10px;
	color: rgb(var(--dunkelgruen));
	text-align: left;
	justify-content: space-between;
	border: none;
	background: rgb(var(--white));
	cursor: pointer;
}

.card > img {
	max-width: 100%;
	border-radius: 10px 10px 0 0;
}

.card > div {
	height: 100%;
	display: flex;
	flex-direction: column;	
	justify-content: space-between;
}

.card h4 {
	font-size: clamp(1rem, 1rem + 0.3vw, 2rem);
	margin: 1rem;
}

.card div span {
	display: block;
	font-size: clamp(0.8rem, 0.8rem + 0.3vw, 1.2rem);
	margin: 0 1rem 1rem 1rem;
}

.card div span img {
	margin: 0;
	height: 20px;
	margin-left: 5px;
	margin-bottom: -5px;
}


dialog {
	margin: var(--sitemargin);
	padding: var(--sitemargin);
	border: 0;
	box-shadow: var(--cardshadow);
	border-radius: 10px;
	text-align: left;
}

dialog button.close {
	display: flex;
	text-align: center;
	aspect-ratio: 1 / 1;
	height: 2rem;
	background: none;
	border: 1px solid rgb(var(--dunkelgruen));
	font-family: var(--textfont);
	font-size: 2rem;
	line-height: 1em;
	color: rgb(var(--dunkelgruen));
	margin: 0 0 0 auto;
	padding: 0;
	border-radius: 1000px;
	justify-content: center;
}

dialog button.close:focus {
	outline: none;
}

dialog > img {
	max-width: calc(100% + (2 * var(--sitemargin)));
	margin-left: calc(0px - var(--sitemargin));
}

dialog h2 {
	font-size: 1.4rem;
	color: rgb(var(--text-dunkel));
	line-height: 1.2em;
}

dialog h3 {
	margin-bottom: 0.5rem;
}
dialog .teaser {
	font-size: 0.9rem;
	line-height: 1.55em;
	margin: 1rem 0 2rem 0;
	display: block;
}

dialog a.closeDialog {
	width: 100%;
	padding: 2rem 1rem 1rem 1rem;
	border: 0;
	background: #fff;
	color: rgb(var(--dunkelgruen));
	font-size: 1rem;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

dialog a.closeDialog img {
	transform: rotate(180deg);
}

dialog div.success {
	background: rgb(var(--sand));
	color: rgb(var(--dunkelgruen));
	padding: var(--sitemargin) var(--sitemargin) 4.5rem var(--sitemargin);
	font-size: 1.1rem;
	font-weight: 700;
	position: relative;
	border-radius: 10px;
	text-wrap: balance;
}


.counter {
	display: flex;
	color: rgb(var(--hellgruen));
	margin: 0 0 2rem 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;
	font-weight: normal;
	font-size: 0.8rem;
}

.counter b {
	font-family: var(--headfont);
	font-size: 1.2rem;
	color: #fff;
	line-height: 1em;
}





::backdrop {
	background: rgba(var(--dunkelgruen),0.8);
}

dialog {
  --duration: 0.34s;

  transition: 
    translate var(--duration) ease-in-out, 
    scale     var(--duration) ease-in-out,
    filter    var(--duration) ease-in-out,
    display   var(--duration) ease-in-out allow-discrete,
	opacity    var(--duration) ease-in-out;

  &[open] {

    /* Post-Entry (Normal) State */
    translate: 0 0;
    scale: 1;
    filter: blur(0);
	opacity: 1;

    /* Pre-Entry State */
    @starting-style {
      translate: 0 8vh;
      scale: 0.8;
      filter: blur(8px);
		opacity: 0;
    }
  }

  /* Exiting State */
  &:not([open]) {
    translate: 0 -8vh;
    scale: 0.8;
    filter: blur(8px);
	  opacity: 0;
  }
}




a#downloadlink {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin: 4rem auto 2rem auto; 
}

a#downloadlink img {
	transform: rotate(90deg);
}



.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 .swiper-slide {
	height: auto;
}

.swiper-slide .swiper-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
/*
.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;
}

div.swiper .swiper-button-prev,
div.swiper .swiper-button-next {
	background: rgb(var(--dunkelgruen));
	border-radius: 1000px;
	aspect-ratio: 1 / 1 !important;
	width: 30px !important;
	height: 30px !important;
	color: #fff;
	top: auto;
	bottom: 10px;
	text-shadow: 0px 0px 0px #fff, 0px 0px 0px #fff;
	font-weight: bold;
	transition: all 0.2s;
}



div.swiper .swiper-button-prev:focus,
div.swiper .swiper-button-next:focus {
    outline: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	color: rgb(var(--hellgruen));
	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 li {
	margin: 0;
	background: rgb(var(--sand));
	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#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;
}

footer {
	background: rgb(var(--dunkelgruen));
}


section#nudu {
	
	background-color: rgb(var(--sand));
	padding: var(--sitemargin);
	margin: var(--sitemargin);
	border-radius: 10px;
}

section#nudu h2 {
	line-height: 1.3em;
}



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


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

	:root {
		--sitemargin: 4rem;
	}
	
	.textcontainer {
		text-align: left;
		font-size: 1.2rem;
	}

	button {
		cursor: pointer;
	}
	
	main>figure {
		aspect-ratio: unset;
	}
	
	header a.button {
	display: block;
	font-family: var(--textfont);
	font-size: 1rem;
	background: rgba(0,0,0,0.1);
	}
	
	main h2 {
		font-size: 2rem;
		margin: 20px auto 50px auto;
	}	
	
	#heroine > span {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 3rem;
		align-items: end;
		margin-bottom: 6rem;
	}
	
	#heroine h1 {
		width: 11ch;
		font-size: 4rem;
		margin: 0;
	}

	#heroine p#teaser {
		font-size: 1.1rem;
		line-height: 1.5em;
		margin: 0;
	}

	@media only screen and (min-width: 890px) {
		
		#heroine h1 {
			font-size: 6rem;
		}
			
		#heroine p#teaser {
			font-size: 1.3rem;
		}		
	}

	#heroine h2 {
		font-size: 1.5rem;
		margin: 4rem 0 0 0;
	}	
		
	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: 10vw;
		right: 50px;
		margin-top: 4rem;
		}

	.big {
	font-size: 1.4rem;
	}	
	
	ul.home {
	max-width: 45ch;
	}
	
	ul.home li::before {
	margin: 0 0 0 -2.5rem;
	}
	

	section#successes h2 {
		width: calc(30%);
		font-size: 3rem;
		padding: 0;
		margin: 0;
	}
	
	.card {
		width: calc(30%);
		box-shadow: var(--cardshadow);
		transition: all 0.3s;
	}

	.card:hover {
		transform: scale(1.05);
		box-shadow: var(--cardshadow), var(--cardshadow);
	}	


	
	
	#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: 1.2rem;
	transition: all 0.3s;
	  color: #fff;
	}	
	
	a.button:hover {
	color: rgb(var(--gruen));
	background-color: white;
	}
	
	.stoerer {
		position: relative;
		left: 300px;
		top: 1rem;
		transform: rotate(-9deg) scale(1);
	}

	/*
	.swiper {
	  width: 100%;
	  height: 600px;
	}
	*/

	div.swiper .swiper-button-prev:hover,
	div.swiper .swiper-button-next:hover {
		transform: scale(120%);
		box-shadow: 2px 2px 5px rgba(0,0,0,0.4)
	}
		
	#kandilist img {
		width: calc(100% + 4rem);
		margin: -2rem -2rem 2rem -2rem;
	}	
	
	ul.cols.c2 li {
		width: calc(50% - 0.5rem);
	}
	
	ul.cols.c3 li {
		width: calc(33% - 0.33rem);
	}
	
	ul.cols li h5 {
		font-size: 1.8rem;
	}

	.tab-container {
		gap: 2px; /* Abstand zwischen den Elementen */
		/* 3 Spalten in der ersten Zeile, 1 Spalte in der zweiten Zeile */
		grid-template-columns: 1fr 2fr; /* Linke Spalte ein Drittel, rechte Spalte zwei Drittel */
	    grid-template-rows: repeat(3, 1fr); /* Drei Zeilen für die Container links */
	}

	.tab-container label {
		grid-row: auto;
		flex-direction: row;
		padding: 1rem 1rem 1rem var(--sitemargin);
		background-color: rgb(var(--sand));
		color: rgb(var(--dunkelgruen));
		text-align: center;
		transition: all 0.3s;
		align-content: center;
		flex-wrap: wrap;
		align-items: center;
		text-align: left;
	}

	.tab-container label img {
		width: 80px;
		height: 80px;
		border-radius: 200px;
		margin-right: 1rem;
	}

	.tab-container label {
		font-size: 1rem;
	}

	.tab-container label strong {
		font-size: 1.3rem;
	}

	.tab-container .tab-content {
		padding: 2rem var(--sitemargin);
		font-size: 1.2rem;
      grid-column: 2 / 3; /* Stellt sicher, dass die Box immer in der rechten Spalte steht */
      grid-row: 1 / 4; /* Erstreckt sich über alle drei Zeilen */
	}

	dialog {
		max-width: 900px;
		margin-inline: auto;
		padding: 1rem 2rem;
	}

	dialog button.close {
		transition: all 0.3s;
	}
	
	dialog button.close:hover {
		background: rgb(var(--dunkelgruen));
		color: rgb(var(--white));
	}

	dialog > img {
		max-width: 60%;
		margin-left: auto;
		margin-right: calc(0px - 2rem);
		float: right;
	}

	dialog h2 {
		font-size: clamp(2rem, 2.5rem + 1vw, 3rem);
		color: rgb(var(--text-dunkel));
		line-height: 1.2em;
		margin: 0;
		width: 40%;
		float: left;
		hyphens: auto;
	}

	dialog h3 {
		width: 40%;
		margin-bottom: 0rem;
	}
	
	dialog .teaser {
		max-width: 60ch;
		font-size: 1.1rem;
		line-height: 1.55em;
		margin: 0 0 3rem 0;
		padding: 2rem 0 0 0;
		clear: both;
	}


	dialog div.success {
		padding: var(--sitemargin) var(--sitemargin) 4.5rem var(--sitemargin);
		font-size: 1.4rem;
	}

	a.closeDialog {
		cursor: pointer;
	}

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


.counter {
	display: flex;
	color: rgb(var(--hellgruen));
	margin: 0 0 2rem 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;
	font-weight: normal;
	font-size: 0.8rem;
}

.counter b {
	font-family: var(--headfont);
	font-size: 1.2rem;
	color: #fff;
	line-height: 1em;
}	
}





