/**
 * HADE Rohrleitungsbau — Design (1:1 nach hade-noh.de, Stand 09/2026)
 *
 * Breakpoints wie bisher: Tablet 768–1024 px, Smartphone bis 767 px.
 */

:root {
	--hr-cyan: #00abdd;
	--hr-navy: #001c4b;
	--hr-dark: #333;
	--hr-body: #334155;
	--hr-ink: #1e293b;
	--hr-grey: #f3f3f3;
	--hr-white: #fff;
	--hr-font: 'Kanit', sans-serif;
	--hr-font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	--kph-lime: var(--hr-cyan);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 112px;
}

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--hr-white);
	color: var(--hr-body);
	font-family: var(--hr-font-system);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.site-main {
	flex: 1 0 auto;
}

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

a {
	color: var(--hr-cyan);
}

:focus-visible {
	outline: 2px solid var(--hr-cyan);
	outline-offset: 2px;
}

.hr-wrap {
	max-width: 1200px;
	margin: 0 auto;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 16px 48px;
	background: var(--hr-white);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 1280px;
	min-height: 80px;
	margin: 0 auto;
}

.site-branding {
	flex: 0 0 30%;
	width: 30%;
	line-height: 0;
}

.site-branding .custom-logo-link {
	display: inline-block;
	max-width: 75%;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	height: 70px;
}

.site-header__nav {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.primary-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 13px 0;
	font-family: var(--hr-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	color: var(--hr-dark);
	text-decoration: none;
	transition: color 0.3s;
}

.primary-menu > li > a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--hr-cyan);
	opacity: 0;
	transition: opacity 0.3s;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus-visible,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a,
.primary-menu > .current-menu-parent > a,
.primary-menu > .current_page_ancestor > a {
	color: var(--hr-cyan);
}

.primary-menu > li > a:hover::before,
.primary-menu > li > a:focus-visible::before,
.primary-menu > .current-menu-item > a::before,
.primary-menu > .current-menu-ancestor > a::before,
.primary-menu > .current-menu-parent > a::before,
.primary-menu > .current_page_ancestor > a::before {
	opacity: 1;
}

.primary-menu .menu-item-has-children > a::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 10px;
	border-top: 6px solid currentColor;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	display: none;
	min-width: 12em;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--hr-white);
	border-top: 4px solid var(--hr-cyan);
	box-shadow: 0 0 20px rgba(0, 33, 91, 0.13);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 20px 35px;
	font-family: var(--hr-font);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--hr-cyan);
	text-decoration: none;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible,
.primary-menu .sub-menu .current-menu-item > a {
	color: var(--hr-dark);
}

.kph-nav-toggle {
	color: var(--hr-dark);
	font-size: 40px;
}

/* -------------------------------------------------------------------------
 * Bausteine
 * ---------------------------------------------------------------------- */

.hr-kicker {
	margin: 0;
	padding-bottom: 9.2px;
	font-family: var(--hr-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 16.8px;
	text-transform: uppercase;
	color: var(--hr-cyan);
}

.hr-title {
	margin: 0 0 20px;
	font-family: var(--hr-font);
	font-size: 50px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hr-dark);
}

.hr-intro--navy .hr-title {
	color: var(--hr-navy);
}

.hr-text {
	font-family: var(--hr-font);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--hr-dark);
}

.hr-text p {
	margin: 0 0 1.6em;
}

.hr-intro .hr-text {
	margin-right: 1em;
}

.hr-text a {
	color: var(--hr-cyan);
}

.hr-button {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 20px 50px;
	background: var(--hr-cyan);
	border-radius: 0;
	font-family: var(--hr-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
	color: var(--hr-white);
	text-decoration: none;
	transition: transform 0.3s, background-color 0.3s;
}

.hr-button:hover,
.hr-button:focus-visible {
	background: var(--hr-navy);
	color: var(--hr-white);
	transform: scale(1.1);
}

.hr-button__icon {
	display: inline-flex;
	line-height: 0;
}

.hr-button__icon svg {
	width: auto;
	height: 1em;
}

.hr-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--hr-font);
	font-size: 18px;
	font-weight: 300;
	line-height: 26.4px;
	color: var(--hr-body);
}

.hr-text:has(+ .hr-checklist) > :last-child {
	margin-bottom: 0;
}

