@import url('styles.css');

html,
body {
	height: 100%;
}

body {
	color: var(--primaer);
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 26px;
	overflow-x: hidden;
}

a {
	color: var(--primaer);
}

a:hover {}

h1,
.h1,
h2,
.h2 {
	font-family: 'Prata', serif;
	font-size: 50px;
	line-height: 60px;
	margin-bottom: 25px;
}

h3,
.h3 {
	font-family: 'Prata', serif;
	font-size: 40px;
	line-height: 54px;
	font-weight: 400;
}

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

.container {
	max-width: 800px;
}

.container-1512 {
	max-width: 1512px;
	margin-left: auto;
	margin-right: auto;
}

/*------------------------------------*\
  #SEITENHEADER
\*------------------------------------*/
#seitenheader {
	margin-bottom: 100px;
}

.logo {
	margin-top: 50px;
	margin-left: 50px;
}

.hero-video {
	height: 100vh;
}

.hero-video::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40%;
	background: rgb(48, 54, 55);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 80%);
	z-index: 1;
}

.copyright {
	color: var(--weiss);
	background: rgb(0, 0, 0, 0.4);
	border-radius: 20px;
	font-size: 14px;
	height: 20px;
	padding: 3px 10px;
	bottom: 20px;
	right: 20px;
	line-height: 1;
	transform: rotate(90deg);
	transform-origin: bottom right;
	z-index: 9;
}

.back-button {
	margin-top: 40px;
	margin-right: 30px;
}

.back-button a.btn {
	background: var(--weiss);
	color: var(--primaer);
	border-radius: 50px;
	font-size: 20px;
	font-weight: 700;
	padding: 12px 15px;
	min-width: 175px;
}

.back-button a.btn:hover {
	background: var(--sekundaer);
	color: var(--weiss);
}

#seitenheader .back-button i {
	margin-right: 15px;
}

#c9 .cb-asyncbildtext-wrap a.btn {
	margin-top: 10px !important;
	border-radius: 50px;
	font-size: 20px;
	font-weight: 700;
	padding: 12px 15px;
	min-width: 175px;
}

/*------------------------------------*\
  #CONTENT
\*------------------------------------*/
.karte {
	margin-bottom: -150px;
	position: relative;
	z-index: 1;
}

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

iframe#newsletter {
	width: 100%;
	min-height: 1200px;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
footer {
	position: relative;
	z-index: 2;
}

footer .footer-top {
	background: url(/typo3conf/ext/schwimmwerk_memmingen/Resources/Public/Images/Template/bg-footer.svg);
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--weiss);
	height: 350px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

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

footer .footer-bottom {
	padding-top: 10px;
	text-align: right;
}

footer .footer-bottom a {
	color: var(--primaer);
	font-size: 16px;
}

.standard.wide {
	width: 100%;
	/* padding-right: calc(var(--bs-gutter-x) * .5);
	padding-left: calc(var(--bs-gutter-x) * .5);
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0; */
}

#c29 {
	margin-top: 140px;
}

#c29 a.btn {
	background: var(--weiss);
	color: var(--primaer);
	border-radius: 50px;
	font-size: 20px;
	font-weight: 700;
	padding: 12px 15px;
	min-width: 175px;
}

#c29 a.btn:hover {
	background: var(--sekundaer);
	color: var(--weiss);
}

#c23 .cb-asyncbildtext-wrap.text-start {
	margin-bottom: 50px;
	width: 800px;
}

#c28 a.btn {
	margin-top: 10px !important;
	border-radius: 50px;
	font-size: 20px;
	font-weight: 700;
	padding: 12px 15px;
	min-width: 175px;
}

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

strong {
	font-weight: 600;
}

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

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

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

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

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

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

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

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

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

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

.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;
	margin-top: 5px;
	text-align: center;
	line-height: 1.4;
	width: 100%;
}

.frame-grauerhintergrund {
	background: #eee;
	border-radius: 20px;
	padding: 20px 20px 10px 20px;
	min-height: auto;
}

