/*!
Theme Name: Gysin theme
Theme URI: http://madebymuse.de/
Author: muse digitalagentur
Author URI: http://madebymuse.de/
Description: Theme für Gysin Tiefbau
Version: 1.1.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: muse theme

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

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

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

/**
 * 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: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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

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

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

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

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

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

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

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

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

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1281px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

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

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

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


/* STYLES GYSIN 
--------------------------------------------- */
@view-transition {
    navigation: auto;
}

:root{
	--gs-green: #008e5a;
	--gs-dark: #000;
  --gs-yellow: #ffd851;
  }


  /* 
  @font-face {
	font-family: 'Montserrat';
	font-style: normal;
	src: url('/wp-content/themes/muse-default-theme/css/Montserrat/Montserrat-VariableFont_wght.ttf'); /* IE9 Compat Modes */
  /*}   
  */


@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Bold.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Bold.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-ExtraLight.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-ExtraLight.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Light.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Light.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Medium.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Medium.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Regular.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Regular.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Thin.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Thin.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-SemiBold.woff2') format('woff2'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-SemiBold.woff') format('woff'),
        url('/wp-content/themes/muse-default-theme/css/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Th.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Md.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_XBd.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soleto';
    src: url('/wp-content/themes/muse-default-theme/css/Soleto/Soleto_Trial_Blk.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



body{
	font-family: 'Soleto', sans-serif;
	margin: 0 !important;
  color: var(--gs-dark);
  font-size: 20px;
  font-weight: 400;
}

html, body{
  	margin: 0;
	padding: 0;
	perspective: unset;
	-webkit-perspective: unset;
  -webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
text-rendering: optimizeLegibility;
overflow-x: clip;

}

/* HEADER */
#masthead {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1;
	z-index: 10000;
	transition: 0.4s ease-in-out;
	
  }

.inner-mastheader {
	width: 92%;
	max-width: 1580px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-wrap: wrap;
  flex-direction: row-reverse;
	justify-content: space-between;
	align-items: start;
	padding: 40px 0 0;
  }

  .site-branding {
  max-width: 230px;
  width: 100%;
  position: fixed;
  right: 4%;
  z-index: 2000;
  -webkit-transition: .2s ease-in-out, transform .3s ease-in-out;
  -moz-transition: .2s ease-in-out, transform .3s ease-in-out;
  -o-transition: .2s ease-in-out, transform .3s ease-in-out;
  transition: .2s ease-in-out, transform .3s ease-in-out;
}
body:not(.nav_opend) .site-branding.hide-logo {
  transform: translateY(-300px);
}
/* NAVIGATION */

#site-navigation {
    background: rgba(0, 134, 90, 0.95);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    view-transition-name: site-navigation;
    clip-path: polygon(
        100% 0,
        100% 0,
        100% 100%,
        100% 100%
    );

    pointer-events: none;
    will-change: clip-path;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.navigation-arriving #site-navigation {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%
    );

    pointer-events: auto;
    animation: none;
}


#site-navigation.open {
    pointer-events: auto;
    animation: navigation-open 0.55s linear forwards;
}

@keyframes navigation-open {

    0% {
        clip-path: polygon(
            100% 0,
            100% 0,
            100% 100%,
            100% 100%
        );
    }

    30% {
        clip-path: polygon(
            75% 0,
            100% 0,
            100% 100%,
            62% 100%
        );
    }

    65% {
        clip-path: polygon(
            35% 0,
            100% 0,
            100% 100%,
            22% 100%
        );
    }

    90% {
        clip-path: polygon(
            7% 0,
            100% 0,
            100% 100%,
            2% 100%
        );
    }

    100% {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}

#site-navigation.closing {
    pointer-events: none;
    animation: navigation-close 0.55s linear forwards;
}

@keyframes navigation-close {

    0% {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    30% {
        clip-path: polygon(
            0 0,
            72% 0,
            60% 100%,
            0 100%
        );
    }

    65% {
        clip-path: polygon(
            0 0,
            35% 0,
            22% 100%,
            0 100%
        );
    }

    90% {
        clip-path: polygon(
            0 0,
            7% 0,
            2% 100%,
            0 100%
        );
    }

    100% {
        clip-path: polygon(
            0 0,
            0 0,
            0 100%,
            0 100%
        );
    }
}

.outer_navwrapper{
  width: 82%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.outer_navwrapper .social-icons .textwidget {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
}
.outer_navwrapper .social-icons .textwidget {
  display: flex;
  flex-wrap: wrap;
}
#primary-menu{
  display: flex;
  flex-flow: column;
  margin-top: 120px;
}
#primary-menu a {
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 62px);
  text-transform: uppercase;
  display: inline-block;
  transition: 0.3s ease-in-out;
}
#primary-menu a:hover,
#primary-menu .current-menu-item a{
  color: #000;
}
#secondary-menu{
  display: flex;
  flex-flow: column;
  margin-bottom: 90px;
  line-height: 2.1;
}
#secondary-menu a {
  color: #fff;
  font-weight: 800;
  font-size: clamp(18px, 2.5vw, 26px);
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
  display: inline-block;
}
#secondary-menu a:hover,
#secondary-menu .current-menu-item a{
  color: #000;
}
#site-navigation .inner_sitenavigation{
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100vh;
}

#history-back {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  background: transparent;
  cursor: pointer;
  position: fixed;
  left: 4%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2000;
  cursor: pointer;
  transform: translateY(-5px);
}
#history-back svg {
  transform: rotate(-90deg);
  width: 100%;
}
.hamburger {
    width: 40px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: fixed;
    left: 4%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2000;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    transition:
        width 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease-in-out;
    transform-origin: center;
}

.change_color .hamburger span {
  background: var(--gs-green);
}


.hamburger span:nth-child(1) {
    width: 100%;
}

.hamburger span:nth-child(2) {
    width: 50%;
}

.hamburger span:nth-child(3) {
    width: 75%;
}

/* Klasse .open auf den Button legen */
.hamburger.open span {
    width: 100%;
    background: #fff !important;
}
.hamburger:hover span {
    background: #000 !important;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(12.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-12.5px) rotate(-45deg);
}


/* HERO AREA */
#hero{
    position: relative;
    width: 100%;
    height: calc(100vh + 2px);
    height: calc(100svh + 2px);
    min-height: calc(100vh + 2px);
    min-height: calc(100svh + 2px);
    overflow: hidden;
    margin: 0 0 -2px;
}

#sub-hero{
    position: relative;
    width: 100%;
    height: calc(100vh + 2px);
    height: calc(100svh + 2px);
    min-height: calc(100vh + 2px);
    min-height: calc(100svh + 2px);
    overflow: hidden;
    margin: 0 0 -2px;
}

#pg-8-0,
#hero,
#hero > .panel-grid-cell{
    margin-bottom: 0 !important;
    padding-bottom: 0;
}
/* ==================================================
   HERO – BESTEHENDE ANIMATIONEN
   ================================================== */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg .sow-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;

    animation: heroZoom 5s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}

@keyframes heroZoom {
    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1);
    }
}

.hero-bg img {
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    height: 120% !important;
    object-fit: cover;

    transform: translate3d(
        0,
        calc(-50% + var(--hero-parallax, 0px)),
        0
    );

    will-change: transform;
    backface-visibility: hidden;
}


/* ==================================================
   VIEW TRANSITION – SEITENINHALT
   ================================================== */

#primary {
    view-transition-name: page-content;
}


/*
 * Root selbst nicht zusätzlich überblenden.
 *
 * Navigation und #primary besitzen ihre eigenen
 * View-Transition-Snapshots.
 */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
}


/* ==================================================
   PAGE CONTENT CROSSFADE
   ================================================== */

/*
 * Alter und neuer #primary-Snapshot liegen
 * während der Transition übereinander.
 */
::view-transition-image-pair(page-content) {
    isolation: isolate;
}


::view-transition-group(page-content) {
    animation-duration: 0s;
}

/*
 * Standard-Blending des Browsers ausschalten.
 * Wir steuern die Opacity selbst.
 */
