/* ==========================================================
   VECTOGRAFIX – Hauptstil
   Farben laut Farbguide, Schriften: Orbitron / Poppins
   ========================================================== */

:root {
	--c-primary: #373536;
	--c-accent: #ff5c00;
	--c-white: #ffffff;
	--c-dark: #1a1a1a;
	--bg-page: linear-gradient(90deg, #ebebeb 0%, #f4f4f4 50%, #ebebeb 100%);

	--f-head: "Orbitron", "Arial Black", sans-serif;
	--f-body: "Poppins", "Helvetica Neue", Arial, sans-serif;

	--container: 1600px;
	--gutter: clamp(16px, 4vw, 48px);
	--header-h: 84px;
	--radius: 12px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-primary);
	background: var(--bg-page);
	background-color: #f0f0f0;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.vgx-skip {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	padding: 10px 16px; background: var(--c-primary); color: #fff; border-radius: 8px;
}
.vgx-skip:focus { top: 16px; }

.vgx-container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.vgx-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 6px 24px 6px 6px;
	border-radius: 999px;
	font-family: var(--f-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--c-white);
	transition: background-color .3s var(--ease), transform .3s var(--ease);
	white-space: nowrap;
}
.vgx-btn--accent { background: var(--c-accent); }
.vgx-btn--dark { background: var(--c-primary); padding: 12px 28px; }
.vgx-btn--accent:hover { background: var(--c-primary); }
.vgx-btn--dark:hover { background: var(--c-accent); }

.vgx-btn__icon {
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.vgx-btn:hover .vgx-btn__icon { transform: rotate(-45deg); background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }

/* ---------- Sektions-Beschriftung ---------- */
.vgx-label {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	border-top: 1px solid currentColor;
	padding-top: 10px;
	margin-bottom: clamp(48px, 7vw, 96px);
}
.vgx-label__text {
	text-align: center;
	font-family: var(--f-head);
	font-size: clamp(13px, 1vw, 15px);
	font-weight: 900;
	letter-spacing: .24em;
	text-transform: uppercase;
}
.vgx-slashes {
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -.1em;
	opacity: .7;
}
.vgx-label--light { color: var(--c-white); border-color: rgba(255,255,255,.55); }

/* ==========================================================
   HEADER
   ========================================================== */
.vgx-header {
	position: sticky;
	top: 0;
	z-index: 100;
}
.vgx-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(242, 242, 242, .82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
}
.admin-bar .vgx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vgx-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .vgx-header { top: 0; } }
.vgx-header.is-scrolled::before { opacity: 1; }
.vgx-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
}
.vgx-header__inner::after {
	content: "";
	position: absolute;
	left: var(--gutter); right: var(--gutter); bottom: 0;
	height: 1px;
	background: var(--c-primary);
	transform-origin: left;
	animation: vgx-line 1.2s var(--ease) both .2s;
	transition: opacity .4s;
}
.vgx-header.is-scrolled .vgx-header__inner::after { opacity: 0; }
@keyframes vgx-line { from { transform: scaleX(0); } }

.vgx-header__logo img { width: 198px; height: auto; }

.vgx-nav { flex: 1; display: flex; justify-content: center; }
.vgx-nav__list { display: flex; gap: 44px; }
.vgx-nav__list a {
	position: relative;
	font-size: 14px;
	padding: 6px 0;
	transition: color .25s;
}
.vgx-nav__list a::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1.5px; background: var(--c-accent);
	transform: scaleX(0); transform-origin: right;
	transition: transform .4s var(--ease);
}
.vgx-nav__list a:hover { color: var(--c-accent); }
.vgx-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.vgx-nav__contact-mobile { display: none; }

