/* =========================================================================
   AngebotsPiraten – Partner-CTA unter dem Angebot (Affiliate-Fläche)
   Präfix: .pcta – bewusst als abgesetztes Panel, damit die Anzeige optisch
   klar vom redaktionellen Reiseinhalt getrennt bleibt.
   Nutzt die Tokens aus redesign.css / theme.css. Vollständig responsiv.
   ========================================================================= */

.pcta {
	background: var(--ap-page);
	padding: 52px 0;
}

.pcta__panel {
	position: relative;
	overflow: hidden;
	border-radius: var(--ap-r-lg);
	background: linear-gradient(118deg, #06183c 0%, var(--ap-navy-d) 46%, #0e3474 100%);
	box-shadow: var(--ap-shadow-lg);
	color: #fff;
	isolation: isolate;
}

/* Warmer Lichtkegel rechts oben – lenkt den Blick zur Karte und zum Button. */
.pcta__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(660px 420px at 86% 6%, rgba(247, 183, 10, .28) 0%, rgba(247, 183, 10, 0) 68%),
		radial-gradient(520px 380px at 2% 96%, rgba(225, 11, 69, .26) 0%, rgba(225, 11, 69, 0) 70%);
}

.pcta__inner { position: relative; padding: 34px 40px 26px; }

/* --- Raster -------------------------------------------------------------- */
.pcta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 44px;
	align-items: start;
}

/* --- Aufhänger, Headline ------------------------------------------------- */
.pcta__hook {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 9px 16px 9px 13px;
	border-radius: var(--ap-r-pill, 999px);
	background: rgba(225, 11, 69, .18);
	border: 1px solid rgba(250, 63, 112, .45);
	color: #ffd9e2;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.35;
}
.pcta__hook .icon { color: var(--ap-pink); flex: 0 0 auto; }

.pcta__kicker { color: var(--ap-gold-2); letter-spacing: .3em; margin: 0 0 10px; }

.pcta__title {
	margin: 0 0 16px;
	font-size: clamp(27px, 3.1vw, 41px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.015em;
	color: #fff;
}
.pcta__script {
	display: block;
	color: var(--ap-gold-2);
	font-weight: 400;
	letter-spacing: 0;
	font-size: 1.06em;
	line-height: 1.22;
	margin-top: 2px;
}

/* --- Echtes Zahlungsziel-Datum ------------------------------------------ */
.pcta__date {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0 0 18px;
	padding: 13px 16px;
	border-radius: var(--ap-r-sm);
	background: rgba(255, 255, 255, .08);
	border-left: 3px solid var(--ap-gold-2);
	font-size: 15.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .92);
}
.pcta__date .icon { color: var(--ap-gold-2); flex: 0 0 auto; margin-top: 2px; }
.pcta__date strong { color: #fff; white-space: nowrap; }
.pcta__date small { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }

.pcta__text { margin: 0 0 16px; font-size: 16.5px; line-height: 1.62; color: rgba(255, 255, 255, .84); max-width: 62ch; }

/* --- Kontextbrücke zum Reisepreis --------------------------------------- */
.pcta__match {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 12px 16px;
	border-radius: var(--ap-r-sm);
	background: rgba(53, 199, 137, .14);
	border: 1px solid rgba(53, 199, 137, .38);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #d6f7e8;
}
.pcta__match .icon { color: #46dda0; flex: 0 0 auto; }
.pcta__match strong { color: #fff; }

/* --- Vorteile ------------------------------------------------------------ */
.pcta__benefits {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 26px;
}
.pcta__benefits li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, .93);
}
.pcta__bico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(247, 183, 10, .16);
	color: var(--ap-gold-2);
}

/* --- Handlung ------------------------------------------------------------ */
.pcta__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.pcta__btn {
	height: 62px;
	font-size: 17px;
	padding: 0 32px;
	box-shadow: 0 14px 32px rgba(247, 183, 10, .36);
}
.pcta__btn:hover { transform: translateY(-2px); }
.pcta__btn .icon { transition: transform .15s; }
.pcta__btn:hover .icon { transform: translateX(3px); }

.pcta__note {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, .74);
	max-width: 34ch;
}
.pcta__note .icon { color: #46dda0; flex: 0 0 auto; }

/* --- Drei Schritte ------------------------------------------------------- */
.pcta__steps {
	list-style: none;
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .13);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 24px;
}
.pcta__step { display: flex; align-items: flex-start; gap: 11px; }
.pcta__stepnum {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid rgba(247, 183, 10, .6);
	color: var(--ap-gold-2);
	font-size: 13px;
	font-weight: 800;
}
.pcta__steptext strong { display: block; font-size: 14.5px; color: #fff; }
.pcta__steptext small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .62); line-height: 1.4; }

