:root {
	--max-width: 1360px;
	--bg-color: #f1f1f1;
	--bg-color-content: #fff;
	--text-color: #000000;
	--accent-color: #f8f8f8;
	--accent-blue: #009fe3;
	--accent-blue-dark: #007da9;
	--bs-dropdown-link-active-color: #007da9;
	--bs-link-color-rgb: #009fe3;
	--accent-a11y: #CF4747;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;

}

/* Der 1500px Boxed Container */
.site-wrapper {
	width: 100%;
	max-width: var(--max-width);
	background-color: var(--bg-color-content);
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

.content-section .row {
	padding-bottom: 3rem;
	/* Der Abstand, den du wolltest */
	border-bottom: 1px solid #f0f0f0;
	/* Eine hauchdünne, helle Linie */
}

.content-section-sub .row.line {
	padding-bottom: 3rem;
	border-bottom: 1px solid #f0f0f0;
}

/* Die letzte Zeile in der Sektion soll keine Linie haben */
.content-section .row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.navbar>.container-fluid {
	flex-wrap: nowrap;
}

.content-section-sub.legacy {
	padding-top: 3rem;
}

.content-section-sub {
	padding-top: 5rem;
}

sup {
  font-size: .6em;
}

/* --- NAVIGATION --- */
.navbar {
	background-color: white !important;
	border-bottom: 1px solid #eee;
	padding: 1.2rem 0;
}

.navbar-brand {
	font-weight: 800;
	padding-left: 20px;
	letter-spacing: -1px;
	font-size: 1.5rem;
	white-space: nowrap;
	z-index: 10;
}

.navbar-brand img {
	max-width: 80px;
}

.nav.navbar-nav {
	flex-wrap: nowrap;
}

.navbar-collapse {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	padding: 0;
	box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
	z-index: 1001;
	display: none;
}

.navbar-collapse.show {
	display: block !important;
}

.navbar-nav {
	flex-direction: column;
	text-align: center;
	margin: 0 auto;
}

.nav-item {
	padding: 10px 0;
}

.nav-link {
	font-size: 1.2rem;
	color: #333 !important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    visibility: hidden;
    display: block;
  }
}

.dropdown-menu {
	text-align: left
}

/* Marken-Leiste (Dynamisch) */
.brand-strip {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-grow: 1;
	padding: 0 15px;
	overflow-x: hidden;
	transition: all 0.3s ease;
}

.brand-item {
	height: 30px;
	width: auto;
	object-fit: contain;
	opacity: 0.6;
	transition: all 0.3s ease;
	filter: grayscale(100%);
}

.brand-item:hover {
	opacity: 1;
	filter: grayscale(0%);
	transform: scale(1.1);
}

ul.logobar {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0 !important;
}

ul.logobar>li {
	display: inline-block;
	list-style: none;
	position: relative;
	padding: 10px 10px 10px;
}

.brandlogo {
	max-width: 80px;
	max-height: 21px
}

.copytext h1,
.copytext h2,
.copytext h3 {
	font-weight: 600;
	margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {

	.h1,
	h1,
	.h2,
	h2 {
		font-size: 2rem;
	}
}

.copytext h1,
.h2,
h2 {
	font-size: 2rem
}

/* Nav Links */
.nav-link {
	color: var(--text-color) !important;
	font-weight: 400;
	margin-left: 1.5rem;
	transition: opacity 0.3s;
}

.nav-link:hover,
.dropdown-toggle:hover {
	opacity: 0.5;
}

/* Breadcrumb */
#breadcrumb {
	margin: 1rem 0 0 1rem;
	padding-top: 20px;
	font-size: 14px;
}

#breadcrumb>span {
	padding: 0 .5rem 0 0
}

#breadcrumb a {
	text-decoration: none;
	color: inherit
}

/* Dropdown Styling */
.dropdown-menu {
	border: none;
	border-radius: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	padding: 1rem 0 !important;
}

.dropdown-item {
	padding: 0.5rem 1.5rem;
	font-size: 0.9rem;
}

.dropdown-item.current,
.dropdown-item:active,
.nav-item.active>.nav-link.current {
	color: #007da9 !important;
	background-color: #fff !important;
	text-decoration: none;
}

