/*!
Theme Name: erwinhintz
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: erwinhintz
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/


/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
	--hauptfarbe: #0053b6; /* Blau */
	--hauptfarbe-rgb: 0 97 212; /* Blau */
	--hauptfarbe-soft: #dbedff;
	--text: #575e69;
	--border-color: #ddd;
	--surface: #f1f5f6;
	--emergency: #e13a01;
	--emergency-rgb: 225 58 1;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
}
main {
	display: block;
}
h1 {
	font-size: 2em;
}
#page h1 {
	margin: 0.67em 0;
}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
a {
	background-color: transparent;
}
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}
b,
strong {
	font-weight: 600;
}
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 600;
	margin-top: 0; 
}

h1 {
	font-size: 2.25rem;
	line-height: 1.3;
	letter-spacing: -.025em;
}
h2 {
	font-size: 1.55rem;
	line-height: 1.3;
}
h4 {
	margin-bottom: .5rem;
}
@media (min-width: 768px) {
	h1 {
		font-size: 2.5rem;
		line-height: 1.2
	}
	h2 {
		font-size: 1.875rem;
	}
}
@media (min-width: 992px) {
	h1 {
		font-size: 3rem;
		line-height: 1.1
	}
	h2 {
		font-size: 2.125rem;
	}
}
@media (min-width: 1200px) {
	h1 {
		font-size: 3.5rem;
	}
	h2 {
		font-size: 2.25rem;
	}
}

p {
	margin-bottom: 1rem;
	margin-top: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Klassen (Typo) */
.text-primary {
	color: var(--hauptfarbe);
}
.tagline, .kicker {
	display: inline-block;
	color: var(--hauptfarbe);
	padding: 4px 1rem;
	font-size: 0.8125rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .1rem;
	margin-bottom: 1rem !important;
}
.tagline *, .kicker * {
	padding: 0;
	margin: 0;
}
.tagline {
	background: rgb(var(--hauptfarbe-rgb) / 5%);
	border: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
	border-radius: 999px;
}
.kicker {
	padding: 0;
}
.text-lg {
	font-size: 1.125rem;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
	margin: 0 auto;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1rem 1rem;
	padding: 0;
}
ul li::marker {
  color: var(--hauptfarbe);
}
ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1rem;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Buttons
--------------------------------------------- */
#primary .vc_btn3 {
	background: var(--hauptfarbe) !important;
	color: #fff !important;
	border: 1px solid var(--hauptfarbe) !important;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	position: relative;
}
#primary .has-background-emergency .vc_btn3, #primary .has-background-emergency .vc_btn3:hover, #primary .has-background-emergency .vc_btn3:focus,
#primary .has-background-primary .vc_btn3, #primary .has-background-primary .vc_btn3:hover, #primary .has-background-primary .vc_btn3:focus {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--emergency) !important;
}
#primary .has-background-primary .vc_btn3, #primary .has-background-primary .vc_btn3:hover, #primary .has-background-primary .vc_btn3:focus {
	color: var(--hauptfarbe)  !important;	
}
#primary .has-background-emergency .vc_btn3:hover, #primary .has-background-emergency .vc_btn3:focus {
	opacity: .9;
}
#primary .vc_btn3:after, #primary .just-link .vc_btn3:after {
	content:'';
	display: inline-block;
	width: 1em;
	height: 1em;
	background: url("assets/arrow-right-weiss.svg") no-repeat;
	background-size: contain;
	position: relative;
	top: 2px;
	margin-left: 6px;
}
#primary .btn-lg .vc_btn3 {
	font-size: 1.125rem;
}
#primary .btn-emergency .vc_btn3:after, #primary .btn-phone .vc_btn3:after {
	display: none;	
}
#primary .btn-emergency .vc_btn3 {
	background: rgb(var(--emergency-rgb) / 100%) !important;
	color: #fff !important;
	border: 1px solid rgb(var(--emergency-rgb) / 20%) !important;
}
#primary .btn-emergency .vc_btn3:before,
#primary .has-background-emergency .btn-phone .vc_btn3:before,
#primary .btn-email .vc_btn3:before {
	content:'';
	display: inline-block;
	width: 1em;
	height: 1em;
	background: url("assets/phone-rot.svg") no-repeat;
	background-size: contain;
	position: relative;
	top: 2px;
	margin-right: 6px;	
}
#primary .vc_btn3:hover, #primary .vc_btn3:focus {
	background: rgb(var(--hauptfarbe-rgb) / 80%);
	border-color: transparent!important;
}
#primary .btn-emergency .vc_btn3:hover, #primary .btn-emergency .vc_btn3:focus {
	background: rgb(var(--emergency-rgb) / 100%);
	color: #fff;
	border: 1px solid rgb(var(--emergency-rgb) / 100%);
}
#primary .btn-emergency .vc_btn3:before {
	background-image: url("assets/phone-weiss.svg");
}
#primary .btn-emergency .vc_btn3:hover:before, #primary .btn-emergency .vc_btn3:focus:before {
	background-image: url("assets/phone-weiss.svg");
}
/* Button groups */
#primary .btn-group + .btn-group {
	margin-left: .75rem;
}
#primary .vc_btn3-container {
	display: inline-block !important;
}
#primary .just-link .vc_btn3 {
	border: none !important;
	background: none !important;
	padding: 0 !important;
	color: var(--hauptfarbe) !important;
	box-shadow: none !important;
}
#primary .just-link .vc_btn3:after, #primary .has-background-primary .vc_btn3:after {
	background-image: url("assets/arrow-right-blau.svg");
}
#primary .btn-email .vc_btn3:after {
	display: none !important;
}
#primary .btn-email .vc_btn3:before {
	background-image: url("assets/mail-weiss.svg");
}

