@import url('styles.css');

html,
body {
	height: 100%;
	hyphens: auto;
}

body {
	color: var(--zweitfarbe);
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
}

a {}

a:hover {}

h1,
.h1 {
	color: var(--zweitfarbe);
	font-size: 52px;
}

h2,
.h2 {
	font-size: 44px;
}

h3,
.h3 {
	font-size: 36px;
}

h4,
.h4 {}

.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),
.visually-hidden:not(caption) {
	position: absolute !important;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.skippy {
	background-color: var(--weiss);
}

#cc--main {
	z-index: 99 !important;
}

.fw-bold {
	font-weight: 500 !important;
}

/*------------------------------------*\
  #SEITENHEADER
\*------------------------------------*/
#seitenheader {
	background: var(--grau);
}

.logo-nav-wrap {
	padding: 10px 0;
}

.logo img {
	width: 200px;
	height: auto;
}

/*------------------------------------*\
  #CONTENT
\*------------------------------------*/
main {}

/*------------------------------------*\
  #LINKS
  Normal: ohne Unterstreichung, Pfeil in Textfarbe
  Hover:  rote Linie nur unter dem Text, Pfeil rot
\*------------------------------------*/
main a,
footer a,
.news-list-view .news-list-item a {
	color: var(--zweitfarbe);
	text-decoration: none;
}

