/*
Theme Name:  Zimmerei Holzbau Meier+Brunner
Theme URI:   https://zimmereimeier.ch
Author:      Zimmerei Holzbau Meier+Brunner AG
Author URI:  https://zimmereimeier.ch
Description: Massgeschneidertes One-Page-Theme für Zimmerei Holzbau Meier+Brunner AG. Alle Texte, Bilder, Icons und Carousel-Einträge sind über Secure Custom Fields (SCF) oder ACF Pro redaktionell pflegbar. Repeatable Carousels für Team und Projekte inklusive.
Version:     1.2.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           All Rights Reserved
Text Domain:       zimmerei-holzbau
Tags:              custom-fields, carousel, business, holzbau, one-page
*/

/* ==========================================================================
   Zimmerei Holzbau Meier+Brunner – Haupt-Stylesheet
   ========================================================================== */

:root {
	--primary-blue:   #174195;
	--hover-overlay:  rgba(25, 64, 139, .9);
	--accent-yellow:  #ffed00;
	--text-white:     #fff;
	--bg-beige:       #fdf5eb;
	--font-main:      'Open Sans', sans-serif;
	--font-script:    'Caveat', cursive;
}

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

body {
	font-family: var(--font-main);
	background-color: var(--bg-beige);
	color: #333;
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	padding: 30px 0;
	transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.site-header.nav-hidden {
	transform: translateY(-100%);
}

/* Hintergrund-Schicht als ::before – unabhängig vom Inhalt steuerbar */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #174195;
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
	z-index: 0;
}

/* Home: blauer Hintergrund mit Opacity beim Scrollen */
.home .site-header.nav-scrolled::before       { opacity: 0.85; }

/* Nicht-Home: Vollblau sofort, leicht transparent beim Scrollen */
body:not(.home) .site-header::before          { opacity: 1; }
body:not(.home) .site-header.nav-scrolled::before { opacity: 0.82; }

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 1;
}

.logo-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 250px;
	height: 80px;
	background-color: rgba(255, 255, 255, .2);
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.logo-image {
	display: block;
	max-height: 80px;
	width: auto;
}

.menu-btn {
	display: none;
}

.menu-icon {
	cursor: pointer;
	display: none;
	padding: 28px 20px;
	position: relative;
	user-select: none;
	z-index: 60;
}

.navicon {
	background: #fff;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 24px;
}

.navicon::before,
.navicon::after {
	background: #fff;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}

.navicon::before { top:  7px; }
.navicon::after  { top: -7px; }

/*.main-nav {
	margin-top: 50px;
}*/

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 25px;
}

.main-nav a {
	text-decoration: none;
	color: var(--primary-blue);
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: .5px;
	transition: opacity .3s ease;
}

.main-nav a:hover {
	opacity: .9;
}

/* Active nav link (homepage – dark background) */
.main-nav a.active {
	border-bottom: 3px solid var(--accent-yellow);
	padding-bottom: 3px;
}

/* Startseite: Links weiss sobald der blaue Balken erscheint */
.home .site-header.nav-scrolled .main-nav a {
	color: #fff;
}

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

/* Eltern-<li> als Anker für das absolute Dropdown */
.main-nav li {
	position: relative;
}

/* Pfeil-Indikator neben dem Link */
.nav-arrow {
	display: inline-block;
	font-size: 20px;
	vertical-align: middle;
	transition: transform .2s ease;
	line-height: 1;
	padding: 0 !important;
}

.main-nav li.has-children:hover > a .nav-arrow {
	transform: rotate(180deg);
}

/* Sub-Menu – standardmässig unsichtbar */
.main-nav .sub-menu {
	display: block;
	list-style: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 200px;
	background: #0f0f0f;
	padding: 8px 0;
	gap: 0;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

/* Unsichtbare Brücke: überbrückt die Lücke zwischen <li> und Dropdown,
   damit der Hover-Bereich nicht unterbrochen wird */
.main-nav li.has-children::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px; /* muss >= gap im top-Wert des sub-menu sein */
}

/* Kleines Dreieck oben */
.main-nav .sub-menu::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top: none;
	border-bottom-color: #0f0f0f;
}

/* Sub-Menu sichtbar beim Hover / Keyboard-Focus */
.main-nav li.has-children:hover > .sub-menu,
.main-nav li.has-children:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

/* Sub-Menu Links */
.main-nav .sub-menu li { position: static; }

