/* =========================================================================
   AngebotsPiraten – Redesign nach ap-start.png / ap-reise.png
   Isolierte Komponenten (ap-, tcard, dcard, rp-, bbox). Bestehende Basis
   (Header, Footer, .btn, .container) wird wiederverwendet und punktuell
   ergänzt. Vollständig responsiv (Desktop / Tablet / Smartphone).
   ========================================================================= */

:root {
	--ap-navy: #0a2b63;
	--ap-navy-d: #071f49;
	--ap-blue: #1668b8;
	--ap-pink: #e10b45;
	--ap-pink-d: #c30539;
	--ap-gold: #f7b70a;
	--ap-gold-2: #ffc61a;
	--ap-ink: #0b2350;
	--ap-muted: #61708f;
	--ap-line: #e7edf4;
	--ap-page: #f4f8fb;
	--ap-r: 16px;
	--ap-r-lg: 22px;
	--ap-r-sm: 12px;
	--ap-shadow: 0 12px 30px rgba(10, 31, 78, .08);
	--ap-shadow-lg: 0 26px 60px rgba(10, 31, 78, .16);
}

/* --- Gemeinsame Bausteine ------------------------------------------------ */
.kicker--gold { color: var(--ap-gold); }
.kicker--blue { color: var(--ap-blue); }
.kicker--light { color: rgba(255, 255, 255, .85); }

.btn--gold {
	background: var(--ap-gold-2);
	color: var(--ap-navy);
	box-shadow: 0 10px 22px rgba(247, 183, 10, .32);
}
.btn--gold:hover { background: var(--ap-gold); color: var(--ap-navy-d); }