.vgx-burger { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.vgx-hero {
	position: relative;
	padding-top: clamp(64px, 13vh, 150px);
	padding-bottom: clamp(56px, 8vw, 110px);
}
.vgx-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr);
	align-items: end;
	gap: 40px 64px;
}
.vgx-hero__title {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(2.2rem, 6.2vw, 7rem);
	line-height: 1.02;
	letter-spacing: -.01em;
}
.vgx-hero__line { display: block; position: relative; }
.vgx-hero__line--dot::before {
	content: "";
	position: absolute;
	left: -.06em;
	bottom: .02em;
	width: .42em; height: .42em;
	translate: var(--dot-x, 0px) var(--dot-y, 0px);
	transition: translate .9s var(--ease);
	border-radius: 50%;
	background: var(--c-accent);
	z-index: -1;
	animation: vgx-pop .8s var(--ease) both 1s;
}
@keyframes vgx-pop { from { transform: scale(0); } }

.vgx-hero__aside {
	padding-bottom: .6em;
	justify-self: end;      /* Block schließt rechts mit dem Inhaltsrand ab */
	width: fit-content;
	max-width: min(100%, 15em * 2.2);
	text-align: left;       /* Inhalt bleibt linksbündig */
}
.vgx-hero__subtitle {
	font-family: var(--f-head);
	font-size: clamp(1.275rem, 2.55vw, 2.38rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 18px;
	text-wrap: balance; /* gleichmäßig lange Zeilen statt einzelnem Wort in Zeile 2 */
}
.vgx-hero__text { font-size: 15px; margin-bottom: 24px; max-width: 32ch; }


/* Bildstreifen */
.vgx-strip {
	margin-top: clamp(96px, 13vw, 220px);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vgx-strip__track {
	display: flex;
	width: max-content;
	animation: vgx-marquee 60s linear infinite;
	will-change: transform;
	backface-visibility: hidden;
}
.vgx-strip__group { display: flex; gap: 18px; padding-right: 18px; }
.vgx-strip__item {
	flex: none;
	width: clamp(240px, 24vw, 520px);
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: #ddd;
}
.vgx-strip__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
@media (hover: hover) {
	.vgx-strip__item:hover .vgx-strip__img { transform: scale(1.05); }
}
@keyframes vgx-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================
   SERVICES (dunkel, mit Lichtwolke)
   ========================================================== */
.vgx-services {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--c-white);
	background: #0b0b0b;
	padding: clamp(88px, 12.1vw, 165px) 0 clamp(99px, 13.2vw, 187px);
}
.vgx-services__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Punkte-Raster (wird per JavaScript gezeichnet) */
.vgx-services__hex {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
}
/* Lichtwolke folgt der Maus */
.vgx-services__glow {
	position: absolute;
	left: 0; top: 0;
	width: 900px; height: 900px;
	margin: -450px 0 0 -450px;
	transform: translate3d(var(--gx, 30vw), var(--gy, 50%), 0);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,92,0,.38) 0%, rgba(255,92,0,.2) 18%, rgba(255,92,0,.1) 36%, rgba(255,92,0,.03) 55%, transparent 68%);
	will-change: transform;
}
/* ruhige Glut rechts (wie im Konzept) */
.vgx-services__ember {
	position: absolute;
	right: -20%; top: 10%;
	width: 70%; height: 90%;
	background: radial-gradient(ellipse at center, rgba(255,92,0,.55) 0%, rgba(200,60,0,.22) 35%, transparent 70%);
	filter: blur(40px);
	animation: vgx-breathe 9s ease-in-out infinite;
	will-change: transform, opacity;
}
@keyframes vgx-breathe { 50% { opacity: .65; transform: translate(-4%, 6%) scale(1.08); } }

/* Körnung für einen analogen, hochwertigen Look */
.vgx-services__grain {
	position: absolute; inset: -50%;
	opacity: .09;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: vgx-grain 1.2s steps(4) infinite;
}
@keyframes vgx-grain {
	25% { transform: translate(-3%, 2%); }
	50% { transform: translate(2%, -3%); }
	75% { transform: translate(-2%, -2%); }
}


