/*!
Theme Name: raez
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: raez
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.

raez 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
# Base
## Layouts
# Components
# plugins
# Utilities

--------------------------------------------------------------*/

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




/* ibm-plex-sans-200 - latin */
@font-face {
  font-display: swap;
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/raez/fonts/ibm-plex-sans-v19-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/raez/fonts/ibm-plex-sans-v19-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ibm-plex-serif-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('/wp-content/themes/raez/fonts/ibm-plex-serif-v19-latin-regular.svg#IBMPlexSerif') format('svg'); /* Legacy iOS */
}


/* Kasten
	 ===========*/
.hg-braun {
	margin-top: 60px;
	padding: 30px;
	color: #fff;
	background-color: var(--braun);
}

.hg-braun p {
    display: block;
    margin-block-end: 0.5em;
}

.hg-braun h3, .home .hg-braun h3  {
	font-size: 45px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-top: 0px;
    letter-spacing: 0px;
    padding-bottom: 3px;
} 

.hg-braun a {
	color: var(--hellbraun);
}

.hg-braun .wp-block-group__inner-container {
	padding-bottom: 0px;
}



#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a {
    border: solid 1px #333;
    color: #333;
    font-size: 16px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: .1s ease-in;
	background: #fff !important;
}

#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a, .et-db #et-boc .et-l .et_pb_module .sbi_follow_btn a {
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    padding: 10px 25px;
    margin: 25px 5px;

}

#sb_instagram .sbi_follow_btn a:hover, #sb_instagram .sbi_follow_btn a:focus {
    outline: none;
    box-shadow: inset 0 0 10px 20px #fff !important;
}





main {
	display: block;
}

html, body {
    margin: 0 auto !important;
    padding: 0  !important;
}



/* Colors
	 ========================================================================== */

:root {
  --braun: #8e8176;
  --hellbraun: #e0cbba;
	--weiss: #fff;
  --schwarz: #404040;
}


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

hr {
	box-sizing: content-box;
	height: 0;
}

.wp-block-separator {
    border: none;
    border-top: 0px solid var(--braun) ;
    margin-block-start: 6.5em;
    margin-block-end: 2.5em;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

a {
	background-color: transparent;
  text-decoration: none;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}


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

button,
input,
optgroup,
select,
textarea {
	font-family: 'IBM Plex Sans';
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

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

details {
	display: block;
}

summary {
	display: list-item;
}

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

template {
	display: none;
}

[hidden] {
	display: none;
}

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

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

html {
	box-sizing: border-box;
}

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

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: #fff;
}

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

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

ul {
	list-style: disc;
}

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

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0 2em 0;
}

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



/* Forms
--------------------------------------------- */

.wp-block-button__link {
  color: #fff;
  border: none;
  text-decoration: none;
  font-size: 1em;
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  padding: 0 0 10px 0px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.arrow-button .button-content {
  display: inline-flex;
  align-items: center;
  transition: transform .6s ease-in-out; /* Transition for moving the content */
}

.arrow-button .icon {
  margin-right: 8px;
}

.arrow-button .line {
  stroke-dasharray: 50; /* Initial line length */
  stroke-dashoffset: 0; /* Full line visibility */
  transition: transform .6s ease-in-out; /* Slow transition on hover */
}

.arrow-button .arrowhead {
  opacity: 0;
  transform: translateX(-10px); /* Starts off-screen */
  transition: opacity 1s ease, transform 0.6s ease; /* Smooth fade-in and move */
}

.button-text {
  margin-left: 4px;
  color: var(--braun);
}

.linie {
  margin-bottom: 16px;
}

.linie .button-text {
  color: var(--schwarz);
  display: inline;
  margin-left: 7px;
}

.bg-braun .button-text {
  color: var(--weiss);
}

.arrow-button:hover .button-content {
  transform: translateX(40px); /* Moves both the line and text together */
}

.arrow-button:hover .prev.button-content {
  transform: translateX(-40px); /* Moves both the line and text together */
}

.arrow-button:hover .line {
  transform: translateX(0px); /* Moves the line */
}

.arrow-button:hover .arrowhead {
  opacity: 1; /* Reveals the arrowhead */
  transform: translateX(0); /* Moves into place */
}

.arrow-button:not(:hover) .line {
  transition: transform 0.2s ease-in-out; /* Faster transition when not hovered */
}

.arrow-button:not(:hover) .arrowhead {
  transition: opacity 0.2s ease, transform 0.2s ease; /* Faster fade-out when mouse leaves */
}

.arrow-button:not(:hover) .button-text {
  transition: color 0.2s ease-in-out; /* Faster text color change */
}

.partner .arrow-button {
  margin-top: -5px;
  padding-top: 0px;
  padding-bottom: 20px;
}




button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: none;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 0em 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
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--schwarz);
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
}

