/* 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-black: #000;
  --color-dark-grey: #444;
  --color-grey: #c4c4c4;
  --color-light-grey: #f1f1f1;
  --color-blue: #0077ae;
  --color-light-blue: #01A6E0;
  --color-dark-blue: #1C405D;
  --color-yellow: #f8de14;
  --color-yellow-dark: #FF9800; /*#F7A614*/
  --color-yellow-dark-link: #EF6C00;
}


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


/* barlow-300 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  src: url('/inc/fonts/barlow-v13-latin-300.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-300.woff') format('woff');
}
/* barlow-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  src: url('/inc/fonts/barlow-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-regular.woff') format('woff');
}
/* barlow-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  src: url('/inc/fonts/barlow-v13-latin-500.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-500.woff') format('woff');
}
/* barlow-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  src: url('/inc/fonts/barlow-v13-latin-600.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-600.woff') format('woff');
}
/* barlow-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  src: url('/inc/fonts/barlow-v13-latin-700.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-700.woff') format('woff');
/* barlow-800 - latin */

}
@font-face {
  font-display: swap; 
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  src: url('/inc/fonts/barlow-v13-latin-800.eot'); /* IE9 Compat Modes */
  src: url('/inc/fonts/barlow-v13-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/inc/fonts/barlow-v13-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/inc/fonts/barlow-v13-latin-800.woff') format('woff');
}


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

body {
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  line-height: 27px;
  hyphens: manual;
  color: var(--color-black);
  margin: 0;
}


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

/* Begrenzung des Contentbereichs */
.inner {
	width: 100%;
	max-width: 1360px;
	padding: 0 18px;
	margin: 0 auto;
}

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


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

section:not(.header-section) {
	padding: 60px 0;
  position: relative;
}


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

/* grauer Hintergrund */
.grey-stripe {
  background: #f1f1f1;
  padding: 30px 0;
}

.yellow-stripe {
  background: var(--color-yellow);
  padding: 30px 0;
}

.yellow-stripe.border-oblique {
  padding: 60px 0 100px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ------------[ verschiedene Abstände innerhalb einer Sektion]------------ */

/* Sektion ohne Abstand */
section.no-padding {
	padding: 0;
}

/* Sektion ohne Abstand nach oben */
section.no-padding-top {
	padding: 0 0 60px;
}

/* Sektion ohne Abstand nach unten */
section.no-padding-bottom {
	padding: 60px 0 0;
}

/* ------------[ Schräge Kante an der Sektion]------------ */

.border-oblique:before{
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 35px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.border-oblique.yellow:before{
  background: var(--color-yellow);
  
}

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

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

.center {
  align-items: center;
}

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

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


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

/* kein Abstand nach oben */
.no-margin {
	margin: 0;
}

/* zusätzlicher Abstand nach oben */
.margin-top {
	margin-top: 30px !important;
}

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

/* zusätzlicher Abstand nach unten */
.margin-bottom {
	margin-bottom: 30px !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;
}

/* großer Text */
.minitext {
  font-size: 20px;
  line-height: 26px;
}

.small-text{
    font-size: 3rem;
}

/* kleiner Text - identisch mit pic-description */
.minitext {
  font-size: 16px;
  line-height: 22px;
}

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


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

/* Per Script auf ganze DIVs ausgeweitete Links */
.clickbox {
  cursor: pointer;
}

/* Hinweis wenn JavaScript deaktiviert */
p.no-java {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	background-color: #0077ae;
	padding: 30px;
	margin: 0;
	z-index: 99;
}

/* Abkürzungen und Akronyme */
abbr {
  border-bottom: 1px dotted #a1a1a1;
  cursor: help;
}

abbr[title], acronym[title] {
  /* Reset Browser-Default */
  text-decoration: none;
}

/* Hintergrundfarbe für selektierten Text */
::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 2000ms cubic-bezier(0.2, 1, 0.22, 1), all 1000ms 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) * -24%));
  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) * -9%));
  transform-origin: center center;
}

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


/* ========================[ Header-Bereich ]======================== */
#wrap{
  background-color: #fff;
}

#main {
  padding-top: 72px;
    max-width: 2200px;
    margin: 0 auto;
    background-color: #f1f1f1;
}

header {
  position: fixed; /* Fixierter Header */
  top: 0;
  left: 0;
  right: 0;
  max-width: 2200px;
  margin: 0 auto;
  z-index: 100;
}

.header-section {
  margin: 0 auto;
    background-color: var(--color-light-grey);
    transition: all 0.6s ease;
}

