/* sofia-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/sofia-sans-v13-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/sofia-sans-v13-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* sofia-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/sofia-sans-v13-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/sofia-sans-v13-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* sofia-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/sofia-sans-v13-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/sofia-sans-v13-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* sofia-sans-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/sofia-sans-v13-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/sofia-sans-v13-latin-900.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


:root {
	--rot: rgb(170,0,0);
	--hellgrau: #ebebeb;
	--hellgrauT: rgba(0,0,0,0.1);
	--grau: #bbbbbb;

	--smallfontsize: 0.9rem;
	--normalfontsize: 1.35rem;
	--mediumfontsize: 2.1rem;
	--bigfontsize: 3.42rem;

font-family:'Sofia Sans',sans-serif;
	--bs-body-font-family:'Sofia Sans',sans-serif;
	--bs-body-font-size:var(--normalfontsize);
	--bs-body-line-height: 1.28;

	letter-spacing: 0.015rem;
	}

body {overflow-x:hidden;}

body::before {
	content:'';
	background:url(home.jpg);
	background-size:1280px auto;
	background-position:center top;
	background-repeat:no-repeat;
	position:absolute;
	top:0;
	width:100%;
	left:0;
	display:none;
	height:4107px;
	z-index:1000;
	opacity:0.3;
}

b,strong {color:var(--rot);}

p {margin-bottom:0.25rem;}

.row ul:last-child {
	margin-bottom:0;
}

h1,h2 {
	font-size:var(--bigfontsize);
	font-weight:900;
	text-transform:uppercase;
}
h3 {
	font-size:var(--normalfontsize);
	font-weight:900;
}

h3 .btn {
    font-size: var(--mediumfontsize);
    padding: 0 0.3rem;
    font-weight: 700;
    line-height: 2.9rem;
    letter-spacing: 0.15rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

a:not(.btn,.nav-link,.dropdown-item,.navbar-brand) {font-weight:900;color:var(--rot);text-decoration:none;position:relative;display:inline-block;}
a:not(.btn,.nav-link,.dropdown-item,.navbar-brand)::after {
    content: '';
    background: var(--rot);
    position: absolute;
    height: .3rem;
    width: 0;
    left: 0;
    bottom: -0.1rem;
    transition: width 0.3s;
    z-index: 12;
}
a:not(.btn,.nav-link,.dropdown-item,.navbar-brand):hover::after {
	width:100%;
}

a:not(.btn,.nav-link):has(svg) {color:var(--hellgrau);}
a:not(.btn,.nav-link):has(svg):hover {color:var(--rot);}
a:not(.btn,.nav-link):has(svg)::after {display:none;}

.columns {columns:2;column-gap: 3rem;}

/************************************/

.rot {
	background-color:var(--rot);
	color:white;
}

.rot p:last-child img {
    margin: -3rem;
    width: calc(100% + 6rem);
}

.rot strong,.rot a,.rot h1,.rot h2,.rot h3 {
	color:inherit!important;
}

.grau {
	background-color:var(--hellgrau);
	background-image:url(/file/maennlein_weiss.svg);
	background-size:auto 107%;
	background-repeat:no-repeat;
	background-position:right center;
}

.font-white h3,
.font-white p,
.font-white h2,
.font-white a {color:white;}

/************************************/

header::after {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:23rem;
	background:linear-gradient(white,transparent);
	content:'';
	z-index:1;
}

nav.navbar {
    position: absolute;
	width:100%;
    z-index: 2;
	--bs-navbar-color:black;
	--bs-navbar-hover-color:var(--rot);
	--bs-navbar-toggler-focus-width:0;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39.4 26.5' overflow='visible'%3e%3cline fill='none' stroke='%23AA0000' stroke-width='5' stroke-linecap='round' stroke-miterlimit='10' x1='36.9' y1='2.5' x2='2.5' y2='2.5'%3e%3c/line%3e%3cline fill='none' stroke='%23AA0000' stroke-width='5' stroke-linecap='round' stroke-miterlimit='10' x1='36.9' y1='13.3' x2='2.5' y2='13.3'%3e%3c/line%3e%3cline fill='none' stroke='%23AA0000' stroke-width='5' stroke-linecap='round' stroke-miterlimit='10' x1='36.9' y1='24' x2='2.5' y2='24'%3e%3c/line%3e%3c/svg%3e");
	--bs-navbar-active-color:var(--rot);
}
.navbar .container {
    align-items: flex-end;
    max-width: 1075px;
    padding: 0;
}