/*------------------------------------*\
  #FORMULAR
\*------------------------------------*/
.email-cta {
	--stroke: #6b8185;
	/* Rand/Trennlinie */
	--button: #6b8185;
	/* Button-Hintergrund */
	--placeholder: #9aa9ad;
	--ring: rgba(107, 129, 133, .25);

	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	width: min(100%, 420px);
	border: 1.5px solid var(--stroke);
	border-radius: 9999px;
	overflow: hidden;
	box-sizing: border-box;
	font: 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	margin: 25px 0 0 0;
}

.email-cta input {
	border: 0;
	outline: none;
	background: transparent;
	padding: .7rem 1rem;
	min-height: 44px;
	width: 100%;
}

.email-cta input::placeholder {
	color: var(--placeholder);
}

/* runder Pfeil-Button rechts */
.email-cta button {
	border: 0;
	color: #fff;
	background: var(--button);
	width: 46px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	/* vertikale Trennlinie wie im Bild */
	box-shadow: inset 1.5px 0 0 var(--stroke);
	transition: transform .12s ease, filter .2s ease;
}

.email-cta button:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.email-cta button:active {
	transform: none;
}

.email-cta:focus-within {
	box-shadow: 0 0 0 4px var(--ring);
}

/* A11y: Label verstecken, aber für Screenreader behalten */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

footer .email-cta {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #fff;
}

footer .email-cta input::placeholder {
	color: var(--weiss);
}

/*------------------------------------*\
  #NEWS
\*------------------------------------*/
.cb-bautagebuch-wrap a.btn {
	background: var(--primaer);
	color: var(--weiss);
	border-radius: 50px;
	font-weight: 700;
}

.swiper-wrapper {
	padding-bottom: 100px;
}

.swiper-slide .swiper-slide-bild img {
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	width: 100%;
	height: auto;
}

.swiper-slide {
	height: auto;
}

.swiper-slide .swiper-slide-item {
	background: var(--primaer);
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.news .news-list-view .swiper-slide-item .swiper-slide-bild {
	position: relative;
}

.news.news-single .article .thumbnail {
	position: relative;
}

.swiper-slide .swiper-slide-item-textbereich {
	color: var(--weiss);
	padding: 20px;
}

.swiper-slide .swiper-slide-item-textbereich .swiper-slide-ueberschrift {
	font-size: 20px;
	font-weight: 700;
}

.swiper-slide .swiper-slide-item-textbereich .swiper-slide-datum {
	margin-bottom: 25px;
}

.swiper-slide .swiper-slide-item-textbereich .swiper-slide-datum,
.swiper-slide .swiper-slide-item-textbereich .swiper-slide-text {
	font-size: 16px;
	font-weight: 400;
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
	top: unset;
	bottom: 50px;
	z-index: 0;
}

.swiper-button-next,
.swiper-button-prev {
	top: calc(100% - 51px);
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
	width: calc(100% - 180px);
	left: 90px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	display: inline-block;
	color: var(--primaer);
	font-family: bootstrap-icons !important;
	font-style: normal;
	font-weight: normal !important;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	vertical-align: -.125em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.swiper-button-next::after {
	content: "\f134";
}

.swiper-button-prev::after {
	content: "\f12a";
}

.swiper-slide-link {
	padding: 20px;
}

.swiper-slide-link a.btn {
	background: var(--weiss);
	color: var(--primaer);
	border-radius: 50px;
	font-weight: 700;
	min-width: 175px;
	padding: 8px 5px;
}

.swiper-slide-link a.btn:hover {
	background: var(--sekundaer);
	color: var(--weiss);
}

.news .swiper-slide-item .swiper-slide-item-textbereich .swiper-slide-ueberschrift {
	margin-bottom: 10px;
}

.news.news-single img {
	border-radius: 30px;
	width: 100%;
	height: auto;
}

.news.news-single a.btn {
	background: var(--primaer);
	color: var(--weiss);
	border-radius: 50px;
	font-weight: 700;
	padding: 12px 0;
	margin-top: 50px;
	min-width: 175px;
}

.news.news-single a.btn:hover {
	background: var(--sekundaer);
	color: var(--weiss);
	min-width: 175px;
}

.news .extra {
	margin-bottom: 10px;
}

.news .news-list-view .swiper-slide-text a {
	color: #fff;
}

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

.map .privacy-msg.privacy-map-msg {
	background-image: url(/typo3conf/ext/schwimmerk_memmingen/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;
}

/*------------------------------------*\
  #IMAGEMAP
\*------------------------------------*/
.uebersichtskarte-wrap {
	width: 949px;
	height: 798px;
	margin: 0 auto;
	position: relative;
}

.imagemap-infobox {
	background: #fff;
	border-radius: 5px;
	color: var(--sekundaer);
	font-size: 20px;
	line-height: 26px;
	padding: 5px 25px;
	display: none;
	position: absolute;
	text-align: center;
}

.uebersichtskarte-wrap img[id*="info"] {
	display: none;
	width: 27px;
	height: 27px;
	position: absolute;
	pointer-events: none;
}

.uebersichtskarte-wrap img#info1-mo {
	top: 225px;
	left: 441px;
}

.uebersichtskarte-wrap img#info2-mo {
	top: 263px;
	left: 562px;
}

.uebersichtskarte-wrap img#info3-mo {
	top: 300px;
	left: 794px;
}