.header-section.background {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease;
}

/* Logo */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo links und Navi rechts per Flex */
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 10px;
	background-color: var(--color-white);
  border-radius: 20px 0;
	font-size: 14px;
  border: 3px solid var(--color-yellow);
  color: #000 !important;
	padding: 8px;
	text-decoration: none;
	z-index: 9999;
  transition: all 0.2s ease;
}

.skip-link:focus {
    top: 10px; /* Sichtbar machen */
    transition: all 0.2s ease;
}



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

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


/* ------------[ Hauptnavigation ]------------ */
/* Navigation ausgeblendet wenn kein JavaScript vorhanden */
.header-section .mainnav {
  visibility: hidden;
   opacity: 0; 
   height: 0; 
   transition: all 0.2s ease;
   
}

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

/* Navigation einblenden */
.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 {
	/* Setze auch hier ggf. tabindex und visuelle Änderungen */
	tabindex: 0;
}

.mainnav {
  width: 100%;
  position: absolute;
  top: 72px; /* Richtet sich nach Höhe des fixierten Headers auf mobile. Im nächsten Element den gleichen Wert eintragen */
  left: 0;
  z-index: 99;
}

/* Liste der Hauptnavigation */
.mainnav > ul {
  height: calc(100vh - 72px); /* Gesamte Bildschirmhöhe abzüglich fixiertem Header (s.o) */
  background-color: var(--color-yellow);
  padding: 18px;
  margin: 0;
  overflow-y: auto;
  z-index: 0;
}

/* einzelne Navigationspunkte */
nav.mainnav > ul li {
  display: block;
  position: relative;
  background: none;
  padding: 0;
  margin-bottom: 3px;
  border-radius: 20px 0;
}

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

/* einzelne links in den Navigationspunkten */
nav.mainnav > ul li a {
  color: var(--color-black);
  text-decoration: none;
  padding: 6px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 500;

}

/* Navigation verstecken */
.header-section.closed .mainnav {
  visibility: hidden;
  opacity: 0; 
  height: 0; 
}


/* current der Navigationspunkte */
nav.mainnav ul li.current > a,
nav.mainnav ul li.current > a:hover {
	background: var(--color-yellow-dark);
  border-radius: 20px 0;
 
}


/* hover/focus der Navigationspunkt-Links */
nav.mainnav ul li a:hover,
nav.mainnav ul li a:focus {
	background: var(--color-yellow-dark);
  border-radius: 20px 0;
}

.mainnav a p{
margin-left: 14px;
}


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

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

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

/* hover/current der Subnavigationspunkte */
ul.subnav li a:hover {
}

/* current der Subnavigationspunkte */
ul.subnav li.current a {
}


/* ------------[ 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-yellow);
  padding: 24px;
  margin: 12px 0;
  border-radius: 20px 0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

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

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

/* Styling der 3 Striche des Hamburgers */
.hamburger,
.hamburger:after,
.hamburger:before {
  height: 3px;
  position: relative;
  background-color: var(--color-dark-grey);
  margin-top: 5px;
  transition: all 0.3s ease;
}

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

/* Positionierung oberer Strich */
.hamburger:before {
	top: -12px;
  left: 0;
}

/* Positionierung unterer Strich */
.hamburger:after {
	top: 2px;
  left: 0;
}

/* Hamburger-Icon beim Öffnen des Menüs */
.header-section.open .hamburger {
	background: none; /* mittlerer der drei Striche wird ausgeblendet */
}

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

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


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

#main-content{
  padding-top: 0;
}

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

h1, h2, h3 {
  font-weight: 600;
}

h1 {
  font-size: 62px;
  line-height: 60px;
  margin: 0 0 18px;
  font-weight: 400;
}

h1 .small-text{
    display: block;
    line-height: 40px;
    padding-top: 16px;
}

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

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

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


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

p {
  margin: 12px 0;
}


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

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

a:hover, a:focus, a:active {
  color: var(--color-yellow-dark-link);
  transition: all 0.3s ease-in-out;
}

a:-webkit-any-link:focus-visible{
  outline: 1px solid var(--color-yellow);
  transition: all 0.3s ease-in-out;
}

/* Buttons */
.button{
  display: inline-block;
  font-size: 16px;
	line-height: 22px;
	border: none;
	outline: none;
	cursor: pointer;
	width: auto;
  font-weight: 600;
  color: var(--color-black);
  text-align: center;
  background: var(--color-yellow);
  padding: 12px 24px;
  margin: 12px 2px 0;
  border-radius: 20px 0;
  transition: all 0.3s ease-in-out;
}