.navbar-brand {
	background-image:url('/file/logo.svg');
	background-size:contain;
	background-repeat:no-repeat;
	background-position:left bottom;
	width: 58%;
	height: 12.9rem;
	order: 2;
}

.navbar-expand-lg .navbar-nav {
    --bs-nav-link-padding-y: 0.32rem;
    margin-bottom: -0.4rem;
    flex-direction: column;
    font-size: inherit;
    line-height: 1rem;
    padding-left: 3.1rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
	position:relative;
	background:transparent;
	border:0;
	border-radius:0;
	padding:0 0 0 1.4rem;

	--bs-dropdown-item-padding-y:0.2rem;
	--bs-dropdown-item-padding-x:0.2rem;
	--bs-dropdown-link-hover-bg:transparent;
	--bs-dropdown-link-hover-color:var(--rot);

	--bs-dropdown-link-active-color: #fff;
	--bs-dropdown-link-active-bg: var(--rot);

	font-size:var(--smallfontsize);

	max-height: 0;
	overflow: hidden;
	z-index:10;
	transition: max-height 0.3s;
	display:block;
}

.navbar-expand-lg .navbar-nav .show .dropdown-menu,
/*.navbar-expand-lg .navbar-nav .dropdown-menu:has(.active),*/
.navbar-expand-lg .navbar-nav .dropdown .active + .dropdown-menu {
    display: block;
    max-height: 20rem;
}

.dropdown {
    position: static;
}

.dropdown-item {
    display: inline-block;
	width:auto;
}

.dropdown svg {
    cursor: pointer;
    width: 2.45rem;
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    z-index: 11;
}

.dropdown svg line {
	transition:transform 0.3s ease-in-out,stroke-width 0.35s ease-in-out;
}
.dropdown svg line:nth-child(2) {transition-delay:0.1s;}
.dropdown svg line:nth-child(3) {transition-delay:0.2s;}

.active + .dropdown-menu + svg line:nth-child(1),
/*.dropdown-menu:has(.active) + svg line:nth-child(1),*/
.dropdown.show svg line:nth-child(1) {
    transform: translate(143%,49%) scale(2.3) rotate(-90deg);
    stroke-width: 2.3;
}
.active + .dropdown-menu + svg line:nth-child(2),
/*.dropdown-menu:has(.active) + svg line:nth-child(2),*/
.dropdown.show svg line:nth-child(2) {
    transform: translate(79%,49%) scale(2.3) rotate(-90deg);
    stroke-width: 2.3;
}
.active + .dropdown-menu + svg line:nth-child(3),
/*.dropdown-menu:has(.active) + svg line:nth-child(3),*/
.dropdown.show svg line:nth-child(3) {
    transform: translate(17%,49%) scale(2.3) rotate(-90deg);
    stroke-width: 2.3;
}

.active + .dropdown-menu + svg:hover line:nth-child(1),
/*.dropdown-menu:has(.active) + svg:hover line:nth-child(1),*/
.dropdown.show svg:hover line:nth-child(1) {
    transform: translate(117%,-21%) scale(1.3) rotate(-90deg);
    stroke-width: 4.3;
}



.navbar-toggler {
    border: 0;
    padding: 0;
    order: 2;
	margin: 1rem auto;
	}


/************************************/

.btn {
	--bs-btn-font-size:inherit;
	--bs-btn-padding-x: 0;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #aa0000;
    --bs-btn-border-color: #aa0000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #aa0000;
    --bs-btn-hover-border-color: #aa0000;
	--bs-btn-active-bg: #aa0000;
	--bs-btn-active-border-color: #aa0000;
	position:relative;
	--bs-btn-border-radius:0;
	margin:0 0.7rem;
	transition:filter 0.3s,transform 0.3s;
}