.ap-sec-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; margin-bottom: 30px;
}
.ap-sec-head__title {
	font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--ap-ink);
	margin: 6px 0 8px; font-weight: 800; letter-spacing: -.01em;
}
.ap-sec-head__lead { margin: 0; color: var(--ap-muted); font-size: 17px; }
.ap-link-pill {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px; border: 1.5px solid var(--ap-pink); border-radius: var(--ap-r-pill, 999px);
	color: var(--ap-pink); font-weight: 700; background: #fff; transition: background .15s, color .15s;
}
.ap-link-pill:hover { background: var(--ap-pink); color: #fff; }
.ap-link-pill .icon { transition: transform .15s; }
.ap-link-pill:hover .icon { transform: translateX(3px); }

.ap-cards { display: grid; gap: 24px; }
.ap-cards--4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================================================
   STARTSEITE
   ========================================================================= */

/* --- Hero --------------------------------------------------------------- */
.ap-hero {
	position: relative; min-height: 620px; display: flex; align-items: center;
	color: #fff; overflow: hidden;
}
.ap-hero__media { position: absolute; inset: 0; z-index: 0; }
.ap-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ap-hero__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg, rgba(6, 26, 62, .9) 0%, rgba(7, 34, 78, .74) 44%, rgba(7, 40, 90, .3) 80%),
		linear-gradient(180deg, rgba(6, 24, 60, .55) 0%, rgba(6, 24, 60, .05) 26%, rgba(6, 24, 60, 0) 45%);
}
.ap-hero__inner {
	position: relative; z-index: 2; width: 100%;
	padding-top: calc(var(--header-h, 104px) + 34px); padding-bottom: 120px;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.ap-hero__content { max-width: 640px; }
.ap-hero__script {
	font-family: var(--font-script, cursive); color: var(--ap-gold-2);
	font-size: clamp(30px, 3.4vw, 46px); line-height: 1; margin: 0 0 6px; font-weight: 400;
}
.ap-hero__title {
	font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; font-weight: 800;
	letter-spacing: -.015em; margin: 0 0 18px; color: #fff;
}
.ap-hero__mark { white-space: nowrap; box-shadow: inset 0 -0.14em 0 var(--ap-gold-2); }
.ap-hero__eyebrow {
	text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 700;
	color: rgba(255, 255, 255, .82); margin: 0 0 26px;
}
.ap-hero__trust {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px;
}
.ap-hero__trust li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ap-hero__trust .icon { color: var(--ap-gold-2); flex: 0 0 auto; }
.ap-hero__badge {
	position: absolute; right: 0; bottom: 116px; z-index: 3; transform: rotate(-8deg);
	background: var(--ap-gold-2); color: var(--ap-navy); font-family: var(--font-script, cursive);
	font-size: 27px; line-height: 1.05; text-align: center; padding: 18px 24px;
	border-radius: 42% 58% 55% 45% / 58% 45% 60% 42%; max-width: 190px; box-shadow: var(--ap-shadow);
}

/* --- Suche -------------------------------------------------------------- */
.ap-search { position: relative; z-index: 5; margin-top: -96px; }
.ap-searchbox {
	background: #fff; border-radius: var(--ap-r-lg); box-shadow: var(--ap-shadow-lg);
	padding: 22px;
	/* Die Basisklasse .searchbox schneidet für ihre runden Ecken ab. Hier liegt
	   durch das Padding nichts an der Kante – und das Vorschlagsmenü muss aus
	   der Box herausragen dürfen. */
	overflow: visible;
}
.ap-searchbox .ap-searchtabs { display: flex; gap: 10px; margin-bottom: 20px; }
.ap-searchbox .ap-searchtab {
	flex: 1 1 0; min-height: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 12px; border: none; border-radius: var(--ap-r-sm); cursor: pointer;
	background: #f1f4f9; color: var(--ap-ink); font-weight: 700; font-size: 15px;
	transition: background .15s, color .15s, box-shadow .15s;
}
.ap-searchbox .ap-searchtab .icon { color: var(--ap-blue); }
.ap-searchbox .ap-searchtab:hover { background: #e7edf5; }
.ap-searchbox .ap-searchtab.is-active { background: var(--ap-pink); color: #fff; box-shadow: 0 10px 22px rgba(225, 11, 69, .28); }
.ap-searchbox .ap-searchtab.is-active .icon { color: #fff; }
/* Alte theme.css-Such-Stile in der neuen Suchbox neutralisieren. */
.ap-searchbox .searchtab.is-active::after,
.ap-searchbox .searchtab + .searchtab::before { display: none; content: none; }

/* Vier Suchfelder: Ziel breit, Abflughafen schmal, Zeitraum und Reisende
   brauchen feste Mindestbreiten, damit die Datums- und Zahlenfelder passen. */
.ap-sfields {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(250px, 1.4fr) minmax(170px, .9fr) auto;
	gap: 16px; align-items: end;
}
.aps-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.aps-field__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-field__label {
	display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--ap-ink);
}
.aps-field__label::after {
	content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ap-muted); border-bottom: 2px solid var(--ap-muted);
	transform: rotate(45deg) translateY(-2px);
}
.aps-input {
	display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 54px;
	border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm); background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.aps-input:focus-within { border-color: var(--ap-pink); box-shadow: 0 0 0 4px rgba(225, 11, 69, .12); }
.aps-input .icon { color: var(--ap-blue); flex: 0 0 auto; }
.aps-input input, .aps-input select {
	border: none; outline: none; background: transparent; width: 100%; font: inherit;
	font-weight: 600; color: var(--ap-ink); font-size: 15px; appearance: none; cursor: pointer;
}
.aps-input input::placeholder { color: #93a1bb; font-weight: 500; }
.aps-input--select { position: relative; }
.aps-caret { color: var(--ap-muted); flex: 0 0 auto; }
.aps-submit { height: 54px; padding: 0 26px; font-size: 16px; white-space: nowrap; }

.ap-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.ap-popular__label { font-weight: 700; color: var(--ap-ink); font-size: 14px; margin-right: 4px; }
.ap-pill {
	display: inline-flex; padding: 8px 16px; background: #f1f4f9; border-radius: 999px;
	color: var(--ap-ink); font-weight: 600; font-size: 14px; transition: background .15s, color .15s;
}
.ap-pill:hover { background: var(--ap-navy); color: #fff; }

/* --- Vertrauensleiste (oben) -------------------------------------------- */
.ap-usp { background: #fff; padding: 30px 0; }
.ap-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ap-usp__item { display: flex; align-items: center; gap: 14px; }
.ap-usp__icon { color: var(--ap-navy); flex: 0 0 auto; }
.ap-usp__text { display: flex; flex-direction: column; }
.ap-usp__title { font-weight: 800; color: var(--ap-ink); font-size: 16px; }
.ap-usp__sub { color: var(--ap-muted); font-size: 14px; }

/* --- Top-Angebote / Karten ---------------------------------------------- */
.ap-offers { background: var(--ap-page); }
.section.ap-offers { padding: 64px 0; }

.tcard { position: relative; height: 100%; }
.tcard__link {
	display: flex; flex-direction: column; height: 100%; background: #fff;
	border-radius: var(--ap-r-lg); overflow: hidden; box-shadow: var(--ap-shadow);
	transition: transform .16s, box-shadow .16s; color: inherit;
}
.tcard__link:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg); }
.tcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__badge {
	position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 13px; background: rgba(10, 31, 78, .82); color: #fff; border-radius: 999px;
	font-size: 13px; font-weight: 700; backdrop-filter: blur(3px);
}
.tcard__badge .icon { color: #fff; }
.tcard__fav {
	position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; background: #fff;
	color: var(--ap-ink); box-shadow: 0 4px 12px rgba(10, 31, 78, .18);
}
.tcard__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; flex: 1 1 auto; }
.tcard__place { display: inline-flex; align-items: center; gap: 6px; color: var(--ap-muted); font-size: 14px; font-weight: 600; }
.tcard__place .icon { color: var(--ap-pink); }
.tcard__title { font-size: 20px; line-height: 1.22; font-weight: 800; color: var(--ap-ink); }
.tcard__sub { color: var(--ap-muted); font-size: 15px; margin-top: -2px; }
.tcard__facts { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 4px; }
.tcard__fact { display: flex; align-items: center; gap: 9px; color: var(--ap-muted); font-size: 14.5px; font-weight: 600; }
.tcard__fact .icon { color: var(--ap-blue); flex: 0 0 auto; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.tcard__price { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 8px; }
.tcard__ab { grid-column: 1; font-size: 14px; color: var(--ap-muted); font-weight: 600; }
.tcard__value { grid-column: 2; grid-row: 1; font-size: 26px; font-weight: 800; color: var(--ap-ink); }
.tcard__unit { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--ap-muted); }
.tcard__price--request { font-weight: 700; color: var(--ap-muted); }
.tcard__go {
	width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: inline-flex;
	align-items: center; justify-content: center; background: var(--ap-pink); color: #fff;
	transition: background .15s, transform .15s;
}
.tcard__link:hover .tcard__go { transform: translateX(3px); }
.tcard--similar .tcard__go { background: var(--ap-navy); }
.tcard--similar .tcard__title { font-size: 18px; }

/* --- Abenteuer-Band ----------------------------------------------------- */
.ap-adventure { position: relative; overflow: hidden; color: #fff; margin: 0; }
.ap-adventure__media { position: absolute; inset: 0; z-index: 0; }
.ap-adventure__media img { width: 100%; height: 100%; object-fit: cover; }
.ap-adventure__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg, rgba(8, 27, 66, .94) 0%, rgba(9, 33, 80, .82) 46%, rgba(9, 40, 92, .5) 100%);
}
.ap-adventure__inner {
	position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
	gap: 40px; padding: 60px 0;
}
.ap-adventure__content { max-width: 620px; }
.ap-adventure__title { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; font-weight: 800; color: #fff; margin: 8px 0 16px; }
.ap-adventure__mark { box-shadow: inset 0 -0.12em 0 var(--ap-gold-2); }
.ap-adventure__text { color: rgba(255, 255, 255, .86); font-size: 17px; margin: 0 0 26px; }
.ap-adventure__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; flex: 0 0 auto; }
.ap-adventure__list li { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; }
.ap-adventure__ico {
	width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; display: inline-flex;
	align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff;
}

/* --- Reiseziele --------------------------------------------------------- */
.ap-dest { background: #fff; }
.section.ap-dest { padding: 64px 0; }
.ap-dest__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.dcard { position: relative; display: block; border-radius: var(--ap-r); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--ap-shadow); }
.dcard__media, .dcard__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dcard__img { object-fit: cover; transition: transform .3s; }
.dcard:hover .dcard__img { transform: scale(1.06); }
.dcard__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 22, 55, .78) 0%, rgba(6, 22, 55, .06) 55%); }
.dcard__label { position: absolute; left: 16px; bottom: 16px; right: 54px; z-index: 2; color: #fff; font-weight: 800; font-size: 18px; }
.dcard__go {
	position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
	background: var(--ap-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}

/* --- Vertrauensleiste (unten) ------------------------------------------- */
.ap-trustbar { background: #fff; padding: 40px 0 64px; }
.ap-trustbar__panel {
	background: var(--ap-page); border-radius: var(--ap-r-lg); padding: 30px 34px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.ap-trustbar__item { display: flex; align-items: center; gap: 14px; }
.ap-trustbar__icon { color: var(--ap-navy); flex: 0 0 auto; }
.ap-trustbar__text { display: flex; flex-direction: column; }
.ap-trustbar__title { font-weight: 800; color: var(--ap-ink); font-size: 15px; }
.ap-trustbar__sub { color: var(--ap-muted); font-size: 13px; }

/* =========================================================================
   REISE-DETAILSEITE
   ========================================================================= */
.rp { background: var(--ap-page); padding: 26px 0 56px; }
.rp-crumbs { font-size: 14px; color: var(--ap-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rp-crumbs a { color: var(--ap-muted); }
.rp-crumbs a:hover { color: var(--ap-pink); }
.rp-crumbs__sep { color: #b7c2d6; }
.rp-crumbs__current { color: var(--ap-ink); font-weight: 600; }

.rp-top { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.rp-main { min-width: 0; }

/* --- Kopf des Angebots --------------------------------------------------
   Reihenfolge nach Leseweg: Herkunft (Reisegebiet) → Titel → Einordnung
   (Teaser) → Merkmale. Die Goldkante links bindet den Block an die
   Markenfarben und gibt ihm einen Anker, statt drei lose Zeilen zu stapeln.
   ---------------------------------------------------------------------- */
.rp-head {
	position: relative;
	padding: 2px 0 26px 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--ap-line);
}
.rp-head::before {
	content: "";
	position: absolute; left: 0; top: 4px; bottom: 30px;
	width: 4px; border-radius: 3px;
	background: linear-gradient(180deg, var(--ap-gold-2), rgba(247, 183, 10, 0));
}

.rp-eyebrow {
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px;
	margin: 0 0 10px;
	font-size: 12.5px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--ap-muted);
}
.rp-eyebrow .icon { color: var(--ap-gold); flex: 0 0 auto; }
.rp-eyebrow a { color: var(--ap-muted); text-decoration: none; }
.rp-eyebrow a:hover { color: var(--ap-pink); }
.rp-eyebrow__sep { color: #c3cddd; }

.rp-title {
	font-size: clamp(32px, 4.2vw, 50px); line-height: 1.04; font-weight: 800;
	color: var(--ap-ink); letter-spacing: -.02em; margin: 0 0 12px;
	max-width: 18ch;
}
/* Lesbarkeitsbreite: eine Zeile über die volle Spalte ist zu lang zum Scannen. */
.rp-sub {
	font-size: 19px; line-height: 1.55; margin: 0;
	color: #46587a; max-width: 62ch;
}

.rp-tags {
	list-style: none; margin: 18px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.rp-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.rp-badge--type { background: var(--ap-navy); color: #fff; }
.rp-badge--type .icon { color: #fff; }
.rp-badge--hot { background: var(--ap-gold-2); color: var(--ap-navy); }
.rp-tag {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px; border-radius: 999px;
	background: #fff; border: 1px solid var(--ap-line);
	font-size: 13.5px; font-weight: 600; color: var(--ap-muted);
}
.rp-tag strong { color: var(--ap-ink); font-weight: 700; }
.rp-tag .icon { color: var(--ap-blue); flex: 0 0 auto; }

/* Galerie */
.rgal { display: flex; flex-direction: column; gap: 14px; }
.rgal__main { position: relative; border-radius: var(--ap-r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: #dde6f0; box-shadow: var(--ap-shadow); }
.rgal__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgal__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px;
	border: none; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ap-navy);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--ap-shadow);
	transition: background .15s;
}
.rgal__nav:hover { background: #fff; }

/* Bildwechsel: abgedunkeltes Standbild + Spinner, bis das neue Bild geladen ist.
   Die Klasse setzt theme.js erst nach ~120 ms, damit Cache-Treffer nicht flackern. */
.rgal__img { transition: opacity .22s ease; }
.rgal__main.is-loading .rgal__img { opacity: .4; }
.rgal__main::before {
	content: ""; position: absolute; inset: 0; z-index: 2;
	background: rgba(8, 24, 58, .3);
	opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
/* Gefüllter Kreis hinter dem Ring: der Spinner bleibt auch auf hellen
   Motiven ablesbar. */
.rgal__main::after {
	content: ""; position: absolute; z-index: 3; top: 50%; left: 50%;
	width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
	background: rgba(7, 22, 52, .62);
	border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff;
	opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.rgal__main.is-loading::before,
.rgal__main.is-loading::after { opacity: 1; }
.rgal__main.is-loading::after { animation: ap-spin .8s linear infinite; }
.rgal__nav--prev { left: 16px; }
.rgal__nav--next { right: 16px; }
.rgal__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rgal__thumb { position: relative; border: none; padding: 0; border-radius: var(--ap-r-sm); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 2; background: #dde6f0; }
.rgal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgal__thumb.is-active { outline: 3px solid var(--ap-pink); outline-offset: -3px; }
.rgal__thumb--more::after { content: ""; position: absolute; inset: 0; background: rgba(8, 24, 58, .66); }
.rgal__more { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
.rgal__more small { font-weight: 600; font-size: 12px; }

/* Merkmale unter Galerie */
.rp-features { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rp-features li { display: flex; align-items: center; gap: 10px; color: var(--ap-ink); font-weight: 600; font-size: 14.5px; }
.rp-features__ico { color: var(--ap-blue); flex: 0 0 auto; }

/* Buchungsbox */
.rp-aside { position: sticky; top: calc(var(--header-h, 104px) + 16px); }
.bbox { position: relative; background: #fff; border-radius: var(--ap-r-lg); box-shadow: var(--ap-shadow-lg); padding: 26px; overflow: hidden; }
.bbox__top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.bbox__price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bbox__ab { font-size: 16px; color: var(--ap-muted); font-weight: 600; }
.bbox__value { font-size: 34px; font-weight: 800; color: var(--ap-ink); }
.bbox__unit { font-size: 15px; color: var(--ap-muted); }
.bbox__price--request { font-size: 22px; font-weight: 800; color: var(--ap-ink); }
.bbox__ribbon {
	position: absolute; top: 0; right: 0; background: var(--ap-gold-2); color: var(--ap-navy);
	font-size: 12px; font-weight: 800; padding: 9px 16px; border-bottom-left-radius: var(--ap-r); z-index: 2;
}
.bbox__facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bbox__facts li { display: flex; align-items: center; gap: 12px; color: var(--ap-ink); font-weight: 600; font-size: 15px; }
.bbox__facticon { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--ap-page); color: var(--ap-navy); }

.bbox__fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.bbf { display: flex; flex-direction: column; gap: 7px; }
.bbf__label { font-size: 13px; font-weight: 700; color: var(--ap-ink); }
.bbf__control {
	width: 100%; height: 50px; padding: 0 40px 0 14px; border: 1.5px solid var(--ap-line);
	border-radius: var(--ap-r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2361708f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
	font: inherit; font-weight: 600; color: var(--ap-ink); appearance: none; cursor: pointer;
}
.bbf__control:focus-visible { outline: none; border-color: var(--ap-pink); box-shadow: 0 0 0 4px rgba(225, 11, 69, .12); }
.bbf__control:disabled { opacity: .65; }

.bbf-trav { border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm); }
.bbf-trav__summary { list-style: none; cursor: pointer; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 600; color: var(--ap-ink); }
.bbf-trav__summary::-webkit-details-marker { display: none; }
.bbf-trav__summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ap-muted); border-bottom: 2px solid var(--ap-muted); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.bbf-trav[open] .bbf-trav__summary::after { transform: rotate(-135deg) translateY(-1px); }
.bbf-trav__panel { padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ap-line); }
.bbf-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bbf-step__label { font-size: 14px; font-weight: 600; color: var(--ap-ink); }
.bbf-step__ctrl { display: inline-flex; align-items: center; gap: 4px; }
.bbf-step__btn { width: 34px; height: 34px; border: 1.5px solid var(--ap-line); background: #fff; border-radius: 9px; font-size: 19px; font-weight: 700; color: var(--ap-navy); cursor: pointer; }
.bbf-step__btn:hover:not(:disabled) { border-color: var(--ap-pink); color: var(--ap-pink); }
.bbf-step__btn:disabled { opacity: .4; cursor: default; }
.bbf-step__val { min-width: 30px; text-align: center; font-weight: 800; color: var(--ap-ink); }

.bbox__submit { width: 100%; justify-content: center; height: 54px; font-size: 16px; }
.bbox__submit:disabled { opacity: .55; cursor: default; box-shadow: none; }
.bbox__cta { width: 100%; justify-content: center; }
.bbox__merken { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--ap-ink); font-weight: 600; }
.bbox__merken .icon { color: var(--ap-pink); }
.bbox__or { text-align: center; position: relative; margin: 18px 0; color: var(--ap-muted); font-size: 14px; }
.bbox__or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--ap-line); }
.bbox__or span { position: relative; background: #fff; padding: 0 12px; }
.bbox__call { display: flex; align-items: center; gap: 14px; }
.bbox__callicon { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--ap-page); color: var(--ap-navy); }
.bbox__calltext { display: flex; flex-direction: column; line-height: 1.3; }
.bbox__calllabel { font-size: 13px; color: var(--ap-muted); }
.bbox__callnr { font-size: 19px; font-weight: 800; color: var(--ap-ink); }
.bbox__callhours { font-size: 12px; color: var(--ap-muted); }
.bbox__checks { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ap-line); display: flex; flex-direction: column; gap: 10px; }
.bbox__checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ap-ink); font-weight: 600; }
.bbox__checks .icon { color: #14a05a; flex: 0 0 auto; }
.ap-bbox__loading { display: flex; align-items: center; gap: 10px; color: var(--ap-muted); font-weight: 600; padding: 8px 0; }

/* Tabs (Pill-Leiste) */
.rp-tabs { margin-top: 44px; }
.rp-tabs__nav {
	display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--ap-line);
	border-radius: var(--ap-r); padding: 8px; margin-bottom: 28px;
}
.rp-tabs .offer-tab {
	border: none; background: transparent; padding: 12px 20px; border-radius: var(--ap-r-sm);
	font-weight: 700; color: var(--ap-muted); cursor: pointer; font-size: 15px; transition: background .15s, color .15s;
}
.rp-tabs .offer-tab:hover { color: var(--ap-ink); }
.rp-tabs .rp-tabs__nav .offer-tab.is-active { background: var(--ap-navy); color: #fff; }
.rp-tabs .offer-tab.is-active::after { display: none; content: none; }
.rp-tabs .offer-tab { min-height: 0; }

/* Überblick */
.rp-overview { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.rp-h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--ap-ink); margin: 0 0 16px; }
.rp-h3 { font-size: 22px; font-weight: 800; color: var(--ap-ink); margin: 0; }
.rp-h3__note { color: var(--ap-muted); font-weight: 600; font-size: 16px; }
.rp-overview__text { color: #3a4a68; font-size: 16.5px; line-height: 1.75; }
.rp-overview__text p { margin: 0 0 14px; }
.rp-benefits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.rp-benefits li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ap-ink); font-size: 15px; }
.rp-benefits__ico { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--ap-page); color: var(--ap-navy); }

.rp-route { background: var(--ap-page); border-radius: var(--ap-r-lg); padding: 24px; }
.rp-route__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; color: var(--ap-ink); }
.rp-route__head .icon { color: var(--ap-blue); margin-top: 2px; }
.rp-route__head strong { display: block; font-size: 16px; }
.rp-route__head small { color: var(--ap-muted); font-size: 12px; }
.rp-route__list { list-style: none; margin: 0; padding: 0; position: relative; }
.rp-route__list::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: #cdd9ea; }
.rp-route__list li { position: relative; padding: 0 0 16px 24px; color: var(--ap-ink); font-weight: 600; font-size: 15px; }
.rp-route__list li:last-child { padding-bottom: 0; }
.rp-route__dot { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ap-pink); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--ap-pink); }

/* Reiseverlauf-Vorschau */
.rp-verlauf-preview { background: var(--ap-page); border-radius: var(--ap-r-lg); padding: 28px; margin-top: 32px; }
.rp-verlauf-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rp-textlink { border: none; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--ap-pink); font-weight: 700; font-size: 15px; }
.rp-daycards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rp-daycard { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r); padding: 16px; }
.rp-daycard__day { display: inline-block; font-size: 12px; font-weight: 800; color: var(--ap-pink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.rp-daycard__title { font-size: 16px; font-weight: 800; color: var(--ap-ink); margin: 0 0 6px; }
.rp-daycard__text { font-size: 13px; color: var(--ap-muted); margin: 0; line-height: 1.5; }

.rp-termine-hint { color: var(--ap-muted); font-size: 16px; margin: 0 0 20px; max-width: 720px; }

/* CTA-Band */
.rp-cta { position: relative; overflow: hidden; color: #fff; margin: 8px 0 0; }
.rp-cta__media { position: absolute; inset: 0; z-index: 0; }
.rp-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.rp-cta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8, 20, 50, .92) 0%, rgba(9, 30, 74, .74) 50%, rgba(9, 40, 92, .34) 100%); }
.rp-cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 0; }
.rp-cta__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: #fff; margin: 0 0 12px; }
.rp-cta__text { color: rgba(255, 255, 255, .86); font-size: 17px; margin: 0 0 24px; max-width: 560px; }
.rp-cta__pill { display: inline-flex; align-items: center; gap: 12px; background: rgba(7, 20, 48, .7); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--ap-r); padding: 16px 22px; flex: 0 0 auto; }
.rp-cta__pill .icon { color: var(--ap-gold-2); }
.rp-cta__pill strong { display: block; font-size: 16px; }
.rp-cta__pill small { color: rgba(255, 255, 255, .8); font-size: 13px; }

