/*
Theme Name:   Varimax Child
Theme URI:    https://example.com/varimax-child
Description:  Child-Theme für Hello Elementor. Industrielle Antriebstechnik-Optik:
              dunkle Hero-Sektionen, kräftiger Akzent, Produktkacheln, Sticky-Header,
              Technik-Tabellen, Download-Listen.
Author:       Ihr Unternehmen
Author URI:   https://example.com
Template:     hello-elementor
Version:      1.0.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  varimax-child
Tags:         business, industrial, elementor, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Design-Tokens
   ========================================================================== */

:root {
	/* Farbwelt */
	--vx-ink:            #101418;
	--vx-ink-soft:       #2b3238;
	--vx-steel:          #5b666f;
	--vx-steel-light:    #9aa5ad;
	--vx-line:           #dfe3e6;
	--vx-surface:        #f4f6f7;
	--vx-surface-2:      #eaeef0;
	--vx-white:          #ffffff;

	--vx-accent:         #e2001a;   /* Signalrot – Primärakzent */
	--vx-accent-dark:    #b40015;
	--vx-accent-soft:    rgba(226, 0, 26, 0.08);

	--vx-success:        #1f8a4c;
	--vx-focus:          #1a73e8;

	/* Typografie */
	--vx-font:           "Barlow", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--vx-font-mono:      "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	/* Maßsystem */
	--vx-container:      1200px;
	--vx-container-wide: 1440px;
	--vx-radius:         2px;      /* technisch, kantig */
	--vx-radius-lg:      4px;
	--vx-gap:            32px;
	--vx-section-pad:    clamp(56px, 8vw, 112px);

	--vx-shadow:         0 1px 2px rgba(16, 20, 24, 0.06), 0 8px 24px rgba(16, 20, 24, 0.06);
	--vx-shadow-hover:   0 2px 4px rgba(16, 20, 24, 0.08), 0 18px 40px rgba(16, 20, 24, 0.12);

	--vx-header-h:       76px;
	--vx-transition:     180ms ease;
}

/* ==========================================================================
   2. Grundlagen
   ========================================================================== */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--vx-header-h) + 16px);
}

body {
	font-family: var(--vx-font);
	color: var(--vx-ink-soft);
	background: var(--vx-white);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--vx-ink);
	line-height: 1.15;
	letter-spacing: -0.015em;
	font-weight: 700;
	margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }

p { margin: 0 0 1.1em; }

a {
	color: var(--vx-ink);
	text-decoration: none;
	transition: color var(--vx-transition);
}

a:hover,
a:focus { color: var(--vx-accent); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.elementor-button:focus-visible {
	outline: 3px solid var(--vx-focus);
	outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

::selection {
	background: var(--vx-accent);
	color: #fff;
}

/* ==========================================================================
   3. Layout-Hilfsklassen (in Elementor als CSS-Klasse eintragen)
   ========================================================================== */

.vx-container {
	width: 100%;
	max-width: var(--vx-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.vx-container--wide { max-width: var(--vx-container-wide); }
.vx-container--narrow { max-width: 820px; }

.vx-section { padding-block: var(--vx-section-pad); }
.vx-section--tight { padding-block: clamp(32px, 4vw, 56px); }
.vx-section--dark { background: var(--vx-ink); color: var(--vx-steel-light); }
.vx-section--dark h1,
.vx-section--dark h2,
.vx-section--dark h3,
.vx-section--dark h4 { color: var(--vx-white); }
.vx-section--dark a { color: var(--vx-white); }
.vx-section--dark a:hover { color: var(--vx-accent); }
.vx-section--surface { background: var(--vx-surface); }

/* Überschrift mit Akzentstrich */
.vx-title {
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 28px;
}

.vx-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	background: var(--vx-accent);
}

.vx-title--center { text-align: center; }
.vx-title--center::after {
	left: 50%;
	transform: translateX(-50%);
}

.vx-eyebrow {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vx-accent);
	margin-bottom: 12px;
}

.vx-lead {
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.6;
	color: var(--vx-steel);
	max-width: 62ch;
}

.vx-section--dark .vx-lead { color: var(--vx-steel-light); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.elementor-button,
.vx-btn,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border: 2px solid var(--vx-accent);
	border-radius: var(--vx-radius);
	background: var(--vx-accent);
	color: #fff;
	font-family: var(--vx-font);
	font-size: 0.97rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	cursor: pointer;
	transition: background var(--vx-transition), border-color var(--vx-transition),
	            color var(--vx-transition), transform var(--vx-transition);
}

.elementor-button:hover,
.vx-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--vx-accent-dark);
	border-color: var(--vx-accent-dark);
	color: #fff;
	transform: translateY(-2px);
}