button {
  font-size: 16px;
	line-height: 22px;
	border: none;
	outline: none;
	cursor: pointer;
}
.button:hover,
.button:focus,
.button:active,
.button.current {
  color: var(--color-black);
  background: var(--color-yellow-dark);
  border-radius: 0 20px;
  transition: all 0.3s ease-in-out;
}

.yellow-stripe .button{
  border: 3px solid #000;
}

.button.arrow-left{
  position: relative;
}
.button.arrow-left:before{
    content: '';
    background: url('/inc/img/arrow-left.svg') no-repeat center;
    position: absolute;
    top: 0;
    left: 10px;
    width: 40px;
    height: 100%;
    opacity:0;
    transition: all 0.2s ease;
}

.button.arrow-left:hover,
.button.arrow-left:focus,
.button.arrow-left:active{
  padding-left: 34px;
}
.button.arrow-left:hover:before,
.button.arrow-left:focus:before,
.button.arrow-left:active:before{
  opacity: 1;
  left:0;
}

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

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

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


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

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

/* + auf groß klickbaren Bild */
.fancybox:after {
  content: '';
  width: 42px;
  height: 42px;
  position: absolute;
  left: calc(50% - 14px);
  top: calc(50% - 14px);
  background-color: var(--color-yellow);
  background-image: url('/inc/img/icon-plus.svg');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px 0;
  transition: all 0.3s ease-in-out;
  z-index: 9;
  opacity: 0;
}

.fancybox:hover:after,
.fancybox:focus:after,
.fancybox:active:after {
  transition: all 0.3s ease-in-out;
  opacity: 1;
}


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

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

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


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

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

/* Liste 1. Ebene */
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;
}

/* Liste 2. Ebene */
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;
}

/* Liste 1. Ebene */
ol > li {
  padding-left: 6px;
  margin: 0;
}

/* Liste 2. Ebene */
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 ]======================== */

/* ------------[ Galerie-Seite ]------------ */

.container{
    display:grid;
    grid-template-columns: repeat(1,1fr);
    grid-auto-rows:250px;
    grid-gap:8px;
    grid-auto-flow: dense;
}

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

.filter-controls-center{
  display: inline-block;
}

.gallery-item{
    width:100%;
    height:100%;
    position:relative;
}

.gallery-item .image{
    display: block;
    width:100%;
    height:100%;
    overflow:hidden;
}

.gallery-item .image img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position:50% 50%;
    cursor:pointer;
    transition:.5s ease-in-out;
}
.gallery-item .image:hover img,
.gallery-item .image:focus img{
    transform: scale(1.1);
}



.w-1,.w-2,.w-3,.w-4,.w-5,.w-6{
    grid-column:span 1;
}

.h-1,.h-2,.h-3,.h-4,.h-5,.h-6{
    grid-column:span 1;
}

.overlay {
  position: absolute;
  inset: 0;
  border: 3px solid #fff;
  background-color: rgba(248, 222, 20, 0.95);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
}

.overlay-content {
  text-align: center;
  color: var(--color-black);
  padding: 16px 24px;
  transition: all 0.4s ease;
  transform: scale(0.5);
  opacity: 0;
}


.gallery-item .image:hover .overlay,
.gallery-item .image:focus .overlay{
    opacity: 1;
    width: 80%;
    height: 80%;
    border-radius: 20px 0;
}

.gallery-item .image:hover .overlay-content,
.gallery-item .image:focus .overlay-content{
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
    transition-delay: 0.2s;
}




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

.infobox {
  height: 100%;
  background-color: #f1f1f1;
  padding: 30px;
}

/* infobox auf grauem Streifen */
section.grey-stripe .infobox {
  color: #fff;
  background-color: #01a6e0;
}

section.grey-stripe .infobox a {
  color: #fff;
}

.infobox-icon{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  padding: 12px;
}

.infobox-icon img{
  width: 100%;
  max-width: 40px;
}

.infobox-icon.animation-popup:nth-child(1){
  transition-delay: 0.2s;
}
.infobox-icon.animation-popup:nth-child(2){
  transition-delay: 0.3s;
}
.infobox-icon.animation-popup:nth-child(3){
  transition-delay: 0.4s;
}
.infobox-icon.animation-popup:nth-child(4){
  transition-delay: 0.4s;
}
.infobox-icon.animation-popup:nth-child(5){
  transition-delay: 0.4s;
}
.infobox-icon.animation-popup:nth-child(6){
  transition-delay: 0.4s;
}

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