.ap-offers--related { background: #fff; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
	.rp-top { grid-template-columns: 1fr; }
	.rp-title { max-width: none; }
	.rp-aside { position: static; max-width: 460px; }
	.rp-overview { grid-template-columns: 1fr; }
	.ap-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.ap-dest__grid { grid-template-columns: repeat(3, 1fr); }
	.rp-daycards { grid-template-columns: repeat(3, 1fr); }
	.ap-adventure__inner { flex-direction: column; align-items: flex-start; }
	.ap-adventure__list { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; }
}
/* Unter ~1180px reicht die Breite nicht mehr für vier Felder plus Button in
   einer Zeile – die Datumsfelder würden abgeschnitten. */
@media (max-width: 1180px) {
	.ap-sfields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-sfields .aps-submit { grid-column: 1 / -1; width: 100%; justify-content: center; }
}

@media (max-width: 960px) {
	.ap-sfields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-sfields .aps-submit { grid-column: 1 / -1; width: 100%; justify-content: center; }
	.aps-submit { grid-column: 1 / -1; }
	.ap-usp__grid { grid-template-columns: repeat(2, 1fr); }
	.ap-trustbar__panel { grid-template-columns: repeat(2, 1fr); }
	.ap-searchtab span { display: none; }
	.ap-searchtab { flex: 1 1 auto; padding: 14px; }
}
@media (max-width: 780px) {
	.ap-hero__inner { flex-direction: column; padding-bottom: 90px; }
	.ap-hero__badge { align-self: flex-start; margin-top: 10px; }
	.ap-search { margin-top: -70px; }
	.ap-cards--4 { grid-template-columns: 1fr; }
	.ap-dest__grid { grid-template-columns: repeat(2, 1fr); }
	.ap-sec-head { flex-direction: column; align-items: flex-start; }
	.rp-features { grid-template-columns: 1fr 1fr; }
	.rp-benefits { grid-template-columns: 1fr; }
	.rgal__thumbs { grid-template-columns: repeat(5, 1fr); }
	.rp-daycards { grid-template-columns: 1fr 1fr; }
	.rp-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
	.ap-searchtabs { overflow-x: auto; }
	.ap-sfields { grid-template-columns: 1fr; }
	.ap-usp__grid, .ap-trustbar__panel { grid-template-columns: 1fr; }
	.ap-dest__grid { grid-template-columns: 1fr; }
	.rp-features, .rp-daycards { grid-template-columns: 1fr; }
	.ap-hero__title { font-size: 38px; }
}

