/*!
 * IBER Datentechnik - IDVH 2026 · Version 2.0.0.15
 * Copyright (C) 2026 IBER Datentechnik (Inh. Toni J.Rosado). Alle Rechte vorbehalten.
 * Lizenz: GNU GPL v2 oder später
 */

/* ---------- Tokens ---------- */
:root {
	--idvh-primary: #0a4fa3;
	--idvh-accent: #11b675;
	--idvh-dark: #06243f;
	--idvh-ink: #13263a;
	--idvh-muted: #5b6b7d;
	--idvh-line: #e3e9f0;
	--idvh-bg: #ffffff;
	--idvh-bg-soft: #f3f7fb;
	--idvh-radius: 14px;
	--idvh-radius-sm: 8px;
	--idvh-shadow: 0 1px 2px rgba(6, 36, 63, .06), 0 8px 24px rgba(6, 36, 63, .08);
	--idvh-shadow-lg: 0 18px 48px rgba(6, 36, 63, .18);
	--idvh-container: 1200px;
	--idvh-gutter: clamp(16px, 4vw, 32px);
	--idvh-logo-h: 72px;
	--idvh-font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--idvh-font-head: "Roboto Condensed", "Arial Narrow", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	--idvh-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--idvh-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--idvh-ink);
	background: var(--idvh-bg);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--idvh-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--idvh-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--idvh-accent) 70%, transparent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--idvh-font-head); color: var(--idvh-dark); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.idvh-icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.idvh-container { width: 100%; max-width: var(--idvh-container); margin-inline: auto; padding-inline: var(--idvh-gutter); }
.visually-hidden, .element-invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575.98px) { .hide-sm { display: none !important; } }
@media (max-width: 991.98px) { .hide-md { display: none !important; } }

