/* Höring Dach- + Fassadentechnik. Gestaltung siehe CI-Konzept: Dachkante 35°, drei rote Dachstriche, Linien statt Schattenkarten, eckig. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-variabel.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-variabel.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
	--rot: #E2001A;
	--rot-dunkel: #B80016;
	--anthrazit: #33383C;
	--anthrazit-dunkel: #262A2D;
	--text: #24282B;
	--text-2: #55595D;
	--zink: #8A9299;
	--licht: #EEF1F3;
	--linie: #D3D8DC;
	--feldrand: #6E757B;
	--breite: 1200px;
	--rand: clamp(16px, 4vw, 40px);
	--seite: max(var(--rand), calc((100% - var(--breite)) / 2));
	--k: 28px;
	--schrift-kopf: "Archivo", "Arial Narrow", Arial, sans-serif;
	--schrift-text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--dachstriche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 18'%3E%3Cg fill='none' stroke='%23E2001A' stroke-width='4'%3E%3Cpath d='M1 16 18 4M21 16 38 4M41 16 58 4'/%3E%3C/g%3E%3C/svg%3E");
	--dachstriche-weiss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 18'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='4'%3E%3Cpath d='M1 16 18 4M21 16 38 4M41 16 58 4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ Grundlagen */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; scroll-padding-bottom: 5.5rem; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--schrift-text); font-size: 18px; line-height: 1.6; font-weight: 400; }