/* --- Termine & Preise --------------------------------------------------
   Karte je Reisezeitraum, darin die Belegungsvarianten. Ersetzt die frühere
   9-Spalten-Tabelle: Termine standen dort doppelt (einmal je Belegung),
   konstante Spalten (Nächte, Status) füllten Breite ohne Information.
   ---------------------------------------------------------------------- */
.apd { display: flex; flex-direction: column; gap: 14px; }

/* Kopfleiste: Anzahl, Preisanker, Belegungsfilter */
.apd__bar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap;
}
.apd__count {
	margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
	font-size: 15px; font-weight: 700; color: var(--ap-ink);
}
.apd__count-sep { color: var(--ap-line); }
.apd__from { color: var(--ap-muted); font-weight: 600; }
.apd__from strong { color: var(--ap-pink); font-weight: 800; }
.apd__filter { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ap-ink); }
.apd__filter select {
	height: 40px; border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm);
	padding: 0 32px 0 12px; font: inherit; font-weight: 600; color: var(--ap-ink);
	appearance: none; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2361708f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.apd__filter select:focus-visible { outline: none; border-color: var(--ap-pink); box-shadow: 0 0 0 4px rgba(225, 11, 69, .12); }

.apd__list { display: flex; flex-direction: column; gap: 12px; }

