/* ============================================================
   LEISTUNGEN – Übersicht Version 2 (leistungen.php)
   Seriös + medienstark: dunkle Bühne, grosse Bildreihen,
   Marken-Ecke (40px 0 40px 40px) wie die Projekt-Kacheln.
   ============================================================ */
.vm-lx{
	--lx-navy: #0F172A;
	--lx-blue: #29ABF5;
	--lx-deep: #0B63DF;
	--lx-corner: 40px 0 40px 40px;
	--lx-text: #475569;
}

/* --- gemeinsame Bausteine ---------------------------------- */
.vm-lx-kicker{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lx-deep);
	margin-bottom: 18px;
}
.vm-lx-kicker::before{ content: ''; width: 28px; height: 2px; background: currentColor; }
.vm-lx-h2{
	font-family: var(--atf-ff-heading);
	font-weight: 700;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.15;
	letter-spacing: -1px;
	color: var(--lx-navy);
	margin: 0;
}
.vm-lx-btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 32px;
	border-radius: 45px 0 45px 45px;
	font-weight: 600;
	font-size: 17px;
	white-space: nowrap;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.vm-lx-btn--light{ background: var(--lx-blue); color: var(--lx-navy); }
.vm-lx-btn--light:hover{ background: #fff; color: var(--lx-navy); }
.vm-lx-btn--ghost{ border: 1px solid rgba(255,255,255,.3); color: #fff; }
.vm-lx-btn--ghost:hover{ border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.vm-lx-more{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--lx-navy);
	border-bottom: 2px solid var(--lx-blue);
	padding-bottom: 4px;
}
.vm-lx-more i{ transition: transform .25s ease; }
.vm-lx-more:hover{ color: var(--lx-deep); }
.vm-lx-more:hover i{ transform: translateX(4px); }

/* --- KOPF (Runde 59) ----------------------------------------
   Der frühere Hero-Kasten (Raster, Glows, Video) ist durch den einheitlichen Seitenkopf ersetzt
   (app/includes/seitenkopf.php). Hier nur noch die Sprungmarken 01–06 darin und die Button-Reihe des Abschlusses. */
.vm-lx-hero-btns{ display: flex; flex-wrap: wrap; gap: 14px; }

.vm-lx-index{
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border-top: 1px solid rgba(255,255,255,.14);
	margin: 56px 0 -40px; /* sitzt im Kopf unter der Linie; das Minus gleicht den unteren Kopf-Abstand etwas aus */
}
.vm-lx-index a{
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 14px 30px 0;
	color: rgba(255,255,255,.85);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.3;
	border-top: 2px solid transparent;
	margin-top: -1px;
	transition: color .25s ease, border-color .25s ease;
}
.vm-lx-index a span{ color: var(--lx-blue); font-size: 13px; font-weight: 600; }
.vm-lx-index a:hover{ color: #fff; border-top-color: var(--lx-blue); }

/* --- ALLES AUS EINER HAND ---------------------------------- */
.vm-lx-one{ padding: 130px 0 40px; }
.vm-lx-one-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: end;
	margin-bottom: 64px;
}
.vm-lx-one-text{ font-size: 19px; line-height: 1.75; color: var(--lx-text); margin: 0; }
/* Runde 59: die fünf Icon-Kacheln (Marke, Auftritt, Inhalte, Betrieb, Reichweite) sind entfernt */

/* --- DISZIPLINEN ------------------------------------------- */
.vm-lx-list{ padding: 90px 0 30px; }
.vm-lx-row{
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 80px;
	align-items: center;
	margin-bottom: 130px;
	scroll-margin-top: 140px;
}
.vm-lx-row.is-flip .vm-lx-figur{ order: 2; }
/* Runde 60: Bild und optionale Bildunterschrift stehen zusammen in <figure class="vm-lx-figur"> */
.vm-lx-figur{ margin: 0; min-width: 0; }
.vm-lx-unterschrift{ margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--lx-text); }
/* Bild je Block (Runde 59): 16:10, Rundung wie die Referenz-Karten, Hover 1.03 in 300 ms.
   Inhalt in .vm-lx-bild: Foto (vm_img), Referenz-Karte (vm_ref_bild) oder stumme dunkelblaue Fläche (.is-leer). */
.vm-lx-media{
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--vm-rund, var(--lx-corner));
	overflow: hidden;
	background: var(--lx-navy);
	box-shadow: 0 40px 80px -30px rgba(15,23,42,.45);
}
.vm-lx-bild{
	position: absolute;
	inset: 0;
	display: block;
	transition: transform .3s ease;
}
.vm-lx-row:hover .vm-lx-bild{ transform: scale(1.03); }
.vm-lx-bild > img:not(.vm-karte-hg),
.vm-lx-bild > video{
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.vm-lx-bild.is-leer{ background: var(--lx-navy); }
.vm-lx-name{
	font-family: var(--atf-ff-heading);
	font-weight: 700;
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 1.15;
	letter-spacing: -1px;
	margin: 0 0 16px;
}
.vm-lx-name a{ color: var(--lx-navy); }
.vm-lx-name a:hover{ color: var(--lx-deep); }
.vm-lx-tag{ font-size: 19px; line-height: 1.7; color: var(--lx-text); margin: 0 0 28px; }
.vm-lx-points{
	list-style: none;
	margin: 0 0 34px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid #E2E8F0;
}
.vm-lx-points li{
	position: relative;
	padding: 14px 10px 14px 24px;
	border-bottom: 1px solid #E2E8F0;
	color: var(--lx-navy);
	font-weight: 500;
}
.vm-lx-points li::before{
	content: '';
	position: absolute;
	left: 0; top: 50%;
	width: 8px; height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--lx-blue);
}

