/* ========================================================================= */
/* COMPONENTS – Sektions-Bausteine der Salespage                             */
/* Enthaelt: Kicker/Section-Head, Hero, Wellen, Trust, Problem, Loesung,     */
/* Vorteile, Nach-der-Pruefung, Timeline, Details, Bewertungen, FAQ, Final.  */
/* ========================================================================= */

/* --- Kicker & Section-Head (geteilte Bausteine) --- */
.sa-kicker {
	font-family: var(--sa-font-head);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	color: var(--sa-ink); /* In Titelfarbe – deutlich lesbarer als der helle Akzent. */
	text-transform: uppercase;
	margin-bottom: 14px;
}
.sa-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sa-section-head h2 { font-weight: 800; font-size: 34px; color: var(--sa-ink); margin: 0; }

/* ========================================================================= */
/* HERO                                                                       */
/* ========================================================================= */
.sa-hero {
	max-width: var(--sa-maxw);
	margin: 0 auto;
	padding: 24px 32px 56px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	position: relative;
	overflow: hidden;
}
.sa-hero__col { flex: 1 1 460px; min-width: 300px; }
.sa-hero__media { flex: 1 1 420px; min-width: 300px; }
.sa-hero h1 {
	font-weight: 800;
	font-size: 52px;
	line-height: 1.08;
	color: var(--sa-ink);
	margin: 0 0 20px;
	letter-spacing: -0.5px;
}
.sa-hero__lead { font-size: 19px; line-height: 1.6; color: var(--sa-text); margin: 0 0 28px; max-width: 520px; }
.sa-hero__lead strong { color: var(--sa-ink); }
.sa-hero-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.sa-badge {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border-radius: var(--sa-radius-pill);
	padding: 8px 16px 8px 8px;
	font-size: 14px; font-weight: 700; color: var(--sa-ink);
}
.sa-badge__tick {
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--sa-accent); color: var(--sa-on-accent);
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.sa-hero__frame {
	position: relative; width: 100%; aspect-ratio: 4 / 3;
	border-radius: 28px; overflow: hidden; box-shadow: var(--sa-shadow-img);
}
.sa-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================================================= */
/* WELLEN / BOOT-ANIMATION                                                    */
/* ========================================================================= */
.sa-waves { position: relative; height: 96px; overflow: hidden; }
.sa-waves svg {
	position: absolute; bottom: 0; left: 0; width: 200%;
	pointer-events: none;
}
.sa-waves__back  { height: 64px; opacity: 0.16; animation: sa-wave 22s linear infinite; }
.sa-waves__mid   { height: 56px; animation: sa-wave 18s linear infinite; }
.sa-waves__front { height: 44px; animation: sa-wave 14s linear infinite; }
.sa-boat {
	position: absolute; bottom: 14px; left: -10%;
	width: 130px; height: 44px; pointer-events: none;
	animation: sa-boat-drift 18s linear infinite; opacity: 0.85;
}
.sa-boat__inner {
	width: 100%; height: 100%;
	animation: sa-boat-bob 3.6s ease-in-out infinite;
	transform-origin: 50% 80%;
}
.sa-boat__inner img { width: 100%; height: 100%; object-fit: contain; }

@keyframes sa-wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes sa-boat-drift { 0% { left: -10%; } 100% { left: 105%; } }
@keyframes sa-boat-bob {
	0%   { transform: translateY(0)    rotate(0deg); }
	22%  { transform: translateY(-6px) rotate(-4deg); }
	46%  { transform: translateY(1px)  rotate(3deg); }
	68%  { transform: translateY(-4px) rotate(-2.5deg); }
	83%  { transform: translateY(2px)  rotate(2deg); }
	100% { transform: translateY(0)    rotate(0deg); }
}

/* ========================================================================= */
/* TRUST-BAR                                                                  */
/* ========================================================================= */
.sa-trust { background: var(--sa-teal); padding: 26px 32px; position: relative; overflow: hidden; }
.sa-trust__line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.35; }
.sa-trust__row {
	max-width: var(--sa-maxw); margin: 0 auto;
	display: flex; flex-wrap: nowrap; justify-content: space-between;
	gap: 16px; overflow-x: auto;
}
.sa-trust__item {
	display: flex; align-items: center; gap: 10px;
	color: var(--sa-ink); font-size: 17px; font-weight: 700;
	white-space: nowrap; flex-shrink: 0;
}
.sa-trust__plus {
	width: 22px; height: 22px; border-radius: 50%;
	background: #fff; color: var(--sa-accent);
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 15px; flex-shrink: 0;
}

