/* OMSAG LP · HubSpot Partner
   Vier Varianten, das Badge steht im Fokus:
   A Partner-Leiste, B Closed Loop, C Badge-Karte, D Statement.
   Dunkel ist Standard. Unterkante, Raster und Glows sind auf die Kontakt-Sektion
   (lp-bg-kontakt) abgestimmt, damit beide nahtlos ineinander übergehen.
   Ohne JS ist alles sichtbar, frontend.js setzt .hsp-anim und blendet ein. */

.omsag-lp-hsp {
	--b: var(--omsag-lp-brand, #50aa3c);
	--bl: var(--omsag-lp-lime, #aad337);
	--sky: #6fb4dd;
	--ink: var(--omsag-lp-ink, #232730);
	--grad: var(--omsag-lp-brand-grad, linear-gradient(135deg, #50aa3c 0%, #aad337 100%));
	--ez: var(--omsag-lp-ease, cubic-bezier(.2, .7, .2, 1));
	--font: var(--omsag-lp-font, "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);

	--fg: #fff;
	--tx: rgba(255, 255, 255, .72);
	--mu: rgba(255, 255, 255, .5);
	--ln: rgba(255, 255, 255, .1);
	--card: rgba(255, 255, 255, .04);
	--tile: rgba(255, 255, 255, .055);
	--chip: rgba(255, 255, 255, .06);
	--acc: var(--bl);
	--shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 50px -32px rgba(6, 8, 12, .38);
	--badge-shadow: drop-shadow(0 10px 22px rgba(6, 8, 12, .2));

	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 88px 0 112px;
	font-family: var(--font);
	color: var(--fg);
	-webkit-font-smoothing: antialiased;
	/* Unten links derselbe Grünverlauf, mit dem die Kontakt-Sektion oben links beginnt.
	   Als flache Ellipse: an der Kante identisch, nach oben blendet er schneller aus. */
	background:
		radial-gradient(ellipse calc(28vw + 420px) calc(14vw + 210px) at 2% 100%, rgba(80, 170, 60, .22), transparent),
		radial-gradient(circle at 100% 0%, rgba(111, 180, 221, .1), transparent 42%),
		var(--ink);
}
.omsag-lp-hsp.is-light {
	--fg: var(--ink);
	--tx: #4a515c;
	--mu: #6b7280;
	--ln: #e3e7e1;
	--card: #fff;
	--tile: #f3f6f1;
	--chip: #f1f4ef;
	--acc: var(--b);
	--shadow: 0 1px 2px rgba(35, 39, 48, .04), 0 18px 44px -30px rgba(35, 39, 48, .2);
	--badge-shadow: drop-shadow(0 10px 20px rgba(35, 39, 48, .12));
	background:
		radial-gradient(ellipse calc(28vw + 420px) calc(14vw + 210px) at 2% 100%, rgba(170, 211, 55, .16), transparent),
		radial-gradient(circle at 100% 0%, rgba(111, 180, 221, .12), transparent 42%),
		#f6f8f4;
}
.omsag-lp-hsp, .omsag-lp-hsp *, .omsag-lp-hsp *::before, .omsag-lp-hsp *::after { box-sizing: border-box; }

/* Raster wie in der Kontakt-Sektion, an der Unterkante ausgerichtet: die Linien laufen über die Kante weiter */
.omsag-lp-hsp::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(150, 190, 195, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 190, 195, .05) 1px, transparent 1px);
	background-size: 46px 46px;
	background-position: left bottom;
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 100%, #000, transparent 80%);
	mask-image: radial-gradient(ellipse 90% 70% at 60% 100%, #000, transparent 80%);
}
.omsag-lp-hsp.is-light::before { background-image: linear-gradient(rgba(35, 39, 48, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 39, 48, .04) 1px, transparent 1px); }

/* Nur ein dezenter blauer Glow oben rechts. Den grünen Glow an der Unterkante liefert die
   Kontakt-Sektion selbst: steht sie direkt unter diesem Element, läuft ihr Glow nach oben
   in dieses Element hinein aus (siehe lp-bg-kontakt, ".omsag-lp-hsp + .omsag-lp-bgk"). */
.omsag-lp-hsp__amb { position: absolute; z-index: -1; width: 300px; height: 300px; top: -120px; right: 4%; border-radius: 50%; background: rgba(111, 180, 221, .3); filter: blur(70px); opacity: .5; pointer-events: none; }
.omsag-lp-hsp.is-light .omsag-lp-hsp__amb { opacity: .22; }

.omsag-lp-hsp__in { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.omsag-lp-hsp.is-all .omsag-lp-hsp__v + .omsag-lp-hsp__v { margin-top: 80px; padding-top: 80px; border-top: 1px dashed var(--ln); }
.omsag-lp-hsp.is-one.is-a, .omsag-lp-hsp.is-one.is-c { padding: 64px 0 80px; }

/* Beschriftung im Vergleichsmodus (nur für Redakteure) */
.omsag-lp-hsp__label {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; width: fit-content; max-width: calc(100% - 56px);
	margin: 0 auto 32px; padding: 8px 14px; border-radius: 999px;
	background: #fff; color: #232730; font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}
.omsag-lp-hsp__label b { padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #132009; font-weight: 750; }
.omsag-lp-hsp__label span { font-weight: 500; color: #6b7280; font-size: 12px; }

/* ── Gemeinsame Bausteine ───────────────────────────────────────────── */
.omsag-lp-hsp .omsag-lp-hsp__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 650; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: var(--acc); }
.omsag-lp-hsp .omsag-lp-hsp__t { margin: 0; font-size: clamp(22px, 2vw, 27px); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; color: var(--fg); text-wrap: balance; }
.omsag-lp-hsp .omsag-lp-hsp__t.is-lg { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.026em; }
.omsag-lp-hsp .omsag-lp-hsp__t.is-xl { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.03em; }
.omsag-lp-hsp .omsag-lp-hsp__x { margin: 12px 0 0; max-width: 58ch; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.6; color: var(--tx); text-wrap: pretty; }
.omsag-lp-hsp .omsag-lp-hsp__x.is-lead { margin-top: 18px; font-size: clamp(15.5px, 1.2vw, 17.5px); }
.omsag-lp-hsp__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.omsag-lp-hsp.is-light .omsag-lp-hsp__accent { background: none; color: var(--b); }

.omsag-lp-hsp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.omsag-lp-hsp__profile {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
	color: var(--fg) !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important;
	background: var(--chip); box-shadow: inset 0 0 0 1px var(--ln);
	transition: box-shadow .25s var(--ez), transform .25s var(--ez);
}
.omsag-lp-hsp__profile svg { width: 15px; height: 15px; opacity: .65; transition: transform .25s var(--ez), opacity .25s; }
.omsag-lp-hsp__profile:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--acc); }
.omsag-lp-hsp__profile:hover svg { opacity: 1; transform: translate(2px, -2px); }
.omsag-lp-hsp__profile.is-text { height: auto; padding: 0 0 2px; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--ln); }
.omsag-lp-hsp__profile.is-text:hover { transform: none; box-shadow: inset 0 -1px 0 var(--acc); }
.omsag-lp-hsp__btn {
	display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
	background: var(--grad); color: #132009 !important; font-size: 14.5px; font-weight: 650; text-decoration: none !important;
	box-shadow: 0 10px 26px -14px rgba(80, 170, 60, .55); transition: transform .3s var(--ez);
}
.omsag-lp-hsp__btn svg { width: 17px; height: 17px; transition: transform .3s var(--ez); }
.omsag-lp-hsp__btn:hover { transform: translateY(-2px); }
.omsag-lp-hsp__btn:hover svg { transform: translateX(3px); }

.omsag-lp-hsp__badge { display: block; flex: none; line-height: 0; transition: transform .45s var(--ez); filter: var(--badge-shadow); }
.omsag-lp-hsp__badge img { display: block; width: 100%; height: auto; }
a.omsag-lp-hsp__badge:hover { transform: translateY(-3px) scale(1.03); }

/* Systeme als kleine Chips (A und D) */
.omsag-lp-hsp__sys { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.omsag-lp-hsp__sys li { margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--ln); font-size: 13px; font-weight: 550; line-height: 1.25; color: var(--tx); white-space: nowrap; }
.omsag-lp-hsp__sys li:last-child { color: var(--acc); box-shadow: inset 0 0 0 1px rgba(170, 211, 55, .3); }
.omsag-lp-hsp.is-light .omsag-lp-hsp__sys li:last-child { box-shadow: inset 0 0 0 1px rgba(80, 170, 60, .3); }

/* Ring hinter dem Badge (C und D) */
.omsag-lp-hsp-c__ring { position: absolute; left: 50%; top: 50%; width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(170, 211, 55, .14), transparent 62%);
	box-shadow: inset 0 0 0 1px rgba(170, 211, 55, .12); }
.omsag-lp-hsp.is-light .omsag-lp-hsp-c__ring { background: radial-gradient(circle, rgba(80, 170, 60, .1), transparent 62%); box-shadow: inset 0 0 0 1px rgba(80, 170, 60, .12); }

/* ── A · Partner-Leiste ──────────────────────────────────────────────── */
.omsag-lp-hsp-a {
	display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 36px;
	padding: 30px 36px 30px 30px; border-radius: 28px;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--ln), var(--shadow);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.omsag-lp-hsp__badge.is-a { width: 148px; }
.omsag-lp-hsp-a__sys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.omsag-lp-hsp-a__sys > span, .omsag-lp-hsp-d__sys > span { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }

/* ── B · Closed Loop ─────────────────────────────────────────────────── */
.omsag-lp-hsp-l__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: end; margin: 0 0 56px; }
.omsag-lp-hsp-l__cert {
	display: flex; align-items: center; gap: 22px; padding: 20px 26px 20px 20px; border-radius: 24px;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--ln), var(--shadow);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.omsag-lp-hsp__badge.is-l { width: 116px; }
.omsag-lp-hsp-l__cert b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--fg); }
.omsag-lp-hsp .omsag-lp-hsp-l__cert p { margin: 6px 0 12px; font-size: 14px; line-height: 1.5; color: var(--tx); }
.omsag-lp-hsp-l__flow { position: relative; }
.omsag-lp-hsp-l__steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.omsag-lp-hsp-l__steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 1.5px; background: linear-gradient(90deg, rgba(170, 211, 55, .12), rgba(170, 211, 55, .6), rgba(170, 211, 55, .12)); }
.omsag-lp-hsp-l__step { position: relative; margin: 0; padding: 0 6px; text-align: center; }
.omsag-lp-hsp-l__n {
	position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
	background: var(--ink); color: var(--acc); font-size: 15px; font-weight: 700; letter-spacing: .02em;
	box-shadow: inset 0 0 0 1.5px rgba(170, 211, 55, .5), 0 0 0 7px var(--ink), 0 0 26px rgba(170, 211, 55, .16);
}
.omsag-lp-hsp.is-light .omsag-lp-hsp-l__n { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(80, 170, 60, .5), 0 0 0 7px #f6f8f4, 0 6px 16px rgba(80, 170, 60, .14); }
.omsag-lp-hsp-l__step:last-child .omsag-lp-hsp-l__n { background: var(--grad); color: #132009; box-shadow: 0 0 0 7px var(--ink), 0 0 30px rgba(170, 211, 55, .34); }
.omsag-lp-hsp.is-light .omsag-lp-hsp-l__step:last-child .omsag-lp-hsp-l__n { box-shadow: 0 0 0 7px #f6f8f4, 0 8px 20px rgba(80, 170, 60, .24); }
.omsag-lp-hsp .omsag-lp-hsp-l__step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.012em; color: var(--fg); }
.omsag-lp-hsp .omsag-lp-hsp-l__step p { margin: 0 auto; max-width: 22ch; font-size: 14.5px; line-height: 1.5; color: var(--tx); }
.omsag-lp-hsp-l__loop { position: relative; margin: 22px 10% 0; height: 56px; }
.omsag-lp-hsp-l__track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.omsag-lp-hsp-l__track path { fill: none; stroke: rgba(170, 211, 55, .55); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; animation: hsp-loop 1.4s linear infinite; }
.omsag-lp-hsp.is-light .omsag-lp-hsp-l__track path { stroke: rgba(80, 170, 60, .55); }
@keyframes hsp-loop { to { stroke-dashoffset: -20; } }
/* Pfeilspitze: der Rückweg endet oben bei Schritt 01 */
.omsag-lp-hsp-l__head-arrow { position: absolute; left: 0; top: 0; width: 12px; height: 10px; transform: translate(-50%, -6px); overflow: visible; }
.omsag-lp-hsp-l__head-arrow path { fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.omsag-lp-hsp-l__loop > span {
	position: absolute; left: 50%; top: 50px; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(170, 211, 55, .32);
	color: var(--fg); font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.omsag-lp-hsp.is-light .omsag-lp-hsp-l__loop > span { background: #fff; box-shadow: inset 0 0 0 1px rgba(80, 170, 60, .3); }
.omsag-lp-hsp-l__loop > span svg { flex: none; width: 16px; height: 16px; color: var(--acc); animation: hsp-spin 6s linear infinite; }
@keyframes hsp-spin { to { transform: rotate(-360deg); } }
.omsag-lp-hsp-l__loop em { font-style: normal; }
.omsag-lp-hsp-l__foot { display: flex; justify-content: center; margin-top: 52px; }

/* ── C · Badge-Karte ─────────────────────────────────────────────────── */
.omsag-lp-hsp-c {
	display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); align-items: stretch;
	border-radius: 30px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--ln), var(--shadow);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.omsag-lp-hsp-c__tile { position: relative; display: grid; place-items: center; padding: 48px 36px; overflow: hidden; background: var(--tile); box-shadow: inset -1px 0 0 var(--ln); }
.omsag-lp-hsp__badge.is-c { position: relative; width: 196px; }
.omsag-lp-hsp-c__body { display: flex; flex-direction: column; justify-content: center; padding: 44px 48px; }
.omsag-lp-hsp-c__facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 26px; margin: 22px 0 28px; padding: 0; list-style: none; }
.omsag-lp-hsp-c__facts li { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--fg); }
.omsag-lp-hsp-c__facts svg { flex: none; width: 18px; height: 18px; color: var(--acc); }

/* ── D · Statement ───────────────────────────────────────────────────── */
.omsag-lp-hsp-d { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 72px; }
.omsag-lp-hsp-d__sys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 0; }
.omsag-lp-hsp-d .omsag-lp-hsp__actions { margin-top: 30px; }
.omsag-lp-hsp-d__badge { position: relative; display: grid; place-items: center; padding: 30px; }
.omsag-lp-hsp__badge.is-d { position: relative; width: 236px; }
.omsag-lp-hsp-d__badge .omsag-lp-hsp-c__ring { width: 112%; }
.omsag-lp-hsp-c__tile .omsag-lp-hsp-c__ring { width: 118%; }

/* ── Einblenden ──────────────────────────────────────────────────────── */
.omsag-lp-hsp.hsp-anim [data-hsp-rv] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ez), transform .8s var(--ez); transition-delay: var(--d, 0ms); }
.omsag-lp-hsp.hsp-anim [data-hsp-rv].is-in { opacity: 1; transform: none; }
.omsag-lp-hsp.hsp-anim [data-hsp-rv] .omsag-lp-hsp__badge img { transform: scale(.92); transition: transform .9s var(--ez) .1s; }
.omsag-lp-hsp.hsp-anim [data-hsp-rv].is-in .omsag-lp-hsp__badge img { transform: none; }