.idvh-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--idvh-dark); color: #fff; padding: 10px 16px; border-radius: var(--idvh-radius-sm); }
.idvh-skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.idvh-btn, .btn, button.btn, input[type=submit] {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font: 600 .95rem/1.2 var(--idvh-font); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: transform .2s var(--idvh-ease), box-shadow .2s var(--idvh-ease), background-color .2s, color .2s, border-color .2s;
	background: var(--idvh-primary); color: #fff;
}
.idvh-btn:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6, 36, 63, .18); color: #fff; }
.idvh-btn--primary, .btn-primary { background: var(--idvh-primary); color: #fff; }
.idvh-btn--accent, .btn-success { background: var(--idvh-accent); color: #fff; }
.idvh-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.idvh-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.idvh-btn--light { background: #fff; color: var(--idvh-dark); }
.idvh-btn--light:hover { color: var(--idvh-primary); }
.idvh-btn .idvh-icon { width: 1.1em; height: 1.1em; }
.btn-secondary { background: var(--idvh-bg-soft); color: var(--idvh-dark); }

/* ---------- Header ---------- */
.idvh-header { position: relative; z-index: 100; background: #fff; }
.sticky-header .idvh-header { position: sticky; top: 0; }
.idvh-topbar { background: var(--idvh-dark); color: rgba(255, 255, 255, .86); font-size: .85rem; }
.idvh-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.idvh-topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.idvh-topbar__contact li, .idvh-topbar__contact a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.idvh-topbar__contact a:hover { color: #fff; }
.idvh-topbar__contact .idvh-icon { color: var(--idvh-accent); }
.idvh-topbar__right { display: flex; align-items: center; gap: 16px; }
.idvh-topbar__tagline { opacity: .75; letter-spacing: .02em; }
.idvh-topbar__login { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: var(--idvh-accent); color: #fff; font-weight: 600; text-decoration: none; }
.idvh-topbar__login:hover { color: #fff; background: color-mix(in srgb, var(--idvh-accent) 85%, #000); }
.sticky-header .idvh-header { transition: top .3s var(--idvh-ease); }
.sticky-header.is-scrolled .idvh-header { top: calc(var(--idvh-topbar-h, 40px) * -1); }

.idvh-navbar { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--idvh-line); transition: box-shadow .3s; }
.is-scrolled .idvh-navbar { box-shadow: 0 6px 24px rgba(6, 36, 63, .08); }
.idvh-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--idvh-logo-h) + 24px); }
.idvh-brand { display: inline-flex; align-items: center; flex: none; }
.idvh-brand img { height: var(--idvh-logo-h); width: auto; transition: height .3s var(--idvh-ease); }
.is-scrolled .idvh-brand img { height: calc(var(--idvh-logo-h) * .78); }

/* Logo-Plakette (Startseite mit Bühne) */
.logo-plaque .idvh-navbar__inner { position: relative; justify-content: flex-end; }
.logo-plaque .idvh-brand {
	position: absolute; left: var(--idvh-gutter); top: 0; z-index: 60;
	padding: 14px 26px 20px; background: #fff; border-radius: 0 0 22px 22px;
	box-shadow: 0 18px 40px rgba(6, 36, 63, .25);
	transition: padding .3s var(--idvh-ease), box-shadow .3s, border-radius .3s, top .3s var(--idvh-ease), transform .3s var(--idvh-ease);
}
.logo-plaque .idvh-brand img { height: var(--idvh-plaque-h, 150px); }
.logo-plaque .idvh-hero__inner { padding-top: calc(var(--idvh-plaque-h, 150px) + 10px); }
.logo-plaque .idvh-hero__eyebrow { display: none; }
.logo-plaque.is-scrolled .idvh-brand { top: 50%; transform: translateY(-50%); padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.logo-plaque.is-scrolled .idvh-brand img { height: calc(var(--idvh-logo-h) * .78); }
@media (max-width: 991.98px) {
	.logo-plaque .idvh-brand { padding: 8px 14px 12px; border-radius: 0 0 16px 16px; }
	.logo-plaque .idvh-brand img { height: calc(var(--idvh-plaque-h, 150px) * .64); }
	.logo-plaque .idvh-hero__inner { padding-top: calc(var(--idvh-plaque-h, 150px) * .64 - 10px); }
	.logo-plaque .idvh-burger { margin-left: auto; }
}

/* Menu – shared */
.idvh-menu, .idvh-menu__sub { list-style: none; margin: 0; padding: 0; }
.idvh-menu__link { display: flex; align-items: center; gap: 6px; color: var(--idvh-dark); text-decoration: none; font-weight: 600; letter-spacing: .01em; cursor: pointer; }
.idvh-menu__toggle { display: inline-grid; place-items: center; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.idvh-menu__toggle svg { width: 20px; height: 20px; fill: currentColor; transition: transform .25s var(--idvh-ease); }

/* Menu – desktop */
@media (min-width: 992px) {
	.idvh-burger { display: none; }
	.idvh-nav { display: flex; align-items: center; gap: 18px; }
	.idvh-menu { display: flex; align-items: center; gap: 4px; }
	.idvh-menu > .idvh-menu__item { position: relative; display: flex; align-items: center; }
	.idvh-menu > .idvh-menu__item > .idvh-menu__link { padding: 10px 12px; border-radius: 8px; font-size: .98rem; text-transform: uppercase; letter-spacing: .04em; font-family: var(--idvh-font-head); }
	.idvh-menu > .idvh-menu__item > .idvh-menu__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--idvh-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--idvh-ease); }
	.idvh-menu > .idvh-menu__item:hover > .idvh-menu__link::after,
	.idvh-menu > .idvh-menu__item.active > .idvh-menu__link::after { transform: scaleX(1); }
	.idvh-menu > .idvh-menu__item.active > .idvh-menu__link { color: var(--idvh-primary); }
	.idvh-menu > .has-children > .idvh-menu__link { padding-right: 2px; }
	.idvh-menu > .has-children > .idvh-menu__toggle { width: 22px; height: 40px; color: var(--idvh-muted); }
	.idvh-menu__sub {
		position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 10px;
		background: #fff; border: 1px solid var(--idvh-line); border-radius: var(--idvh-radius); box-shadow: var(--idvh-shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--idvh-ease), visibility .2s;
	}
	.idvh-menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.idvh-menu > .idvh-menu__item:last-child > .idvh-menu__sub, .idvh-menu > .idvh-menu__item:nth-last-child(2) > .idvh-menu__sub { left: auto; right: 0; }
	.idvh-menu__item:hover > .idvh-menu__sub, .idvh-menu__item:focus-within > .idvh-menu__sub, .idvh-menu__item.is-open > .idvh-menu__sub { opacity: 1; visibility: visible; transform: none; }
	.idvh-menu__item:hover > .idvh-menu__toggle svg, .idvh-menu__item.is-open > .idvh-menu__toggle svg { transform: rotate(180deg); }
	.idvh-menu__sub .idvh-menu__link { padding: 10px 14px; border-radius: 8px; font-weight: 500; }
	.idvh-menu__sub .idvh-menu__link:hover, .idvh-menu__sub .current > .idvh-menu__link { background: var(--idvh-bg-soft); color: var(--idvh-primary); }
	.idvh-menu__sub .idvh-menu__toggle { display: none; }
	.idvh-nav__login { padding: .65em 1.15em; }
	.idvh-backdrop { display: none !important; }
}

/* Menu – mobile/tablet off-canvas */
@media (max-width: 991.98px) {
	.idvh-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--idvh-line); border-radius: 12px; background: #fff; cursor: pointer; }
	.idvh-burger span { display: block; height: 2px; border-radius: 2px; background: var(--idvh-dark); transition: transform .3s var(--idvh-ease), opacity .2s; }
	.nav-open .idvh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .idvh-burger span:nth-child(2) { opacity: 0; }
	.nav-open .idvh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.idvh-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 120;
		display: flex; flex-direction: column; gap: 20px; padding: 88px 22px 28px; overflow-y: auto;
		background: #fff; box-shadow: var(--idvh-shadow-lg);
		transform: translateX(105%); transition: transform .35s var(--idvh-ease); visibility: hidden;
	}
	.nav-open .idvh-nav { transform: none; visibility: visible; }
	.nav-open .idvh-burger { position: relative; z-index: 130; }
	.idvh-navbar { backdrop-filter: none; background: #fff; }
	.idvh-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(6, 36, 63, .45); backdrop-filter: blur(2px); }
	.idvh-menu__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--idvh-line); }
	.idvh-menu__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
	.idvh-menu__item.current > .idvh-menu__link, .idvh-menu__item.active > .idvh-menu__link { color: var(--idvh-primary); }
	.idvh-menu__toggle { width: 44px; height: 44px; border-radius: 10px; background: var(--idvh-bg-soft); }
	.idvh-menu__item.is-open > .idvh-menu__toggle svg { transform: rotate(180deg); }
	.idvh-menu__sub { flex-basis: 100%; display: none; padding: 0 0 8px 12px; }
	.idvh-menu__item.is-open > .idvh-menu__sub { display: block; }
	.idvh-menu__sub .idvh-menu__item { border: 0; }
	.idvh-menu__sub .idvh-menu__link { padding: 10px 4px; font-weight: 500; color: var(--idvh-muted); }
	.idvh-nav__login { align-self: stretch; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.idvh-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	min-height: clamp(460px, 72vh, 720px); display: flex; align-items: center;
	background: var(--idvh-dark);
}
.idvh-hero__bg, .idvh-cta__bg, .idvh-strip__bg, .idvh-service__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Parallax: Bild höher als der Bereich, Verschiebung per JavaScript */
.idvh-hero__bg, .idvh-cta__bg, .idvh-strip__bg { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .idvh-hero__bg, .idvh-cta__bg, .idvh-strip__bg { top: 0 !important; height: 100% !important; transform: none !important; } }