.teaser {
  background: #f3f3f3;
  border-radius: 2px;
  transition: all 0.2s 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: #f9f9f9;
  cursor: pointer;
}


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

/* Akkordeon Titel */
.accordion .title {
	border-radius: 2px;
	margin-bottom: 6px; /* Abstand zu unterem accordion */
	cursor: pointer;
}

.accordion .title:last-child {
	margin-bottom: 0; /* Abstand zu unterem accordion */
}


/* Akkordeon Verlinkung */
.accordion .title a{
	display:block;
	background: #0077ae;
	padding: 0 18px 0 0; /* Abstand für Pfeile rechts */
  border-radius: 40px;
	transition: all 0.2s ease-in-out;
}

.accordion .title a:hover,
.accordion .title a:focus,
.accordion .title a:active {
	background: #01a6e0;
}

/* Akkordeon Überschrift im Titel */
.accordion .title h2,
.accordion .title h3 {
  display: block;
  position: relative;
  color: #fff;
  font-size: 18px;
  background: url('/inc/img/arrow-right.svg') no-repeat right;
  background-size: 16px 16px;
  padding: 8px 18px;
  margin: 0;
}

/* Akkordeon Inhalt */
.accordion .acc-content {
  background: #fff;
  padding: 6px 24px 12px; /* mehr Abstand nach unterem wegen Abstand durch accordion */
}

/* wenn Akkordeon offen */
.accordion .open a{
  background: #01a6e0;
}

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


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

/* Video als PopUp öffnen */
.video-overlay a {
  display: block;
  position: relative;
  cursor: pointer;
}

/* weißes Play-Icon des Playbuttons im SVG */
.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%);
}

/* grauer Hintergrund des Playbuttons im SVG */
.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;
}

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'); /*url(/inc/img/arrows/arrow-down.svg)*/
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 18px;
	border: 1px solid #c4c4c4;
	padding: 12px 18px;
  margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
	outline: none;
	border: 1px solid #00baff;
}

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

/* Radio/Checkboxen */
input[type="radio"]:checked,
input[type="radio"]:not(:checked),
input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked) {
/*	position: absolute;
	left: -9999px;*/
  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 */
option {
	padding: 0.3em 1em 0.3em 1em;
	border-top: 1px solid #444;
	background: #fff;
}

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

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

.field{
  margin-bottom: 16px;
}

/* input type="file" button stylen Updload-Button */
input[type="file"]::file-selector-button{
	display: inline-block;
	color: #fff;
	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;
}

/* Fehlermeldungen */
.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;
}

/* wenn formular abgeschickt wurde und länger braucht wird loading-icon gesetzt*/
.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 /* triangle decoration */ {
  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-home{
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.keyvisual-wrapper{
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;
  height: auto;
  z-index: 1;
  overflow: hidden;
}

.keyvisual-home img{
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid transparent;
  padding: 24px;
  z-index: 1;
  position: relative;
  transform: scale(1.04);
  transition: all 0.6s ease;
}

.image-frame{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-yellow);
  background-color: #fff;
  padding: 24px; /* simuliert deinen weißen Innenrahmen */
  transform: scale(0.9);
  opacity: 0;
  transition: all 1s ease;
}

.keyvisual-wrapper.inview img{
  transform: scale(1);
}
.keyvisual-wrapper.inview .image-frame{
   transform: scale(1);
  opacity: 1;
}

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

.call-to-action {
  display: block;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #0077ae;
  border-radius: 2px;
  padding: 24px;
  margin: 0;
  transition: all 0.2s ease-in-out;
}

.call-to-action:hover,
.call-to-action:focus,
.call-to-action:active {
  color: #fff;
  background: #01a6e0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* ========================[ Section-Bereich ]======================== */

section.content-top{
  padding-top: 300px !important;
  margin-top: -300px !important;
}

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

footer {
  background-color: var(--color-yellow);
  padding: 24px 0;
  max-width: 2200px;
    margin: 0 auto;
}

footer .tab{
  padding: 8px 0;
}

footer a {
  padding: 8px 0;
  display: inline-block;
  color: #000;
  text-decoration: underline;
}

@media screen and (max-width: 500px) {

  section.content-top {
    padding-top: 150px !important;
    margin-top: -170px !important;
  }

}