::view-transition-old(page-content),
::view-transition-new(page-content) {
    mix-blend-mode: normal;
}


/*
 * Alte Seite weich ausblenden.
 */
::view-transition-old(page-content) {
    animation: page-content-out 0.65s ease-in-out both;
}


/*
 * Neue Seite gleichzeitig weich einblenden.
 */
::view-transition-new(page-content) {
    animation: page-content-in 0.65s ease-in-out both;
}

html.white-wipe-arriving::view-transition-old(page-content) {
    animation: none !important;
    opacity: 0 !important;
}

html.white-wipe-arriving::view-transition-new(page-content) {
    animation: none !important;
    opacity: 1 !important;
}
html.white-wipe-arriving::view-transition-new(root) {
    opacity: 0 !important;
}


@keyframes page-content-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


@keyframes page-content-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.scr_down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  bottom: 50px;
}
.hero-text {
  position: absolute;
  z-index: 10;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 1480px;
}
#sub-hero .hero-text {
  bottom: auto;
  top: 90px;
}
#sub-hero h1, #sub-hero p, #sub-hero a{
  color: #fff;
}
#sub-hero h1::after{
  display: none !important;
}
.arrow-down{
    cursor: pointer;
    max-width: 40px;
    margin-top: -40px;
    transition: 0.8s ease-in-out;
    transform: translateY(60px);
    opacity: 0;
}
.arrow-down.slideIn{
  transition-delay: 0.4s;
transform: translateY(0px);
    opacity: 1;
}
.arrow-down {
  animation: arrowFloat 1.6s ease-in-out infinite;
}

@keyframes arrowFloat {
  0%, 100% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(20px);
  }
}



/* HEADLINES & PARAGRAPHS*/

h1, h2, h3, h4, h5, #hero p{
  font-family: "Soleto";
  font-weight: 600;
}
h1, h2{
font-size: clamp(28px, 4.5vw, 62px);
line-height: 1.1;
font-weight: 800;
position: relative;
text-transform: uppercase;
}

.textwidget h1, .textwidget h2{
  transform: translateY(60px);
  opacity: 0;
  transition: 0.4s ease-in-out;
}
 .panel-grid:not(#pg-8-0) .textwidget h3, .panel-grid:not(#pg-8-0) .textwidget h4, .panel-grid:not(#pg-8-0) .textwidget h5, .panel-grid:not(#pg-8-0) .textwidget p, .muse-news-accordion .muse-news-header-content, .muse-news-accordion .muse-news-header-image, .inner-accordeon, .accordeon-wrapper-w-images .accordeon-item > .panel-grid-cell:nth-child(2), .accordeon-wrapper-w-images .accordeon-item > .panel-grid-cell:first-child{
  transform: translateY(60px);
  opacity: 0;
  transition: 0.5s ease-in-out;
 }
  #services_home .textwidget h3, #services_home  .textwidget h4, #services_home  .textwidget h5, #services_home  .textwidget p, .muse-news-accordion h3, #site-navigation , .meta-nav p, .scr_down p, #site-navigation p, .accordeon-item p, .muse-news-content p, .team-grid p{
  transform: translateY(0px) !important;
  opacity: 1 !important;
 }
.textwidget h1.slideIn, .textwidget h2.slideIn{
  transform: translateY(0px);
  opacity: 1;
}
.panel-grid:not(#pg-8-0) .textwidget h3.slideIn, .panel-grid:not(#pg-8-0) .textwidget h4.slideIn, .panel-grid:not(#pg-8-0) .textwidget h5.slideIn, .panel-grid:not(#pg-8-0) .textwidget p.slideIn, .muse-news-accordion .muse-news-header-content.slideIn, .muse-news-header-image.slideIn, .inner-accordeon.slideIn, .accordeon-wrapper-w-images .accordeon-item > .panel-grid-cell:nth-child(2).slideIn, .accordeon-wrapper-w-images .accordeon-item > .panel-grid-cell:first-child.slideIn{
  transform: translateY(0px);
  opacity: 1;
 }
 .animate_img img{
  transition: 1s ease-in-out;
  opacity: 0;
/* clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); */
 }

 .animate_img.slideIn img{
  
  opacity: 1;
 }
 #pgc-8-2-0 {
  position: relative;
  z-index: 1;
}
#site-navigation p, #site-navigation a{
  color: #fff;
}
.inner_sitenavigation + section {
  width: 50%;
  position: absolute;
  right: 0;
  bottom: 90px;
  max-width: 580px;
}
#site-navigation p{
  margin-bottom: 0;
}
footer h2,
.ap_row_projects h2{
font-size: clamp(24px, 4vw, 52px);
}
.ap_row_projects h2{
    color: var(--gs-green);
    margin-top: 20px;
}
.ap_projects_img img {
  position: absolute !important;
  bottom: 0;
  right: 0;
  height: 110% !important;
  width: 45% !important;
  object-fit: contain;
  object-position: bottom right;
}
.ap_row_projects{
background: linear-gradient(to bottom, #eaeaeb 0%,#c9c9cb 100%);
position: relative;
overflow: hidden;
}

h1::after, .headline_has_line h2:after {
  content: "";
  width: 150px;
  height: 6px;
  background: var(--gs-green);
  position: absolute;
  bottom: -30px;
  left: 0;
}
#hero p:not(:last-child){
  _font-size: clamp(18px, 2.5vw, 36px);
  font-size: clamp(18px, 2.6vw, 38px);
  color: #fff;
  font-weight: 600;
  transition: 0.5s ease-in-out;
  opacity: 0;
transform: translateY(90px);
}
#hero p strong{
font-weight: 800;
font-size: clamp(48px, 6.75vw, 100px);
transition: 0.8s ease-in-out;
opacity: 0;
transform: translateY(90px);
}
#hero p:not(:last-child) {
  line-height: 1.25;
}
#hero p:not(:last-child).slideIn{
opacity: 1;
transform: translateY(0px);
}
#hero p.slideIn strong{
  transition-delay: .3s;
opacity: 1;
transform: translateY(0px);
}

/* CONTENT-WRAPPER / SECTIONS */

.content-section {
  width: 82%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 80px;
}
.content-section-sticky-left {
  position: relative;
  margin-left: 0; 
  margin-right: auto; 
  width: calc(82% + (100% - 82%) / 2); 
  max-width: calc(1480px + (100% - 1480px) / 2);
}

.content-section-sticky-right {
  position: relative;
  margin-left: auto; 
  margin-right: 0;   
  width: calc(82% + (100% - 82%) / 2);
  max-width: calc(1480px + (100% - 1480px) / 2);
}

.no-pt{
	padding-top: 0 !important;
  }
  .no-pb{
	  padding-bottom: 0 !important;
  }
 .textbox-w-bg {
  background: #fff;
  margin-right: -30%;
  position: relative;
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 0px;
} 

#services_home .panel-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#services_home .panel-grid {
  width: calc(33.333% - 25px);
}
#pg-8-2 {
  margin-bottom: 40px !important;
}
#services_home > .panel-layout > .panel-grid {
  margin-bottom: 70px !important;
}
#pg-8-3 .content-section {
  padding-bottom: 40px !important;
}
#services_home strong {
  font-size: 30px;
  hyphens: auto !important;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gs-dark);
  display: block;
  margin-top: 5px;
}
#services_home p a {
  text-decoration: none;
  font-weight: 600;
  color: var(--gs-green);
  line-height: 1.2;
  position: relative;
  font-size: 19px;
  display: block;
}
#services_home p a::after {
  content: "";
  width: 110px;
  height: 4px;
  background: var(--gs-green);
  position: absolute;
  bottom: -20px;
  left: 0;
}
.yellow_bg_section{
  background: var(--gs-yellow);
}

.facts strong {
  font-size: clamp(48px, 6.5vw, 90px);
  color: var(--gs-green);
}
.facts p {
  color: var(--gs-green);
  line-height: 1.2;
}