.hr-checklist li {
	display: flex;
	align-items: center;
	margin: 0 0 5px;
}

.hr-checklist li:last-child {
	margin-bottom: 0;
}

.hr-checklist__icon {
	display: inline-flex;
	width: 14px;
	margin-right: 8px;
	color: var(--hr-cyan);
	line-height: 0;
}

.hr-checklist__icon svg {
	width: 14px;
	height: 14px;
}

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */

.hr-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 800px;
	overflow: hidden;
	background: var(--hr-dark);
}

.hr-hero__slides {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hr-hero__slide {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.5s;
}

.hr-hero__slide.is-active {
	opacity: 1;
	animation: hr-kenburns 5.5s linear forwards;
}

@keyframes hr-kenburns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.3);
	}
}

.hr-hero__band {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 64px 0;
	background: rgba(0, 171, 221, 0.85);
	text-align: center;
}

.hr-hero__title {
	margin: 0;
	padding: 0 20px;
	font-family: var(--hr-font);
	font-size: 70px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 1px;
	color: var(--hr-white);
	-webkit-hyphens: manual;
	hyphens: manual;
}

.hr-hero--lang .hr-hero__title {
	font-size: 60px;
	line-height: 70px;
}

.hr-hero__sub {
	margin: 0 0 15px;
	padding: 0 20px;
	font-family: var(--hr-font);
	font-size: 28px;
	font-weight: 300;
	line-height: 40px;
	letter-spacing: 1px;
	color: var(--hr-white);
}

/* -------------------------------------------------------------------------
 * Text-Abschnitt
 * ---------------------------------------------------------------------- */

.hr-intro {
	padding: 112px 0;
}

.hr-intro--mitte {
	text-align: center;
}

/* -------------------------------------------------------------------------
 * Kacheln
 * ---------------------------------------------------------------------- */

.hr-kacheln {
	display: flex;
}

.hr-kachel {
	position: relative;
	flex: 1 1 50%;
	padding: 100px;
	background-color: var(--hr-cyan);
	background-position: center center;
	background-size: cover;
}

.hr-kachel::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.8;
}

.hr-kachel--navy::before {
	background: var(--hr-navy);
}

.hr-kachel--cyan::before {
	background: var(--hr-cyan);
}

.hr-kachel__inner {
	position: relative;
}

.hr-kachel__title,
.hr-bildtext__title {
	margin: 0 0 20px;
	font-family: var(--hr-font);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hr-white);
}

.hr-kachel__text,
.hr-bildtext__body {
	margin-right: 1em;
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--hr-white);
}

.hr-kachel__text p,
.hr-bildtext__body p {
	margin: 0 0 1.6em;
}

/* -------------------------------------------------------------------------
 * Bild + Text
 * ---------------------------------------------------------------------- */

.hr-bildtext {
	max-width: 1200px;
	margin: 0 auto;
}

.hr-bildtext__row {
	display: flex;
}

.hr-bildtext__row--bild-links {
	flex-direction: row-reverse;
}

.hr-bildtext__text {
	flex: 0 0 50%;
	padding: 80px;
	background: var(--hr-cyan);
}

.hr-bildtext__bild {
	flex: 0 0 50%;
	line-height: 0;
}

.hr-bildtext__bild img {
	display: block;
	width: 100%;
	height: 600px;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
 * Zähler
 * ---------------------------------------------------------------------- */

.hr-zaehler {
	padding: 100px;
}

.hr-zaehler__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 200px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px;
}

.hr-zaehler__item {
	text-align: center;
}

.hr-zaehler__number {
	font-family: var(--hr-font);
	font-size: 69px;
	font-weight: 600;
	line-height: 1;
	color: var(--hr-cyan);
}

.hr-zaehler__text {
	font-family: var(--hr-font);
	font-size: 19px;
	font-weight: 400;
	line-height: 2.5;
	color: var(--hr-navy);
}

/* -------------------------------------------------------------------------
 * Referenzen
 * ---------------------------------------------------------------------- */

.hr-refs__head {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 0 50px;
	text-align: center;
}

.hr-refs--raster .hr-refs__head {
	padding: 100px 50px 50px;
	box-sizing: content-box;
}

.hr-refs__button {
	padding: 50px 0 100px;
	text-align: center;
}

