@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,400i,500,500i,700,700i");

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #efefef;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #222 #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: #222222;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a,
a:is(:hover, :focus) {
	color: #222222;
}

a:is(:hover, :focus),
:is(#content, #header-slogan, #about) a {
	text-decoration: underline;
}

b,
strong {
	font-weight: 700;
}

/* ------------------------------------------- logo --------------------------------------------- */

#topbar {
	padding: 20px 0 30px 0;
	background: #fff;
   position: relative;
}
#topbar::after {
   content: '';
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   height: 10px;
   background: linear-gradient(to bottom, #222222 50%, #f00 50%);
}

#topbar .row {
   max-width: 1600px;
   width: 100%;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
   justify-content: space-between;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #222;
	font-size: clamp(1.25rem, 2.5vw, 2.1875rem);
   flex-grow: 1;
	line-height: 1.1;
   font-weight: 500;
   text-align: left;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #222;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #ffffff;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		transform: rotate(-45deg) translate(-6px, 6px);
	}

	#burgerButton[aria-expanded="true"]::before {
		opacity: 0;
	}

	#burgerButton[aria-expanded="true"]:after {
		transform: rotate(45deg) translate(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

	#burgerButton::before {
		top: 24px;
		content: "";
	}

	#burgerButton::after {
		top: 32px;
		content: "";
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #fff;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		overflow-y: auto;
		transition:
			left 300ms linear,
			opacity 300ms linear,
			box-shadow 600ms linear;
		box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
	}

	.navbar-collapse:is([aria-expanded="true"], .in) {
		left: 0;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
		box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

	.dropdown-toggle-button-wrapper {
		top: 7px;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 4px;
	}
}

/* menu desktop */

@media (min-width: 992px) {

	nav.horizontally {
		padding: 15px 0;
		max-width: 1930px;
		width: 100%;
		z-index: 101;
		background: #fff;
      border-bottom: 2px solid #fff;
	}

	.is-sticky nav.horizontally {
      border-color: #efefef;
	}

	nav.horizontally > .row {
		width: 100%;
		max-width: 1600px;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		flex-grow: 1;
		gap: 0 20px;
	}

	nav.horizontally .navbar-nav ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav li {
		position: relative;
	}

	nav.horizontally .navbar-nav li:is(.open:focus-within, :hover) > ul,
	nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
	}

	nav.horizontally .navbar-nav li:is(:hover, :focus-within) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #222222;
	font-weight: 700;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 10px 0;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	border-radius: 10px;
	background-color: #222222;
	opacity: 0;
	transition:
		opacity 300ms linear,
		width 300ms linear;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open > a::before,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::before {
	opacity: 1;
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #fff;
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		padding: 10px 0;
	}
   nav.horizontally [class*="secondlevel"] > ul {
      margin: 10px;
   }
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 10px;
		left: 50%;
		transform: translate(-50%, 0);
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin-top: -18px;
		margin-left: 10px;
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		height: 10px;
		left: 0;
		right: 0;
		top: -10px;
	}

	nav.horizontally [class*="secondlevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #222222;
	font-weight: 400;
	text-align: center;
	padding: 12px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
	}

	nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
		padding-right: 35px;
	}
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
	background: #222222;
	color: #ffffff;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* -------------------------------------------- search ------------------------------------------ */

#search-button {
	display: inline-block;
	background: url("../img/icon-suche.png") no-repeat;
	height: 42px;
}

@media (max-width: 991px) {
	#search-button {
		background-position: bottom center;
		height: 62px;
		width: 100%;
		margin-bottom: 20px;
		border-top: 1px solid #222222;
	}
}

@media (min-width: 992px) {
	#search-button {
		background-position: center right;
		width: 62px;
		margin-left: 40px;
		border-left: 1px solid #222222;
	}
}

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
	max-height: clamp(300px, 42vw, 400px);
	position: relative;
}

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 62vw, 700px);
	}

	#headerpic a.nivo-prevNav {
		left: 65px;
	}

	#headerpic a.nivo-nextNav {
		right: 65px;
	}
}

#headerpic {
	padding: 0;
	position: relative;
}

@media (min-width: 768px) {
	#headerpic {
		padding: 0;
		position: relative;
		background: #000;
	}

	#headerpic .slick-sr-only {
		color: #ffffff;
	}
}

.slider-wrapper,
#slider {
	height: 100%;
}

.slider-mask {
	display: none;
}

#header-slogan :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
}