/* Forms
--------------------------------------------- */
#page form {
	background: #fff;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 0 15px rgba(0,0,0,.1);
	border: 1px solid #ddd;
}
@media (min-width: 768px) {
	#page form {
		padding: 1.5rem;
	}
}
@media (min-width: 1200px) {
	#page form {
		padding: 2rem;
	}
}
.gform-body {
	
}
#page .gform-theme--foundation .gform_fields {
	row-gap: 1.5rem;
}
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 6px !important;
	background: var(--hauptfarbe) !important;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 1em 1em 1em !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	position: relative;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666 !important;
	border: 1px solid #ddd !important;
	border-radius: 6px !important;
	padding: 6px !important;
	box-shadow: 0 2px 6px rgba(0,0,0,.07) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.gform_confirmation_message {
	border: 1px solid #549300;
	background: #edf0e8;
	border-radius: 12px;
	color: #549300;
	padding: 2rem;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#page {
	position: relative;
}
#primary {
	overflow: hidden;
}
@media (min-width: 992px) {
	#masthead {
		position: sticky;
		top: 0;
		background: rgba(255,255,255,.8);
		backdrop-filter: blur(16px);
		z-index: 999999;
	}
}

.site-branding {
	margin: 1rem;	
	display: block;
	background: url("assets/erwin-hintz-logo.svg") no-repeat;
	background-size: cover;
	width: 186px;
	height: 54px;
}
#page .brandname {
	position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#page .slogan {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #000;
}
@media (min-width: 992px) {
	#masthead {
		border-bottom: 1px solid #ddd;
	}
	.menu-hauptmenue-container {
		display: flex;
		justify-content: flex-end;
		height: 100%;
	}
	.site-branding {
	margin: 1rem;	
		width: 268px;
		height: 78px;
	}
}