/* ========================================================================= */
/* PROBLEM                                                                    */
/* ========================================================================= */
.sa-problem { max-width: 1080px; margin: 0 auto; padding: 76px 32px 56px; text-align: center; }
.sa-problem h2 { font-weight: 800; font-size: 34px; color: var(--sa-ink); margin: 0 0 20px; }
.sa-problem__text { font-size: 17px; line-height: 1.7; color: var(--sa-text); margin: 0 auto 36px; max-width: 720px; }
.sa-problem__text strong { color: var(--sa-ink); }
.sa-problem__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px; text-align: left;
}
.sa-problem__card {
	background: #fff; border-radius: var(--sa-radius); padding: 26px 26px;
	font-size: 16px; font-weight: 500; color: var(--sa-ink); line-height: 1.5;
}

/* ========================================================================= */
/* LOESUNG                                                                    */
/* ========================================================================= */
.sa-solution { background: var(--sa-teal); padding: 70px 32px 40px; } /* unten reduziert: Welle uebernimmt den Uebergang. */
.sa-solution__row {
	max-width: var(--sa-maxw); margin: 0 auto;
	display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.sa-solution__media, .sa-solution__col { flex: 1 1 420px; min-width: 300px; }
.sa-solution__frame { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.sa-solution__frame img { width: 100%; height: 100%; object-fit: cover; }
.sa-solution h2 { font-weight: 800; font-size: 32px; color: var(--sa-ink); margin: 0 0 18px; }
.sa-solution__text { font-size: 16px; line-height: 1.7; color: var(--sa-ink-solution); margin: 0 0 22px; }
.sa-solution__text strong { color: var(--sa-ink); }
.sa-checklist { display: flex; flex-direction: column; gap: 10px; }
.sa-check { display: flex; align-items: flex-start; gap: 10px; color: var(--sa-ink-solution); font-size: 15px; font-weight: 500; }
.sa-check__tick { color: var(--sa-accent); font-weight: 800; margin-top: 1px; }
.sa-solution .sa-btn { margin-top: 26px; }

/* ========================================================================= */
/* VORTEILE                                                                   */
/* ========================================================================= */
.sa-benefits { max-width: var(--sa-maxw); margin: 0 auto; padding: 76px 32px; position: relative; overflow: hidden; }
.sa-benefits-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.sa-benefit { background: #fff; border-radius: var(--sa-radius); padding: 26px 22px; grid-column: span 4; }
.sa-benefit--span-3 { grid-column: span 3; }
.sa-benefit--span-4 { grid-column: span 4; }
.sa-benefit__icon {
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--sa-accent); color: var(--sa-on-accent);
	display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.sa-benefit__icon svg { width: 22px; height: 22px; }
.sa-benefit__title { font-family: var(--sa-font-head); font-weight: 700; font-size: 16px; color: var(--sa-ink); margin-bottom: 6px; }
.sa-benefit__desc { font-size: 14px; line-height: 1.5; color: var(--sa-muted); }

/* ========================================================================= */
/* NACH DER PRUEFUNG                                                          */
/* ========================================================================= */
.sa-after { background: var(--sa-bg-sand); padding: 70px 32px; position: relative; overflow: hidden; }
.sa-after__inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.sa-after__head { text-align: center; margin-bottom: 36px; }
.sa-after__head h2 { font-weight: 800; font-size: 32px; color: var(--sa-ink); margin: 0; }
.sa-after-grid { background: #fff; border-radius: var(--sa-radius); padding: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sa-after-item { display: flex; align-items: flex-start; gap: 12px; }
.sa-after-item__tick { color: var(--sa-accent); font-size: 20px; font-weight: 800; }
.sa-after-item span:last-child { font-size: 15px; font-weight: 500; color: var(--sa-ink); line-height: 1.5; }
.sa-after__note { text-align: center; margin-top: 20px; font-size: 13px; color: #55636D; }

/* ========================================================================= */
/* KURSABLAUF / TIMELINE                                                      */
/* ========================================================================= */
.sa-timeline { max-width: 1000px; margin: 0 auto; padding: 76px 32px 38px; position: relative; overflow: hidden; z-index: 0; }
.sa-timeline__deco {
	position: absolute; top: 215px; right: 42px; width: 360px; height: 360px;
	object-fit: contain; opacity: 0.16; pointer-events: none; z-index: -1;
	/* Basis-Transform + sanfte Scroll-Verschiebung (per JS gesetzte Variablen). */
	transform: translate(var(--sa-mx, 0px), var(--sa-my, 0px)) rotate(-15deg) scaleX(-1);
	will-change: transform;
}
.sa-timeline__list { display: flex; flex-direction: column; gap: 0; }
.sa-step { display: flex; gap: 22px; }
.sa-step__rail { display: flex; flex-direction: column; align-items: center; }
.sa-step__num {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--sa-accent); color: var(--sa-on-accent);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--sa-font-head); font-weight: 800; flex-shrink: 0;
}
.sa-step__line { width: 2px; flex: 1; background: var(--sa-border); min-height: 28px; }
.sa-step__body { padding-bottom: 28px; }
.sa-step__title { font-family: var(--sa-font-head); font-weight: 700; font-size: 17px; color: var(--sa-ink); margin-bottom: 4px; }
.sa-step__desc { font-size: 15px; color: var(--sa-muted); line-height: 1.5; }

/* ========================================================================= */
/* KURSDETAILS                                                                */
/* ========================================================================= */
.sa-details { max-width: var(--sa-maxw); margin: 0 auto; padding: 76px 32px; position: relative; overflow: hidden; z-index: 0; }
.sa-details__deco {
	position: absolute; top: -50px; left: 20px; width: 380px; height: 380px;
	object-fit: contain; opacity: 0.14; pointer-events: none; z-index: -1;
	will-change: transform;
}
/* Kursorte: Theorie / Praxis & Pruefung als hervorgehobene Karten. */
.sa-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sa-location { background: #fff; border: 2px solid var(--sa-teal); border-radius: var(--sa-radius); padding: 22px 24px; }
.sa-location__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sa-location__icon {
	width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
	background: var(--sa-accent); color: var(--sa-on-accent);
	display: flex; align-items: center; justify-content: center;
}
.sa-location__icon svg { width: 22px; height: 22px; }
.sa-location__label { font-family: var(--sa-font-head); font-weight: 800; font-size: 20px; line-height: 1.2; color: var(--sa-ink); margin: 0; }
.sa-location__note { font-size: 14px; color: var(--sa-muted); margin: 2px 0 0; }
.sa-location__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sa-location__place { display: flex; align-items: flex-start; gap: 10px; background: var(--sa-bg); border-radius: 14px; padding: 12px 14px; }
.sa-location__pin { color: var(--sa-ink); flex-shrink: 0; margin-top: 1px; }
.sa-location__pin svg { width: 20px; height: 20px; display: block; }
.sa-location__name { display: block; font-family: var(--sa-font-head); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--sa-ink); }
.sa-location__detail { display: block; font-size: 14px; line-height: 1.45; color: var(--sa-muted); margin-top: 2px; }

/* Detail-Punkte: kompakte Zeilen mit Haken, gleiche Formensprache wie die Kursorte.
   Flex statt Grid, damit eine unvollstaendige letzte Zeile zentriert wird. */
.sa-details-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.sa-detail-card {
	flex: 0 0 calc((100% - 28px) / 3);
	display: flex; align-items: center; gap: 12px; text-align: left;
	background: #fff; border: 1px solid var(--sa-teal-light); border-radius: 14px; padding: 14px 18px;
}
.sa-detail-card__icon {
	width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
	background: var(--sa-accent); color: var(--sa-on-accent);
	display: flex; align-items: center; justify-content: center;
}
.sa-detail-card__icon svg { width: 16px; height: 16px; display: block; }
.sa-detail-card div { font-size: 15px; font-weight: 600; color: var(--sa-ink); line-height: 1.35; }

/* ========================================================================= */
/* BEWERTUNGEN                                                                */
/* ========================================================================= */
.sa-reviews { background: var(--sa-bg-sand); padding: 76px 32px; position: relative; overflow: hidden; z-index: 0; }
.sa-reviews__deco { position: absolute; top: -20px; right: -40px; width: 340px; height: 340px; object-fit: contain; opacity: 0.14; pointer-events: none; z-index: -1; }
.sa-reviews__note { font-size: 13px; color: #55636D; font-family: monospace; } /* A11y: 4.5:1+ auf Sand-Hintergrund. */
.sa-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sa-review { background: #fff; border-radius: 16px; padding: 24px; border: 1px dashed #C9C2B4; display: flex; flex-direction: column; }
.sa-review__stars { color: var(--sa-star); font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.sa-review__title { font-family: var(--sa-font-head); font-weight: 700; font-size: 14px; color: var(--sa-ink); margin-bottom: 8px; }
.sa-review__body { position: relative; overflow: hidden; max-height: 96px; transition: max-height 0.35s ease; margin-bottom: 10px; }
.sa-review__body.is-open { max-height: 1200px; }
.sa-review__text { font-size: 14px; line-height: 1.6; color: var(--sa-muted); font-style: italic; white-space: pre-line; }
.sa-review__toggle { align-self: flex-start; background: none; border: none; padding: 0; color: var(--sa-accent); font-family: var(--sa-font-head); font-weight: 700; font-size: 13px; cursor: pointer; margin-bottom: 14px; }
.sa-review__name { font-size: 12px; color: var(--sa-muted-2); font-family: var(--sa-font-head), sans-serif; }

/* ========================================================================= */
/* FAQ                                                                        */
/* ========================================================================= */
.sa-faq { max-width: 1080px; margin: 0 auto; padding: 76px 32px; }
.sa-faq__list { display: flex; gap: 2em; align-items: flex-start; }
.sa-faq__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sa-faq-item { background: #fff; border-radius: var(--sa-radius); overflow: hidden; }
.sa-faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 22px; cursor: pointer; width: 100%; text-align: left;
	background: none; border: none; font-family: var(--sa-font-head); font-weight: 700; font-size: 15px; color: var(--sa-ink);
}
.sa-faq-item__sign { color: var(--sa-ink); font-size: 20px; font-weight: 800; flex-shrink: 0; line-height: 1; }
.sa-faq-item__a { padding: 0 22px 20px; font-size: 14px; line-height: 1.6; color: var(--sa-muted); }
.sa-faq-item__a[hidden] { display: none; }

/* ========================================================================= */
/* FINAL-CTA                                                                  */
/* ========================================================================= */
.sa-final { background: var(--sa-teal); padding: 80px 32px; text-align: center; position: relative; overflow: hidden; }
.sa-final__wave { position: absolute; bottom: -60px; left: 0; width: 100%; height: 220px; z-index: -1; pointer-events: none; opacity: 0.3; }
.sa-final__inner { max-width: 640px; margin: 0 auto; }
.sa-final h2 { font-weight: 800; font-size: 34px; color: var(--sa-ink); margin: 0 0 16px; }
.sa-final__text { font-size: 16px; color: var(--sa-ink-solution); margin: 0 0 28px; }
.sa-final__text strong { color: var(--sa-ink); }

/* ========================================================================= */
/* DANKE-SEITE (neutral, fuer alle Salespages)                               */
/* ========================================================================= */
.sa-thanks { position: relative; overflow: hidden; z-index: 0; padding: 72px 32px 96px; }
.sa-thanks__deco { position: absolute; top: -40px; right: -60px; width: 380px; height: 380px; object-fit: contain; opacity: 0.12; pointer-events: none; z-index: -1; }
.sa-thanks__card { max-width: 680px; margin: 0 auto; background: #fff; border-radius: var(--sa-radius); padding: 48px 44px; text-align: center; box-shadow: var(--sa-shadow-card); }
.sa-thanks__logo { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 18px; }
.sa-topbar--thanks { justify-content: flex-end; }
.sa-thanks h1 { font-family: var(--sa-font-head); font-weight: 800; font-size: 36px; line-height: 1.15; color: var(--sa-ink); margin: 0 0 14px; }
.sa-thanks__lead { font-size: 17px; line-height: 1.6; color: var(--sa-text); margin: 0 0 28px; }
.sa-thanks__steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; text-align: left; }
.sa-thanks__steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--sa-bg); border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--sa-text); }
.sa-thanks__steps strong { display: block; font-family: var(--sa-font-head); color: var(--sa-ink); }
.sa-thanks__num {
	width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
	background: var(--sa-teal); color: var(--sa-ink);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--sa-font-head); font-weight: 800; font-size: 14px;
}
/* Neutral: keine Salespage-Navigation / Sticky-CTAs auf der Danke-Seite. */
.sa-page-danke .sa-nav, .sa-page-danke .sa-side-cta, .sa-page-danke .sa-sticky { display: none !important; }
@media (max-width: 760px) {
	.sa-thanks { padding: 40px 20px 64px; }
	.sa-thanks__card { padding: 32px 22px; }
	.sa-thanks h1 { font-size: 28px; }
	.sa-page-danke { padding-bottom: 0; }
}