.vx-btn--ghost,
.elementor-button.vx-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: var(--vx-ink);
}

.vx-btn--ghost:hover,
.elementor-button.vx-btn--ghost:hover {
	background: var(--vx-ink);
	border-color: var(--vx-ink);
	color: #fff;
}

.vx-section--dark .vx-btn--ghost { color: #fff; }
.vx-section--dark .vx-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--vx-ink);
}

.vx-btn--text {
	background: none;
	border: 0;
	padding: 6px 0;
	color: var(--vx-accent);
	font-weight: 600;
}

.vx-btn--text::after {
	content: "→";
	transition: transform var(--vx-transition);
}

.vx-btn--text:hover {
	background: none;
	transform: none;
	color: var(--vx-accent-dark);
}

.vx-btn--text:hover::after { transform: translateX(6px); }

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header,
header.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--vx-line);
	transition: box-shadow var(--vx-transition), background var(--vx-transition);
}

.site-header.is-stuck { box-shadow: 0 6px 22px rgba(16, 20, 24, 0.09); }

.vx-header-bar {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--vx-header-h);
}

/* Kontaktleiste über dem Header */
.vx-topbar {
	background: var(--vx-ink);
	color: var(--vx-steel-light);
	font-size: 0.83rem;
}

.vx-topbar a { color: var(--vx-steel-light); }
.vx-topbar a:hover { color: #fff; }

.vx-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	min-height: 40px;
	flex-wrap: wrap;
}

.vx-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.vx-topbar__item svg { width: 15px; height: 15px; fill: currentColor; opacity: 0.75; }

/* Navigation */
.vx-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vx-nav a,
.site-header .menu-item > a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: var(--vx-ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.vx-nav a::after,
.site-header .menu-item > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--vx-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--vx-transition);
}

.vx-nav a:hover::after,
.site-header .menu-item > a:hover::after,
.site-header .current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.vx-nav .sub-menu,
.site-header .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 268px;
	padding: 10px 0;
	background: #fff;
	border: 1px solid var(--vx-line);
	border-top: 3px solid var(--vx-accent);
	box-shadow: var(--vx-shadow);
	list-style: none;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--vx-transition), transform var(--vx-transition), visibility var(--vx-transition);
}

.vx-nav .menu-item-has-children:hover > .sub-menu,
.vx-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vx-nav .sub-menu a {
	padding: 10px 22px;
	font-weight: 400;
}

.vx-nav .sub-menu a::after { display: none; }
.vx-nav .sub-menu a:hover { background: var(--vx-surface); color: var(--vx-accent); }

/* ==========================================================================
   6. Hero
   ========================================================================== */

.vx-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(460px, 68vh, 760px);
	padding-block: clamp(72px, 10vw, 140px);
	background: var(--vx-ink);
	color: #fff;
	overflow: hidden;
}

.vx-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.vx-hero__media img,
.vx-hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vx-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(16, 20, 24, 0.92) 0%, rgba(16, 20, 24, 0.72) 46%, rgba(16, 20, 24, 0.25) 100%);
}

.vx-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.vx-hero h1,
.vx-hero h2 { color: #fff; }

.vx-hero .vx-lead { color: rgba(255, 255, 255, 0.82); }

.vx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

/* Kennzahlen unter dem Hero */
.vx-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	background: var(--vx-line);
	border: 1px solid var(--vx-line);
}

.vx-fact {
	background: #fff;
	padding: 30px 26px;
}

.vx-fact__value {
	display: block;
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	font-weight: 700;
	color: var(--vx-ink);
	line-height: 1.1;
	margin-bottom: 6px;
}

.vx-fact__label {
	font-size: 0.9rem;
	color: var(--vx-steel);
}

/* ==========================================================================
   7. Produktkacheln
   ========================================================================== */

.vx-grid {
	display: grid;
	gap: var(--vx-gap);
}

.vx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vx-grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.vx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--vx-line);
	border-radius: var(--vx-radius);
	overflow: hidden;
	transition: box-shadow var(--vx-transition), transform var(--vx-transition), border-color var(--vx-transition);
}

.vx-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--vx-shadow-hover);
	border-color: var(--vx-steel-light);
}

.vx-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--vx-surface);
	overflow: hidden;
}

.vx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.vx-card:hover .vx-card__media img { transform: scale(1.045); }

.vx-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 28px 26px 30px;
}

.vx-card__body h3 { margin-bottom: 10px; }

.vx-card__body p {
	color: var(--vx-steel);
	font-size: 0.97rem;
	margin-bottom: 22px;
}

