/* Hint im Entwicklungsmodus. Mit Launch ausschalten in grid.scss */
body:after {
  content: "S";
}

.only-s {
  display: block !important;
}

.no-s {
  display: none !important;
}


/* ------------[ Farben ]------------ */

:root {
  --color-white: #ffffff;
  --color-dark-grey: #444;
  --color-bright-green: #D0DE14;
  --color-bright-green-hover: #f2ff44;
  --color-green: #9B970A;
  --color-dark-green: #002329;
  --color-light-blue: #e2f1ed;
  --color-light-brown: #eee2d0;
  --color-brown: #cba66e;
}


/* ------------[ Keyvisual-iPhone: Bildausschnitt-Verhältnisse ]------------ */
/* Verhältnisse aus images/iPhone.png (360 x 725px): Bildschirm liegt bei
   x 20-340, y 59-646. Werden genutzt, um den Hintergrund-Ausschnitt im
   iPhone-Screen exakt deckungsgleich mit dem Hintergrundbild zu halten. */

:root {
  --phone-ratio: 2.0138889;   /* Höhe/Breite des iPhone-Bilds (725/360) */
  --screen-left-r: 0.0555556; /* 20/360 */
  --screen-w-r: 0.8888889;    /* 320/360 */
  --screen-top-r: 0.0813793;  /* 59/725 */
  --screen-h-r: 0.8096552;    /* 587/725 */
  --screen-radius-r: 0.025;   /* ~9/360 */
}


/* ------------[ Schriften ]------------ */

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