.main-nav .sub-menu a {
	display: block;
	padding: 10px 22px;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .5px;
	white-space: nowrap;
	border-bottom: none !important;
	transition: background .15s ease, color .15s ease;
	opacity: 1;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a.active {
	/*color: #ffed00;*/
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Sub-Sub-Menu (3. Ebene) – Flyout nach rechts
   -------------------------------------------------------------------------- */

/* Level-2-<li> als Anker wenn es Kinder hat */
.main-nav .sub-menu li.has-children {
	position: relative;
}

/* Pfeil rechts am Level-2-Link */
.nav-arrow--right {
    float: right;
    margin-left: 10px;
    font-size: 20px;
    margin-top: 13px;
    line-height: 0;
    transition: transform .2s ease;
}

.main-nav .sub-menu li.has-children:hover > a .nav-arrow--right {
	transform: translateX(3px);
}

/* Sub-Sub-Menu – standardmässig unsichtbar, Flyout rechts */
.main-nav .sub-sub-menu {
	display: block;
	list-style: none;
	position: absolute;
	top: -8px;
	left: 100%;
	min-width: 210px;
	background: #1c1c1c;
	padding: 8px 0;
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	transform: translateX(-6px);
}

/* Kleines Dreieck links (Standard: Flyout nach rechts) */
.main-nav .sub-sub-menu::before {
	content: '';
	position: absolute;
	top: 16px;
	left: -6px;
	border: 6px solid transparent;
	border-left: none;
	border-right-color: #1c1c1c;
}

/* Sichtbar beim Hover / Focus */
.main-nav .sub-menu li.has-children:hover > .sub-sub-menu,
.main-nav .sub-menu li.has-children:focus-within > .sub-sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

/* Flyout nach links wenn kein Platz rechts vorhanden */
.main-nav .sub-sub-menu.flip-left {
	left: auto;
	right: 100%;
	transform: translateX(6px);
}
.main-nav .sub-menu li.has-children:hover > .sub-sub-menu.flip-left,
.main-nav .sub-menu li.has-children:focus-within > .sub-sub-menu.flip-left {
	transform: translateX(0);
}
/* Dreieck auf der rechten Seite wenn nach links geöffnet */
.main-nav .sub-sub-menu.flip-left::before {
	left: auto;
	right: -6px;
	border-right: none;
	border-left: 6px solid #1c1c1c;
}

/* Sub-Sub-Menu Links */
.main-nav .sub-sub-menu li { position: static; }

.main-nav .sub-sub-menu a {
	display: block;
	padding: 10px 22px;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .5px;
	white-space: nowrap;
	border-bottom: none !important;
	text-shadow: none;
	transition: color .15s ease;
}

.main-nav .sub-sub-menu a:hover,
.main-nav .sub-sub-menu a.active {
	color: #ffed00;
	opacity: 1;
}

/* Auf der Homepage: dunkelblauer Sub-Menu-Hintergrund */

.home .main-nav .sub-menu::before {
	border-bottom-color: #174195;
}
.home .main-nav .sub-menu a {
	color: #fff;
}
.home .main-nav .sub-menu a:hover,
.home .main-nav .sub-menu a.active {
	color: #ffed00;
}

/* --------------------------------------------------------------------------
   Header – Unterseiten (nicht Homepage)
   Auf der Homepage bleibt der Header position:absolute (über dem Hero).
   Auf allen anderen Seiten: position:fixed, blaue Hintergrundfarbe.
   -------------------------------------------------------------------------- */
body:not(.home) .site-header {
	position: fixed;
	padding: 15px 0;
}

body:not(.home) .header-inner {
	align-items: center;
}

body:not(.home) .main-nav {
	margin-top: 0;
}

body:not(.home) .main-nav a {
	color: var(--text-white);
}

body:not(.home) .main-nav a:hover {
	opacity: 1;
	color: var(--accent-yellow);
}

body:not(.home) .main-nav a.active {
	color: var(--text-white);
	border-bottom: 3px solid var(--accent-yellow);
	padding-bottom: 3px;
}

body:not(.home) .logo-container {
	background-color: rgba(255, 255, 255, .18);
	color: var(--text-white);
}

/* Burger-Icon-Linien auf Unterseiten weiss */
body:not(.home) .navicon,
body:not(.home) .navicon::before,
body:not(.home) .navicon::after {
	background: var(--text-white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	height: 860px;
	min-height: 600px;
	display: flex;
	align-items: center;
	background-color: #666;
	overflow: hidden;
}

.hero-bg-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	font-weight: bold;
	background-color: #888;
	z-index: 1;
}

.hero-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.20);
	z-index: 2;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-top: 50px;
}

.container.hero-content img {
    max-width: 460px;
}

.hero-title {
	font-family: var(--font-script);
	color: var(--text-white);
	font-size: 110px;
	line-height: .9;
	margin-bottom: 30px;
	transform: rotate(-4deg);
	text-shadow: 2px 4px 8px rgba(0, 0, 0, .4);
	max-width: 600px;
}

.hero-subtitle {
	color: var(--text-white);
	font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
	text-shadow: 1px 2px 4px rgba(0, 0, 0, .6);
	max-width: 460px;
	margin-top: 60px;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services-wrapper {
	position: relative;
	z-index: 10;
	margin-top: -80px;
	padding-bottom: 80px;
}

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

.service-card {
	position: relative;
	aspect-ratio: 1 / 1;
	cursor: pointer;
	overflow: hidden;
	background-color: #ddd;
}

.card-bg-placeholder,
.card-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.card-bg-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	font-weight: 600;
	background-color: #ccc;
}

.card-bg-image {
	object-fit: cover;
}

.card-normal,
.card-hover {
	position: absolute;
	inset: 0;
	z-index: 2;
	transition: all .3s ease-in-out;
}

.card-normal {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 5px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 50%);
}