/* Die Zelle, in der alle 8 Widgets liegen */
.facts .panel-grid-cell {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(12, 70px);
    column-gap: clamp(40px, 8vw, 160px);

    width: 100%;
    min-height: 900px;
    position: relative;
}

/* Einzelne Fact-Widgets */
.facts .panel-grid-cell > .so-panel {
    margin: 0 !important;
    position: relative;
    align-self: start;
}

/* Vom Pagebuilder gesetzte Abstände entfernen */
.facts .panel-grid-cell > .so-panel,
.facts .panel-grid-cell > .so-panel .textwidget,
.facts .panel-grid-cell > .so-panel p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Zahlen */
.facts .textwidget strong {
    display: block;
    font-size: clamp(60px, 7vw, 120px);
    line-height: 0.8;
    font-weight: 700;
}

/* Beschriftung */
.facts .textwidget p {
    font-size: clamp(16px, 1.4vw, 24px);
    line-height: 1.15;
    font-weight: 600;
}

/*
 * Anordnung
 * grid-column: Spalte 1–3
 * grid-row: vertikale Position
 */

.facts .panel-grid-cell > .so-panel:nth-child(1) {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(2) {
    grid-column: 1;
    grid-row: 3 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(3) {
    grid-column: 2;
    grid-row: 4 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(4) {
    grid-column: 3;
    grid-row: 5 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(5) {
    grid-column: 1;
    grid-row: 7 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(6) {
    grid-column: 2;
    grid-row: 8 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(7) {
    grid-column: 3;
    grid-row: 9 / span 2;
}

.facts .panel-grid-cell > .so-panel:nth-child(8) {
    grid-column: 1;
    grid-row: 11 / span 2;
}

@media (max-width: 767px) {
    .facts .panel-grid-cell {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 70px;
        min-height: 0;
    }

    .facts .panel-grid-cell > .so-panel:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        margin-left: 0;
        width: 85%;
    }

    .facts .panel-grid-cell > .so-panel:nth-child(even) {
        justify-self: end;
    }

    .facts .panel-grid-cell > .so-panel:nth-child(odd) {
        justify-self: start;
    }
}



.facts {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    --facts-left: -100vw;
    --facts-right: 100vw;
}

.facts::before,
.facts::after {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;

    font-size: clamp(120px, 21.6vw, 360px); /* +20 % */

    font-weight: 800;
    line-height: 0.8;
    color: #fff;

    white-space: nowrap;
    pointer-events: none;
    will-change: transform;
}

/* FAKTEN & */
.facts::before {
    content: "FAKTEN &";

    transform: translate3d(
        calc(-50% + var(--facts-left)),
        -0.90em,
        0
    );
}

/* ZAHLEN */
.facts::after {
    content: "ZAHLEN";

    transform: translate3d(
        calc(-50% + var(--facts-right)),
        0.30em,
        0
    );
}

/* Inhalte über die Hintergrundschrift */
.facts > * {
    position: relative;
    z-index: 1;
}



/*
 * Parallax auf das äußere Widget legen.
 * Dadurch kollidiert es nicht mit deiner .slideIn-Animation
 * auf .textwidget.
 */
.facts .widget_sow-editor {
    transform: translate3d(0, var(--facts-offset, 0px), 0);
    will-change: transform;
    backface-visibility: hidden;
}

/*
 * Linke Spalte:
 * 49 / 9,81 / 640
 */
.facts .widget_sow-editor:nth-child(2),
.facts .widget_sow-editor:nth-child(5),
.facts .widget_sow-editor:nth-child(8) {
    --facts-speed: 0.12;
}

/*
 * Mittlere Spalte:
 * 1987 / 30 / 42,1
 */
.facts .widget_sow-editor:nth-child(1),
.facts .widget_sow-editor:nth-child(3),
.facts .widget_sow-editor:nth-child(6) {
    --facts-speed: 0.26;
}

/*
 * Rechte Spalte:
 * 2400 / 97
 */
.facts .widget_sow-editor:nth-child(4),
.facts .widget_sow-editor:nth-child(7) {
    --facts-speed: 0.42;
}

@media (prefers-reduced-motion: reduce) {
    .facts .widget_sow-editor {
        transform: none !important;
    }
}



.news_wrapper {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    --news-x: 100vw;
}

.news_wrapper::before {
    content: "NEWS";

    position: absolute;
    top: 140px;
    right: 0;
    z-index: 0;

    font-size: clamp(120px, 21.6vw, 360px);
    font-weight: 800;
    line-height: 0.8;
    color: #eceded;

    white-space: nowrap;
    pointer-events: none;
    will-change: transform;

    transform: translate3d(var(--news-x), 0, 0);
}

.news_wrapper > * {
    position: relative;
    z-index: 1;
}

.projects_wrapper {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    --news-x: 100vw;
}

.projects_wrapper::before {
    content: "PROJEKTE";

    position: absolute;
    top: 90px;
    right: 0;
    z-index: 0;

    font-size: clamp(120px, 21.6vw, 360px);
    font-weight: 800;
    line-height: 0.8;
    color: #eceded;

    white-space: nowrap;
    pointer-events: none;
    will-change: transform;

    transform: translate3d(var(--news-x), 0, 0);
}

.projects_wrapper > * {
    position: relative;
    z-index: 1;
}


#pg-256-2 .content-section {
  position: relative;
}

#pg-256-2 .content-section::before {
  content: "MULDEN";
  position: absolute;
  top: -80px;
  left: -7%;

  z-index: 2;
  mix-blend-mode: darken;

  font-size: clamp(120px, 21.6vw, 360px);
  font-weight: 800;
  line-height: 0.8;

  color: #eceded;

  white-space: nowrap;
  pointer-events: none;
}


/*
 * Während des horizontalen Scrolls
 */

#pg-256-2 .content-section.mulden-title-fixed::before {
  position: fixed;

  top: var(--mulden-title-top);
  left: var(--mulden-title-left);
}


/*
 * Nach dem horizontalen Scroll:
 * wieder Teil der Section und normal
 * nach oben wegscrollen.
 */

#pg-256-2 .content-section.mulden-title-after::before {
  position: absolute;

  top: var(--mulden-title-after-top);
  left: -7%;
}

.mulden_wrapper > * {
    position: relative;
    z-index: 1;
}


.textwidget .more-btn{
  text-decoration: none;
  color: var(--gs-green);
  position: relative;
}
.textwidget .more-btn::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  content: "\f30b";
  margin-left: 7px;
  position: relative;
  top: 1px;
}
.textwidget .more-btn.project-history-back::after {
    display: none;
}
.textwidget .more-btn.project-history-back::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  content: "\f30a";
  margin-right: 7px;
  position: relative;
  top: 1px;
}
.parallax {
  background-position: center;
  height: 85vh;
  width: 100%;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  top: 0;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
}
.parallax_end {
  display: flex !important;
  flex-flow: column !important;
  justify-content: end !important;
}
.parallax_right .has-parallax-box .textwidget {
  margin-left: auto !important;
  margin-right: 0 !;
}
.has-parallax-box .textwidget {
  background: rgba(0,134,90,0.95);
  color: #fff;
  width: 50%;
  padding: 30px;
  cursor: pointer;
}
.has-parallax-box .textwidget h2 {
  margin-top: 0;
  margin-bottom: 20px;
  hyphens: auto;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 62px);
}
.has-parallax-box .textwidget {
  background: rgba(0,134,90,0.95);
  color: #fff;
  width: 46%;
  padding: 30px;
  max-width: 680px;
  min-width: 460px;
}
.has-parallax-box .textwidget .more-btn{
  color: #fff;
}
.has-parallax-box .textwidget p:last-of-type{
  margin-bottom: 0;
}

.button-row .more-btn.big-more-btn{
    width: auto;
    min-width: 200px;
}
.button-row .more-btn.big-more-btn:first-child {
  margin-right: 30px;
}

/* NEWS ACCORDION */
.muse-news-accordion {
    --news-green: #00965e;
    --news-border: #d7d7d7;
    --news-text: #111;

    width: 100%;
}

.muse-news-item {
    position: relative;
}

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