.vx-card__link {
	margin-top: auto;
	align-self: flex-start;
	font-weight: 600;
	color: var(--vx-accent);
}

.vx-card__link::after {
	content: "→";
	display: inline-block;
	margin-left: 8px;
	transition: transform var(--vx-transition);
}

.vx-card:hover .vx-card__link::after,
.vx-card__link:hover::after { transform: translateX(6px); }

/* Merkmal-Karte (Icon + Text) */
.vx-feature {
	padding: 34px 30px;
	background: #fff;
	border: 1px solid var(--vx-line);
	border-top: 3px solid var(--vx-accent);
	border-radius: var(--vx-radius);
}

.vx-feature h3 { font-size: 1.12rem; }
.vx-feature p { margin: 0; color: var(--vx-steel); font-size: 0.95rem; }

.vx-feature__icon {
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	fill: var(--vx-accent);
}

/* ==========================================================================
   8. Split-Bereich Bild / Text
   ========================================================================== */

.vx-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.vx-split--reverse .vx-split__media { order: 2; }

.vx-split__media img {
	width: 100%;
	border-radius: var(--vx-radius);
}

.vx-section--dark .vx-split__media img { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }

/* ==========================================================================
   9. Checkliste
   ========================================================================== */

.vx-checklist {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.vx-checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
}

.vx-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 18px;
	height: 18px;
	background: var(--vx-accent-soft);
	border: 2px solid var(--vx-accent);
	border-radius: 50%;
}

.vx-checklist li::after {
	content: "";
	position: absolute;
	left: 5.5px;
	top: 0.6em;
	width: 7px;
	height: 4px;
	border-left: 2px solid var(--vx-accent);
	border-bottom: 2px solid var(--vx-accent);
	transform: rotate(-45deg);
}

/* ==========================================================================
   10. Akkordeon (technische Daten)
   ========================================================================== */

.vx-accordion {
	border-top: 1px solid var(--vx-line);
}

.vx-accordion__item { border-bottom: 1px solid var(--vx-line); }

.vx-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 20px 4px;
	background: none;
	border: 0;
	color: var(--vx-ink);
	font-family: var(--vx-font);
	font-size: 1.03rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.vx-accordion__trigger:hover { color: var(--vx-accent); }

.vx-accordion__icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	position: relative;
}

.vx-accordion__icon::before,
.vx-accordion__icon::after {
	content: "";
	position: absolute;
	background: var(--vx-accent);
	transition: transform var(--vx-transition);
}

.vx-accordion__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.vx-accordion__icon::after  { left: 6px; top: 0; width: 2px; height: 14px; }

.vx-accordion__item.is-open .vx-accordion__icon::after { transform: scaleY(0); }

.vx-accordion__panel {
	display: none;
	padding: 0 4px 26px;
}

.vx-accordion__item.is-open .vx-accordion__panel { display: block; }

/* ==========================================================================
   11. Tabellen (technische Daten)
   ========================================================================== */

.vx-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.vx-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.vx-table caption {
	caption-side: top;
	padding-bottom: 12px;
	text-align: left;
	font-size: 0.84rem;
	color: var(--vx-steel);
}

.vx-table th,
.vx-table td {
	padding: 13px 16px;
	border-bottom: 1px solid var(--vx-line);
	text-align: left;
	vertical-align: top;
}

.vx-table thead th {
	background: var(--vx-ink);
	color: #fff;
	font-weight: 600;
	font-size: 0.86rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-bottom: 0;
}

.vx-table tbody tr:nth-child(even) { background: var(--vx-surface); }
.vx-table tbody tr:hover { background: var(--vx-surface-2); }

.vx-table code,
.vx-table .vx-num { font-family: var(--vx-font-mono); font-size: 0.9em; }

/* ==========================================================================
   12. Downloads
   ========================================================================== */

.vx-downloads { list-style: none; margin: 0; padding: 0; }

.vx-downloads li { border-bottom: 1px solid var(--vx-line); }

.vx-downloads a {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 4px;
	color: var(--vx-ink);
	font-weight: 500;
}

.vx-downloads a:hover {
	color: var(--vx-accent);
	padding-left: 10px;
}

.vx-downloads__meta {
	margin-left: auto;
	font-size: 0.82rem;
	font-weight: 400;
	color: var(--vx-steel-light);
	white-space: nowrap;
}

.vx-downloads__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--vx-accent-soft);
	color: var(--vx-accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-radius: var(--vx-radius);
}