/* --- Kartenvisual -------------------------------------------------------- */
.pcta__visual { display: flex; flex-direction: column; gap: 18px; }

.pcta__card {
	position: relative;
	aspect-ratio: 1.585 / 1;
	padding: 20px 22px;
	border-radius: 18px;
	background: linear-gradient(135deg, #123a7e 0%, #0a2453 52%, #071c42 100%);
	border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: 0 22px 44px rgba(3, 12, 32, .5);
	display: flex;
	flex-direction: column;
	transform: rotate(-2.4deg);
}
/* Glanzkante – gibt der Karte Materialität ohne Bilddatei. */
.pcta__card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(72deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 62%);
	pointer-events: none;
}
.pcta__cardtop { display: flex; align-items: center; justify-content: space-between; }
.pcta__cardbrand { font-size: 19px; font-weight: 800; letter-spacing: .04em; color: #fff; }
.pcta__cardbrand span { color: var(--ap-gold-2); }
.pcta__cardnfc { color: rgba(255, 255, 255, .6); display: inline-flex; }

.pcta__chip {
	flex: 0 0 auto;          /* sonst staucht Flexbox den Chip auf schmalen Karten weg */
	width: 42px;
	height: 31px;
	margin: auto 0 14px;
	border-radius: 6px;
	background: linear-gradient(140deg, #f3d271 0%, #c99a26 48%, #f7e2a1 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.pcta__cardnum { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .88); }
.pcta__cardfoot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.pcta__cardlimit small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .56); }
.pcta__cardlimit strong { font-size: 15px; color: #fff; }
/* Zwei überlappende Kreise als neutrale Zahlungsmarke (kein Fremdlogo). */
.pcta__cardmark { display: inline-flex; flex: 0 0 auto; }
.pcta__cardmark i { display: block; width: 24px; height: 24px; border-radius: 50%; }
.pcta__cardmark i:first-child { background: rgba(225, 11, 69, .9); }
.pcta__cardmark i:last-child { background: rgba(247, 183, 10, .9); margin-left: -11px; mix-blend-mode: screen; }

.pcta__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pcta__stats li {
	text-align: center;
	padding: 13px 8px;
	border-radius: var(--ap-r-sm);
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .13);
}
.pcta__stats strong { display: block; font-size: 17px; font-weight: 800; color: var(--ap-gold-2); line-height: 1.2; }
.pcta__stats small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: rgba(255, 255, 255, .68); }

/* --- Pflichtangaben ------------------------------------------------------ */
.pcta__legal {
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .13);
	font-size: 11.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .56);
}

/* --- Responsiv ----------------------------------------------------------- */
@media (max-width: 1080px) {
	.pcta__grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
	.pcta__inner { padding: 30px 30px 24px; }
	.pcta__benefits { gap: 11px 20px; }
	/* Hinweis unter den Button, statt ihn daneben zu quetschen. */
	.pcta__note { flex-basis: 100%; max-width: none; }
}

@media (max-width: 880px) {
	.pcta__grid { grid-template-columns: 1fr; gap: 30px; }
	/* Kartenvisual vor den Vorteilen: sofort erkennbar, worum es geht. */
	.pcta__visual { order: -1; flex-direction: row; align-items: center; gap: 22px; }
	.pcta__card { flex: 0 0 236px; transform: rotate(-1.6deg); }
	.pcta__stats { grid-template-columns: 1fr; flex: 1 1 auto; }
	.pcta__stats li { text-align: left; padding: 11px 14px; }
}

@media (max-width: 640px) {
	.pcta { padding: 36px 0; }
	.pcta__inner { padding: 24px 20px 20px; }
	.pcta__panel { border-radius: var(--ap-r); }
	.pcta__benefits { grid-template-columns: 1fr; }
	.pcta__steps { grid-template-columns: 1fr; padding-top: 16px; gap: 14px; }
	/* Kartenvisual bleibt oben, aber kompakt – sonst rutscht die Headline
	   auf dem Telefon unter die Falz. */
	.pcta__visual { flex-direction: column; align-items: stretch; gap: 14px; }
	.pcta__card { flex: 0 0 auto; max-width: 262px; width: 100%; margin: 0 auto; padding: 16px 18px; transform: none; }
	.pcta__chip { width: 34px; height: 25px; margin-bottom: 10px; }
	.pcta__cardnum { font-size: 13.5px; letter-spacing: .08em; }
	.pcta__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.pcta__stats li { text-align: center; padding: 10px 5px; }
	.pcta__stats strong { font-size: 15px; }
	.pcta__stats small { font-size: 10.5px; }
	.pcta__actions { gap: 16px; }
	.pcta__btn { width: 100%; height: 58px; font-size: 16px; padding: 0 22px; }
	.pcta__note { max-width: none; }
	.pcta__hook { font-size: 13.5px; }
}