.muse-news-item hr {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0px solid var(--news-border);
  width: calc(80% - 20px);
  margin: 10px 0 0 calc(20% + 20px);
}
.muse-news-trigger {
    display: grid;
    grid-template-columns:
        minmax(180px, 32%)
        minmax(0, 1fr)
        40px;
    align-items: end;

    width: 100%;
    padding: 30px 0 20px;
    border: 0;
    background: transparent;
    color: var(--news-text);
    text-align: left;
    cursor: pointer;
}

.muse-news-header-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.muse-news-header-image:empty {
    background: #eee;
}

.muse-news-header-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.muse-news-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
       width: 80%;
    margin: 0 0 0 20%;
    padding: 20px 60px 0px 0;
    background: #fff;
}
.muse-news-toggle {
  background: none;
  border: none;
  margin: 0 0 0 auto !important;
  display: block;
}
.muse-news-date {
    margin-bottom: 20px;
    line-height: 1.3;
}

.muse-news-category {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
  color: var(--gs-green);
  line-height: 1.2;
  position: relative;
  font-size: 19px;
}

.muse-news-title {
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: -10px;
}

.muse-news-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    justify-self: end;
    margin-bottom: 5px;
}

.muse-news-icon::before,
.muse-news-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 250ms ease;
}

.muse-news-icon::before {
    width: 26px;
    height: 3px;
}

.muse-news-icon::after {
    width: 3px;
    height: 26px;
}

.muse-news-item.is-open .muse-news-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* Aufgeklappter Bereich */

.muse-news-panel-inner {
  width: 80%;
  margin: 30px 0 0 20%;
  padding: 0 40px 0px 20px;
  box-sizing: border-box;
}

.muse-news-content {
    margin-top: 30px;
    
}

.muse-news-content > :first-child {
    margin-top: 0;
}

.muse-news-content > :last-child {
    margin-bottom: 0;
}

.home .facts {
  padding-top: 30px;
}
/* Slider */
.muse-news-slider {
    position: relative;
    width: 100%;
}


.muse-news-slider-viewport {
    overflow: hidden;
}


.muse-news-slider-track {
    display: flex;
    width: 100%;
    transition: transform 450ms ease;
    will-change: transform;
}


.muse-news-slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.6;
}


.muse-news-slide img {
    display: block;
    width: 100%;
    _max-height: 600px;
    object-fit: cover;
    height: 100%;
    position: absolute;
}

.home .muse-news-slide {
  aspect-ratio: 4/3;
}


.muse-news-slide figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
 * CONTROLS
 * ========================================================= */

.muse-news-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}


.muse-news-slider-button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d6d8d9;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}


.muse-news-slider-button:hover,
.muse-news-slider-button:focus-visible {
    background: var(--gs-green) !important;
}


.muse-news-slider-status {
    min-width: 50px;
    font-size: 13px;
    text-align: center;
}


.muse-news-header-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    width: 33%;
    max-width: 700px;
    min-width: 200px;
}


.muse-news-header-content {
    margin-top: -110px;
    padding-left: 20px;
}


/* =========================================================
 * GALLERY SLIDER
 * ========================================================= */
.muse-gallery {
    position: relative;
    width: 100%;
    overflow: visible;
}


/* =========================================================
 * HAUPTSLIDER
 * ========================================================= */

.muse-gallery-viewport {
    overflow: hidden;
}


.muse-gallery-track {
    display: flex;
    width: 100%;

    transition: transform 450ms ease;
    will-change: transform;
}


.muse-gallery-slide {
    flex: 0 0 100%;
    width: 100%;

    margin: 0;

    position: relative;
    overflow: hidden;
}


.muse-gallery-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
 * SITEORIGIN HÖHENKETTE
 *
 * Nur .animate_img mit unserer Gallery.
 * Der große Slider behält dadurch die volle Höhe.
 * ========================================================= */

.animate_img:has(.muse-gallery),
.animate_img:has(.muse-gallery) > .so-widget-sow-editor,
.animate_img:has(.muse-gallery) .siteorigin-widget-tinymce,
.animate_img:has(.muse-gallery) .textwidget {
    height: 100%;
}


.animate_img:has(.muse-gallery) .muse-gallery,
.animate_img:has(.muse-gallery) .muse-gallery-viewport,
.animate_img:has(.muse-gallery) .muse-gallery-track,
.animate_img:has(.muse-gallery) .muse-gallery-slide {
    height: 100%;
}


.animate_img:has(.muse-gallery) .muse-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: none;

    object-fit: cover;
}


/* =========================================================
 * BUTTONS
 * ========================================================= */

.muse-gallery-button {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #d6d8d9;
    color: #fff;

    font-size: 18px;

    cursor: pointer;
}


.muse-gallery-button:hover,
.muse-gallery-button:focus-visible {
    background: var(--gs-green) !important;
}


/* =========================================================
 * SLIDER OHNE THUMBNAILS
 *
 * Deine bisherige funktionierende Position.
 * ========================================================= */

.muse-gallery > .muse-gallery-controls {
    position: absolute;

    left: calc(14cqw - 45.6px);
    bottom: -50px;

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

    z-index: 3;
}


/* =========================================================
 * SLIDER MIT THUMBNAILS
 *
 * Der gesamte Bereich liegt außerhalb des Hauptsliders.
 * Er beeinflusst dessen Höhe NICHT.
 * ========================================================= */

.muse-gallery-bottom {
    position: absolute;

    top: calc(100% + 12px);
    left: calc(14cqw - 45.6px);

    width: calc(
        100% - (14cqw - 45.6px)
    );

    z-index: 3;
}


/* =========================================================
 * THUMBNAIL VIEWPORT
 * ========================================================= */

.muse-gallery-thumbs-viewport {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}


/* =========================================================
 * THUMBNAIL TRACK
 * ========================================================= */

.muse-gallery-thumbs {
    --thumb-gap: 50px;
    display: flex;
    gap: var(--thumb-gap);

    width: 100%;

    margin: 0;

    transition: transform 450ms ease;
    will-change: transform;
}


/* =========================================================
 * THUMBNAILS
 *
 * Genau zwei gleichzeitig sichtbar.
 * ========================================================= */

.muse-gallery-thumb {
    position: relative;

    flex: 0 0 calc(
        (100% - var(--thumb-gap)) / 2
    );

    aspect-ratio: 1.4;

    padding: 0;
    border: 0;

    background: none;

    cursor: pointer;
    overflow: hidden;

    opacity: 0.5;

    transition: opacity 250ms ease;
}


.muse-gallery-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.muse-gallery-thumb:hover,
.muse-gallery-thumb:focus-visible,
.muse-gallery-thumb.is-active {
    opacity: 1;
}


/* =========================================================
 * CONTROLS UNTER DEN THUMBNAILS
 *
 * Nicht absolut.
 * Dadurch sitzen sie automatisch unter der realen
 * Thumbnail-Höhe.
 * ========================================================= */

.muse-gallery-bottom .muse-gallery-controls {
    position: static;

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

    margin-top: 12px;
}


@media (max-width: 767px) {
    .muse-news-trigger {
        grid-template-columns: 1fr 36px;
        align-items: start;
        gap: 15px;
    }

    .muse-news-header-image {
        grid-column: 1 / -1;
        width: 85%;
    }

    .muse-news-header-content {
        grid-column: 1;
        margin: -45px 0 0 10%;
        padding: 16px;
    }

    .muse-news-icon {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
    }

    .muse-news-panel-inner {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
    }

    .muse-news-title {
        font-size: 18px;
    }
}

.current_page_item a {
  pointer-events: none !important;
}

.more-btn{
  transition: 0.3s ease-in-out;
}
#angebot #scroll-horizontal .animation-wrap > .so-panel .panel-widget-style:hover .more-btn, .has-parallax-box .textwidget:hover .more-btn, .more-btn:hover {
  color: #000;
}
#angebot #scroll-horizontal
.animation-wrap
.so-panel
.panel-widget-style {
    cursor: pointer;
}
.page-id-81 .history-accordeon {
  margin-top: 60px;
}
#benefits {
  background: linear-gradient(to top, #fff 0%,#e9e9eb 100%);
  padding: 20px;
  margin-bottom: -20px;
  margin-top: 50px;
}