.hr-ref-tile {
	position: relative;
	display: block;
	height: 500px;
	overflow: hidden;
	color: var(--hr-white);
	text-decoration: none;
}

.hr-ref-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hr-ref-tile__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 33, 91, 0.83);
	transform: translateX(-100%);
	transition: transform 0.5s;
}

.hr-ref-tile:hover .hr-ref-tile__overlay,
.hr-ref-tile:focus-visible .hr-ref-tile__overlay {
	transform: none;
}

.hr-ref-tile__title {
	font-family: var(--hr-font);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	color: var(--hr-white);
}

.hr-refs__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	padding: 16px 0;
}

.hr-slider {
	position: relative;
}

.hr-slider__track {
	display: flex;
	gap: 15px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.hr-slider__track::-webkit-scrollbar {
	display: none;
}

.hr-slider__slide {
	flex: 0 0 calc((100% - 15px) / 2);
	scroll-snap-align: start;
}

.hr-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: var(--hr-cyan);
	cursor: pointer;
}

.hr-slider__arrow svg {
	width: auto;
	height: 25px;
}

.hr-slider__arrow--prev {
	left: 10px;
}

.hr-slider__arrow--next {
	right: 10px;
}

.hr-slider.is-start .hr-slider__arrow--prev,
.hr-slider.is-end .hr-slider__arrow--next {
	opacity: 0.35;
}

.hr-slider__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: rgba(0, 171, 221, 0.25);
}

.hr-slider__progress span {
	display: block;
	width: 50%;
	height: 100%;
	background: var(--hr-cyan);
	transition: width 0.3s;
}

/* -------------------------------------------------------------------------
 * Team
 * ---------------------------------------------------------------------- */

.hr-team {
	position: relative;
	padding: 112px 0;
	background-color: var(--hr-white);
	background-position: center center;
	background-size: cover;
	text-align: center;
}

.hr-team::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--hr-white);
	opacity: 0.8;
}

.hr-team .hr-wrap {
	position: relative;
}

.hr-team__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 10px;
}

.hr-person {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px;
}

.hr-person__bild {
	line-height: 0;
}

.hr-person__bild img {
	display: block;
	width: 100%;
	height: 350px;
	object-fit: cover;
	border-top: 2px solid var(--hr-dark);
}

.hr-person__name {
	margin: 0;
	font-family: var(--hr-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--hr-dark);
}

.hr-person__rolle {
	margin: 0;
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.2;
	color: var(--hr-cyan);
}

/* -------------------------------------------------------------------------
 * Akkordeon
 * ---------------------------------------------------------------------- */

.hr-akkordeon {
	padding: 112px 0;
	background: var(--hr-cyan);
}

.hr-akkordeon .hr-wrap {
	padding: 30px;
}

.hr-akkordeon__title {
	margin: 0 0 40px;
	font-family: var(--hr-font);
	font-size: 50px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hr-white);
}

.hr-toggle__item {
	background: var(--hr-white);
}

.hr-toggle__head {
	margin: 0;
}

.hr-toggle__button {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 25px 50px;
	border: 0;
	border-bottom: 1px solid #d5d8dc;
	background: var(--hr-white);
	font-family: var(--hr-font-system);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hr-body);
	text-align: left;
	cursor: pointer;
	min-height: 74px;
}

.hr-toggle__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 1em;
	margin-right: 1em;
	line-height: 0;
}

.hr-toggle__icon svg {
	width: 1em;
	height: 1em;
}

.hr-toggle__icon--open,
.hr-toggle__item.is-open .hr-toggle__icon--closed {
	display: none;
}

.hr-toggle__item.is-open .hr-toggle__icon--open {
	display: inline-flex;
}

.hr-toggle__panel {
	padding: 0 50px 25px;
	border-bottom: 1px solid #d5d8dc;
	font-family: var(--hr-font-system);
	font-size: 17px;
	line-height: 1.6;
	color: var(--hr-dark);
}

.hr-toggle__panel p {
	margin: 0 0 1em;
}

/* -------------------------------------------------------------------------
 * Karte, Kontakt, Formular
 * ---------------------------------------------------------------------- */

.hr-karte {
	line-height: 0;
}

