@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-Black.woff2') format('woff2'),
        url('../fonts/SourceSans3-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}
html {
  font-size: 90%; 
}
body {
    background: #fcfcfb;
}
.pagewrap {
	float:left;
	width:100%;
	height:100vh;
	position:relative;
	background:#fcfcfb;
}

.wrapper_max {
	max-width:100%;
	height:auto;
	margin:0 auto;
	padding:0 0px;
	position:relative;
	overflow:hidden;
}
.wrapper_100 {
	max-width:100%;
	height:auto;
	margin:0 auto;
	padding:0 10%;
	position:relative;
	overflow:hidden;
}
.wrapper_80 {
	max-width:100%;
	height:auto;
	margin:0 auto;
	padding:0 17%;
	position:relative;
	overflow:hidden;
}
.wrapper1200 {
	max-width:100%;
	height:auto;
	margin:0 auto;
    padding: 0 25px;
}
.wrapper1400 {
	max-width:100%;
	height:auto;
	margin:0 auto;
    padding: 0 25px;
}
.wrapper1500 {
	max-width:100%;
	height:auto;
	margin:0 auto;
    padding: 0 25px;
}
.wrapper1600 {
	max-width:100%;
	height:auto;
	margin:0 auto;
    position: relative;
    padding: 0 25px;
}
.logo_fest {
    position: absolute;
    left: 25px;
    top: 25px;
    width: 150px;
    height: 88px;
    z-index: 9999;
}
.menu_fest {
    position: absolute;
    right: 25px;
    top: 64px;
    width: 100px;
    height: 40px;
    z-index: 9999;
    font-size: 22px;
    text-align: right;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #d22a2f;
    text-transform: uppercase;
}
.menu_fest a {
    color: #d22a2f;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}
.menu_fest a:hover {
    color: #727777;
}
.intro {
    float: left;
    width: 100%;
    height: 80vh;
    margin: 0;
    padding: 0;
    position: relative;
    background: #fcfcfb;
    perspective: 0;
    overflow: hidden;
}
.intro .logo {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 70vw;
    aspect-ratio: 1 / 1;
    background: #561c15;
    transform: translate(-50%,-50%);
    opacity: 0.95;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    text-align: center;
}
.intro .logo:hover {
    opacity: 0.92;
}
.intro .logo .logobild {
    position: absolute;
    max-width: 68%;
    max-height: 68%;
    width: auto;
    height: auto;
    opacity: 0;
    animation: logobild_ani 6s linear;
}
.intro .logo .logoslogan {
    position: absolute;
    max-width: 68%;
    max-height: 68%;
    width: auto;
    height: auto;
    opacity: 1;
    animation: logoslogan_ani 6s linear;
}
.intro .logo .logobild_neu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 68%;
    height: auto;
    opacity: 0;
    animation: logobild_ani_neu 6s linear;
}
.intro .logo .logoslogan_neu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 68%;
    height: auto;
    opacity: 1;
    animation: logoslogan_ani_neu 6s linear;
}

.intro .bg-img {
    position: absolute;
    top: 55%;
    left: 50%;
    object-fit: cover;
    z-index: 1; /* Standardmäßig im Hintergrund */
    transition: z-index 0s, opacity 0.5s ease; /* Sanfter Übergang beim Wechsel */
    opacity: 1;
}