.vgx-services__list { text-align: center; }
.vgx-services__list li {
	font-family: var(--f-head);
	font-weight: 600;
	font-size: clamp(1.7rem, 4.4vw, 4.2rem);
	line-height: 1.2;
	letter-spacing: -.01em;
	transition: color .35s, opacity .35s;
}
@media (hover: hover) {
	.vgx-services__list:hover li { opacity: .35; }
	.vgx-services__list li:hover { opacity: 1; color: var(--c-accent); }
}
.vgx-services__cta { margin-top: clamp(40px, 5vw, 64px); text-align: center; }

/* ==========================================================
   VORTEILE
   ========================================================== */
.vgx-benefits { padding: clamp(80px, 10vw, 140px) 0 clamp(96px, 12vw, 200px); }
.vgx-benefits__list {
	display: grid;
	gap: clamp(56px, 8vw, 110px);
	max-width: 1280px;
	margin-inline: auto;
}
.vgx-benefit {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 clamp(16px, 3vw, 40px);
	max-width: 900px;
}
.vgx-benefit--right {
	justify-self: end;
	grid-template-columns: minmax(0, 1fr) auto;
	text-align: right;
}
.vgx-benefit--right .vgx-benefit__num { order: 2; }
.vgx-benefit--right .vgx-benefit__text { margin-left: auto; }

.vgx-benefit__num {
	font-family: var(--f-head);
	font-weight: 400;
	font-size: clamp(2rem, 3.6vw, 3.4rem);
	line-height: 1;
	color: var(--c-accent);
	min-width: 1.75em;
}
.vgx-benefit--right .vgx-benefit__num { text-align: right; }
.vgx-benefit__title {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.7rem, 4.4vw, 4.2rem);
	letter-spacing: -.01em;
	line-height: 1.1;
	margin-bottom: 16px;
}
.vgx-benefit__text { font-size: 14px; line-height: 1.7; max-width: 46ch; }

/* ==========================================================
   KUNDEN
   ========================================================== */
.vgx-clients { padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 10.8vw, 144px); }

/* Heller Bereich mit runden Ecken unten – darunter beginnt der dunkle Kontakt-Bereich */
.vgx-round-bottom {
	--round: clamp(40px, 6vw, 110px);
	position: relative;
	z-index: 1;
	background: var(--bg-page);
	background-color: #f0f0f0;
	border-radius: 0 0 var(--round) var(--round);
}
.vgx-clients .vgx-label { margin-bottom: clamp(32px, 4vw, 56px); }
.vgx-clients__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px 40px;
	padding-inline: clamp(0px, 3vw, 40px);
}
.vgx-clients__logo {
	height: 52px;
	width: auto;
	max-width: 170px;
	object-fit: contain;
	opacity: .8;
	transition: opacity .3s, transform .3s var(--ease);
}
.vgx-clients__logo:hover { opacity: 1; transform: scale(1.04); }

/* ==========================================================
   KONTAKT
   ========================================================== */
.vgx-contact {
	background: var(--c-dark);
	color: var(--c-white);
	/* liegt unter den runden Ecken der Kunden-Sektion */
	margin-top: calc(-1 * clamp(40px, 6vw, 110px));
	padding: calc(clamp(96px, 12vw, 168px) + clamp(40px, 6vw, 110px)) 0 clamp(80px, 10vw, 150px);
}
.vgx-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px clamp(40px, 8vw, 120px);
	align-items: start;
}
.vgx-contact__title {
	font-family: var(--f-head);
	font-weight: 900;
	font-size: clamp(2.2rem, 4.6vw, 4.8rem);
	line-height: 1.02;
	margin-bottom: 20px;
}
.vgx-contact__title span { display: block; }
.vgx-contact__text { font-size: 15px; font-weight: 300; max-width: 40ch; color: rgba(255,255,255,.82); }