p {
	margin-bottom: 1.5em;
}

h1 {
	clear: both;
  line-height: 1.15;
}

h2,
h3,
h4,
h5,
h6 {
	clear: both;
  line-height: 1.2;
}

.single h1 {
  color: var(--braun);
}

.single h2, .wp-block-query h2 {
  line-height: 1.3;
}

.home h2 {
  font-family: 'IBM Plex Serif';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 50px;
  font-display: swap;
}

h2 {
  font-weight: 200;
  font-size: 45px;
  margin-block-start: 22px;
  padding-top: 65px;
  max-width: 740px;
}

.home h3 {
  font-weight: 200;
  font-size: 45px;
  margin-block-start: 22px;
  max-width: 730px;
}

.single h3 {
  padding-top: 18px;
  padding-bottom: 18px;
}

.bg-braun h2, .bg-braun h3, .bg-braun p {
  color: var(--weiss);
}

h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 30px;
  font-weight: 200;
  margin-block-start: 8px;
  margin-block-end: 16px;
  padding-top: 5px;
  text-transform: none;
  letter-spacing: 0px;
  padding-bottom: 36px;
}




/* - - - - - -  -*/
/* Google-Karte */
/* - - - - - - -*/

.karte {
  background-color: var(--hellbraun);
}

.gmpMapDetailsContainer {
  opacity: 0.85 !important;
}


/* - - - - - -  -*/
/* Instagram Feed */
/* - - - - - - -*/

#sb_instagram #sbi_images {
  padding: 0 0 12px 0;
}



/* - - - - - - - - - -*/
/* WP Loop Categories */
/* - - - - - - - - - -*/

.wp-block-query :where(.wp-block-post-template.is-layout-grid) {
  gap: 40px;
}

html .wp-block-query h2,
html .page-template-page-taxonomy-filter-page .taxonomy-filter-page h2,
html .home .wp-block-query h2,
html .page-template-page-ohne-filter h2,
html .page-template-projekte-filter-kompakt h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 30px;
  font-weight: 300;
  margin-block-start: 8px;
  margin-block-end: 25px;
  padding-top: 5px;
  text-transform: none;
  letter-spacing: 0px;
}

.wp-block-query h2 a {
  color: #404040;
}

.wp-block-query h2 a:hover {
  color: var(--braun);
}

.cat-item, .cat-links, .taxonomy-category, .wp-block-post-terms {
  font-family: 'IBM Plex Serif';
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline;
  color: var(--braun);
  font-display: swap;
  font-style: normal;
}

.cat-item a, .single .cat-links a, .taxonomy-category, .wp-block-post-terms {
  pointer-events: none;
}

.cat-links a, .taxonomy-category a {
  margin-right: 4px;
}

.cat-links a:not(:first-child), .taxonomy-category a:not(:first-child){
  margin-left: 4px;
}

.post-edit-link, .tags-links {
  display: none;
}

li.cat-item + li.cat-item:before,
li.taxonomy-category + li.taxonomy-category:before,
li..wp-block-post-terms + li..wp-block-post-terms:before  {
  content: " | ";
  padding: 0 5px;
}

.category-separator {
  padding: 0 5px;
}

.wp-block-query .cat-item a, .cat-links a {
  text-decoration: none;
}

.wp-block-categories {
  margin-left: 0px;
  padding-left: 0px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 48px; /* Spacing between grid items */
}

.post-grid article {
  background-color: none; /* Optional: Add background color */
}

.wp-block-post-featured-image {
  position: relative;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  overflow: hidden;
  overflow: clip;
}