#benefits .gs-title, .accordeon-wrapper-w-images #benefits .widget_sow-editor .textwidget{
    margin-top: 0 !important;
}

/* FOOTER */
footer{
  background: var(--gs-green);
  color: #fff;
}
footer h2{
  margin-top: 0;
}
footer a{
  text-decoration: none;
  color: #fff;
  transition: 0.4s ease-in-out;
}
footer a:hover{
  color: #fff;
}
footer .textwidget p:last-child {
  margin-bottom: 0;
}
.ft-logo {
  max-width: 230px;
  margin: -8px 0 0 auto;
}

.meta-nav a:not(:last-child) {
  margin-right: 20px;
}
.meta-nav a {
  font-size: 16px;
  
}

.social-icons a {
  font-size: 38px;
  line-height: 1.1;
}
footer .social-icons a{
    line-height: 1;
}
.social-icons a:not(:last-child) {
  margin-right: 15px;
}

footer a, #site-navigation .social-icons a, #site-navigation #siteorigin-panels-builder-3 a{
    transition: 0.3s ease-in-out;
}
footer a:hover, #site-navigation .social-icons a:hover, #site-navigation #siteorigin-panels-builder-3 a:hover{
    color: #000;
}

footer {
    position: relative;
}

.ft-logo, .sgs-logo {
    position: absolute;
    right: 4%;
}
.sgs-logo {
  bottom: 80px;
  max-width: 190px;
  width: 16%;
}
/* Ausgangszustand der sechs Service-Kacheln */
#services_home > .panel-layout > .panel-grid {
    opacity: 0;
    transform: translate3d(0, 90px, 0);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.22, .61, .36, 1);

    will-change: opacity, transform;
}



#services_home > .panel-layout > .panel-grid.slideIn {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
#services_home > .panel-layout > .panel-grid:nth-child(3n + 1) {
    transition-delay: 0s;
}

#services_home > .panel-layout > .panel-grid:nth-child(3n + 2) {
    transition-delay: 0.22s;
}

#services_home > .panel-layout > .panel-grid:nth-child(3n + 3) {
    transition-delay: 0.44s;
}

@media (prefers-reduced-motion: reduce) {
    #services_home > .panel-layout > .panel-grid {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


html,
body {
  overflow-x: clip;
}

#scroll-horizontal-wrapper {
  overflow: visible;
}

#scroll-horizontal-wrapper .pin-spacer > .panel-grid-cell {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: flex-start;

    position: relative;
}

#scroll-horizontal-wrapper .animation-wrap {
    display: flex;
    position: relative;
    align-items: flex-start;
    z-index: 1;
    will-change: transform;
}
#scroll-horizontal-wrapper .angebot-nav {
  position: absolute;
  top: 112.5%;
  left: auto;
  right: 4vw;
  width: 92vw;
  max-width: 1580px;
  transform: none;
  z-index: 10;
  padding-bottom: 12px;
  border-bottom: 1px solid #dedede;
}
#scroll-horizontal-wrapper .more-btn{
    font-weight: 600;
}
#scroll-horizontal-wrapper .angebot-nav a{
    text-decoration: none;
    color: #000;
    transition: color 0.4s ease-in-out, border 0.4s ease-in-out;
    text-transform: uppercase;
    padding-bottom: 9px;
    border-bottom: 5px solid transparent;
    margin-right: 3%;
    padding-right: 30px;
    font-size: 17px;
}
#scroll-horizontal-wrapper .angebot-nav a:hover{
    color: var(--gs-green);
}
#pg-78-2 {
  margin-top: 100px;
}
#scroll-horizontal-wrapper .angebot-nav a.active{
color: var(--gs-green);
border-bottom: 5px solid var(--gs-green);
font-weight: 600;
}
.mulden #scroll-horizontal-wrapper .animation-wrap > .so-panel {
  align-self: center;
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel {
    --item-width: clamp(420px, 45vw, 720px);

    position: relative;

    flex: 0 0 var(--item-width);
    width: var(--item-width);

    margin-right: 15vw;

    display: flex;
    align-items: flex-start;
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#erdarbeiten) {
    flex: 0 0 clamp(600px, 55vw, 660px);
}

#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#strassenbau) {
    flex: 0 0 clamp(500px, 55vw, 570px);
    flex: 0 0 clamp(600px, 55vw, 660px);
}

#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#umgebungsarbeiten) {
    flex: 0 0 clamp(600px, 55vw, 660px);
}

#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#rueckbau) {
    flex: 0 0 clamp(550px, 55vw, 600px);
    flex: 0 0 clamp(600px, 55vw, 660px);
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#spezialtiefbau) {
    flex: 0 0 clamp(550px, 55vw, 600px);
    flex: 0 0 clamp(600px, 55vw, 660px);
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#recycling-entsorgung) {
  flex: 0 0 clamp(600px, 65vw, 880px);
}

#angebot .widget_siteorigin-panels-builder .panel-grid-cell {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
}

#angebot .widget_siteorigin-panels-builder .widget_sow-editor {
    grid-column: 1 / -1;
}

#angebot .widget_sow-image {
    grid-column: 2;
    margin-top: -50px;
    width: 100%;
}

#angebot .widget_sow-image img {
    display: block;

    width: auto;
    height: clamp(260px, 24vw, 400px);

    max-width: 100%;
    object-fit: contain;
    object-position: left top;
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel:has(#recycling-entsorgung) img {
  height: clamp(260px, 26vw, 420px);
}
#scroll-horizontal-wrapper .animation-wrap > .so-panel {
    position: relative;
}

#scroll-horizontal-wrapper .animation-wrap > .so-panel:not(:last-child)::after {
    content: "";
    position: absolute;

    top: -40px;
    right: -7.5vw;

    width: 1px;
    height: calc(100% + 80px);

    background: #111;

    transform: rotate(12deg);
    transform-origin: center;
}

#angebot strong {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--gs-green);
  font-weight: 600;
  text-transform: uppercase;
}
#angebot p {
  margin: 0;
}
#angebot h2 {
  margin: 0px 0 10px;
  text-transform: uppercase;
}
/* =========================================================
 * TOP AREA – EINHEITLICHE BASIS
 * ========================================================= */

.top_area {
    --top-gap: 40px;
    --top-min: 150px;

    --col-1: calc(31cqw - 12.4px);
    --col-2: 40px;
    --col-3: calc(14cqw - 45.6px);
    --col-4: 40px;
    --col-5: calc(55cqw - 22px);

    --hero-width: calc(
        var(--col-3) +
        var(--col-4) +
        var(--col-5)
    );

    --hero-height: calc(
        var(--hero-width) / 1.4
    );

    /*
     * Setzt JS.
     */
    --left-top: 150px;
    --item-1-height: 0px;
    --item-4-top: calc(
        var(--hero-height) + var(--top-gap)
    );

    container-type: inline-size;

    position: relative;
}

#kontakt-top-area h1:after{
    display: none;
}
#kontakt-top-area h1{
    margin-bottom: 0;
    margin-top: 0;
}
#kontakt-top-area h3{
    margin-bottom: 0;
    
}
#kontakt-top-area .item-3 {
  width: 60cqw;
  max-width: 890px;
}
.top-subline p{
    margin-bottom: 0;
}
#kontakt-top-area {
  padding-top: 140px !important;
}
#kontakt-top-area .item-1 .top-subline p strong {
  color: #b1b3b4;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================
 * HAUPTGRID
 * ========================================================= */