/* Formular (Contact Form 7) */
.vgx-contact__form .wpcf7-form { display: grid; gap: 14px; }
.vgx-contact__form p { margin: 0; }
.vgx-contact__form .wpcf7-form-control-wrap { display: block; }
.vgx-contact__form input[type="text"],
.vgx-contact__form input[type="email"],
.vgx-contact__form input[type="tel"],
.vgx-contact__form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--c-white);
	color: var(--c-primary);
	font-family: var(--f-body);
	font-size: 15px;
	transition: border-color .25s;
}
.vgx-contact__form textarea { min-height: 160px; resize: vertical; }
.vgx-contact__form ::placeholder { color: #9b9a9a; }
.vgx-contact__form input:focus,
.vgx-contact__form textarea:focus { outline: none; border-color: var(--c-accent); }

.vgx-contact__form .vgx-submit { text-align: center; margin-top: 8px; position: relative; }
.vgx-contact__form input[type="submit"],
.vgx-contact__form button[type="submit"] {
	appearance: none;
	border: 0;
	cursor: pointer;
	padding: 13px 38px;
	border-radius: 999px;
	background: var(--c-accent);
	color: var(--c-white);
	font-family: var(--f-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	transition: background-color .3s, transform .3s var(--ease);
}
.vgx-contact__form input[type="submit"]:hover { background: var(--c-white); color: var(--c-primary); }
.vgx-contact__form .wpcf7-spinner { position: absolute; margin: 10px 0 0 12px; }
.vgx-contact__form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; color: #ffb38a; }
.vgx-contact__form .wpcf7 form .wpcf7-response-output,
.vgx-contact__form .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 12px 16px;
	border-radius: var(--radius);
	border: 1px solid rgba(255,255,255,.4);
	font-size: 14px;
}

.vgx-form-hint {
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: var(--radius);
	border: 1px dashed rgba(255,255,255,.5);
	font-size: 14px;
}
.vgx-form-hint a { text-decoration: underline; }

/* ==========================================================
   FOOTER
   ========================================================== */
.vgx-footer {
	background: var(--c-dark);
	color: rgba(255,255,255,.75);
	font-size: 13px;
}
.vgx-footer a { transition: color .25s; }
.vgx-footer a:hover { color: var(--c-accent); }
.vgx-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	padding: 20px 0 clamp(40px, 5vw, 64px);
}
.vgx-footer__brand img { width: 198px; height: auto; } /* gleich groß wie im Header */
.vgx-footer__cols { display: flex; gap: clamp(32px, 6vw, 72px); text-align: right; }
.vgx-footer__list li + li { margin-top: 6px; }

.vgx-social { display: flex; gap: 10px; margin-top: 20px; }
.vgx-social a {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	transition: border-color .25s, color .25s, background-color .25s;
}
.vgx-social a:hover { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-white); }

.vgx-footer__bottom {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 24px;
	border-top: 1px solid rgba(255,255,255,.6);
	padding: 14px 0 28px;
	font-size: 12px;
}
.vgx-footer__copy { opacity: .8; }
.vgx-footer__legal { display: flex; gap: 32px; }

/* ==========================================================
   EINFACHE SEITEN (Impressum, AGB, Datenschutz)
   ========================================================== */
.vgx-page { padding: clamp(64px, 10vw, 120px) 0; }
.vgx-page__inner { max-width: 860px; }
.vgx-page__title {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.1;
	margin-bottom: 40px;
}
.vgx-content h2, .vgx-content h3 { font-family: var(--f-head); line-height: 1.25; margin: 2em 0 .6em; }
.vgx-content h2 { font-size: 1.4rem; }
.vgx-content h3 { font-size: 1.1rem; }
.vgx-content p, .vgx-content ul, .vgx-content ol { margin-bottom: 1em; }
.vgx-content ul { list-style: disc; padding-left: 1.2em; }
.vgx-content ol { list-style: decimal; padding-left: 1.2em; }
.vgx-content a:not(.vgx-btn) { text-decoration: underline; text-underline-offset: 3px; }
.vgx-content a:not(.vgx-btn):hover { color: var(--c-accent); }

