@font-face {
  font-family: 'Obviously-Wide';
  src: url('../fonts/Obviously-WideBold.woff2') format('woff2'),
       url('../fonts/Obviously-WideBold.woff') format('woff');
  font-weight: 900;
  font-display: swap;
  font-style: bold;
}

@font-face {
  font-family: 'Obviously';
  src: url('../fonts/Obviously-Regular.woff2') format('woff2'),
       url('../fonts/Obviously-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Obviously';
  src: url('../fonts/Obviously-Bold.woff2') format('woff2'),
       url('../fonts/Obviously-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
  font-style: bold;
}

: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;
	--white: 255, 255, 255;
	--textfont: 'obviously', sans-serif;
	--textfont-weight: 400;
	--textfont-bold: 'obviously', sans-serif;
	--textfont-bold-weight: 700;
	--headfont: 'obviously-wide', sans-serif;
	--headfont-weight: 700;
	--line-height-text: 1.65;
	--line-height-head: 1.2;
	--font-size-xs: 0.6rem;
	--font-size-s: 0.85rem;
	--font-size-m: 1rem;
	--font-size-l: 1.2rem;
	--font-size-xl: 1.7rem;
	--font-size-xxl: 3rem;
	--letter-spacing: 0.03em;
	--pagemargin: 1rem;
	--sitemargin: var(--pagemargin);
	--pagemargin2: calc(var(--pagemargin) * 2);
	--pagemargin4: calc(var(--pagemargin) * 4);
	--pagemargin-: calc( 0px - var(--pagemargin));
	--space: 4rem;
	--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);
	--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; */
	scrollbar-color: #005437 transparent;
}


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

html, body {
  width: 100%;
  min-height: 100%;
	overflow-x: hidden;
	background-color: rgb(var(--dunkelgruen));
}

body {
  /*padding: var(--sitemargin);*/
  text-align: center;
}

main {
	overflow: hidden;
	position: relative;
}

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

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
	color: rgb(var(--white));
}

h1 {
	font-size: var(--font-size-xxl);
	text-align: center;
	color: rgb(var(--white));
	line-height: 0.9em;
}

h2 {
	font-size: var(--font-size-xl);
}

h3 {
	font-size: var(--font-size-l);
}



br {
  font-size: 100%;
}

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

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

p,
cite {
	display: block;
	max-width: 60ch;
	font-style: normal;
	line-height: var(--line-height-text);
	text-align: left;
	margin-block-end: 2rem;
}

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

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

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

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

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

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

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

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

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

.centered {
	margin-inline: auto;
	text-align: center;
}

h2.centered {
	display: flex;
	float: none;
	justify-content: center;
}

.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(--gruen));
  color: rgb(var(--white));
  padding: 10px 20px;
  margin: 7.5px auto;
  border-radius: 100px;
  font-family: var(--headfont);
  text-decoration: none;
  font-size: var(--font-size-m);
  line-height: 1.2em;
  display: inline-block;
}

.dark a.button {
  background-color: rgb(var(--white));
  color: rgb(var(--gruen));
}


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

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

.center,
p.center {
	text-align: center;
}

.small {
	font-size: 1rem;
	line-height: 1.2rem;
}

.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: rgb(3 66 68 / 80%);
  backdrop-filter: blur(4px);
}

header h6 {
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.0rem;
  margin: 0;
  color: rgb(var(--white));
  display: flex;
  gap: 5px;
  align-items: center;
}

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(--gruen));
}

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





img#logo {
  width: 1.5rem;
 }




#heads {
	position: relative;
	padding-inline: var(--pagemargin);
	z-index: 2;
}

#heroine {
	position: relative;
	height: 95vh;
	padding: 4rem 0 0 0;
	text-align: left;
	background: rgb(var(--gruen));
}

#heroine #pic img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95vh;
    object-fit: cover;
    object-position: top center;
}

#heroine #pic img#hero2 {
	z-index: 3;
}

#heroine h2 {
	margin: 0 0 0.5rem 0;
	color: rgb(var(--white));
	text-align: center;
	font-family: var(--textfont);
	font-weight: var(--textfont-weight);
	font-size: var(--font-size-l);
}

#heroine #teaser {
	font-size: 1rem;
	color: rgb(var(--white));
	padding: var(--pagemargin2) var(--pagemargin) var(--pagemargin4) var(--pagemargin);
	background-color: #8bc062;
	text-align: center;
}

#heroine #teaser p {
	margin: 0 auto;
	font-size: var(--font-size-l);
	line-height: var(--line-height-text);
}