.top_area h1, .top_area h2 {
  margin-top: 0;
  margin-bottom: 1em;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.top-subline {
    margin-bottom: 0 !important;
}
.top_area
> .panel-grid-cell
> .so-panel
> .panel-layout {

    display: grid;

    grid-template-columns:
        var(--col-1)
        var(--col-2)
        var(--col-3)
        var(--col-4)
        var(--col-5);

    /*
     * Das Hero definiert die Grundhöhe.
     * JS vergrößert bei Bedarf nach unten.
     */
    min-height: var(
        --top-area-height,
        var(--hero-height)
    );

    position: relative;

    box-sizing: border-box;
}


.top_area .panel-grid {
    margin-bottom: 0 !important;
}


/* =========================================================
 * ITEM 2
 *
 * Großes Hero-Bild / Slider.
 * Bleibt unabhängig vom Text immer gleich groß.
 * ========================================================= */

.top_area
> .panel-grid-cell
> .so-panel
> .panel-layout
> .panel-grid:has(.item-2) {

    grid-column: 3 / 6;
    grid-row: 1;

    width: 100%;
    height: var(--hero-height);

    margin: 0;

    box-sizing: border-box;
}


/* SiteOrigin-Höhenkette */

.top_area .item-2,
.top_area .item-2 > .panel-grid-cell,
.top_area .item-2 > .panel-grid-cell > .so-panel {
    height: 100%;
}

/* =========================================================
 * ITEM 2 – HÖHE DURCH ALLE SITEORIGIN-WRAPPER REICHEN
 * ========================================================= */

.top_area .item-2,
.top_area .item-2 > .panel-grid-cell,
.top_area .item-2 > .panel-grid-cell > .so-panel,
.top_area .item-2 .animate_img,
.top_area .item-2 .so-widget-sow-image,
.top_area .item-2 .sow-image-container {
    height: 100%;
}


/* Normales Hero-Bild */

.top_area .item-2 .sow-image-container {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.top_area .item-2 .sow-image-container img {
    display: block;

    width: 100%;
    height: 100% !important;

    object-fit: cover;
}


/* Slider innerhalb item-2 */

.top_area .item-2 .animate_img:has(.muse-gallery),
.top_area .item-2 .animate_img:has(.muse-gallery) > .so-widget-sow-editor,
.top_area .item-2 .animate_img:has(.muse-gallery) .siteorigin-widget-tinymce,
.top_area .item-2 .animate_img:has(.muse-gallery) .textwidget,
.top_area .item-2 .muse-gallery,
.top_area .item-2 .muse-gallery-viewport,
.top_area .item-2 .muse-gallery-track,
.top_area .item-2 .muse-gallery-slide {
    height: 100%;
}


.top_area .item-2 .muse-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: none;

    object-fit: cover;
}


/* =========================================================
 * ITEM 1
 *
 * Subline + optional kleines Bild.
 *
 * WICHTIG:
 * item-1 und item-3 verwenden denselben --left-top.
 * ========================================================= */

.top_area
> .panel-grid-cell
> .so-panel
> .panel-layout
> .panel-grid:has(.item-1) {

    position: absolute;

    top: var(--left-top);
    left: 0;

    width: var(--col-1);

    margin: 0;

    box-sizing: border-box;

    z-index: 1;
}


.top_area .item-1 {
    padding: 0;
}


/* Subline */

.top_area .item-1 .top-subline {
    margin: 0;
    line-height: 24px;
}


.top_area .item-1 .top-subline p {
    margin: 0;
}


.top_area .item-1 .top-subline p strong {
    color: #b1b3b4;

    text-transform: uppercase;

    font-weight: 600;
}


/*
 * Nur wenn tatsächlich ein kleines Bild vorhanden ist:
 *
 * Subline
 * 40px
 * Bild
 */
.top_area .item-1:has(.sow-image-container) .top-subline {
    margin-bottom: var(--top-gap);
}


/* Kleines Bild */

.top_area .item-1 .sow-image-container {
    width: 100%;

    aspect-ratio: 1.5 / 1;

    overflow: hidden;
}


.top_area .item-1 .sow-image-container img {
    display: block;

    width: 100%;
    height: 100% !important;

    object-fit: cover;
}


/* =========================================================
 * ITEM 3
 *
 * Weißer Haupttext.
 *
 * Beginnt EXAKT unter item-1.
 * Deshalb:
 *
 * top = gemeinsamer Stack-Start + echte Höhe item-1
 * ========================================================= */

.top_area
> .panel-grid-cell
> .so-panel
> .panel-layout
> .panel-grid:has(.item-3) {

    position: absolute;

    top: calc(
        var(--left-top) +
        var(--item-1-height)
    );

    left: 0;

    /*
     * Spalte 1 + 2 + 3:
     * dadurch bleibt die weiße Überlappung erhalten.
     */
    width: calc(
        var(--col-1) +
        var(--col-2) +
        var(--col-3)
    );

    margin: 0;

    box-sizing: border-box;

    z-index: 2;
}


.top_area .item-3 {
    background: #fff;

    padding-top: var(--top-gap);
    padding-right: var(--top-gap);

    box-sizing: border-box;
}


.top_area .item-3 h1,
.top_area .item-3 h2 {
    margin-top: 0;
    margin-bottom: 1em;

    hyphens: auto;
    -webkit-hyphens: auto;
}


.top_area .item-3 p:last-child {
    margin-bottom: 0;
}


/* =========================================================
 * ITEM 4
 *
 * Optionale zusätzliche Bilder rechts.
 * Immer unter dem großen Hero.
 * ========================================================= */

.top_area
> .panel-grid-cell
> .so-panel
> .panel-layout
> .panel-grid:has(.item-4) {

    position: absolute;

    top: var(--item-4-top);

    left: calc(
        var(--col-1) +
        var(--col-2) +
        var(--col-3) +
        var(--col-4)
    );

    width: var(--col-5);

    margin: 0;

    box-sizing: border-box;
}


.top_area .item-4 {
    padding: 0;

    /*
     * Dein bisheriger horizontaler Versatz.
     */
    margin-left: -40px;
}


.top_area .item-4 .sow-image-container {
    width: 72%;
}


.top_area .item-4 img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
 * SONSTIGES
 * ========================================================= */

.top_area .more-btn {
    font-weight: 600;
}

.history-accordeon table{
    margin: 0 !important;
}
.history-accordeon table tr td {
  vertical-align: top;
  padding-bottom: 30px;
}
.history-accordeon table tr td:first-child {
  min-width: 90px;
}
.history-accordeon table tr:last-child td{
  padding-bottom: 0px;
}

h3{
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

/* ACCORDION MIT BILDERN / SITEORIGIN */

.accordeon-wrapper-w-images {
    --accordion-border: #d7d7d7;
    width: 100%;
}


.accordeon-wrapper-w-images
> .panel-layout
> .panel-grid {
    position: relative;
    margin-bottom: 60px;
}


.accordeon-wrapper-w-images
> .panel-layout
> .panel-grid
> .accordeon-item {
    display: block !important;
    position: relative;
}


.accordeon-wrapper-w-images
.panel-grid:not(:first-child)
.accordeon-item {
    margin-top: 40px;
}


.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:first-child {
    width: 33% !important;
    max-width: 700px;
    min-width: 200px;
}


.accordeon-wrapper-w-images
.widget_sow-image {
    width: 100%;
}


.accordeon-wrapper-w-images
.sow-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}


.accordeon-wrapper-w-images
.sow-image-container img {
    display: block;
    width: 100%;
    height: calc(100% - 21px) !important;
    object-fit: cover;
}


.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:nth-child(2) {
    position: relative;
    z-index: 2;

    width: 80% !important;

    margin:
        var(--accordion-overlap, 0px)
        0
        0
        20% !important;

    padding:
        20px
        70px
        20px
        20px;

    box-sizing: border-box;

    background: #fff;
}

.accordeon-wrapper-w-images > .panel-layout > .panel-grid:not(:last-child) {
  margin-bottom: 50px !important;
}
.accordeon-wrapper-w-images
.widget_sow-editor {
    margin: 0 !important;
}


.accordeon-wrapper-w-images
.widget_sow-editor
.widget-title {
    position: relative;

    margin:
        0
        0
        -10px
        0;

    padding: 0;

    font-size: clamp(18px, 2.5vw, 30px);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;

    cursor: pointer;
}


.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:nth-child(2)::before,

.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:nth-child(2)::after {
    content: "";

    position: absolute;

    right: 20px;
    bottom: 12px;

    display: block;

    background: currentColor;

    transition:
        transform 250ms ease;
}
.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:nth-child(2)::before {
    width: 26px;
    height: 3px;
}

.accordeon-wrapper-w-images
.accordeon-item
> .panel-grid-cell:nth-child(2)::after {
    width: 3px;
    height: 26px;

    right: 31.5px;
    bottom: 0.5px;
}

.accordeon-wrapper-w-images
.panel-grid.is-open
.accordeon-item
> .panel-grid-cell:nth-child(2)::after {
    transform: rotate(90deg);
}


.accordeon-wrapper-w-images
.widget_sow-editor
.textwidget {
    display: none;

    margin-top: 40px;
}


.accordeon-wrapper-w-images
.widget_sow-editor
.textwidget > :first-child {
    margin-top: 0;
}


.accordeon-wrapper-w-images
.widget_sow-editor
.textwidget > :last-child {
    margin-bottom: 0;
}

.accordeon-wrapper-w-images
> .panel-layout
> .panel-grid::after {
    content: "";

    display: block;

    width: calc(80% - 20px);
    height: 1px;

    margin:
        30px
        0
        0
        calc(20% + 20px);

    background: var(--accordion-border);
}

@media (max-width: 767px) {

    .accordeon-wrapper-w-images
    .accordeon-item
    > .panel-grid-cell:first-child {
        width: 85% !important;
        min-width: 0;
    }


    .accordeon-wrapper-w-images
    .accordeon-item
    > .panel-grid-cell:nth-child(2) {
        width: 90% !important;

        margin:
            -45px
            0
            0
            10% !important;

        padding:
            16px
            50px
            10px
            16px;
    }


    .accordeon-wrapper-w-images
    .widget_sow-editor
    .widget-title {
        font-size: 18px;
    }


    .accordeon-wrapper-w-images
    > .panel-layout
    > .panel-grid::after {
        width: 90%;
        margin-left: 10%;
    }

}

/* ÜBER UNS MINI ACCORDEON */

.history-accordeon {
    position: relative;
    width: 100%;
}

.history-accordeon .widget-title {
    position: relative;

    margin: 0;
    padding: 0 60px 25px 0;

    font-size: clamp(18px, 2.5vw, 30px);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;

    cursor: pointer;

    border-bottom: 1px solid #999;
}

.history-accordeon .widget-title::before,
.history-accordeon .widget-title::after {
    content: "";

    position: absolute;
    right: 0;

    display: block;

    background: currentColor;

    transition: transform 250ms ease;
}

.history-accordeon .widget-title::before {
    width: 26px;
    height: 3px;

    bottom: 37px;
}

.history-accordeon .widget-title::after {
    width: 3px;
    height: 26px;

    right: 11.5px;
    bottom: 25.5px;
}

.history-accordeon.is-open .widget-title::after {
    transform: rotate(90deg);
}

.history-accordeon .textwidget {
    display: none;

    margin-top: 30px;
}

.history-accordeon .textwidget table {
    width: 100%;
    border-collapse: collapse;
}

.history-accordeon .textwidget td {
    vertical-align: top;
    padding: 0 0 28px 0;
}

.history-accordeon .textwidget td:first-child {
    width: 80px;
    padding-right: 20px;
}




@media (max-width: 767px) {

    .history-accordeon .widget-title {
        padding-right: 45px;
        font-size: 18px;
    }

    .history-accordeon .textwidget td:first-child {
        width: 60px;
        padding-right: 15px;
    }

}


.grey-section{
    background: #f6f6f6;
}
.grey-section h2{
    margin-top: 20px;
}
#team h3{
    margin-bottom: 0;
}
.team-grid .so-panel{
    margin-bottom: 0 !important;
}
.team-grid .sow-image-container {
  aspect-ratio: 1.15;
  position: relative;
  overflow: hidden;
}
.team-grid .sow-image-container img {
  width: 100%;
  height: 100% !important;
  position: absolute !important;
  object-fit: cover !important;
  display: block;
  pointer-events: none;
}