.taxonomy-filter-page h2 a {
  color: var(--schwarz);
}

.taxonomy-filter-page h2 a:hover {
  color: var(--braun);
}

.post-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.6667%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.post-thumbnail-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-department {
  padding-top: 5px;
  padding-bottom: 10px;
}

.taxonomy-list {
  list-style: none;
  padding-bottom: 100px;
  padding-inline-start: 0px;
}

.subcategory-list {
  margin-left: 0;
  padding-left: 0;
}

.subcategory-list li {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right: 15px;
}

.subcategory-list li a {
  padding: 5px 11px;
  text-transform: uppercase;
  font-family: 'IBM Plex Serif';
  font-weight: 400;
  letter-spacing: 0.5px;
  font-display: swap;
  font-style: normal;
}

.subcategory-list li a:hover,
.subcategory-list li a:focus,
.subcategory-list li a:focus-visible,
.subcategory-list li a:target {
  color: var(--braun) !important;
  padding: 5px 11px;
	border-bottom: 1px solid var(--braun);
}



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

html footer .site-info h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--weiss);
  font-weight: 200;
  font-size: 45px;
  text-transform: none;
  letter-spacing: 0px;
  margin-top: 10px;
  padding-top: 0px;
}

footer p, footer a, html footer a:focus, html footer a:visited, footer .button-text {
  color: var(--weiss);
  text-decoration: none;
}



/* Links
--------------------------------------------- */
a {
	color: var(--braun);
}

.bg-braun a {
	color: var(--weiss);
}

.bg-braun a:visited {
  color: var(--hellbraun);
}

a:visited {
	color: var(--braun);
}

a:hover,
a:focus,
a:active {
	color: var(--hellbraun);
}

a:focus {
	outline: thin dotted;
}

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



/* HEADER
--------------------------------------------- */

#masthead {
  background-color: var(--braun);
}

.home #masthead {
	height: 589px;
}

html .page #masthead {
	height: 589px;
}

html .single #masthead {
  height: 182px;
}

h1 {
	font-size: 4.2em;
	margin: 0.67em 0;
  padding-right: 30px;
	font-weight: 200;
	color: var(--weiss);
}

header p {
	color: var(--weiss);
}

.page .header-title {
	position: absolute;
	width: 100%;
	max-width: 1920px;
}

.page .header-title .container {
  max-width: 1328px;
  margin: 0 48px;
  display: grid;
  align-items: top;
  justify-content: space-between;
  grid-template-columns: 68.5% 31.5%;
  position: fixed;
  left: 50%;
  transform: translate(calc(-50% - 48px), -0%);
  width: calc(100% - 72px);
  padding: 0px;
  transition: opacity 0.5s ease;
}

.header-title-h1 h1 {
  margin-top: 12px;
  margin-bottom: 12px;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.page .header-title-h1 {
	margin-top: 270px;
}

.page #masthead.sticky .header-title-h1 {
	margin-top: 170px;
}

#masthead .sticky-logo {
  display: none;
}

#masthead.sticky .sticky-logo {
  display: inline;
}

#masthead.sticky .normal {
  display: none;
}

#masthead.sticky .custom-logo {
  width: 300px;
  margin: 14px 45px 18px 0px;
}



/* LAYOUT COLUMNS
--------------------------------------------- */

.wp-block-group__inner-container {
  padding-bottom: 180px;
}

.arrow-button .wp-block-group__inner-container {
  padding-bottom: 10px;
}

.wp-block-columns {
  padding-top: 70px;
  padding-bottom: 50px;
}

.wp-block-column p:first-child {
  margin-top: 7px;
}

.home .wp-block-query {
  padding-bottom: 160px;
}

.wp-block-columns.video-spalte, .wp-block-columns.projekte {
  padding-bottom: 0px;
  margin-bottom: 0.25em;
}

.wp-block-columns.video-legende {
  padding-top: 40px;
}

footer .wp-block-columns {
  padding-top: 80px;
  padding-bottom: 140px;
}

.gemeinsam.wp-block-columns:first-child  {
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}

.gemeinsam-zwei {
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}

.gemeinsam + .gemeinsam, .gemeinsam-zwei + .gemeinsam  {
  padding-top: 0px;
}