.hr-karte iframe,
.hr-karte .kph-consent-ph {
	display: block;
	width: 100%;
	height: 500px;
	border: 0;
}

.hr-karte .kph-consent-ph {
	max-width: none !important;
	line-height: 1.5;
}

.hr-kontakt {
	padding: 112px 0;
}

.hr-kontakt__cols {
	display: flex;
	gap: 20px;
}

.hr-kontakt__tel {
	flex: 0 0 33.25%;
}

.hr-kontakt__adresse {
	flex: 0 0 23.6%;
}

.hr-kontakt__daten {
	flex: 1 1 auto;
}

.hr-kontakt__tel-title {
	margin: 0 0 20px;
	font-family: var(--hr-font);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hr-dark);
}

.hr-kontakt__adresse,
.hr-kontakt__daten {
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 26.4px;
	color: var(--hr-dark);
}

.hr-kontakt__adresse p,
.hr-kontakt__daten p {
	margin: 0 0 1.6em;
}

.hr-formular {
	padding: 112px 0;
	background: var(--hr-grey);
}

/* -------------------------------------------------------------------------
 * Referenz (Einzelseite)
 * ---------------------------------------------------------------------- */

.hr-referenz__band {
	padding: 50px 0;
	background: var(--hr-cyan);
}

.hr-referenz__h1 {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 10px;
	font-family: var(--hr-font);
	font-size: 70px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--hr-white);
}

.hr-referenz__body {
	max-width: 1140px;
	margin: 0 auto;
	padding: 112px 0;
}

.hr-referenz__cols {
	display: flex;
	gap: 20px;
}

.hr-referenz__bild,
.hr-referenz__info {
	flex: 1 1 50%;
	padding: 10px;
}

.hr-referenz__bild img {
	display: block;
	width: 100%;
	height: auto;
}

.hr-referenz__title {
	margin: 0 0 36px;
	font-family: var(--hr-font);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hr-cyan);
}

.hr-referenz__liste {
	margin: 0 0 51px;
	padding-left: 20px;
	font-family: var(--hr-font);
	font-size: 16px;
	line-height: 26.4px;
	color: var(--hr-dark);
}

.hr-referenz__trenner {
	margin: 15px 0 35px;
	border: 0;
	border-top: 1px solid #000;
}

.hr-referenz__details-title {
	margin: 0 0 20px;
	font-family: var(--hr-font);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--hr-dark);
}

.hr-referenz__details {
	margin: 0;
}

.hr-referenz__detail {
	display: flex;
	gap: 20px;
	min-height: 78px;
	margin: 0 0 21px;
}

.hr-referenz__detail dt {
	flex: 1 1 0;
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--hr-cyan);
}

.hr-referenz__detail dd {
	flex: 1 1 0;
	margin: 0;
	font-family: var(--hr-font);
	font-size: 16px;
	line-height: 26.4px;
	color: var(--hr-dark);
}

.hr-referenz__galerie {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 122px;
}

.hr-referenz__body:has(.hr-referenz__galerie) {
	padding-bottom: 10px;
}

.hr-referenz__galerie-item {
	display: block;
	line-height: 0;
}

.hr-referenz__galerie-item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
 * Standardseiten (Impressum, Datenschutz)
 * ---------------------------------------------------------------------- */

.kph-page {
	padding: 0 10px 40px;
}

.kph-page__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px 0;
}

.kph-page__title {
	margin: 0;
	font-family: var(--hr-font);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--hr-dark);
}

.kph-page__content p {
	margin: 0 0 1.6em;
}

.kph-page__content h2,
.kph-page__content h3,
.kph-page__content h4 {
	margin: 0 0 20px;
	font-weight: 600;
	color: var(--hr-ink);
}

.kph-page__content h2 {
	font-size: 28px;
	line-height: 1.3;
}

.kph-page__content h3 {
	font-size: 24px;
	line-height: 1.3;
}

.kph-page__content h4 {
	font-size: 20px;
	line-height: 1.2;
}