@media (max-width: 767px) {
	#header-slogan {
		padding: 30px 0;
	}
}

@media (min-width: 768px) {
	.slider-mask {
		display: block;
		background: rgba(0, 0, 0, 0);
	}

	#header-slogan {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 80px;
		z-index: 20;
		font-size: 1.5625rem;
	}

	#header-slogan,
	#header-slogan * {
		color: #ffffff;
	}
}

/* ------------------------------------------------ @1tab ----------------------------------------------- */

#tab1 {
	padding: 35px 0;
	font-size: 1rem;
	background: #efefef;
}

#tab1 > .row {
	row-gap: 30px;
}

#tab1 :is(h1, h2, h3, h4, h5, h6) {
   hyphens: auto;
}

#tab1 .tab {
   background: #fff;
   border: 1px solid #222;
   height: 100%;
}

#tab1 img {
	margin: 0 -15px 20px -15px;
	width: calc(100% + 30px);
	max-width: calc(100% + 30px);
	display: block;
}

#tab1 :is(.template-page, .tab_link),
#tab1 > .row > * > h2 {
	padding-left: 15px;
	padding-right: 15px;
}

#tab1 :is(.tab_link, .button-style .tab) {
	padding-bottom: 60px;
}

#tab1 .tab_link_title a {
	font-weight: 700;
	color: inherit;
}

#tab1 .tab_spacer {
	height: 15px;
}

#tab1 .button-style .template-page :is(.row, .row > *) {
	position: static;
}

#tab1 :is(.tab_link_mehr, .button-style) a {
	position: absolute;
	bottom: 15px;
	right: 30px;
}

/* ---------------------------------------- button design --------------------------------------- */

.button-style a:not(.has-image),
#tab1 .tab_link_mehr a {
	display: inline-block;
	border: 1px solid #222;
	font-size: 0.875rem;
	line-height: 1.2;
   font-weight: 700;
	text-decoration: none;
   color: #222;
	padding: 8px 10px 6px 10px;
   transition: background 200ms linear, color 200ms linear, border-color 200ms linear;
}

:is(.button-style a:not(.has-image), #tab1 .tab_link_mehr a):is(:hover, :focus) {
	color: #222;
   border-color: #e30512;
}

#tab1 .tab_link_mehr {
	font-size: 0;
}

/* white button */

#breed .button-style.button-style-light a:not(.has-image) {
	color: #ffffff;
	border-color: #ffffff;
	font-size: inherit;
	padding: 10px 15px 8px 15px;
}

#breed .button-style.button-style-light a:not(.has-image):is(:hover, :focus) {
	background: #ffffff;
	color: #222;
}

/* ------------------------------------------- content ------------------------------------------ */

#content {
	text-align: left;
	padding-bottom: clamp(30px, 4vw, 60px);
	padding-top: clamp(30px, 4vw, 60px);
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #222222;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Open Sans", sans-serif;
}

h1,
.h1,
.legacy_h1,
#header-slogan :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.875rem, 4vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.875rem, 3.5vw, 2.5rem);
}

h3,
.h3,
.legacy_h3,
#tab1 :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.6875rem, 3vw, 2.1875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.625rem, 2.5vw, 1.875rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: 1.5625rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}

/* -------------------------------------------- breed ------------------------------------------- */

#breed {
	padding: 40px 0;
	background: #e30512;
   background-position: center;
   background-size: cover;
}

#breed,
#breed * {
	color: #ffffff;
}

/* -------------------------------------------- about ------------------------------------------- */

#about {
	row-gap: 30px;
	padding: 50px 0;
}

/* #region ----------------------------------- footer ------------------------------------------- */

footer {
	background: #fff;
	padding: 10px 0;
	font-size: 1rem;
   border-top: 2px solid #222;
}

footer > .row {
	row-gap: 30px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: block;
}

#innerfooter a {
	padding: 2px;
	color: inherit;
	text-decoration: none;
	display: inline-block;
   color: #222;
}

#innerfooter a:is(:hover, :focus) {
	color: #222;
	text-decoration: underline;
}

@media (min-width: 576px) {
	#innerfooter li + li {
		margin-left: 26px;
	}

	#innerfooter li {
		display: inline-block;
	}
}

/* #endregion -------------------------------- footer ------------------------------------------- */

/* ------------------------------------------ vernetzt ------------------------------------------ */

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.875rem;
	color: inherit;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
   color: #222;
}

#vernetzt span span {
	display: block;
}

#vernetzt strong {
	color: #222;
}