/* Monatsband – Orientierung bei langen Terminlisten */
.apd__month {
	display: flex; align-items: center; gap: 12px;
	margin: 12px 0 2px; font-size: 12px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .14em; color: var(--ap-muted);
}
.apd__month::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ap-line); }
.apd__list > .apd__month:first-child { margin-top: 0; }

/* --- Termin-Karte -------------------------------------------------------- */
.apd__trip {
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.apd__trip:hover { border-color: #d3deec; box-shadow: var(--ap-shadow); }

.apd__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px 24px; flex-wrap: wrap;
	padding: 14px 20px; background: var(--ap-page); border-bottom: 1px solid var(--ap-line);
}
.apd__span { margin: 0; display: flex; align-items: center; gap: 14px; }
.apd__date { display: flex; align-items: baseline; gap: 6px; }
.apd__date strong { font-size: 17px; font-weight: 800; color: var(--ap-ink); letter-spacing: -.01em; }
.apd__date small { font-size: 13px; font-weight: 600; color: var(--ap-muted); }
.apd__arrow { display: inline-flex; color: var(--ap-blue); flex: 0 0 auto; }

.apd__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.apd__facts li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ap-muted); }
.apd__facts .icon { color: var(--ap-blue); flex: 0 0 auto; }

/* --- Belegungsvarianten -------------------------------------------------- */
.apd__opts { list-style: none; margin: 0; padding: 0; }
.apd__opt {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center; gap: 16px 24px;
	padding: 14px 20px;
}
.apd__opt + .apd__opt { border-top: 1px solid var(--ap-line-soft, #eef2f7); }
.apd__opt.is-best { background: linear-gradient(90deg, rgba(247, 183, 10, .09), rgba(247, 183, 10, 0) 62%); }
/* Akzentkante markiert den Preisanker, ohne eine weitere Spalte zu kosten. */
.apd__opt.is-best::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0;
	width: 3px; background: var(--ap-gold-2);
}

.apd__occ { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; min-width: 0; }
.apd__occ-ico {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: #eef4fb; color: var(--ap-blue);
}
.apd__occ-txt { min-width: 0; }
.apd__occ-txt strong { display: block; font-size: 15px; font-weight: 700; color: var(--ap-ink); }
.apd__occ-txt small { display: block; font-size: 13px; color: var(--ap-muted); }

.apd__badge {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 4px 10px; border-radius: 999px;
	background: var(--ap-gold-2); color: var(--ap-navy-d);
	font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	white-space: nowrap;
}
.apd__badge--request { background: #fff4dc; color: #9a6b00; }

.apd__price { margin: 0; text-align: right; white-space: nowrap; }
.apd__pp { display: block; font-size: 22px; font-weight: 800; color: var(--ap-navy); line-height: 1.15; letter-spacing: -.02em; }
.apd__price small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ap-muted); font-weight: 600; }
.apd__total::before { content: "· "; }

.apd__cta {
	height: 46px; font-size: 15px; padding: 0 20px; gap: 8px;
	justify-self: end; white-space: nowrap;
}
.apd__cta .icon { transition: transform .15s; }
.apd__cta:hover .icon { transform: translateX(3px); }
/* Nur der Bestpreis bekommt den gefüllten Button – vier gleich laute CTAs
   untereinander konkurrieren sonst miteinander. */