main a {
	text-decoration: underline;
	text-decoration-color: var(--rot);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

main a:hover,
main a:focus-visible,
footer a:hover,
footer a:focus-visible {
	color: var(--rot);
	text-decoration: underline;
	text-decoration-color: var(--rot);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	text-decoration-skip-ink: none;
}

main a::after,
footer a::after {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\f285";
	margin-left: 8px;
	vertical-align: middle;
	font-size: 0.8em;
	transition: transform 0.2s ease-in-out;
}

main a:hover::after,
main a:focus-visible::after,
footer a:hover::after,
footer a:focus-visible::after {
	color: var(--rot);
}

/* E-Mail-Links: dauerhaft unterstrichen, ohne Pfeil, Hover rote Linie */
main a[href^="mailto:"],
footer a[href^="mailto:"] {
	text-decoration: underline;
	text-decoration-color: var(--zweitfarbe);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	text-decoration-skip-ink: none;
}

main a[href^="mailto:"]:hover,
main a[href^="mailto:"]:focus-visible,
footer a[href^="mailto:"]:hover,
footer a[href^="mailto:"]:focus-visible {
	text-decoration-color: var(--rot);
}

main a[href^="mailto:"]::after,
footer a[href^="mailto:"]::after {
	content: none;
}

/* Headerslider: unverändert dauerhaft rot unterstrichen, Pfeil rot */
.cb-headerslider-item-bild a {
	color: var(--weiss);
	border-bottom: 1px solid var(--rot);
	text-decoration: none;
}

.cb-headerslider-item-bild a:hover,
.cb-headerslider-item-bild a:focus-visible {
	color: var(--weiss);
	text-decoration: none;
}

.cb-headerslider-item-bild a::after {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\f285";
	color: var(--rot);
	margin-left: 8px;
	vertical-align: middle;
	font-size: 0.8em;
	transition: transform 0.2s ease-in-out;
}

/* Bild-Links ohne Pfeil */
.ce-gallery a::after,
.news .news-list-view .news-list-item a::after {
	content: unset;
}

/* News-Liste: "mehr lesen" (Link direkt nach dem Teaser) mit Pfeil */
.news .news-list-view .news-list-item .lead+a::after,
.news-list-view .news-list-item .lead+a::after {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\f285";
	margin-left: 8px;
	vertical-align: middle;
	font-size: 0.8em;
	transition: transform 0.2s ease-in-out;
}

/*------------------------------------*\
  #BUTTONS (Kasten mit weißem Rahmen)
  Linkbox, Infobox und Content Block "Button"
  Markup: .bottom-content > a.lutz-btn-link > span.lutz-btn-box > span.lutz-btn-label + i.bi
\*------------------------------------*/
.bottom-content {
	display: inline-block;
	background-color: #1a3a8a;
	border: 2px solid var(--weiss);
	color: var(--weiss);
	font-weight: 500;
}

.bottom-content a,
.bottom-content a:hover,
.bottom-content a:focus-visible {
	display: block;
	padding: 12px 25px;
	color: var(--weiss);
	border-bottom: 0;
	text-decoration: none;
}

.bottom-content a:hover,
.bottom-content a:focus-visible {
	background: var(--weiss);
}

.bottom-content a::after {
	content: unset;
}

.bottom-content .lutz-btn-box i {
	color: var(--weiss);
}

.bottom-content .lutz-btn-label {
	text-decoration: none;
}

.bottom-content a:hover .lutz-btn-label,
.bottom-content a:focus-visible .lutz-btn-label {
	color: var(--rot);
}

.bottom-content a:hover .lutz-btn-box i,
.bottom-content a:focus-visible .lutz-btn-box i {
	color: var(--rot);
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
footer {
	background: var(--grau);
	border-top: 3px solid #ccc;
	padding-top: 30px;
}

.footer-logo img {
	width: 80%;
	height: auto;
}

footer a:hover {
	text-decoration: none;
}

/*------------------------------------*\
  #TYPO3
\*------------------------------------*/
p {
	margin-bottom: 20px;
}

strong {
	font-weight: 600;
}

.container-check .container {
	padding-left: 0;
	padding-right: 0;
}

.frame-type-b13-grauer-hintergrund {
	background: var(--grau);
	padding: 30px 30px 15px 30px;
}

.frame-space-before-extra-small {
	margin-top: 20px;
}

.frame-space-before-small {
	margin-top: 40px;
}

.frame-space-before-medium {
	margin-top: 60px;
}

.frame-space-before-large {
	margin-top: 80px;
}

.frame-space-before-extra-large {
	margin-top: 100px;
}

.frame-space-after-extra-small {
	margin-bottom: 20px;
}

.frame-space-after-small {
	margin-bottom: 40px;
}

.frame-space-after-medium {
	margin-bottom: 60px;
}

.frame-space-after-large {
	margin-bottom: 80px;
}

.frame-space-after-extra-large {
	margin-bottom: 100px;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.error {
	color: red;
	font-size: 20px;
	font-weight: bold;
}

.ce-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

figcaption {
	font-size: 16px;
	display: inline-block !important;
	margin-top: 5px;
	text-align: center;
	line-height: 1.4;
	width: 100%;
}

/*------------------------------------*\
  #FORMULAR
\*------------------------------------*/
.frame-type-form_formframework .form-group {
	margin-bottom: 20px;
}

.frame-type-form_formframework .submit button {
	border-color: var(--hauptfarbe);
	background: var(--hauptfarbe);
}

.frame-type-form_formframework .submit:hover button {
	border-color: var(--dunkelgrau);
	background: var(--dunkelgrau);
}

.frame-type-form_formframework textarea {
	min-height: 100px;
}

.frame-type-form_formframework .input.checkbox {
	background: var(--grau);
	padding-bottom: 1px;
}

.frame-type-form_formframework .input.checkbox .form-check {
	padding-left: 10px;
}

.frame-type-form_formframework .captcha a {
	border-bottom: none;
}

.frame-type-form_formframework .captcha a::after {
	content: unset;
}

.frame-type-form_formframework .form-group:nth-child(6) {
	margin-top: 20px;
}

.frame-type-form_formframework a,
.frame-type-form_formframework a:hover,
.frame-type-form_formframework a:focus-visible {
	border-bottom: 0;
	text-decoration: none;
}

.frame-type-form_formframework a::after {
	content: unset;
}

.frame-type-form_formframework i {
	color: var(--rot);
}

.frame-type-form_formframework i:hover {
	color: var(--hauptfarbe);
}

/*------------------------------------*\
  #2-KLICK
\*------------------------------------*/
.map {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.map .privacy-msg.privacy-map-msg {
	background-image: url(/typo3conf/ext/baur_minikran/Resources/Public/Images/Template/Mapdummy.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	width: 100% !important;
}


.map .privacy-msg.privacy-map-msg::after {
	content: "© OpenStreetMap contributors";
	position: absolute;
	left: 15px;
	bottom: 0;
}

.map .privacy-msg.privacy-map-msg p {
	background: rgb(0, 0, 0, 0.8);
	width: 90%;
	position: absolute;
	margin-top: 50px;
	margin-left: 5%;
	color: #fff;
	padding: 10px 20px;
	text-align: center;
}

.privacy-msg.privacy-script-msg {
	position: relative;
}

.privacy-msg.privacy-script-msg p {
	background: rgb(0, 0, 0, 0.8);
	width: 100%;
	position: relative;
	margin-top: 0;
	margin-left: 0;
	color: #fff;
	font-size: 14px;
	padding: 10px 20px;
	text-align: center;
	z-index: 99;
}

[data-eobp-media="desktop"] .eobp {
	margin: 15px 0 !important;
}

.map iframe {
	width: 100%;
	margin-bottom: -6px;
}

.privacy-msg.privacy-script-msg a,
.privacy-msg.privacy-map-msg a {
	color: #a90015;
}

.privacy-msg a.btn {
	background: #eee;
	border-color: #eee;
	color: #fff;
	margin-top: 20px;
	margin-bottom: 20px;
}

.privacy-msg.privacy-script-msg p a,
.privacy-msg.privacy-map-msg p a {
	color: #fff;
	text-decoration: underline;
}

.privacy-map-msg p a.btn {
	text-decoration: none;
	color: #000;
}

/* OpenStreetMap mit 2-Klick-Freigabe */
.map {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--grau);
}

.map .privacy-msg.privacy-map-msg {
	position: relative;
	width: 100%;
	background-image: none;
	background-color: var(--grau);
}

.map iframe {
	display: block;
	width: 100%;
	height: 450px;
	margin: 0;
	border: 0;
}

/* Hinweis vor dem Aktivieren */
.map .privacy-msg.privacy-map-msg>p {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 40px);
	max-width: 760px;
	margin: 0;
	padding: 25px 30px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 3px solid var(--rot);
	color: var(--zweitfarbe);
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
}

.map .privacy-msg.privacy-map-msg>p a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--rot);
	text-underline-offset: 4px;
}

.map .privacy-msg.privacy-map-msg>p a:hover {
	color: var(--rot);
}

/* Karte aktivieren */
.map .privacy-msg.privacy-map-msg>p a.btn {
	display: table;
	margin: 20px auto 0;
	padding: 10px 24px;
	background: var(--rot);
	border: 1px solid var(--rot);
	border-radius: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.map .privacy-msg.privacy-map-msg>p a.btn:hover,
.map .privacy-msg.privacy-map-msg>p a.btn:focus-visible {
	background: var(--zweitfarbe);
	border-color: var(--zweitfarbe);
	color: #fff;
}

/* Allgemeine Link-Pfeile im Kartenhinweis ausblenden */
.map .privacy-msg.privacy-map-msg>p a::after {
	content: none;
}

/* Die geladene Karte zeigt ihre eigene Quellenangabe */
.map .privacy-msg.privacy-map-msg::after {
	content: none;
}

@media (max-width: 575.98px) {
	.map iframe {
		height: 500px;
	}

	.map .privacy-msg.privacy-map-msg>p {
		width: calc(100% - 24px);
		padding: 20px 16px;
		font-size: 14px;
	}
}

/*------------------------------------*\
  #NEWS
\*------------------------------------*/
.news .row.news-list-item {
	border-top: 1px solid var(--rot);
	padding-top: 25px;
	padding-bottom: 25px;
}

.news .row.news-list-item:last-child {
	border-bottom: 1px solid var(--rot);
}

.news h3 {
	font-size: 28px;
	line-height: 1.6;
}

.news h3 a,
.news h3 a:hover,
.news h3 a:focus-visible {
	border-bottom: none;
	text-decoration: none;
}

/* News-Liste: Bild-Link behält die bisherige rote Linie */
.news-list-view .news-list-item .col-md-3 a {
	border-bottom: 1px solid var(--rot);
}

.news-list-view .news-list-item .col-md-3 a:hover {
	text-decoration: none;
}

.news .news-list-view .news-list-item.m-0 img,
.news.news-single img {
	width: 100%;
	height: auto;
}

.news.news-single a.btn {
	background: var(--hauptfarbe);
	padding: 15px 25px;
}

.news.news-single a.btn:hover {
	text-decoration: none;
	background: var(--weiss);
	border: 1px solid var(--hauptfarbe);
	padding: 15px 25px;
}

.news.news-single a {
	color: var(--weiss);
}

.news.news-single a:hover {
	color: var(--hauptfarbe);
}

.news.news-single a.btn::before {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\f284";
	color: var(--rot);
	margin-left: 0;
	vertical-align: middle;
	font-size: 18px;
	transition: transform 0.2s ease-in-out;
	margin-top: -2px;
	margin-right: 5px;
}

.news.news-single a.btn::after {
	content: unset;
}

/*------------------------------------*\
  #ACCORDION
\*------------------------------------*/
.accordion .accordion-item .accordion-header .openclose::after {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\F282";
	color: var(--rot);
	margin-right: 8px;
	vertical-align: middle;
	font-size: 0.8em;
	transition: transform 0.2s ease-in-out;
}

.accordion .accordion-item .accordion-header .collapsed .openclose::after {
	display: inline-block;
	font-family: "bootstrap-icons";
	content: "\f285";
	color: var(--rot);
	margin-right: 8px;
	vertical-align: middle;
	font-size: 0.8em;
	transition: transform 0.2s ease-in-out;
}

.accordion .accordion-item .accordion-header {
	background: var(--grau);
	padding: 5px 15px;
}

.accordion .accordion-item {
	border: none;
}

/*------------------------------------*\
  #BACK-TO-TOP
\*------------------------------------*/
.back-to-top {
	position: fixed;
	bottom: 100px;
	right: 20px;
	line-height: 1;
	padding: 10px;
	z-index: 100;
}

.back-to-top div {
	background-size: contain;
	width: 50px;
	height: 50px;
}

a:hover.back-to-top div {}

.back-to-top div {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--hauptfarbe);
	color: #fff;
	border-radius: 50%;
}

.back-to-top div::before {
	content: "";
	width: 14px;
	height: 14px;
	border-top: 3px solid var(--weiss);
	border-left: 3px solid var(--weiss);
	transform: translateY(4px) rotate(45deg);
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1899.98px) {}

@media (max-width: 1599.98px) {}

@media (max-width: 1100.98px) {}

@media (max-width: 991.98px) {
	.container {
		max-width: 100%;
	}

	h1,
	.h1 {
		font-size: 34px;
	}

	h2,
	.h2 {
		font-size: 30px;
	}

	h3,
	.h3 {
		font-size: 26px;
	}
}

@media (max-width: 767.98px) {
	body {
		font-size: 18px;
	}

	h1,
	.h1 {
		font-size: 30px;
	}

	h2,
	.h2 {
		font-size: 26px;
	}

	h3,
	.h3 {
		font-size: 22px;
	}

	.footer-logo {
		margin-bottom: 30px;
	}

	.footer-logo img {
		width: 200px;
		height: auto;
	}

	.ce-intext .ce-gallery {
		margin-left: 0;
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.logo-nav-wrap {
		padding: 5px 0;
	}

	.logo img {
		width: 120px;
		height: auto;
	}
}