/* ==========================================================
   ANIMATIONEN
   ========================================================== */
/* Einblenden beim Scrollen */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .vgx-benefit[data-reveal] { transform: translateX(-40px); }
.js .vgx-benefit--right[data-reveal] { transform: translateX(40px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Überschrift baut sich beim Laden auf */
.vgx-split-word { display: inline-block; white-space: nowrap; }
.vgx-split-char { display: inline-block; }
.js .vgx-split-ready .vgx-split-char {
	opacity: 0;
	transform: translateY(.5em) rotate(6deg);
	filter: blur(6px);
	animation: vgx-char .9s var(--ease) forwards;
	animation-delay: calc(.25s + var(--i) * .035s);
}
@keyframes vgx-char { to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================
   GROSSE BILDSCHIRME (Desktop): Fließtext und Menü 20 % größer
   ========================================================== */
@media (min-width: 1600px) {
	.vgx-nav__list a { font-size: 17px; }
	.vgx-hero__text,
	.vgx-contact__text,
	.vgx-404__text { font-size: 18px; }
	.vgx-benefit__text { font-size: 17px; }
	.vgx-content { font-size: 19px; }
	.vgx-contact__form input[type="text"],
	.vgx-contact__form input[type="email"],
	.vgx-contact__form input[type="tel"],
	.vgx-contact__form textarea { font-size: 18px; }
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {
	.vgx-nav__list { gap: 28px; }
	.vgx-hero__grid { grid-template-columns: 1fr; align-items: start; }
	.vgx-hero__aside { max-width: 420px; justify-self: end; }
}

/* ==========================================================
   HANDY
   ========================================================== */
@media (max-width: 820px) {
	:root { --header-h: 68px; }

	.vgx-header__logo { position: relative; z-index: 120; }
	.vgx-header__logo img,
	.vgx-footer__brand img { width: 130px; }
	.vgx-header__cta { display: none; }

	.vgx-burger {
		display: grid;
		gap: 7px;
		margin-left: auto;
		width: 44px; height: 44px;
		place-content: center;
		position: relative;
		z-index: 120;
	}
	.vgx-burger__line {
		width: 26px; height: 2px;
		background: var(--c-primary);
		transition: transform .4s var(--ease);
	}
	.menu-open .vgx-burger__line:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
	.menu-open .vgx-burger__line:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

	.vgx-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: 8px;
		padding: var(--header-h) var(--gutter) 40px;
		background: var(--bg-page);
		background-color: #f0f0f0;
		visibility: hidden;
		opacity: 0;
		transition: opacity .4s var(--ease), visibility 0s .4s;
	}
	.menu-open .vgx-nav { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
	.vgx-nav__list { flex-direction: column; gap: 8px; }
	.vgx-nav__list a,
	.vgx-nav__contact-mobile {
		display: block;
		font-family: var(--f-head);
		font-weight: 600;
		font-size: clamp(1.8rem, 8vw, 2.6rem);
		line-height: 1.3;
		padding: 0;
	}
	.vgx-nav__list a::after { display: none; }
	.vgx-nav__contact-mobile:hover { color: var(--c-accent); }
	.menu-open .vgx-nav__list li,
	.menu-open .vgx-nav__contact-mobile { animation: vgx-menu-in .6s var(--ease) both; }
	.menu-open .vgx-nav__list li:nth-child(2) { animation-delay: .05s; }
	.menu-open .vgx-nav__list li:nth-child(3) { animation-delay: .1s; }
	.menu-open .vgx-nav__list li:nth-child(4) { animation-delay: .15s; }
	.menu-open .vgx-nav__contact-mobile { animation-delay: .2s; }
	@keyframes vgx-menu-in { from { opacity: 0; transform: translateY(24px); } }
	.vgx-nav__contact-mobile { display: block; }
	.menu-open body { overflow: hidden; }

	/* Hero am Handy zentriert */
	.vgx-hero__title { text-align: center; }
	.vgx-hero__line--dot { display: inline-block; } /* damit der orange Punkt beim „W“ bleibt */
	.vgx-hero__aside { justify-self: center; text-align: center; }
	.vgx-hero__text { margin-left: auto; margin-right: auto; }

	/* Leistung am Handy: Effekte vereinfachen */
	.vgx-header::before {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: rgba(242, 242, 242, .97);
	}
	.vgx-strip__item--extra { display: none; }
	.vgx-strip { -webkit-mask-image: none; mask-image: none; }
	.vgx-services__grain { animation: none; inset: 0; }
	.vgx-services__ember { filter: none; }
	.vgx-strip__item { width: 72vw; }

	.vgx-benefit, .vgx-benefit--right {
		grid-template-columns: 1fr;
		text-align: left;
		justify-self: start;
	}
	.vgx-benefit--right .vgx-benefit__num { order: 0; text-align: left; }
	.vgx-benefit--right .vgx-benefit__text { margin-left: 0; }
	.vgx-benefit__num { margin-bottom: 12px; }
	.js .vgx-benefit--right[data-reveal]:not(.is-visible) { transform: translateX(-40px); }

	.vgx-clients__list { display: grid; grid-template-columns: repeat(2, 1fr); justify-items: center; gap: 36px 24px; }
	.vgx-clients__logo { height: 44px; max-width: 140px; }

	.vgx-contact__grid { grid-template-columns: 1fr; }

	.vgx-footer__top { flex-direction: column; }
	.vgx-footer__cols { text-align: left; }
	.vgx-footer__bottom { grid-template-columns: 1fr; gap: 12px; }
	.vgx-footer__bottom .vgx-slashes { display: none; }
	.vgx-footer__legal { gap: 20px; flex-wrap: wrap; }
}

/* ==========================================================
   Weniger Bewegung (Systemeinstellung des Besuchers)
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .vgx-split-ready .vgx-split-char { opacity: 1; transform: none; filter: none; }
	.vgx-strip { overflow-x: auto; }
}

/* ==========================================================
   FEHLERSEITE (404)
   ========================================================== */
.vgx-404 {
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: grid;
	align-items: center;
	padding: clamp(48px, 8vw, 100px) 0;
	text-align: center;
	overflow: hidden;
}
.vgx-404__code {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .06em;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(7rem, 26vw, 22rem);
	line-height: 1;
	margin-bottom: clamp(16px, 3vw, 40px);
	user-select: none;
}
.vgx-404__digit { display: inline-block; animation: vgx-404-in 1s var(--ease) both; }
.vgx-404__digit:last-child { animation-delay: .12s; }
@keyframes vgx-404-in { from { opacity: 0; transform: translateY(.25em); filter: blur(10px); } }

/* Der orange Kreis ersetzt die Null und folgt dezent der Maus */
.vgx-404__dot {
	display: inline-block;
	width: .64em;
	height: .64em;
	border-radius: 50%;
	background: var(--c-accent);
	translate: var(--dot-x, 0px) var(--dot-y, 0px);
	transition: translate .9s var(--ease);
	animation: vgx-pop .9s var(--ease) both .3s, vgx-404-float 6s ease-in-out infinite 1.2s;
}
@keyframes vgx-404-float { 50% { transform: translateY(-.04em) scale(1.03); } }

.vgx-404__title {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.5rem, 3vw, 2.6rem);
	line-height: 1.15;
	margin-bottom: 14px;
}
.vgx-404__text { font-size: 15px; max-width: 46ch; margin: 0 auto 32px; }

/* ==========================================================
   PORTFOLIO-GALERIE
   ========================================================== */
.vgx-portfolio {
	padding: clamp(48px, 7vw, 110px) 0 clamp(96px, 10.8vw, 144px);
}
.vgx-masonry {
	display: flex;
	align-items: flex-start;
	gap: clamp(14px, 1.6vw, 24px);
}
.vgx-masonry__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.6vw, 24px);
}
.vgx-tile {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: #ddd;
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35);
}
.vgx-tile__media { width: 100%; }
.vgx-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