:where(.wp-block-columns) {
    margin-bottom: 0.25em;
}



/* - - - - - - - */
/* Single Layout */
/* - - - - - - - */

.single .header-title .container {
  max-width: 1328px;
  margin: 170px 48px 0 48px;
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: 68.5% 31.5%;
  position: fixed;
  left: 50%;
  transform: translate(calc(-50% - 48px), -0%);
  width: calc(100% - 72px);
  padding: 0px;
  transition: opacity 0.5s ease;
}

.single .wp-block-column p:first-child {
  margin-top: 10px;
}



/* - - - - -  */
/* SPALTEN */
/* - - - - -  */

.padding-left {
  padding-left: 110px;
}

.padding-right {
  padding-right: 110px;
}

footer .padding-right {
  padding-right: 80px;
}

.padding-left-p {
  text-indent: -70px; /* Einzug für die erste Zeile */
  margin-left: 70px;        /* Kein zusätzlicher Rand (optional) */
  margin-top: 0px;
}

p.padding-right, a.padding-right {
  padding-right: 70px;
  margin-top: 0px;
}

.padding-right-1spaltig {
  padding-right: 410px;
}

.padding-top {
  padding-top: 20px;
}

.padding-top-gross {
  padding-top: 170px;
}

html .kein-padding-top {
  padding-top: 0px;
  margin-top: 0px;
}

.kein-padding-bottom {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.wenig-padding-bottom {
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.kein-margin {
  margin: auto;
}

.single-projekt {
  max-width: 1080px;
  gap: 5em;
  margin: 0 auto;
  padding-bottom: 20px;
}


/* Blockquote
--------------------------------------------- */

.wp-block-quote {
  padding-bottom: 100px;
  margin: 0;
}

.wp-block-quote h2 {
  color: var(--braun);
}



/* Image
--------------------------------------------- */

.wp-block-cover {
  min-height: inherit;
  margin-bottom: 2em;
}

.page .wp-block-cover, .page .wp-block-cover-image {
  align-items: center;
  background-position: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  aspect-ratio: 3/2;
  overflow: hidden;
  overflow: clip;
  padding: 1em;
  position: relative;
  margin-bottom: 1.88em;
  width: 100%;
}

.wp-block-cover.quadratisch {
  aspect-ratio: 1/1;
}

.wp-block-cover .has-background-dim:not([class*=-background-color]), .wp-block-cover-image .has-background-dim:not([class*=-background-color]), .wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) {
  opacity: 0;
}

.full-width {
	width: 100vw;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0px);
	max-width: 1920px;
}

.full-width img {
	width: 100%
}




/* Braune Fläche
--------------------------------------------- */

.braun {
  color: var(--braun) !important;
}

.bg-braun {
  background-color: var(--braun) !important;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0px);
  padding: 5px 48px;
  max-width: 1920px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.bg-braun .wp-block-column, .taxonomy-filter-page, .page-template-page-ohne-filter, .page-template-projekte-filter-kompakt {
  max-width: 1328px;
  margin: 0 auto;
}

.bg-braun .wp-block-columns {
  padding-bottom: 55px;
}



/* Navigation
--------------------------------------------- */

.custom-logo {
  margin: 18px 45px 18px 0px;
}

a.menu-logo {
  z-index: 1000;
	padding-right: 40px;
}

.top-nav {
  display: grid;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  width: calc(100% - 72px);
  padding: 36px 0 0 0;
  grid-template-areas: "a b";
  position: fixed;
  left: 50%;
  transform: translate( calc(-50%), -0%);
  top: 0;
}

.menu-button-container {
	display: inline-block;
	z-index: 777;
	width: 45px;
	cursor: pointer;
  height: 20px;
	margin-top: 56px;
}

#menu-toggle {
  display: none;
}

.menu-button::before,
.menu-button::after {
  background-color: var(--weiss);
  position: absolute;
  height: 1px;
  width: 45px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
	margin-top: 20px;
	justify-self: end;
	grid-column: -1; /* Place item in the last column */
}

.menu-button {
  display: block;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-45deg);
}

.menu-top-menu-container > .menu > li {
  display: flex;
  justify-content: center;
  padding: 0.5em 0;
  width: 100%;
  color: white;
}