/* Gleitender Bildstreifen (Startseite) */
.idvh-strip { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(260px, 34vw, 360px); margin: 48px 0 0; border-radius: calc(var(--idvh-radius) + 4px); background: var(--idvh-dark); color: #fff; box-shadow: var(--idvh-shadow); }
.idvh-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 36, 63, .9) 0%, rgba(6, 36, 63, .7) 45%, rgba(6, 36, 63, .15) 100%); }
.idvh-strip__inner { padding: clamp(28px, 5vw, 56px); max-width: 640px; }
.idvh-strip__text { margin: 0 0 22px; font: 700 clamp(1.35rem, 2.6vw, 2rem)/1.25 var(--idvh-font-head); color: #fff; }
.idvh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(6, 36, 63, .92) 0%, rgba(6, 36, 63, .78) 42%, rgba(10, 79, 163, .35) 100%); }
.idvh-hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 70px; z-index: -1; background: #fff; clip-path: polygon(0 100%, 100% 30%, 100% 100%); }
.idvh-hero__inner { padding-block: 72px 110px; max-width: 880px; }
.idvh-hero__inner p { max-width: 600px; }
.idvh-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.idvh-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--idvh-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--idvh-accent) 30%, transparent); }
.idvh-hero h1, .idvh-hero h2 { color: #fff; font-size: clamp(1.85rem, 7.4vw, 4.2rem); hyphens: auto; -webkit-hyphens: auto; line-height: 1.05; margin-bottom: .35em; }
.idvh-hero h1 span, .idvh-hero h2 span { display: block; color: var(--idvh-accent); }
.idvh-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 560px; }
.idvh-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.idvh-hero__actions .idvh-btn { font-size: 1rem; padding: .95em 1.6em; }