/* Hintergründe */
.has-background-surface {
	background: var(--surface);
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.has-background-emergency {
	background: var(--emergency);
}
.has-background-primary {
	background: var(--hauptfarbe);
}
.has-background-emergency *, .has-background-primary * {
	color: #fff;
}
.has-background-emergency ul li::marker, .has-background-primary ul li::marker {
  color: #fff;
}

/* Inhalte */
.vc_section {
	padding: 2rem 0;
}
.vc_section > .vc_row {
	max-width: 1280px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.vc_section {
		padding: 2.5rem 0;
	}
}
@media (min-width: 992px) {
	.vc_section {
		padding: 3rem 0;
	}
}
@media (min-width: 1200px) {
	.vc_section {
		padding: 4rem 0;
	}
}
.vc_section.is-small  > .vc_row {
	max-width: 1024px; 
}

/* Anker */
@media (min-width: 992px) {
	section {
		scroll-margin-top: 110px;
	}
}
/* Footer */
#colophon {
	background: var(--surface);
	border-top: 1px solid #ddd;
	font-size: .875rem
}
.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 3rem 1rem;
}
.site-info {
  display: grid;
  gap: 2rem;
}

/* kleiner als 768px: 1 Spalte */
.site-info .col-footer {
  width: 100%;
}

/* ab 768px: 2 x 2 */
@media (min-width: 768px) {
  .site-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ab 1200px: 4 nebeneinander */
@media (min-width: 1200px) {
  .site-info {
    grid-template-columns: repeat(4, 1fr);
  }
}
#colophon h4 {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: .875rem;
}
#colophon [id^="menu-fussbereich"] {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 2;;
}
#colophon a {
	color: #000;
}
#colophon .address, #colophon .phone, #colophon .email, #colophon .open {
	position: relative;
	padding-left: 25px;
	margin-bottom: .5rem;
}
#colophon .address:before, #colophon .phone:before, #colophon .email:before, #colophon .open:before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 2px;
	left: 0;
	margin-right: 4px;
 	background: url("assets/map-pin-blau.svg") no-repeat;
	background-size: contain;
}
#colophon .phone:before {
	background-image: url("assets/phone-blau.svg")
}
#colophon .email:before {
	background-image: url("assets/mail-blau.svg")
}
#colophon .open:before {
	background-image: url("assets/clock-blau.svg")
}