/* --- BEWEIS ------------------------------------------------ */
.vm-lx-proof{ padding: 40px 0 120px; }
.vm-lx-proof-head{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 50px;
}
/* Runde 59: drei Referenz-Karten aus der Startseite (vm_ref_grid_kachel, Stil aus style.css) statt iMac-Mockups */
.vm-lx-proof-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vm-lx-proof-grid .vm-rgrid-meta{ min-height: 0; }

/* --- ABSCHLUSS --------------------------------------------- */
.vm-lx-end{ padding: 0 0 120px; }
.vm-lx-end-box{
	border-radius: var(--lx-corner);
	padding: 90px 40px;
	text-align: center;
	color: #fff;
	background: var(--lx-navy); /* Runde 59: ohne Glow */
}
.vm-lx-end-box h2{
	font-family: var(--atf-ff-heading);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 50px);
	letter-spacing: -1px;
	color: #fff;
	margin: 0 0 16px;
}
.vm-lx-end-box p{ color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; margin: 0 auto 34px; }
.vm-lx-end-box .vm-lx-hero-btns{ justify-content: center; }

/* --- Einblenden beim Scrollen ------------------------------ */
.vm-lx-anim .vm-lx-rv{
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.vm-lx-anim .vm-lx-rv.is-in{ opacity: 1; transform: none; }
.vm-lx-anim .vm-lx-row .vm-lx-body.vm-lx-rv{ transition-delay: .12s; }

/* --- Tablet ------------------------------------------------ */
@media (max-width: 1199px){
	.vm-lx-index{ grid-template-columns: repeat(3, 1fr); }
	.vm-lx-row{ gap: 50px; }
}
@media (max-width: 991px){
	.vm-lx-index{ margin-bottom: -20px; }
	.vm-lx-one{ padding-top: 90px; }
	.vm-lx-one-grid{ grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
	.vm-lx-row,
	.vm-lx-row.is-flip{ grid-template-columns: 1fr; gap: 36px; margin-bottom: 90px; }
	.vm-lx-row.is-flip .vm-lx-figur{ order: 0; }
	.vm-lx-proof-grid{ grid-template-columns: 1fr 1fr; }
}
/* --- Handy ------------------------------------------------- */
@media (max-width: 575px){
	.vm-lx-btn{ width: 100%; justify-content: center; }
	.vm-lx-index{ grid-template-columns: 1fr 1fr; margin: 36px 0 -10px; }
	.vm-lx-index a{ padding: 16px 10px 18px 0; font-size: 14px; }
	.vm-lx-one{ padding-top: 70px; }
	.vm-lx-one-text, .vm-lx-tag{ font-size: 17px; }
	.vm-lx-list{ padding-top: 60px; }
	.vm-lx-row, .vm-lx-row.is-flip{ gap: 26px; margin-bottom: 70px; }
	.vm-lx-media{ border-radius: 26px 0 26px 26px; }
	.vm-lx-points{ grid-template-columns: 1fr; }
	.vm-lx-proof{ padding-bottom: 80px; }
	.vm-lx-proof-head{ flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
	.vm-lx-proof-grid{ grid-template-columns: 1fr; }
	.vm-lx-end{ padding-bottom: 80px; }
	.vm-lx-end-box{ padding: 60px 24px; border-radius: 26px 0 26px 26px; }
}

@media (prefers-reduced-motion: reduce){
	.vm-lx-anim .vm-lx-rv{ opacity: 1; transform: none; transition: none; }
	.vm-lx-row:hover .vm-lx-bild{ transform: none; }
}