#mainCarousel, #banner {
	margin-top: 44px;
}

/* --- CAROUSEL & TEXT OVERLAY --- */
.carousel-item {
	position: relative;
	width: 100%;
}

/* Der dunkle Gradient, der den Text lesbar macht */
.carousel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%);
	z-index: 1;
	pointer-events: none;
}

.carousel-caption-custom {
	position: absolute;
	top: 25%;
	/* Abstand von oben */
	left: 7%;
	/* Abstand von links */
	right: 5%;
	z-index: 2;
	color: #ffffff;
	text-align: left;
	max-width: 480px;
}

.carousel-caption-custom h2 {
	font-weight: 800;
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-caption-custom p {
	font-weight: 300;
	font-size: 1.3rem;
	opacity: 0.9;
	margin-bottom: 0;
}

.carousel-item img {
	width: 100%;
	object-fit: cover;
	min-height: 440px;
}

.carousel-control-prev,
.carousel-control-next {
	width: 7%;
}

.carousel-control-prev img,
.carousel-control-next img {
	width: 50px;
}

/* BUTTON STYLING */
.buttons {
	display: block;
	width: 100%;
	max-width: 320px;
	padding: 10px 20px;
	font-weight: 700;
	font-size: 1.25rem;
	text-align: center;
	text-decoration: none;
	color: #ffffff !important;
	background-color: var(--accent-blue);
	border-radius: 10px;
	transition: all 0.3s ease;
	margin-bottom: 15px;
}

.buttons:hover {
	background-color: var(--accent-blue-dark);
	/* Nur Abdunkeln */
	color: #ffffff !important;
}

.col-md-6.d-flex.align-items-md-center > p {
  width: 100%;
  text-align: center;
  max-width: 320px;
}

.carousel-item .buttons {
	position: absolute;
	left: 7%;
	bottom: 25%;
	padding: 9px 15px;
	max-width: 218px;
	font-size: 1.2rem;
}

.flex-row.multiple {
	flex-wrap: wrap;
}

.flex-row.multiple img {
	margin-right: 10px;
	max-width: 100%;
	height: auto;
}

.buttons.wide {
	display: inline-block;
	max-width: none;
	width: auto
}

h1 {
	margin-bottom: 1.1rem;
}

/* --- Subpages --- */
#banner {
	position: relative;
}

#banner img {
	width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 440px;
}

#altcha {
	margin: 1rem 0;
	display: block;
}

#map {
	position: relative;
	width: 100%;
	height: 300px;
}

.align-items-center .img-block {
	width: auto;
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.ce-gallery figcaption {
	font-size: 14px;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

dl,
ol,
ul {
	padding-left: 20px !important;
}

ul li p {
	margin-bottom: .25rem;
}

.h3,
h3 {
	font-size: 1.5rem;
	font-weight: 500;
}

.frame-default {
	margin: 1rem 0
}

.ce-intext.ce-left .ce-gallery {
	margin-right: 25px;
}

.ce-intext.ce-right .ce-gallery {
	margin-left: 25px;
}

.col-md-12 pre {
	font-family: inherit;
	margin: 0;
	font-size: inherit;
	display: inline-block;
}

.col-md-12 pre a {
	margin: 0;
}

/* --- Formular --- */
.form-label {
	margin-bottom: .5rem;
	margin-top: .8rem;
	font-size: 15px;
}

.form-control {
	max-width: 900px;
	font-size: 16px;
}

.form-check {
	padding-left: 0;
	margin-top: 1rem;
}

/* Team */

body.team h3 {
	font-size: 16px;
	margin: .5rem 0 0;
}

body.team p.description {
	font-size: 12px;
	margin: 0;
}

body.team p.contact {
	font-size: 14px;
	margin: 8px 0 0
}

.team-v5 a {
	color: var(--text-color);
	text-decoration: none;
}

/* Cars */

#tabs {
	line-height: 1.5em;
	font-size: 12px
}

form#sorter ul {
	float: left;
	margin-right: 12px;
	margin-bottom: 10px;
}

form#sorter ul::after {
	content: ' ';
	clear: left;
}

