@font-face {
	font-family: 'Lato_Bold';
	font-style: normal;
	src: url(fonts/Lato-Bold.woff2) format('woff2');
}

@font-face {
	font-family: 'Lato_Regular';
	font-style: normal;
	src: url(fonts/Lato-Regular.woff2) format('woff2');
}

@font-face {
	font-family: 'boldfont';
	font-style: normal;
	src: url(fonts/boldfont.woff2) format('woff2');
}

body {
	margin: 0;
	font-family: 'Lato_Regular';
	font-size: 1vw;
}

header {
	text-align: center;
}

#startseite_logo {
	position: absolute;
	top: 1vw;
	left: 1vw;
	width: 10vw;
	z-index: 5;
	display: none;
}

#banner {
	width: 100%;
	display: block;
	-webkit-box-shadow: 0px 4px 11px -1px #000000;
	box-shadow: 0px 4px 11px -1px #000000;
}

#banner-slider {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
}


.whitebar {
	/*background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.74) 50%, rgba(0, 0, 0, 0) 100%);*/
	background: #00000065;
	width: 100%;
	height: 8vw;
	position: absolute;
	top: 38vw;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1vw;
}

.maincontainer {
	margin: 0 10vw 0 10vw;
}

h1 {
	font-family: 'Lato_Bold';
	font-size: 4vw;
}

h2 {
	font-size: 3rem;
	font-family: 'Lato_Bold';
	margin: 0;
}

h3 {
	font-size: 2rem;
	font-family: 'Lato_Regular';
}

.container_sgb h2 {
	color: white;
}

#leistungen {
	color: white;
}


/*FOOTER*/
footer {
	width: 100%;
	margin: 10vw 0 0 0;
	padding: 0;
	border: 0;
}

.footer-main {
	background: linear-gradient(16deg, rgba(209, 209, 209, 1) 0%, rgba(125, 125, 125, 1) 100%);
	padding: 20px 0;
}

#instalogo {
	width: 2vw;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 80%;
	margin: 0 auto;
}

.logo img {
	height: 8vw;
}

.link-container {
	display: flex;
	flex-direction: column;
}

.link-container a {
	margin: 5px 0;
	color: #8a0008;
}

#copyright_bar {
	background-color: #8a0008;
	color: white;
	text-align: center;
	padding: 10px 0;
}


.navitem {
	position: relative;
	display: inline-block;
	width: 9vw;
	padding: 2vw;
	overflow: hidden;
	text-align: center;
	transition: transform 0.2s ease, filter 0.2s ease;
	text-decoration: none;
}

.navitem:hover {
	transform: scale(1.03);
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.navpic {
	width: 60%;
	padding-top: 1.1vw;
	margin-bottom: -1.1vw;
}

.navitem p {
	text-decoration: none;
	color: white;
}

.outer-bar {
	margin-top: 10vw;
	margin-bottom: 10vw;
	background: linear-gradient(134deg, rgba(125, 125, 125, 1) 41%, rgba(224, 224, 224, 1) 100%);
	width: 100%;
	display: flex;
	justify-content: center;
}

.inner-bar {
	color: white;
	padding-left: 5vw;
	width: 50%;
	overflow-y: auto;
}

#leistungen {
	margin-top: 3vw;
}

.leistungen h3 {
	cursor: pointer;
	margin: 1vw 0;
	font-size: 1.2vw;
	color: #ffffffad;
	transition: all 0.3s ease;
}

.leistungen h3:hover {
	color: #ffffff;
}

.leistungen h3.active {
	color: #ffffff;
	font-size: 1.5vw;
	font-weight: bold;
}

.bildbereich {
	width: 50%;
	height: 32vw;
	display: flex;
	justify-content: center;
	align-items: center;
}

@keyframes slideOutLeft {
	0% {
		opacity: 1;
		transform: translateX(0);
	}

	100% {
		opacity: 0;
		transform: translateX(-100%);
	}
}