.menu-top-menu-container > .menu > li > a {
  text-decoration: none;
}

.menu-top-menu-container > .menu {
  position: absolute;
  top: 0;
  padding-top: 170px;
  padding-left: 0;
  left: -36px;
  flex-direction: column;
  width: 100vw;
  justify-content: center;
  align-items: center;
}

 #menu-toggle:checked ~ .menu-top-menu-container > .menu {
	height: 100vh;
	background-color: var(--braun);
}

#menu-toggle ~ .menu-top-menu-container > .menu li {
  height: 0;
  padding: 0;
  border: 0;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

 #menu-toggle ~ .menu-top-menu-container > .menu a {
	 display: none;
 }

 #menu-toggle:checked ~ .menu-top-menu-container > .menu a {
	 display: flex;
	 font-size: 38px;
   color: var(--weiss);
	 font-weight: 200;
 }

 #menu-toggle:checked ~ .menu-top-menu-container > .menu li a:hover {
   color: var(--weiss) !important;
 }

#menu-toggle:checked ~ .menu-top-menu-container > .menu li {
  border: 0px solid #333;
  height: 5.1em;
  padding: 0.5em;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-top-menu-container .menu > li:not(:last-child) {
  border-bottom: 0px solid #444;
}

.menu li a, .menu li a:visited {
  color: var(--weiss);
}
 .menu li a:active {
  color: var(--braun);
}

.menu .current-menu-item a {
  color: var(--weiss) !important;
}


/* Navigation Sticky
--------------------------------------------- */

.home #masthead, .page #masthead, .single #masthead {
  position: fixed;
  width: 100%;
  z-index: 999;
  margin: 0 auto;
  transform: translate(0%, 0%);
  top: 0;
  max-width: 1920px;
}

.home #masthead.sticky, .page #masthead.sticky {
  position: fixed;
  background-color: var(--braun);
  height: 140px;
  border-radius: 0px;
  z-index: 99999;
  -webkit-transition: height 300ms ease-out;
  transition: height: 300ms ease-out;
}

.single #masthead.sticky {
  position: fixed;
  margin-bottom: 20px;
  background-color: var(--braun);
  border-radius: 0px;
  z-index: 99999;
  -webkit-transition: height 300ms ease-out;
  transition: height: 300ms ease-out;
  top: 0;
  height: 135px;
}

.sticky .top-nav {
  padding: 15px 0 0 0;
}

p.mobile {
  padding-top: 30px;
  color: var(--braun);
}


/* footer */
.site-info .widget {
  margin: 0 48px;
}





@media all and (min-width: 1380px) {
.page-id-50 #header-container > h1 {
	padding-right: 60px;
}
}




@media all and (max-width: 1028px) {

.padding-left, p.padding-left {
  padding-left: 0px;
}

.padding-right {
  padding-right: 0px;
}

.page .header-title .container {
  grid-template-columns: 60% 40%;
}
}



@media all and (min-width: 929px) and (max-width: 1300px) {

.padding-left, p.padding-left {
  padding-left: 36px;
}

.padding-right {
  padding-right: 36px;
}

.home h3, html footer .site-info h2, h2 {
  font-size: 36px;
}

html .wp-block-query h2,
html .page-template-page-taxonomy-filter-page .taxonomy-filter-page h2,
html .home .wp-block-query h2,
html .page-template-page-ohne-filter h2,
html .page-template-projekte-filter-kompakt h2 {
    font-size: 26px !important;
}
}





html .page-template-projekte-filter-kompakt button.accordion-toggle {
  background: none;
  border: none;
  border-color: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  padding-left: 0px;
  padding-right: 6px;
}

.page-template-projekte-filter-kompakt .taxonomy-filter {
  margin-bottom: 40px;
}

.page-template-projekte-filter-kompakt .chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 1px 1px 0 0;
  transform: rotate(135deg) translateY(6px) translateX(0px); /* Rotation und Verschiebung nach oben */
  transition: transform 0.3s ease;
  transform-origin: center; /* Drehpunkt in der Mitte */
}

.page-template-projekte-filter-kompakt .subcategory-list {
  display: none;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  margin-left: -21px;
}