#mesadetail-1 h2 {
	font-weight: bold;
	font-family: Tahoma, Arial, sans-serif;
	margin-left: 10px;
	margin-top: -5px;
	color: #2465AD;
}

#mesadetail-1 h3 {
	font-weight: bold;
	font-size: 14px;
}

#mesadetail-1 h3.d_price {
	font-weight: bold;
	font-family: Tahoma, Arial, sans-serif;
}

#mesadetail-1 small {
	font-size: 11px
}

#mesadetail-1 hr {
	margin: 15px 0;
	border-top: 1px solid #ccc;
}

.results h2 {
	margin: 2px 0;
	font-size: 14px
}

.results a {
	color: var(--accent-blue)
}

ul.jPag-pages {
	width: auto !important;
}

/* --- RESPONSIVE LOGIK --- */

.nav-item {
	padding: 0 0;
	border-bottom: 0;
}

dropdown-item {
	padding: .5rem 1rem .5rem 1.5rem;
	font-size: 0.9rem;
}

.navbar-expand-lg .navbar-collapse {
	border-top: 1px #eee solid;
	box-shadow: none;
	border-bottom: 1px #eee solid;
}

body.visual .navbar-expand-lg .navbar-collapse {
	border-bottom:0;
}

body.visual #breadcrumb {
  padding-top: 0
}

.nav-link {
	font-size: .95rem;
}

@media (max-width: 991.98px) {
	.brand-strip {
		padding: 0;
		gap: 20px;
		scrollbar-width: none;
	}

	.navbar-expand-lg .navbar-collapse {
		border-top: 0;
	}

	.navbar-collapse {
		background: white;
		padding: 20px 0;
		text-align: right;
		border-top: 1px solid #eee;
	}

	.nav-item {
		border-bottom: 1px solid #eee;
	}

	.nav-link {
		margin-left: 0;
		display: block;
		font-size: 1rem;
	}

	.navbar-brand {
		font-size: 1.2rem;
	}

	.carousel-caption-custom h2 {
		font-size: 1.8rem;
	}

	.carousel-caption-custom p {
		font-size: 1rem;
	}

	/* Mobile Buttons: Zentrieren */
	.buttons {
		margin-left: auto;
		margin-right: auto;
	}

	#mainCarousel, #banner {
		margin-top: 0;
	}

	#breadcrumb {
		padding-top: 0;
	}

}

@media (max-width: 767.98px) {
	.col-sm-12 img {
		margin-bottom: 2rem;
		display: block
	}

	.flex-row.multiple img {
		margin-right: 20px;
  	}

	ul.logobar {
		padding-left: 20px;
		margin-top: 15px;
	}

	.navbar>.container-fluid {
		flex-wrap: wrap;
	}

	.brand-strip {
		order: 3;
		display: none;
	}

	.carousel-caption-custom p {
		display: inline-block;
		font-size: 14px;
		padding: 4px;
	}

	.ce-gallery iframe {
		height: auto;
		width: 100%;
	}

	.frame iframe {
		height: auto;
		width: 100%;
		aspect-ratio: 560 / 315;
	}

	.frame-space-before-medium {
		margin-top: 0
	}

	.mb-4 {
		margin-bottom: .5rem !important;
	}

	.content-section .row {
		padding-bottom: 2rem;
	}

	.content-section-sub.legacy {
		padding-top: 2rem;
	}

	.copytext h2,
	.copytext h3 {
		margin-top: 1rem;
	}

	#banner img {
		height: 35vh;
	}

	.carousel-caption-custom {
		position: absolute;
		top: 25%;
		left: 10%;
	}

	.carousel-caption-custom p {
		display: none
	}

	.carousel-item img, #banner img {
		height: auto;
		min-height: 220px;
	}

	.carousel-item .buttons {
		bottom: 16%;
		padding: 9px 15px;
		max-width: 140px;
		font-size: .9rem;
	}

	.content-section {
		padding: 45px 0 50px 0;
	}

	.carousel-control-prev, .carousel-control-next {
		width: 10%;
	}

	.carousel-control-prev img, .carousel-control-next img {
		width: 30px;
	}

	.carousel-item .buttons {
		left: 10%;
	}

	.navbar-nav {
		padding-left: 0 !important;
		text-align: center;
	}

	.dropdown-menu {
		text-align: center;
	}
	.flex-row.multiple {
		justify-content: center;
	}
}