.uebersichtskarte-wrap img#info4-mo {
	top: 421px;
	left: 485px;
}

.uebersichtskarte-wrap img#info5-mo {
	top: 426px;
	left: 111px;
}

.uebersichtskarte-wrap img#info6-mo {
	top: 433px;
	left: 284px;
}

.uebersichtskarte-wrap img#info7-mo {
	top: 435px;
	left: 195px;
}

.uebersichtskarte-wrap img#info8-mo {
	top: 435px;
	left: 253px;
}

.uebersichtskarte-wrap img#info9-mo {
	top: 470px;
	left: 730px;
}

.uebersichtskarte-wrap img#info10-mo {
	top: 522px;
	left: 511px;
}

.uebersichtskarte-wrap img#info11-mo {
	top: 535px;
	left: 223px;
}

.uebersichtskarte-wrap img#info12-mo {
	top: 559px;
	left: 405px;
}

.uebersichtskarte-wrap img#info13-mo {
	top: 661px;
	left: 163px;
}

.uebersichtskarte-wrap img#info14-mo {
	top: 666px;
	left: 574px;
}

.uebersichtskarte-wrap img#info15-mo {
	top: 635px;
	left: 314px;
}

.uebersichtskarte-wrap img#info16-mo {
	top: 268px;
	left: 215px;
}


#info1.imagemap-infobox {
	top: 186px;
	left: 443px;
}

#info2.imagemap-infobox {
	top: 223px;
	left: 562px;
}

#info3.imagemap-infobox {
	top: 257px;
	left: 795px;
}

#info4.imagemap-infobox {
	top: 330px;
	left: 486px;
}

#info5.imagemap-infobox {
	top: 333px;
	left: 112px;
}

#info6.imagemap-infobox {
	top: 341px;
	left: 283px;
}

#info7.imagemap-infobox {
	top: 317px;
	left: 196px;
}

#info8.imagemap-infobox {
	top: 368px;
	left: 254px;
}

#info9.imagemap-infobox {
	top: 404px;
	left: 496px;
}

#info10.imagemap-infobox {
	top: 403px;
	left: 511px;
}

#info11.imagemap-infobox {
	top: 390px;
	left: 224px;
}

#info12.imagemap-infobox {
	top: 441px;
	left: 404px;
}

#info13.imagemap-infobox {
	top: 620px;
	left: 164px;
}

#info14.imagemap-infobox {
	top: 625px;
	left: 574px;
}

#info15.imagemap-infobox {
	top: 567px;
	left: 313px;
}

#info16.imagemap-infobox {
	top: 228px;
	left: 216px;
}