/* Bildunterschrift: erscheint beim Darüberfahren mit der Maus */
.vgx-tile__caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 48px 20px 16px;
	background: linear-gradient(to top, rgba(26, 26, 26, .82), rgba(26, 26, 26, 0));
	color: var(--c-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .4s var(--ease), transform .4s var(--ease);
	pointer-events: none;
}
@media (hover: hover) {
	.vgx-tile:hover .vgx-tile__img { transform: scale(1.05); }
	.vgx-tile:hover .vgx-tile__caption { opacity: 1; transform: none; }
}
@media (min-width: 1600px) {
	.vgx-tile__caption { font-size: 18px; }
}
.vgx-portfolio__empty { text-align: center; padding: 60px 0; }
.vgx-portfolio__empty a { text-decoration: underline; }

/* Touch-Geräte (keine Maus): Bildunterschrift immer unter dem Bild */
@media (hover: none) {
	.vgx-tile { background: none; box-shadow: none; overflow: visible; }
	.vgx-tile__media { border-radius: var(--radius); overflow: hidden; background: #ddd; }
	.vgx-tile__caption {
		position: static;
		padding: 10px 2px 0;
		background: none;
		color: var(--c-primary);
		font-size: 14px;
		opacity: 1;
		transform: none;
	}
}

/* Handy: eine Spalte, Bilder in der gewählten Reihenfolge */
@media (max-width: 820px) {
	.vgx-masonry { flex-direction: column; gap: 28px; }
	.vgx-masonry__col { display: contents; }
	.vgx-tile { order: var(--o); width: 100%; }
}

/* ==========================================================
   ABOUT-SEITE
   ========================================================== */
.vgx-about {
	padding: clamp(64px, 10vw, 160px) 0 clamp(96px, 10.8vw, 160px);
}
.vgx-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px clamp(40px, 7vw, 120px);
}
.vgx-about__title {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(2.2rem, 5.2vw, 5.4rem);
	line-height: 1.05;
	letter-spacing: -.01em;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.vgx-about__line { display: block; }
.vgx-about__highlight { color: var(--c-accent); }
.vgx-about__text { max-width: 52ch; }
.vgx-about__text p { font-size: 15px; line-height: 1.75; }
.vgx-about__text p + p { margin-top: 1em; }

.vgx-about__photo { margin: 0; }
.vgx-about__frame {
	border-radius: calc(var(--radius) * 1.5);
	overflow: hidden;
	background: #ddd;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
	translate: var(--px, 0px) var(--py, 0px);
	transition: translate 1s var(--ease);
}
.vgx-about__img {
	display: block;
	width: 100%;
	height: auto;
	transform: scale(1.06);
	translate: calc(var(--px, 0px) * -.6) calc(var(--py, 0px) * -.6);
	transition: translate 1s var(--ease);
}
.vgx-about__caption {
	margin-top: 18px;
	text-align: center;
	line-height: 1.4;
}
.vgx-about__caption strong {
	display: block;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1rem, 1.2vw, 1.2rem);
}
.vgx-about__caption span { font-size: 14px; }

@media (min-width: 1600px) {
	.vgx-about__text p { font-size: 18px; }
	.vgx-about__caption span { font-size: 16px; }
}
@media (max-width: 820px) {
	.vgx-about__grid { grid-template-columns: 1fr; }
	.vgx-about__photo { max-width: 520px; }
}
