/*
 * Microsite-Bausteine (EXT:ardmedia_microsite)
 * Werte aus dem Original-Theme der Bartenbach-Microsites (tailwind.css + Inline-Stile, Stand 11/2026).
 * Breakpoints wie dort: md 768, lg 1024, xl 1280, 2xl 1536.
 * Nur px, keine rem: die Website setzt die Grundschrift auf 10px, das Original rechnet mit 16px.
 */

/* Ueberschriften wie im Original in TheSans Condensed ExtraBold (die Website hat nur Bold) */
@font-face {
	font-family: "MS TheSans Cd ExtraBold";
	src: url("../Fonts/TheSansCd-ExtraBold.woff2") format("woff2"),
		url("../Fonts/TheSansCd-ExtraBold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ms-blue: #003480;
	--ms-blue-100: #87afd7;
	--ms-blue-50: #aacdf0;
	--ms-lime: #bee01f;
	--ms-anthracite: #555;
	--ms-font-head: "MS TheSans Cd ExtraBold", "TheSans Cd Bold", "Arial Narrow", sans-serif;
	--ms-font-text: "TheSans LT Regular", "TheSans C5s", Arial, sans-serif;
	--ms-header-h: 80px; /* fester Website-Kopf (.page-head--topbar) */
	--ms-anchors-h: 56px;
}

/* Seite: volle Breite statt 1440px-Rahmen der normalen Inhaltsseiten
   (per :has, weil tmpl die Seitenklasse nach dieser Erweiterung neu setzt) */
.page:has(> .page-main > .ms-root) {
	max-width: none !important;
}
.ms-root {
	overflow-x: clip;
	background: #fff; /* die Website hat einen dunkelblauen Seitenhintergrund */
	color: #000;
}
.ms-root *,
.ms-root *::before,
.ms-root *::after {
	box-sizing: border-box;
}
/* :where haelt die Spezifitaet niedrig, damit die Abstandsregeln der Bausteine greifen */
.ms-el :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) {
	margin: 0;
}
.ms-el img, .ms-el video {
	display: block;
	max-width: 100%;
}
.ms-el {
	scroll-margin-top: calc(var(--ms-header-h) + var(--ms-anchors-h));
}

/* --- Typografie --------------------------------------------------------------------------- */
.ms-h1, .ms-h2, .ms-h3 {
	font-family: var(--ms-font-head);
	font-weight: 700;
	font-style: normal;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}
.ms-h1 { font-size: 45px; }
.ms-h2 { font-size: 24px; }
.ms-h3 { font-size: 18px; }
.ms-h2--blue { color: var(--ms-blue); }
.ms-center { text-align: center; }

.ms-copy,
.ms-copy p,
.ms-copy li {
	font-family: var(--ms-font-text);
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 1.3;
	color: inherit;
}
.ms-copy > * + * { margin-top: 16px; }
.ms-copy :where(h1, h2, h3, h4, h5, h6) { color: inherit; }
/* Zwischenueberschriften im Text wie die globale h3 des Originals */
.ms-copy h3 {
	font-family: var(--ms-font-head);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	text-transform: uppercase;
}
@media (min-width: 768px) { .ms-copy h3 { font-size: 24px; } }
@media (min-width: 1280px) { .ms-copy h3 { font-size: 30px; } }
.ms-copy ul,
.ms-copy ol {
	list-style-type: disc;
	margin-left: 20px;
	padding-left: 0;
}
/* Listenpunkte sind im Original kleiner als Absaetze (16px/24px auf allen Breiten) und stehen
   dort in der Systemschrift (Tailwind-Grundschrift, TheSans greift fuer li nicht) */
.ms-copy li,
.ms-el .ms-copy li {
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	padding-bottom: 8px;
	font-size: 16px;
	line-height: 24px;
}
/* Leerabsaetze zwischen Listen entfernt TYPO3 beim Speichern; den Abstand (16 + Leerzeile + 16) halten wir hier */
.ms-copy :is(ul, ol) + :is(ul, ol) { margin-top: calc(32px + 1.3em); }
@media (min-width: 1280px) { .ms-copy :is(ul, ol) + :is(ul, ol) { margin-top: calc(32px + 1.4em); } }
.ms-copy strong, .ms-copy b { font-weight: 700; }
.ms-copy sub { font-size: .75em; line-height: 1.2; vertical-align: baseline; }
.ms-copy a { color: inherit; text-decoration: underline; }