.btn-primary:hover {
	transform:translateY(-0.5rem);
    filter: drop-shadow(0px .5rem 0px var(--hellgrauT));
}

.btn-primary::before,
.btn-primary::after {
    content: '';
    position: absolute;
    top: -1px;
    width: 1.9rem;
    height: calc(100% + 2px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.7 48.7'%3e%3cpath fill='%23aa0000' d='M16.7,48.7c-2.7,0-5.2-1.5-6.5-3.9L0.9,27.3c-1.2-2.2-1.2-4.9,0.1-7.1l9.2-16.4C11.5,1.4,14,0,16.7,0V48.7z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;	
    left: 0;
    transform: translateX(-100%);
}

.btn-primary::after {
    right: 0;
	left:auto;
    transform: rotate(180deg) translateX(-100%);
}


/***************************************/

.banner {
	background-size: cover;
}

.banner p {margin:0;}

.banner h2 {
    position: absolute;
    top: 50%;
    width: calc(100% - var(--bs-gutter-x));
    text-align: center;
    font-size: var(--bigfontsize);
    transform: translateY(-50%);
    color: white;
}
.banner h2 strong {color:var(--rot);}

.banner[fullwidth="1"] h2 {width:100%;}
.banner[fullwidth="1"] img {min-height: 17rem;}

.banner .btn.btn-primary {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(calc(-50% - 1.9rem / 2));
    white-space: nowrap;
	font-size:var(--smallfontsize);
}

.banner svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 111;
    width: 94%;
    left: 3%;
}

/***************/


.carousel-indicators {
    left: auto;
    margin-right: 2%;
    margin-left: auto;
}

.carousel-item {height:100vh;}
.col-lg-5 .carousel-item,
.col-lg-6 .carousel-item {height:100%;}

.carousel-item img {
    height: 100%;
    width: 100%;
}

/***************/


.form-check label {
    font-size: var(--smallfontsize);
    line-height: 1.2;
}

.form-check-input:checked {
    background-color: var(--rot);
    border-color: var(--rot);
}

.form-check-input {
	border:0;
    --bs-form-check-bg:var(--hellgrau);
}

form .btn.btn-primary {
    margin: 0.6rem auto 0 2.7rem;
    display: block;
}

.form-control {
	background:var(--hellgrau);
	border-radius:0;
	border:0;
}

.position-fixed {transition:transform 1s;}
.position-fixed:not(.show) {transform:translateX(100%);}

.position-fixed button.btn-close {
    transform: translateX(-100%);
}

textarea.form-control {
    min-height: calc(var(--lines) * 1.3rem);
}

/***************/

.leistungen {
    background: var(--rot);
    color: white;
    display: flex;
    flex-direction: column;
}

.leistungen h3 {
    padding: 2.9rem 2.3rem 0.3rem;
    text-transform: uppercase;
    font-weight: 900;
}

.leistungen p {
    padding: 0 2.3rem 2.8rem;
    flex-grow: 1;
    font-size: var(--smallfontsize);
    hyphens: auto;
    line-height: 1.4;
}