.vx-section--dark .vx-downloads a { color: #fff; }
.vx-section--dark .vx-downloads li { border-color: rgba(255, 255, 255, 0.14); }

/* ==========================================================================
   13. Call-to-Action
   ========================================================================== */

.vx-cta {
	padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 68px);
	background: var(--vx-ink);
	color: var(--vx-steel-light);
	border-left: 5px solid var(--vx-accent);
}

.vx-cta h2 { color: #fff; margin-bottom: 12px; }
.vx-cta .vx-lead { color: var(--vx-steel-light); margin-bottom: 26px; }
.vx-cta a:not(.elementor-button):not(.vx-btn) { color: #fff; text-decoration: underline; text-decoration-color: var(--vx-accent); }

.vx-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   14. Formulare
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
select,
textarea,
.elementor-field-group .elementor-field {
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid var(--vx-line);
	border-radius: var(--vx-radius);
	color: var(--vx-ink);
	font-family: var(--vx-font);
	font-size: 1rem;
	transition: border-color var(--vx-transition), box-shadow var(--vx-transition);
}

input:focus,
select:focus,
textarea:focus,
.elementor-field-group .elementor-field:focus {
	border-color: var(--vx-accent);
	box-shadow: 0 0 0 3px var(--vx-accent-soft);
	outline: none;
}

label,
.elementor-field-label {
	display: block;
	margin-bottom: 6px;
	color: var(--vx-ink);
	font-size: 0.9rem;
	font-weight: 600;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.site-footer,
footer.elementor-location-footer {
	background: var(--vx-ink);
	color: var(--vx-steel-light);
	font-size: 0.94rem;
}

.site-footer a { color: var(--vx-steel-light); }
.site-footer a:hover { color: #fff; }

.vx-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-block: clamp(48px, 6vw, 76px);
}

.vx-footer__grid h4 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 0.87rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vx-footer__list { list-style: none; margin: 0; padding: 0; }
.vx-footer__list li { margin-bottom: 10px; }

.vx-footer__claim {
	margin-top: 18px;
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.vx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.86rem;
}

.vx-footer__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vx-backtotop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 800;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	background: var(--vx-accent);
	color: #fff;
	border: 0;
	border-radius: var(--vx-radius);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity var(--vx-transition), transform var(--vx-transition), visibility var(--vx-transition);
}

.vx-backtotop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.vx-backtotop:hover { background: var(--vx-accent-dark); }
.vx-backtotop svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   16. Brotkrumen
   ========================================================================== */

.vx-breadcrumb {
	padding-block: 14px;
	font-size: 0.87rem;
	color: var(--vx-steel);
}

.vx-breadcrumb a { color: var(--vx-steel); }
.vx-breadcrumb a:hover { color: var(--vx-accent); }
.vx-breadcrumb span[aria-current] { color: var(--vx-ink); font-weight: 500; }
.vx-breadcrumb__sep { margin-inline: 8px; opacity: 0.5; }

/* ==========================================================================
   17. Animation beim Scrollen
   ========================================================================== */

.vx-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 600ms ease, transform 600ms ease;
	will-change: opacity, transform;
}

.vx-reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   18. Barrierefreiheit & Utilities
   ========================================================================== */

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

.vx-skip-link {
	position: absolute;
	top: -60px;
	left: 12px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--vx-accent);
	color: #fff;
	transition: top var(--vx-transition);
}

.vx-skip-link:focus { top: 12px; color: #fff; }

.vx-visually-hidden { display: none !important; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.vx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:root { --vx-header-h: 66px; }
}

@media (max-width: 767px) {
	body { font-size: 16.5px; }

	.vx-grid--2,
	.vx-grid--3,
	.vx-grid--4 { grid-template-columns: 1fr; }

	.vx-split { grid-template-columns: 1fr; }
	.vx-split--reverse .vx-split__media { order: 0; }

	.vx-hero { min-height: 0; text-align: left; }
	.vx-hero__actions .elementor-button,
	.vx-hero__actions .vx-btn { width: 100%; justify-content: center; }

	.vx-footer__grid { grid-template-columns: 1fr; gap: 32px; }

	.vx-table th,
	.vx-table td { padding: 11px 12px; }

	.vx-topbar__inner { justify-content: center; gap: 14px; }
}

/* Elementor-Editor: Animationen nicht erzwingen */
.elementor-editor-active .vx-reveal {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   20. Druckausgabe
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.vx-backtotop,
	.vx-topbar { display: none !important; }

	.vx-section { padding-block: 24px; }
	.vx-section--dark { background: #fff; color: #000; }
	.vx-card { break-inside: avoid; box-shadow: none; }
	.vx-reveal { opacity: 1; transform: none; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