/* ---------- Breadcrumbs ---------- */
.idvh-breadcrumbs { background: var(--idvh-bg-soft); border-bottom: 1px solid var(--idvh-line); font-size: .9rem; }
.idvh-breadcrumbs ol, .idvh-breadcrumbs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 12px 0; list-style: none; }
.idvh-breadcrumbs li { color: var(--idvh-muted); }
.idvh-breadcrumbs li + li::before { content: "›"; margin: 0 10px; color: #a3b1c0; }
.idvh-breadcrumbs .divider, .idvh-breadcrumbs li > .icon-location { display: none; }
.idvh-breadcrumbs a { color: var(--idvh-dark); text-decoration: none; }
.idvh-breadcrumbs a:hover { color: var(--idvh-primary); }

/* ---------- Layout ---------- */
.idvh-main { padding-block: clamp(36px, 6vw, 72px); }
.is-home .idvh-main { padding-top: 24px; }
.idvh-layout--sidebar { display: grid; gap: 40px; }
@media (min-width: 992px) { .idvh-layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }
.idvh-section { padding-block: 48px; }
.idvh-grid-modules { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* SP Page Builder: volle Breite */
.idvh-main--full { padding: 0; }
.idvh-main--full .idvh-main__notes { padding-block: 24px 0; }
.idvh-main--full #sp-page-builder, .idvh-main--full .sp-page-builder { width: 100%; }
.is-sppb .idvh-main--full img { display: inline-block; }

/* ---------- SP-Page-Builder-Seiten im IDVH-Design ---------- */
.is-sppb .sppb-section .sppb-row-container { max-width: calc(var(--idvh-container) + 30px - 2 * var(--idvh-gutter)); }
.is-sppb .sppb-addon-title { font-family: var(--idvh-font-head); color: var(--idvh-dark); }
.is-sppb .sppb-addon-content { font-size: 1.0625rem; line-height: 1.65; color: var(--idvh-ink); }
.idvh-sppb-pagetitle .sppb-addon-title { position: relative; padding-bottom: .45em; font-size: clamp(2rem, 4.2vw, 2.9rem); }
.idvh-sppb-pagetitle .sppb-addon-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--idvh-primary), var(--idvh-accent)); }
.is-sppb .idvh-lead .sppb-addon-content { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--idvh-muted); max-width: 820px; }
.is-sppb .idvh-muted .sppb-addon-content { color: var(--idvh-muted); }
.idvh-sppb-block { border-top: 1px solid var(--idvh-line); }
.idvh-sppb-block .sppb-addon-title { margin-bottom: 10px; }
.is-sppb .sppb-btn { border-radius: 999px; padding: .85em 1.6em; font-weight: 600; }
.is-sppb .sppb-btn-primary { background: var(--idvh-primary); border-color: var(--idvh-primary); color: #fff; }
.is-sppb .sppb-btn-primary:hover { background: var(--idvh-dark); border-color: var(--idvh-dark); }

/* Leistungskacheln (Image Overlay) */
.idvh-svc .sppb-addon-overlay-image { border-radius: calc(var(--idvh-radius) + 4px); overflow: hidden; box-shadow: var(--idvh-shadow); transition: transform .35s var(--idvh-ease), box-shadow .35s var(--idvh-ease); }
.idvh-svc .sppb-addon-overlay-image:hover { transform: translateY(-6px); box-shadow: var(--idvh-shadow-lg); }
.idvh-svc .sppb-addon-overlay-image-content { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; position: relative; z-index: 2; }
.idvh-svc .overlay-background-image-wrapper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 36, 63, 0) 25%, rgba(6, 36, 63, .9) 100%); pointer-events: none; }
.idvh-svc .sppb-addon-title, .idvh-svc .sppb-addon-title a { color: #fff !important; font-size: 1.45rem; margin: 0 0 6px; }
.idvh-svc .sppb-addon-subtitle { color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.5; }
.idvh-svc .sppb-addon-subtitle::after { content: "Mehr erfahren →"; display: block; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--idvh-accent); }

/* Gleitender Bildstreifen (Zeile mit Klasse idvh-parallax) */
.idvh-sppb-strip { border-radius: calc(var(--idvh-radius) + 4px); margin: 36px auto 0; max-width: calc(var(--idvh-container) - 2 * var(--idvh-gutter)); overflow: hidden; }
@media (max-width: 1240px) { .idvh-sppb-strip { margin-inline: var(--idvh-gutter); } }
.idvh-sppb-strip .sppb-addon-title { color: #fff; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; }
.idvh-btn-light .sppb-btn { background: #fff; color: var(--idvh-dark); border-color: #fff; }
.idvh-btn-light .sppb-btn:hover { color: var(--idvh-primary); }
.idvh-parallax { position: relative; isolation: isolate; overflow: hidden; }
.idvh-parallax__bg { position: absolute; left: 0; width: 100%; object-fit: cover; z-index: -1; pointer-events: none; will-change: transform; }
.idvh-parallax > .sppb-row-overlay { z-index: 0; }
.idvh-parallax > .sppb-row-container { position: relative; z-index: 1; }

/* Vorteile (Feature Box) */
.idvh-usp .sppb-addon-feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--idvh-radius); background: var(--idvh-bg-soft); height: 100%; text-align: left; }
.idvh-usp .sppb-icon, .idvh-usp .sppb-icon-container { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--idvh-accent); color: #fff; font-size: 18px; }
.idvh-usp .sppb-addon-title { font-size: 1.1rem; margin: 0 0 4px; }
.idvh-usp .sppb-addon-text { color: var(--idvh-muted); font-size: .95rem; line-height: 1.5; }

/* Produktgalerien */
.idvh-sppb-gallery .sppb-gallery { display: grid !important; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.idvh-sppb-gallery .sppb-gallery li { margin: 0 !important; width: auto !important; }
.idvh-sppb-gallery .sppb-gallery a { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--idvh-radius); background: #fff; border: 1px solid var(--idvh-line); box-shadow: var(--idvh-shadow); }
.idvh-sppb-gallery .sppb-gallery img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 14px; transition: transform .45s var(--idvh-ease); }
.idvh-sppb-gallery .sppb-gallery a:hover img { transform: scale(1.05); }