.team-grid .panel-grid-cell {
    position: relative;
    overflow: hidden;
}

.team-grid .sow-image-container {
    aspect-ratio: 1.15;
    position: relative;
    overflow: hidden;
}

.team-grid .sow-image-container img {
    width: 100%;
    height: 100% !important;

    position: absolute !important;
    inset: 0;

    object-fit: cover !important;
    display: block;
}


.team-grid .widget_sow-editor {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: rgba(0, 134, 90, 0.90);

    clip-path: polygon(
        100% 0,
        100% 0,
        100% 100%,
        100% 100%
    );


    will-change: clip-path;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.team-grid .widget_sow-editor > div,
.team-grid .widget_sow-editor .so-widget-sow-editor,
.team-grid .widget_sow-editor .textwidget {
    height: 100%;
}


.team-grid .widget_sow-editor .textwidget {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px 20px;

    color: #fff;
}

.team-grid .widget_sow-editor p {
    margin: 0 0 12px;
    color: #fff;
}

.team-grid .widget_sow-editor p:last-child {
    margin-bottom: 0;
}

.team-grid .widget_sow-editor strong {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.team-grid .widget_sow-editor a {
    color: #fff;
    text-decoration: none;
}


.team-grid .panel-grid-cell.open .widget_sow-editor {
    animation: team-overlay-open 0.45s linear forwards;
}

@keyframes team-overlay-open {

    0% {
        clip-path: polygon(
            100% 0,
            100% 0,
            100% 100%,
            100% 100%
        );
    }

    30% {
        clip-path: polygon(
            75% 0,
            100% 0,
            100% 100%,
            62% 100%
        );
    }

    65% {
        clip-path: polygon(
            35% 0,
            100% 0,
            100% 100%,
            22% 100%
        );
    }

    90% {
        clip-path: polygon(
            7% 0,
            100% 0,
            100% 100%,
            2% 100%
        );
    }

    100% {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}


.team-grid .panel-grid-cell.closing .widget_sow-editor {
    animation: team-overlay-close 0.45s ease forwards;
}

@keyframes team-overlay-close {
    0% {
        opacity: 1;
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    100% {
        opacity: 0;
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}

.team-grid {
  margin-bottom: 30px;
}

#back-to-top {
  width: 32px;
  position: absolute;
  bottom: 80px;
  left: 4%;
  cursor: pointer;
}

#back-to-top polygon{
    transition: 0.3s ease-in-out;
}
#back-to-top:hover polygon{
    fill: #000;
}

/* Ausgangszustand der Team-Items */
.team-grid > .panel-layout > .panel-grid > .panel-grid-cell {
    opacity: 0;
    transform: translate3d(0, 90px, 0);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.22, .61, .36, 1);

    will-change: opacity, transform;
}


/* Sichtbar */
.team-grid > .panel-layout > .panel-grid > .panel-grid-cell.slideIn {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* 1. Item jeder Reihe */
.team-grid > .panel-layout > .panel-grid > .panel-grid-cell:nth-child(3n + 1) {
    transition-delay: 0s;
}


/* 2. Item jeder Reihe */
.team-grid > .panel-layout > .panel-grid > .panel-grid-cell:nth-child(3n + 2) {
    transition-delay: 0.22s;
}


/* 3. Item jeder Reihe */
.team-grid > .panel-layout > .panel-grid > .panel-grid-cell:nth-child(3n + 3) {
    transition-delay: 0.44s;
}


@media (prefers-reduced-motion: reduce) {

    .team-grid > .panel-layout > .panel-grid > .panel-grid-cell {
        opacity: 1;
        transform: none;
        transition: none;
    }

}


.top-area_inner-img-grid .sow-image-container {
  width: 100% !important;
}

.ratio_4_3 .sow-image-container {
  aspect-ratio: .9 !important;
  position: relative;
  overflow: hidden;
}
.ratio_4_3 .sow-image-container img {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


.content-section .textwidget ul {
  margin: 0;
  padding: 0 20px;
  list-style-type: none;
}
.content-section .textwidget ul li {
  position: relative;
}
.content-section .textwidget ul li:not(:last-of-type) {
  margin-bottom: 8px;
}
.content-section .textwidget ul li:before {
  content: "–";
  position: absolute;
  left: -18px;
}

#maps{
    width: 100%;
    height: 70vh;
    min-height: 300px;
    max-height: 800px;
}
.global-section .siteorigin-widget-tinymce.textwidget {
  display: block !important;
}

.benefit-icons .panel-grid-cell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.benefit-icons .panel-grid-cell .so-panel {
  width: 30%;
}
.benefit-icons .panel-grid-cell .so-panel img {
  max-width: 120px;
  display: block;
  margin-bottom: -25px;
}

.gs-title strong {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--gs-green);
  font-weight: 600;
  text-transform: uppercase;
}

.ap_img p img {
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  border-radius: 100%;
  position: relative;
  width: 100% !important;
  object-fit: cover;
}

.ap_img p img {
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  border-radius: 100%;
  position: relative;
  width: 100% !important;
  object-fit: cover;
}

.jobs-ap-row .panel-grid-cell:first-child {
  width: 60% !important;
}
.jobs-ap-row .panel-grid-cell:last-child {
  width: 35%;
}
.jobs-ap-row {
  align-items: center;
  margin-top: 40px;
}
.phone-icon {
  width: 30px;
  margin-right: 6px;
}
.more-btn.big-more-btn {
  background: var(--gs-green);
  color: #fff;
  padding: 15px;
  display: inline-block;
  width: 280px;
  transition: 0.3s ease-in-out;
}
.more-btn.big-more-btn:hover {
    background: #000;
}
.gs-title {
  margin-top: 60px;
}

.accordeon-wrapper-w-images > .panel-layout > .panel-grid:has(.hide-row),
.hide-row {
    display: none !important;
}

#top-area.top-area .item-1 {
  position: relative;
  z-index: 10;
}


