/*!
Theme Name: dbbau
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: dbbau
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

dbbau is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/* heebo-300 - 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: 'Heebo';
  font-style: normal;
  font-weight: 300;
  src: url('webfonts/heebo-v28-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* heebo-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: 'Heebo';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/heebo-v28-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* heebo-700 - 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: 'Heebo';
  font-style: normal;
  font-weight: 700;
  src: url('webfonts/heebo-v28-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* vesper-libre-900 - 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: 'Vesper Libre';
  font-style: normal;
  font-weight: 900;
  src: url('webfonts/vesper-libre-v21-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 700;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
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: #fff;
	font-family: 'Heebo';
	font-size: 26px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.4;
}

.lead {
	font-size: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Vesper Libre';
	font-weight: 900;
	clear: both;
}

h1, h2 {
    font-size: 110px;
    line-height: 1;
    margin-top: 0;
	margin-bottom: 50px !important;
}

.intro {
	margin-left: 16.667%;
    max-width: 740px;
	
}

.intro h1 {
    font-size: 50px;
    line-height: 1.5;
    margin: 0 !important;
}

h3 {
    font-size: 60px;
    line-height: 1.1;
    margin-top: 0;
	margin-bottom: 40px !important;
}

p {
    margin-top: 0;
	margin-bottom: 1.5em;
}

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%;
}

/* Elements
--------------------------------------------- */
body {
	background: #004272;
	color: #fff;
}

body.page-id-13 {
	background: #ffcc00;
	color: #004272;
}

.page-id-13 .site-branding a {
    background-image: url(images/db_Bau_Logo_inv.svg);
}

.page-id-13 h1,
.page-id-13 h2,
.page-id-13 h3,
.page-id-13 h4 {
	color: #fff;
}

.page-id-13 .main-navigation a {
	color: #004272;
}

.page-id-13 .main-navigation a:hover,
.page-id-13 .main-navigation .current_page_item > a{
	color: #fff;
}

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

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
}

ul li::marker {
    font-size: 0.6em;
}

.intro ul li::marker {
    font-size: 1em;
}