.leistungen ul {
    background: var(--hellgrau);
    color: black;
    list-style: none;
    padding: 0;
    flex-grow: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.leistungen li.active {
    background: white;
}
.leistungen li {
    padding: 1.7rem 2.3rem 1.5rem;
    border-top: 0.1rem solid var(--rot);
    overflow: hidden;
    padding-right: 20%;
	position:relative;
	transition:background 1s;
}
.leistungen li strong {
    font-size: var(--normalfontsize);
    text-transform: uppercase;
    display: block;
    margin: 0rem -25% 0 0;
    line-height: 1.1;
}

.leistungen li span {
    display: block;
    overflow: hidden;
    transition: height .4s;
    height: 0;
    font-size: var(--smallfontsize);
}

.leistungen li.active span {
    height: 5.5rem;
}

.leistungen li::after {
    content: '';
    cursor: pointer;
    position: absolute;
    top: 0;
    left: -30%;
    width: 130%;
    height: 100%;
    background: url(/file/doppelpfeil.svg);
    background-repeat: no-repeat;
    transition: left 0.4s,opacity 0.4s;
	opacity:0.5;
	z-index:1;
}
.leistungen li:hover::after {left: 0;}
.leistungen li.active::after {opacity:0;}
.leistungen li.active a::before {z-index:2;}

.leistungen li a {color:black;text-decoration:none;}

.leistungen li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.leistungen li a::after {display:none;}

.leistungen li.active::before {
    transform: translateX(0);
}
.leistungen li::before {
    content: '';
    background: url(/file/maennlein_grau.svg);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 78%;
    background-repeat: no-repeat;
    background-size: auto 65%;
    background-position: center;
    transform: translateX(100%);
    transition: transform 0.4s;
}



/***************/


#stoerer {
    position: fixed;
    bottom: 1rem;
    left: 0;
    background-image: url(/file/doppelpfeil.svg);
    background-repeat: no-repeat;
	background-position: 95% center;
	background-size: auto 18%;
    transform: translateX(calc(-100% + 4rem));
    width: 33%;
    z-index: 111;
    padding: 2rem 4rem 2rem 3rem;
    font-size: var(--smallfontsize);
    text-align: justify;
    min-width: 25rem;
	box-shadow: 0 0 0 white;
    transition: transform 1s ease-in-out,box-shadow 5s;
}
#stoerer:hover {
	transform:translateX(0);
	box-shadow: 0 0 32rem white;
	}



#stoerer svg {
    position: absolute;
    width: 5rem;
    top: 0;
    right: 0;
    transform: translate(0.9rem,-91%);
}

#stoerer svg #Arm {
    transform-origin: 65% 38%;
    transform: rotate(4deg);
	transition:transform 1s;
	animation-name: winken;
	animation-duration: 4s;
	animation-iteration-count: infinite;
}

@keyframes winken {
  0%   {transform: rotate(4deg);}
  10%  {transform: rotate(40deg);}
  20%  {transform: rotate(4deg);}
  30%  {transform: rotate(40deg);}
  40% {transform: rotate(0deg);}
  100% {transform: rotate(0deg);}
}
@keyframes notwinken {
  0%   {transform: rotate(4deg);}
  100%  {transform: rotate(102deg);}
}

#stoerer:hover svg #Arm {
	animation-name: notwinken;
	animation-duration: 2s;
	animation-iteration-count: 1;
	transform: rotate(102deg);
}

/***************/

.stufen.row {
    background: var(--hellgrau);
    margin: 5rem 0.5rem!important;
    --bs-gutter-x: 2.5rem!important;
    position: relative;
}

.stufen .col-lg-3 {
    position: static;
}

.stufen h1 {
    font-size: 16vw;
	cursor:pointer;
    text-align: center;
    color: white;
    line-height: .8;
    margin: 0;
	transition:color 0.3s;
}
.stufen .col-lg-3.active h1 {
    color: var(--rot);
}

.stufen .col-lg-3:not(.active) h4 {
    opacity:0.5;
}

.stufen h4 {
	font-size:var(--normalfontsize);
	font-weight:900;
    text-align: center;
    margin-bottom: 12rem;
	transition:color 0.3s;
}

.stufen .col-lg-3 p {
    position: absolute;
    width: calc(100% - var(--bs-gutter-x) * 2);
    left: calc(var(--bs-gutter-x));
	margin-top:-9rem;
	text-align:justify;
    background: var(--hellgrau);
    transition: opacity 0.3s;
	z-index:1;
}
.stufen .col-lg-3:not(.active) p {
    opacity: 0;
	z-index:0;
}

/***************/

.kernleistungen {
    position: relative;
    --bs-gutter-x: 8vw;
    --bs-gutter-y: 2rem;
    background: black;
    color: var(--grau);
    padding-bottom: 3rem;
	background-size:cover;
}

.kernleistungen h4 {
    color: var(--rot);
    font-weight: 900;
}

.kernleistungen h2 {
    color: white;
}

.kernleistungen img {
    object-fit: contain;
    height: 6rem;
}

/***************/

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


.round-img p.has_img {
    height: 0;
    position: relative;
    padding-bottom: 100%;
    margin: 2rem 0 4rem 0;
}