a.inter {
	position: absolute;
	right: -10px;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	width: 6rem;
	z-index: 4;
	background: #fff;
	justify-content: center;
	border-radius: 100vw;
	font-size: 0.7rem;
	line-height: 1.2em;
	padding: 1rem 0.5rem 0.5rem 0.5rem;
	rotate: -13deg;
}

a.inter span:nth-child(2) {
	font-size: 2rem;
	line-height: 0.8em;
}

section {
	background: rgb(var(--white));
}

section#teaser {
    padding: var(--pagemargin2);
    font-size: var(--font-size-m);
    background: rgb(var(--gruen));
	color: rgb(var(--white));
}

section#teaser ul {
    
    font-size: var(--font-size-m);
    text-align: left;
	color: rgb(var(--white));
	 max-width: 40ch;
	list-style: none;
}

section#teaser ul li {
	padding: 0 0 0em 3em;
}

section#teaser ul li:before {
    content: url("../img/pfeil_hell.svg");
	display: inline-block;
	margin-inline-start: -3em;
	margin-inline-end: 1.3em;
	transform: translateY(8px);
}

section#teaser h3 {
	text-align: left;
}

section#teaser p {
	margin: 3em 0 0 0;
}
div.content {
	max-width: 900px;
	margin: 0 auto;
}





section#krausenik {
	display: flex;
	flex-direction: column;
}

section#krausenik > * {
	
}

section#krausenik > img {
	object-fit: cover;
	object-position: center;
}

section#krausenik > div {
	padding: var(--pagemargin2);
	font-size: var(--font-size-m);
	color: rgb(var(--gruen));
}

section#krausenik > div p {
	padding-block-end: 1rem;
	text-align: left;
}

section#krausenik > div strong {
	display: block;
}


section#buttons {
	display: block;
	overflow: hidden;
}


section#vid {
	display: flex;
	flex-direction: column;
	background-color: #8abd24;
	padding: var(--pagemargin4) var(--pagemargin);
	color: #fff;
}

section#vid h2 {
	color: #fff;
}

.yt-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: #000 url(../img/cover.webp);
	background-size: cover;
	border-radius: 1rem;
}

.yt-consent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 1rem;
}

.yt-wrapper iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}





section#erfolge {
	background: rgb(var(--dunkelgruen));
	padding-block-start: var(--pagemargin4);
	border-top: 1px solid rgb(var(--gruen));
}

section#erfolge h2,
section#viertel h2 {
	margin-block-end: var(--pagemargin);
	color: rgb(var(--gelb));
}

section#erfolge span {
	display: block;
	padding-inline: var(--pagemargin);
	color: rgb(var(--white));
}

section#erfolge span p,
section#viertel span p
{
	margin: 0 auto var(--pagemargin) auto;
}

section#erfolge div {
	height: 40vh;
	overflow: hidden;
	background: red url('../../agcms/content/karte.webp') no-repeat;
	background-size: cover;
	background-position: center 0;
	align-content: center;
}

section#erfolge div a.button {
	background: rgb(0,0,0,0.6);
	color: rgb(var(--white));
}


section#spenden {
	background: rgb(var(--gruen));
	padding: var(--pagemargin4) var(--pagemargin);
	border-top: 1px solid rgb(var(--gruen));
}



section#viertel {
	background: rgb(var(--dunkelgruen));
	padding-block: var(--pagemargin4);
	border-top: 1px solid rgb(var(--gruen));
}

section#viertel > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-inline: var(--pagemargin);
	color: rgb(var(--white));
	text-align: left;
}

section#viertel > div > span:first-child {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}

section#viertel > div img {
	height: 70vw;
	width: auto;
}



section#successes {
	/* max-width: 1600px; */
	margin-inline: auto;
	background: rgb(var(--white));
	padding: var(--pagemargin4) var(--pagemargin);
	text-align: center;
}

section#successes h2 {
	width: calc(70% - 0.5rem);
	text-align: center;
	font-size: var(--font-size-xl);
	display: inline-block;
}

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

.card {
	/*width: calc(50% - 0.5rem);*/
	display: flex;
	flex-direction: column;
	color: rgb(var(--gruen));
	text-align: left;
	justify-content: space-between;
	border: none;
	background: rgb(var(--white));
	cursor: pointer;
}

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

.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 0 0.3rem 0;
}

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

.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;
	background: rgb(var(--white));
}

