@import url('styles.css');

html,
body {
	height: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.8;
}

a {}

a:hover {
	text-decoration: none;
}

h1,
.h1 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 15px;
}

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

h3,
.h3 {}

h4,
.h4 {}

.container-schmal {
	max-width: 576px;
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0;
	width: 100%;
	padding-right: calc(var(--bs-gutter-x) * .5);
	padding-left: calc(var(--bs-gutter-x) * .5);
	margin-right: auto;
	margin-left: auto;
}

/*------------------------------------*\
  #SEITENHEADER
\*------------------------------------*/
.top-wrap {
	background: var(--mm-primary);
	color: var(--weiss);
	font-size: 18px;
	height: 80px;
	display: flex;
	align-items: center;
}

.top-wrap .container {
	display: flex;
	justify-content: space-between;
}

.top-wrap .top-wrap-kontakt {
	display: flex;
}

.top-wrap-kontakt .top-wrap-kontakt-telefon {
	margin-right: 20px;
}

.top-wrap-kontakt span {
	margin-left: 5px;
}

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

.logo img {
	width: 100%;
	height: auto;
}

/* Header = Flex-Wrapper, füllt den Viewport */
.seitenheader-startseite {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	/* Fallback */
	min-height: 100dvh;
	margin-bottom: 60px;
}

/* Kopfbild nimmt den Restplatz zwischen Nav und Counter */
.kopfbild-startseite {
	flex: 1 1 auto;
	min-height: 0;
	position: relative;
	overflow: hidden;
}

/* Bild füllt die variable Fläche, statt die Höhe vorzugeben */
.kopfbild-startseite picture {
	position: absolute;
	inset: 0;
}

.kopfbild-startseite picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.seitenheader-startseite .stats-bar {
	background: var(--mm-primary);
}

.stats-bar .stats-number {
	font-size: 48px;
	font-weight: 600;
	line-height: 1;
}

.stats-bar .stats-label {
	font-size: 18px;
	font-weight: 300;
	text-transform: uppercase;
}

/* Frame unten über das Bild legen, volle Breite für den Container */
.kopfbild-startseite .frame-type-html {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4rem;
	z-index: 1;
	margin: 0;
}

/* Textblock: begrenzte Breite, dunkle Fläche */
.kopfbild-text-wrap {
	max-width: 620px;
	background: rgba(0, 0, 0, .7);
	color: #fff;
	padding: 1.25rem 1.75rem 1.5rem;
}

.kopfbild-text-zeile-1 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: .5rem;
}

.kopfbild-text-zeile-2 {
	font-size: 48px;
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: .75rem;
}

.kopfbild-text-zeile-3 {
	font-size: 1rem;
}

.seitenheader-contentseite {
	border-bottom: 10px solid var(--mm-primary);
	margin-bottom: 60px;
}

/*------------------------------------*\
  #CONTENT
\*------------------------------------*/
main {
	hyphens: auto;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
footer {
	background: var(--mm-primary);
	color: var(--weiss);
	font-size: 20px;
	line-height: 1.4;
	padding-top: 60px;
}

footer a {
	color: var(--weiss);
}

footer.footer #c12 img {
	width: 280px;
	height: auto;
}

#c13,
#c16 {
	text-align: right;
}

.footer-rechtliches .container #c14 {
	border-top: 1px solid var(--weiss);
	padding-top: 20px;
}

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

strong {
	font-weight: 600;
}

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

.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;
}

.frame-bg-hintergrund-grau {
	background: var(--hellgrau);
	padding-top: 60px;
	padding-bottom: 20px;
}

.frame-hintergrund-grau.frame-type-text {
	background: var(--hellgrau);
	padding: 15px 15px 1px 15px;
}

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

.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;
}

figure.image {
	position: relative;
}

figure.image figcaption.image-caption {
	background: rgba(0, 0, 0, 0.6);
	color: var(--weiss);
	bottom: 0;
	left: 0;
	font-size: 16px;
	padding: 10px 15px;
	position: absolute;
}

.fehlerseite {
	text-align: center;
	padding: 6rem 0;
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.fehlerseite-code {
	font-size: 7rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .05em;
	margin-bottom: 1rem;
}

.fehlerseite-titel {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.fehlerseite-text {
	font-size: 1.1rem;
	max-width: 520px;
	margin: 0 auto 2.5rem;
	line-height: 1.7;
}

.fehlerseite-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.fehlerseite-btn-primary {
	background: var(--mm-primary);
	color: var(--weiss);
	padding: .75rem 2rem;
	font-weight: 600;
}

.fehlerseite-btn-sekundaer {
	background: transparent;
	border: 2px solid var(--mm-primary);
	padding: .75rem 2rem;
	font-weight: 600;
}

.fehlerseite-btn-primary:hover {
	background: var(--mm-hover);
	color: var(--weiss);
}

.fehlerseite-btn-sekundaer:hover {
	background: var(--weiss);
	color: var(--hauptfarbe);
}

@media (max-width: 767.98px) {
	.fehlerseite {
		padding: 4rem 0;
	}

	.fehlerseite-code {
		font-size: 5rem;
	}

	.fehlerseite-titel {
		font-size: 1.5rem;
	}
}

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

.map .privacy-msg.privacy-map-msg {
	background-image: url(/typo3conf/ext/muehlberg_mair/Resources/Public/Images/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: 0;
	bottom: 0;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.7);
	padding: 2px 5px;
}

.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;
}


/*------------------------------------*\
  #FORMULAR
\*------------------------------------*/


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

@media (max-width: 1199.98px) {
	.stats-bar .stats-number {
		font-size: 36px;
	}

	.stats-bar .stats-label {
		font-size: 16px;
	}
}

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

	footer {
		font-size: 16px;
	}

	.container {
		max-width: 100%;
	}

	.seitenheader-startseite {
		min-height: auto;
	}

	.kopfbild-startseite {
		min-height: 70vh;
	}

	.top-wrap {
		font-size: 16px;
	}

	.top-wrap .container {
		flex-direction: column;
	}

	.menu-burger {
		position: fixed;
		top: 10px;
		right: 30px;
	}

	.logo {
		text-align: center;
	}

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

	.map .privacy-msg.privacy-map-msg p {
		font-size: 18px;
		margin-top: 10px;
		padding: 5px 5px;
		line-height: 1.6;
	}
}


@media (max-width: 767.98px) {

	#c13,
	#c16 {
		text-align: left;
	}

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

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

	.kopfbild-text-zeile-2 {
		font-size: 36px;
	}

	.stats-bar .stats-number {
		font-size: 24px;
	}

	.stats-bar .stats-label {
		line-height: 1.4;
	}

	.top-wrap {
		height: 60px;
	}
}

@media (max-width: 575.98px) {
	.top-wrap {
		font-size: 20px;
	}

	.top-wrap-slogan,
	.top-wrap-kontakt-telefon span,
	.top-wrap-kontakt-email span {
		display: none;
	}

	#c6 .container {
		padding: 0 !important;
	}

	.menu-burger {
		right: 10px;
	}

	button.menu-burger i {
		font-size: 36px;
	}

	.kopfbild-startseite .frame-type-html {
		right: unset;
		bottom: 0;
	}

	.kopfbild-text-wrap {
		padding: 10px;
	}

	.kopfbild-text-zeile-1 {
		font-size: 14px;
	}

	.kopfbild-text-zeile-2 {
		font-size: 24px;
	}

	.kopfbild-text-zeile-3 {
		display: none;
	}

	.counter-item-2 {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.border-opacity-25 {
		--bs-border-opacity: 0;
	}
}