@keyframes slideInRight {
	0% {
		opacity: 0;
		transform: translateX(100%);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.bildbereich img {
	max-width: 70%;
	max-height: 70%;
	object-fit: contain;
	border-radius: 8px;
	transition: opacity 0.3s ease;
}

img.animate-out {
	animation: slideOutLeft 0.4s forwards;
}

img.animate-in {
	animation: slideInRight 0.4s forwards;
}



#leistungsbeschreibung {
	width: 80%;
}

#navbar {
	width: 100%;
	height: 5rem;
	/*background: #8a0008;*/
	background: linear-gradient(134deg, rgba(173, 173, 173, 1) 0%, rgba(224, 224, 224, 1) 50%, rgba(125, 125, 125, 1) 78%);
	position: fixed;
	top: 0;
	z-index: 10;
	/*top: -5rem;*/
	transition: .6s;
	-webkit-box-shadow: 0px 4px 11px -1px #000000;
	box-shadow: 0px 4px 11px -1px #0000006c;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
}

#logonavbar {
	height: 100%;
}

#navbar-links {
	font-size: 1.2rem;
	list-style: none;
	margin: 0;
	padding-right: 5rem;
	display: flex;
	gap: 2rem;
}

#navbar-links li {
	display: inline;
}

#navbar-links a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	transition: color 0.3s;
}

#navbar-links a:hover {
	color: #8a0008;
}

.foto-container {
	display: flex;
	gap: 20px;
	/* Abstand zwischen den Bildern */
}

.foto-container img {
	width: 300px;
	/* Breite der Bilder */
	height: auto;
	/* Proportionale Höhe */
	border-radius: 10px;
	/* Abgerundete Ecken */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	/* Schatteneffekt */
}

#fotosection {
	margin-bottom: 10vw;
}

.container {
	max-width: 1044px;
	margin: 0 auto;
	padding: 0 20px;
}

.carousel {
	display: block;
	text-align: left;
	position: relative;
	margin-bottom: 22px;

	>input {
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		width: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;

		&:nth-of-type(6):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: -500%;
		}

		&:nth-of-type(5):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: -400%;
		}

		&:nth-of-type(4):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: -300%;
		}

		&:nth-of-type(3):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: -200%;
		}

		&:nth-of-type(2):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: -100%;
		}

		&:nth-of-type(1):checked~.carousel__slides .carousel__slide:first-of-type {
			margin-left: 0%;
		}

		&:nth-of-type(1):checked~.carousel__thumbnails li:nth-of-type(1) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}

		&:nth-of-type(2):checked~.carousel__thumbnails li:nth-of-type(2) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}

		&:nth-of-type(3):checked~.carousel__thumbnails li:nth-of-type(3) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}

		&:nth-of-type(4):checked~.carousel__thumbnails li:nth-of-type(4) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}

		&:nth-of-type(5):checked~.carousel__thumbnails li:nth-of-type(5) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}

		&:nth-of-type(6):checked~.carousel__thumbnails li:nth-of-type(6) {
			box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
		}
	}
}

.carousel__slides {
	position: relative;
	z-index: 1;
	padding: 0;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
	display: flex;
}

.carousel__slide {
	position: relative;
	display: block;
	flex: 1 0 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	transition: all 300ms ease-out;
	box-sizing: border-box;
	white-space: normal;

	figure {
		display: flex;
		margin: 0;
	}

	img {
		display: block;
		flex: 1 1 auto;
		object-fit: cover;
		border-radius: 15px;
	}

	figcaption {
		align-self: flex-end;
		padding: 20px 20px 0 20px;
		flex: 0 0 auto;
		width: 25%;
		min-width: 150px;
	}

	.credit {
		margin-top: 1rem;
		color: rgba(0, 0, 0, 0.5);
		display: block;
	}

	&.scrollable {
		overflow-y: scroll;
	}
}

.carousel__thumbnails {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	margin: 0 -10px;

	.carousel__slides+& {
		margin-top: 20px;
	}

	li {
		flex: 1 1 auto;
		max-width: calc((100% / 6) - 20px);
		margin: 0 10px;
		transition: all 300ms ease-in-out;
	}

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.reviews-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-bottom: 10vw;
}

.review {
	display: block;
	width: 30vw;
	overflow: hidden;
	border: 2px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	/* verhindert Dragging */
	user-select: none;
	/* verhindert Dragging in modernen Browsern */
}

.review:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-wrapper {
	display: flex;
	/* Flexbox-Layout für nebeneinanderliegende Elemente */
	gap: 20px;
	/* Abstand zwischen Formular und Kontaktinfos */
	align-items: flex-start;
	justify-content: space-between;
	/* Elemente mit Abstand zwischen den Enden */
}