@media (max-width: 460px) {
}

@media (max-width: 520px) {

	body.team .team-img,
	body.team .team-v5 p,
	body.team .team-v5 h3 {
		text-align: center;
	}

	.px-5 {
		padding-right: 1rem !important;
		padding-left: 1rem !important;
	}

	#banner img,
	#banner #map {
	}

	.content-section-sub {
		padding-top: 3rem;
	}

	.h3,
	h3 {
		margin-top: .75rem;
	}

	.ce-gallery figure {
		margin: 0 auto;
	}
}

.content-section .row#brandWrap {
	padding-bottom:1.5rem
}

#brandlogos {
	flex-wrap: wrap;
	flex-basis: 100%;
	justify-content: start;
	align-items: center;
	margin: 0 auto;
	gap:6%
}

#brandlogos > a, #brandlogos > img {
	display: block;
	width: 20%;
}

#brandlogos > a {
	text-align: center;
}

#brandlogos img {
	max-height: 500px;
}

#brandlogos > a.square {
	padding: 0 20px;
}

@media (max-width: 767px) {
	.content-section .row#brandWrap {
		padding-bottom:0.25rem
	}
	
	#brandlogos {
		gap:5%
	}

	#brandlogos > a, #brandlogos > img  {
		width: 30%;
	}
}

@media (max-width: 520px) {
	#brandlogos {
		gap:10%
	}

	#brandlogos > a, #brandlogos > img {
		width: 40%;
	}
}

.google-map {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.google-map iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

/* --- CONTENT & FOOTER --- */
.content-section {
	padding: 100px 0;
}

.img-block {
	width: 100%;
	height: auto;
	object-fit: unset;
	background-color: #f8f8f8;
}

.copytext h2,
.copytext h3 {
	font-weight: 600;
	margin-bottom: 1.5rem;
}

footer {
	padding: 50px 0;
	border-top: 1px solid #eee;
	font-size: 0.9rem;
}


@media (max-width: 767.98px) {
	.content-section {
		padding: 57px 0 50px 0
	}
}

@media (min-width: 768px) {
  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
}

/* --- FOOTER STYLING --- */

.footer-heading {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.social-links .social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background-color: var(--accent-blue);
	color: white !important;
	border-radius: 50%;
	margin-right: 10px;
	transition: all 0.3s ease;
	font-size: 0.9rem;
}

.social-links .social-icon:hover {
	background-color: var(--accent-blue-dark);
}

.footer-bottom a:hover {
	text-decoration: underline !important;
}

/* Mobile Anpassung: Text im Footer zentrieren */
@media (max-width: 768px) {
	.footer-heading {
		text-align: center;
	}

	.footer-bottom .text-md-end {
		text-align: center !important;
	}

	.footer-bottom .text-md-start {
		text-align: center !important;
	}
}

/* Typo3 responsive */

/* Mobile: unterhalb 768px (Bootstrap 5 s) */
@media (max-width: 767.98px) {

	.ce-textpic.ce-left.ce-intext,
	.ce-textpic.ce-right.ce-intext {
		/* Container auf Block setzen */
		display: block;
	}

	/* Galerie (Bild) nicht mehr floaten, sondern blockig darstellen */
	.ce-textpic.ce-left.ce-intext .ce-gallery,
	.ce-textpic.ce-right.ce-intext .ce-gallery {
		float: none !important;
		display: block;
		max-width: 100%;
		margin: 0 0 1rem 0 !important;
	}

	/* Bild selbst auf 100% Breite */
	.ce-textpic.ce-left.ce-intext .ce-gallery img,
	.ce-textpic.ce-right.ce-intext .ce-gallery img {
		width: 100%;
		height: auto;
	}

	/* Textbereich ebenfalls blockig, volle Breite */
	.ce-textpic.ce-left.ce-intext .ce-bodytext,
	.ce-textpic.ce-right.ce-intext .ce-bodytext {
		display: block;
		width: 100%;
		clear: both;
	}

	/* ce-nowrap aufheben, damit Text umbricht */
	.ce-textpic.ce-left.ce-intext.ce-nowrap,
	.ce-textpic.ce-right.ce-intext.ce-nowrap {
		white-space: normal;
	}

	.ce-bodytext a.buttons.wide {
		display: block;
		width: fit-content;
		text-align: left;
		margin: 0 0 15px;
	}
}

@media (min-width: 1200px) {

	.h1,
	h1 {
		font-size: 2rem;
	}
}

/* Sienna */

.asw-menu,
.asw-menu-btn {
	position: fixed;
	right: 20px;
	transition: .3s;
	z-index: 500000
}

.asw-widget {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-weight: 400;
	-webkit-font-smoothing: antialiased
}

.asw-widget * {
	box-sizing: border-box
}

.asw-menu-btn {
	bottom: 20px;
	background: var(--accent-a11y) !important;
	box-shadow: 0 5px 15px 0 rgb(37 44 97 / 15%), 0 2px 4px 0 rgb(93 100 148 / 20%);
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	transform: translateY(0);
	width: 64px;
	height: 64px;
	display: flex;
	fill: white;
	cursor: pointer;
	border: 3px solid #fff !important;
	outline: 5px solid var(--accent-a11y) !important
}

.asw-menu-btn svg {
	width: 34px;
	height: 34px;
	min-height: 34px;
	min-width: 34px;
	max-width: 34px;
	max-height: 34px;
	background: 0 0 !important
}

.asw-menu-btn:hover {
	transform: scale(1.05)
}

.asw-menu {
	display: none;
	top: 20px;
	border-radius: 8px;
	box-shadow: -1px 0 20px -14px #000;
	opacity: 1;
	overflow: hidden;
	background: #fff;
	width: 500px;
	line-height: 1;
	font-size: 14px;
	height: calc(100vh - 40px - 75px);
	letter-spacing: .015em
}

.asw-btn,
.asw-footer a {
	font-size: 14px !important
}

.asw-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--accent-a11y);
	color: #fff;
	padding-left: 12px;
	font-weight: 600
}