@media (min-width: 768px) {
	.ms-h2 { font-size: 47px; }
	.ms-h3 { font-size: 24px; }
	.ms-copy, .ms-copy p { font-size: 17px; }
}
@media (min-width: 1024px) {
	.ms-h1 { font-size: 135px; }
}
@media (min-width: 1280px) {
	.ms-h2 { font-size: 65px; }
	.ms-h3 { font-size: 30px; }
	.ms-copy, .ms-copy p { font-size: 18px; line-height: 1.4; }
}

/* --- Knoepfe (button--hintergrundfarbe / --outline / --textlink_mit_pfeil) ----------------- */
.ms-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 20px;
	margin-top: 40px;
}
.ms-btn {
	display: inline-block;
	font-family: var(--ms-font-text);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.4;
	color: #fff;
	padding: 15px;
	border-radius: 15px;
	border: 1px solid var(--ms-lime);
	background: transparent;
	text-decoration: none;
	cursor: pointer;
	transition: color .2s;
}
.ms-btn:hover, .ms-btn:focus-visible { color: var(--ms-lime); }
.ms-btn--filled { background-color: var(--ms-blue); }
.ms-btn--textlink {
	border: 0;
	border-radius: 0;
	padding: 0 30px 0 0;
	text-decoration: underline;
	background: url("../Images/arrow-white.svg") no-repeat right center / 15px 15px;
}
.ms-btn--textlink:hover { background-image: url("../Images/arrow-lime.svg"); }

/* --- Hero ------------------------------------------------------------------------------------ */
.ms-hero {
	position: relative;
	height: 640px;
	background: #000;
	overflow: hidden;
}
.ms-hero__media, .ms-hero__shade {
	position: absolute;
	inset: 0;
}
.ms-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ms-hero__shade { background: rgba(0, 0, 0, .4); }
.ms-hero__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0; /* Titel im Original ueber die volle Breite */
}
.ms-hero__sub { margin-top: 32px; }
.ms-hero__sub:empty { margin-top: 0; }
.ms-hero__btn {
	margin-top: 160px;
	padding: 16px 32px;
	border-radius: 8px;
	border: 1px solid var(--ms-lime);
	background: rgba(255, 255, 255, .25);
	color: #fff;
	font-family: var(--ms-font-text);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.ms-hero__btn:hover, .ms-hero__btn:focus-visible {
	background: rgba(255, 255, 255, .5);
	color: var(--ms-lime);
}
@media (min-width: 768px) {
	.ms-hero__btn { font-size: 20px; }
}
@media (min-width: 1024px) {
	.ms-hero { height: 1080px; }
	.ms-hero__content {
		justify-content: flex-end;
		padding-bottom: 51px;
	}
	.ms-hero__sub, .ms-hero__sub:empty { margin-top: 130px; }
}

/* --- Video-Overlay (.layer) --------------------------------------------------------------- */
.ms-layer {
	position: fixed;
	inset: 0;
	z-index: 1100; /* ueber dem festen Website-Kopf (z-index 1000) */
	background: rgba(0, 0, 0, .5);
	padding: 0 50px;
}
.ms-layer[hidden] { display: none; }
.ms-layer__inner {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 80%;
	max-height: 720px;
	max-width: 1280px;
}
.ms-layer__close {
	position: absolute;
	top: -30px;
	right: -40px;
	width: 40px;
	height: 40px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.ms-layer__close svg { width: 24px; height: 24px; }
.ms-layer__close:hover { color: var(--ms-lime); }
.ms-layer__video {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: #000;
	border-radius: 32px;
	box-shadow: 0 0 20px 5px rgba(0, 0, 0, .35);
	max-height: 340px;
}
.ms-layer__video video { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1024px) {
	.ms-layer__video { max-height: none; }
}

/* --- Text/Bild schraeg (.layer-content-horizontal) ---------------------------------------- */
.ms-split__band {
	position: relative;
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--ms-blue) url("../Images/bg-tiles.jpg") no-repeat center / cover;
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .35);
}
.ms-split--image-right .ms-split__band {
	box-shadow: none;
	filter: drop-shadow(25px 0 25px rgba(0, 0, 0, .4));
}
.ms-split__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 30px 80px;
}
.ms-split__content { max-width: 100%; }
.ms-split .ms-h2 { max-width: 820px; }
.ms-split__text {
	margin-top: 32px;
	max-width: 632px;
	color: #fff;
}
.ms-split__text > * + * { margin-top: 10px; }
.ms-split__media {
	width: 100%;
	border-bottom: 2px solid var(--ms-lime);
}
.ms-split__img { width: 100%; height: auto; object-fit: cover; }
.ms-split__line { display: none; }
@media (min-width: 1024px) {
	.ms-split__band { display: block; }
	.ms-split__inner { padding: 120px 15px 126px; }
	.ms-split--image-left .ms-split__inner { display: flex; justify-content: flex-end; }
	.ms-split--image-right .ms-split__content { padding-left: 25px; }
	.ms-split--no-image .ms-split__inner { justify-content: flex-start; }
	.ms-split__content { width: fit-content; max-width: 560px; }
	.ms-split__text { margin-top: 55px; }
	.ms-split__text > * + * { margin-top: 12px; }
	.ms-split .ms-buttons { margin-top: 12px; gap: 15px 48px; }
	.ms-split__media {
		position: absolute;
		top: 0;
		width: 40%;
		height: 100%;
		border-bottom: 0;
	}
	.ms-split--image-left .ms-split__media {
		left: 0;
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
	}
	.ms-split--image-right .ms-split__media {
		right: 0;
		clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
	}
	.ms-split__img { height: 100%; }
	.ms-split__line {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		width: 100%;
		height: 100%;
		background: var(--ms-lime);
		clip-path: polygon(20% 0, 20.5% 0, .5% 100%, 0 100%);
	}
	.ms-split--image-left .ms-split__line { left: 79.5%; }
}
@media (min-width: 1041px) { .ms-split__content { max-width: 600px; } }
@media (min-width: 1151px) { .ms-split__content { max-width: 660px; } }
@media (min-width: 1441px) { .ms-split__content { max-width: 750px; } }