/* Rechtstexte */
.idvh-legal-wrap .sppb-addon-content h2 { margin-top: 2em; font-size: 1.6rem; }
.idvh-legal-wrap .sppb-addon-content h3 { margin-top: 1.6em; font-size: 1.2rem; }
.idvh-legal-wrap .sppb-addon-content { max-width: 860px; }

/* Cards (Module-Chrome) */
.idvh-card { background: #fff; border: 1px solid var(--idvh-line); border-radius: var(--idvh-radius); box-shadow: var(--idvh-shadow); padding: 24px; margin-bottom: 24px; }
.idvh-card__title { font-size: 1.2rem; margin-bottom: .8em; }

/* ---------- Article / Content ---------- */
.com-content-article .page-header, .item-page .page-header { margin-bottom: 1.5rem; }
.com-content-article .page-header h1, .com-content-article .page-header h2,
.item-page .page-header h1, .item-page .page-header h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); position: relative; padding-bottom: .45em; }
.com-content-article .page-header h1::after, .com-content-article .page-header h2::after,
.item-page .page-header h1::after, .item-page .page-header h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--idvh-primary), var(--idvh-accent)); }
.com-content-article__body, [itemprop="articleBody"] { max-width: 100%; }
.article-info, .com-content-article .article-info { display: none; }
/* Bearbeiten-Knopf für Beiträge (nur für angemeldete Redakteure) */
.com-content-article, .item-page { position: relative; }
.com-content-article .icons { position: absolute; top: -6px; right: 0; z-index: 40; margin: 0; transform: translateY(-100%); }
.com-content-article .icons .float-end { float: none; }
.com-content-article .icons a {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 999px; background: var(--idvh-dark); color: #fff;
	font-size: .8rem; font-weight: 600; text-decoration: none; box-shadow: var(--idvh-shadow);
	opacity: .55; transition: opacity .2s, background .2s;
}
.com-content-article:hover .icons a, .com-content-article .icons a:focus-visible { opacity: 1; }
.com-content-article .icons a:hover { background: var(--idvh-primary); color: #fff; }
.com-content-article .icons [role=tooltip] { display: none; }
.com-content-article .icons a:hover [role=tooltip], .com-content-article .icons a:focus-visible [role=tooltip],
.com-content-article .icons a:hover + [role=tooltip], .com-content-article .icons a:focus-visible + [role=tooltip] {
	display: block; position: absolute; top: calc(100% + 6px); right: 0; z-index: 41; min-width: 180px;
	padding: 8px 12px; border-radius: 8px; background: var(--idvh-dark); color: #fff;
	font: 400 .8rem/1.45 var(--idvh-font); text-align: left; white-space: normal; box-shadow: var(--idvh-shadow-lg);
}
.com-content-article .icons > div, .com-content-article .icons .float-end > div { position: relative; }

.idvh-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--idvh-muted); max-width: 820px; }
.idvh-kicker { display: inline-block; margin-bottom: 10px; font: 700 .8rem/1 var(--idvh-font); letter-spacing: .14em; text-transform: uppercase; color: var(--idvh-accent); }

.idvh-block { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--idvh-line); }
.idvh-block:first-of-type { border-top: 0; padding-top: 0; }
.idvh-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.idvh-block__head h2, .idvh-block__head h3 { margin: 0; }
.idvh-block__head p { margin: 0; color: var(--idvh-muted); }
.idvh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--idvh-accent) 14%, #fff); color: color-mix(in srgb, var(--idvh-accent) 70%, #000); font-size: .82rem; font-weight: 600; }

/* Galerie */
.idvh-gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.idvh-gallery figure, .idvh-gallery li { margin: 0; }
.idvh-gallery a { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--idvh-radius); background: #fff; border: 1px solid var(--idvh-line); box-shadow: var(--idvh-shadow); }
.idvh-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .45s var(--idvh-ease); }
.idvh-gallery a:hover img { transform: scale(1.05); }
.idvh-gallery a::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--idvh-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 14 15.5l.3.3v.8l5 5 1.5-1.5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2z'/%3E%3C/svg%3E") center/20px no-repeat; opacity: 0; transform: scale(.8); transition: .25s var(--idvh-ease); }
.idvh-gallery a:hover::after, .idvh-gallery a:focus-visible::after { opacity: 1; transform: none; }
.idvh-gallery figcaption { margin-top: 8px; font-size: .9rem; color: var(--idvh-muted); text-align: center; }
.idvh-gallery--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Service-Karten (Startseite) */
.idvh-intro { display: grid; gap: 28px; align-items: center; margin-bottom: 36px; }
@media (min-width: 992px) { .idvh-intro { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.idvh-intro h2 { margin: 0; }
.idvh-intro p { color: var(--idvh-muted); margin: 0 0 18px; }
.idvh-services { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.idvh-service { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px; overflow: hidden; isolation: isolate; border-radius: calc(var(--idvh-radius) + 4px); color: #fff; text-decoration: none; background: var(--idvh-dark); box-shadow: var(--idvh-shadow); transition: transform .35s var(--idvh-ease), box-shadow .35s var(--idvh-ease); }
.idvh-service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 36, 63, 0) 25%, rgba(6, 36, 63, .88) 100%); transition: background .35s; }

.idvh-service__img { transition: transform .6s var(--idvh-ease); }
.idvh-service:hover .idvh-service__img { transform: scale(1.06); }
.idvh-service:hover { transform: translateY(-6px); box-shadow: var(--idvh-shadow-lg); color: #fff; }
.idvh-service:hover::before { background: linear-gradient(180deg, color-mix(in srgb, var(--idvh-primary) 30%, transparent) 0%, rgba(6, 36, 63, .92) 100%); }
.idvh-service h3 { color: #fff; margin: 0 0 6px; font-size: 1.45rem; }
.idvh-service p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.5; }
.idvh-service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--idvh-accent); }
.idvh-service__more::after { content: "→"; transition: transform .25s var(--idvh-ease); }
.idvh-service:hover .idvh-service__more::after { transform: translateX(4px); }