.ap_row_projects p:not(:has(.more-btn)) {
  font-weight: bold;
  font-size: 21px;
}
.ap_row_projects .more-btn{
    font-weight: bold;
}
.ap_row_projects em {
  font-style: normal;
  text-transform: uppercase;
  font-size: 22px;
}

.gs-project-label{
    display: block;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: bold;
}

.gs-project-title {
  font-size: clamp(20px, 3vw, 34px);
  margin-top: 0;
  position: relative;
  hyphens: auto;
  -webkit-hyphens: auto;
  opacity: 1 !important;
  transform: unset !important;
}
.gs-project-meta {
  margin-top: 5px;
}
.gs-projects a{
color: #000;
text-decoration: none;
}
.gs-project-image{
    overflow: hidden;
    margin-bottom: 25px;
}
.panel-layout > .panel-grid .panel-grid-cell .sow-image-container{
    overflow: hidden;
}
.gs-project-image img, #services_home > .panel-layout > .panel-grid .panel-grid-cell img{
    transition: 0.4s ease-in-out;
    display: block;
}

.gs-projects a:hover .gs-project-image img, #services_home > .panel-layout > .panel-grid .panel-grid-cell:hover img{
    transform: scale(1.1);
}

.gs-project-title::after {
  content: "";
  width: 150px;
  height: 6px;
  background: var(--gs-green);
  position: absolute;
  bottom: -20px;
  left: 0;
}

.gs-projects {
    --project-offset: clamp(80px, 10vw, 180px);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10%;
    row-gap: 80px;
    width: 75%;
}

.gs-projects .gs-project:nth-child(even) {
    transform: translateY(var(--project-offset));
}
#projects {
  padding-top: 200px;
}

/* Ausgangszustand */
.gs-projects .gs-project {
    opacity: 0;
    translate: 0 90px;

    transition:
        opacity 0.8s ease,
        translate 0.8s cubic-bezier(.22, .61, .36, 1);

    will-change: opacity, translate;
}


/* Eingeblendet */
.gs-projects .gs-project.slideIn {
    opacity: 1;
    translate: 0 0;
}


/* linke Spalte */
.gs-projects .gs-project:nth-child(odd) {
    transition-delay: 0s;
}


/* rechte Spalte */
.gs-projects .gs-project:nth-child(even) {
    transition-delay: 0.22s;
}


@media (prefers-reduced-motion: reduce) {

    .gs-projects .gs-project {
        opacity: 1;
        translate: none;
        transition: none;
    }

}

.muse-gallery-controls {
    position: absolute;
    left: calc(14cqw - 45.6px);
    bottom: -50px;
    z-index: 3;
}


/* =========================================================
 * CONTROLS – SLIDER MIT THUMBNAILS
 * ========================================================= */

.muse-gallery.has-thumbs .muse-gallery-controls {
    top: calc(100% + 12px + 140px + 12px);
    bottom: auto;
}
/* ==================================================
   WHITE PAGE WIPE
   ================================================== */

/*
 * Arrival-Fläche für die neu geladene Seite.
 */
html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: #fff;

    clip-path: polygon(
        100% 0,
        100% 0,
        100% 100%,
        100% 100%
    );

    pointer-events: none;

    will-change: clip-path;
    backface-visibility: hidden;
    transform: translateZ(0);
}


/* ==================================================
   ALTE SEITE – ECHTES OVERLAY FÄHRT REIN
   ================================================== */

.white-wipe-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;

    background: #fff;

    clip-path: polygon(
        100% 0,
        100% 0,
        100% 100%,
        100% 100%
    );

    pointer-events: all;

    will-change: clip-path;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.white-wipe-overlay.active {
    animation: white-wipe-in 0.55s linear forwards;
}


@keyframes white-wipe-in {

    0% {
        clip-path: polygon(
            100% 0,
            100% 0,
            100% 100%,
            100% 100%
        );
    }

    30% {
        clip-path: polygon(
            75% 0,
            100% 0,
            100% 100%,
            62% 100%
        );
    }

    65% {
        clip-path: polygon(
            35% 0,
            100% 0,
            100% 100%,
            22% 100%
        );
    }

    90% {
        clip-path: polygon(
            7% 0,
            100% 0,
            100% 100%,
            2% 100%
        );
    }

    100% {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}


/* ==================================================
   NEUE SEITE – STARTET KOMPLETT WEISS
   UND FÄHRT NACH LINKS RAUS
   ================================================== */

html.white-wipe-arriving::before {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%
    );

    animation: white-wipe-out 0.55s linear forwards;
}


@keyframes white-wipe-out {

    0% {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    30% {
        clip-path: polygon(
            0 0,
            72% 0,
            60% 100%,
            0 100%
        );
    }

    65% {
        clip-path: polygon(
            0 0,
            35% 0,
            22% 100%,
            0 100%
        );
    }

    90% {
        clip-path: polygon(
            0 0,
            7% 0,
            2% 100%,
            0 100%
        );
    }

    100% {
        clip-path: polygon(
            0 0,
            0 0,
            0 100%,
            0 100%
        );
    }
}

.project-longtext {
  margin-top: 40px;
  margin-bottom: 30px;
}
.project-shorttext {
  margin-bottom: 40px;
}
.project-facts strong {
  display: block;
}
.project-facts .project-fact:not(:last-of-type) {
  border-bottom: 1px solid #dedede;
  padding-bottom: 15px;
  margin-bottom: 15px;
}


.mulden #scroll-horizontal-wrapper .animation-wrap > .so-panel:first-child img{

}
.mulden #scroll-horizontal-wrapper .animation-wrap > .so-panel:first-child {
  _flex: 0 0 245px;
  margin-left: 1vw;
  margin-right: 0 !important;
}
.mulden #scroll-horizontal-wrapper .animation-wrap > .so-panel {
  flex: 0 0 410px;
  margin-left: 5vw;
  margin-right: 3vw;
}

.mulden #scroll-horizontal-wrapper .animation-wrap > .so-panel:not(:last-child)::after{
    display: none !important;
}
.ap_row_projects h2 span {
  color: currentColor !important;
}