.apd__cta--ghost {
	background: #fff; color: var(--ap-pink); border: 1.5px solid var(--ap-pink);
	box-shadow: none;
}
.apd__cta--ghost:hover { background: var(--ap-pink); color: #fff; }

/* --- Aktive Filter ------------------------------------------------------- */
.afil {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
	margin: 0 0 22px;
}
.afil__label { font-size: 13.5px; font-weight: 800; color: var(--ap-muted); }
.afil__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.afil__chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 12px; border-radius: 999px;
	background: #fff; border: 1px solid var(--ap-line);
	font-size: 13.5px; color: var(--ap-ink); text-decoration: none;
	transition: border-color .15s, background .15s;
}
.afil__chip:hover { border-color: var(--ap-pink); background: #fff5f8; }
.afil__key { color: var(--ap-muted); font-weight: 600; }
.afil__val { font-weight: 800; }
.afil__x {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--ap-line); color: var(--ap-muted);
}
.afil__chip:hover .afil__x { background: var(--ap-pink); color: #fff; }
.afil__reset { font-size: 13.5px; font-weight: 700; color: var(--ap-pink); }

/* Startseiten-Suchbox: Vorschlagsliste und neue Feldtypen einpassen. */
.aps-field--suggest .aps-input { position: relative; }
.aps-input--range { gap: 8px; }
.aps-input--range input[type="date"] {
	flex: 1 1 0; min-width: 0; border: none; background: none; padding: 0;
	font: inherit; font-weight: 700; color: var(--ap-ink);
}
.aps-range__sep { color: var(--ap-muted); font-weight: 700; flex: 0 0 auto; }
.aps-input--pax { gap: 14px; }
.ap-pill small {
	margin-left: 6px; padding: 1px 6px; border-radius: 999px;
	background: rgba(10, 43, 99, .08); font-size: 11.5px; font-weight: 800; color: var(--ap-muted);
}

/* --- Suchfelder: Vorschläge, Zeitraum, Belegung --------------------------
   Die Felder schlagen nur vor, was es im Bestand gibt – deshalb zeigt jeder
   Eintrag die Trefferzahl gleich mit.
   ---------------------------------------------------------------------- */
.field__body { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--ap-muted); }

