
body {
	background-color:#eaeaea;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 16px;
	font-style: normal;
}

/*
 * Kopfbereich: Navileiste oben, darunter das Bildmotiv bzw. der Slider.
 * flex-shrink: 0 verhindert, dass der Header im Flex-Layout des Body gestaucht
 * wird und sein Inhalt in den folgenden Seiteninhalt ragt.
 */
header {
	position: relative;
	flex-shrink: 0;
	background-color: #333333;
}

/*
 * Bildmotiv der Unterseiten unterhalb der Navileiste. Auf dem Desktop flacher
 * als der Slider der Startseite, damit mehr vom Seiteninhalt sichtbar ist.
 */
.header-image {
	height: 400px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (min-width: 992px) {
	.header-image {
		height: 420px;
	}
}

header.landhandel {
	background-image:url(../images/306543614_570553524866392_586751708622848272_n.jpg);
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	min-height:500px;
}

/* Gelbe Navigationsleiste (#f5d022 mit leichter Transparenz) */
.site-navbar {
	background-color: #f5d022;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	border-bottom: 8px solid #3a7bed;
	/* Über der Sticky-Verlinkung (.cross-site-link, z-index 1030), sonst verdeckt diese mobil den letzten Menüpunkt */
	position: relative;
	z-index: 1031;
}

.nav-main {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-navbar .logo {
	flex-shrink: 0;
	padding: 10px 0;
	display: block;
}

.site-navbar .nav-link {
	color: #333333 !important;
	font-size: 23px !important;
	font-weight: 800;
	padding: 0.6rem 0.65rem;
	white-space: nowrap;
	text-decoration: none;
}

@media (min-width: 992px) and (max-width: 1399px) {
	.site-navbar .nav-link {
		font-size: 18px !important;
		padding: 0.6rem 0.6rem;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.site-navbar .nav-link {
		font-size: 15px !important;
		padding: 0.6rem 0.35rem;
	}
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
	color: #3b7aed !important;
}

.site-navbar .nav-link.active {
	color: #3b7aed !important;
	font-weight: 700;
}

/* Text-Bild-Modul: mobil (gestapelte Spalten) Abstand zwischen Text und Bild */
@media (max-width: 767.98px) {
	.module-textimage .image {
		margin-top: 2rem;
	}
}

/* 2. Navigationsebene: Dropdown (Desktop, ab 992px) */
.nav-main .has-submenu {
	position: relative;
}

.nav-main .submenu-parent::after {
	content: "";
	display: inline-block;
	margin-left: 0.35em;
	vertical-align: 0.15em;
	border-top: 0.32em solid currentColor;
	border-right: 0.32em solid transparent;
	border-left: 0.32em solid transparent;
}

.nav-main .submenu {
	min-width: 100%;
	list-style: none;
	margin: 0;
	padding: 0.3rem 0;
	background-color: rgba(245, 208, 34, 0.97);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
	border: 0;
	border-bottom: 5px solid #3a7bed;
	border-radius: 0;
	z-index: 1000;
}

.nav-main .submenu .nav-link {
	display: block;
	font-size: 19px !important;
	padding: 0.45rem 0.85rem;
}

@media (min-width: 992px) and (max-width: 1399px) {
	.nav-main .submenu .nav-link {
		font-size: 16px !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.nav-main .submenu .nav-link {
		font-size: 14px !important;
	}
}

/* 2. Navigationsebene: aufklappbares Untermenü (Mobile) */
.mobile-submenu-parent::after {
	content: "";
	display: inline-block;
	margin-left: 0.4em;
	vertical-align: 0.15em;
	border-top: 0.35em solid currentColor;
	border-right: 0.35em solid transparent;
	border-left: 0.35em solid transparent;
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.mobile-submenu-parent.collapsed::after {
	transform: none;
}

.mobile-submenu {
	padding-left: 1.25rem;
}

.mobile-submenu .nav-link {
	font-size: 19px !important;
	padding: 0.4rem 0.65rem;
}

/* Hamburger-Button auf gelbem Hintergrund */
.site-navbar .navbar-toggler {
	border-color: #333333;
}

.site-navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51,51,51,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

h1 {
	margin:0 0 25px 0;
	font-size:3.2rem;
	font-weight:800;
}

h2 {
	margin:0 0 25px 0;
	font-size:3.2rem;
	font-weight:800;
}

p,
main li {
	font-size:1.4rem;
	line-height:2.1rem;
	color:#404245;
}

.services {
	display: flex;
	-moz-box-pack: center;
	justify-content: left;
	flex-wrap: wrap;
	width: 100%;
	padding: 24px 8px 0px;
	margin: 0px;
}

.services li {
	width: 50%;
	display: flex;
	flex-direction: column;
	-moz-box-align: center;
	align-items: center;
	padding-bottom: 35px;
	text-align: center;
}

@media (min-width: 576px) {
	.services li {
		width: 33.333%;
	}
}

@media (min-width: 992px) {
	.services li {
		width: 20%;
	}
}

.service .icon {
	display: flex;
	-moz-box-align: center;
	align-items: center;
	-moz-box-pack: center;
	justify-content: center;
	-moz-box-flex: 0;
	flex-grow: 0;
	flex-shrink: 0;
	width: 80px;
    height: 80px;
	border-radius:50%;
	background-color: rgb(252, 229, 49);
}

.service .icon svg {
	width: 40px;
    height: 40px;
}

.services .label {
	display: block;
	margin-top: 10px;
	font-size: 0.85rem;
	line-height: 1.3;
	max-width: 120px;
}

.chronik-entry {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.chronik-entry .chronik-img img {
	width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.chronik-entry {
		flex-direction: row;
		align-items: flex-start;
	}

	.chronik-entry .chronik-text {
		flex: 2;
	}

	.chronik-entry .chronik-img {
		flex: 1;
	}
}

.btn {
	border-radius:0;
	font-weight:bold;
	text-transform:uppercase;
}

.btn-primary {
	color:#FFFFFF;
	background-color:#1b66b3;
}

.footer {
	color:#FFFFFF !important;
	font-size:1rem;
	background-image:url(../images/backgrounds/placeholder-bg-dark-hdpi.webp);
	background-position: top left;
	background-repeat: repeat;
	background-size: 400px 400px;
}

.footer p {
	color:#FFFFFF !important;
	font-size:1rem !important;
}

.footer a {
	color:#FFFFFF;
}

.footer a:focus,
.footer a:hover {
	color:#fce531;
}


.colorscheme-grey {
	background-color:#eaeaea;
}

.colorscheme-white{
	background-color:#FFFFFF;
}

.colorscheme-dark {
	color:#FFFFFF;
	background-image:url(../images/backgrounds/placeholder-bg-dark-hdpi.webp);
	background-position: top left;
	background-repeat: repeat;
	background-size: 400px 400px;
}

.inline-padding {
	padding-top:60px;
	padding-bottom:60px;
}

.opening-item {
	padding:30px;
	text-align:center;
	background-color:#FFFFFF;
}

.opening-item .image{
	margin:-30px -30px 20px -30px;
}
	
.opening-item .image img {
	width:100%;
	height:auto;
}

.opening-item table {
	width:100%;
	border-color:#CCC;
}

.opening-item table td {
	vertical-align:top;
	text-align:left !important;
}

/* Timeline */

.timeline ul {
  padding: 50px 0;
  list-style: none;
  margin: 0;
  position: relative;
}

.timeline ul::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #000;
  transform: translateX(-50%);
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 100%;
  background: transparent;
  margin-bottom: 50px;
  padding-top: 0;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  z-index: 2;
  transition: background 0.5s ease-in-out;
}

.timeline ul li > div {
  position: relative;
  width: calc(50% - 40px);
  padding: 20px 25px;
  color: #000;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.timeline ul li > div::before {
  content: "";
  position: absolute;
  top: 23px;
  width: 30px;
  height: 4px;
  background: #000;
}

.timeline ul li > div img {
  width: 100%;
  height: auto;
}

.timeline ul li:nth-child(odd) > div {
  margin-left: calc(50% + 30px);
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(odd) > div::before {
  left: -30px;
}

.timeline ul li:nth-child(even) > div {
  margin-left: 10px;
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li:nth-child(even) > div::before {
  right: -30px;
}

.timeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.timeline ul li.in-view::after {
  background: #000;
}

.timeline ul li.in-view > div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .timeline ul::before {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline ul li::after {
    left: 20px;
    top: 10px;
    transform: translateX(-50%);
  }

  .timeline ul li > div {
    width: calc(100% - 55px) !important;
    margin-left: 45px !important;
    transform: translate3d(-30px, 0, 0) !important;
  }

  .timeline ul li:nth-child(odd) > div::before,
  .timeline ul li:nth-child(even) > div::before {
    top: 18px;
    left: -30px;
    right: auto;
  }

  .timeline ul li.in-view > div {
    transform: none !important;
  }
}

.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* Sticky-Verlinkung zur Schwester-Webseite am rechten Browser-Rand,
   im oberen Drittel des Bildmotivs – deutlich über den Slider-Pfeilen */
.cross-site-link {
	position: fixed;
	top: 150px;
	right: 0;
	transform: translateY(-50%);
	z-index: 1030;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 12px 6px 12px;
	background-color: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-right: none;
	border-radius: 10px 0 0 10px;
	box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, padding-right 0.2s ease, opacity 0.3s ease;
}

/* Wird per JS beim Herunterscrollen gesetzt */
.cross-site-link.cross-site-link-hidden {
	opacity: 0;
	pointer-events: none;
}

.cross-site-link:hover,
.cross-site-link:focus {
	background-color: #ffffff;
	box-shadow: -3px 3px 14px rgba(0, 0, 0, 0.35);
	padding-right: 20px;
}

/* Desktop: Bildmotiv ist 550px hoch, oberes Drittel endet bei rund 284px */
@media (min-width: 992px) {
	.cross-site-link {
		top: 190px;
	}
}

.cross-site-link img {
	width: 100px;
	height: auto;
	display: block;
}

.cross-site-link .cross-site-link-label {
	font-size: 13px;
	font-weight: 600;
	color: #333333;
	white-space: nowrap;
}

/* Mobil: etwas kompakter, Position wie Desktop rechts im Header-Motiv */
@media (max-width: 767px) {
	.cross-site-link {
		padding: 8px 10px;
	}

	.cross-site-link img {
		width: 95px;
	}

	.cross-site-link .cross-site-link-label {
		font-size: 13px;
	}
}

/* Hersteller-Logos (Startseite) */
.brand-slider {
	position: relative;
}

/* Ein-/Ausblendung am Rand als Hinweis, dass es seitlich weitergeht */
.brand-slider::before,
.brand-slider::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 60px;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.brand-slider::before {
	left: 0;
	background: linear-gradient(to right, #FFFFFF, rgba(255, 255, 255, 0));
}

.brand-slider::after {
	right: 0;
	background: linear-gradient(to left, #FFFFFF, rgba(255, 255, 255, 0));
}

.brand-slider.is-scrollable:not(.at-start)::before,
.brand-slider.is-scrollable:not(.at-end)::after {
	opacity: 1;
}

.brand-logos {
	display: flex;
	justify-content: safe center;
	flex-wrap: nowrap;
	gap: 30px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	/* Scrollleiste ausblenden – navigiert wird per Pfeil bzw. Wischgeste */
	scrollbar-width: none;
	-ms-overflow-style: none;
	/* Platz, damit Schatten und Hover-Skalierung der Karten nicht abgeschnitten werden */
	padding: 12px 4px 20px;
}

.brand-logos::-webkit-scrollbar {
	display: none;
}

.brand-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #333333;
	background-color: #f5d022;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.brand-slider.is-scrollable .brand-slider-nav {
	display: flex;
}

.brand-slider-nav:hover,
.brand-slider-nav:focus {
	background-color: #fce531;
}

.brand-slider-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.brand-slider-nav-prev {
	left: -22px;
}

.brand-slider-nav-next {
	right: -22px;
}

/* Mobil per Wischgeste statt Pfeilen bedienen */
@media (max-width: 767.98px) {
	.brand-slider.is-scrollable .brand-slider-nav {
		display: none;
	}
}

.brand-logo {
	flex: 0 0 260px;
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 260px;
	max-width: 100%;
	padding: 30px;
	background-color: #FFFFFF;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo:hover,
.brand-logo:focus,
.brand-logo:focus-within {
	transform: scale(1.05);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.brand-logo .image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90px;
	margin-bottom: 15px;
}

.brand-logo .image img {
	max-width: 180px;
	max-height: 80px;
	width: auto;
	height: auto;
}

/* SVGs ohne width/height im Datei-Kopf haben keine intrinsische Größe und
   würden im Flex-Container auf 0 zusammenfallen – daher feste Bezugsbreite.
   Für Vektorgrafiken verlustfrei, das Seitenverhältnis bleibt erhalten. */
.brand-logo .image img[src$=".svg"] {
	width: 180px;
}

.brand-logo .label {
	font-size: 1.1rem;
	font-weight: 600;
	color: #404245;
	text-align: center;
}

/* Themen-Kacheln (z.B. Zubehoer-Seite) */
.topic-card {
	height: 100%;
	padding: 30px;
	background-color: #FFFFFF;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.topic-card .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin-bottom: 20px;
	border-radius: 50%;
	background-color: rgb(252, 229, 49);
	color: #333333;
}

.topic-card .icon svg {
	width: 40px;
	height: 40px;
}

.topic-card h3 {
	margin-bottom: 15px;
	font-size: 1.6rem;
	font-weight: 700;
}

.topic-card p,
.topic-card li {
	font-size: 1.2rem;
	line-height: 1.8rem;
}

.topic-card ul {
	margin-bottom: 0;
	padding-left: 1.3rem;
}

.topic-card p:last-child {
	margin-bottom: 0;
}

/*
 * Header-Slider (Startseite) – Wechsel ausschließlich manuell, kein Automatiklauf.
 * Steht wie das statische Bildmotiv unterhalb der Navileiste.
 */
.header-slider {
	position: relative;
	height: 400px;
	overflow: hidden;
	cursor: grab;
	/* Senkrechtes Scrollen bleibt dem Browser, waagerechtes Ziehen wertet der Slider aus */
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

@media (min-width: 992px) {
	.header-slider {
		height: 550px;
	}
}

.header-slider.is-dragging {
	cursor: grabbing;
}

/* Alle Slides liegen nebeneinander, verschoben wird die gesamte Strecke */
.header-slides {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

/* Während des Ziehens und beim Neuausrichten folgt die Strecke ohne Nachlauf */
.header-slider.is-dragging .header-slides,
.header-slides.no-transition {
	transition: none;
}

.header-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Optionale Overlay-Box je Slide */
.header-slide-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	/* seitlich Platz für die Pfeile, unten für die Punkte */
	padding: 60px 80px;
	/* Gezogen werden darf auch über der Textfläche */
	pointer-events: none;
}

.header-slide-inner {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
}

.header-slide-box {
	pointer-events: auto;
	max-width: 420px;
	padding: 22px 26px;
	background-color: rgba(255, 255, 255, 0.92);
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
	text-align: left;
}

.header-slide-box p {
	margin: 0 0 16px 0;
	font-size: 1.25rem;
	line-height: 1.6;
	color: #333333;
}

.header-slide-box p:last-child {
	margin-bottom: 0;
}

.header-slide-box-left {
	margin-right: auto;
}

.header-slide-box-center {
	margin-left: auto;
	margin-right: auto;
}

.header-slide-box-right {
	margin-left: auto;
}

.header-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #333333;
	background-color: #f5d022;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.header-slider-nav:hover,
.header-slider-nav:focus {
	background-color: #fce531;
}

.header-slider-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.header-slider-nav-prev {
	left: 24px;
}

.header-slider-nav-next {
	right: 24px;
}

.header-slider-dots {
	position: absolute;
	right: 0;
	bottom: 22px;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.header-slider-dot {
	width: 14px;
	height: 14px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-slider-dot:hover,
.header-slider-dot:focus {
	background-color: #ffffff;
}

.header-slider-dot.is-active {
	background-color: #f5d022;
	transform: scale(1.15);
}

@media (max-width: 767.98px) {
	/*
	 * Auf schmalen Bildschirmen nutzt die Box die volle Breite,
	 * left/center/right fallen hier deshalb zusammen.
	 */
	.header-slide-content {
		padding: 46px 54px;
	}

	.header-slide-box {
		max-width: none;
		padding: 16px 18px;
	}

	.header-slide-box p {
		margin-bottom: 12px;
		font-size: 1.05rem;
		line-height: 1.5;
	}

	.header-slide-box-left,
	.header-slide-box-center,
	.header-slide-box-right {
		margin-left: 0;
		margin-right: 0;
	}

	.header-slider-nav {
		width: 36px;
		height: 36px;
	}

	.header-slider-nav-prev {
		left: 10px;
	}

	.header-slider-nav-next {
		right: 10px;
	}

	.header-slider-dots {
		bottom: 16px;
		gap: 10px;
	}

	.header-slider-dot {
		width: 12px;
		height: 12px;
	}
}

/* Mobil: Headerbild und Slides linksbündig statt zentriert anschneiden */
@media (max-width: 991.98px) {
	.header-image,
	.header-slide {
		background-position: left center;
	}
}