/* NEU: Das Bild, das gerade im Vordergrund sein soll */
.intro .bg-img.active {
    z-index: 10; /* Höher als die anderen Bilder, aber niedriger als das Logo (999) */
    opacity: 1;  /* Voll sichtbar, wenn im Vordergrund */
}
.intro .bg-img:nth-child(2) { width: 72vw; aspect-ratio: 1 / 0.9; transform: translate(-86%,-30%) translateZ(0px); }
.intro .bg-img:nth-child(3) { width: 55vw; aspect-ratio: 1 / 1.33; transform: translate(-5%,-30%) translateZ(0px); }
.intro .bg-img:nth-child(4) { width: 71vw; aspect-ratio: 1 / 0.9; transform: translate(-53%,-52%) translateZ(0px); }
.intro .bg-img:nth-child(5) { width: 50vw; aspect-ratio: 1 / 1.35; transform: translate(-92%,-22%) translateZ(0px); }
.intro .bg-img:nth-child(6) { width: 50vw; aspect-ratio: 1 / 1.33; transform: translate(-35%,-17%) translateZ(0px); }
.intro .bg-img:nth-child(7) { width: 78vw; aspect-ratio: 1 / 0.9; transform: translate(-10%,-38%) translateZ(0px); }
.intro .bg-img:nth-child(8) { width: 52vw; aspect-ratio: 1 / 1.1; transform: translate(-7%,-8%) translateZ(0px); }
.intro .bg-img:nth-child(9) { width: 79vw; aspect-ratio: 1 / 0.65; transform: translate(-50%,-85%) translateZ(0px); }
.intro .bg-img:nth-child(10) { width: 55vw; aspect-ratio: 1 / 1; transform: translate(-10%,-70%) translateZ(0px); }

.content {
    float: left;
    width: 100%;
    height: auto;
    margin: 0px 0 0 0;
    position: relative;
    background: #E4DDCF;
    background: linear-gradient(0deg, rgba(228, 221, 207, 1) 0%, rgba(217, 209, 191, 1) 100%);
    padding: 0px 0;
}
.start_text {
    float: left;
    width: 100%;
    height: auto;
    margin: 45px 0 200px 0;
    color: #727777;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    font-size: 1.45rem;
    line-height: 1.85rem;
}

.content_b {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0px 0;
    background: #e6e4e0;
    position: relative;
}
.content_c {
    float: left;
    width: 100%;
    height: auto;
    margin: 0px 0 0 0;
    position: relative;
    background: #E4DDCF;
    background: linear-gradient(0deg, rgba(228, 221, 207, 1) 0%, rgba(217, 209, 191, 1) 100%);
    padding: 80px 0 220px 0;
}

.leistungsbereich {
    float: left;
    width: 100%;
    height: auto;
}
.leistungsbereich .box {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}
.leistungen_bilda {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    transform: translate(0,-150px);
}
.leistungsbilda {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 0 0 0 0;
    opacity: 1;
    padding: 0;
    animation: lba_ani 5s infinite linear;
}
.leistungsbilda_switch {
    display: block;
    width: 100%;
    height: 0px;
    object-fit: cover;
    margin: 0 0 0 0;
    opacity: 0;
    animation: lbas_ani 5s infinite linear;
}
.leistungen_bilda_text {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
    padding-left: 0px;
    margin: 12px 0 0 0;
}
.leistungen_box_bilda {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}
.leistungen_box_bilda img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-back {
  z-index: 1;
}
.img-front {
  z-index: 2;
  opacity: 0;
  animation: imageFade 6s ease-in-out infinite;
  animation-delay: var(--delay);
}



.leistungen_bildb {
    float: left;
    width: 100%;
    height: auto;
    text-align: left;
    font-size: 1.2rem;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    transform: translate(0,-100px);
}
.leistungsbildb {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: 0% 50%;
    margin: 0 0 0 0;
    animation: lbb_ani 5s infinite linear;
}
.leistungsbildb_switch {
    display: block;
    width: 100%;
    height: 0px;
    object-fit: cover;
    margin: 0 0 0 0;
    opacity: 0;
    animation: lbbs_ani 5s infinite linear;
}
.leistungen_box_bildb {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 380px;
}
.leistungen_box_bildb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.leistungen_bildb_text {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
    padding-left: 0px;
    margin: 12px 0 0 0;
}

.leistungen_bildc {
    float: left;
    width: 100%;
    height: auto;
    transform: translate(0px,-50px);
    text-align: left;
    font-size: 1.2rem;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    margin: 0 0 30px 0;
}
.leistungsbildc {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: 60% 50%;
    margin: 0 0 0 0;
    animation: lbc_ani 5s infinite linear;
}
.leistungsbildc_switch {
    display: block;
    width: 100%;
    height: 0px;
    object-fit: cover;
    margin: 0 0 0 0;
    opacity: 0;
    animation: lbcs_ani 5s infinite linear;
}
.leistungen_box_bildc {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 440px;
}
.leistungen_box_bildc img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leistungen_bildc_text {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
    padding-left: 0px;
    margin: 12px 0 0 0;
}
.leistungen_bildd {
    float: right;
    width: 100%;
    height: auto;
    transform: translate(0px,-80px);
    text-align: center;
    font-size: 1.4rem;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
}

