/* Geraeteseiten: Ausfuehrungen, Im Detail, Technik im Unterschrank, Impressionen, Optionen (20.09.2026) */

/* Szenen mit Stimmungsfoto: randlos statt freigestellt */
.vq-szene-foto img { object-fit: cover !important; padding: 0 !important; }

/* Kennzahlen immer zentriert – auch bei nur einer oder zwei Angaben */
.vq-kennzahlen { display: flex !important; flex-wrap: wrap; justify-content: center; }
.vq-kennzahl { flex: 0 1 calc((100% - 60px) / 3); box-sizing: border-box; }
@media (max-width: 960px) { .vq-kennzahl { flex-basis: 100%; } }

/* --- Anfrageleiste (ersetzt die schwebende Karte) --- */
.vq-anfragebar {
	position: fixed; z-index: 90; left: 50%; bottom: 22px;
	width: max-content; max-width: calc(100% - 32px);
	transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
	transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.vq-anfragebar.ist-da { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.vq-ab-innen {
	display: flex; align-items: center; gap: 14px;
	padding: 8px 8px 8px 10px;
	background: rgba(10,34,55,.94);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	box-shadow: 0 18px 44px rgba(10,34,55,.32);
}
.vq-ab-bild {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vq-ab-bild img { max-width: 80%; max-height: 84%; width: auto; height: auto; object-fit: contain; }
.vq-ab-text { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; margin-right: 10px; }
.vq-ab-text b { color: #fff; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vq-ab-text span { color: rgba(255,255,255,.62); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vq-ab-btn { flex-shrink: 0; border-radius: 999px !important; padding: 11px 22px !important; font-size: .95rem; white-space: nowrap; }
.vq-ab-kurz { display: none; }
@media (max-width: 600px) {
	.vq-anfragebar { left: 0; bottom: 0; width: 100%; max-width: none; transform: translateY(100%); }
	.vq-ab-text { flex: 1 1 auto; margin-right: 0; }
	.vq-anfragebar.ist-da { transform: translateY(0); }
	.vq-ab-innen { border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
	.vq-ab-bild { flex-basis: 38px; width: 38px; height: 38px; }
	.vq-ab-text span { display: none; }
	.vq-ab-lang { display: none; }
	.vq-ab-kurz { display: inline; }
	.vq-ab-btn { padding: 10px 18px !important; }
	body.vq-ab-aktiv .site-footer { padding-bottom: 64px; }
}
/* alte schwebende Karte nicht mehr anzeigen */
.vq-leiste { display: none !important; }

/* --- Ausfuehrungen: Ansichten --- */
.vq-ansichten {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	margin: 8px 0 44px;
}
.vq-ansicht { margin: 0; width: 190px; text-align: center; }
.vq-ansicht-rahmen {
	background: linear-gradient(180deg, var(--vq-paper) 0%, #eef3f7 100%);
	border-radius: 16px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.vq-ansicht:hover .vq-ansicht-rahmen { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,34,55,.10); }
.vq-ansicht-rahmen img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.vq-ansicht figcaption {
	margin-top: 10px;
	font-family: var(--vq-mono);
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--vq-navy);
}

/* --- Ausfuehrungen: Tabelle --- */
.vq-ausf-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(10,34,55,0.08);
	background: var(--vq-white);
}
.vq-ausf-tabelle { width: 100%; border-collapse: collapse; margin: 0; min-width: 760px; font-size: .92rem; }
.vq-ausf-tabelle th, .vq-ausf-tabelle td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--vq-mist);
	text-align: left;
	vertical-align: middle;
	line-height: 1.4;
}
.vq-ausf-tabelle thead th {
	background: var(--vq-deep);
	color: #fff;
	font-family: var(--vq-mono);
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: normal;
}
.vq-ausf-tabelle tbody tr:nth-child(even) { background: rgba(16,76,146,.025); }
.vq-ausf-tabelle tbody tr:hover { background: var(--vq-mist); }
.vq-ausf-tabelle tbody tr:last-child th, .vq-ausf-tabelle tbody tr:last-child td { border-bottom: 0; }
.vq-ausf-tabelle .vq-ausf-name { font-weight: 600; color: var(--vq-navy); min-width: 210px; }
.vq-ausf-tabelle thead th.vq-ausf-name { color: #fff; }
.vq-ausf-tabelle tbody td { color: var(--vq-steel); }
/* Lange Tabellen: erst 8 Zeilen, Rest per Knopf (nur mit JS eingeklappt) */
.vq-ausf-mehr { display: none; text-align: center; margin-top: 18px; }
.vq-ausf-zu .vq-ausf-extra { display: none; }
.vq-ausf-zu + .vq-ausf-mehr { display: block; }
.vq-ausf-mass { white-space: nowrap; }
.vq-ausf-mitte { text-align: center !important; }
.vq-ausf-punkt {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--vq-blue);
	box-shadow: 0 0 0 3px rgba(27,156,216,.16);
}
.vq-ausf-leer { color: #c3ced7; }
.vq-ausf-klein { display: block; font-size: .7rem; color: var(--vq-steel); margin-top: 3px; }
.vq-ausf-hinweis { margin: 16px 0 0; font-size: .82rem; color: var(--vq-steel); text-align: center; }

/* --- Im Detail --- */
.vq-detailkarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vq-detailkarte {
	background: var(--vq-white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(10,34,55,0.08);
	display: flex;
	flex-direction: column;
}
.vq-detailkarte-bild { line-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--vq-mist); }
.vq-detailkarte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vq-detailkarte:hover .vq-detailkarte-bild img { transform: scale(1.04); }
.vq-detailkarte-text { padding: 22px 24px 26px; }
.vq-detailkarte-text h3 { font-size: 1.08rem; color: var(--vq-navy); margin: 0 0 8px; }
.vq-detailkarte-text p { color: var(--vq-steel); line-height: 1.7; margin: 0; font-size: .95rem; }

/* Branchen: Link zum passenden Geraet in der Einsatzort-Karte */
.vq-detailkarte-text .vq-eyebrow { margin-bottom: 6px; }
.vq-ort-link { display: inline-block; margin-top: 14px; }
.vq-kennzahlen-band .vq-abschnitt-kopf { margin-bottom: 18px; }

/* --- Technik im Unterschrank --- */
.vq-unter-bilder { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 10px; }
.vq-unter-fig { margin: 0; position: relative; border-radius: 16px; overflow: hidden; line-height: 0; box-shadow: 0 14px 36px rgba(10,34,55,.12); }
.vq-unter-gross { grid-row: span 2; }
.vq-unter-fig img { width: 100%; height: 100%; object-fit: cover; }
.vq-unter-fig figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 28px 16px 12px;
	background: linear-gradient(0deg, rgba(10,34,55,.78), rgba(10,34,55,0));
	color: #fff; font-size: .82rem; line-height: 1.4;
}
.vq-unter-kombi {
	margin-top: 30px; padding: 22px 26px; border-radius: 14px; background: var(--vq-paper);
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
}
.vq-unter-kombi-titel { font-family: var(--vq-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vq-blue-dark); }
.vq-unter-kombi ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; flex: 1; }
.vq-unter-kombi li { background: var(--vq-white); border: 1px solid var(--vq-line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--vq-navy); }
.vq-unter-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vq-unter-bild { border-radius: 16px; overflow: hidden; line-height: 0; box-shadow: 0 18px 46px rgba(10,34,55,.13); }
.vq-unter-bild img { width: 100%; height: auto; }
.vq-unter-text p { color: var(--vq-steel); line-height: 1.8; }
.vq-unter-liste { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vq-unter-liste a { display: inline-block; border: 1px solid var(--vq-line); border-radius: 999px; padding: 7px 15px; font-size: .9rem; color: var(--vq-navy); text-decoration: none; }
.vq-unter-liste a:hover { border-color: var(--vq-blue); color: var(--vq-blue-dark); }

/* --- Impressionen --- */
.vq-impr { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.vq-impr-bild { display: block; border-radius: 14px; overflow: hidden; line-height: 0; position: relative; background: #0f2b44; }
.vq-impr-breit { grid-column: span 2; grid-row: span 2; }
.vq-impr[data-n="2"] { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
.vq-impr[data-n="3"] { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.vq-impr[data-n="4"] { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
.vq-impr-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.vq-impr-bild:hover img { transform: scale(1.05); opacity: .92; }
.vq-leuchte {
	position: fixed; inset: 0; z-index: 100000; background: rgba(6,20,33,.94);
	display: flex; align-items: center; justify-content: center; padding: 40px 70px;
}
.vq-leuchte img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vq-leuchte button {
	position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%;
	width: 48px; height: 48px; font-size: 1.5rem; line-height: 48px; cursor: pointer; padding: 0;
}
.vq-leuchte button:hover { background: rgba(255,255,255,.22); }
.vq-leuchte .vq-leuchte-zu { top: 18px; right: 18px; }
.vq-leuchte .vq-leuchte-zurueck { left: 14px; top: 50%; transform: translateY(-50%); }
.vq-leuchte .vq-leuchte-weiter { right: 14px; top: 50%; transform: translateY(-50%); }

/* --- Optionen --- */
.vq-optionen-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vq-option {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 20px; border: 1px solid var(--vq-line); border-radius: 14px; background: var(--vq-white);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.vq-option:hover { border-color: var(--vq-blue-light); box-shadow: 0 10px 26px rgba(10,34,55,.07); }
.vq-option-haken {
	flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--vq-mist); position: relative; margin-top: 2px;
}
.vq-option-haken::after {
	content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px;
	border: solid var(--vq-blue-dark); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.vq-option h3 { font-size: .98rem; margin: 0 0 4px; color: var(--vq-navy); }
.vq-option p { font-size: .88rem; line-height: 1.55; margin: 0; color: var(--vq-steel); }

/* --- Symmetrische Kartenraster: Anordnung nach Anzahl (data-n) --- */
.vq-sym[data-n="1"] { grid-template-columns: minmax(0, 560px); justify-content: center; }
.vq-sym[data-n="2"], .vq-sym[data-n="4"] { grid-template-columns: repeat(2, 1fr); }
.vq-sym[data-n="3"], .vq-sym[data-n="6"], .vq-sym[data-n="9"] { grid-template-columns: repeat(3, 1fr); }
.vq-sym[data-n="7"] { grid-template-columns: repeat(2, 1fr); }
.vq-sym[data-n="7"] > :last-child { grid-column: 1 / -1; }
.vq-sym[data-n="8"] { grid-template-columns: repeat(4, 1fr); }
.vq-sym[data-n="5"], .vq-sym[data-n="10"] { grid-template-columns: repeat(6, 1fr); }
.vq-sym[data-n="5"] > *, .vq-sym[data-n="10"] > * { grid-column: span 2; }
.vq-sym[data-n="5"] > :nth-child(n+4), .vq-sym[data-n="10"] > :nth-child(n+7) { grid-column: span 3; }
/* breite Detailkarte: Bild links, Text rechts */
.vq-detailkarten.vq-sym[data-n="7"] > :last-child { flex-direction: row; }
.vq-detailkarten.vq-sym[data-n="7"] > :last-child .vq-detailkarte-bild { flex: 0 0 50%; aspect-ratio: auto; }

@media (max-width: 960px) {
	.vq-detailkarten, .vq-optionen-raster { grid-template-columns: 1fr 1fr; }
	.vq-sym[data-n] { grid-template-columns: repeat(2, 1fr); }
	.vq-impr[data-n] { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.vq-impr[data-n="3"] > :last-child { grid-column: 1 / -1; }
	.vq-sym[data-n] > * { grid-column: auto !important; }
	.vq-sym[data-n="1"] { grid-template-columns: 1fr; }
	.vq-sym[data-n="3"] > :last-child, .vq-sym[data-n="5"] > :last-child, .vq-sym[data-n="7"] > :last-child, .vq-sym[data-n="9"] > :last-child { grid-column: 1 / -1 !important; }
	.vq-impr { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.vq-unter-raster { grid-template-columns: 1fr; gap: 30px; }
	.vq-unter-bilder { grid-template-columns: 1fr 1fr; }
	.vq-unter-gross { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
	.vq-detailkarten, .vq-optionen-raster, .vq-sym[data-n] { grid-template-columns: 1fr; }
	.vq-sym[data-n] > * { grid-column: auto !important; }
	.vq-detailkarten.vq-sym > * { flex-direction: column !important; }
	.vq-impr[data-n] { grid-auto-rows: 130px; }
	.vq-ansicht { width: calc(50% - 11px); }
	.vq-impr { grid-auto-rows: 130px; gap: 10px; }
	.vq-leuchte { padding: 60px 12px; }
}