.asw-menu-header>div {
	display: flex
}

.asw-menu-header div[role=button] {
	padding: 12px;
	cursor: pointer
}

.asw-menu-header div[role=button]:hover,
.asw-minus:hover,
.asw-plus:hover {
	opacity: .8
}

.asw-items {
	display: flex;
	gap: 10px;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	justify-content: space-between
}

.asw-btn {
	width: 140px;
	height: 120px;
	border-radius: 8px;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	color: #333;
	background: #ecf3ff;
	border: 3px solid #ecf3ff;
	transition: background-color .3s;
	cursor: pointer
}

.asw-btn .material-icons {
	margin-bottom: 16px
}

.asw-adjust-font .label {
	color: #000
}

.asw-btn:hover {
	border-color: var(--accent-a11y)
}

.asw-btn.asw-selected {
	background: var(--accent-a11y);
	color: #fff;
	border-color: var(--accent-a11y)
}

.asw-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	padding: 16px;
	text-align: center;
	color: #fff
}

.asw-footer a {
	text-decoration: underline;
	color: #fff;
	background: 0 0 !important
}

.asw-menu-content {
	overflow-y: scroll;
	max-height: calc(100% - 80px);
	color: #000
}

.asw-card {
	margin: 0 15px 30px
}

.asw-card-title {
	font-size: 18px;
	padding: 15px 0
}

.asw-card-title>span {
	float: right
}

.asw-adjust-font {
	background: #ecf3ff;
	padding: 20px 25px;
	margin-bottom: 16px
}

.asw-adjust-font .label {
	display: flex;
	align-items: center
}

.asw-adjust-font>div {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	align-items: center;
	font-size: 16px;
	font-weight: 700
}

.asw-adjust-font div[role=button] {
	background: var(--accent-a11y);
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer
}

.asw-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none
}

@media only screen and (max-width:560px) {
	.asw-menu {
		width: calc(100vw - 20px);
		left: 10px
	}

	.asw-menu-btn {
		visibility: hidden
	}
}