.round-img img {
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
	transition:border 0.3s;
}

.row .round-img a.has_img {
    position: static!important;
    display: inline!important;
}
.row .round-img a.has_img::after {display:none;}

.round-img a:hover img {border:0.2rem solid var(--rot);}

.round-img p.has_img::before {
    content: '';
    background: var(--hellgrau);
    height: calc(100% + 2rem);
    width: 999em;
    position: absolute;
    z-index: -1;
    border-radius: 14rem;
    top: -1rem;
}

.round-img:nth-child(even) p.has_img::before {left:-1rem;}
.round-img:nth-child(odd) p.has_img::before {right:-1rem;}

/***************/

.scroll-appear {opacity:1;transition:none;transform:none;}

.scroll-appear h2 {opacity:0;transition:opacity 1s 1s,transform 1s 1s;}
.appearLeft h2 {transform:translateX(-10%);}
.appearRight h2 {transform:translateX(10%);}
.appearZoom h2 {transform:scale(0.75);}

.scroll-appear.show h2 {opacity:1;transform:translateX(0);}

.banner.appearLeft h2 {transform:translateY(-50%) translateX(-10%);}
.banner.appearLeft.show h2 {opacity:1;transform:translateY(-50%) translateX(0);}



/***************/


footer {
    background: var(--rot);
    margin-top: 1rem;
    color: white;
    padding: 1.3rem 0 5rem 0;
}

footer a {
    color: inherit!important;
    font-weight: 400!important;
}
footer a::after {
    background: white!important;
}

/***************/

.container {
	max-width:1042px;
	--bs-gutter-x:5rem;
	padding:0;
}

.row {
	--bs-gutter-x: inherit;
	--bs-gutter-y: inherit;
    margin:0;
}


.py-5 {
    padding-top: 4.4rem!important;
    padding-bottom: 4.4rem!important;
}



/***************/

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

.mx-m50p {
	margin:0 calc(-3/12 * 100%);
}


}

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

:root {
    --bigfontsize: 2.7rem;
}


}

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

	/*.columns {columns:2;}*/


.navbar-nav {
	--bs-nav-link-padding-x:0.25rem;
    --bs-nav-link-color: white;
    --bs-nav-link-hover-color: var(--rot);
	--bs-navbar-active-color: var(--rot);
}

.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link {
    background: var(--rot);
	color:white;
}

.navbar-collapse {
    order: 3;
}
.navbar-expand-lg .navbar-nav {
    padding: 1rem 3rem;
    background: black;
	}
.navbar-brand {
    width: 100%;
    order: 1;
	height: 7rem;
	margin-top:1rem;
	background-position:center;
	}

.dropdown-menu {
--bs-dropdown-link-color: white;
--bs-dropdown-link-hover-color: var(--rot);
--bs-dropdown-link-hover-bg: transparent;
}

.dropdown svg {display:none;}

.navbar-expand-lg .navbar-nav .dropdown-menu {
	max-height:99rem;
	padding:0 0 0 1rem;
	border-radius: 0;
}
.dropdown-item {white-space:normal;}


.stufen.row {
    margin: 0rem 0rem 4rem 0!important;
}

.stufen h4 {
    margin-bottom: 1rem;
}

.stufen .col-lg-3 p {
    position: static;
    width: auto;
	margin-top:0rem;
	margin-bottom:2rem;
}



}

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

:root {
	--mediumfontsize:1.5rem;
    --bigfontsize: 2rem;
}

#stoerer {
    position: absolute;
    bottom: 0;
    background-position: 98% center;
    background-size: auto 11%;
    transform: translateX(calc(-100% + 1.3rem));
}


header::after {
	height:10rem;
}

.columns {columns:1;}


.navbar-brand {
height: 4.5rem;
margin:.5rem 2rem 0;
}

.leistungen li::before {
    background-size: 95% auto;
}

.round-img {
	font-size:var(--smallfontsize);
}

.round-img h3 {
    hyphens: auto;
    -webkit-hyphens: auto;
}



}

@media screen and (max-width: 300px) {
	.leistungen li.active span {
	    height: 7.5rem;
	}
}