form {
	flex: 2;
	/* Formular nimmt zwei Drittel des verfügbaren Platzes ein */
	max-width: 600px;
	border-radius: 8px;
}

#kontaktinfos {
	padding: 20px;
	border-radius: 8px;
	background-color: #00000023;
	margin-right: -10vw;
	padding-right: 20vw;
	margin-top: 5vw;
}

#kontaktinfos img {
	display: block;
	/* Bilder untereinander anzeigen */
	margin-bottom: 10px;
	/* Abstand zum folgenden Text */
	margin-right: 2vw;
	width: 4vw;
}

#kontaktinfos p {
	margin: 0 0 20px;
	/* Absatzabstand */
	color: #555;
	font-size: 0.9rem;
}

.singleinfo {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.singleinfo_p {
	display: flex;
	flex-direction: column;
	margin-bottom: 1vw;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	color: #555;
	font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	border: none;
	border-bottom: 2px solid #8a0008;
	outline: none;
	padding: 8px 0px;
	font-size: 1rem;
	background: none;
	color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
	border-bottom-color: #8a0008;
}

.form-row {
	display: flex;
	gap: 10px;
}

.form-row .form-group {
	flex: 1;
}

select {
	width: 40%;
	/* Die Breite anpassen, damit es sich an den Container anpasst */
	padding: 10px 15px;
	/* Innenabstand für besseren Abstand zum Text */
	font-size: 16px;
	/* Schriftgröße */
	font-family: 'Arial', sans-serif;
	/* Eine saubere Schriftart */
	border: 2px solid #8a0008;
	/* Ein grauer Rand */
	border-radius: 5px;
	/* Abgerundete Ecken */
	background-color: #f9f9f9;
	/* Helles Hintergrundfarbe */
	color: #333;
	/* Dunkle Textfarbe */
	transition: border 0.3s ease;
	/* Übergangseffekt für den Rand */
}

.form-row select:focus {
	border-color: #007BFF;
	/* Hellerer Rand bei Fokus */
	outline: none;
	/* Entfernt den Standard-Fokus-Rand */
	background-color: #fff;
	/* Hintergrundfarbe ändern */
}

.form-group textarea {
	resize: none;
	height: 50px;
}

.form-group input[type="file"] {
	padding: 5px 0;
}

.form-group .required::after {
	content: " *";
	color: #8a0008;
}

.sendbutton {
	background: #8a0008;
	color: #fff;
	border: none;
	padding: 10px 15px;
	font-size: 1rem;
	cursor: pointer;
	border-radius: 5px;
	transition: background 0.3s;
	width: 100%;
}

.sendbutton:hover {
	background: #a02f34;
}

.hint {
	font-size: 0.8rem;
	color: #aaa;
}

/*BANNER*/
.bannershow {
	position: relative;
	top: 5rem;
	width: 100%;
	height: 45vw;
	/* Höhe begrenzen (zuschneiden) */
	overflow: hidden;
	box-shadow: 0px 4px 11px -1px #000000;
}

.showpic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.showpic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* füllt komplett aus und schneidet überstehendes */
}

.showpic.active {
	opacity: 1;
	z-index: 0;
}














.linksasbutton {
	background-color: #8a0008;
	color: white;
	padding: 1.2rem;
	border-radius: 10px;
	text-decoration: none;
	border: none;
}


.textbild-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 14vh 10vw;
	gap: 2vw;
	flex-wrap: wrap;
	/* für kleinere Bildschirme */
}

.textbody,
.textbodyright {
	width: 50%;
	text-align: left;
}

.bildrechts,
.bildlinks {
	width: 40%;
}

.bildlinks1 {
	display: none;
}

.bildrechts img,
.bildlinks img,
.bildlinks1 img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.standardtextbody p,
.textbodyright p,
.textbody p {
	font-size: 1.2vw;
}

.standardtextbody {
	width: 50%;
	margin-left: 10vw;
	margin-top: 10vw;
	text-align: left;
}

.bild-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bildbereich img {
	max-width: 70%;
	max-height: 70%;
	object-fit: contain;
	border-radius: 8px;
}

.bildbereich {
	width: 50%;
	height: 32vw;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 1vw;
	box-sizing: border-box;
	position: relative;
	/* Hinzugefügt */
}