/* USP-Leiste */
.idvh-usps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 48px 0 0; padding: 0; list-style: none; }
.idvh-usps li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--idvh-radius); background: var(--idvh-bg-soft); }
.idvh-usps strong { display: block; color: var(--idvh-dark); font-family: var(--idvh-font-head); font-size: 1.1rem; }
.idvh-usps span { color: var(--idvh-muted); font-size: .95rem; line-height: 1.5; }
.idvh-usps li::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--idvh-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/22px no-repeat; }

/* CTA */
.idvh-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--idvh-accent); }
.idvh-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, color-mix(in srgb, var(--idvh-accent) 96%, #000) 0%, color-mix(in srgb, var(--idvh-accent) 82%, transparent) 55%, color-mix(in srgb, var(--idvh-primary) 75%, transparent) 100%); }
.idvh-cta__inner { display: grid; gap: 28px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
@media (min-width: 992px) { .idvh-cta__inner { grid-template-columns: 1.6fr 1fr; gap: 64px; } }
.idvh-cta h2 { color: #fff; }
.idvh-cta p { color: rgba(255, 255, 255, .92); margin: 0; }
.idvh-cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 992px) { .idvh-cta__actions { align-items: stretch; } }
.idvh-cta__phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 700 1.6rem/1 var(--idvh-font-head); letter-spacing: .03em; }
.idvh-cta__phone small { display: block; font: 500 .8rem/1.2 var(--idvh-font); opacity: .85; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.idvh-cta__phone:hover { color: #fff; }

/* ---------- Kontakt (com_contact) ---------- */
.com-contact { display: grid; gap: 28px; max-width: 900px; }
.com-contact__container, .com-contact__form, .contact-form { background: #fff; border: 1px solid var(--idvh-line); border-radius: var(--idvh-radius); box-shadow: var(--idvh-shadow); padding: clamp(20px, 3vw, 32px); }
.com-contact dl { display: grid; grid-template-columns: 28px 1fr; gap: 6px 12px; margin: 0 0 12px; }
.com-contact dt { grid-column: 1; color: var(--idvh-accent); }
.com-contact dd { grid-column: 2; margin: 0; }
.idvh-contact { display: grid; gap: 18px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 4px 0 8px; }
.idvh-contact__row { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.idvh-contact__row--address { grid-row: span 2; }
.idvh-contact__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--idvh-accent) 14%, #fff); color: color-mix(in srgb, var(--idvh-accent) 75%, #000); }
.idvh-contact__icon .idvh-icon { width: 20px; height: 20px; }
.idvh-contact__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--idvh-muted); margin-bottom: 2px; }
.idvh-contact__value { display: block; font-style: normal; color: var(--idvh-ink); overflow-wrap: anywhere; }
.idvh-contact__value a { color: var(--idvh-dark); text-decoration: none; font-weight: 600; }
.idvh-contact__value a:hover { color: var(--idvh-primary); }
.com-contact h3 { font-size: 1.3rem; }
.com-contact__thumbnail img { border-radius: var(--idvh-radius); }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
legend { font: 700 1.3rem/1.2 var(--idvh-font-head); color: var(--idvh-dark); margin-bottom: 1rem; padding: 0; }
.control-group { margin-bottom: 1.1rem; }
.control-label label, label { display: inline-block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--idvh-dark); }
.star, .required-star { color: #d23c3c; }
.form-control, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=url], select, textarea {
	width: 100%; padding: .8em 1em; border: 1.5px solid var(--idvh-line); border-radius: 10px; background: #fbfdff;
	font: inherit; font-size: 1rem; color: var(--idvh-ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus, input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--idvh-primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--idvh-primary) 15%, transparent); }