/* Hintergünde und Layouts WPBakery */
.has-gradient {
	background: linear-gradient(155deg, #dbedff 0%, #fff 50%);	
}


/* WPBakery styles überschreiben */
#page .wpb_content_element:not(.stats-card) {
	margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Utility Navigation oben */
.utility-nav {
	background: var(--hauptfarbe);
	color: #fff;
	width: 100%;
	font-size: .875rem;
}
.utility-nav .inner {
	padding: 5px 1rem;
	display: flex;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
}
.utility-nav .kontakt:before {
	content: '';
	display: inline-block;
	position: relative;
	width: 14px;
	height: 14px;
	background: url("assets/phone-weiss.svg") no-repeat;
	background-size: contain;
	top: 2px;
	margin-right: 7px;
}
.masthead-inner {
	max-width: 1280px;
	margin: 0 auto;
}
@media (min-width: 992px) {
	.masthead-inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
}

/* Images */
.vc_single_image-wrapper {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 0 1.5rem rgba(0,0,0,.1);
}
.img-is-icon .vc_single_image-wrapper {
	box-shadow: none;
}
.vc_single_image-wrapper img {
	object-fit: cover;	
}
.img-is-icon .vc_single_image-wrapper img {
	width: 48px;
	height: 48px;
}
.wpb_wrapper {
	position: relative;
}
.image-tag {
	display: inline-block;
	border-radius: 12px;
	position: absolute;
	bottom: -60px;
	left: -1rem;
	box-shadow: 0 0 2rem rgba(0,0,0,.2);
	background: #fff;
	padding: .75rem 1rem;
	margin: 0;
}
.image-tag p {
	margin: 0 !important;
	line-height: 1.2;
	font-size: .8125rem
}
.image-tag p .number {
	font-size: 1.875rem;
	color: var(--hauptfarbe);
	margin: 0 !important;
}
@media (max-width: 767px) {
	.image-tag {
		display: none;	
	}
}	

/* USP-Abschnitt (Startseite) */
.usp {
	border-top: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
	border-bottom: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
	background: rgb(var(--hauptfarbe-rgb) / 5%);
	margin: 0 !important;
	padding: 0 !important;
}
.usp > .wpb_row {
	padding: 0;
}
.usp .wpb_column {
	border-left: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
	padding: 1rem;
}
@media (min-width: 768px) {
	.usp .wpb_column {
	padding: 1.5rem;
}
}
.usp .wpb_column:last-of-type {
	border-right: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
}
.usp .vc_row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* WPBakery-Floats neutralisieren */
.usp .wpb_column {
  float: none;
  display: flex;
}

/* Desktop: 4 Spalten nebeneinander */
.usp .wpb_column {
  width: 25%;
}

/* Innere WPBakery-Wrapper auf volle Höhe ziehen */
.usp .wpb_column > .vc_column-inner,
.usp .wpb_column > .vc_column-inner > .wpb_wrapper,
.usp .wpb_text_column,
.usp .wpb_text_column > .wpb_wrapper {
  height: 100%;
  width: 100%;
	padding: 0;
}
.usp .wpb_text_column {
	margin-bottom: 0;
}
/* Inhalt/Kachel */
.usp .wpb_text_column > .wpb_wrapper {
  display: flex;
  flex-direction: column;
}

/* kleiner als 992px: 2 Spalten */
@media (max-width: 991px) {
  .usp .wpb_column {
    width: 50%;
  }
	.usp .wpb_column:last-of-type {
	border-right: none;
}
	.usp .wpb_column:first-of-type, .usp .wpb_column:nth-of-type(2) {
	border-bottom: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
  }
}

/* kleiner als 768px: untereinander */
@media (max-width: 767px) {
	.usp {
	border-bottom: none;
}
  .usp .wpb_column {
    width: 100%;
	  border-bottom: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
  }
}

/* USP-Text */
.usp-title {
	font-size: .875rem;
	color: #666;
}
.usp-title p {
	margin-bottom: .5rem;
}
.usp-title strong {
	font-size: 1rem;
	color: #000;
}
/* USP-Icons */
[class^="usp-icon"] .usp-title {
	position: relative;
	padding-left: 50px;
}
[class^="usp-icon"] .usp-title:before {
	content: '';
	background-image: url("assets/award-blau.svg");
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: center;
  	width: 40px;
	height: 40px;
	display: block;
	background-color: rgb(var(--hauptfarbe-rgb) / 15%);
	border-radius: 8px;
	position: absolute;
	left: 0;
}
.usp-icon-handshake .usp-title:before {
	background-image: url("assets/heart-handshake-blau.svg");
}
.usp-icon-shield .usp-title:before {
	background-image: url("assets/shield-check-blau.svg");
}
.usp-icon-marker .usp-title:before {
	background-image: url("assets/map-pin-blau.svg");
}

/* Kacheln */
.has-tiles {
	padding: 1rem 0;
}
.has-tiles [class^="is-tile"] .wpb_content_element {
	margin-bottom: 1rem !important;	
}
[class^="is-tile"] .vc_column-inner {
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgb(var(--hauptfarbe-rgb) / 20%);
	width: auto !important;
	margin: 0 15px;
	padding: 3rem 2em 1.5rem 2em !important;
}
#page .is-tile-infobox .vc_column-inner {
	padding-top: 1.5rem !important; 
	border-color: #ddd;
}
#page .is-infobox-primary .vc_column-inner {
	background: rgb(var(--hauptfarbe-rgb) / 5%);
	border-color: rgb(var(--hauptfarbe-rgb) / 20%);
}
#page .is-tile-infobox h2 {
	font-size: 1.5rem;
}
@media (min-width: 1200px) {
	#page .is-tile-infobox h2 {
		font-size: 1.75rem;
	}
}
@media (max-width: 767px) {
	.has-tiles [class^="is-tile"]:first-of-type {
		margin-bottom: 30px;
	}
}
#page [class^="is-tile"] h3 {
	position: relative;
	padding-left: 70px;
	margin-bottom: 2rem;
}
[class^="is-tile"] h3:before, .is-icon-list li:before, .is-tile-wolf:before {
	content: '';
	background-image: url("assets/flame-weiss.svg");
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: center;
  	width: 56px;
	height: 56px;
	display: block;
	background-color: var(--hauptfarbe);
	border-radius: 8px;
	position: absolute;
	left: 0;
	top: -16px;
}
#page .is-tile-wolf .vc_column-inner {
	padding-left: 120px !important;
}
.is-tile-wolf:before {
	background-image: url("assets/WOLF-Partner.png");	
	background-size: contain;
	background-color: transparent;
	width: 128px;
	height: 128px;
	top: 20px;
	left: 20px;
}
#page [class^="is-tile"] ul {
	font-size: .875rem;
	line-height: 1.8;
}
/* Schmale (kleine) Kacheln */
#page .has-tiles-small:before {
	display: none;	
}
#page .has-tiles-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
	padding: 0 15px;
	margin-top: 2rem;
}