.beschreibung {
	margin-top: 1vw;
	color: white;
	font-size: 1.2vw;
	text-align: center;
	max-width: 80%;

	position: absolute;
	/* Wichtig */
	bottom: 1vw;
	/* Abstand zum unteren Rand */
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1.2vw;
	text-align: center;
	max-width: 80%;
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

@keyframes slideInFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-200px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

#startinfo {
	position: absolute;
	top: 8vw;
	left: 8vw;
	z-index: 1;
	font-family: 'boldfont';
	opacity: 0;
	animation: slideInFromLeft 1.4s ease-out forwards;
}


.top {
	margin-top: -1.8vw !important;
	font-size: 5.85vw;
	font-weight: bold;
	color: white;
	margin: 0;
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.bottom {
	margin-top: -2.0vw !important;
	font-size: 8vw;
	font-weight: bold;
	color: transparent;
	-webkit-text-stroke: 3px white;
	margin: 0;
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.slider {
	background: #fff;
	overflow: hidden;
	position: relative;
	width: 80%;
	padding: 2vw 0;
	margin-left: 10%;
}

.slider::before,
.slider::after {
	content: "";
	position: absolute;
	width: 5vw;
	height: 100%;
	z-index: 2;
	top: 0;
	pointer-events: none;
}

.slider::before {
	left: 0;
	background: linear-gradient(to right, white 0%, transparent 100%);
}

.slider::after {
	right: 0;
	background: linear-gradient(to left, white 0%, transparent 100%);
}

.slide-track {
	display: flex;
	width: max-content;
	animation: scroll 70s linear infinite;
}

.slide {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 1vw;
}
#unserteam_h2 {
	position: relative;
	z-index: 5;
  font-size: 13vw; /* schön groß */
  text-align: center;
  opacity: 0;
  transform: translateY(-50%);
  animation: fadeInSlide 2s ease-out forwards;
  margin-top: 100px; /* Abstand von oben */
  color: white;
  	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
	margin-bottom: 30vw;
}

@keyframes fadeInSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-img {
	height: auto;
	width: auto;
	max-height: 200px;
	/* optional, falls Bilder zu groß sind */
	display: block;
	box-shadow: 0px 4px 11px -1px #949494;
	border-radius: 10px;
}
.review-img-main {
	width: 50%;
	/* optional, falls Bilder zu groß sind */
	display: block;
	box-shadow: 0px 4px 11px -1px #949494 !important;
	border-radius: 10px;
	margin: 1%;
}

.bildbereich {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Bild zentrieren */
	gap: .5rem;
}

.bildbereich img {
	max-width: 100%;
	height: auto;
	transition: opacity .4s ease;
}

.arrow {
	color: white;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 3rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0 .25em;
	user-select: none;
	line-height: 1;
	transition: .3s;
}

.arrow.left {
	left: 1rem;
}

/* Abstand zum Bild, bei Bedarf anpassen */
.arrow.right {
	right: 1rem;
}

.arrow:hover,
.arrow:focus-visible {
	color: rgba(255, 255, 255, 0.479);
}

.animate-out {
	opacity: 0;
}

.animate-in {
	opacity: 1;
}

.active {
	text-decoration: none;
}

#buerobesprechung {
	width: 10vw;
	position: absolute;
	right: 0;
}

.grid-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	padding: 1rem;
	max-width: 1600px;
	margin: 0 auto 5vw auto;
}

.grid-galerie img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease;
}

.grid-galerie img:hover {
	transform: scale(1.02);
}

/* Bild über zwei Spalten (und bei Bedarf auch über zwei Zeilen) */
.grid-galerie img.breit {
	grid-column: span 2;
	/* Optional auch über zwei Zeilen:
grid-row: span 2;
*/
}

/* Lightbox Overlay */
.lightbox {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	justify-content: center;
	align-items: center;
}

.lightbox-img {
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
	border-radius: 8px;
}

/* Schließen-Button */
.close {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 3rem;
	color: white;
	cursor: pointer;
	user-select: none;
	transition: transform 0.2s ease;
}

.close:hover {
	transform: scale(1.2);
}

.standardtextbodycenter {
	text-align: center;
}

.team-section {
	padding: 50px 20px;
	text-align: center;
}

.team-section h2 {
	font-size: 2.5em;
	margin-bottom: 40px;
	color: #333;
}

.team-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin: 7vw;
}