/* ── Responsiv ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.omsag-lp-hsp-a { grid-template-columns: 124px minmax(0, 1fr); gap: 22px 28px; }
	.omsag-lp-hsp__badge.is-a { width: 124px; grid-row: span 2; align-self: start; }
	.omsag-lp-hsp-a .omsag-lp-hsp__actions { grid-column: 2; }
	.omsag-lp-hsp-l__head { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
	.omsag-lp-hsp-l__cert { justify-self: start; max-width: 480px; }
	.omsag-lp-hsp__badge.is-d { width: 200px; }
	.omsag-lp-hsp-d { gap: 44px; }
}
@media (max-width: 860px) {
	.omsag-lp-hsp-l__steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.omsag-lp-hsp-l__steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1.5px; height: auto; background: linear-gradient(180deg, rgba(170, 211, 55, .2), rgba(170, 211, 55, .6), rgba(170, 211, 55, .2)); }
	.omsag-lp-hsp-l__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 0 0 24px; text-align: left; }
	.omsag-lp-hsp-l__n { grid-row: span 2; margin: 0; }
	.omsag-lp-hsp .omsag-lp-hsp-l__step h3 { margin: 6px 0 4px; }
	.omsag-lp-hsp .omsag-lp-hsp-l__step p { margin: 0; max-width: none; }
	.omsag-lp-hsp-l__loop { height: auto; margin: 0; }
	.omsag-lp-hsp-l__track, .omsag-lp-hsp-l__head-arrow { display: none; }
	.omsag-lp-hsp-l__loop > span { position: static; transform: none; white-space: normal; }
	.omsag-lp-hsp-c { grid-template-columns: minmax(0, 1fr); }
	.omsag-lp-hsp-c__tile { padding: 40px 32px; box-shadow: inset 0 -1px 0 var(--ln); }
	.omsag-lp-hsp__badge.is-c { width: 172px; }
	.omsag-lp-hsp-d { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.omsag-lp-hsp-d__badge { order: -1; justify-self: start; padding: 20px; margin-left: -20px; }
	.omsag-lp-hsp__badge.is-d { width: 172px; }
}
@media (max-width: 760px) {
	.omsag-lp-hsp { padding: 64px 0 72px; }
	.omsag-lp-hsp.is-one.is-a, .omsag-lp-hsp.is-one.is-c { padding: 48px 0 60px; }
	.omsag-lp-hsp__in { padding: 0 18px; }
	.omsag-lp-hsp.is-all .omsag-lp-hsp__v + .omsag-lp-hsp__v { margin-top: 56px; padding-top: 56px; }
	.omsag-lp-hsp-a { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 22px; border-radius: 24px; }
	.omsag-lp-hsp__badge.is-a { width: 116px; grid-row: auto; }
	.omsag-lp-hsp-a .omsag-lp-hsp__actions { grid-column: auto; }
	.omsag-lp-hsp-l__cert { padding: 16px 18px 16px 16px; gap: 16px; }
	.omsag-lp-hsp__badge.is-l { width: 92px; }
	.omsag-lp-hsp-c { border-radius: 24px; }
	.omsag-lp-hsp-c__body { padding: 28px 22px 30px; }
	.omsag-lp-hsp-c__facts { grid-template-columns: minmax(0, 1fr); }
	.omsag-lp-hsp__actions > a:not(.is-text) { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.omsag-lp-hsp *, .omsag-lp-hsp *::before { animation: none !important; transition: none !important; }
	.omsag-lp-hsp.hsp-anim [data-hsp-rv] { opacity: 1; transform: none; }
}