dialog button.close {
	display: flex;
	text-align: center;
	aspect-ratio: 1 / 1;
	height: 2rem;
	background: none;
	border: 2px solid rgb(var(--gruen));
	font-family: var(--textfont);
	font-size: 2rem;
	line-height: 1.8rem;
	color: rgb(var(--gruen));
	margin: 0 0 0 auto;
	padding: 0;
	border-radius: 100vw;
	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,
dialog h2 p {
	line-height: var(--line-height-head);
	font-size: var(--font-size-xl);
}

dialog h3 {
	margin-bottom: 0.5rem;
	color: rgb(var(--hellgruen));
}
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(--gruen));
	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(--gruen));
	padding: var(--sitemargin) var(--sitemargin) 4.5rem var(--sitemargin);
	font-size: 1.1rem;
	font-weight: 700;
	position: relative;
	border-radius: 10px;
	text-wrap: balance;
}


dialog#stream {
	max-width: 1200px;
	margin-block-start: 8rem;
	z-index: 10;
}

dialog#stream h2 {
	text-align: center;
	margin: 0;
}

dialog#stream iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-block-start: 2rem;
}





.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(--gruen));
	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(--gruen),0.8);
}

#popups 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;
	width: fit-content;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin: 4rem auto 2rem auto; 
	border: 2px solid;
	border-radius: 100vh;
	padding: 1rem 2rem;
	font-size: var(--font-size-m)
}

a.downloadlink img {
	height: 2rem;
	margin-block-start: 4px;
	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(--gruen));
	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(--gruen));
	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;
}




section#ki {
	padding: var(--pagemargin2) var(--pagemargin) var(--pagemargin) var(--pagemargin);
	border-bottom: 2px solid rgb(var(--hellgruen));
}


section#ki p {
	margin: 0 auto;
}

section#ki a {
	width: 100%;
	border: 2px solid rgb(var(--hellgruen));
	padding: 1em;
	border-radius: 40px;
	display: inline-block;
	margin: 2rem 0;
}

section#ki a span {
	background: rgb(var(--hellgruen));
	color: #fff;
	padding: 0.5em 2em;
	border-radius: 100vw;
	display: inline-block;
	display: flex;
	width: 100%;
	margin-block-start: 1rem;
	align-content: center;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

section#ki a span img {
	height: 40px;
}



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%)
	}
}





section#people {
	margin-inline: auto;
	background: rgb(var(--gruen));
	padding: var(--pagemargin4) var(--pagemargin);
	text-align: center;
}

section#people h2 {
	color: rgb(var(--white))
}

section#people ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

section#people ul li {
	flex: 0 0 calc(33.333% - 1rem);
	flex: 0 0 100%;
	padding: 0;
	margin: 0;
}

section#people ul li a {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	padding: 1rem;
	margin: 0;
	color: #fff;
	border-radius: 100vw;
	transition: all 0.5s;
	text-align: left;
	flex-wrap: nowrap;
	align-items: center;
	background: rgb(var(--dunkelgruen), 0.2);
}

section#people ul li:nth-child(even) a {
	flex-direction: row-reverse;
	text-align: right;
}

section#people ul li a > * {
  min-width: 0;              /* WICHTIG für Flexbox */
  overflow-wrap: break-word; /* moderne Lösung */
  word-break: break-word;    /* Fallback */
	transition: all 0.5s;
}

section#people ul li a > figur {
	flex: 0 0 40%;
}

section#people ul li a > div {
	flex: 0 0 60%;
}

section#people ul li a:hover {
	background: rgb(var(--hellgruen));
}

section#people ul li a div > span {
	font-family: var(--headfont);
	font-weight: var(--headfont-weight);
	line-height:  var(--line-height-head);
	font-size: var(--font-size-xl);
	padding: 0;
	margin: 0;
	color: rgb(var(--hellgruen));
}

section#people ul li a:hover div > span {
	color: rgb(var(--gruen));
}

section#people ul li a h4 {
	font-size: var(--font-size-l);
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: var(--textfont);
	font-weight: var(--headfont-weight);	
}

section#people ul li figure {
	aspect-ratio: 1 / 1;
	position: relative;
	z-index: 1;
	display: flex;
	margin-block-start: -0.5vw;
}

section#people ul li img {
	width: 100%;
	border-radius: 100vw;
	object-fit: cover;
	object-position: center;
	position: relative;
	z-index: 1;
	bottom: 0;
}


section#people ul li figure:before {
	content: "";
	display: block;
	position: absolute;
	bottom: 0%;
	left: 50%;
	translate: -50%;
	width: 100%;
	height: 100%;
	width: 90%;
	height: 90%;
	z-index: -1;
	border-radius: 100vw;
	background: rgb(var(--hellgruen));
}

