/*
 * Platzhalter für Nicht-Abonnenten: eine schmale Karte. Oben angedeuteter,
 * verschwommener Text (nur CSS, kein Text im Quelltext), darüber mittig der
 * Hinweis; darunter Anmeldeformular und Link „Zugangslink anfordern“.
 */
.ctaz-platzhalter {
	margin: 1.5em 0;
}

.ctaz-karte {
	background: #fffdf8;
	border: 1px solid #ffa200;
	border-radius: 6px;
	font-size: 0.85em;
	line-height: 1.5;
	padding: 0.5em 1em 0.75em;
}

.ctaz-karte > * {
	margin: 0;
}

.ctaz-karte > * + * {
	margin-top: 0.6em;
}

.ctaz-karte [hidden] {
	display: none;
}

/* Zeilen und Hinweis in derselben Rasterzelle: Die Zelle wächst mit dem höheren der beiden. */
.ctaz-kopf {
	display: grid;
	margin-bottom: 0.9em;
}

.ctaz-kopf > * {
	grid-area: 1 / 1;
	min-width: 0;
}

.ctaz-vorschau {
	filter: blur(2.5px);
	-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
	pointer-events: none;
	user-select: none;
}

.ctaz-vorschau span {
	background: repeating-linear-gradient(90deg, #b9c2ca 0 3.6em, transparent 3.6em 4.1em, #b9c2ca 4.1em 5.4em, transparent 5.4em 5.9em, #b9c2ca 5.9em 9.6em, transparent 9.6em 10.1em, #b9c2ca 10.1em 11.3em, transparent 11.3em 11.8em, #b9c2ca 11.8em 14.9em, transparent 14.9em 15.4em);
	border-radius: 3px;
	display: block;
	height: 0.6em;
	margin: 0.75em 0;
}

.ctaz-vorschau span:nth-child(2) {
	background-position: -2.3em 0;
	width: 97%;
}

.ctaz-vorschau span:nth-child(3) {
	background-position: -6.1em 0;
	width: 99%;
}

.ctaz-vorschau span:nth-child(4) {
	background-position: -4.4em 0;
	width: 93%;
}

.ctaz-vorschau span:nth-child(5) {
	background-position: -1.2em 0;
	width: 58%;
}

/* Hinweis mittig über den verschwommenen Zeilen, mit hellem Schein für die Lesbarkeit. */
.ctaz-kopf .ctaz-hinweis {
	align-items: center;
	display: flex;
	font-size: 1.05em;
	font-weight: 600;
	justify-content: center;
	margin: 0;
	padding: 0 1.5em;
	/* Über den Zeilen: Deren Unschärfe bildet eine eigene Ebene, die sonst oben läge. */
	position: relative;
	text-align: center;
	/* Weiße Kontur (1 px rundum, 2 px weich) und heller Schein heben die Schrift von den Zeilen ab. */
	text-shadow: -1px -1px 0 #fff, 0 -1px 0 #fff, 1px -1px 0 #fff, 1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff, -1px 1px 0 #fff, -1px 0 0 #fff, -2px 0 1px #fff, 2px 0 1px #fff, 0 -2px 1px #fff, 0 2px 1px #fff, 0 0 6px #fff, 0 0 12px #fffdf8;
	z-index: 1;
}

.ctaz-betont {
	color: #ffa200;
}

.ctaz-schloss {
	color: #ffa200;
	display: inline-block;
	height: 1em;
	margin-right: 0.35em;
	vertical-align: -0.12em;
	width: 1em;
}

/*
 * MailPoet-Formular in der Karte kompakt: Adresse und Button in einer Zeile,
 * Datenschutz-Checkbox darunter. MailPoet setzt seine Werte per ID-Selektor
 * und style-Attribut, deshalb hier !important, beschränkt auf die Karte.
 */
.ctaz-karte .ctaz-formular .mailpoet_form,
.ctaz-karte .ctaz-formular form.mailpoet_form {
	background: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

.ctaz-karte .ctaz-formular form.mailpoet_form {
	align-items: flex-start;
	column-gap: 0.5em;
	display: flex;
	flex-wrap: wrap;
}

/* Alles in voller Breite unter der ersten Zeile … */
.ctaz-karte .ctaz-formular form.mailpoet_form > * {
	flex: 0 0 100%;
	min-width: 0;
	order: 3;
}

.ctaz-karte .ctaz-formular .mailpoet_paragraph {
	line-height: 1.4 !important;
	margin: 0 0 0.5em !important;
	max-width: none !important;
	/* Das Child-Theme von cruisetricks.de setzt div.mailpoet_paragraph auf 640 px. */
	width: auto !important;
}

/* … außer Adresse und Button: gemeinsam in der ersten Zeile, die Adresse nimmt den Rest. */
.ctaz-karte .ctaz-formular form.mailpoet_form > .mailpoet_paragraph:has(.mailpoet_text) {
	flex: 1 1 12em;
	order: 1;
}

.ctaz-karte .ctaz-formular form.mailpoet_form > .mailpoet_paragraph:has(.mailpoet_submit) {
	flex: 0 0 auto;
	order: 2;
}

.ctaz-karte .ctaz-formular .mailpoet_paragraph.last {
	margin-bottom: 0.5em !important;
}

.ctaz-karte .ctaz-formular input.mailpoet_text {
	background: #f4f7f9 !important;
	border: 1px solid #c5cfd8 !important;
	border-radius: 5px !important;
	box-sizing: border-box !important;
	font-size: 16px !important;
	height: 38px !important;
	padding: 0 12px !important;
	width: 100% !important;
}

.ctaz-karte .ctaz-formular input.mailpoet_submit {
	background: #205b87 !important;
	border: 0 !important;
	border-radius: 5px !important;
	color: #fff !important;
	cursor: pointer;
	font-size: 16px !important;
	height: 38px !important;
	padding: 0 18px !important;
	width: auto !important;
}

.ctaz-karte .ctaz-formular input.mailpoet_submit:hover,
.ctaz-karte .ctaz-formular input.mailpoet_submit:focus {
	background: #184766 !important;
}

.ctaz-karte .ctaz-formular fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.ctaz-karte .ctaz-formular .mailpoet_checkbox_label {
	font-size: 0.95em;
}

.ctaz-karte .ctaz-formular input.mailpoet_checkbox {
	height: 1em !important;
	margin: 0 0.35em 0 0 !important;
	vertical-align: -0.1em;
	width: 1em !important;
}

.ctaz-karte .ctaz-formular .mailpoet_message {
	padding: 0 !important;
}

.ctaz-karte .ctaz-anfordern-link {
	font-size: 0.95em;
}


.ctaz-inhalt {
	border: 2px solid #ffa200;
	border-radius: 6px;
	margin: 1.5em 0;
	padding: 0.3em 0.625em 0.75em;
}

.ctaz-inhalt-label {
	color: #ffa200;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	/* Abstand zum Inhalt darunter (vorher 0,4em). */
	margin: 0 0 1em;
}

.ctaz-inhalt-text > :first-child {
	margin-top: 0;
}

.ctaz-inhalt-text > :last-child {
	margin-bottom: 0;
}

.ctaz-anfordern > * + * {
	margin-top: 0.5em;
}

.ctaz-anfordern-link[hidden] {
	display: none;
}

.ctaz-anfordern-form label {
	display: block;
	margin-bottom: 0.25em;
}

.ctaz-anfordern-zeile {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

/* Feld und Button angelehnt an das Suchfeld im Kopf von cruisetricks.de: abgerundet, flach. */
.ctaz-anfordern .ctaz-anfordern-zeile input[type="email"] {
	background: #f4f7f9;
	border: 1px solid #c5cfd8;
	border-radius: 5px;
	box-sizing: border-box;
	flex: 1 1 14em;
	font-size: 16px;
	height: 38px;
	line-height: normal;
	margin: 0;
	min-width: 0;
	padding: 0 12px;
}

.ctaz-anfordern .ctaz-anfordern-zeile input[type="email"]:focus {
	background: #fff;
	border-color: #205b87;
	outline: none;
}

.ctaz-anfordern .ctaz-anfordern-zeile button[type="submit"] {
	background: #205b87;
	border: 0;
	border-radius: 5px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 16px;
	height: 38px;
	line-height: normal;
	margin: 0;
	padding: 0 18px;
}

/* Feld und Button in derselben Schrift wie das MailPoet-Formular darüber; die Beschriftung bleibt in der Textschrift. */
.ctaz-anfordern .ctaz-anfordern-zeile input[type="email"],
.ctaz-anfordern .ctaz-anfordern-zeile button[type="submit"] {
	font-family: raleway, sans-serif;
}

.ctaz-anfordern .ctaz-anfordern-zeile button[type="submit"]:hover,
.ctaz-anfordern .ctaz-anfordern-zeile button[type="submit"]:focus {
	background: #184766;
	color: #fff;
}

.ctaz-anfordern .ctaz-anfordern-zeile button[type="submit"]:disabled {
	opacity: 0.6;
}

.ctaz-anfordern-status:not(:empty) {
	margin-top: 0.5em;
}

.ctaz-hp {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.ctaz-banner {
	background: #fff8e6;
	border-bottom: 1px solid #e0c36b;
	padding: 1em 16px;
}

.ctaz-banner > * {
	margin: 0 auto;
	max-width: 48em;
}

.ctaz-banner > * + * {
	margin-top: 0.75em;
}

.ctaz-banner-text {
	font-weight: 600;
}

.ctaz-suchvermerk {
	font-style: italic;
}

.ctaz-anfordern-form[hidden] {
	display: none;
}

/* Optionale Überschrift des Abschnitts: für alle lesbar, über den verschwommenen Zeilen. */
.ctaz-ueberschrift {
	color: #205b87;
	font-weight: 700;
	font-size: 1.12em;
	line-height: 1.35;
	padding-top: 0.25em;
}

/*
 * Ladezustand für Besucher mit Hinweis-Cookie, solange das Skript den Inhalt lädt:
 * oben die Überschrift des Inhalts, die verschwommenen Zeilen pulsieren, statt
 * Hinweis und Formularen steht „Ihr Zugang wird geprüft …“. Die Klasse am
 * html-Element setzt das Skript im Seitenkopf, die am Platzhalter das Plugin-Skript.
 */
.ctaz-laden-label,
.ctaz-laden-text {
	display: none;
}

/* Ohne Ladezustand steht die Karte genau wie vorher (die ausgeblendete Überschrift zählt sonst als Nachbar). */
.ctaz-karte > .ctaz-laden-label + .ctaz-kopf,
.ctaz-karte > .ctaz-laden-label + .ctaz-ueberschrift {
	margin-top: 0;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-karte > .ctaz-laden-label + .ctaz-kopf,
.ctaz-platzhalter.ctaz-wartet .ctaz-karte > .ctaz-laden-label + .ctaz-kopf,
.ctaz-laedt .ctaz-platzhalter .ctaz-karte > .ctaz-laden-label + .ctaz-ueberschrift,
.ctaz-platzhalter.ctaz-wartet .ctaz-karte > .ctaz-laden-label + .ctaz-ueberschrift {
	margin-top: 0.3em;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-ueberschrift,
.ctaz-platzhalter.ctaz-wartet .ctaz-ueberschrift {
	padding-top: 0;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-laden-label,
.ctaz-platzhalter.ctaz-wartet .ctaz-laden-label {
	color: #ffa200;
	display: block;
	/* Gleiche Größe wie die Überschrift des freigeschalteten Inhalts (0,75em), die Karte hat 0,85em. */
	font-size: 0.882em;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin: 0.2em 0 0;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-laden-text,
.ctaz-platzhalter.ctaz-wartet .ctaz-laden-text {
	align-items: center;
	display: inline-flex;
	gap: 0.55em;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-hinweis-text,
.ctaz-platzhalter.ctaz-wartet .ctaz-hinweis-text,
.ctaz-laedt .ctaz-platzhalter .ctaz-formular,
.ctaz-platzhalter.ctaz-wartet .ctaz-formular,
.ctaz-laedt .ctaz-platzhalter .ctaz-anfordern,
.ctaz-platzhalter.ctaz-wartet .ctaz-anfordern {
	display: none;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-kopf,
.ctaz-platzhalter.ctaz-wartet .ctaz-kopf {
	margin-bottom: 0.3em;
}

.ctaz-laedt .ctaz-platzhalter .ctaz-vorschau span,
.ctaz-platzhalter.ctaz-wartet .ctaz-vorschau span {
	animation: ctaz-puls 1.6s ease-in-out infinite;
}

.ctaz-kreis {
	animation: ctaz-dreh 0.8s linear infinite;
	border: 2px solid #f3d9a6;
	border-radius: 50%;
	border-top-color: #ffa200;
	box-sizing: border-box;
	flex: 0 0 auto;
	height: 1em;
	width: 1em;
}

@keyframes ctaz-puls {
	50% {
		opacity: 0.45;
	}
}

@keyframes ctaz-dreh {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ctaz-kreis,
	.ctaz-laedt .ctaz-platzhalter .ctaz-vorschau span,
	.ctaz-platzhalter.ctaz-wartet .ctaz-vorschau span {
		animation: none;
	}
}

/* Info-Symbol im Hinweistext und Fenster mit dem Text aus den Einstellungen */
.ctaz-info-wort {
	white-space: nowrap;
}

.ctaz-karte .ctaz-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: -0.12em;
	margin: 0 0 0 0.3em;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	box-shadow: none;
	color: #205b87;
	font-size: 1em;
	line-height: 1;
	min-height: 0;
	cursor: pointer;
}

.ctaz-karte .ctaz-info:hover,
.ctaz-karte .ctaz-info:focus {
	background: none;
	color: #163f5e;
}

.ctaz-karte .ctaz-info:focus-visible {
	outline: 2px solid #205b87;
	outline-offset: 2px;
}

.ctaz-karte .ctaz-info svg {
	display: block;
	width: 1em;
	height: 1em;
}

.ctaz-dialog {
	position: fixed;
	box-sizing: border-box;
	width: 100%;
	max-width: min(34em, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow: auto;
	margin: auto;
	padding: 1.4em 1.5em 1.2em;
	border: 0;
	border-top: 4px solid #ffa200;
	border-radius: 6px;
	background: #fff;
	color: #222;
	font-size: 0.9em;
	line-height: 1.6;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ctaz-dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.ctaz-dialog-text {
	padding-right: 1em;
}

.ctaz-dialog-text > :first-child {
	margin-top: 0;
}

.ctaz-dialog-text > :last-child {
	margin-bottom: 0;
}

.ctaz-dialog-text p,
.ctaz-dialog-text ul,
.ctaz-dialog-text ol {
	margin: 0 0 0.8em;
}

.ctaz-dialog-text ul,
.ctaz-dialog-text ol {
	padding-left: 1.3em;
}

.ctaz-dialog-text a {
	color: #205b87;
}

.ctaz-dialog .ctaz-dialog-zu {
	position: absolute;
	top: 0.25em;
	right: 0.4em;
	margin: 0;
	padding: 0.1em 0.25em;
	border: 0;
	background: none;
	box-shadow: none;
	color: #666;
	font-size: 1.6em;
	line-height: 1;
	cursor: pointer;
}

.ctaz-dialog .ctaz-dialog-zu:hover,
.ctaz-dialog .ctaz-dialog-zu:focus {
	background: none;
	color: #000;
}