.page-template-projekte-filter-kompakt p.mobile, .page-template-projekte-filter-kompakt .main-department, .page-template-projekte-filter-kompakt .taxonomy-list {
  display: inline !important;
}

.page-template-projekte-filter-kompakt p.mobile  {
  margin-right: 60px;
}

.page-template-projekte-filter-kompakt .filter-cat {
  margin-right: 10px;
}

.page-template-projekte-filter-kompakt .subcategory-list li {
  display: block;
}

.page-template-projekte-filter-kompakt .main-department {
  margin-top: -16px;
  position: absolute;
}

.page-template-projekte-filter-kompakt .main-department:first-child {
  z-index: 10000;
}

.page-template-projekte-filter-kompakt .main-department:last-child {
  margin-left: 130px;
  z-index: 10001;
}





@media all and (max-width: 929px) {

body, button, input, select, optgroup, textarea {
  font-size: 17px;
  line-height: 1.45;
}

html button.accordion-toggle {
  background: none;
  border: none;
  border-color: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  padding-left: 0px;
}

.page .header-title-h1 {
  margin-top: 220px;
}

html .page #masthead {
  height: 549px;
}

html .home main {
  margin: 549px auto 0 !important;
}

.top-nav {
  padding: 13px 0 0 0;
}

.home #masthead.sticky, .page #masthead.sticky, .single #masthead.sticky {
  height: 115px;
}

#masthead.sticky ~ main  {
  margin: 255px auto 0 !important;
}

.header-title .container {
  grid-template-columns: 100%;
}

.wp-block-group__inner-container {
  padding-bottom: 40px;
}

.header-title-h1 {
  margin-top: 130px;
}

h1, html footer .site-info h2 {
  font-size: 33px;
  font-weight: 200;
}

h2 {
  font-weight: 200;
  font-size: 33px;
}

.home h3 {
  font-size: 33px;
  margin-block-start: 16px;
  margin-block-end: 17px;
  padding-bottom: 14px;
}

.home h2 {
  padding-top: 0px;
}

html .wp-block-query h2,
html .page-template-page-taxonomy-filter-page .taxonomy-filter-page h2,
html .home .wp-block-query h2,
html .page-template-page-ohne-filter h2
html .page-template-projekte-filter-kompakt h2 {
  font-size: 24px
}

.menu-button-container {
  margin-top: 48px;
}

#masthead.sticky  .menu-button-container {
  margin-top: 41px;
}

.menu-top-menu-container {
  width: 100%;
}

.wp-block-columns {
  padding-top: 60px;
  padding-bottom: 60px;
}

.wp-block-cover, .wp-block-cover-image {
  min-height: 200px;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 2em;
}

.bg-braun {
  padding: 0px 48px;
}

footer .wp-block-columns {
  padding-top: 60px;
  padding-bottom: 30px;
}
}




@media all and (max-width: 780px) {

h2 {
  font-weight: 200;
  padding-top: 5px;
}

.page .header-title .container {
  grid-template-columns: 100%;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 0em;
}

.single .wp-block-columns {
  padding-top: 44px;
  padding-bottom: 44px;
}

.single-projekt {
  gap: 1em;
}

.kein-gap {
  gap: 0em;
}

.kein-gap > div > p {
  margin-block-start: 0px !important;
}

.post-grid {
  grid-template-columns: 1fr;
}

html .arrow-button .button-content {
  transform: translateX(0px) !important;
}

html .desktop {
  display: none !important;
}

.page .wp-block-cover, .page .wp-block-cover-image {
    margin-bottom: 1.5em;
}

.page .wp-block-cover, .page .wp-block-cover-image, .karte {
    margin-top: 2.58em !important;
}

.gemeinsam .wp-block-cover:last-of-type, .video-spalte .wp-block-cover:last-of-type {
  margin-top: .6em !important;
}

.single h3 {
  padding-bottom: 8px;
}

p.padding-left-p, a.padding-left-p {
    padding-left: 48px;
    margin-top: 0px;
}

footer .arrow-button {
  padding: 0 0 56px 0;
}

footer .padding-right {
    padding-right: 20px;
}

.team > .wp-block-column {
  margin-bottom: 30px;
}

.team > .wp-block-column > figure {
  margin-bottom: 24px !important;
}

.impressum {
  padding-top: 30px;
}

.single h2 {
  font-size: 26px !important;
}
}