section#people ul li a:hover figure:before {
	background: rgb(var(--gruen));
}


a#greenie {
	display: flex;
	width: 200px;
	font-size: var(--font-size-s);
	line-height: var(--line-height-head);
	padding: 0.5rem;
	gap: 0.5rem;
	background: rgb(var(--hellgruen));
	color: rgb(var(--dunkelgruen));
	position: fixed;
	right: -200px;
	bottom: 8rem;
	z-index: 10000000;
	align-items: center;
	border-radius: 100vh 0 0 100vh;
	transition: all 0.3s;
}

a#greenie.visible {
	right: 0;
}

a#greenie img {
	height: 40px;
}









@media only screen and (min-width: 700px) {
  :root {  
	  --font-size-xs: 0.85rem;
      --font-size-s: 1rem;
      --font-size-m: 1.2rem;
      --font-size-l: 1.6rem;
      --font-size-xl: 3rem;
      --font-size-xxl: 4rem;
    
      --pagemargin: 2rem;
      --pagemargin2: calc(var(--pagemargin) * 2);
      --pagemargin-: calc( 0px - var(--pagemargin));    
      --space: 6rem;

      --patternsize: 50px;
  }
}

@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: var(--font-size-xl);
		margin: 20px auto 50px auto;
	}	
	
	#heroine > span {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 3rem;
		align-items: end;
		margin-bottom: 6rem;
	}
	
	#heroine h1 {
		margin: 0 auto;
	}

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

	#heroine #art {
		height: 45vh;
		margin-block-start: -1rem;
	}
	
	#heroine img#muc {
		width: 100vw;
		left: 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: 1em 0 1rem 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 {
		
		width: 2rem;
		margin-top: 0rem;
		}

	.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(50%);
		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(--gruen));
	}
	
	#intro p {
	width: 60ch;
	font-size: 1.2rem;
	line-height: 1.3em;	  
	}

	
	a.button {
		padding: 1em 2em;
		transition: all 0.3s;
	}	
	
	a.button:hover {
		transform: scale(110%);
	}


	.dark a.button:hover {
	  background-color: rgb(var(--gelb));
	  color: rgb(var(--gruen));
	}	
	
	.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(--gruen));
		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(--gruen));
		color: rgb(var(--white));
	}

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

	dialog div.txt {
		width: 40%;
		float: left;
		padding: 1rem 0;
	}

	dialog h2 {
		font-size: clamp(2rem, 2.5rem + 1vw, 3rem);
		margin: 0;
		float: left;
		hyphens: auto;
	}

	dialog h3 {
		margin-bottom: 0rem;
	}
	
	dialog .teaser {
		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(--gruen));
	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;
}	



	a.downloadlink:hover {
		background: rgb(var(--gruen));
		color: rgb(var(--white));
	}




	

	section#ki a {
		width: fit-content;
		padding: 1em 1em 1em 2em;
		border-radius: 100vw;
		display: flex;
		margin: 2rem auto;
		align-items: center;
		justify-content: center;
	}
	
	section#ki a span {
		width: auto;
		background: rgb(var(--hellgruen));
		color: #fff;
		padding: 1em 2em;
		border-radius: 100vw;
		ldisplay: inline-block;
		margin-block: 0;
		margin-inline-start: 3em;
	}

	section#krausenik {
		flex-direction: row;
	}
	
	section#krausenik > * {
		width: 50%;
	}


	a.inter {
		/* top: calc(4rem - 10px); */
	}	


	section#vid {
		flex-direction: row;
		gap: 1rem;
		align-items: center;
		padding: var(--pagemargin2) var(--pagemargin);
	}

	section#vid > * {
		width: 50%;
	}		




	section#people ul li {
		flex: 0 0 calc(33.333% - 1rem);
	}	

	section#people ul li:nth-child(even) a {
		flex-direction: row;
		text-align: left;
	}	

	section#people ul li a h4 span {
		display: block;
	}	


	section#viertel {
	    padding-block-start: 1rem;
	}
	
	section#viertel > div > span {
		max-width: 80ch;
	    margin: 0 auto var(--pagemargin) auto;
	}

	section#viertel > div img {
		height: 30vw;
		width: auto;
		margin-block-start: -80px;
	}	

	span.buttons {
		display: flex;
		gap: 1rem;
		justify-content: center;
	}
	
	span.buttons a {
		margin-inline: 0;
		margin-block-end: 0;
	}	
}