main { display: block; }
main:focus { outline: none; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--rot-dunkel); text-underline-offset: .18em; }
a:hover { color: var(--rot-dunkel); text-decoration-thickness: 2px; }
/* Elementor nimmt Links die Unterstreichung. Im Fließtext muss sie bleiben, die Farbe allein reicht nicht (WCAG 1.4.1). */
body .elementor-widget-text-editor a:not(.h-knopf), body .h-assist a, body .h-fragen a { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--rot-dunkel); outline-offset: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4,
body .elementor-heading-title {
	font-family: var(--schrift-kopf);
	color: var(--text);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.012em;
	margin: 0;
	text-wrap: balance;
}
h1, body h1.elementor-heading-title { font-size: clamp(2.05rem, 5vw, 3.5rem); }
h2, body h2.elementor-heading-title { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3, body h3.elementor-heading-title { font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
/* Letztes Mittel gegen lange Wörter, die später im Backend dazukommen: lieber umbrechen als die Seite breiter machen. */
h1, h2, h3, h4, body .elementor-heading-title { overflow-wrap: break-word; }

.h-unsichtbar { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.h-breite { max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.h-sprung { position: absolute; left: var(--rand); top: -6rem; z-index: 100; background: var(--anthrazit-dunkel); color: #fff; padding: .7rem 1.1rem; font-weight: 700; }
.h-sprung:focus { top: .5rem; color: #fff; outline-color: #fff; outline-offset: -5px; }
.h-symbol { display: block; flex: none; width: 20px; height: 20px; }

/* Elementor: Abstände kommen aus diesem Stylesheet, nicht aus den Standardwerten der Container */
body {
	--container-default-padding-top: 0px;
	--container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px;
	--container-default-padding-left: 0px;
	--widgets-spacing: 0px 0px;
	--widgets-spacing-row: 0px;
	--widgets-spacing-column: 0px;
}
body .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
body .elementor-widget-image { text-align: left; }
body .elementor-widget-image a { display: block; }
body .elementor-widget-image img { display: block; }
body .elementor-widget-text-editor { color: inherit; font-family: inherit; font-weight: inherit; }

/* ------------------------------------------------------------ Knöpfe */

.h-knopf,
body .elementor-widget-button .elementor-button {
	--k: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 50px;
	padding: .7rem 1.5rem;
	background: var(--rot);
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--schrift-kopf);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%);
	transition: background-color .15s;
}
.h-knopf:hover, .h-knopf:focus-visible,
body .elementor-widget-button .elementor-button:hover,
body .elementor-widget-button .elementor-button:focus-visible { background: var(--rot-dunkel); color: #fff; text-decoration: none; }
/* clip-path schneidet einen äußeren Fokusrahmen ab, deshalb liegt er innen */
.h-knopf:focus-visible,
body .elementor-widget-button .elementor-button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.h-knopf--linie,
body .h-btn--linie .elementor-button { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--anthrazit); clip-path: none; }
/* Innerhalb eines Elementor-Inhalts nimmt „.elementor a“ sonst den Rahmen. */
.elementor a.h-knopf--linie { box-shadow: inset 0 0 0 2px var(--anthrazit); }
.h-knopf--linie:hover, .h-knopf--linie:focus-visible,
body .h-btn--linie .elementor-button:hover,
body .h-btn--linie .elementor-button:focus-visible { background: var(--anthrazit); color: #fff; }
.h-knopf--linie:hover .h-symbol--wa { filter: none; }
.h-knopf--linie:focus-visible,
body .h-btn--linie .elementor-button:focus-visible { outline: 3px solid var(--rot-dunkel); outline-offset: 2px; }

body .h-btn--hell .elementor-button { background: #fff; color: var(--rot-dunkel); }
body .h-btn--hell .elementor-button:hover,
body .h-btn--hell .elementor-button:focus-visible { background: var(--licht); color: var(--rot-dunkel); }
body .h-btn--hell .elementor-button:focus-visible { outline-color: var(--rot-dunkel); }
.h-band--dunkel .h-btn--hell .elementor-button { color: var(--text); }
.h-band--dunkel .h-btn--hell .elementor-button:hover { color: var(--text); }

/* Elementor setzt die Richtung über --flex-direction (.e-con.e-flex), flex-flow allein greift hier nicht. */
body .h-knoepfe.e-flex { --flex-direction: row; }
body .h-knoepfe { display: flex; flex-flow: row wrap; gap: .75rem; }
body .h-knoepfe > .elementor-widget { width: auto; max-width: 100%; }
body .elementor-widget-button { margin-top: 1.5rem; width: auto; }
body .h-knoepfe .elementor-widget-button { margin-top: 0; }
.h-haupt .h-knoepfe { margin-block: 1.5rem .5rem; }
.h-haupt .h-knoepfe .elementor-widget-button { margin-top: 0; }

/* ------------------------------------------------------------ Kopf */

.h-notdienst { background: var(--anthrazit-dunkel); color: #fff; font-size: .95rem; line-height: 1.3; }
.h-notdienst__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .1rem 1.5rem; padding-block: .35rem; }
.h-notdienst p { margin: 0; }
.h-notdienst strong { color: #fff; font-family: var(--schrift-kopf); }
.h-notdienst__wege { display: flex; gap: 1.25rem; }
.h-notdienst a { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; color: #fff; text-decoration: none; font-weight: 600; }
.h-notdienst a:hover { color: #fff; text-decoration: underline; }
.h-notdienst a:focus-visible { outline-color: #fff; }
.h-notdienst .h-symbol { width: 18px; height: 18px; }

.h-kopf { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--linie); }
.h-kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.h-logo { display: block; flex: none; }
.h-logo img { display: block; width: 214px; height: auto; }

.h-menueknopf { display: none; align-items: center; gap: .5rem; min-height: 48px; padding: .4rem .9rem; background: transparent; border: 2px solid var(--anthrazit); border-radius: 0; color: var(--text); font-family: var(--schrift-kopf); font-weight: 700; cursor: pointer; }
.h-menueknopf__zu { display: none; }
.h-menueknopf[aria-expanded="true"] .h-menueknopf__zu { display: block; }
.h-menueknopf[aria-expanded="true"] .h-menueknopf__auf { display: none; }

.h-nav__liste, .h-nav__unter { list-style: none; margin: 0; padding: 0; }
.h-nav__liste { display: flex; align-items: stretch; gap: .15rem; }
.h-nav__punkt { position: relative; display: flex; align-items: center; }
.h-nav__liste > .h-nav__punkt > a { display: flex; align-items: center; min-height: 48px; padding: .35rem .6rem; color: var(--text); font-family: var(--schrift-kopf); font-size: .98rem; font-weight: 600; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.h-nav__liste > .h-nav__punkt > a:hover { box-shadow: inset 0 -3px 0 var(--zink); color: var(--text); }
.h-nav__liste > .h-nav__punkt.ist-aktuell > a { box-shadow: inset 0 -3px 0 var(--rot); }
/* Der Weg zu Kontakt und Anfrage steht am Ende des Menüs und hebt sich ab. */
.h-nav__liste > .h-nav__punkt > a[href$="/kontakt/"] { color: var(--rot-dunkel); font-weight: 700; }
.h-nav__liste > .h-nav__punkt > a { white-space: nowrap; }
.h-nav__auf { display: flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -.45rem; padding: 0; background: transparent; border: 0; color: var(--text); cursor: pointer; }
.h-nav__auf svg { transition: transform .15s; }
.ist-offen > .h-nav__auf svg { transform: rotate(180deg); }
.h-nav__unter { display: none; }

@media (min-width: 1100px) {
	.h-nav__unter { position: absolute; top: 100%; left: 0; width: 560px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; padding: .85rem 1.25rem 1.1rem; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--rot); box-shadow: 0 14px 28px rgba(38, 42, 45, .12); }
	.h-nav__punkt--unter.ist-offen > .h-nav__unter { display: grid; }
	.h-nav__unter a { display: block; padding: .42rem 0; color: var(--text); font-size: 1rem; line-height: 1.3; text-decoration: none; border-bottom: 1px solid var(--licht); }
	.h-nav__unter a:hover { color: var(--rot-dunkel); text-decoration: underline; }
}
@media (min-width: 1100px) and (hover: hover) {
	.h-nav__punkt--unter:hover > .h-nav__unter { display: grid; }
}

@media (max-width: 1099.98px) {
	.h-kopf__innen { min-height: 72px; flex-wrap: wrap; gap: 0 1rem; }
	/* min-height gilt nicht je Zeile: Ohne Polster rutscht das Logo beim Öffnen des Menüs an den Rand. */
	.h-kopf .h-logo { padding-block: 10px; }
	.h-logo img { width: 180px; }
	.js .h-menueknopf { display: inline-flex; }
	.h-nav { flex-basis: 100%; }
	.js .h-nav { display: none; }
	.js .h-nav.ist-offen { display: block; }
	.h-nav__liste { display: block; padding-bottom: .75rem; border-top: 1px solid var(--linie); }
	.h-nav__punkt { flex-wrap: wrap; border-bottom: 1px solid var(--linie); }
	.h-nav__liste > .h-nav__punkt > a { flex: 1 1 auto; min-height: 50px; padding-inline: 0; box-shadow: none !important; }
	.h-nav__liste > .h-nav__punkt.ist-aktuell > a { color: var(--rot-dunkel); }
	.h-nav__auf { width: 50px; height: 50px; margin: 0; }
	.h-nav__punkt--unter.ist-offen > .h-nav__unter { display: block; flex-basis: 100%; padding: 0 0 .6rem .9rem; border-left: 3px solid var(--rot); margin-bottom: .6rem; }
	.h-nav__unter a { display: flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
}

/* ------------------------------------------------------------ Bänder der Startseite */

body .h-band { padding: clamp(3rem, 7vw, 5.25rem) var(--seite); }
body .h-band--eng { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
body .h-band--licht { background: var(--licht); }
body .h-band--dunkel { background: var(--anthrazit); color: #fff; }
body .h-band--rot { background: var(--rot); color: #fff; }
.h-band--dunkel .elementor-heading-title,
.h-band--rot .elementor-heading-title { color: #fff; }
.h-band--dunkel a { color: #fff; }
.h-band--rot a { color: #fff; }

body .h-kante { clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); --k: clamp(48px, 9vw, 130px); }
body .h-kante-klein { clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); --k: 44px; }

body .h-marker .elementor-heading-title::before,
body .h-marker.elementor-heading-title::before { content: ""; display: block; width: 60px; height: 18px; margin-bottom: .85rem; background: var(--dachstriche) left center / contain no-repeat; }
body .h-marker--weiss .elementor-heading-title::before { background-image: var(--dachstriche-weiss); }
body .elementor-widget-heading.h-marker { margin-bottom: 1.5rem; }

.h-ueberzeile { margin: 0 0 .9rem; font-family: var(--schrift-kopf); font-size: 1rem; font-weight: 600; color: var(--text-2); }
.h-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.5; color: var(--text); }
.h-band--dunkel .h-lead { color: #fff; }
.h-klein { font-size: .94rem; line-height: 1.5; color: var(--text-2); }
.h-band--rot .h-klein { color: #fff; margin-top: 1.5rem; max-width: 60rem; }

/* Einstieg */
body .h-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; padding-left: var(--seite); }
body .h-hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5rem) 0; }
.h-hero__text .elementor-heading-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; }
.h-hero__text .elementor-widget-heading { margin-bottom: 1.1rem; }
.h-hero__text .h-knoepfe { margin-top: 1.75rem; }
body .h-hero__bild { --k: clamp(56px, 10vw, 150px); clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); min-height: 100%; }
body .h-hero__bild img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }

/* Was steht an: Linienliste */
.elementor-widget-text-editor .h-linkliste { margin: 1.25rem 0 0; }
.h-linkliste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.25rem; }
.h-linkliste a { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; height: 100%; min-height: 84px; padding: .9rem 0 1rem; color: var(--text); font-family: var(--schrift-kopf); font-size: 1.14rem; font-weight: 700; line-height: 1.22; text-decoration: none; border-top: 3px solid var(--anthrazit); }
.h-linkliste a::after { content: "→" / ""; color: var(--rot); font-weight: 700; }
.h-linkliste a:hover { color: var(--rot-dunkel); border-top-color: var(--rot); text-decoration: underline; }

/* Partner */
/* Logoband: von sich aus eine feste Logozeile, mit Skript und ohne den Wunsch nach weniger Bewegung ein Laufband (hoering.js). */
body .h-partner.e-flex { --flex-direction: row; }
body .h-partner { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; gap: 1.25rem clamp(2rem, 5vw, 4rem); padding: 1.25rem var(--seite); border-block: 1px solid var(--linie); }
body .h-partner .h-partner__logo { flex: none; width: auto; max-width: none; }
.h-partner__logo a { display: block; }
body .h-partner__logo img { display: block; width: auto; height: clamp(44px, 5vw, 60px); max-width: none; }
body .h-partner__logo--breit img { height: clamp(34px, 3.6vw, 44px); }
@media (prefers-reduced-motion: no-preference) {
	/* Das Band läuft über die ganze Breite. */
	.js body .h-partner { position: relative; flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; padding-inline: 0; }
}
.h-partner__fenster { --abstand: clamp(2.5rem, 6vw, 5rem); flex: 1 1 0; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.h-partner__spur { flex: none; min-width: 100%; display: flex; align-items: center; justify-content: space-around; gap: var(--abstand); padding-inline: calc(var(--abstand) / 2); animation: h-laufband var(--dauer, 40s) linear infinite; }
.h-partner:hover .h-partner__spur,
.h-partner:focus-within .h-partner__spur,
.h-partner.ist-angehalten .h-partner__spur { animation-play-state: paused; }
/* Liegt der Fokus auf einem Logo, steht die Spur in Grundstellung. Nur so kann der Browser das Logo sichtbar machen. */
.h-partner.hat-fokus .h-partner__spur { animation: none; }
.h-partner.hat-fokus .h-partner__fenster { -webkit-mask-image: none; mask-image: none; }
.h-partner__spur a:focus-visible { outline-offset: -3px; }
@keyframes h-laufband { to { transform: translateX(-100%); } }
/* Der Knopf bleibt für Tastatur und Vorlesen (WCAG 2.2.2), zu sehen ist er nur beim Tabben. Mit Maus oder Finger hält Darüberfahren oder Antippen das Band an. */
body .h-partner__knopf { position: absolute; z-index: 2; top: 50%; right: .75rem; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: var(--anthrazit); border: 2px solid var(--anthrazit); border-radius: 0; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(-50%); }
body .h-partner__knopf:focus-visible { opacity: 1; pointer-events: auto; }
.h-partner__knopf svg { display: block; width: 16px; height: 16px; fill: currentColor; }

/* Zahlen */
.h-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 3rem); }
.h-zahlen > div { border-top: 2px solid #fff; padding-top: .9rem; }
.h-zahlen p { margin: 0; }
.h-zahlen .h-zahl { font-family: var(--schrift-kopf); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: .5rem; white-space: nowrap; }

/* Zusagen */
.h-zusagen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
.h-zusagen li { border-top: 3px solid var(--anthrazit); padding-top: .85rem; color: var(--text-2); line-height: 1.45; }
.h-zusagen li::before { content: none; }
.h-zusagen strong { display: block; margin-bottom: .35rem; font-family: var(--schrift-kopf); font-size: 1.14rem; color: var(--text); }

/* Vorher und nachher */
.h-band--dunkel .elementor-widget-heading:not(.h-marker) .elementor-heading-title { color: #fff; }
body .h-vorher { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.h-vorher__spalte .elementor-widget-heading { margin-bottom: .6rem; }
.h-vorher__spalte .elementor-widget-image + .elementor-widget-heading { margin-top: 1.5rem; }
.h-vorher__spalte .h-galerie { margin-top: .75rem; }
.h-vorher__spalte .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Zwei Spalten */
body .h-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
body .h-zwei--oben { align-items: start; }
.h-spalte .elementor-widget-text-editor { max-width: 40rem; }
body .h-qr-bild img { width: 240px; height: auto; margin-inline: auto; }
body .h-foto img { width: 100%; height: auto; }

/* Streifen Stellen */
body .h-streifen { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: center; border-top: 1px solid var(--linie); }
.h-streifen .elementor-widget-heading { grid-column: 1; }
.h-streifen .elementor-widget-text-editor { grid-column: 1; margin-top: .5rem; }
.h-streifen .elementor-widget-button { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }

/* ------------------------------------------------------------ Fachseiten */

body .h-seitenkopf { background: var(--licht); padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--seite) clamp(2rem, 4.5vw, 3.5rem); }
body .h-seitenkopf--bild { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.h-seitenkopf .elementor-widget-heading { margin-bottom: 1rem; }
.h-seitenkopf .h-lead { max-width: 44rem; }
body .h-seitenkopf__bild { --k: 44px; background: #fff; clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); }
body .h-seitenkopf__bild img { width: 100%; height: clamp(190px, 25vw, 320px); object-fit: contain; }

.h-pfad { margin-bottom: 1.1rem; font-size: .92rem; line-height: 1.4; color: var(--text-2); }
.h-pfad ol { display: flex; flex-wrap: wrap; gap: .1rem .45rem; list-style: none; margin: 0; padding: 0; }
.h-pfad li { display: inline-flex; align-items: center; gap: .45rem; }
.h-pfad li + li::before { content: "/" / ""; color: var(--text-2); }
.h-pfad a { display: inline-block; padding-block: .15rem; color: var(--text-2); }
.h-pfad a:hover { color: var(--rot-dunkel); }

body .h-fach { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(2rem, 4vw, 3.5rem) var(--seite) clamp(3rem, 6vw, 5rem); }
body .h-fach--voll { grid-template-columns: minmax(0, 52rem); }
body .h-fach--kontakt { grid-template-columns: 300px minmax(0, 1fr); }

/* Fließtext der Fachseiten */
.h-haupt { min-width: 0; }
.h-haupt > .elementor-widget-heading { margin-top: 2.5rem; margin-bottom: .75rem; }
.h-haupt > .elementor-widget-heading:first-child { margin-top: 0; }
.h-haupt > .elementor-widget-heading:has(h2) { padding-top: 1.1rem; border-top: 1px solid var(--linie); }
.h-haupt > .elementor-widget-heading:first-child:has(h2) { padding-top: 0; border-top: 0; }
.h-haupt > .elementor-widget-text-editor { margin-bottom: 1rem; }
.h-haupt > .elementor-widget-text-editor:last-child { margin-bottom: 0; }
.h-haupt > .elementor-widget-image { margin-block: 1rem 1.5rem; }
.h-haupt > .h-galerie, .h-haupt > .h-karten, .h-haupt > .h-video { margin-block: 1.25rem 1.5rem; }

.elementor-widget-text-editor ul { list-style: none; margin: 0 0 1em; padding: 0; }
.elementor-widget-text-editor ul:last-child { margin-bottom: 0; }
.elementor-widget-text-editor ul:not([class]) li { position: relative; padding-left: 1.45em; margin-bottom: .4em; }
.elementor-widget-text-editor ul:not([class]) li::before { content: ""; position: absolute; left: .1em; top: .72em; width: .85em; height: .16em; background: var(--rot); transform: rotate(-35deg); }

body .h-bild img { max-width: 100%; width: auto; }
body .h-bild--logo img { max-height: 90px; width: auto; }

/* Tabellen */
.h-tabelle { overflow-x: auto; margin: 1.25rem 0; }
.h-tabelle:first-child { margin-top: 0; }
.h-tabelle table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.h-tabelle th, .h-tabelle td { padding: .7rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.h-tabelle thead th { background: var(--anthrazit); color: #fff; font-family: var(--schrift-kopf); font-weight: 700; border-bottom: 0; }
.h-tabelle tbody th { font-weight: 700; }
.h-tabelle:focus-visible { outline-offset: 4px; }

/* Technische Werte */
.h-technik { margin: 1.25rem 0; border-top: 3px solid var(--anthrazit); }
.h-technik > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .15rem 1.25rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.h-technik dt { color: var(--text-2); }
.h-technik dd { margin: 0; font-weight: 700; }

/* Hinweiskasten */
body .h-hinweis { --k: 22px; margin-block: 1.25rem 1.75rem; padding: 1.1rem 1.35rem 1.25rem; background: var(--licht); border-left: 4px solid var(--rot); clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); }
.h-hinweis__titel { margin-bottom: .4rem; font-family: var(--schrift-kopf); font-size: 1.15rem; font-weight: 800; line-height: 1.25; }

/* Bilderreihen */
.h-galerie .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .75rem; margin: 0; }
.h-galerie .gallery-item { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; float: none; text-align: left; }
.h-galerie .gallery-icon { display: block; background: #fff; border: 1px solid var(--linie); }
.h-galerie .gallery-icon a { display: block; }
.h-galerie .gallery-icon img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border: 0 !important; }
.h-galerie--foto .gallery-icon { border: 0; background: var(--licht); }
.h-galerie--foto .gallery-icon img { object-fit: cover; }
.h-galerie--muster .gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.h-galerie--muster .gallery-icon img { aspect-ratio: 1; object-fit: cover; }
.h-galerie .gallery-caption { margin-top: .35rem; padding: 0; font-size: .92rem; line-height: 1.3; color: var(--text-2); }

/* Karten: Linie oben, Foto, Titel. Die ganze Karte ist anklickbar. */
body .h-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1.75rem 1.25rem; }
.h-band .h-karten { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2.25rem 1.5rem; }
.h-karte .elementor-image-box-wrapper { position: relative; display: block; text-align: left; height: 100%; }
body .h-karte .elementor-image-box-img { display: block; width: 100% !important; margin: 0 0 .8rem !important; background: #fff; border: 1px solid var(--linie); }
body .h-karte .elementor-image-box-img a { display: block; }
.h-karte .elementor-image-box-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.h-karten--foto .elementor-image-box-img { border: 0 !important; background: var(--licht) !important; }
.h-karten--foto .elementor-image-box-img img { object-fit: cover; }
.h-karte .elementor-image-box-title { margin: 0 0 .3rem; font-family: var(--schrift-kopf); font-size: 1.14rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.h-karte .elementor-image-box-title a { color: inherit; text-decoration: none; }
.h-karte .elementor-image-box-title a::after { content: ""; position: absolute; inset: 0; }
.h-karte:hover .elementor-image-box-title a { color: var(--rot-dunkel); text-decoration: underline; }
.h-karte:hover .elementor-image-box-img { border-color: var(--anthrazit); }
.h-karte .elementor-image-box-title a:focus-visible { outline: none; }
.h-karte .elementor-image-box-title a:focus-visible::after { outline: 3px solid var(--rot-dunkel); outline-offset: 3px; }
.h-karte .elementor-image-box-description { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.45; }

/* Video */
.h-video .elementor-widget-video { margin-bottom: .6rem; background: var(--licht); }

/* Seitenleiste */
.h-leiste { min-width: 0; font-size: 1rem; line-height: 1.45; }
.h-leistenblock { margin-bottom: 2rem; padding-top: .9rem; border-top: 3px solid var(--anthrazit); }
.h-leistenblock:last-child { margin-bottom: 0; }
.h-leistenblock h2 { margin-bottom: .75rem; font-size: 1.14rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.h-leiste__name { margin-bottom: .6rem; font-weight: 700; }
.h-leiste .h-knopf { width: 100%; padding-inline: .75rem; }
.h-leiste__wege { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; margin-top: .75rem; }
.h-leiste__wege a { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; }
.h-nachbarn ul { list-style: none; margin: 0; padding: 0; }
.h-nachbarn li { border-bottom: 1px solid var(--linie); }
.h-nachbarn li a { display: block; padding: .5rem 0; color: var(--text); text-decoration: none; }
.h-nachbarn li a:hover { color: var(--rot-dunkel); text-decoration: underline; }
.h-nachbarn a[aria-current="page"] { color: var(--rot-dunkel); font-weight: 700; }
.h-nachbarn__zurueck { margin-top: .75rem; }
.h-adresse { margin-bottom: .75rem; }
.h-wege { list-style: none; margin: 0; padding: 0; }
.h-wege li { padding-block: .15rem; }
.h-wege a { display: inline-block; padding-block: .15rem; }
.h-qr { display: block; width: 180px; height: auto; margin-top: 1rem; border: 1px solid var(--linie); }

/* ------------------------------------------------------------ Formular */

.h-form { position: relative; margin-top: 1rem; }
.h-form__reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.h-form .h-form__feld { margin: 0 0 1rem; }
.h-form label { display: block; margin-bottom: .3rem; font-family: var(--schrift-kopf); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.h-form input[type="text"], .h-form input[type="tel"], .h-form input[type="email"], .h-form select, .h-form textarea {
	display: block; width: 100%; min-height: 50px; padding: .6rem .8rem; background: #fff; color: var(--text); border: 1px solid var(--feldrand); border-radius: 0; font-size: 1.06rem; line-height: 1.4; appearance: none;
}
.h-form select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333383C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 20px; }
.h-form textarea { min-height: 150px; resize: vertical; }
.h-form input:focus, .h-form select:focus, .h-form textarea:focus { outline: 3px solid var(--rot-dunkel); outline-offset: 0; border-color: var(--rot-dunkel); }
.h-form__hinweis { margin: -.35rem 0 1rem; font-size: .96rem; line-height: 1.4; color: var(--text-2); }
.h-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.h-form__zustimmung { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .1rem .6rem; align-items: start; margin: .5rem 0 1.25rem; }
.h-form__zustimmung input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--rot); }
.h-form__zustimmung label { margin: 0; font-family: var(--schrift-text); font-size: 1rem; font-weight: 400; line-height: 1.45; }
.h-form__meldung { margin-top: 1rem; }
.h-form__meldung:empty { display: none; }
.h-form__meldung.h-form__ok, .h-form__meldung.h-form__err { padding: .75rem 1rem; font-weight: 600; background: var(--licht); }
.h-form__meldung.h-form__ok { border-left: 4px solid #1E7A3C; }
.h-form__meldung.h-form__err { border-left: 4px solid var(--rot); }

/* ------------------------------------------------------------ Häufige Fragen */

.h-fragen { margin-top: .5rem; border-top: 1px solid var(--linie); }
.h-fragen details { border-bottom: 1px solid var(--linie); }
.h-fragen summary { position: relative; display: block; min-height: 48px; padding: .85rem 2.75rem .85rem 0; font-family: var(--schrift-kopf); font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--text); cursor: pointer; }
.h-fragen summary::-webkit-details-marker { display: none; }
.h-fragen summary::after { content: ""; position: absolute; top: .85rem; right: .25rem; width: 24px; height: 24px; background: linear-gradient(var(--rot-dunkel), var(--rot-dunkel)) center / 16px 3px no-repeat, linear-gradient(var(--rot-dunkel), var(--rot-dunkel)) center / 3px 16px no-repeat; }
.h-fragen details[open] summary::after { background: linear-gradient(var(--rot-dunkel), var(--rot-dunkel)) center / 16px 3px no-repeat; }
.h-fragen summary:hover { color: var(--rot-dunkel); }
.h-fragen summary:focus-visible { outline: 3px solid var(--rot-dunkel); outline-offset: 2px; }
.h-fragen__antwort { padding: 0 2.75rem 1.1rem 0; }
.h-band--licht .h-fragen, .h-band--licht .h-fragen details { border-color: var(--feldrand); }
@media (forced-colors: active) {
	.h-fragen summary { display: list-item; padding-right: 0; }
	.h-fragen summary::after { display: none; }
}

/* ------------------------------------------------------------ Geführte Anfrage */

.h-assist { max-width: 50rem; }
.h-assist__balken { display: none; }
.h-assist--gefuehrt .h-assist__balken { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 1.25rem; }
.h-assist__balken[hidden] { display: none; }
.h-assist__balken span { height: 6px; background: var(--linie); }
.h-assist__balken span.ist-aktiv { background: var(--rot); }
.h-assist__schritt + .h-assist__schritt { margin-top: 2.5rem; padding-top: 2rem; border-top: 3px solid var(--anthrazit); }
.h-assist--gefuehrt .h-assist__schritt + .h-assist__schritt { margin-top: 0; padding-top: 0; border-top: 0; }
.h-assist__schritt h3 { margin: 0 0 1rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.2; }
.h-assist__schritt h3:focus, .h-assist__danke h3:focus { outline: none; }
.h-assist__stand { display: block; margin-bottom: .25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.h-assist__hilfe { margin: 0 0 1.25rem; color: var(--text-2); }
.h-assist__nurleser { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.h-assist__frage { min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.h-assist__frage legend:not(.h-assist__nurleser) { padding: 0; margin-bottom: .55rem; font-family: var(--schrift-kopf); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.h-assist__gruppe { margin: 1.25rem 0 .5rem; font-family: var(--schrift-kopf); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.h-assist__gruppe:first-of-type { margin-top: 0; }
.h-assist__wahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: .5rem; }
.h-form .h-assist__wahl { display: flex; align-items: flex-start; gap: .65rem; min-height: 50px; margin: 0; padding: .7rem .8rem; background: #fff; border: 1px solid var(--feldrand); font-family: var(--schrift-text); font-size: 1.03rem; font-weight: 400; line-height: 1.3; cursor: pointer; }
.h-form .h-assist__wahl:hover { border-color: var(--anthrazit); background: var(--licht); }
.h-form .h-assist__wahl:has(input:checked), .h-form .h-assist__wahl.ist-gewaehlt { background: var(--licht); border-color: var(--rot-dunkel); box-shadow: inset 0 0 0 1px var(--rot-dunkel); }
.h-form .h-assist__wahl:focus-within { outline: 3px solid var(--rot-dunkel); outline-offset: 2px; }
.h-form .h-assist__wahl input { flex: none; width: 22px; height: 22px; margin: .02rem 0 0; accent-color: var(--rot-dunkel); outline: none; }
.h-form .h-assist__wahl--gross span { font-family: var(--schrift-kopf); font-weight: 700; }
.h-form .h-assist__wahl small { display: block; margin-top: .15rem; font-family: var(--schrift-text); font-size: .95rem; font-weight: 400; line-height: 1.3; color: var(--text-2); }
.h-assist__kurzweg { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie); }
.h-assist__mitskript { display: none; }
.h-assist--gefuehrt .h-assist__mitskript { display: inline; }
.h-assist__textknopf { display: inline; min-height: 24px; padding: 0; background: none; border: 0; color: var(--rot-dunkel); font: inherit; text-align: left; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.h-assist__textknopf:hover { text-decoration-thickness: 2px; }
.h-assist__block { margin-bottom: 1.5rem; }
.h-assist__block[hidden] { display: none; }
.h-assist__fotos { margin: 0 0 1.5rem; }
.h-assist__fototitel { margin: 0 0 .3rem; font-family: var(--schrift-kopf); font-size: 1.05rem; font-weight: 700; }
.h-assist__fotos .h-assist__hilfe { margin-bottom: .75rem; }
.h-form .h-assist__dateiwahl { display: block; margin: 0; font-family: var(--schrift-text); font-weight: 400; }
.h-assist__dateiwahl span { display: none; }
.h-assist--gefuehrt .h-assist__dateiwahl { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.5rem; background: #fff; box-shadow: inset 0 0 0 2px var(--anthrazit); color: var(--text); font-family: var(--schrift-kopf); font-weight: 700; cursor: pointer; }
.h-assist--gefuehrt .h-assist__dateiwahl:hover { background: var(--licht); }
.h-assist--gefuehrt .h-assist__dateiwahl:focus-within { outline: 3px solid var(--rot-dunkel); outline-offset: 2px; }
.h-assist--gefuehrt .h-assist__dateiwahl span { display: inline; }
.h-assist--gefuehrt .h-assist__dateiwahl input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.h-assist__vorschau { display: flex; flex-wrap: wrap; gap: .75rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.h-assist__vorschau[hidden] { display: none; }
.h-assist__vorschau li { width: 140px; margin: 0; padding: 0; }
.h-assist__vorschau li::before { content: none; }
.h-assist__vorschau img { display: block; width: 140px; height: 105px; margin-bottom: .3rem; object-fit: cover; border: 1px solid var(--linie); }
.h-assist__vorschau .h-assist__textknopf { font-size: .95rem; line-height: 1.3; }
.h-assist__fotostand { margin: .6rem 0 0; font-size: 1rem; color: var(--text-2); }
.h-assist__fotostand:empty { display: none; }
.h-assist__pflicht { font-family: var(--schrift-text); font-weight: 400; color: var(--text-2); }
.h-assist[data-modus="rueckruf"] .h-assist__balken, .h-assist[data-modus="rueckruf"] .h-assist__stand { display: none; }
.h-assist__nurrueckruf { display: none; }
.h-assist[data-modus="rueckruf"] span.h-assist__nurrueckruf { display: inline; }
.h-assist[data-modus="rueckruf"] p.h-assist__nurrueckruf { display: block; }
.h-assist[data-modus="rueckruf"] .h-assist__nurassistent { display: none; }
.h-assist__fehler { display: block; margin: -.45rem 0 1rem; padding-left: .6rem; border-left: 4px solid var(--rot); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--rot-dunkel); }
.h-assist__frage + .h-assist__fehler { margin-top: -1rem; }
.h-form__feld .h-assist__fehler { margin: .4rem 0 0; }
.h-assist__meldung:empty { display: none; }
.h-assist__meldung { margin-bottom: 1rem; padding: .75rem 1rem; background: var(--licht); border-left: 4px solid var(--rot); font-weight: 600; }
.h-form [aria-invalid="true"] { border-color: var(--rot-dunkel); }
.h-assist__nav { display: none; }
.h-assist--gefuehrt .h-assist__nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.h-assist--gefuehrt .h-assist__nav [data-aktion="weiter"] { margin-left: auto; min-width: 9rem; }
.h-assist__nav [hidden] { display: none; }
.h-assist__senden { margin-top: .25rem; }
.h-assist__senden:disabled { opacity: .7; cursor: progress; }
.h-assist__danke { padding: 1.5rem 1.6rem 1.6rem; background: var(--licht); border-left: 4px solid var(--rot); }
.h-assist__danke[hidden] { display: none; }
.h-assist__danke h3 { margin: 0 0 .6rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.2; }

/* ------------------------------------------------------------ Schluss und Fuß */

.h-abschluss { --k: clamp(48px, 9vw, 130px); background: var(--anthrazit); color: #fff; clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% calc(var(--k) * .7), 100% 100%, 0 100%); }
.h-abschluss__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.h-abschluss h2 { margin-bottom: .4rem; color: #fff; }
.h-abschluss p { margin: 0; }
.h-abschluss__wege { display: flex; flex-wrap: wrap; gap: .75rem; }
.h-abschluss .h-knopf--linie { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.h-abschluss .h-knopf--linie:hover, .h-abschluss .h-knopf--linie:focus-visible { background: #fff; color: var(--text); }
.h-abschluss .h-knopf--linie:focus-visible { outline-color: #fff; }

.h-fuss { background: var(--anthrazit-dunkel); color: #fff; font-size: 1rem; line-height: 1.5; }
.h-fuss a { color: #fff; }
.h-fuss a:hover { color: #fff; text-decoration-thickness: 2px; }
.h-fuss a:focus-visible { outline-color: #fff; }
.h-fuss__raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); gap: 2.25rem clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.5rem, 5vw, 3.75rem) 2rem; }
.h-fuss__firma p { margin-top: 1rem; }
.h-fuss__titel { margin-bottom: .75rem; color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.h-fuss__liste { list-style: none; margin: 0; padding: 0; }
.h-fuss__liste a { display: inline-block; padding-block: .22rem; text-decoration: none; }
.h-fuss__liste a:hover { text-decoration: underline; }
.h-fuss .h-wege a { color: #fff; }
.h-fuss__ende { padding-block: 1rem 1.5rem; }
.h-fuss__ende p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .94rem; }
.h-fuss__ende a { display: inline-block; padding-block: .15rem; text-decoration: underline; text-underline-offset: .18em; }

.h-aktion { display: none; }

.h-fehler__wege { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------ Schmalere Bildschirme */

@media (max-width: 1099.98px) {
	.h-linkliste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h-zusagen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h-fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899.98px) {
	body .h-hero { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
	body .h-hero__text { padding: 2.25rem var(--rand) 2rem; }
	body .h-hero__bild img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
	body .h-fach, body .h-fach--voll, body .h-fach--kontakt { grid-template-columns: minmax(0, 1fr); }
	body .h-seitenkopf--bild { grid-template-columns: minmax(0, 1fr); }
	body .h-seitenkopf__bild img { height: auto; max-height: 300px; }
	body .h-zwei { grid-template-columns: minmax(0, 1fr); }
	body .h-zwei--umgekehrt > .h-spalte { order: 2; }
	body .h-vorher { grid-template-columns: minmax(0, 1fr); }
	.h-zahlen { grid-template-columns: minmax(0, 1fr); }
	.h-zahlen .h-zahl { font-size: clamp(2.5rem, 12vw, 4rem); }
}

@media (min-width: 600px) and (max-width: 899.98px) {
	.h-fach--kontakt .h-leiste .elementor-shortcode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
	.h-fach--kontakt .h-leistenblock { margin-bottom: 0; }
}

@media (max-width: 767.98px) {
	body { padding-bottom: 66px; }
	/* Der QR-Code nützt nichts auf dem Gerät, das ihn lesen müsste. */
	.h-qr { display: none; }
	.h-aktion { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--linie); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 12px rgba(38, 42, 45, .1); }
	.h-aktion a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 60px; color: var(--text); font-family: var(--schrift-kopf); font-size: .9rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
	.h-aktion--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-aktion a + a { border-left: 1px solid var(--linie); }
	.h-aktion a:first-child { background: var(--rot); color: #fff; }
	.h-aktion a:focus-visible { outline-offset: -4px; }
	.h-aktion a:first-child:focus-visible { outline-color: #fff; }
	.h-notdienst__wege a:last-child { display: none; }
	.h-linkliste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h-zusagen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .h-streifen { grid-template-columns: minmax(0, 1fr); }
	.h-streifen .elementor-widget-button { grid-column: 1; grid-row: auto; margin-top: 1.25rem; }
	.h-form__reihe { grid-template-columns: minmax(0, 1fr); }
	.h-technik > div { grid-template-columns: minmax(0, 1fr); }
	.h-fuss__raster { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 459.98px) {
	.h-linkliste, .h-zusagen { grid-template-columns: minmax(0, 1fr); }
	.h-linkliste a { min-height: 0; }
	.h-notdienst__text strong { display: inline; }
	body .elementor-widget-button .elementor-button, .h-knopf { width: 100%; }
	body .h-knoepfe, body .h-knoepfe > .elementor-widget { width: 100%; }
	body .elementor-widget-button { width: 100%; }
	.h-abschluss__wege { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
	.h-partner__spur { animation: none; }
}

@media print {
	.h-notdienst, .h-aktion, .h-nav, .h-menueknopf, .h-leiste, .h-abschluss, .h-sprung, .h-partner__knopf, .h-partner__spur[aria-hidden] { display: none !important; }
	.h-partner__spur { animation: none; flex-wrap: wrap; }
	.h-partner__fenster { -webkit-mask-image: none; mask-image: none; }
	body { padding: 0; font-size: 11pt; }
}