@media all and (min-width: 781px) {
html .mobile {
  display: none !important;
}
}



@media all and (min-width: 481px) {

.single .entry-title {
  margin: 0.25em 0 1.1em -2px;
}

p.mobile {
  display: none !important;
}
}




@media all and (max-width: 480px) {

.page-template-projekte-filter-kompakt p.mobile  {
  margin-right: 20px;
}

.page-template-projekte-filter-kompakt .main-department {
   margin-top: -8px;
 }

.page-template-projekte-filter-kompakt .main-department:last-child {
   margin-left: 80px;
 }

.page-template-projekte-filter-kompakt .main-department:first-child, .page-template-projekte-filter-kompakt p.mobile {
  display: block !important;
}

.page-template-projekte-filter-kompakt p.mobile {
  display: block !important;
  margin-bottom: 5px;
}

 .page-template-projekte-filter-kompakt .taxonomy-filter {
  margin-bottom: 70px;
}

.subcategory-list li {
  padding-top: 8px;
  padding-bottom: 5px;
}

.header-title-h1 {
  margin-top: 160px !important;
}

.page #masthead.sticky .header-title-h1 {
   margin-top: 115px !important;
}

a.menu-logo {
  z-index: 1000;
  padding-right: 40px;
  max-width: 323px;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
  width: calc(100% - 72px);
}

html article.page, html article.single {
  width: calc(100% - 72px);
}

html .single article {
  width: calc(100% - 72px);
}

.page .header-title .container {
  margin: 0 36px;
  transform: translate(calc(-50% - 36px), -0%);
  width: calc(100% - 72px);
}

.single .header-title .container {
  margin: 170px 36px 0 36px;
  transform: translate(calc(-50% - 36px), -0%);
  width: calc(100% - 72px);
}

.top-nav {
  height: 90px;
  width: calc(100% - 72px);
  max-width: 408px;
}

.bg-braun {
    padding: 5px 36px;
}

.site-info .widget {
  margin: 0 36px;
}

.header-title-h1 h1 {
  max-width: 310px;
}

html button.accordion-toggle {
  padding: 3px 0 3px 0;
}

.accordion-toggle.active + .subcategory-list {
  display: block; /* Zeigt die Liste, wenn aktiv */
}

.subcategory-list {
  display: none; /* Versteckt die Liste */
}

.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 1px 1px 0 0;
  transform: rotate(135deg) translateY(6px) translateX(0px); /* Rotation und Verschiebung nach oben */
  transition: transform 0.3s ease;
  transform-origin: center; /* Drehpunkt in der Mitte */
}

.filter-cat {
  margin-right: 10px;
}

.accordion-toggle.active .chevron {
  transform: rotate(-45deg) translateY(-3px) translateX(-3px); /* Rotates the chevron when active */
}

html .arrow-button .button-content {
	flex: 1 100%;
}

html .arrow-button .next.button-content .nav-subtitle{
  order: -1;
  padding-right: 6px;
}

body, button, input, select, optgroup, textarea {
  font-size: 16px;
}
}



@media all and (min-width: 930px) and (max-width: 1090px) {

html .menu li {
  margin-right: 8px;
}

a.menu-logo {
  padding-right: 30px;
}
}



@media all and (min-width: 930px) and (max-width: 1180px) {

h1 {
  font-size: 55px;
  padding-right: 20px;
}

.single .entry-title {
  max-width: 880px;
  margin: 0.25em 0 1.1em -3px;
}
}




@media all and (min-width: 1181px) {
.single .entry-title {
  max-width: 880px;
  margin: 0.25em 0 1.1em -5px;
}
}




@media all and (max-width: 929px) {

.arrow-button .arrowhead {
  opacity: 1; /* Reveals the arrowhead */
  transform: translateX(0); /* Moves into place */
}
}