.suggest {
	position: absolute; top: calc(100% + 10px); left: -12px; right: -12px; z-index: 40;
	list-style: none; margin: 0; padding: 6px;
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	box-shadow: var(--ap-shadow-lg);
	max-height: 320px; overflow-y: auto;
}
.suggest[hidden] { display: none; }
/* Nur solange ein Menü offen ist – sonst bleibt die Eckenbeschneidung. */
.searchbox.has-suggest { overflow: visible; }
/* Nach oben geklappt, wenn unten kein Platz mehr ist. */
.suggest--up { top: auto; bottom: calc(100% + 10px); }
.suggest__item {
	display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
	padding: 10px 12px; border-radius: var(--ap-r-sm); cursor: pointer;
}
.suggest__item.is-active,
.suggest__item:hover { background: #eef4fb; }
.suggest__label { font-weight: 700; color: var(--ap-ink); font-size: 15px; }
.suggest__hint { flex: 0 0 auto; font-size: 12.5px; color: var(--ap-muted); font-weight: 600; white-space: nowrap; }

.field__range { display: flex; align-items: center; gap: 8px; }
.field__date {
	flex: 1 1 0; min-width: 0; width: 100%;
	border: none; background: none; padding: 0; font: inherit;
	font-size: 15px; font-weight: 700; color: var(--ap-ink);
}
.field__date:focus-visible { outline: 2px solid var(--ap-pink); outline-offset: 3px; border-radius: 6px; }

.field__pax { display: flex; align-items: center; gap: 14px; }
.paxfield { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.paxfield label { font-size: 13px; color: var(--ap-muted); font-weight: 600; }
.paxfield input {
	width: 3.2em; border: none; background: none; padding: 0; font: inherit;
	font-size: 16px; font-weight: 800; color: var(--ap-ink); text-align: left;
}
.paxfield input:focus-visible { outline: 2px solid var(--ap-pink); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 720px) {
	.suggest { left: 0; right: 0; }
	.field__pax { gap: 10px; }
	.suggest__item { flex-direction: column; gap: 2px; }
	.suggest__hint { white-space: normal; }
}

/* --- Parkplatz-Angebot am Reisetermin ------------------------------------
   Sitzt in der Termin-Karte, ist aber klar als Fremdangebot erkennbar:
   eigener Farbton, eigene Kante, Herkunftszeile.
   ---------------------------------------------------------------------- */
.pkp {
	display: flex; align-items: center; gap: 16px;
	margin: 0; padding: 14px 20px;
	border-top: 1px dashed var(--ap-line);
	background: linear-gradient(90deg, rgba(22, 104, 184, .07), rgba(22, 104, 184, 0) 70%);
}
.pkp__ico {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 12px;
	background: var(--ap-blue); color: #fff;
	box-shadow: 0 6px 16px rgba(22, 104, 184, .28);
}
.pkp__text { flex: 1 1 auto; min-width: 0; }
.pkp__title { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--ap-ink); line-height: 1.3; }
.pkp__sub { margin: 2px 0 0; font-size: 13.5px; color: var(--ap-muted); line-height: 1.4; }
.pkp__by {
	margin: 5px 0 0; font-size: 11.5px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: #8b9ab4;
}
.pkp__cta {
	flex: 0 0 auto; height: 42px; padding: 0 18px; font-size: 14.5px; gap: 8px;
	background: #fff; color: var(--ap-blue); border: 1.5px solid var(--ap-blue);
	box-shadow: none; white-space: nowrap;
}
.pkp__cta:hover { background: var(--ap-blue); color: #fff; }
.pkp__cta .icon { transition: transform .15s; }
.pkp__cta:hover .icon { transform: translateX(3px); }

@media (max-width: 760px) {
	.pkp { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
	.pkp__text { flex: 1 1 200px; }
	.pkp__cta { flex: 1 1 100%; justify-content: center; }
}

/* display:grid/flex würde das UA-Stylesheet für [hidden] sonst überstimmen. */
.apd__month[hidden],
.apd__trip[hidden],
.apd__opt[hidden],
.apd__empty[hidden] { display: none; }

.apd__empty {
	margin: 0; padding: 22px 20px; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	color: var(--ap-muted); font-weight: 600;
}

@media (max-width: 900px) {
	.apd__opt { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; }
	.apd__cta { grid-column: 1 / -1; justify-self: stretch; width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
	.apd__head { padding: 13px 16px; gap: 10px 16px; }
	.apd__span { gap: 10px; }
	.apd__date { flex-direction: column; align-items: flex-start; gap: 0; }
	.apd__date strong { font-size: 15.5px; }
	.apd__opt { grid-template-columns: 1fr; padding: 14px 16px; gap: 10px; }
	.apd__price { text-align: left; }
	.apd__pp { font-size: 20px; }
	.apd__price small { display: inline; }
	.apd__opt.is-best { background: rgba(247, 183, 10, .09); }
}

/* --- Header: Navigation rechtsbündig + mehr Abstand ---------------------- */
/* Nav nimmt den freien Raum auf, Aktionen schließen direkt rechts an → das
   Menü sitzt rechtsbündig neben den Aktionen. */
.nav { margin-inline-start: auto; }
.nav__list { gap: 44px; }
.site-header__actions { margin-inline-start: 0; }

/* Mobile: Logo zentriert, Aktionen rechts (kollisionsfreies 3-Spalten-Grid). */
@media (max-width: 960px) {
	.site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 12px;
	}
	.brand { grid-column: 2; justify-self: center; }
	.site-header__actions { grid-column: 3; justify-self: end; margin-inline-start: 0; }
}

/* =========================================================================
   ABENTEUER
   ========================================================================= */
.ap-cards--3 { grid-template-columns: repeat(3, 1fr); }

/* Kategoriebasierte Bild-Platzhalter (saubere Alternative bei ungeklärten Rechten) */
.ap-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255,255,255,.92); }
.ap-ph .icon { opacity: .95; }
.ap-ph--0 { background: linear-gradient(150deg, #0a2b63, #1668b8); }
.ap-ph--1 { background: linear-gradient(150deg, #0b4c97, #2f86d6); }
.ap-ph--2 { background: linear-gradient(150deg, #10295f, #0a7d8c); }
.ap-ph--3 { background: linear-gradient(150deg, #143578, #4a5db8); }
.tcard__media .ap-ph { position: absolute; inset: 0; }
.rgal__img.ap-ph, .rgal__main--single .ap-ph { min-height: 340px; }

/* Karte: „Abenteuer entdecken“-CTA-Zeile */
.tcard--adventure .tcard__cta-text { display: inline-flex; align-items: center; gap: 8px; color: var(--ap-pink); font-weight: 700; font-size: 14px; }
.tcard--adventure .tcard__go { width: 34px; height: 34px; background: var(--ap-pink); }
.tcard--adventure .tcard__foot { gap: 10px; }

/* Abenteuer-Hero */
.adv-hero { position: relative; overflow: hidden; color: #fff; }
.adv-hero__media { position: absolute; inset: 0; z-index: 0; }
.adv-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.adv-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(7,26,62,.92) 0%, rgba(9,33,80,.72) 55%, rgba(9,40,92,.4) 100%); }
.adv-hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h,104px) + 40px) 0 56px; max-width: 780px; }
.adv-hero__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1.03; margin: 2px 0 14px; color: #fff; }
.adv-hero__text { font-size: 18px; color: rgba(255,255,255,.86); margin: 0; }

/* Filterleiste */
.adv-filter-wrap { background: #fff; border-bottom: 1px solid var(--ap-line); }
.adv-filter { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; padding: 22px 0; }
.adv-filter__field { display: flex; flex-direction: column; gap: 6px; }
.adv-filter__field label { font-size: 13px; font-weight: 700; color: var(--ap-ink); }
.adv-filter__field select {
	height: 48px; border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm); padding: 0 34px 0 12px;
	font: inherit; font-weight: 600; color: var(--ap-ink); appearance: none; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2361708f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.adv-filter__field select:focus-visible { outline: none; border-color: var(--ap-pink); box-shadow: 0 0 0 4px rgba(225,11,69,.12); }
.adv-filter__submit { height: 48px; }
.adv-count { color: var(--ap-muted); font-weight: 700; margin: 0 0 20px; }
.adv-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.adv-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--ap-line); border-radius: var(--ap-r-sm); color: var(--ap-ink); font-weight: 700; background: #fff; }
.adv-pagination .page-numbers.current { background: var(--ap-navy); color: #fff; border-color: var(--ap-navy); }
.adv-pagination a.page-numbers:hover { border-color: var(--ap-pink); color: var(--ap-pink); }

/* Abenteuer-Detail-Anpassungen */
.rgal__main--single { aspect-ratio: 16 / 9; }
/* =========================================================================
   ABENTEUER – Inhalts- und Beschreibungsteil
   Leseweg: Einstiegsabsatz groß → Fließtext → Highlights als Kacheln →
   daneben die vertraglichen Angaben. Vorher standen hier nur zwei dünne
   Hakenlisten nebeneinander, was unfertig wirkte.
   ========================================================================= */
.advb {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px; align-items: start;
	padding: 34px 0 8px;
	border-top: 1px solid var(--ap-line);
	margin-top: 30px;
}
.advb__main { min-width: 0; }

/* Einstiegsabsatz hervorheben – gibt dem Text einen Anfang. */
.advb__text { color: #3a4a68; font-size: 16.5px; line-height: 1.75; }
.advb__text p { margin: 0 0 16px; }
.advb__text p:first-child {
	font-size: 19px; line-height: 1.6; color: var(--ap-ink); font-weight: 500;
}
.advb__text p:last-child { margin-bottom: 0; }

.advb__sub {
	margin: 30px 0 16px; font-size: 13px; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase; color: var(--ap-muted);
	display: flex; align-items: center; gap: 12px;
}
.advb__sub::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ap-line); }

/* Highlights als Kacheln statt als Hakenliste. */
.advb__hl {
	list-style: none; margin: 0; padding: 0;
	/* 240px ergibt bei der üblichen Spaltenbreite drei Kacheln je Reihe –
	   fünf Highlights stehen dann 3+2 statt 4+1. */
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.advb__card {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.advb__card:hover { border-color: #d3deec; box-shadow: var(--ap-shadow); transform: translateY(-2px); }
.advb__ico {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 13px;
	background: linear-gradient(135deg, #eef4fb, #e2ecf8); color: var(--ap-blue);
}
.advb__label { font-size: 15px; font-weight: 700; color: var(--ap-ink); line-height: 1.35; }

/* Seitenspalte: vertragliche Angaben und praktische Hinweise. */
.advb__side { display: flex; flex-direction: column; gap: 16px; }
.advp {
	background: #fff; border: 1px solid var(--ap-line);
	border-radius: var(--ap-r-lg); padding: 20px 22px;
}
.advp__head {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 14px; padding-bottom: 12px;
	border-bottom: 1px solid var(--ap-line);
	font-size: 16px; font-weight: 800; color: var(--ap-ink);
}
.advp__head .icon { color: var(--ap-blue); flex: 0 0 auto; }
.advp__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.advp__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ap-ink); }
.advp__list .icon { color: #46b37d; flex: 0 0 auto; margin-top: 2px; }

.advp--know { background: var(--ap-page); border-color: #dde6f2; }
.advp--know .advp__head .icon { color: var(--ap-gold); }

.advk { margin: 0; }
.advk__row { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px dashed var(--ap-line); }
.advk__row:last-child { border-bottom: none; padding-bottom: 0; }
.advk dt {
	display: flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--ap-muted);
}
.advk dt .icon { color: var(--ap-blue); flex: 0 0 auto; }
.advk dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ap-ink); line-height: 1.45; }

@media (max-width: 1080px) {
	.advb { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
	.advb { padding-top: 26px; margin-top: 24px; }
	.advb__text p:first-child { font-size: 17.5px; }
	.advb__hl { grid-template-columns: 1fr; }
	.advb__card { padding: 14px 16px; }
}

.rp-overview--adventure { grid-template-columns: 1fr 340px; }
.bbox__voucher { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--ap-ink); font-weight: 600; font-size: 14px; }
.bbox__voucher .icon { color: var(--ap-gold); flex: 0 0 auto; }
.bbox__hint { margin: 14px 0 0; font-size: 12.5px; color: var(--ap-muted); }
.check-list--tight li { font-size: 14px; }

@media (max-width: 1080px) {
	.ap-cards--3 { grid-template-columns: repeat(2, 1fr); }
	.adv-filter { grid-template-columns: 1fr 1fr; }
	.rp-overview--adventure { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.ap-cards--3 { grid-template-columns: 1fr; }
	.adv-filter { grid-template-columns: 1fr; }
}

/* Bildnachweis + Ausgebucht-Hinweis */
.rp-credits { margin: 12px 0 0; font-size: 12px; color: var(--ap-muted); line-height: 1.5; }
.bbox__ribbon--soldout { background: #b0b8c6; color: #fff; }
.bbox__soldout { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--ap-r-sm); background: #f3f5f9; color: var(--ap-ink); font-weight: 600; font-size: 14px; }
.bbox__soldout .icon { color: #8b93a3; flex: 0 0 auto; margin-top: 1px; }

@media (max-width: 620px) {
	.rp-head { padding: 2px 0 20px 14px; margin-bottom: 18px; }
	.rp-head::before { width: 3px; bottom: 24px; }
	.rp-eyebrow { font-size: 11.5px; letter-spacing: .1em; }
	.rp-sub { font-size: 17px; }
	.rp-tags { gap: 8px; margin-top: 14px; }
	.rp-tag, .rp-badge { font-size: 12.5px; padding: 6px 12px; }
}

@media (max-width: 620px) {
	.ap-sfields { grid-template-columns: 1fr; }
}

/* =========================================================================
   HOTELS – Arrangements mit Zeitraumwahl
   Leseweg: Zeitraum wählen → passende Arrangements → Anreisetage → Buchung.
   ========================================================================= */
.hta { padding: 34px 0 8px; border-top: 1px solid var(--ap-line); margin-top: 30px; }

.hta__head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
}
.hta__intro { min-width: 0; }
.hta__lead { margin: 6px 0 0; color: var(--ap-muted); font-size: 16px; max-width: 54ch; }

.hta__form {
	display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
	padding: 16px 18px; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	box-shadow: var(--ap-shadow);
}
.hta__field { display: flex; flex-direction: column; gap: 5px; }
.hta__field span { font-size: 12.5px; font-weight: 700; color: var(--ap-muted); }
.hta__field input {
	height: 44px; padding: 0 12px; font: inherit; font-weight: 700; color: var(--ap-ink);
	border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm); background: #fff;
}
.hta__field input:focus-visible { outline: none; border-color: var(--ap-pink); box-shadow: 0 0 0 4px rgba(225, 11, 69, .12); }
.hta__submit { height: 44px; padding: 0 20px; font-size: 15px; }
.hta__reset { align-self: center; font-size: 13.5px; font-weight: 700; color: var(--ap-pink); }

.hta__empty {
	display: flex; align-items: flex-start; gap: 14px;
	margin: 0; padding: 24px 22px; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
}
.hta__empty .icon { color: var(--ap-blue); flex: 0 0 auto; margin-top: 2px; }
.hta__empty strong { display: block; font-size: 16px; color: var(--ap-ink); }
.hta__empty small { display: block; margin-top: 3px; color: var(--ap-muted); font-size: 14px; }

.hta__list { display: flex; flex-direction: column; gap: 14px; }

.hta__item {
	position: relative; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	padding: 20px 22px;
	transition: border-color .15s, box-shadow .15s;
}
.hta__item:hover { border-color: #d3deec; box-shadow: var(--ap-shadow); }
.hta__item.is-best { border-color: rgba(247, 183, 10, .5); background: linear-gradient(180deg, rgba(247, 183, 10, .06), rgba(247, 183, 10, 0) 120px); }

.hta__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hta__titles { min-width: 0; flex: 1 1 320px; }
.hta__title { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ap-ink); line-height: 1.25; }
.hta__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hta__facts li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ap-muted); }
.hta__facts .icon { color: var(--ap-blue); flex: 0 0 auto; }

.hta__price { flex: 0 0 auto; text-align: right; }
.hta__price .apd__badge { margin-bottom: 6px; }
.hta__pp { display: block; font-size: 24px; font-weight: 800; color: var(--ap-navy); line-height: 1.1; letter-spacing: -.02em; }
.hta__price small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ap-muted); font-weight: 600; }

.hta__teaser { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: #46587a; max-width: 70ch; }

.hta__dates { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--ap-line); }
.hta__dates-label {
	margin: 0 0 10px; font-size: 12px; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; color: var(--ap-muted);
}
.hta__days { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hta__day {
	display: flex; flex-direction: column; gap: 1px;
	padding: 8px 12px; border-radius: var(--ap-r-sm);
	background: var(--ap-page); border: 1px solid var(--ap-line);
	min-width: 104px;
}
.hta__date { font-size: 13px; font-weight: 700; color: var(--ap-ink); white-space: nowrap; }
.hta__dayprice { font-size: 13px; font-weight: 800; color: var(--ap-pink); }
.hta__day--more { align-items: center; justify-content: center; min-width: 74px; color: var(--ap-muted); }
.hta__day--more span { font-size: 15px; font-weight: 800; }
.hta__day--more small { font-size: 11px; }

.hta__more { margin-top: 14px; }
.hta__more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ap-blue); }
.hta__includes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 20px; }
.hta__includes li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.45; color: var(--ap-ink); }
.hta__includes .icon { color: #46b37d; flex: 0 0 auto; margin-top: 2px; }

.hta__cta { margin-top: 18px; height: 46px; padding: 0 22px; font-size: 15px; gap: 8px; }

.rp-tag--more { color: var(--ap-muted); font-weight: 700; }
.advb--hotel { border-top: 1px solid var(--ap-line); }

@media (max-width: 860px) {
	.hta__head { flex-direction: column; align-items: stretch; }
	.hta__form { width: 100%; }
	.hta__field { flex: 1 1 140px; }
	.hta__submit { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 620px) {
	.hta { padding-top: 26px; margin-top: 24px; }
	.hta__item { padding: 16px; }
	.hta__top { gap: 12px; }
	.hta__price { text-align: left; }
	.hta__pp { font-size: 21px; }
	.hta__cta { width: 100%; justify-content: center; }
	.hta__includes { grid-template-columns: 1fr; }
}