@font-face {
  font-family: 'Inter';
  src: url('/inc/fonts/Inter_18pt-SemiBold.woff2') format('woff2'),
       url('/inc/fonts/Inter_18pt-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Syne';
  src: url('/inc/fonts/Syne-SemiBold.woff2') format('woff2'),
       url('/inc/fonts/Syne-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ------------[ Body ]------------ */

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 22px;
  hyphens: manual;
  color: #333;
  margin: 0;
}


/* ==============================[ Begrenzung Inhalt ]============================== */

.inner {
	width: 100%;
	max-width: 1360px;
	padding: 0 18px;
	margin: 0 auto;
}

.small-width {
	max-width: 1000px;
}


/* ==============================[ Formate für Sektionen ]============================== */

section {
	padding: 60px 0;
}


/* ------------[ spezielle Klassen für Sektionen ]------------ */

section.no-padding {
	padding: 0;
}

section.no-padding-top {
	padding: 0 0 60px;
}

section.no-padding-bottom {
	padding: 60px 0 0;
}


section.green-stripe {
  color: var(--color-white);
  background: var(--color-green);
}

section.dark-green-stripe {
  color: var(--color-white);
  background: var(--color-dark-green);
}

section.brown-stripe {
  color: var(--color-white);
  background: var(--color-brown);
}

section.light-brown-stripe {
  background: var(--color-light-blue);
}

section.light-blue-stripe {
  background: var(--color-light-blue);
}


/* ========================[ universelle Klassen ]======================== */

/* ------------[ Positionierung der Elmente ]------------ */

.center {
  align-items: center;
}

.bottom {
  align-items: flex-end;
}

.top {
  align-items: flex-start;
}


/* ------------[ verschiedene Abstände ]------------ */

.no-margin {
	margin: 0;
}

.margin-top {
	margin-top: 30px !important;
}

.margin-top-small {
	margin-top: 18px !important;
}

.margin-bottom {
	margin-bottom: 30px !important;
}

.margin-bottom-small {
	margin-bottom: 18px !important;
}


/* ------------[ verschiedene Abstände im Grid ]------------ */

.no-grid-gap {
  grid-gap: 0;
}

.small-grid-gap {
  grid-gap: 12px;
}

.big-grid-gap {
  grid-gap: 30px;
}


/* ------------[ Klassen für Texte ]------------ */

.text-right {
  text-align: right;
}

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

.bigtext {
  font-size: 20px;
  line-height: 26px;
}

.minitext {
  font-size: 16px;
  line-height: 22px;
}

.tab {
  display: block;
  width: 4.5em;
  float: left;
  clear: left;
}


/* ------------[ Sonstiges ]------------ */

.clickbox {
  cursor: pointer;
}

p.no-java {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	background-color: var(--color-blue);
	padding: 30px;
	margin: 0;
	z-index: 99;
}

abbr {
  border-bottom: 1px dotted #a1a1a1;
  cursor: help;
}

abbr[title],
acronym[title] {
  text-decoration: none;
}

::selection {
  background: #ddd;
  text-shadow: none;
}


/* ========================[ einmalige Scroll-Animation beim Laden ]======================== */

.has-js .fade-in-top,
.has-js .fade-in-top-later {
  transform: translate3d(0, -120px, 0);
  transition: transform 4250ms cubic-bezier(0.19, 1, 0.22, 1), opacity 4250ms cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.has-js .fade-in-bottom,
.has-js .fade-in-bottom-later {
  transform: translate3d(0, 120px, 0);
  transition: transform 4250ms cubic-bezier(0.19, 1, 0.22, 1), opacity 4250ms cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.has-js .fade-in-left,
.has-js .fade-in-right-later {
  transform: translate3d(-120px, 0, 0);
  transition: transform 4250ms cubic-bezier(0.19, 1, 0.22, 1), opacity 4250ms cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.has-js .fade-in-right,
.has-js .fade-in-right-later {
  transform: translate3d(120px, 0, 0);
  transition: transform 4250ms cubic-bezier(0.19, 1, 0.22, 1), opacity 4250ms cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.has-js .fade-in-top.inview,
.has-js .fade-in-top-later.inview,
.has-js .fade-in-bottom.inview,
.has-js .fade-in-bottom-later.inview,
.has-js .fade-in-left.inview,
.has-js .fade-in-left-later.inview,
.has-js .fade-in-right.inview,
.has-js .fade-in-right-later.inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-js .animation-popup {
  transform: scale(0);
  transition: transform 4000ms cubic-bezier(0.2, 1, 0.22, 1), opacity 3000ms cubic-bezier(0.2, 1, 0.22, 1);
  opacity: 0;
}

.has-js .animation-popup.inview {
  opacity: 1;
  transform: scale(1);
}


/* ========================[ Parallax-Animationen ]======================== */

.scroll-container-rotate {
  transform: rotate(calc((var(--onscroll-fraction) - 1) * 280deg));
  transform-origin: center center;
}

/* ------------[ Animationen oben - unten ]------------ */

.scroll-container-top {
  transform: translateY(calc((var(--onscroll-fraction) - 0.5) * -30%));
  transform-origin: center center;
}

.scroll-container-bottom {
  transform: translateY(calc((var(--onscroll-fraction) - 0.5) * +30%));
  transform-origin: center center;
}


/* ------------[ Animationen rechts - links ]------------ */

.scroll-container-left {
  transform: translateX(calc((var(--onscroll-fraction) - 0.5) * -12%));
  transform-origin: center center;
}

.scroll-container-right {
  transform: translateX(calc((var(--onscroll-fraction) - 0.5) * +12%));
  transform-origin: center center;
}


/* ========================[ Header-Bereich ]======================== */

#main {
  padding-top: 72px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 1px 1px 4px -1px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  z-index: 100;
}

section.header-section {
  margin: 0 auto;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 10px;
	background: var(--color-white);
	font-size: 14px;
	color: #fff;
	padding: 8px;
	text-decoration: none;
	z-index: 9999;
  transition: all 0.3s ease;
}

.skip-link:focus {
  top: 10px;
  transition: all 0.3s ease;
}


/* ------------[ Logo ]------------ */

a.logo {
  display: block;
  width: 100%;
  max-width: 160px;
}


/* ------------[ Hauptnavigation ]------------ */

.header-section .mainnav {
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: all 0.2s ease;
}

.header-section.closed .mainnav {
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
}

.header-section.open .mainnav,
.header-section:focus-within + .mainnav,
#nav-toggle-wrap:focus-within + .mainnav,
.mainnav:focus-within {
  visibility: visible;
  opacity: 1;
  height: auto;
  transition: all 0.2s ease;
}

#nav-toggle-wrap[aria-expanded="true"] + .mainnav {
	tabindex: 0;
}

.mainnav {
  width: 100%;
  position: absolute;
  top: 72px;
  left: 0;
  z-index: 99;
}

.mainnav > ul {
  height: calc(100vh - 72px);
  background-color: var(--color-blue);
  padding: 12px;
  margin: 0;
  overflow-y: auto;
  z-index: 0;
}

nav.mainnav > ul li {
  display: block;
  position: relative;
  background: none;
  padding: 0;
  margin-bottom: 3px;
}

nav.mainnav > ul li:last-child {
  margin-bottom: 0;
}

nav.mainnav > ul li a {
  display: block;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
}

nav.mainnav ul li.current > a,
nav.mainnav ul li.current > a:hover {
	color: var(--color-white);
	background: var(--color-light-blue);
}

nav.mainnav ul li a:hover,
nav.mainnav ul li a:focus {
	color: var(--color-white);
	background: var(--color-light-blue);
}


/* ------------[ Subnavigation ]------------ */

ul.subnav {
  margin: 6px 0 6px 18px;
  z-index: 90;
}

ul.subnav li {
  background: none;
  margin: 0;
}

ul.subnav li a:hover {
	color: var(--color-white);
	background-color: var(--color-light-blue);
}

ul.subnav li.current a {
	color: var(--color-white);
	background-color: var(--color-light-blue);
}


/* ------------[ Mobile Navigation ]------------ */

#nav-toggle-wrap {
  display: flex;
  justify-content: flex-end;
  position: relative;
  background-color: transparent;
}

.nav-toggle {
  display: block;
  position: relative;
  background: var(--color-blue);
  padding: 24px;
  margin: 12px 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle.open {
  background: var(--color-light-blue);
}

.hamburger-icon {
  width: 24px;
  position: absolute;
  top: 18px;
  right: 12px;
}

.hamburger,
.hamburger:after,
.hamburger:before {
  height: 3px;
  position: relative;
  background-color: var(--color-white);
  margin-top: 5px;
  transition: all 0.3s ease;
}

.hamburger:after,
.hamburger:before {
  content: '';
  width: 100%;
  position: absolute;
}

.hamburger:before {
	top: -12px;
  left: 0;
}

.hamburger:after {
	top: 2px;
  left: 0;
}

.header-section.open .hamburger {
	background: none;
}

.header-section.open .hamburger:before {
	top: -6px;
	background: var(--color-white);
	transform: rotate(45deg);
}

.header-section.open .hamburger:after {
	top: -6px;
	background: var(--color-white);
	transform: rotate(-45deg);
}


/* ========================[ Standard-Elemente ]======================== */

/* ------------[ Überschriften ]------------ */

h1, h2, h3, h4 {
  font-family: 'Syne';
  font-weight: bold;
}

h1 {
  font-size: 42px;
  line-height: 48px;
  margin: 0 0 18px;
}

h2 {
  font-size: 30px;
  line-height: 36px;
  margin: 36px 0 18px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin: 24px 0 12px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin: 18px 0 12px;
}


/* ------------[ Absätze ]------------ */

p {
  margin: 18px 0 0;
}


/* ------------[ Verlinkungen ]------------ */

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover, a:focus, a:active {
  color: #01a6e0;
  transition: all 0.3s ease-in-out;
}

/* Buttons */
.button {
  display: inline-block;
  color: var(--color-dark-green);
  text-align: center;
  background: var(--color-bright-green);
  border-radius: 2px;
  padding: 12px 24px;
  margin: 18px 0 0;
  border-radius: 42px;
  transition: all 0.3s ease-in-out;
}

.button:hover,
.button:focus,
.button:active {
  color: var(--color-dark-green);
  background: var(--color-bright-green-hover);
  transition: all 0.3s ease-in-out;
}


/* ------------[ Bilder ]------------ */

.pic {
  display: block;
  width: 100%;
  height: auto;
}

.pic-description {
  font-size: 16px;
  line-height: normal;
}


/* ------------[ Bild größer klicken ]------------ */

.fancybox {
  display: block;
  width: 100%;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.fancybox:after {
  content: '';
  width: 42px;
  height: 42px;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--color-blue);
  background-image: url('/inc/img/icon-plus.svg');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: 24px;
  transition: all 0.3s ease-in-out;
  z-index: 9;
}

.fancybox:hover:after,
.fancybox:focus:after,
.fancybox:active:after {
  background-color: var(--color-blue);
  transition: all 0.3s ease-in-out;
}


/* ------------[ Text-Bild-Element ]------------ */

.pic-img.left {
  margin-bottom: 30px;
}

.pic-img.right {
  margin-top: 30px;
}


/* ------------[ Unnummerierte Listen ]------------ */

ul {
  padding-left: 0;
  margin: 0;
}

ul > li {
  list-style-type: none;
  background: url('/inc/img/list-dot.svg') 0 0.5em no-repeat;
  background-size: 6px 6px;
  padding-left: 18px;
}

li ul {
  padding-left: 30px;
  margin: 12px 0;
}

li ul > li {
  background-size: 6px 6px;
  padding-left: 18px;
}


/* ------------[ Nummerierte Listen ]------------ */

ol {
  padding-left: 20px;
  margin: 0;
}

ol > li {
  padding-left: 6px;
  margin: 0;
}

li ol {
  padding-left: 30px;
  margin: 12px 0;
}

li ol > li {
  padding-left: 6px;
}


/* ------------[ Listen mit mehr Abstand ]------------ */

.listspace > li {
  margin: 6px 0;
}

.listspace li ul {
  margin: 18px 0;
}


/* ------------[ Tabellen ]------------ */

table {
  width: 100%;
  border: none;
  border-collapse: collapse;
}

tr {
  border: 2px solid #eee;
  border-width: 2px 0;
}

th, td {
  vertical-align: top;
  border-width: 0;
  padding: 12px;
  text-align: left;
}


/* ========================[ Sonderelmente ]======================== */

/* ------------[ Infobox ]------------ */

.infobox {
  height: 100%;
  background-color: var(--color-light-grey);
  padding: 30px;
}

section.grey-stripe .infobox {
  color: var(--color-white);
  background-color: var(--color-blue);
}

section.grey-stripe .infobox a {
  color: var(--color-white);
}


/* ------------[ Teaser ]------------ */

.teaser {
  background: var(--color-light-grey);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.teaser-text {
  padding: 30px;
}

.teaser h2,
.teaser h3 {
  margin: 0;
}

.teaser img {
  margin: 0;
}

.teaser p {
  margin: 12px 0;
}

.teaser .button {
  width: 100%;
  margin: 12px auto 0;
}

.teaser:hover,
.teaser:focus {
  background: var(--color-grey);
  cursor: pointer;
}


/* ------------[ Akkordeon ]------------ */

.accordion .title {
	border-radius: 2px;
	margin-bottom: 6px;
	cursor: pointer;
}

.accordion .title:last-child {
	margin-bottom: 0;
}

.accordion .title a {
	display:block;
	background: var(--color-blue);
	padding: 0 18px 0 0;
  border-radius: 40px;
	transition: all 0.2s ease-in-out;
}

.accordion .title a:hover,
.accordion .title a:focus,
.accordion .title a:active {
	background: var(--color-light-blue);
}

.accordion .title h2,
.accordion .title h3 {
  display: block;
  position: relative;
  color: var(--color-white);
  font-size: 18px;
  background: url('/inc/img/arrow-right.svg') no-repeat right;
  background-size: 16px 16px;
  padding: 8px 18px;
  margin: 0;
}

.accordion .acc-content {
  background: var(--color-white);
  padding: 6px 24px 12px;
}

.accordion .open a {
  background: var(--color-light-grey);
}

.accordion .open h2,
.accordion .open h3 {
  background: url('/inc/img/arrow-down.svg') no-repeat right;
  background-size: 16px 16px;
}


/* ------------[ Videoplayer ]------------ */

.video-overlay a {
  display: block;
  position: relative;
  cursor: pointer;
}

.youtube-button {
  display: block;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  width: 84px;
  height: 60px;
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.youtube-play-button {
  fill: #1f1f1f;
  fill-opacity: 0.8;
  transition: fill 0.2s cubic-bezier(0.4, 0, 1, 1) 0s, fill-opacity 0.2s cubic-bezier(0.4, 0, 1, 1) 0s;
}

.video-overlay a:hover .youtube-play-button {
  fill: #cc181e;
  fill-opacity: 1;
  transition: fill 0.2s cubic-bezier(0, 0, 0.2, 1) 0s, fill-opacity 0.2s cubic-bezier(0, 0, 0.2, 1) 0s;
}


/* ------------[ Formulare ]------------ */

.form-content {
	margin: 12px 0;
}

legend {
	display: block;
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 0.5em;
}

fieldset:not(.field) > legend {
	font-family: "open sans bold";
}

label {
	display: block;
	font-size: 18px;
	margin-bottom: .5em;
	color: var(--color-dark-grey);
	cursor: pointer;
}

input,
textarea,
select,
.input-radio-content,
.input-checkbox-content {
	width: 100%;
	margin: 10px 0;
}

input,
textarea {
	display: block;
	font-size: 16px;
	line-height: 22px;
	background-color: var(--color-white);
	border: 1px solid var(--color-grey);
	padding: 12px 18px;
	resize: none;
}

.error input,
.error textarea {
	border: 1px solid #b40000;
}

fieldset {
	border: none;
	clear: both;
	padding: 0;
	margin: 0;
}

textarea {
	width: 100%;
	min-height: 120px;
  font-family: 'Open Sans', sans-serif;
}

select {
	color: var(--color-dark-grey);
	width: 100%;
	font-size: 16px;
	line-height: 22px;
	background-color: var(--color-white);
	background-image: url('/inc/img/arrow-down-grey.svg');
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 18px;
	border: 1px solid var(--color-light-grey);
	padding: 12px 18px;
  margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
	outline: none;
	border: 1px solid var(--color-light-blue);
}

label:has(input) {
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  align-items: center;
  accent-color: #019fd7;
  font-family: "open sans";
}

input[type="radio"]:checked,
input[type="radio"]:not(:checked),
input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked) {
  margin: 0;
  height: 18px;
}

input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label,
input[type="checkbox"]:checked + label,
input[type="checkbox"]:not(:checked) + label {
	position: relative;
	font-size: 16px;
	line-height: 24px;
  padding-left: 30px;
	cursor: pointer;
}

option {
	padding: 0.3em 1em 0.3em 1em;
	border-top: 1px solid #444;
	background: var(--color-white);
}

input[type="submit"] {
	color: var(--color-white);
	background-color: var(--color-blue);
	border: none;
	padding: 12px 24px;
	cursor: pointer;
	width: auto;
}

button {
	font-size: 16px;
	line-height: 22px;
	border: none;
	outline: none;
	cursor: pointer;
	width: auto;
}

input[type="submit"]:hover {
	background-color: var(--color-light-blue);
}

.field {
  margin-bottom: 16px;
}

input[type="file"]::file-selector-button {
	display: inline-block;
	color: var(--color-white);
	text-decoration: none;
	text-align: center;
	background: var(--color-grey);
	border-radius: 42px;
	padding: 8px 16px;
  margin-right: 12px;
	transition: all 0.3s ease-in-out;
	border: none;
}

input[type="file"]::file-selector-button:hover {
  background: #dedede;
}

.fieldError {
	border: 1px solid #a94442;
}

.labelError {
	color: #a94442;
}

select::-ms-expand {
	display: none;
}

.alert.error{
  padding: 12px 24px;
  background: #b40000;
  color: white;
}

.kontaktformular .alert.error + ul {
  border: 1px solid #b40000;
  padding: 24px 0 12px;
  margin: -12px 0 24px;
  background: none;
}

.kontaktformular .alert.error + ul > li {
  background: none;
}

.alert.success {
  padding: 12px 24px;
  background: #1ba01b;
  color: white;
}

.kontaktformular {
  position: relative;
}

.kontaktformular button {
  margin: 0 0 40px;
}

form.loading {
  position: relative;
}

form.loading:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffffbb;
}

.lds-ripple {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
}

form.loading + .loading-icon {
  display: inline-block;
  position: absolute;
  top: calc(50% - 40px);
    left: calc(50% - 40px);
}

.lds-ripple div {
  position: absolute;
  border: 4px solid var(--color-blue);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.75s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.hinweistext {
  margin-bottom: 24px;
}


/* ----------[ Formularerweiterung tooltip ] ---------- */

.icon-tooltip {
	display: inline-block;
	height: 18px;
	width: 18px;
  top: 3px;
  margin-left: 8px;
	position: relative;
	cursor: pointer;
}

.icon-tooltip abbr {
	display: inline-block;
	width: 100%;
	height: 100%;
	border-bottom: none;
}

.icon-tooltip path {
	fill: var(--color-blue);
}

#tooltip-box {
	position: absolute;
  font-size: 0.85em;
	line-height: 20px;
	color: var(--color-white);
	background: var(--color-blue);
	padding: 12px;
	transition: all 0.3s ease-in-out;
	z-index: 100;
}

#tooltip-box:after {
  content: '';
	width: 0;
	height: 0;
	position: absolute;
	left: 50%;
	bottom: -10px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid  var(--color-blue);
	margin-left: -10px;
}

#tooltip-box.top:after {
	top: -20px;
	bottom: auto;
	border-top-color: transparent;
	border-bottom: 10px solid var(--color-blue);
	transition: all 0.3s ease-in-out;
}

#tooltip-box.left:after {
	left: 12px;
	margin: 0;
}

#tooltip-box.right:after {
	right: 12px;
	left: auto;
	margin: 0;
}