#page .has-tiles-small [class^="is-tile"] {
 	height: 100%;
	width: auto;
	font-size: 90%;
}
#page .has-tiles-small [class^="is-tile"] .vc_column-inner {
	margin: 0;
	height: 100%;
}

/* ab 992px: 4 Elemente in einer Reihe */
@media (min-width: 992px) {
  #page .has-tiles-small {
    grid-template-columns: repeat(4, 1fr);
  }
}

#page .has-tiles-small [class^="is-tile"] .vc_column-inner {
	padding: 1.5rem !important; 
}
#page .has-tiles-small [class^="is-tile"] h3 {
	padding-left: 0 !important;
	margin-bottom: .5rem;
}
.has-tiles-small [class^="is-tile"] h3:before {
	position: static;
	background-size: 20px 20px;
  	width: 44px;
	height: 44px;
	background-color: rgb(var(--hauptfarbe-rgb) / 15%);
	margin-bottom: .75rem;
	background-image: url("assets/heart-handshake-blau.svg");
}
/* Liste mit Icons */
.is-icon-list, .is-icon-list ul {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}
.is-icon-list li {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}
.is-icon-list li:before {
	position: static;
	display: inline-block;	
	margin-bottom: 0;
	margin-right: 8px;
	background-size: 18px 18px;
  	width: 38px;
	height: 38px;
	background-color: rgb(var(--hauptfarbe-rgb) / 15%);
	background-image: url("assets/heart-handshake-blau.svg");
}
/* Icons */
.is-tile-bad h3:before {
	background-image: url("assets/bath-weiss.svg");
}
.is-tile-service h3:before {
	background-image: url("assets/wrench-weiss.svg");
}
.is-tile-foerderung h3:before {
	background-image: url("assets/piggy-bank-weiss.svg");
}
.has-tiles-small .is-tile-shield h3:before {
	background-image: url("assets/shield-check-blau.svg");
}
.has-tiles-small .is-tile-wrench h3:before {
	background-image: url("assets/wrench-blau.svg");
}
.has-tiles-small .is-tile-marker h3:before {
	background-image: url("assets/map-pin-blau.svg");
}
.has-tiles-small .is-tile-phone h3:before {
	background-image: url("assets/phone-blau.svg");
}
.has-tiles-small .is-tile-mail h3:before {
	background-image: url("assets/mail-blau.svg");
}
.has-tiles-small .is-tile-clock h3:before {
	background-image: url("assets/clock-blau.svg");
}