.intro ul li {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro ul li.is-visible {
	opacity: 1;
	transform: translateY(0);
}

p + ul {
	margin-top: -1.5em;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

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: #fff;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.wpb_text_column p a {
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
}

a:visited {
	color: #fff;
}

a:hover,
a:focus,
a:active {
	color: #fff;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding-top: 80px;
	padding-bottom: 15px;
	z-index: 4;
    background: #004272;
    transition: all 0.3s ease-in-out; 
}

.page-id-13 .site-header {
    background: #ffcc00;
}

.site-header.small {
	padding-top: 15px;
}

.site-header .container {
	display: flex;
	gap: 40px;
	align-items: flex-end;
}

.site-branding a {
    display: block;
    width: 254px;
    height: 140px;
    background-image: url(images/db_Bau_Logo.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
    transition: all 0.3s ease-in-out; 
}


.small .site-branding a {
	width: 180px;
	height: 99px;
}

.small .main-navigation ul {
    margin-bottom: 22px;
}

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: flex;
    justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding-left: 0;
	gap: 50px;
    margin-bottom: 32px;
    transition: all 0.3s ease-in-out; 
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.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 {
	width: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #ffcc00;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: 0.1em;
}


.main-navigation a:hover,
.current_page_item > a {
	color: #fff;
}









.toggle-nav {
	display: none;
	margin-left: auto;
	margin-right: 15px;
	color: #fc0;
	font-family: "Vesper Libre";
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	text-align: right;
	cursor: pointer;
	user-select: none;
}

.toggle-nav.is-active {
	z-index: 99999;
    position: absolute;
    top: 40px;
    right: 15px;
}

.toggle-nav.is-active,
.page-id-13 .toggle-nav {
	color: #004272;
}


/* Optional: sichtbarer Tastaturfokus */
.toggle-nav:focus-visible {
	outline: 2px solid #fc0;
	outline-offset: 5px;
}








.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;
}

.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
--------------------------------------------------------------*/

/* 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;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}






/*--------------------------------------------------------------
# Allgemein
--------------------------------------------------------------*/

.container {
	width: 100%;
	max-width: 1019px;
	margin-left: auto;
	margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.vc_row {
	padding-top: 80px;
	padding-bottom: 80px;
}


.vc_row.nopadding,
.vc_row.vc_inner {
	padding-top: 0px;
	padding-bottom: 0px;
}

.vc_row.nopaddingtop {
	padding-top: 0px;
}

.vc_row.nopaddingbottom {
	padding-bottom: 0px;
}

.site-main {
	padding-top: 300px;
    padding-bottom: 40px;
}



.wpb_text_column ul li {
    line-height: 1.4;
    margin-top: 10px;
}




/*--------------------------------------------------------------
# Zeile Bild mit Farbe
--------------------------------------------------------------*/


.bildfarbe.vc_row {
    padding-top: 0;
	padding-bottom: 120px;
	margin-top: 140px;
	margin-bottom: 140px;
}

.bildfarbe {
	position: relative;
	overflow: visible !important;
	color: #004272;
}

.bildfarbe a {
	color: #004272;	
}

/* Blaue Fläche links */
.bildfarbe::before {
	content: "";
	position: absolute;
    display: block !important;
	top: 244px;
	bottom: 0;
	left: calc((100vw - 1048px) / 2) !important;
	right: 0;
	width: auto !important;
	background: #E2DECF;
	z-index: 0;
}

/* WPBakery-Spalten über Hintergrund */
.bildfarbe > .wpb_column {
	position: relative;
	z-index: 2;
}


/* Bild */
.bildfarbe .vc_parallax-inner {
	position: relative !important;
    top: 0px !important;
    left: calc(16.66% + 22px) !important;

	width: calc(
		83.34%
		- 7px
		+ (100vw - 1048px) / 2
	) !important;

	max-width: none !important;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 1 !important;
    aspect-ratio: 1165 / 777;
    margin-bottom: 100px;
}




.bildlinks {
    position: absolute;
	/*
	 * Abstand vom Browserrand bis Containeranfang
	 * + 5 Rasterspalten
	 */
	width: calc(
		(100vw - 1048px) / 2
		+ (1033px / 12 * 5)
	) !important;

	/*
	 * Element nach links bis zum Browserrand ziehen
	 */
	margin-left: calc(
		-1 * (
			(100vw - 1048px) / 2
			+ (1048px / 12 * 2)
		) - 15px
	) !important;

	margin-right: 0 !important;
	margin-top: 80px;
}

.bildlinks figure,
.bildlinks .vc_single_image-wrapper {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

.bildlinks img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 373 / 249;
	object-fit: cover;
}




.home .bildfarbe .lead {
    margin-top: 180px;
}

.home .bildfarbe.vc_row {
	margin-bottom: 300px;
}


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

.alle-referenzen {
    width: 100%;
}


/* einzelne Referenz */

.referenz-item:not(:last-child) {
    margin-bottom: 60px;
}


/* Slider */

.referenz-slider {
    aspect-ratio: 3 / 2;
}

.referenz-slider .swiper-wrapper,
.referenz-slider .swiper-slide {
    height: 100%;
}

.referenz-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.referenz-bild {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 767px) {

    .referenz-slider,
    .referenz-slider .swiper-wrapper,
    .referenz-slider .swiper-slide {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .referenz-bild {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}


/* Navigation direkt auf dem Bild */

.referenz-navigation {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;
}

.referenz-prev,
.referenz-next {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 10px;
    margin: -5px;

    cursor: pointer;
}

.referenz-prev img,
.referenz-next img {
    display: block;
    width: 31.234px;
    height: 16.414px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}



/* Titel + Bildcounter */

.referenz-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;

    gap: 30px;

    margin-top: 12px;
}

.referenz-titel,
.referenz-counter {
    font-size: 18px;
    line-height: 1.4;
}

.referenz-counter {
    flex-shrink: 0;
}


/* Loading */

.referenzen-loader {
	position: absolute;
	width: 100%;
    text-align: center;

    padding: 20px 0;

    opacity: 0;
    visibility: hidden;
}

.referenzen-loader.is-visible {
    opacity: 1;
    visibility: visible;
}


/*
 * Sentinel braucht praktisch keine Höhe.
 * Durch rootMargin im JS werden neue Beiträge
 * bereits vorher geladen.
 */
.referenzen-sentinel {
    height: 1px;
}


/* Mobile */

@media (max-width: 767px) {

    .referenz-item {
        margin-bottom: 40px;
    }

    .referenz-meta {
        gap: 15px;
        margin-top: 8px;
    }

    .referenz-titel,
    .referenz-counter {
        font-size: 16px;
    }
	

}




.neueste-referenz {
    margin-top: 80px;
}


/*--------------------------------------------------------------
# Whatsapp
--------------------------------------------------------------*/

.wa__popup_chat_box .wa__popup_heading {
    background: #004272 !important;
    color: #fff !important;
}

.wa__popup_chat_box .wa__popup_heading .wa__popup_intro {
    color: #fff !important;
}



/*--------------------------------------------------------------
# Störer
--------------------------------------------------------------*/

.stoerer {
	position: fixed;
	z-index: 1000;

	right: 90px;
	bottom: 25vh;

	width: 370px;

	color: #ffcc00;

	display: flex;
	flex-direction: column;
	align-items: center;

	text-align: center;
}

.page-id-13 .stoerer {
	display: none;
}

.stoerer-inhalt {
	font-family: "Vesper Libre";
	font-size: 30px;
	font-style: normal;
	font-weight: 900;
	line-height: 1.16;
}

.stoerer-inhalt p {
	margin: 0;
}

.stoerer-linie {
	width: 120px;
	height: 2px;
	flex-shrink: 0;

	background: #ffcc00;
}

.stoerer-linie:first-child {
	margin-bottom: 35px;
}

.stoerer-linie:last-child {
	margin-top: 35px;
}

.stoerer-inhalt a {
	color: inherit;
	text-decoration: none;
}

.stoerer-inhalt a:hover {
	color: #fff;
}









/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
:root {
	--footer-height: 0px;
}

/* Standard: Footer steht normal im Dokumentfluss */
.site-footer {
	position: relative;
	width: 100%;
	z-index: 0;
	background: #FC0;
	color: #004272;
	padding-top: 80px;
	padding-bottom: 20px;
}

/* Reveal-Effekt nur bei ausreichender Bildschirmhöhe */
html.footer-reveal-possible .site-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}

html.footer-reveal-possible #page {
	margin-bottom: var(--footer-height);
}

#page {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	background: #004272;
}