.kph-page__content ul {
	margin: 16px 0;
	padding-left: 20px;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.site-footer {
	background: linear-gradient(90deg, var(--hr-dark) 50%, var(--hr-cyan) 50%);
	color: var(--hr-white);
}

.site-footer__inner {
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
}

.site-footer__left {
	flex: 0 0 33.333%;
	padding: 100px 0 50px 10px;
	background: var(--hr-dark);
}

.site-footer__right {
	flex: 0 0 66.667%;
	padding: 112px 0 80px 80px;
	background: var(--hr-cyan);
}

.site-footer__logo {
	display: block;
	width: 50%;
	margin: 0 0 45px;
	line-height: 0;
}

.site-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer__call {
	margin: 0;
	font-family: var(--hr-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	text-transform: uppercase;
}

.site-footer__phone {
	margin: 0 0 80px;
	font-family: var(--hr-font);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.site-footer__phone a,
.site-footer a {
	color: var(--hr-white);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	text-decoration: underline;
}

.site-footer :focus-visible {
	outline-color: var(--hr-white);
}

.site-footer__cols {
	display: flex;
	margin: 0 0 60px;
}

.site-footer__col {
	flex: 1 1 50%;
	padding: 10px;
}

.site-footer__heading {
	margin: 0 0 30px;
	font-family: var(--hr-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--hr-white);
}

.site-footer__text {
	margin: 0 0 40px;
	font-family: 'Lato', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
}

.site-footer__text p {
	margin: 0 0 1.6em;
}

.site-footer__text p:last-child {
	margin-bottom: 0;
}

.site-footer__links {
	margin-top: 3px;
}

.site-footer__links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 5px;
	margin: 0 0 21px;
	padding: 0;
	list-style: none;
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 26.4px;
}

.site-footer__copy {
	margin: 0 0 28px;
	font-family: var(--hr-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 26.4px;
}

.hr-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 31.5px;
	height: 31.5px;
	border-radius: 2px;
	background: #046bd2;
	color: var(--hr-white);
	text-decoration: none;
}

.hr-to-top[hidden] {
	display: none;
}

/* -------------------------------------------------------------------------
 * Tablet (bis 1024 px)
 * ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.site-header {
		padding: 20px 40px;
	}

	.site-branding {
		flex-basis: 50%;
		width: 50%;
	}

	.site-header__nav {
		position: static;
		justify-content: flex-end;
	}

	.site-header .site-navigation {
		position: absolute;
		top: calc(100% + 20px);
		left: -40px;
		right: -40px;
		background: var(--hr-white);
		border-top: 4px solid var(--hr-cyan);
		box-shadow: 0 0 20px rgba(0, 33, 91, 0.13);
	}

	.primary-menu {
		display: block;
	}

	.primary-menu > li > a,
	.primary-menu .sub-menu a {
		display: block;
		padding: 20px 35px;
		font-size: 18px;
		font-weight: 300;
		line-height: 1.2;
		color: var(--hr-cyan);
	}

	.primary-menu > li > a::before {
		display: none;
	}

	.primary-menu > li > a:hover,
	.primary-menu > .current-menu-item > a,
	.primary-menu .sub-menu a:hover {
		color: var(--hr-dark);
	}

	.primary-menu .menu-item-has-children > a::after {
		display: inline-block;
		vertical-align: middle;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
	}

	.primary-menu .sub-menu a {
		padding-left: 55px;
		white-space: normal;
	}

	.hr-hero {
		min-height: 500px;
	}

	.hr-hero__band {
		gap: 10px;
		padding: 40px;
	}

	.hr-hero__title {
		font-size: 45px;
	}

	.hr-hero__sub {
		font-size: 22px;
		line-height: 28px;
	}

	.hr-intro,
	.hr-kontakt,
	.hr-formular,
	.hr-akkordeon,
	.hr-team {
		padding: 60px 30px;
	}

	.hr-intro .hr-title,
	.hr-team .hr-title {
		font-size: 30px;
	}

	.hr-kontakt .hr-title {
		font-size: 35px;
	}

	.hr-kontakt__tel-title {
		font-size: 30px;
	}

	.hr-text {
		font-size: 15px;
	}

	.hr-kacheln,
	.hr-bildtext__row,
	.hr-bildtext__row--bild-links {
		flex-direction: column;
	}

	.hr-kachel {
		padding: 60px;
	}

	.hr-bildtext__text {
		padding: 60px;
	}

	.hr-bildtext__bild img {
		height: 400px;
	}

	.hr-zaehler {
		padding: 60px 30px;
	}

	.hr-zaehler__inner {
		gap: 80px;
	}

	.hr-zaehler__number {
		font-size: 65px;
	}

	.hr-refs__head,
	.hr-refs--raster .hr-refs__head {
		padding: 60px 30px;
	}

	.hr-refs--raster .hr-title {
		font-size: 40px;
	}

	.hr-refs__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hr-team__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hr-person__bild img {
		height: 200px;
	}

	.hr-referenz__h1 {
		font-size: 50px;
	}

	.hr-referenz__body {
		padding: 60px 30px;
	}

	.site-footer__left {
		flex-basis: 40%;
	}

	.site-footer__right {
		flex-basis: 60%;
		padding-left: 40px;
	}

	.site-footer__cols {
		flex-direction: column;
	}
}

/* -------------------------------------------------------------------------
 * Smartphone (bis 767 px)
 * ---------------------------------------------------------------------- */

@media (max-width: 767px) {
	html {
		scroll-padding-top: 80px;
	}

	.site-header {
		padding: 15px 25px;
	}

	.site-header .site-navigation {
		top: calc(100% + 15px);
		left: -25px;
		right: -25px;
	}

	.kph-nav-toggle {
		font-size: 36px;
	}

	.site-branding .custom-logo {
		height: 50px;
	}

	.hr-hero__title {
		font-size: 35px;
	}

	.hr-intro,
	.hr-intro .hr-kicker,
	.hr-refs__head {
		text-align: center;
	}

	.hr-intro .hr-button {
		margin: 0 auto;
	}

	.hr-title,
	.hr-akkordeon__title {
		font-size: 30px;
	}

	.hr-kachel,
	.hr-bildtext__text {
		padding: 50px 25px;
		text-align: center;
	}

	.hr-kachel__title,
	.hr-bildtext__title {
		font-size: 30px;
	}

	.hr-bildtext__bild img {
		height: 300px;
	}

	.hr-zaehler__inner {
		flex-direction: column;
		gap: 30px;
	}

	.hr-slider__slide {
		flex-basis: 100%;
	}

	.hr-ref-tile {
		height: 300px;
	}

	.hr-refs__grid,
	.hr-team__grid {
		grid-template-columns: 1fr;
	}

	.hr-team {
		padding: 50px 25px;
	}

	.hr-person__bild img {
		height: 350px;
	}

	.hr-karte iframe,
	.hr-karte .kph-consent-ph {
		height: 400px;
	}

	.hr-kontakt__cols {
		flex-direction: column;
		text-align: center;
	}

	.hr-kontakt__tel,
	.hr-kontakt__adresse,
	.hr-kontakt__daten {
		flex-basis: auto;
	}

	.hr-referenz__h1 {
		font-size: 30px;
	}

	.hr-referenz__cols {
		flex-direction: column;
	}

	.hr-referenz__galerie {
		grid-template-columns: repeat(2, 1fr);
	}

	.kph-page__title {
		font-size: 30px;
	}

	.site-footer {
		background: var(--hr-dark);
	}

	.site-footer__inner {
		flex-direction: column;
	}

	.site-footer__left,
	.site-footer__right {
		flex-basis: auto;
		padding: 50px 25px;
		text-align: center;
	}

	.site-footer__logo {
		margin-left: auto;
		margin-right: auto;
	}

	.site-footer__phone {
		margin-bottom: 0;
	}

	.site-footer__links ul {
		justify-content: center;
	}

	.hr-to-top {
		right: 20px;
		bottom: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hr-hero__slide.is-active {
		animation: none;
	}

	.hr-button,
	.hr-ref-tile__overlay {
		transition: none;
	}

	.hr-button:hover {
		transform: none;
	}
}

/* Hero mit langem Titel (Ausbildungsseiten) */
@media (max-width: 1024px) {
	.hr-hero--lang .hr-hero__title {
		font-size: 45px;
		line-height: 1.3;
	}
}

@media (max-width: 767px) {
	.hr-hero--lang .hr-hero__title {
		font-size: 40px;
	}
}

/* Platzhalter, solange eine Person noch kein Foto hat */
.hr-person__bild:empty {
	height: 350px;
	background: #e9ecef;
	border-top: 2px solid var(--hr-dark);
}

@media (max-width: 1024px) {
	.hr-person__bild:empty {
		height: 200px;
	}
}