.is-icon-list li.has-icon-flamme:before {
	background-image: url("assets/flame-blau.svg");
}
.is-icon-list li.has-icon-dusche:before {
	background-image: url("assets/bath-blau.svg");
}
.is-icon-list li.has-icon-schraubenschluessel:before {
	background-image: url("assets/wrench-blau.svg");
}
.is-icon-list li.has-icon-lupe:before {
	background-image: url("assets/search-blau.svg");
}
.is-icon-list li.has-icon-sparschwein:before {
	background-image: url("assets/piggy-bank-blau.svg");
}
.is-icon-list li.has-icon-schild:before {
	background-image: url("assets/shield-check-blau.svg");
}
.is-icon-list li.has-icon-stapel:before {
	background-image: url("assets/layers-blau.svg");
}
.is-icon-list li.has-icon-sterne:before {
	background-image: url("assets/sparkles-blau.svg");
}

/* Text-Formatierung der kleinen Kacheln */
#page .has-tiles-small [class^="is-tile"] p {
	color: #666;
}
#page .has-tiles-small [class^="is-tile"] em {
	display: inline-block;
	color: var(--hauptfarbe);
	font-size: 1.125rem;
	font-style: normal;
}

/* Link-Pillen oben unter dem Hero */
.is-link-pills ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}
.is-link-pills a {
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: .825rem;
	padding: 6px 16px;
	color: #666;
	margin-right: .5rem;
	margin-bottom: .5rem !important;
	display: block;
	text-decoration: none;
}
.is-link-pills a:hover, .is-link-pills a:focus {
	border-color: rgb(var(--hauptfarbe-rgb) / 20%);
	background: rgb(var(--hauptfarbe-rgb) / 5%);
	color: var(--hauptfarbe);
}
/* Weitere Icons vor Text */
[class*="has-icon"] p {
	position: relative;
	padding-left: 30px;
}
[class*="has-icon"].tagline p {
	padding-left: 22px;
}
[class*="has-icon"] p:before {
	content: '';
	background-image: url("assets/award-blau.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
  	width: 24px;
	height: 24px;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}
[class*="has-icon"].tagline p:before {
  	width: 16px;
	height: 16px;
	top: 2px;
}
.has-icon-business p:before {
	background-image: url("assets/building-2-blau.svg");
}
.has-icon-team p:before {
	background-image: url("assets/users-blau.svg");
}
/* Akkordeons */
#page .vc_tta-panel-heading, #page .vc_tta-panel-body {
	border-color: #ddd;
	background: #fff;
}
#page .vc_tta-panel .vc_tta-panel-heading {
	border-radius: 0;
}
#page .vc_tta-panel:first-child .vc_tta-panel-heading {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;	
}
#page .vc_tta-panel:last-child .vc_tta-panel-heading {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;	
}
#page .vc_tta.vc_general .vc_tta-panel-title>a {
	padding-top: 1rem;
	padding-bottom: 1rem;
	font-size: .875rem;
}
#page .vc_tta-panel ul {
	font-size: .875rem;
}
#page .vc_tta-panels .vc_tta-panel.vc_active .vc_tta-panel-heading, #page .vc_tta-panels .vc_tta-panel.vc_animating .vc_tta-panel-heading {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;	
}
#page .vc_tta-panel:last-child .vc_tta-panel-body {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
/* Unterseite Über uns */
/* Die Statistik-Kärtchen neben dem Bild */
.stats-row {
  display: flex;
  align-items: stretch;
}

.stats-row > .wpb_column {
  float: none;
}

/* WPBakery-Wrapper auf volle Höhe bringen */
.stats-row > .wpb_column > .vc_column-inner,
.stats-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
  height: 100%;
}