/* --- Info-Karte (Studie, Werbeschema) ----------------------------------------------------- */
.ms-cardsec__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px 15px;
}
.ms-infocard {
	width: 100%;
	max-width: 1280px;
	margin-top: 64px;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .35);
}
.ms-infocard__media { border-bottom: 3px solid var(--ms-lime); }
.ms-infocard__media img { width: 100%; height: auto; object-fit: cover; }
.ms-infocard__body {
	padding: 48px 20px 30px;
	background: var(--ms-blue) url("../Images/klassi-bg.jpg") no-repeat center / cover;
	color: #fff;
}
/* Aufbau wie im Original: leere Flex-Zeile (16px, faellt nicht zusammen), Zwischenueberschrift,
   zwei Fussnotenzeilen (mt-4 / lg:mt-16). Die Knoepfe sitzen in der zweiten Zeile und ragen ueber sie hinaus. */
.ms-infocard__gap { display: flex; margin-top: 16px; }
.ms-infocard__sub { margin-top: 16px; }
.ms-infocard__line {
	margin-top: 16px;
	font-family: var(--ms-font-text);
	font-size: 10px;
	line-height: 1.3;
}
.ms-infocard__line .ms-buttons { margin: -15px 0 -17px; }
@media (min-width: 1024px) {
	.ms-cardsec__inner { padding: 130px 15px; }
	.ms-infocard__body { padding: 48px 64px 64px; }
	.ms-infocard__line { margin-top: 64px; font-size: 14px; line-height: 1.4; }
}