@media all and (min-width: 930px) {

.header-title-h1 h1 {
  margin-left: -3px;
}

main {
  padding: 0 0 80px 0px;
	background-color: var(--weiss);
}

.site-info {
	max-width: 1328px;
	padding: 80px 0px 0;
  margin: 0 auto;
}

.menu-button-container {
  display: none;
}

.menu-top-menu-container > .menu {
  display: inline-block;
  position: relative;
  clear: both;
  left: 0px;
  padding-top: 0;
  width: 100%;
  left; 0;
}

#menu-toggle ~ .menu-top-menu-container > .menu li {
  display: inline;
  position: relative;
}

#menu-toggle ~ .menu-top-menu-container > .menu a {
  display: inline-block;
}

.menu li {
  font-size: 18px;
  margin-right: 41px;
	display: inline;
}

.menu li a {
	text-decoration: none;
}

.menu li:last-child {
  margin-right: 0px;
}

.menu li a, .menu li a:visited {
  color: var(--braun);
}

.menu-top-menu-container .menu li a:active, .menu li a:hover, .menu-top-menu-container .menu li a:focus, .menu-top-menu-container .menu li a:focus-visible, .menu li a:target {
  color: var(--weiss) !important;
}

.menu .current-menu-item a {
  color: var(--weiss) !important;
}

.top-nav {
	max-width: 1328px;
  display: block;
  min-width: 870px;
}

.menu-top-menu-container {
  display: inline-block;
  position: relative;
  vertical-align: top;
  margin-top: 59px;
	float: right;
}

#masthead.sticky .menu-top-menu-container {
  margin-top: 38px;
}

.menu-button-container {
  display: none;
}

.menu-top-menu-container > .menu {
  display: inline-block;
  position: relative;
  clear: both;
  left: 12px;
  padding-top: 0;
  width: 100%;
  left; 0;
}

#menu-toggle ~ .menu-top-menu-container > .menu li {
  display: inline;
  position: relative;
}

#menu-toggle ~ .menu-top-menu-container > .menu a {
  display: inline-block;
	padding: 5px 11px;
}

.menu li {
  margin-right: 42px;
}

.menu li:last-child {
  margin-right: 0px;
}

.menu li a, .menu li a:visited {
  color: var(--weiss);
}

.menu-top-menu-container .menu li a:active,
.menu li a:hover,
.menu-top-menu-container .menu li a:focus,
.menu-top-menu-container .menu li a:focus-visible,
.menu li a:target,
li.current-menu-item a,
li.current_page_item a {
  color: var(--weiss) !important;
	border-bottoM: 1px solid var(--weiss);
}

.menu .current-menu-item a {
  color: var(--weiss) !important;
}
}






.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 auto 1.5em;
  max-width: 1328px;
  width: calc(100% - 72px);
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
  padding-top: 40px;
}

.single .nav-links .padding-left {
  padding-left: 0px;
}

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

body > div:nth-child(4) {
	display: none !important;
}


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

.post,
.page,
.single {
	margin: 0em;

}

html article.page, html article.single {
  max-width: 1328px;
  width: calc(100% - 72px);
}

html .single article {
  max-width: 1328px;
  width: calc(100% - 72px);
  margin: 0 auto;
}

.page, .single {
	margin: 0 auto;
	max-width: 1920px;
}

header {
  margin: 0 auto ;
  width: 100%;
}

html .home main {
    margin: 589px auto 0;
}

.page main, .single main {
	/* max-width: 1328px; */
  margin: 690px auto 0;
  width: 100%;
}

.page-template-page-taxonomy-filter-page main {
  margin: 665px auto 0;
  width: 100%;
}

.page-template-page-ohne-filter main, .page-template-projekte-filter-kompakt main {
  margin: 750px auto 0;
  width: 100%;
}

.taxonomy-filter {
  max-width: 890px;
}

.single main {
  margin: 320px auto 0;
}

html .home #masthead.sticky ~ main {
  margin: 140px auto 0 !important;
}

html .page #masthead.sticky ~ main  {
  margin: 470px auto 0;
}

.home main {
	padding: 0px;
}

.home .entry-content {
	margin: 0px;
}

#masthead.sticky ~ .entry-content {
	margin: 0px;
  padding-top: 170px;
}

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

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

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





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

.site-footer {
	background-color: var(--braun);
	padding-bottom: .5em;
  margin-top: 80px;
}


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

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



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

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}



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

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

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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