.end_text {
    float: left;
    width: 100%;
    height: auto;
    margin: 0px 0% 0px 0;
    color: #727777;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    font-size: 1.45rem;
    line-height: 1.85rem;
}
.end_text a {
    text-decoration: underline;
    outline: none;
    color: #727777;
    transition: all 0.3s ease;
}
.end_text a:hover {
    text-decoration: underline;
    color: #000000;
    cursor: pointer;
}

.logo_fest_unten {
    position: absolute;
    left: 25px;
    bottom: 85px;
    width: 150px;
    height: 88px;
    z-index: 9999;
}
.menu_fest_unten {
    position: absolute;
    right: 25px;
    bottom: 85px;
    width: 120px;
    height: 50px;
    z-index: 9999;
    font-size: 22px;
    text-align: right;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #d22a2f;
    text-transform: uppercase;
}
.menu_fest_unten a {
    color: #d22a2f;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}
.menu_fest_unten a:hover {
    color: #727777;
}
.footer {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    font-size: 15px;
    text-align: right;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    background: #E4DDCF;
    padding: 0px 25px 70px 25px;
}
.footer a {
    outline: none;
    text-decoration: none;
    color: #727777;
}
.footer a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.wrapper_kontakt {
	max-width:100%;
	height:auto;
	margin:0 auto;
    padding: 0 25px;
}
.kontakt_start {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 165px 0 40px 0;
    background: #fdfdfd;
    position: relative;
}
.kontakt_content_a {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0px 0 0 0;
    background: #D9D1BF;
    position: relative;
}
.kontakt_content_b {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0px 0 70px 0;
    background: #E4DDCF;
    background: linear-gradient(0deg, rgba(228, 221, 207, 1) 0%, rgba(217, 209, 191, 1) 100%);
    position: relative;
}
.kontakt_content_c {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 60px 0 50px 0;
    background: #f6f5f4;
    position: relative;
}
.kontakt_start_text {
    float: left;
    width: 100%;
    height: auto;
    margin: 0px 0% 0px 0;
    color: #727777;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    font-size: 1.45rem;
    line-height: 1.85rem;
}
.kontakt_start_text a {
    text-decoration: underline;
    outline: none;
    color: #727777;
    transition: all 0.3s ease;
}
.kontakt_start_text a:hover {
    cursor: pointer;
    color: #000000;
}
.kontakt_bild {
    float: left;
    width: 100%;
    height: auto;
    transform: translate(0px,0px);
    text-align: left;
    font-size: 0.65rem;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    margin: 30px 0 30px 0;
    z-index: 999;
}
.imgkontakt {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: 50% 50%;
    margin: 0 0 0 0;
    padding: 0;
}

.kontakt_start_text p {
    margin: 0 0 24px 0;
}
.footer_kontakt {
    float: left;
    width: 100%;
    height: auto;
    position: relative;
    background: #E4DDCF;
    background: linear-gradient(0deg, rgba(228, 221, 207, 1) 0%, rgba(217, 209, 191, 1) 100%);
    margin: 0;
    color: #727777;
    padding: 40px 0 30px 0;
}
.footer_kontakt a {
    text-decoration: underline;
    outline: none;
    cursor: pointer;
    color: #727777;
    transition: all 0.3s ease;
}
.footer_kontakt a:hover {
    color: #000000;
    cursor: pointer;
}
.logo_fest_unten_kontakt {
    float: left;
    width: 150px;
    height: 88px;
    margin: 5px 10px 0 25px;
}
.menu_fest_unten_kontakt {
    float: right;
    width: 205px;
    height: 50px;
    font-size: 28px;
    text-align: right;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #d22a2f;
    text-transform: uppercase;
    margin: 25px 25px 0 10px;
}
.menu_fest_unten_kontakt a {
    color: #d22a2f;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}
.menu_fest_unten_kontakt a:hover {
    color: #727777;
}
.wrapper_kontakt_innen {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
}
.kontakt_innen_block_a {
    float: left;
    width: 100%;
    height: auto;
    margin: 45px 0% 0 0;
    font-size: 20px;
    line-height: 30px;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
}
.kontakt_innen_block_b {
    float: left;
    width: 100%;
    height: auto;
    margin: 22px 0 0 0;
    font-size: 20px;
    line-height: 30px;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
}
.rechtliches {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 170px 0 70px 0;
    font-family: 'Source Sans 3';
    font-weight: 600;
    font-style: normal;
    color: #727777;
    hyphens: auto;
}
.rechtliches h1 {
    margin: 0 0 28px 0;
    color: #d22a2f;
    font-size: 24px;
}
.rechtliches h2 {
    margin: 40px 0 4px 0;
    color: #d22a2f;
    font-size: 20px;
}
.rechtliches h3 {
    margin: 16px 0 4px 0;
    color: #000000;
    font-size: 17px;
    line-height: 24px;
}
.rechtliches h4 {
    margin: 16px 0 4px 0;
    color: #d22a2f;
    font-size: 17px;
    line-height: 24px;
}
.rechtliches p {
    margin: 0 0 22px 0;
    font-size: 15px;
    line-height: 22px;
}
.rechtliches ul {
    margin: 0 0 22px 0;
    font-size: 15px;
    line-height: 22px;
    list-style: none;
}
.rechtliches ul li {
    list-style: outside disc;
    width: calc(100% - 16px);
    margin: 0 0 10px 16px;
}
.rechtliches a {
    text-decoration: underline;
    color: #727777;
    outline: none;
}
.rechtliches a:hover {
    cursor: pointer;
    color: #000000;
}

@keyframes lba_ani {
  0% {
    height: 400px; opacity: 1;
  }
  49.9% {
    height: 400px; opacity: 1;
  }
  50% {
    height: 0px; opacity: 0;
  }
  100% {
    height: 0px; opacity: 0;
  }
}
@keyframes lbas_ani {
  0% {
    height: 0px; opacity: 0;
  }
  49.9% {
    height: 0px; opacity: 0;
  }
  50% {
    height: 400px; opacity: 1;
  }
  100% {
    height: 400px; opacity: 1;
  }
}





@keyframes lbb_ani {
  0% {
    height: 380px; opacity: 1;
  }
  49.9% {
    height: 380px; opacity: 1;
  }
  50% {
    height: 0px; opacity: 0;
  }
  100% {
    height: 0px; opacity: 0;
  }
}
@keyframes lbbs_ani {
  0% {
    height: 0px; opacity: 0;
  }
  49.9% {
    height: 0px; opacity: 0;
  }
  50% {
    height: 380px; opacity: 1;
  }
  100% {
    height: 380px; opacity: 1;
  }
}


@keyframes lbc_ani {
  0% {
    height: 440px; opacity: 1;
  }
  49.9% {
    height: 440px; opacity: 1;
  }
  50% {
    height: 0px; opacity: 0;
  }
  100% {
    height: 0px; opacity: 0;
  }
}
@keyframes lbcs_ani {
  0% {
    height: 0px; opacity: 0;
  }
  49.9% {
    height: 0px; opacity: 0;
  }
  50% {
    height: 440px; opacity: 1;
  }
  100% {
    height: 440px; opacity: 1;
  }
}

@keyframes logobild_ani {
  0% {
    max-height: 68%; opacity: 1;
  }
  49.9% {
    max-height: 68%; opacity: 1;
  }
  50% {
    max-height: 0%; opacity: 0;
  }
  100% {
    max-height: 0%; opacity: 0;
  }
}
@keyframes logoslogan_ani {
  0% {
    max-height: 0%; opacity: 0;
  }
  49.9% {
    max-height: 0%; opacity: 0;
  }
  70% {
    max-height: 68%; opacity: 1;
  }
  100% {
    max-height: 68%; opacity: 1;
  }
}

@keyframes logobild_ani_neu {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes logoslogan_ani_neu {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes imageFade {
  0%, 35%, 100% {
    opacity: 0;
  }
  45%, 85% {
    opacity: 1;
  }
}