/* Linke Bildspalte */
.stats-image-col .wpb_single_image,
.stats-image-col .wpb_single_image .wpb_wrapper,
.stats-image-col .wpb_single_image .vc_figure,
.stats-image-col .wpb_single_image .vc_single_image-wrapper {
  width: 100%;
  height: 100%;
}
.stats-image-col .wpb_single_image {
	margin-bottom: 0;
}
.stats-image-col .vc_single_image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Rechte Spalte mit drei gleich hohen Kacheln */
.stats-card-col > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

/* Einzelne Kacheln */
.stats-card-col .stats-card {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 20px 32px 32px;
  border: 1px solid #d7dde5;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 0;
}
.stats-card .number {
	font-size: 2rem;
	color: var(--hauptfarbe);
	font-weight: 600;
}
@media (max-width: 767px) {
	.stats-card-col {
		display: none;
	}
}
/* Falls WPBakery im Textblock noch innere Wrapper setzt */
.stats-card .wpb_wrapper {
  width: 100%;
}
@media (max-width: 991px) {
  .stats-row {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .stats-row > .wpb_column {
    width: 100%;
  }

  .stats-row > .wpb_column > .vc_column-inner,
  .stats-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
    height: auto;
  }

  .stats-image-col {
    margin-bottom: 24px;
  }

  .stats-image-col .wpb_single_image,
  .stats-image-col .wpb_single_image .vc_figure,
  .stats-image-col .wpb_single_image .vc_single_image-wrapper {
    height: auto;
  }

  .stats-image-col img {
    height: auto;
    object-fit: initial;
  }

  .stats-card-col > .vc_column-inner > .wpb_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: auto;
  }

  .stats-card {
    flex: none;
    min-height: 180px;
  }
}

@media (max-width: 599px) {
  .stats-card-col > .vc_column-inner > .wpb_wrapper {
    grid-template-columns: 1fr;
  }

  .stats-card {
    min-height: 0;
  }
}