.team-card {
	width: 27rem;
	background-color: #fff;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
	padding: 0;
}


	.team-card.small {
		width: 18rem;
	}

	.team-card.small .team-img {
		height: 75%;
	}

	.team-card.small .team-info h3 {
		font-size: 1.2em;
	}

	.team-card.small .team-info p {
		font-size: 0.9em;
	}

.team-img {
	width: 100%;
	height: 75%;
	object-fit: cover;
	/* füllt Karte optisch schön */
	display: block;
}

.team-info {
	height: 25%;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.team-info h3 {
	margin: 0;
	font-size: 2em;
	color: #222;
}

.team-info p {
	margin: 3px 0 0;
	font-size: 1em;
	color: #666;
}

.menu-panel {
	display: none;
}
#teambild{
	width: 100%;
	position: absolute;
	top: 3rem;
		-webkit-box-shadow: 0px 4px 11px -1px #000000;
	box-shadow: 0px 4px 11px -1px #000000;
}






















































/*HANDY*/



@media only screen and (max-width: 600px) {
	body {
		font-size: 1.5rem;
	}

	footer {
		font-size: .9rem;
	}

	.whitebar {
		display: none;
	}

	#wabtext {
		padding-bottom: 9vh;
		font-size: 4vw;
	}

	#instalogo {
		width: 7vw;
	}

	.bannershow {
		top: 8vh;
	}

	#wab {
		width: 16vw;
	}

	.logo img {
		height: 20vw;
	}

	h2 {
		font-size: 1.5rem;
	}

	#navbar-links {
		display: none;
	}

	#navbar {
		position: fixed;
		width: 100%;
		height: 8vh;
		background: linear-gradient(16deg, rgba(209, 209, 209, 1) 0%, rgba(125, 125, 125, 1) 100%);
		display: block;
		/* kein flex nötig */
		padding: 0;
	}


#unserteam_h2 {
	font-size: 11vw;
	color: white;
	margin-bottom: 30vw;
	      margin-top: 4.4rem;

}
	#logonavbar {
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
		height: 3rem;
	}

	.standardtextbody p,
	.textbodyright p,
	.textbody p {
		font-size: 1.2rem;
	}

	#startinfo {
		top: 8vw;
		left: 8vw;
	}

	.top {
		margin-top: -2.5vw !important;
		font-size: 8.85vw;
	}

	.bottom {
		margin-top: -3.0vw !important;
		font-size: 12.2vw;
		-webkit-text-stroke: 1px white;
	}

	.textbild-row {
		margin: 10vh 5% 0 5%;
		display: block;
		flex-direction: column;
		text-align: center;
	}

	.textbody {
		width: 100%;
	}

	.bildrechts,
	.bildlinks {
		width: 100%;
	}

	.textbodyright {
		width: 100%;
		text-align: left;
	}

	.bildlinks1 {
		display: block;
	}

	.bildlinks {
		display: none;
	}

	/* HAMBURGER ICON */
	.hamburger {
		width: 30px;
		height: 22px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		cursor: pointer;
		z-index: 1100;
		position: fixed;
		top: 20px;
		left: 20px;
	}

	.hamburger span {
		display: block;
		height: 4px;
		background: rgb(255, 255, 255);
		border-radius: 2px;
		transition: 0.3s;
	}

	.hamburger.open span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
		background: #8a0008;
	}

	.hamburger.open span:nth-child(2) {
		opacity: 0;
		background: #8a0008;
	}

	.hamburger.open span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
		background: #8a0008;
	}

	footer {
		width: 100%;
		margin: 10vw 0 0 0;
		padding: 0;
		border: 0;
	}

	/* SLIDEOUT MENU PANEL */
	.menu-panel {
		display: block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100vh;
		background: linear-gradient(16deg, rgba(209, 209, 209, 1) 0%, rgba(125, 125, 125, 1) 100%);
		color: white;
		padding-top: 8vh;
		transition: left 0.4s ease;
		z-index: 1000;
	}

	.menu-panel.open {
		left: 0;
		box-shadow: 2px 0 12px rgba(0, 0, 0, 0.5);
	}

	.menu-panel ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.menu-panel li {
		padding: 1rem 1.5rem;
		border-bottom: 1px solid #444;
	}

	.menu-panel a {
		color: white;
		text-decoration: none;
		font-weight: bold;
		display: block;
	}

	.menu-panel a:hover {
		color: #8a0008;
	}

	.team-card.small {
		width: 100%;
	}


		.team-card p{
		font-size: 1.2rem;
	}
			.team-card h3{
		font-size: 1.7rem;
	}

