:root {
  /* Kundenfarben */
  --sb_rot: #d4211c;
	--sb_dkrot: #ad1d18;
  /* Allgemeine Farben */
  --darkgray: #5B5B5B;
  --middlegray: #dee2e6;
  --lightgray: #F8F9FA;
  --white: #ffffff;
  --black: #000000;
  --anthrazitgrau : #293133;  
}

*, *:after, *::before{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body{
  border: none;
  color: #383838;
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  padding: 0;
/*  overflow-x: hidden;*/
}

a {outline: none; text-decoration: none; color: #d4211c;}

a:hover {text-decoration: underline;}

h1, h2, h3{
  font-family: 'Titillium Web', sans-serif;
  padding: 0;
}

h1{
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  margin: 3.75rem 0 2rem;
  color: #000;
  line-height: 1;
}

h1:after {
    content: "";
    display: block;
    width: 220px;
    background-color: #d4211c;
    height: 3px;
    margin: 1rem 0;
}


h1:first-child{margin-top: 0;}

h2{
  color: #353534;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

h3{
  color: #353534;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}


h4{
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  margin: 2rem 0 2rem;
  color: #000;
  line-height: 1;
}

h4:after {
    content: "";
    display: block;
    width: 220px;
    background-color: #d4211c;
    height: 3px;
    margin: 1rem 0;
}


h4:first-child{margin-top: 0;}

h1 + h2 {margin-top: 0;}

p {margin: 0 0 1.5rem 0; padding: 0;}

em, .italic {font-style: italic;}

strong, .strong {font-weight: 700;}

small, .small{font-size: 0.8em;}

.img {
	max-width: 100%;
	height: auto;
	border: 3px solid #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	margin: 1rem 0;
}

img.imgL {
	float: left;
	margin-right: 2rem;
	margin-bottom: 2rem;
	border: 3px solid #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	max-width: 250px;
}

img.imgR {
	float: right;
	margin-left: 2rem;
	margin-bottom: 2rem;
	border: 3px solid #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	max-width: 350px;
}

@media screen and (max-width: 580px), (max-device-width: 580px) {
img.imgL, img.imgR {
	float: none;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 1rem;
	width: 100%;
}
}

ol, ul {
  font-weight: normal;
  list-style-position: outside;
  margin: 1rem 0 1rem 30px;
  padding: 0;
  text-align: left;
}

ol {
	list-style-type: decimal-leading-zero;
}

ul {
	list-style-type: disc;
}

li {padding: 0 0 .25rem 0;}

ul li ul {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

div.clear{clear: both; float: none;}

.mb-1{margin-bottom: 0.5rem;}


.bg-black {background: #000;}
.bg-black > * {color: #fff!important;}
.bg-gray {background: #f7f7f7;}

.bg {
	background-position: center center;
	background-attachment: static;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0!important;
}

.black-layer{
	background: rgba(0,0,0,0.7);
	padding: 1.75em;
	}

.white-layer{
	background: rgba(255,255,255,0.5);
	padding: 1.75em;
	}

.black-color {
	color: #000;
}

.white-color {
	color: #fff;
}

.noborder {border: none!important;}

.border-t-dark { border-top: 1px solid #000; }
.border-b-dark { border-bottom: 1px solid #000; }
.border-t-light { border-top: 1px solid #fff; }
.border-b-light { border-bottom: 1px solid #fff; }
.border-t-darkgray { border-top: 1px solid var(--darkgray); }
.border-b-darkgray { border-bottom: 1px solid var(--darkgray); }
.border-t-middlegray { border-top: 1px solid var(--middlegray); }
.border-t-middlegray { border-bottom: 1px solid var(--middlegray); }

.button {
  background-color: var(--sb_rot);
  color: #fff;
  transition: all 0.2s ease-in;
  border: none;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-decoration: none;
  margin: 1rem 0;
  cursor: pointer;
}

.button:hover {
  background-color: var(--sb_dkrot);
  color: #fff;
  text-decoration: none;
}





/*-------------------------------------------------------------------
-------------------------------------------------------------------*/

#logo-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}


#logo-content > #logo > img {
	display: block;
	margin: 0 auto;
	padding: 2rem;
	max-width: 500px;
	width: 100%;
}


#head {
	background-position: center;
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-size: cover;
	height: 60vh;
	max-width: 100%;
	}

#navigation {
	align-items: flex-end;
	display: flex;
	justify-content: center;
	background: #dadada;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	width: 100%;
	}





/* -------------------------- */

#wrap {
	font-size: 1.125rem;
}

.content {
	padding: 3.5rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.bg-white {
    background: #fff;
    background-image: url('../images/logo_small.png');
	background-position: center bottom;
	background-repeat:no-repeat;
	padding-bottom: 10rem;
}



.content:nth-of-type(even) {
  background-color: var(--lightgray)
}

.content-in {
	max-width: 1200px;
	width: 100%;
}

.content-in + .content-in {
	margin-top: 3rem;
}

.box-group {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}

.box-group5050 > div                   { width: calc(50% - 1.5rem); }
.box-group6040 > div:nth-of-type(odd)  { width: calc(60% - 1.5rem); }
.box-group6040 > div:nth-of-type(even) { width: calc(40% - 1.5rem); }
.box-group7030 > div:nth-of-type(odd)  { width: calc(70% - 1.5rem); }
.box-group7030 > div:nth-of-type(even) { width: calc(30% - 1.5rem); }
.box-group3070 > div:nth-of-type(odd)  { width: calc(30% - 1.5rem); }
.box-group3070 > div:nth-of-type(even) { width: calc(70% - 1.5rem); }

@media screen and (max-width: 650px), (max-device-width: 650px) {
  .box-group5050 > div                {	width: 100%;	}
  .box-group6040 > div:nth-of-type(n) {	width: 100%;	}
  .box-group7030 > div:nth-of-type(n) {	width: 100%;	}
  .box-group3070 > div:nth-of-type(n) {	width: 100%;	}
}

#footer * {color: #000;}

#footer  {
    padding: 1.75rem;
	background-color: #dadada;
	padding-bottom: 3rem;
}


#footer-in {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

#imprint {display: flex; flex-wrap: wrap; gap: 2rem;}

#imprint div {flex-grow: 1;}

@media screen and (max-width: 600px), (max-device-width: 600px) {
  #imprint div {width: 100%; text-align:center;}
}

#imprint div h3 {
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
}

#imprint * {
  line-height: 1.9;
}

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

.responsive-video {
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

/* Mitglied */
.mitglied-box {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.mitglied-box > div {
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	width: calc(33.3% - 0.66rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
}

@media screen and (max-width: 730px), (max-device-width: 730px) {
	.mitglied-box > div {
	width: calc(50% - 0.5rem);
}
}

.mitglied-box > div > div {
	text-align: center;
}

/* Team */
.team-box {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.team-box > div {
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	width: calc(25% - 0.75rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
}

@media screen and (max-width: 1020px), (max-device-width: 1020px) {
	.team-box > div {
	width: calc(33.3% - 0.66rem);
}
}

@media screen and (max-width: 730px), (max-device-width: 730px) {
	.team-box > div {
	width: calc(50% - 0.5rem);
}
}

@media screen and (max-width: 550px), (max-device-width: 550px) {
	.team-box > div {
	width: 100%;
}
}

.team-box > div > div {
	text-align: center;
	font-size: 1rem;
}

.team-box h2 {
	margin-bottom: 0;
	margin-top: 0;
}

/* Partner */
.partner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
    padding-top: 4rem;
}

.partner > div {
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: calc(20% - .8rem);
}

@media screen and (max-width: 1120px), (max-device-width: 1120px) {
.partner > div {
	width: calc(25% - .75rem);
}
}

@media screen and (max-width: 890px), (max-device-width: 890px) {
.partner > div {
	width: calc(33% - .66rem);
}
}

@media screen and (max-width: 680px), (max-device-width: 680px) {
.partner > div {
	width: calc(50% - 1rem);
}
}

.partner > div:hover {
	box-shadow: 0 0 5px rgba(0,0,0,0.7);
	background-color: var(--lightgray);
}

.partner > div .thumb {
	aspect-ratio: 1 / 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	background-color: #fff;
	border-bottom: 2px solid var(--middlegray);
}

.partner > div .thumb img {
	object-fit: contain;
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
}

.partner > div .title {
	padding: 1em;
	text-align: center;
}

.partner > div .title h2 {
	margin: 0;
	line-height: 1;
}

.partner > div .btn {

	text-align: center;
}





.notfallschild-box {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 2rem;
	margin: 2rem 0;
	justify-content: center;
	align-items: center;
}

.notfallschild-box > div:nth-child(1) {
	width: calc(30% - 1rem);
}

.notfallschild-box > div:nth-child(2) {
	width: calc(70% - 1rem);
}

.notfallschild-box > div img {
	width: 100%;
}


#accordionBox {
  margin: 4rem 0;
}

#accordionBox .accordion {
  background-color: var(--lightgray);
  color: #000;
  border-bottom: 1px solid #fff;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
}

#accordionBox .active,
#accordionBox .accordion:hover {
  background-color: var(--middlegray);
}

#accordionBox .accordion:after {
  content: '\002B';
  color: var(--maincolor);
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

#accordionBox .active:after {
  content: "\2212";
}


#accordionBox .panel {
  padding: 0 1rem;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

#accordionBox .panel > div {
  padding: 1rem 0;
}

#accordionBox .panel > div p {
  margin: 0 0 1rem 0;
}

#accordionBox .panel > div ul {
  margin: 1rem 0 1rem 1rem;
}

#accordionBox button {
  margin: 0;
}

/* ------------------------------------------------------------ */

.minigalerie {
  display: flex;
  flex-wrap: wrap;
  margin: 1em 0;
  gap: 10px;
}

.minigalerie > div  {
	width: calc(25% - 7.5px);
}

.minigalerie > div a {
  line-height: 0!important;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: auto;
}

.minigalerie > div img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------ */

table.termine {
  border: 1px solid #ccc;
	width: 100%;
}

table.termine tr th,
table.termine tr td  {
	border: 1px solid #ccc;
	padding: 0.75rem;
}

table.termine tr th  {
	font-weight: 600;
	background:#ccc;
	color: #000;
	text-align: left;
}

table.termine tr td:first-child {
	white-space: nowrap;
	
}

table.termine tr td:nth-of-type(1),
table.termine tr td:nth-of-type(3) {
	width: 25%;
}

table.termine tr td:last-child {
	white-space: nowrap;
}

table.termine tr:nth-of-type(odd) td {
	background-color: #f8f8f8;
}

table.termine td span {
	display: block;
	font-size: .9rem;
}

table.termine td a {
	display: block;
}

@media screen and (max-width:850px) {
	 table.termine {
		border: none;
	}

	table.termine tr th {
		display:none;
    visibility: hidden;
	}

	table.termine tr {
		width: 100%;
		margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
	}

	table.termine tr td {
		width: 100%;
  	}


	table.termine tr td:nth-of-type(1),
	table.termine tr td:nth-of-type(2),
	table.termine tr td:nth-of-type(3) {
	width: 100%;
}

	table.termine tr td:nth-of-type(1),
	table.termine tr td:nth-of-type(2) {
		border-bottom: none;
	}

	table.termine tr td:nth-of-type(2),
	table.termine tr td:nth-of-type(3) {
		border-top: none;
	}

}

/* ---------------------------- */
.box-ueber-uns {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.box-ueber-uns > div {
	width: calc(50% - 1rem);
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.termine-wochentag {
    margin: 3rem 0 0 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 10px 10px 0 0;
    background: rgba(212, 33, 28, 1);
}