.card-normal h2 {
	color: var(--text-white);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.card-hover {
	background-color: var(--hover-overlay);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 30px;
	opacity: 0;
}

.card-hover .hover-title {
	color: var(--accent-yellow);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.card-hover .hover-text {
	color: var(--text-white);
	font-size: 18px;
	line-height: 1.4;
}

.service-card:hover .card-normal { opacity: 0; }
.service-card:hover .card-hover  { opacity: 1; }

/* --------------------------------------------------------------------------
   Planung
   -------------------------------------------------------------------------- */
.planning-section {
	padding: 60px 0 120px 0;
	text-align: center;
	background-color: var(--bg-beige);
}

.section-pretitle {
	color: var(--primary-blue);
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: 300;
}

.section-title {
	color: var(--primary-blue);
	font-size: 60px;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 60px;
	letter-spacing: .5px;
	position: relative;
}

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

.icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.icon-placeholder {
	width: 60px;
	height: 60px;
	background-color: #d1d8e6;
	border-radius: 5px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-blue);
	font-size: 12px;
	font-weight: bold;
}

.icon-image {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin-bottom: 20px;
}

.icon-item h3 {
	color: var(--primary-blue);
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.3;
}

.icon-item p {
	color: var(--primary-blue);
	font-size: 18px;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Über Uns
   -------------------------------------------------------------------------- */
.about-split {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.about-content {
	flex: 1 1 50%;
	background-color: var(--primary-blue);
	color: var(--text-white);
	padding: 80px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.about-content .section-pretitle {
	color: var(--text-white);
	text-transform: none;
	letter-spacing: 0;
	font-size: 18px;
	font-weight: 100;
	margin-bottom: 15px;
}

.about-title {
	color: var(--accent-yellow);
	font-size: 60px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 30px;
	max-width: 600px;
}

.about-text {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 40px;
}

.about-footer {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.badge-placeholder {
	flex: 0 0 90px;
	height: 120px;
	background-color: var(--text-white);
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	padding: 10px;
}

.badge-image {
	flex: 0 0 90px;
	max-height: 120px;
	object-fit: contain;
}

.about-list {
	list-style: none;
	font-size: 18px;
	line-height: 1.5;
}

.about-list li {
	margin-bottom: 10px;
	position: relative;
	padding-left: 15px;
	line-height: 1.3;
}

.about-list li::before {
	content: '+';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--text-white);
	font-weight: bold;
}

.about-image {
	flex: 1 1 50%;
	position: relative;
	background-color: #d8c8b8;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-weight: bold;
	font-size: 20px;
	background-size: cover;
	background-position: center;
}

.stamp-placeholder {
	position: absolute;
	bottom: 40px;
	left: 40px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .3);
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 12px;
	text-align: center;
	padding: 10px;
}

.stamp-image {
	position: absolute;
	bottom: 40px;
	left: 40px;
	width: 120px;
	height: 120px;
	object-fit: contain;
}

/* --------------------------------------------------------------------------
   Fliegende Jass-Trumpf-Karte – Wurf-Effekt beim Scrollen (Über uns)
   -------------------------------------------------------------------------- */
.about-split { position: relative; overflow: hidden; }

.about-card {
	position: absolute;
	top: 40%;
	left: 55%;
	z-index: 5;
	width: 210px;
	max-width: 30%;
	opacity: 0;
	transform: translate(600px, -50%) rotate(160deg);
	will-change: transform, opacity;
	pointer-events: none;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}

.about-card img,
.about-card-placeholder {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.about-card-placeholder {
	aspect-ratio: 5 / 7;
	background: var(--text-white);
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	text-transform: uppercase;
}

/* Auslöser: .card-in wird per JS gesetzt, sobald die Section sichtbar wird */
.about-split.card-in .about-card {
	animation: about-card-throw 2.00s cubic-bezier(.18, .7, .24, 1) forwards;
}

@keyframes about-card-throw {
	0%   { opacity: 0; transform: translate(600px, -50%) rotate(160deg) scale(.96); }
	100% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg)  scale(1); }
}

/* Mobile: Karte kleiner und tiefer über dem Holz-Bild landen */
@media (max-width: 768px) {
	.about-card { width: 150px; max-width: 45%; left: 45%; top: 75%; }
}

/* Reduzierte Bewegung: Karte einfach anzeigen, kein Wurf */
@media (prefers-reduced-motion: reduce) {
	.about-card {
		opacity: 1;
		transform: translate(-50%, -50%) rotate(-8deg);
		animation: none !important;
	}
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-section {
	padding: 80px 0;
	background-color: var(--bg-beige);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.team-section .section-pretitle {
	margin-bottom: 4px;
}

.team-section .section-title {
	margin-bottom: 50px;
}

.team-watermark {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	user-select: none;
}

.team-grid-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 40px 0 90px;
}

.team-arrow {
	flex: 0 0 50px;
	font-size: 120px;
	color: var(--primary-blue);
	cursor: pointer;
	user-select: none;
	line-height: 1;
	font-weight: 300;
	background: none;
	border: 0;
	padding: 0;
	font-family: inherit;
	transition: opacity .2s ease;
	position: relative;
}

.team-arrow:hover {
	opacity: .7;
}

.team-viewport {
	flex: 1;
	overflow: hidden;
	min-width: 0;
}

.team-grid {
	display: flex;
	gap: 20px;
	transition: transform .45s ease;
	will-change: transform;
}

.team-card {
	position: relative;
	padding-bottom: 80px;   /* mehr Platz für mehrzeilige Rollen */
	flex: 0 0 calc((100% - 40px) / 3);
}

.team-arrow.is-disabled,
.projects-arrow.is-disabled {
	opacity: .25;
	cursor: default;
	pointer-events: none;
}

.team-photo-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #b8b0a8;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	padding: 10px;
}

.team-photo-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top;
}

.team-label {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	background-color: var(--primary-blue);
	padding: 14px 14px 16px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
	min-height: 118px;   /* alle Karten gleich hoch, Platz für 2+ Zeilen */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: top;
}

.team-name {
	color: var(--accent-yellow);
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 2px;
}

.team-role {
	color: var(--text-white);
	font-size: 18px;
	line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 6px 25px;
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	cursor: pointer;
	transition: all .3s ease;
	position: relative;
}

.btn-blue {
	background-color: var(--primary-blue);
	color: var(--accent-yellow);
	border-color: var(--primary-blue);
}

.btn-blue:hover {
	background-color: #0f2d6b;
}

.btn-white {
	background-color: var(--text-white);
	color: var(--primary-blue);
}

.btn-white:hover {
	background-color: #ffffffe0;
	color: var(--primary-blue);
}

/* --------------------------------------------------------------------------
   Vorteile
   -------------------------------------------------------------------------- */
.advantages-split {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.advantages-image {
	flex: 1 1 50%;
	position: relative;
	background-color: #3a2e25;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.advantages-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.20);
	z-index: 2;
	pointer-events: none;
}

img.advantages_script_img {
    z-index: 3;
    position: relative;
}

.advantages-image-placeholder {
	position: absolute;
	inset: 0;
	background-color: #5a4535;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .25);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	padding: 20px;
}

.advantages-script {
	position: relative;
	z-index: 2;
	font-family: var(--font-script);
	color: var(--text-white);
	font-size: 140px;
	line-height: .9;
	transform: rotate(-5deg);
	text-shadow: 2px 4px 15px rgba(0, 0, 0, .6);
	text-align: center;
}

.advantages-content {
	flex: 1 1 50%;
	background-color: var(--primary-blue);
	color: var(--text-white);
	padding: 60px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.advantages-content .section-pretitle {
	color: rgba(255, 255, 255, .8);
	text-transform: none;
	letter-spacing: 0;
	font-size: 18px;
	margin-bottom: 15px;
}

.advantages-title {
	color: var(--accent-yellow);
	font-size: 60px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 25px;
}

.advantages-text {
	font-size: 18px;
	line-height: 1.3;
	color: var(--text-white);
	margin-bottom: 30px;
	max-width: 565px;
}

.advantages-list {
	list-style: none;
	margin-bottom: 40px;
}

/* Button nicht auf volle Breite strecken (flex-column-Container) */
.advantages-content .btn,
.cta-content .btn {
	align-self: flex-start;
}

.advantages-list li {
	padding: 14px 0 14px 22px;
	position: relative;
}

.advantages-list li::before {
	content: '+';
	position: absolute;
	left: 0;
	top: 14px;
	color: var(--text-white);
	font-weight: 700;
	font-size: 18px;
}

.advantages-list strong {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: -4px;
}

.advantages-list span {
	font-size: 18px;
	color: rgba(255, 255, 255, .75);
}

/* --------------------------------------------------------------------------
   Zitat
   -------------------------------------------------------------------------- */
.quote-section {
	position: relative;
	padding: 40px 20px 100px;
	text-align: center;
	overflow: hidden;
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quote-bg-placeholder,
.quote-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.quote-bg-placeholder {
	background-color: #d4b896;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .45);
	font-weight: 600;
	font-size: 14px;
}

.quote-bg-image {
	object-fit: cover;
}

.quote-content {
	position: relative;
	z-index: 2;
	max-width: 50%;
}

.quote-icon {
	color: var(--text-white);
	font-size: 100px;
	line-height: 1;
	margin-bottom: 18px;
	font-weight: 700;
	letter-spacing: -4px;
	display: inline-block;
}

.quote-text {
	color: var(--primary-blue);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.5;
	letter-spacing: .8px;
	margin-bottom: 18px;
}

.quote-author {
	color: var(--primary-blue);
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-split {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.cta-image {
	flex: 1 1 50%;
	position: relative;
	background-color: #4a3525;
	min-height: 300px;
	background-size: cover;
	background-position: center;
}

.cta-image-placeholder {
	position: absolute;
	inset: 0;
	background-color: #5a4535;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .3);
	font-weight: 600;
	text-align: center;
	padding: 20px;
	font-size: 14px;
}

.cta-content {
	flex: 1 1 50%;
	background-color: var(--primary-blue);
	color: var(--text-white);
	padding: 60px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cta-title {
	font-size: 60px;
	line-height: 1.15;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.cta-title.yellow { color: var(--accent-yellow); }
.cta-title.white  { color: var(--text-white); margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Projekte
   -------------------------------------------------------------------------- */
.projects-section {
	padding: 80px 0 80px 0;
	background-color: var(--bg-beige);
	text-align: center;
	position: relative;
}

.projects-section .section-pretitle {
	margin-bottom: 4px;
}

.projects-section .section-title {
	margin-bottom: 50px;
}

.projects-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.projects-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	color: var(--text-white);
	font-size: 100px;
	cursor: pointer;
	user-select: none;
	line-height: 1;
	font-weight: 300;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
	padding: 0 75px;
	background: none;
	border: 0;
	font-family: inherit;
	transition: opacity .2s ease;
}

.projects-arrow:hover { opacity: .7; }
.projects-arrow.left  { left:  15px; }
.projects-arrow.right { right: 15px; }

.projects-grid {
	display: flex;
	gap: 20px;
	width: 100%;
	transition: transform .45s ease;
	will-change: transform;
	min-height: 350px;
}

.project-card {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: #c8b89c;
	overflow: hidden;
	flex: 0 0 25%;
}

.project-placeholder,
.project-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 350px;
}

.project-placeholder {
	background-color: #c8b89c;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	padding: 10px;
}

.project-image {
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.news-section {
	padding: 80px 0;
	background-color: var(--bg-beige);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.news-figure,
.news-figure-image {
	position: absolute;
    left: 286px;
    top: -60px;
    width: 427px;
	height: 100%;
	min-height: 520px;
	pointer-events: none;
	z-index: 1;
}

.news-figure {
	background-color: rgba(25, 64, 139, .12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(25, 64, 139, .55);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	padding: 15px;
	line-height: 1.4;
}

.news-figure-image {
	object-fit: contain;
}

.news-section .container {
	position: relative;
	z-index: 2;
}

.news-section .section-title {
	margin-bottom: 50px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.news-card {
	text-align: left;
}

.news-image-placeholder,
.news-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #b8b0a8;
	margin-bottom: 20px;
}

.news-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	padding: 10px;
}

.news-image {
	object-fit: cover;
}

.news-title {
	color: var(--primary-blue);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.1;
	margin-bottom: 10px;
	min-height: 100px;
}

.news-title a {
	text-decoration: none;
}

.news-date {
	color: var(--primary-blue);
	font-size: 18px;
	opacity: .7;
	margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background-color: var(--primary-blue);
	color: var(--text-white);
	padding: 45px 0 30px;
	font-size: 13px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.footer-col h3 {
	color: var(--accent-yellow);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 25px;
	letter-spacing: .5px;
}

.footer-list {
	list-style: none;
}

.footer-list li {
	position: relative;
	padding-left: 18px;
	line-height: 1.5;
	font-size: 18px;
}

.footer-list li::before {
	content: '+';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--text-white);
	font-weight: 700;
}

.footer-list li.spacer-top {
	margin-top: 18px;
}

.footer-list a {
	color: var(--text-white);
	text-decoration: none;
	transition: opacity .2s ease;
}

.footer-list a:hover {
	opacity: .7;
}

.footer-contact p {
	line-height: 1.6;
	margin-bottom: 14px;
	font-size: 18px;
}

.footer-contact p:last-child {
	margin-bottom: 0;
}

.footer-contact strong {
	font-weight: 700;
	display: block;
	line-height: 1.4;
}

.footer-contact a {
	color: var(--text-white);
	text-decoration: none;
}

.footer-contact a:hover {
	opacity: .7;
}

.footer-bottom {
	padding-top: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 15px;
}

.footer-logo-placeholder {
	width: 200px;
	height: 65px;
	background-color: rgba(255, 255, 255, .08);
	border: 1px dashed rgba(255, 255, 255, .25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	padding: 5px;
	line-height: 1.3;
}

.footer-logo-image {
	max-width: 200px;
	max-height: 65px;
	object-fit: contain;
}

.footer-seal-placeholder {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .08);
	border: 1px dashed rgba(255, 255, 255, .25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .7);
	font-size: 9px;
	font-weight: 600;
	text-align: center;
	padding: 4px;
	line-height: 1.2;
	flex-shrink: 0;
}

.footer-seal-image {
	width: 55px;
	height: 55px;
	object-fit: contain;
}

.footer-meta {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 18px;
	color: var(--text-white);
}

.footer-meta-divider {
	opacity: .5;
}

.footer-social {
	display: flex;
	gap: 10px;
}

.footer-social a {
	width: 14px;
	height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-white);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	border-radius: 3px;
	transition: all .2s ease;
}

.footer-social a:hover {
	opacity: .8;
}

/* ==========================================================================
   Scroll-to-Top Button
   ========================================================================== */

.zh-scroll-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--primary-blue);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease, background .2s ease;
}

.zh-scroll-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.zh-scroll-top:hover {
	background: var(--accent-yellow);
	color: var(--primary-blue);
}

/* ==========================================================================
   Cookie-Banner
   ========================================================================== */

#zh-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	background: #111;
	color: #fff;
	padding: 0;
	transform: translateY(100%);
	transition: transform .4s cubic-bezier(.4, 0, .2, 1);
	box-shadow: 0 -4px 30px rgba(0, 0, 0, .4);
}

#zh-cookie-banner.is-visible  { transform: translateY(0); }
#zh-cookie-banner.is-hiding   { transform: translateY(100%); }

.zh-cookie-inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.zh-cookie-text {
	flex: 1 1 300px;
}

.zh-cookie-text strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--accent-yellow);
}

.zh-cookie-text p {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .78);
	margin: 0;
}

.zh-cookie-actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.zh-cookie-accept,
.zh-cookie-reject {
	padding: 10px 24px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.zh-cookie-accept {
	background: var(--accent-yellow);
	color: #111;
	border-color: var(--accent-yellow);
}

.zh-cookie-accept:hover {
	background: #fff;
	color: #111;
	border-color: #fff;
}

.zh-cookie-reject {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
}

.zh-cookie-reject:hover {
	border-color: #fff;
	color: #fff;
}

@media (max-width: 600px) {
	.zh-cookie-inner   { flex-direction: column; gap: 16px; }
	.zh-cookie-actions { width: 100%; }
	.zh-cookie-accept,
	.zh-cookie-reject  { flex: 1; text-align: center; }
	.zh-scroll-top     { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.hero-title               { font-size: 80px; }
	.services-wrapper         { margin-top: -80px; }
	.services-grid            { gap: 15px; }
	.card-hover .hover-title  { font-size: 18px; }
	.section-title            { font-size: 30px; }
	.icon-grid                { gap: 20px; }
	.about-content            { padding: 60px 40px; }
	.about-title              { font-size: 34px; }
	.team-watermark           { font-size: 140px; }
	.advantages-title         { font-size: 32px; }
	.advantages-content       { padding: 60px 40px; }
	.advantages-script        { font-size: 70px; }
	.cta-content              { padding: 50px 40px; }
	.cta-title                { font-size: 28px; }
	.news-figure,
	.news-figure-image        { width: 140px; height: 320px; }
	.news-title               { font-size: 16px; }
	.footer-grid              { gap: 25px; }
	.footer-col h3            { font-size: 16px; }
}

@media (max-width: 850px) {
	.icon-grid                { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.about-split              { flex-direction: column; }
	.about-content,
	.about-image              { flex: 1 1 100%; width: 100%; }
	.advantages-split         { flex-direction: column; }
	.advantages-image,
	.advantages-content       { flex: 1 1 100%; width: 100%; }
	.advantages-image         { min-height: 350px; }
	.advantages-script        { font-size: 65px; }
	.cta-split                { flex-direction: column; }
	.cta-image,
	.cta-content              { flex: 1 1 100%; width: 100%; }
	.cta-image                { min-height: 250px; }
	.news-grid                { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.news-card:last-child     { grid-column: span 2; max-width: 50%; margin: 0 auto; }
	.news-figure,
	.news-figure-image        { display: none; }
	.footer-grid              { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}

@media (max-width: 768px) {

	/* ── Fixed Header + Scroll-Hide/Show ─────────────────────────── */
	.site-header {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		padding: 30px 0 !important;
		background-color: transparent !important;
		transition: transform .35s cubic-bezier(.4, 0, .2, 1);
		z-index: 200;
	}

	/* Blauer Hintergrund als eigenständige Schicht – Mobile Override */
	.site-header::before {
		background: #174195;
		opacity: 0;
	}

	/* Home Mobile: blauer Hintergrund mit Opacity beim Scrollen */
	.home .site-header.nav-scrolled::before       { opacity: 0.88; }

	/* Nicht-Home Mobile: sofort vollblau, leicht transparent beim Scrollen */
	body:not(.home) .site-header::before          { opacity: 1; }
	body:not(.home) .site-header.nav-scrolled::before { opacity: 0.82; }

	/* Header-Inhalt über dem Hintergrund */
	.header-inner {
		position: relative;
		z-index: 1;
	}

	.site-header.nav-hidden   { transform: translateY(-100%); }

	/* Platz unter fixed Header auf Unterseiten */
	body:not(.home)           { padding-top: 75px; }

	/* Header-Inner immer zentriert auf Mobile */
	.header-inner             { align-items: center; }

	/* Logo Originalgrösse beibehalten */
	.logo-container           { background-color: var(--primary-blue); width: 200px; height: 65px; }

	/* Dark Overlay auf Hero-Bild (Mobile Lesbarkeit) */
	.hero::after              { background: rgba(0, 0, 0, 0.42); }

	/* Scroll-to-Top: auf Mobile immer sichtbar wenn aktiv */
	.zh-scroll-top            { display: flex !important; }

	.menu-icon                { display: block; margin-right: -100px; }
	.main-nav                 { margin-top: 0; }
	.main-nav ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #fff;
		box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
		padding: 20px;
		gap: 20px;
		text-align: center;
	}
	.menu-btn:checked ~ .main-nav ul                    { display: flex; }
	.menu-btn:checked ~ .menu-icon .navicon             { background: transparent; }
	.menu-btn:checked ~ .menu-icon .navicon::before     { transform: rotate(-45deg); top: 0; }
	.menu-btn:checked ~ .menu-icon .navicon::after      { transform: rotate(45deg);  top: 0; }

	/* Hamburger-Icon immer weiss (Header ist auf Mobile immer dunkel) */
	.navicon,
	.navicon::before,
	.navicon::after { background: #fff; }

	/* Mobile: alle Nav-Links blau (Dropdown hat weissen Hintergrund) */
	.main-nav a,
	body:not(.home) .main-nav a {
		color: var(--primary-blue) !important;
	}
	body:not(.home) .main-nav a:hover  { color: var(--primary-blue) !important; opacity: .7; }
	body:not(.home) .main-nav a.active { color: var(--primary-blue) !important; }

	/* Sub-Menu auf Mobile: immer versteckt, nur per .is-open sichtbar */
	.main-nav .sub-menu {
		position: static !important;
		transform: none !important;
		opacity: 1 !important;
		pointer-events: none;
		background: #fff;
		padding: 4px 0;
		margin-top: 4px;
		display: none !important;
		flex-direction: column;
		gap: 0;
		box-shadow: none;
		min-width: 0;
		border-left: 3px solid var(--primary-blue);
	}
	.main-nav .sub-menu.is-open {
		display: flex !important;
		pointer-events: auto;
	}
	/* Desktop hover/focus-within auf Mobile deaktivieren */
	.main-nav li.has-children:hover > .sub-menu,
	.main-nav li.has-children:focus-within > .sub-menu {
		display: none !important;
	}
	.main-nav li.has-children:hover > .sub-menu.is-open,
	.main-nav li.has-children:focus-within > .sub-menu.is-open {
		display: flex !important;
	}

	.main-nav .sub-menu::before { display: none; }
	.main-nav .sub-menu a {
		color: var(--primary-blue) !important;
		font-size: 18px;
		padding: 10px 20px;
		text-align: left;
		opacity: 1 !important;
		border-bottom: none !important;
		background: none !important;
	}
	.main-nav .sub-menu a:hover,
	.main-nav .sub-menu a.active {
		/*color: var(--accent-yellow) !important;*/
		background: none !important;
	}

	/* Sub-Sub-Menu auf Mobile: versteckt, per .is-open eingeblendet */
	.main-nav .sub-sub-menu {
		position: static !important;
		opacity: 1 !important;
		transform: none !important;
		pointer-events: none;
		background: #f0f0f0;
		padding: 4px 0;
		margin-top: 4px;
		display: none !important;
		flex-direction: column;
		gap: 0;
		box-shadow: none;
		min-width: 0;
		/*border-left: 3px solid var(--accent-yellow);*/
	}
	.main-nav .sub-sub-menu.is-open {
		display: flex !important;
		pointer-events: auto;
	}
	/* Desktop hover/focus-within auf Mobile deaktivieren */
	.main-nav .sub-menu li.has-children:hover > .sub-sub-menu,
	.main-nav .sub-menu li.has-children:focus-within > .sub-sub-menu {
		display: none !important;
	}
	.main-nav .sub-menu li.has-children:hover > .sub-sub-menu.is-open,
	.main-nav .sub-menu li.has-children:focus-within > .sub-sub-menu.is-open {
		display: flex !important;
	}
	.main-nav .sub-sub-menu::before { display: none; }
	.main-nav .sub-sub-menu a {
		color: var(--primary-blue) !important;
		font-size: 18px;
		padding: 8px 20px 8px 28px;
		text-align: left;
		opacity: 1 !important;
		border-bottom: none !important;
		background: none !important;
		text-shadow: none !important;
	}
	.main-nav .sub-sub-menu a:hover,
	.main-nav .sub-sub-menu a.active {
		color: var(--accent-yellow) !important;
		background: none !important;
	}

	/* Nav-Pfeile: sichtbar, dreht sich wenn geöffnet */
	.nav-arrow { display: inline-block; margin-top: -4px;}
	.main-nav li.has-children.is-open > a .nav-arrow { transform: rotate(180deg); }
	/* Rechts-Pfeil (Ebene 3): dreht sich nach unten */
	.nav-arrow--right { float: none; margin-left: 6px; margin-top: -10px; }
	.main-nav .sub-menu li.has-children.is-open > a .nav-arrow--right { transform: rotate(90deg); }

	.hero                     { height: auto; min-height: 60vh; text-align: center; padding: 110px 0 25px; }
	.hero-title               { font-size: 60px; transform: rotate(0); margin: 0 auto 20px auto; }
	.hero-subtitle            { margin: 0 auto; }
	.services-grid            { grid-template-columns: repeat(2, 1fr); }
	.services-wrapper         { margin-top: -50px; }
	.team-watermark           { font-size: 70px; }
	.advantages-content       { padding: 50px 30px; }
	.cta-content              { padding: 40px 25px; }
	.cta-title                { font-size: 24px; }
	.quote-text               { font-size: 18px; }
	.projects-arrow           { font-size: 50px; }
	.news-title               { font-size: 20px; min-height: 0; margin-bottom: 4px; }
	.news-date                { font-size: 14px; margin-bottom: 12px; }
	.footer-bottom            { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
	.services-wrapper         { margin-top: 30px; padding-bottom: 40px; }
	.services-grid            { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.card-normal h2           { font-size: 16px; }
	.icon-grid                { grid-template-columns: 1fr; }
	.about-content            { padding: 40px 20px; }
	.about-footer             { flex-direction: column; align-items: center; text-align: center; }
	.about-list li            { text-align: left; }
	.team-grid-wrapper        { gap: 10px; margin-bottom: 40px; }
	.advantages-content       { padding: 40px 20px; }
	.advantages-title         { font-size: 26px; }
	.advantages-script        { font-size: 55px; }
	.advantages-image img	{ height: 250px; }
	.cta-title                { font-size: 22px; }
	.news-grid                { grid-template-columns: 1fr; }
	.news-card:last-child     { max-width: 100%; }
	.news-section				{ padding: 40px 0 0; }
	.news-title               { font-size: 18px; min-height: 0; margin-bottom: 4px; }
	.news-date                { margin-bottom: 10px; }
	.footer-grid              { grid-template-columns: 1fr; gap: 30px; }
	.site-footer              { padding: 50px 0 25px; }
	img.hero-title-image	 { height: 250px; margin: 0 auto 20px; }
}

/* ==========================================================================
   PAGE TEMPLATES – Angebote / Bild-Text / Simple
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Hero (Banner) – gemeinsam für Angebote & Bild-Text
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	width: 100%;
	min-height: 540px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: #2a3a5c;
}

.page-hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.page-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #174195 0%, #2a3a5c 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.2);
	font-size: 18px;
	font-weight: 600;
}

.page-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 60px 0 50px;
	background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%);
}

.page-hero-content .container,
.page-hero-content > * {
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.page-hero-pretitle {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent-yellow);
	margin-bottom: 10px;
}

.page-hero-title {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--text-white);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.page-hero-subtitle {
	font-size: 18px;
	color: rgba(255,255,255,.88);
	max-width: 620px;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
	background-color: var(--primary-blue);
	padding: 12px 0;
}

.breadcrumb ol,
nav.breadcrumb ol {
	list-style: none !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.breadcrumb li,
nav.breadcrumb li {
	list-style: none !important;
}

.breadcrumb li {
	font-size: 13px;
	color: rgba(255,255,255,.7);
}

.breadcrumb li + li::before {
	content: '›';
	margin-right: 8px;
	color: rgba(255,255,255,.4);
}

.breadcrumb a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--accent-yellow);
	text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
	color: var(--accent-yellow);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Einleitung (Page Intro)
   -------------------------------------------------------------------------- */
.page-intro {
	padding: 70px 0 50px;
	background-color: var(--bg-beige);
}

.page-intro .section-pretitle {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--primary-blue);
	margin-bottom: 10px;
}

.page-intro .section-title {
	font-size: 38px;
	font-weight: 700;
	color: var(--primary-blue);
	text-transform: uppercase;
	margin-bottom: 22px;
	line-height: 1.15;
}

.page-intro-text {
	font-size: 16px;
	line-height: 1.7;
	color: #444;
	max-width: 820px;
}

.page-intro-text p { margin-bottom: 14px; }
.page-intro-text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Angebots-Blöcke (alternierend Bild + Text)
   -------------------------------------------------------------------------- */
.offers {
	padding: 0 0 80px;
	background-color: var(--bg-beige);
}

.offer-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-bottom: 60px;
	overflow: hidden;
	border-radius: 2px;
}

.offer-block:last-child { margin-bottom: 0; }

.offer-block.reversed .offer-image { order: 2; }
.offer-block.reversed .offer-content { order: 1; }

.offer-image {
	position: relative;
	overflow: hidden;
	/*height: 100%;*/
	min-height: 380px;
	aspect-ratio: 1 / 1;
}

.offer-image img {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.offer-image-placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #d0d8e8 0%, #b8c4d8 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(23,65,149,.4);
	font-size: 14px;
	font-weight: 600;
}

.offer-content {
	padding: 50px 50px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.offer-number {
	display: block;
	font-size: 80px;
	font-weight: 700;
	color: rgba(23,65,149,.08);
	line-height: 1;
	margin-bottom: -20px;
	position: relative;
	z-index: 0;
}

.offer-content h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--primary-blue);
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 18px;
	position: relative;
	z-index: 1;
}

.offer-description {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 20px;
}

.offer-description p { margin-bottom: 12px; }
.offer-description p:last-child { margin-bottom: 0; }

.offer-list {
	list-style: none;
	margin-bottom: 28px;
}

.offer-list li {
	font-size: 15px;
	color: #333;
	padding: 6px 0 6px 20px;
	position: relative;
}

.offer-list li::before {
	content: '›';
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: 700;
}

.offer-content .btn {
	align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Bild-Text-Seite (Template 2 – einzelner Block)
   -------------------------------------------------------------------------- */
.bild-text-section {
	padding: 80px 0;
	background-color: var(--bg-beige);
}

.bild-text-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.bild-text-image {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	min-height: 400px;
	background-color: #d0d8e8;
}

.bild-text-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bild-text-image-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(23,65,149,.4);
	font-size: 14px;
	font-weight: 600;
}

.bild-text-content .section-pretitle {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--primary-blue);
	margin-bottom: 10px;
}

.bild-text-content h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-blue);
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 20px;
}

.bild-text-body {
	font-size: 15px;
	line-height: 1.75;
	color: #444;
	margin-bottom: 24px;
}

.bild-text-body p { margin-bottom: 14px; }
.bild-text-body p:last-child { margin-bottom: 0; }

.bild-text-content .offer-list { margin-bottom: 28px; }

.bild-text-content .btn {
	align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Simple Page (Template 3 – Impressum, Datenschutz etc.)
   -------------------------------------------------------------------------- */
.simple-page {
	padding: 70px 0 100px;
	background-color: var(--bg-beige);
}

.simple-page-title {
	font-size: 40px;
	font-weight: 700;
	color: var(--primary-blue);
	text-transform: uppercase;
	margin-bottom: 36px;
	line-height: 1.15;
	padding-bottom: 18px;
	border-bottom: 3px solid var(--accent-yellow);
}

.simple-page-body {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	max-width: 860px;
}

.simple-page-body h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-blue);
	margin: 36px 0 14px;
}

.simple-page-body h3 {
	font-size: 19px;
	font-weight: 700;
	color: #333;
	margin: 26px 0 10px;
}

.simple-page-body p { margin-bottom: 16px; }
.simple-page-body p:last-child { margin-bottom: 0; }

.simple-page-body ul,
.simple-page-body ol {
	margin: 0 0 16px 22px;
}

.simple-page-body li { margin-bottom: 6px; }

.simple-page-body a {
	color: var(--primary-blue);
	text-decoration: underline;
}

.simple-page-body a:hover { color: #0d2a6e; }

h3.news-title a, h3.news-title a:visited {
    color: inherit;
    text-decoration: none;
}

.forminator-label {
	color: var(--primary-blue);
}
.forminator-ui .selection {
    background: white;
}

span.select2-selection.select2-selection--single, .forminator-ui input, .forminator-ui textarea {
    border-color: #dddddd;
}

/* --------------------------------------------------------------------------
   Responsive – Page Templates
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.page-hero-title      { font-size: 40px; }
	.offer-content        { padding: 40px 35px; }
	.offer-number         { font-size: 60px; }
	.offer-content h2     { font-size: 24px; }
}

@media (max-width: 768px) {
	.page-hero            { min-height: 300px; }
	.page-hero-title      { font-size: 30px; }
	.page-hero-subtitle   { font-size: 15px; }
	.page-intro           { padding: 50px 0 35px; }
	.page-intro .section-title { font-size: 26px; }
	.offer-block          { grid-template-columns: 1fr; }
	.offer-block.reversed .offer-image  { order: 0; }
	.offer-block.reversed .offer-content { order: 0; }
	.offer-image          { min-height: 260px; }
	.offer-content        { padding: 30px 24px; }
	.offer-number         { font-size: 50px; margin-bottom: -12px; }
	.offer-content h2     { font-size: 22px; }
	.bild-text-block      { grid-template-columns: 1fr; gap: 30px; }
	.bild-text-image      { min-height: 260px; }
	.bild-text-content h2 { font-size: 24px; }
	.simple-page-title    { font-size: 28px; }
	.simple-page-body h2  { font-size: 20px; }
}

@media (max-width: 480px) {
	.page-hero-title      { font-size: 24px; }
	.page-intro .section-title { font-size: 22px; }
	.offer-content        { padding: 24px 18px; }
	.bild-text-section    { padding: 50px 0; }
	.simple-page          { padding: 50px 0 70px; }
	.simple-page-title    { font-size: 24px; }
	.card-hover .hover-text { font-size: 14px; }
}