.review-img-main {
	width: 98%;
	/* optional, falls Bilder zu groß sind */
	display: block;
	box-shadow: 0px 4px 11px -1px #949494 !important;
	border-radius: 10px;
	margin-top: 2vw;
}

	.linksasbutton {
		background-color: #8a0008;
		color: white;
		padding: 0.7rem;
		border-radius: 10px;
		text-decoration: none;
		border: none;
		font-size: 1.2rem;
	}

	#teambild {
		width: 100%;
	}



	#wab {
		width: 10vw;
	}

	.form-wrapper {
		display: block;
	}

	#kontaktinfos img {
		width: 28%;
	}

	#kontaktinfos {
		margin-right: 0;
		padding-right: 0;
	}

	.singleinfo_p h3 {
		font-size: 1rem;
		margin-left: 6vw;
	}
	.standardtextbody {
		width: 90%;
		margin-left: 5%;
		margin-top: 10vw;
		text-align: left;
	}
	.slider {
		background: #fff;
		overflow: hidden;
		position: relative;
		width: 96%;
		height: 60vh; /* Feste Höhe für vertikalen Slider */
		margin: 4vh 0 0 2%;
	  }
	  
	  .slider::before,
	  .slider::after {
		content: "";
		position: absolute;
		width: 100%; /* Breite anpassen */
		height: 5vw; /* Höhe anpassen */
		z-index: 2;
		left: 0; /* Position anpassen */
		pointer-events: none;
	  }
	  
	  .slider::before {
		top: 0;
		background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, transparent 100%); /* Richtung ändern */
	  }
	  
	  .slider::after {
		bottom: 0;
		top: auto;
		background: linear-gradient(to top, rgb(255, 255, 255) 0%, transparent 100%); /* Richtung ändern */
	  }
	  
	  .slide-track {
		display: flex;
		flex-direction: column; /* Vertikale Ausrichtung */
		height: max-content; /* Höhe anpassen */
		animation: scroll 70s linear infinite;
	  }
	  
	  /* Neue vertikale Scroll-Animation */
	  @keyframes scroll {
		0% {
		  transform: translateY(-50%);
		}
		100% {
		  transform: translateY(0%);
		}
	  }
	  
	  /* Slides anpassen */
	  .slide {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 1vw 0; /* Abstand zwischen Slides */
		height: auto; /* Höhe anpassen */
	  }
	  .review-img {
		width: 93vw;
		margin: 1.5vw;
	}
	.grid-galerie {
		grid-template-columns: repeat(3, 1fr); /* 2 Bilder pro Zeile */
		gap: 0.5rem;
		padding: 0.5rem;
	  }
	  	  .grid-galerie img.breit {
		grid-column: span 2; /* Breite Bilder nehmen volle Zeile */
	  }
	
	  .grid-galeriemain img.breit {
		grid-column: span 2; /* Breite Bilder nehmen volle Zeile */
	  }
	  	.grid-galeriemain {
		grid-template-columns: repeat(4, 1fr); /* 2 Bilder pro Zeile */
		gap: 0.5rem;
		padding: 0.5rem;
	  }


	  .navitem {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		text-decoration: none;
		color: #000;
		font-size: 0.95rem;
		transition: transform 0.2s ease;
	  }
	
	  .navitem:hover {
		transform: scale(1.05);
	  }
	
	  .navpic {
		width: 28px;
		height: 28px;
	  }
	
	  /* Text + Bild Sektion */
.outer-bar{
	height: 100vh;
	display: block;
}
.inner-bar{
	padding: 0 5% 0 5%;
	width: 90%;

}
.maincontainer {
	margin: 0 5% 0 5%;
}
h1{
	font-size: 1.7rem;
}
.leistungen h3 {
    margin: 1vw 0;
    font-size: 1.3rem;
}
h3{
	font-size: 1.4rem;
}
.leistungen h3.active {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
}
.bildbereich {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Bild zentrieren */
	gap: .5rem;
	height: 50vh;
	width: 100%;
}
.beschreibung {
	font-size: 1.2rem;
}
#leistungsbeschreibung {
	width: 90%;
	margin-bottom: -10vh;
}
#leistungen {
	margin-top: 3vh;
}
}