textarea { min-height: 160px; resize: vertical; }
.form-check, .checkbox { display: flex; gap: 10px; align-items: flex-start; }
.form-check-input, input[type=checkbox], input[type=radio] { width: 1.2em; height: 1.2em; margin-top: .25em; accent-color: var(--idvh-primary); flex: none; }
.invalid, .form-control-danger { border-color: #d23c3c !important; }
.form-control-feedback, .invalid-feedback { color: #d23c3c; font-size: .88rem; }
.controls .btn, .form-actions .btn, .contact-form .btn { padding: .95em 2em; }

/* Systemmeldungen */
#system-message-container joomla-alert, .alert { display: block; padding: 14px 18px; border-radius: var(--idvh-radius-sm); margin-bottom: 20px; background: var(--idvh-bg-soft); border-left: 4px solid var(--idvh-primary); }
joomla-alert[type=success], .alert-success { border-left-color: var(--idvh-accent); background: color-mix(in srgb, var(--idvh-accent) 10%, #fff); }
joomla-alert[type=danger], joomla-alert[type=error], .alert-danger { border-left-color: #d23c3c; background: #fdf0f0; }
joomla-alert[type=warning], .alert-warning { border-left-color: #e0a100; background: #fff8e6; }

/* Tabellen (Datenschutz etc.) */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--idvh-line); text-align: left; vertical-align: top; }

/* Rechtstexte */
.idvh-legal { max-width: 860px; }
.idvh-legal h2 { margin-top: 2em; padding-top: .2em; font-size: 1.6rem; }
.idvh-legal h3 { margin-top: 1.6em; font-size: 1.2rem; }
.idvh-legal h4 { margin-top: 1.2em; font-size: 1.05rem; }
.idvh-legal ul { padding-left: 1.2em; }
.idvh-legal li { margin-bottom: .5em; }
.idvh-legal a { word-break: break-word; }
.idvh-infobox { display: grid; gap: 4px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 22px 24px; margin: 1.2em 0 2em; border-radius: var(--idvh-radius); background: var(--idvh-bg-soft); border: 1px solid var(--idvh-line); }
.idvh-infobox p { margin: 0; }
.idvh-download { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--idvh-radius); background: var(--idvh-bg-soft); border: 1px solid var(--idvh-line); }
.idvh-download p { margin: 0; flex: 1 1 260px; }

/* ---------- Footer ---------- */
.idvh-footer { background: var(--idvh-dark); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.idvh-footer a { color: #fff; text-decoration: none; }
.idvh-footer a:hover { color: var(--idvh-accent); }
.idvh-footer__grid { display: flex; flex-wrap: wrap; gap: 36px 48px; padding-block: 64px 44px; }
.idvh-footer__brand { flex: 1.6 1 300px; }
.idvh-footer__col { flex: 1 1 180px; }
.idvh-footer__logo { display: inline-block; padding: 10px 14px; border-radius: 12px; background: #fff; margin-bottom: 18px; }
.idvh-footer__logo img { height: 56px; width: auto; }
.idvh-footer address { margin-bottom: 12px; line-height: 1.7; }
.idvh-footer address strong { color: #fff; }
.idvh-footer .idvh-icon { color: var(--idvh-accent); margin-right: 8px; vertical-align: -2px; }
.idvh-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.idvh-footer__title { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.idvh-footer ul.mod-menu, .idvh-footer ul.menu, .idvh-footer__module ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.idvh-footer__module ul a::before { content: "›"; margin-right: 8px; color: var(--idvh-accent); }
.idvh-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.idvh-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.idvh-copyright { margin: 0; }
.idvh-sep { margin: 0 8px; opacity: .5; }
.idvh-footer__bar ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Floating Kundenlogin / Nach oben ---------- */
.idvh-float-login {
	position: fixed; right: 0; top: 50%; z-index: 90; transform: translateY(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px;
	border-radius: 14px 0 0 14px; background: var(--idvh-accent); color: #fff; text-decoration: none;
	font: 700 .72rem/1.1 var(--idvh-font); letter-spacing: .06em; text-transform: uppercase;
	box-shadow: -6px 10px 30px rgba(6, 36, 63, .25); transition: padding .25s var(--idvh-ease), background .2s;
}
.idvh-float-login .idvh-icon { width: 26px; height: 26px; }
.idvh-float-login span { writing-mode: vertical-rl; transform: rotate(180deg); }
.idvh-float-login:hover { padding-right: 16px; background: color-mix(in srgb, var(--idvh-accent) 85%, #000); color: #fff; }
@media (max-width: 991.98px) {
	.idvh-float-login { top: auto; bottom: 18px; right: 18px; transform: none; flex-direction: row; padding: 12px 16px; border-radius: 999px; }
	.idvh-float-login span { writing-mode: initial; transform: none; }
	.idvh-float-login .idvh-icon { width: 20px; height: 20px; }
	.idvh-float-login:hover { padding-right: 16px; }
}
.idvh-totop { position: fixed; right: 18px; bottom: 18px; z-index: 89; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--idvh-dark); color: #fff; box-shadow: var(--idvh-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--idvh-ease); }
.idvh-totop .idvh-icon { width: 26px; height: 26px; }
.is-scrolled .idvh-totop { opacity: 1; visibility: visible; transform: none; }
.idvh-totop:hover { background: var(--idvh-primary); color: #fff; }
@media (max-width: 991.98px) { .idvh-totop { bottom: 82px; } }

/* ---------- Lightbox ---------- */
.idvh-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px 16px; background: rgba(4, 18, 32, .92); }
.idvh-lightbox[hidden] { display: none; }
.idvh-lightbox img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; border-radius: 10px; background: #fff; padding: 12px; box-shadow: var(--idvh-shadow-lg); }
.idvh-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.idvh-lightbox button:hover { background: rgba(255, 255, 255, .28); }
.idvh-lightbox__close { top: 14px; right: 14px; }
.idvh-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.idvh-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Wartungsmodus ---------- */
.idvh-offline-page { min-height: 100vh; min-height: 100dvh; margin: 0; background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--idvh-primary) 22%, transparent), transparent 60%), radial-gradient(900px 500px at 110% 110%, color-mix(in srgb, var(--idvh-accent) 20%, transparent), transparent 60%), var(--idvh-bg-soft); }
.idvh-offline { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 16px; }
.idvh-offline__card { width: 100%; max-width: 420px; padding: clamp(24px, 5vw, 40px); background: #fff; border: 1px solid var(--idvh-line); border-radius: calc(var(--idvh-radius) + 4px); box-shadow: var(--idvh-shadow-lg); text-align: center; }
.idvh-offline__brand { display: flex; justify-content: center; margin-bottom: 18px; }
.idvh-offline__brand img { width: auto; max-width: 240px; max-height: 110px; }
.idvh-offline__sitename { font: 700 1.8rem/1.2 var(--idvh-font-head); color: var(--idvh-dark); }
.idvh-offline__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, #e0a100 16%, #fff); color: #8a6300; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.idvh-offline__message { margin: 14px 0 22px; color: var(--idvh-muted); }
.idvh-offline__form { text-align: left; display: grid; gap: 4px; margin-top: 8px; }
.idvh-offline__form .control-group { margin-bottom: 12px; }
.idvh-offline__submit, .idvh-offline__extra { width: 100%; margin-top: 6px; }
.idvh-offline__extra { color: var(--idvh-dark); border-color: var(--idvh-line); }
.idvh-offline__extra svg, .idvh-offline__extra img { width: 22px; height: 22px; flex: none; }
.idvh-offline__footer { margin: 0; color: var(--idvh-muted); font-size: .85rem; text-align: center; }

/* ---------- Fehlerseite ---------- */
.idvh-error-page { min-height: 100vh; display: grid; place-items: center; background: var(--idvh-bg-soft); }
.idvh-error { text-align: center; padding: 40px 20px; max-width: 640px; }
.idvh-error img { margin: 0 auto 24px; }
.idvh-error__code { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--idvh-font-head); margin: 0; background: linear-gradient(90deg, var(--idvh-primary), var(--idvh-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.idvh-error__trace { text-align: left; font-size: .75rem; overflow: auto; background: #fff; padding: 12px; border-radius: 8px; }

/* ---------- Frontend-Bearbeitung (nur für angemeldete Redakteure) ---------- */
.jmoddiv, :has(> .jmodedit) { position: relative; }
a.jmodedit, .btn.jmodedit {
	position: absolute; top: 4px; right: 4px; z-index: 60;
	display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; margin: 0;
	border: 0; border-radius: 8px; background: var(--idvh-dark); color: #fff; font-size: 14px;
	box-shadow: var(--idvh-shadow); opacity: 0; transition: opacity .2s;
}
.jmoddiv:hover > .jmodedit, :has(> .jmodedit):hover > .jmodedit, .jmodedit:focus-visible { opacity: 1; }
a.jmodedit:hover { background: var(--idvh-primary); color: #fff; transform: none; }
.jmodedit + [role=tooltip]:not(.show) { display: none; }
.jmodedit:hover + [role=tooltip], .jmodedit:focus-visible + [role=tooltip], .jmodedit + [role=tooltip].show {
	display: block; position: absolute; top: 38px; right: 4px; z-index: 61; min-width: 190px; max-width: 280px;
	padding: 8px 12px; border-radius: 8px; background: var(--idvh-dark); color: #fff;
	font: 400 .8rem/1.45 var(--idvh-font); text-align: left; text-transform: none; letter-spacing: 0; white-space: normal;
	box-shadow: var(--idvh-shadow-lg);
}
.idvh-menu > a.jmodedit { top: -6px; }

/* ---------- Einblend-Animation ---------- */
.idvh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--idvh-ease), transform .7s var(--idvh-ease); }
.idvh-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Druck ---------- */
@media print {
	.idvh-topbar, .idvh-nav, .idvh-burger, .idvh-float-login, .idvh-totop, .idvh-breadcrumbs, .idvh-cta { display: none !important; }
	.idvh-header { position: static !important; }
	body { font-size: 11pt; }
}