/*------------------------------------*\
  #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-image: url(/typo3conf/ext/schwimmerk_memmingen/Resources/Public/Icons/Template/Back_to_top.svg);
	background-size: contain;
	width: 50px;
	height: 50px;
}

a:hover.back-to-top div {
	background-image: url(/typo3conf/ext/schwimmerk_memmingen/Resources/Public/Icons/Template/Back_to_top_hover.svg);
}

.swipe-icon {
	overflow: visible;
	width: 18px;
	height: 24px;
}

.swipe-icon .swipe-arrow {
	animation: pulse-arrow 2s ease-out infinite;
}

.swipe-icon {
	animation: hand-move 2s ease-out infinite;
}

@keyframes pulse-arrow {
	0% {
		transform: translateX(0);
		opacity: 1;
	}

	50% {
		transform: translateX(0.25em);
		opacity: 1;
	}

	75% {
		transform: translateX(0.25em);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 0;
	}
}

@keyframes hand-move {
	0% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(0.5em);
	}

	100% {
		transform: translateX(0);
	}
}

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

@media (max-width: 1549.98px) {
	.row {
		margin: 0;
	}

	.container-1512 {
		width: 100%;
		max-width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}
}

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


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

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

	img#uebersichtskarte {
		width: 100%;
	}

	.uebersichtskarte-wrap-mobil img#uebersichtskarte {
		background: var(--primaer);
	}

	.uebersichtskarte-mobil-legende img#legende {
		background: var(--primaer);
		padding: 15px;
		width: 100%;
	}

	.uebersichtskarte-mobil-legende .legend {
		counter-reset: legend;
		margin: 0;
		padding: 1rem;
		list-style: none;
		background: var(--primaer);
		color: var(--weiss);
		margin-top: 30px;
		display: grid;
		grid-template-columns: repeat(2, minmax(220px, 1fr));
		gap: 20px 20px;
	}

	.uebersichtskarte-mobil-legende .legend>li {
		counter-increment: legend;
		position: relative;
		padding-left: 2.6rem;
		line-height: 1.6;
	}

	.uebersichtskarte-mobil-legende .legend>li::before {
		content: counter(legend);
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 1.9rem;
		height: 1.9rem;
		border-radius: 50%;
		background: var(--sekundaer);
		color: var(--weiss);
		display: grid;
		place-items: center;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
	}
}

@media (max-width: 767.98px) {

	body,
	.subheader {
		font-size: 18px !important;
	}

	.header {
		font-size: 40px !important;
	}

	h1,
	.h1,
	h2,
	.h2 {
		font-size: 40px;
		line-height: 55px;
	}

	.header {
		font-size: 25px !important;
		line-height: 33px !important;
	}

	#seitenheader {
		min-height: 100px !important;
	}

	.back-button {
		margin-top: 22px;
	}

	.logo {
		margin-top: 30px;
		margin-left: 30px;
	}

	.logo img {
		width: 150px;
	}

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

	#c29 {
		margin-top: 15px;
	}

	.email-cta {
		margin: 0;
	}

	#c14.frame-space-after-small {
		margin-bottom: 25px;
	}

	img#uebersichtskarte {
		width: 768px;
	}

	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-color: var(--sekundaer) #eee;
		scrollbar-width: thin;
	}

	.table-responsive .uebersichtskarte-wrap-mobil {
		padding-bottom: 10px;
	}
}

@media (max-width: 575.98px) {
	body {
		font-size: 16px !important;
	}

	h1,
	.h1,
	h2,
	.h2 {
		font-size: 25px;
		line-height: 33px;
	}

	.back-button {
		margin-right: 10px;
	}

	.back-button a.btn {
		font-size: 16px;
		padding: 12px 10px;
		min-width: 160px;
	}

	.subheader {
		font-size: 16px;
		line-height: 22px;
	}

	.logo {
		margin-top: 30px;
		margin-left: 10px;
	}

	footer .footer-top {
		height: auto;
		padding-top: 75px;
		padding-bottom: 75px;
	}

	iframe#newsletter {
		width: 100%;
		min-height: 1350px;
	}

	.uebersichtskarte-mobil-legende .legend {
		grid-template-columns: 1fr;
	}

	.copyright {
		font-size: 10px;
	}
}