/* Die Sektionen mit Icons */
.section-with-icon > div > div > .vc_column-inner {
	position: relative;
	padding-left: 70px;
}
.section-with-icon > div > div > .vc_column-inner:before {
	content: '';
	background-image: url("assets/flame-weiss.svg");
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: center;
  	width: 40px;
	height: 40px;
	display: block;
	background-color: var(--hauptfarbe);
	border-radius: 8px;
	position: absolute;
	left: 15px;
	top: 6px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
@media (min-width: 768px) {
	.section-with-icon > div > div > .vc_column-inner {
		padding-left: 100px;
	}
	.section-with-icon > div > div > .vc_column-inner:before {
		background-size: 24px 24px;
		width: 56px;
		height: 56px;
		left: 15px;
		top: 6px;
	}
}
#waermepumpen.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/thermometer-weiss.svg");
}
#pellet-holz.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/tree-pine-weiss.svg");
}
#fernwaerme.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/network-weiss.svg");
}
#kaminoefen.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/wind-weiss.svg");
}
#fussbodenheizung.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/layers-weiss.svg");
}
#heizkoerper.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/grid-2x2-weiss.svg");
}
#belueftung.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/fan-weiss.svg");
}
#notdienst.section-with-icon > div > div > .vc_column-inner:before {
	background-color: #fff;
	background-image: url("assets/alert-triangle-rot.svg");
}
#badsanierung.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/bath-weiss.svg");
} 
#sanitaerinstallation.section-with-icon > div > div > .vc_column-inner:before,
#kundendienst.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/wrench-weiss.svg");
} 
#barrierefrei.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/accessibility-weiss.svg");
} 
#barrierefreie-baeder.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/accessibility-weiss.svg");
} 
#abwasser.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/droplets-weiss.svg");
} 
#foerderungen.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/piggy-bank-weiss.svg");
} 
#heizungsoptimierung.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/gauge-weiss.svg");
} 
#leckortung.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/search-weiss.svg");
} 
#smarthome.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/smartphone-weiss.svg");
} 
#klempnerarbeiten.section-with-icon > div > div > .vc_column-inner:before {
	background-image: url("assets/hammer-weiss.svg");
} 
/* Meilensteine der Firmengeschichte */
.wrapper-milestone-items {
	margin-top: 3rem;
	padding-left: 40px;
	position: relative;
}
.wrapper-milestone-items:before {
	content: '';
	position: absolute;
	width: 2px;
	height: 100%;
	background: var(--hauptfarbe);
	display: block;
	left: 9px;
}
.milestone-item {
	position: relative;
	margin-bottom: 2rem;
}
.milestone-item:before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: var(--hauptfarbe);
	display: block;
	left: -40px;
	top: 2px;
	border: 5px solid #fff;
	outline: 2px solid var(--hauptfarbe);
	border-radius: 999px;
}
@media (min-width: 768px) {
	.wrapper-milestone-items {
		padding-left: 50px;
	}
	.wrapper-milestone-items:before {
		left: 9px;
	}
	.milestone-item:before {
		left: -50px;
	}
}
.milestone-item__year {
	color: var(--hauptfarbe);
	font-size: .875rem;
	letter-spacing: 1px;
}
.milestone-item__title {
	margin-bottom: .5rem;
}
.milestone-item__description {
	color: #666;
}
/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 992px) {
	.main-navigation a {
		font-size: .875rem;
	}
	.main-navigation ul ul {
		box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
		border: 1px solid #ddd;
		position: absolute;
		top: 100%;
		left: -999em;
		z-index: 99999;
		display: block;
		border-radius: 6px;
		background: #fff;
		padding: 10px;
	}

	.main-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		display: block;
		left: auto;
	}

	.main-navigation ul ul a {
		font-weight: normal;
		white-space: nowrap;
	}
	.main-navigation ul ul a:hover, .main-navigation ul ul a:focus {
		background: var(--hauptfarbe-soft);
		color: #000;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: -50%;
	}
	
}
.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 9px 14px;
	color: #000;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.main-navigation ul ul a {
	text-transform: none;
	letter-spacing: 0;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.menu-toggle {
	background: var(--hauptfarbe);
	border: none;
	position: absolute;
    right: 15px;
    top: 55px;
    margin: 0;
    padding: 11px 15px 10px 15px;
	border-radius: 6px;
}
.toggled .menu-toggle {
    padding: 14px 15px;
}
.menu-toggle .icon-bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 1px;
    background: #fff;
    transition: transform 200ms, top 200ms;
    position: relative;
}
.menu-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
.toggled .menu-toggle .icon-bar {
    display: none;
    height: 3px;
}
.toggled .menu-toggle .icon-bar:first-child {
    transform: rotate(45deg);
    display: block;
    top: 4px;
}
.toggled .menu-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
    display: block;
    bottom: 3px;
}
@media (max-width: 991px) {
	.main-navigation {
		border-top: 1px solid #ddd;
	}
	#primary-menu > li > a {
		font-weight: 600;
	}
	.main-navigation #primary-menu {
		max-height: 0;
		transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
		overflow: hidden;
		margin: 0 1rem;
	}
	.main-navigation.toggled #primary-menu {
		max-height: 999px;
		transition: max-height 1s ease-in-out;
		overflow: hidden;
	}
	.main-navigation .sub-menu {
		font-size: .875rem;
		border-left: 1px solid #ddd;
		margin: 6px 0 6px 1rem;
	}
	#primary-menu a:hover, #primary-menu a:focus {
		color: var(--hauptfarbe);
	}
	#primary-menu > li > a:hover, #primary-menu > li > a:focus {
		background: var(--hauptfarbe-soft);
		color: #000;
	}
	.main-navigation a:last-of-type {
		border-bottom: none; 
	}
	/* Typo */
	
}
@media screen and (min-width: 992px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex;
		align-items: center;
	}
	.main-navigation li {
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Klassen */

.flex {
	display: flex;
}
.align-center .wpb_wrapper {
	text-align: center;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}