.page-id-13 #page {
	background: #FC0;
}

.footer-logo {
	display: block;
	width: 254px;
	height: 140px;
	background-image: url(images/db_Bau_Logo_inv.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	margin-bottom: 108px;
}

.footer-text {
	margin-bottom: 60px;
}

.footer-kontakt {
	text-align: center;
}

.footer-kontakt a {
	display: block;
	color: #004272;
	font-family: "Vesper Libre";
	font-size: 100px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.footer-adresse {
	margin-top: 60px;
}

.impressum {
	margin-top: 20px;
	font-size: 16px;
	text-align: right;
}

.impressum a {
	color: #004272;
	text-decoration: none;
}

.footer-kontakt a:hover,
.impressum a:hover {
	color: #fff;
}













/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media screen and (max-width: 1920px) {
	.stoerer { right: 10px;}
}

@media screen and (max-width: 1700px) {
    .stoerer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #004272;
        padding: 25px 20px;
        z-index: 10;

        transform: translateY(0);
        transition: transform 0.3s ease-in-out;
    }

    .stoerer.is-hidden {
        transform: translateY(100%);
        pointer-events: none;
    }

    .stoerer-linie {
        display: none;
    }

    .stoerer-inhalt {
        font-size: 20px;
        line-height: 1.4;
        text-align: left;
    }
}

@media screen and (max-width: 1023px) {
	.toggle-nav {display: block;}
	.site-header .container {display: flex; align-items: center;}
	.site-branding a { width: 220px; height: 120px;}
	
	.main-navigation {
		position: fixed;
		inset: 0;
		z-index: 9998;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		padding:
			max(100px, env(safe-area-inset-top))
			25px
			max(55px, env(safe-area-inset-bottom));
		box-sizing: border-box;
		background: #ffcc00;

		display: flex;
		flex-direction: column;
		align-items: center;

		/* Geschlossener Zustand */
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-20px);
		transition:
			opacity 0.3s ease,
			transform 0.3s ease,
			visibility 0.3s;
	}

	/* Geöffneter Zustand */
	.main-navigation.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}
	
	.site-header .container {gap: 30px;}


	/* Logo
	--------------------------------------------- */

	.main-navigation .mobilemenu-branding {
		flex: 0 0 auto;
	}

	.main-navigation .mobilemenu-branding a {
		display: block;
		width: 134px;
		height: 74px;
		background-image: url(images/db_Bau_Logo_inv.svg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}


	/* Menüpunkte
	--------------------------------------------- */

	.main-navigation .menu-hauptmenu-container {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.main-navigation ul,
	.main-navigation #primary-menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.main-navigation li {
		float: none;
		margin: 0;
		padding: 0;
		text-align: center;
	}

	.main-navigation a {
		color: #004272;
		text-decoration: none;
	}

	.main-navigation #primary-menu > li > a {
		display: block;
		padding: 0 10px;
		color: #004272;
		text-align: center;
		font-family: "Vesper Libre", serif;
		font-size: clamp(36px, 10vw, 54px);
		font-style: normal;
		font-weight: 900;
		line-height: 1.4;
		letter-spacing: 0;
        margin: 6px 0px;
		text-transform: none;
		transition:
			color 0.2s ease,
			transform 0.2s ease;
	}

	.main-navigation #primary-menu > li > a:hover,
	.main-navigation #primary-menu > li > a:focus,
	.main-navigation #primary-menu > li.current-menu-item > a,
	.main-navigation #primary-menu > li.current_page_item > a {
		color: #fff;
		transform: scale(1.03);
	}


	/* Kontakt-Icons
	--------------------------------------------- */

	.mobile-contact {
		display: none;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		gap: 30px;
	}
	
	.main-navigation .mobile-contact {
		display: flex;
		gap: 56px;
		width: 100%;
		margin-top: auto;
	}
	
	.small .mobile-contact {
		display: flex;
	}

	.mobile-contact a {
		display: block;
		flex: 0 0 auto;
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}

	.mobile-contact a:hover,
	.mobile-contact a:focus {
		opacity: 0.75;
		transform: scale(1.08);
	}

	.mail_icon {
		width: 46px;
		height: 30px;
		background-image: url(images/Mail_Icon.svg);
	}

	.phone_icon {
		width: 50px;
		height: 50px;
		background-image: url(images/Telefon_Icon.svg);
	}
	
	
	.site-header .mail_icon {
		width: 37px;
		height: 24px;
	}

	.site-header .phone_icon {
		width: 42px;
		height: 41px;
	}
	
	.site-header .main-navigation .mail_icon {
		width: 45px;
		height: 32px;
	}

	.site-header .main-navigation .phone_icon {
		width: 49px;
		height: 52px;
	}
	
	
	
	
	
	body, button, input, select, optgroup, textarea { font-size: 22px;}
	.lead { font-size: 26px;}
	
	.intro h1 {font-size: 30px;}
	h1, h2, .footer-kontakt a {font-size: 70px; hyphens: auto;}
	h3 {font-size: 40px;}
	
	.site-header { padding-top: 50px;}
	.intro { margin-left: 8.33%; max-width: 100%;}
	
	.bildfarbe.vc_row {
		padding-top: 0;
		padding-bottom: 60px;
		margin-top: 70px;
		margin-bottom: 70px;
	}

	/* Farbfläche über die gesamte Breite */
	.bildfarbe::before {
		top: 80px;
		left: 15px !important;
		right: 0 !important;
		width: auto !important;
	}

	/*
	 * Oberes Bild:
	 * 5/6 der Bildschirmbreite,
	 * rechts am Browserrand ausgerichtet
	 */
	.bildfarbe .vc_parallax-inner {
		position: relative !important;
		top: 0 !important;
		left: auto !important;
		right: auto !important;

		width: calc(100vw * 5 / 6) !important;
		max-width: none !important;

		margin-left: auto !important;
		margin-right: calc(50% - 50vw) !important;
		margin-bottom: 50px;

		transform: none !important;
		aspect-ratio: 1165 / 777;

		background-size: cover !important;
		background-position: center center !important;
		z-index: 1 !important;
	}

	/*
	 * Unteres Bild:
	 * 5/6 der Bildschirmbreite,
	 * links am Browserrand ausgerichtet
	 */
    .bildlinks {
        position: relative;
        left: auto;
        right: auto;
        width: calc(50vw - 30px) !important;
        max-width: none !important;
        margin-left: calc(-1 * (50% + 22px)) !important;
        margin-right: auto !important;
        margin-top: 40px;
    }

	.bildlinks figure,
	.bildlinks .vc_single_image-wrapper {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.bildlinks img {
		display: block;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 373 / 249;
		object-fit: cover;
	}
	
	.home .bildfarbe.vc_row { margin-bottom: 120px;}
	
	.site-footer { padding-top: 50px;}
}


@media screen and (max-width: 767px) {
	.site-header { padding-top: 38px;}
	.site-branding a { width: 110px !important; height: 60px !important;}
	
	.site-main {  padding-top: 130px;}
	.intro { margin-left: 0;}
	
	h1, h2, .footer-kontakt a {font-size: 60px;}
	
	.vc_row { padding-top: 50px; padding-bottom: 50px;}
	
	.home .bildfarbe { display: flex; flex-direction: column; margin-bottom: 50px;}
	.home .bildfarbe .mobileswap.wpb_column { order: 2;}
	.mobileswap .wpb_wrapper {display: flex; flex-direction: column-reverse;}
	.bildfarbe .wpb_text_column.wpb_content_element { padding-left: 25px;}
	.home .bildfarbe .lead { margin-top: 70px; margin-bottom: 30px;}

	.bildlinks {
		width: calc(100vw * 5 / 6) !important;
		margin-left: calc(50% - 50vw) !important;
        margin-top: 80px;
	}
	
	.impressum { text-align: left;}
	.footer-logo { display: none;}
	.footer-kontakt a { font-size: 42px; }
}