/* --- Gute Gruende (#swiper-benifits) ------------------------------------------------------ */
.ms-benefits__inner {
	padding: 64px 0;
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .35);
}
/* Im Original stehen unter dem Karussell zwei leere Video-Platzhalter (40px + 60px) */
.ms-benefits__inner::after {
	content: "";
	display: block;
	height: 100px;
}
.ms-benefits__stage {
	position: relative;
	margin-top: 24px;
}
.ms-benefits__fade {
	display: none;
	position: absolute;
	z-index: 10;
	top: 0;
	bottom: 0;
	width: 32%;
	pointer-events: none;
	filter: blur(12px);
}
.ms-benefits__fade--left { left: 0; background: linear-gradient(to right, #ffffff42, #ffffff11); }
.ms-benefits__fade--right { right: 0; background: linear-gradient(to right, #ffffff11, #ffffff42); }
.ms-benefits__slide {
	display: flex !important;
	justify-content: center;
	flex-shrink: 0;
	min-width: 200px;
	height: auto;
	padding: 8px 0;
}
.ms-benefit {
	min-height: 232px;
	width: 200px;
	padding: 36px 24px;
	border-radius: 32px;
	background: var(--ms-blue) url("../Images/benifit-bg.png") center / cover;
	box-shadow: 0 0 10px 3px rgba(0, 0, 0, .35);
	color: #fff;
}
/* Kartentitel wie headline-3 im Original */
.ms-benefit h3 {
	font-family: var(--ms-font-head);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}
.ms-benefit h3 strong { font-weight: inherit; }
@media (min-width: 768px) { .ms-benefit h3 { font-size: 24px; } }
@media (min-width: 1280px) { .ms-benefit h3 { font-size: 30px; } }
.ms-benefit ul { padding-left: 15px; margin-left: 0; }
/* Knopf unter dem Karussell (Original: mx-auto mt-10 w-fit) */
/* Link-Knopf: im Original ein Inline-Link (Polster ragt 15px ueber/unter die Zeile), Video-Knopf ist ein Block mit 15px Abstand */
.ms-benefits__after .ms-buttons { justify-content: center; margin: 25px 0 -15px; padding: 0 15px; }
.ms-benefits__after .ms-buttons:has(.ms-inline__toggle) { margin: 55px 0 0; }
.ms-benefits__after .ms-btn--outline,
.ms-benefits__after .ms-btn--textlink { color: #000; }
.ms-benefits__after .ms-btn--textlink { background-image: url("../Images/arrow-lime.svg"); }
/* Aufklapp-Video (Original: p-[30px] > .video-content mt-10, max-height 0 -> 720px); ersetzt den Leerraum darunter */
.ms-benefits__inner:has(.ms-inline)::after { display: none; }
.ms-inline { padding: 30px; }
.ms-inline__frame {
	max-width: 1280px;
	max-height: 0;
	margin: 40px auto 0;
	overflow: hidden;
	transition: max-height .5s ease-out;
}
.ms-inline.is-open .ms-inline__frame { max-height: 720px; }
.ms-inline video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 32px; }
.ms-inline__toggle { position: relative; }
.ms-inline__close {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}
.ms-inline__toggle.is-active .ms-inline__open { opacity: 0; }
.ms-inline__toggle.is-active .ms-inline__close { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ms-inline__frame { transition: none; } }
@media (min-width: 1024px) {
	.ms-benefits__inner { padding: 130px 0; }
	.ms-benefits__stage { margin-top: 32px; }
	.ms-benefits__fade { display: block; }
	.ms-benefits__slide { padding: 24px; }
	.ms-benefit {
		min-height: 324px;
		width: 350px;
		padding: 64px 32px;
	}
}
@media (min-width: 1280px) {
	.ms-benefit { box-shadow: 0 0 20px 5px rgba(0, 0, 0, .35); }
}
@media (min-width: 1536px) {
	.ms-benefits__fade { width: 35%; }
}

/* --- Karten-Karussell (#swiper-paket: Pakete, Verkaufsbueros) ----------------------------- */
.ms-cards__inner {
	width: 100%;
	margin: 0 auto;
	padding: 50px 30px;
}
.ms-cards__swiper {
	width: 100%;
	max-width: 1730px;
	margin-top: 30px;
}
.ms-cards__slide {
	display: flex !important;
	justify-content: center;
	height: auto;
	padding: 12px;
}
.ms-pcard {
	width: 100%;
	max-width: 380px;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 0 10px 5px rgba(0, 0, 0, .35);
	background: var(--ms-blue) url("../Images/package.jpg") no-repeat top / cover;
}
.ms-pcard__media {
	width: 100%;
	height: 150px;
	border-bottom: 3px solid var(--ms-lime);
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .35);
}
.ms-pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.ms-pcard__body {
	margin-top: 16px;
	padding: 30px 20px;
}
.ms-pcard__title { hyphens: auto; -webkit-hyphens: auto; }
.ms-pcard__text { margin-top: 16px; color: #fff; }
.ms-cards__footnote {
	display: block;
	margin: 16px 0 0 8px;
	color: #000;
	font-family: var(--ms-font-text);
	font-size: 14px;
	line-height: 1.3;
}
@media (min-width: 768px) {
	.ms-cards__footnote { font-size: 17px; }
}
/* Bereich unter dem Karussell (im Original .whitebg, immer 50px Abstand, Knoepfe ragen ueber eine 28px-Zeile) */
.ms-cards__after { margin-top: 50px; text-align: center; }
.ms-cards__after .ms-buttons { justify-content: center; margin: -15px 0 -17px; }
.ms-cards__after .ms-btn--outline,
.ms-cards__after .ms-btn--textlink { color: #000; }
.ms-cards__after .ms-btn--textlink { background-image: url("../Images/arrow-lime.svg"); }
@media (min-width: 1024px) {
	.ms-cards__inner { padding: 130px 15px; }
	.ms-pcard { max-width: 550px; }
	.ms-pcard__media { height: 300px; }
	.ms-pcard__body { padding: 32px 32px 64px; }
}
@media (min-width: 1280px) {
	.ms-cards__footnote { font-size: 18px; line-height: 1.4; }
}

/* --- Punkte-Navigation der Karussells ----------------------------------------------------- */
.ms-swiper .swiper-pagination.ms-dots {
	position: static;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 32px;
}
.ms-cards .swiper-pagination.ms-dots { gap: 24px; margin-top: 24px; }
.ms-dots .swiper-pagination-bullet {
	width: 15px;
	height: 15px;
	margin: 0 !important;
	border-radius: 9999px;
	background-color: var(--ms-anthracite);
	opacity: 1;
}
.ms-dots .swiper-pagination-bullet-active { background-color: var(--ms-lime); }
@media (min-width: 1024px) {
	.ms-swiper .swiper-pagination.ms-dots { gap: 48px; margin-top: 48px; }
	.ms-cards .swiper-pagination.ms-dots { gap: 48px; margin-top: 24px; }
	.ms-dots .swiper-pagination-bullet { width: 25px; height: 25px; }
}

/* --- Infoflaeche (#sec-die-uefa) ---------------------------------------------------------- */
/* Handy wie im Original: erst Text auf der Kurvenflaeche, darunter das Motiv (Text ragt 40 % hinein) */
.ms-info {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--ms-blue);
}
.ms-info__motif {
	order: 2;
	width: 100%;
	aspect-ratio: 10 / 14;
	object-fit: cover;
}
.ms-info__panel {
	position: relative;
	z-index: 11;
	min-height: 500px;
	margin-bottom: -40%;
	padding: 79px 18px 22% 20%;
	background: url("../Images/and-layer.png") no-repeat left bottom / cover;
	color: #fff;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.ms-info__sub { margin-top: 8px; }
.ms-info__text { margin-top: 34px; margin-left: 56px; }
@media (min-width: 768px) {
	.ms-info { display: block; min-height: 600px; }
	.ms-info__motif {
		position: absolute;
		inset: 0;
		z-index: 10;
		height: 100%;
		aspect-ratio: auto;
	}
	.ms-info__panel {
		width: 65%;
		min-height: 0;
		margin: 0 0 0 auto;
		padding: 25px 60px 100px 80px;
		background: url("../Images/and-img.jpg") no-repeat left bottom / cover;
		border-left: 3px solid var(--ms-lime);
	}
	.ms-info__sub { margin-top: 14px; }
	.ms-info__text { margin-top: 54px; margin-left: 0; padding-left: 40px; max-width: 600px; }
}
@media (min-width: 1024px) {
	.ms-info__panel {
		width: 50%;
		padding: 150px 60px 10% 10%;
	}
	.ms-info__text { padding-left: 80px; }
}

/* --- Sprungmarken-Leiste ------------------------------------------------------------------ */
.ms-anchors {
	position: sticky;
	top: var(--ms-header-h);
	z-index: 900;
	background: var(--ms-blue);
	border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.ms-anchors__list {
	display: flex;
	gap: 0 8px;
	max-width: 1280px;
	height: var(--ms-anchors-h);
	margin: 0 auto;
	padding: 0 15px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.ms-anchors__list::-webkit-scrollbar { display: none; }
.ms-anchors__item { position: relative; display: flex; flex-shrink: 0; }
.ms-anchors__link {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid transparent;
	color: #fff;
	font-family: var(--ms-font-text);
	font-size: 16px;
	white-space: nowrap;
	text-decoration: none;
}
.ms-anchors__link:hover,
.ms-anchors__link:focus-visible,
.ms-anchors__link.is-active { color: var(--ms-lime); }
.ms-anchors__link.is-active { box-shadow: inset 0 -3px 0 var(--ms-lime); }
/* Unterpunkte: mit JS als Aufklapp-Menue am Hauptpunkt, ohne JS flach in der Leiste */
.ms-anchors__sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: rgba(0, 52, 128, .92);
}
.ms-anchors__sub .ms-anchors__link { padding: 15px; height: auto; }
.ms-anchors__sub .ms-anchors__link:hover { border-color: var(--ms-lime); }
@media (min-width: 1024px) {
	.ms-anchors__list { overflow: visible; justify-content: flex-end; }
	.ms-anchors__item:hover > .ms-anchors__sub,
	.ms-anchors__item:focus-within > .ms-anchors__sub { display: block; }
}
@media (max-width: 1023px) {
	/* Auf schmalen Bildschirmen keine Aufklapp-Menues: Unterpunkte flach mit in der Leiste */
	.ms-anchors__sub { display: contents; position: static; }
	.ms-anchors__sub > li { display: flex; flex-shrink: 0; }
	.ms-anchors__sub .ms-anchors__link { padding: 0 12px; opacity: .8; }
}

/* --- Buchungskontakt (.camera-wrapper + .contact) ------------------------------------------ */
/* Knopf: Handy fest unten rechts; Desktop erst mitten im Einstieg, nach dem Scrollen unten rechts */
.ms-contact__dock {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 400;
	transition: all .3s;
}
.ms-contact__open {
	display: flex;
	align-items: center;
	width: max-content;
	padding: 10px;
	border: 1px solid var(--ms-lime);
	border-radius: 15px;
	background: var(--ms-blue);
	color: #fff;
	font-family: var(--ms-font-text);
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
	animation: ms-contact-pulse 5s infinite;
	transition: all .3s;
}
@keyframes ms-contact-pulse {
	0%, 100% { background-color: #003480; }
	50% { background-color: #00338029; }
}
.ms-contact__label {
	display: block;
	overflow: hidden;
	max-width: 240px;
	margin-right: 15px;
	transition: all .3s ease-out;
}
.ms-contact__label > span { display: block; width: max-content; }
.ms-contact__open:hover .ms-contact__label,
.ms-contact__open:focus-visible .ms-contact__label { color: var(--ms-lime); }
.ms-contact__plus { flex: none; width: 25px; height: 25px; fill: var(--ms-lime); }

/* Kamerarahmen: nur Desktop, verschwindet beim Scrollen */
.ms-contact__frame { display: none; }
.ms-contact__corners { display: block; width: 100%; animation: ms-contact-fade 5s ease-in-out infinite; }
@keyframes ms-contact-fade {
	0%, 100% { opacity: 1; }
	50% { opacity: .3; }
}

@media (min-width: 1024px) {
	.ms-contact__dock { right: auto; bottom: auto; top: 60%; left: 50%; }
	.ms-contact.is-docked .ms-contact__dock { transition-delay: .3s; top: 90%; left: 80%; }
	.ms-contact__open { padding: 15px; border-radius: 30px; }
	.ms-contact.is-docked .ms-contact__open { border-radius: 15px; transition-delay: .65s; }
	.ms-contact__label { max-width: 0; margin-right: 0; }
	.ms-contact.is-docked .ms-contact__label { max-width: 240px; margin-right: 16px; transition-delay: .65s; }
	.ms-contact__frame {
		position: fixed;
		top: 60%;
		left: 50%;
		z-index: 300;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 90%;
		height: 70%;
		pointer-events: none;
		transform: translate(-50%, -50%);
		transition: opacity .3s ease-out .3s, transform .3s ease-out .3s;
	}
	.ms-contact.is-docked .ms-contact__frame {
		opacity: 0;
		transform: translate(-50%, -50%) scale(.6);
		transition-delay: 0s;
	}
}
@media (min-width: 1280px) {
	.ms-contact.is-docked .ms-contact__dock { left: 86%; }
}

/* Kontaktfenster */
.ms-layer.ms-contact__layer { padding: 0 16px; overflow: auto; }
.ms-contact__inner {
	position: relative;
	max-width: 1400px;
	margin: 15% auto;
}
.ms-layer__close.ms-contact__close { top: -40px; right: 0; width: 24px; height: 24px; padding: 0; }
.ms-contact__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 32px;
	background: var(--ms-blue) url("../Images/bg-tiles.jpg") no-repeat center / cover;
}
.ms-contact__media { width: 100%; overflow: hidden; }
.ms-contact__img { display: block; width: 100%; height: auto; object-fit: cover; }
.ms-contact__body { width: 100%; padding: 40px; color: #fff; }
.ms-contact__name { margin-top: 100px; }
.ms-contact__details {
	font-family: "TheSans LT Light", var(--ms-font-text);
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	line-height: 18.2px;
}
.ms-contact__details p { margin: 0; font: inherit; color: inherit; }
.ms-contact__details a {
	display: block;
	width: max-content;
	max-width: 100%;
	color: inherit;
	text-decoration: none;
}
.ms-contact__details a:hover { color: var(--ms-lime); }
@media (min-width: 1024px) {
	.ms-layer.ms-contact__layer { padding: 0 80px; }
	.ms-contact__card { flex-direction: row; }
	.ms-contact__media {
		width: 50%;
		margin-left: -16px;
		border-right: 16px solid #e5e7eb;
		transform: skewX(-3deg);
	}
	.ms-contact__img { height: 100%; }
	.ms-contact__body { width: 50%; padding: 55px 90px 75px 50px; }
	.ms-contact__name { margin-top: 65px; }
	.ms-contact__details { font-size: 20px; line-height: 28px; }
}
@media (min-width: 1536px) {
	.ms-contact__body { padding: 70px 120px 120px 75px; }
	.ms-contact__name { margin-top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
	.ms-btn, .ms-hero__btn { transition: none; }
	.ms-contact__open, .ms-contact__corners { animation: none; }
	.ms-contact__dock, .ms-contact__open, .ms-contact__label, .ms-contact__frame { transition: none; }
}

/* --- Seite ohne Akzentfarbe (Seiteneigenschaft "Microsite: Akzentfarbe") --------------------
   Wie die Original-Seiten ohne hinterlegte Farbe: Raender in Schriftfarbe, kein Farbwechsel beim
   Darueberfahren, Bildkanten schwarz, Schraeglinie unsichtbar, aktiver Punkt blau */
.ms-root--plain .ms-btn,
.ms-root--plain .ms-hero__btn { border-color: currentColor; }
.ms-root--plain .ms-btn:hover, .ms-root--plain .ms-btn:focus-visible,
.ms-root--plain .ms-hero__btn:hover, .ms-root--plain .ms-hero__btn:focus-visible { color: #fff; }
.ms-root--plain :is(.ms-cards__after, .ms-benefits__after) :is(.ms-btn--outline, .ms-btn--textlink):is(:hover, :focus-visible) { color: #000; }
.ms-root--plain .ms-btn--textlink:hover { background-image: url("../Images/arrow-white.svg"); }
.ms-root--plain :is(.ms-cards__after, .ms-benefits__after) .ms-btn--textlink:hover { background-image: url("../Images/arrow-lime.svg"); }
.ms-root--plain .ms-infocard__media,
.ms-root--plain .ms-pcard__media { border-bottom-color: #000; }
.ms-root--plain .ms-split__media { border-bottom-color: currentColor; }
.ms-root--plain .ms-split__line { background: transparent; }
.ms-root--plain .ms-dots .swiper-pagination-bullet-active { background-color: var(--ms-blue); }
.ms-root--plain .ms-contact__open { border-color: transparent; }
.ms-root--plain .ms-contact__plus { fill: #fff; }
.ms-root--plain .ms-contact__open:is(:hover, :focus-visible) .ms-contact__label { color: #fff; }
@media (min-width: 768px) {
	.ms-root--plain .ms-info__panel { border-left-color: #000; }
}