@media (max-width: 420px) {
	.pcta__btn span { white-space: normal; text-align: left; }
	.pcta__btn { white-space: normal; height: auto; min-height: 58px; padding: 14px 20px; }
}

/* Reduzierte Bewegung respektieren. */
@media (prefers-reduced-motion: reduce) {
	.pcta__btn, .pcta__btn .icon { transition: none; }
	.pcta__btn:hover { transform: none; }
	.pcta__btn:hover .icon { transform: none; }
}

/* ====================================================================== *
 * Kurzfassung (.pctam) – schmale Variante für die Fehlerseite
 *
 * Farbschema der großen Fläche im Kleinformat: tiefes Navy mit warmem
 * Lichtkegel, goldener Knopf. Dadurch hebt sie sich deutlich vom hellen
 * Suchkasten darüber und dem grauen Angebotsband darunter ab – und bleibt
 * als Werbefläche klar vom redaktionellen Inhalt unterscheidbar.
 *
 * Die Pflichtangaben stehen unter dem Kasten, nicht darin: Im Kasten zögen
 * sie dessen Mitte nach unten und der Knopf stünde sichtbar zu hoch.
 * ====================================================================== */

/* Luft auf beiden Seiten: Die Fläche sitzt zwischen dem Suchkasten und dem
   nächsten Abschnitt und soll sich von beiden absetzen, nicht an ihnen
   kleben. Unten endet hier zugleich der weiße Bereich – ohne Abstand stieße
   die Kante der Anzeige direkt an den Farbwechsel. */
.pctam { padding-block: 24px 30px; }

.pctam__panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	border-radius: var(--ap-r);
	color: #fff;
	/* Lichtkegel zuerst, Grundfarbe zuletzt – wie bei .pcta__panel, nur ohne
	   zusätzliches Element. */
	background:
		radial-gradient(420px 260px at 88% 8%, rgba(247, 183, 10, .30) 0%, rgba(247, 183, 10, 0) 70%),
		radial-gradient(360px 240px at 3% 96%, rgba(225, 11, 69, .24) 0%, rgba(225, 11, 69, 0) 72%),
		linear-gradient(118deg, #06183c 0%, var(--ap-navy-d) 46%, #0e3474 100%);
	box-shadow: var(--ap-shadow-lg);
}

/* Kartenandeutung statt Bild – lädt nichts nach. Auf dunklem Grund hell. */
.pctam__card {
	display: grid;
	place-items: center;
	width: 76px;
	height: 48px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}

.pctam__card span { color: var(--ap-gold-2); }

.pctam__text { min-width: 0; }

.pctam__badge {
	margin: 0 0 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ap-gold-2);
}

.pctam__title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
}

.pctam__note {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, .78);
}

.pctam__btn {
	flex: 0 0 auto;
	height: 48px;
	font-size: 15px;
}

/* Pflichtangaben: außerhalb des Kastens, auf dem Seitenhintergrund. */
.pctam__legal {
	margin-block-start: 10px;
	font-size: 12px;
	color: var(--ap-muted);
}

.pctam__legal summary {
	cursor: pointer;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pctam__legal summary::-webkit-details-marker { display: none; }

.pctam__legal summary::before {
	content: "+";
	font-weight: 700;
	line-height: 1;
}

.pctam__legal[open] summary::before { content: "–"; }

.pctam__legal p {
	/* Über die volle Bandbreite wäre die Zeile dreimal so lang wie lesbar. */
	max-width: 100ch;
	margin: 8px 0 0;
	line-height: 1.55;
}

@media (max-width: 760px) {
	.pctam__panel {
		grid-template-columns: auto minmax(0, 1fr);
		row-gap: 14px;
	}
	.pctam__btn {
		grid-column: 1 / -1;
		width: 100%;
		justify-content: center;
	}
}