/* ----------[ Formularerweiterung help ] ---------- */

.help {
  font-size: 0.8em;
  color: var(--color-grey);
}


/* ========================[ Sonderelmente Website ]======================== */

/* ------------[ Keyvisual ]------------ */

.keyvisual {
  --phone-w: min(60vw, 150px);
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: 100%;
  position: relative;
}

/* ------------[ Keyvisual: Blende öffnet beim ersten Laden ]------------ */
/* Das komplette Keyvisual startet zusammengeklappt auf einen Punkt in der
   Mitte und öffnet sich einmalig wie eine Kamerablende zum vollen Bild
   (Vorbild: lanserhof.com). Text/Störer/iPhone setzen erst danach ein. */

@keyframes keyvisual-aperture {
  from { clip-path: inset(50%); }
  to   { clip-path: inset(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .keyvisual {
    animation: keyvisual-aperture 1.2s cubic-bezier(0.76, 0, 0.24, 1) both;
  }
}

.keyvisual .logo {
  width: 160px;
  height: auto;
  margin: 0 0 24px;
}

.keyvisual-text-box {
  display: block;
  width: 100%;
  position: relative;
  background-color: var(--color-dark-green);
  padding: 30px 30px calc(var(--phone-w) * 0.18 + 110px);
}

.keyvisual-text h1 {
  position: relative;
  font-size: 36px;
  line-height: 42px;
  color: var(--color-bright-green);
  margin: 0 0 -9px;
  z-index: 100;
}

.keyvisual-text p.intro {
  font-size: 18px;
  line-height: 26px;
  color: var(--color-white);
}

.keyvisual-image {
  position: relative;
  height: calc(var(--phone-w) * 1.8 + 180px);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: var(--bg-position, bottom right);
}

.keyvisual-image img {
  display: block;
  width: var(--phone-w);
  position: absolute;
  top: calc(var(--phone-w) * 0.7);
  left: 60%;
  transform: translateX(-50%);
  z-index: 3;
}

.keyvisual-image .note {
  position: absolute;
  left: calc(78vw - var(--phone-w) * 0.4);
  top: calc(var(--phone-w) * 1);
  width: calc(var(--phone-w) * 0.8);
  right: auto;
  z-index: 10;
}

.keyvisual-image .note p {
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: var(--color-white);
  transform: translateX(-10px) translateY(var(--note-text-y, 0px));
  margin: 0;
}

.keyvisual-image .note svg {
  width: 70px;
  height: auto;
  --note-base-rot: -20deg;
  transform: rotate(-20deg);
}

.keyvisual .stoerer {
  display: flex;
  align-items: center;
  width: 280px;
  height: 280px;
  position: absolute;
  bottom: calc(var(--phone-w) * 2 - 42px);
  left: 18px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-brown);
  border-radius: 100%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  padding: 24px;
  z-index: 6;
}

.keyvisual .stoerer a.button {
  font-size: 16px;
  line-height: 22px;
  margin: 12px auto 0;
}


/* ------------[ Keyvisual: Text und Störer setzen sich sanft ein ]------------ */

@keyframes keyvisual-settle {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .keyvisual .logo,
  .keyvisual-text h1,
  .keyvisual-text p.intro {
    animation: keyvisual-settle 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .keyvisual .logo        { animation-delay: 1.2s; }
  .keyvisual-text h1      { animation-delay: 1.5s; }
  .keyvisual-text p.intro { animation-delay: 1.8s; }
}


/* ------------[ Note: Pfeil zeichnet sich, dann erscheint der Text ]------------ */

@keyframes note-arrow-draw {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes note-text-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .keyvisual-image .note svg {
    clip-path: inset(100% 0 0 0);
    animation:
      note-arrow-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 2.4s both,
      note-arrow-float 6.5s ease-in-out 3.3s infinite;
  }

  .keyvisual-image .note p {
    opacity: 0;
    animation:
      note-text-fade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 3.3s both,
      note-text-float 4.5s ease-in-out 4s infinite;
  }
}


/* ------------[ Note: Pfeil und Text schweben unabhängig voneinander ]------------ */

@property --note-text-y {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@keyframes note-arrow-float {
  0%, 100% {
    transform: translateY(0) rotate(var(--note-base-rot, -20deg));
  }
  50% {
    transform: translateY(-7px) rotate(calc(var(--note-base-rot, -20deg) + 3deg));
  }
}

@keyframes note-text-float {
  0%, 100% { --note-text-y: 0px; }
  50%      { --note-text-y: -6px; }
}


/* ------------[ Störer: sanftes Einsetzen + Schweben ]------------ */

@keyframes stoerer-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .keyvisual .stoerer {
    animation:
      keyvisual-settle 1.3s cubic-bezier(0.16, 1, 0.3, 1) 2.1s both,
      stoerer-float 7s ease-in-out 3.4s infinite;
  }
}


/* ------------[ Sichtfenster: Duplikat des Hintergrunds, exakt auf den iPhone-Screen zugeschnitten ]------------ */

.keyvisual-image:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: var(--bg-position, bottom right);
  clip-path: inset(
    0
    calc(50vw - var(--phone-w) * 0.5)
    calc(var(--phone-w) * 0.22 + 24px)
    calc(50vw - var(--phone-w) * 0.5)
    round calc(var(--phone-w) * var(--screen-radius-r))
  );
  z-index: 3;
  pointer-events: none;
}

/* ------------[ Call to Action ]------------ */


/* ========================[ Footer-Bereich ]======================== */

footer {
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-green);
  padding: 30px 0;
}

footer .logo {
  width: 300px;
  height: auto;
}

footer p {
  margin: 0;
}

footer p strong {
  font-family: 'Syne';
  font-size: 24px;
  line-height: 32px;
  color: var(--color-bright-green);
}

footer p a {
  color: var(--color-bright-green);
}

footer p a:hover,
footer p a:active {
  color: var(--color-bright-green-hover);
}
