/* ==========================================================================
   Zimmerei Holzbau – pages.css  (v1.2.0)
   Stile für Seitenvorlagen: Header (Unterseiten dunkel), Banner, Breadcrumb,
   Angebote, Bild-Text, Simple Page. Separat eingebunden für Cache-Sicherheit.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Aktiver Navigationslink (Homepage – dunkler Hintergrund)
   -------------------------------------------------------------------------- */
.main-nav a.active {
	border-bottom: 3px solid #ffed00;
	padding-bottom: 3px;
}

/* --------------------------------------------------------------------------
   HEADER – Unterseiten (schwarzer Hintergrund, fließt ins Banner über)
   -------------------------------------------------------------------------- */
body:not(.home) .site-header {
	padding: 30px 0;
}

/* Platz unter fixed Header auf Unterseiten (Desktop) – Header = 22+60+22 = 104px */
body:not(.home)                   { padding-top: 140px; }

body:not(.home) .header-inner    { align-items: center; }
body:not(.home) .main-nav        { margin-top: 0; }
body:not(.home) .main-nav a      {
	color: #fff;
	font-size: 18px;
}
body:not(.home) .main-nav a:hover { opacity: 1; color: #ffed00; }
body:not(.home) .main-nav a.active {
	color: #fff;
	border-bottom: 3px solid #ffed00;
	padding-bottom: 4px;
}
/* Sub-Menu hover + active: nur Farbe, kein Hintergrund, kein Padding-Wechsel */
body:not(.home) .main-nav .sub-menu a:hover,
body:not(.home) .main-nav .sub-menu a.active {
	/*color: #ffed00 !important;*/
	background: none !important;
	border-bottom: none !important;
	padding-bottom: 10px !important;
	opacity: 1 !important;
}

/* Sub-Sub-Menu (3. Ebene) – Nicht-Homepage */
/*body:not(.home) .main-nav .sub-sub-menu {
	background: #1c1c1c;
}*/
body:not(.home) .main-nav .sub-sub-menu::before {
	border-right-color: #1c1c1c;
}
body:not(.home) .main-nav .sub-sub-menu a {
	color: #fff;
}
body:not(.home) .main-nav .sub-sub-menu a:hover,
body:not(.home) .main-nav .sub-sub-menu a.active {
	/*color: #ffed00 !important;*/
	background: none !important;
	border-bottom: none !important;
	opacity: 1 !important;
}
body:not(.home) .logo-container {
	background-color: #174195;
	color: #fff;
	width: 200px;
	height: 60px;
}
body:not(.home) .navicon,
body:not(.home) .navicon::before,
body:not(.home) .navicon::after  { background: #fff; }

/* --------------------------------------------------------------------------
   PAGE HERO (Banner) – schwarzer Hintergrund, zentriert
   Setzt direkt unter den schwarzen Header an.
   -------------------------------------------------------------------------- */
.page-hero {
	background-color: #0a0a0a;
	padding: 60px 0 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.page-hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.60;
	z-index: 0;
}

.page-hero-bg {
	display: none; /* Kein Platzhalter-Bild-Layout mehr – einfach dunkler Hintergrund */
}

.page-hero-content {
	position: relative;
	z-index: 2;
	background: none;
	padding: 0;
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

.page-hero-content .container { padding: 0 20px; }

.page-hero-pretitle {
	font-family: 'Caveat', cursive;
	font-size: 44px;
	font-weight: 700;
	color: #ffed00;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 8px;
	display: block;
}

.page-hero-title {
	font-size: 62px;
	font-weight: 700;
	line-height: 1.05;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	margin: 0 auto 22px;
	letter-spacing: 1px;
}

.page-hero-subtitle {
	font-size: 18px;
	color: rgba(255, 255, 255, .82);
	max-width: 720px;
	margin: 0 auto;
	line-height: 1.55;
	text-align: center;
}

/* --------------------------------------------------------------------------
   BREADCRUMB – beige Hintergrund, schlicht
   -------------------------------------------------------------------------- */
.breadcrumb {
	background-color: #fdf5eb;
	padding: 16px 0;
	border-bottom: 1px solid rgba(0,0,0,.04);
}

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

.breadcrumb li,
nav.breadcrumb li {
	list-style: none !important;
	font-size: 14px;
	color: #888;
}

.breadcrumb li + li::before {
	content: '/';
	margin-right: 6px;
	color: #c0b8a8;
	font-weight: 400;
}

.breadcrumb a {
	color: #999;
	text-decoration: none;
	transition: color .2s ease;
}

.breadcrumb a:hover {
	color: #174195;
	text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
	color: #174195;
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   PAGE INTRO – zentriert, mit Pretitle + Titel + Body
   -------------------------------------------------------------------------- */
.page-intro {
	padding: 80px 0 40px;
	background-color: #fdf5eb;
	text-align: center;
}

.page-intro .container { text-align: center; }

.page-intro .section-pretitle {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: .04em;
	text-transform: none;
	color: #174195;
	margin-bottom: 0;
	display: block;
}

.page-intro .section-title {
	font-size: 60px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	margin: 0 auto 26px;
	line-height: 1.1;
	letter-spacing: .5px;
}

.page-intro-text {
	font-size: 18px;
	line-height: 1.3;
	color: #555;
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

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

/* --------------------------------------------------------------------------
   OFFERS – alternierende Bild+Text-Blöcke
   -------------------------------------------------------------------------- */
.offers {
	padding: 40px 0 90px;
	background-color: #fdf5eb;
}

.offer-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
	margin-bottom: 70px;
}

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

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

/* Bild-Seite mit gelbem Eck-Akzent */

.offer-image::before {
	content: '';
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	background: #ffed00;
	z-index: 3;
	display: none;
}

.offer-image > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 1;
}

.offer-image-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: rgba(0,0,0,.5);
	font-size: 13px;
	font-style: italic;
	z-index: 2;
	gap: 4px;
	text-align: center;
	padding: 20px;
}

.offer-image-placeholder small { font-size: 12px; opacity: .7; }

/* Content-Seite */
.offer-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.offer-number {
	font-family: 'Caveat', cursive;
	font-size: 56px;
	color: #ffed00;
	line-height: 1;
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
}

.offer-content h2 {
	font-size: 60px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	line-height: 1.15;
	margin-bottom: 18px;
	letter-spacing: .5px;
}

.offer-description {
	font-size: 18px;
	line-height: 1.3;
	color: #555;
	margin-bottom: 18px;
}

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

.offer-list {
	list-style: none !important;
	margin: 0 0 24px;
	padding: 0;
}

.offer-list li {
	font-size: 18px;
	color: #333;
	padding: 5px 0 5px 18px;
	position: relative;
	list-style: none !important;
}

.offer-list li::before {
	content: '+';
	position: absolute;
	left: 0;
	color: #174195;
	font-weight: 700;
	font-size: 18px;
}

.offer-content .btn {
	align-self: flex-start;
	display: inline-block;
	background: #174195;
	color: #fff;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	text-decoration: none;
	transition: background .2s ease;
	border: none;
	cursor: pointer;
}

.offer-content .btn:hover { background: #0f2f6d; }

/* --------------------------------------------------------------------------
   BILD-TEXT-SEITE (Template 2 – einzelner Block, identisches Layout)
   -------------------------------------------------------------------------- */
.bild-text-section {
	padding: 40px 0 90px;
	background-color: #fdf5eb;
}

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

.bild-text-image {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #c2c2c2;
	overflow: hidden;
}

.bild-text-image::before {
	content: '';
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	background: #ffed00;
	z-index: 3;
	display: none;
}

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

.bild-text-image-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: rgba(0,0,0,.5);
	font-size: 13px;
	font-style: italic;
	z-index: 2;
	gap: 4px;
	padding: 20px;
	text-align: center;
}

.bild-text-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bild-text-content .section-pretitle {
	font-family: 'Caveat', cursive;
	font-size: 38px;
	color: #ffed00;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 4px;
}

.bild-text-content h2 {
	font-size: 60px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	line-height: 1.1;
	margin-bottom: 18px;
	letter-spacing: .5px;
}

.bild-text-body {
	font-size: 18px;
	line-height: 1.3;
	color: #555;
	margin-bottom: 18px;
}

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

.bild-text-content .offer-list { margin: 0 0 24px; }

.bild-text-content .btn {
	align-self: flex-start;
	display: inline-block;
	background: #174195;
	color: #fff;
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	text-decoration: none;
	transition: background .2s ease;
}

.bild-text-content .btn:hover { background: #0f2f6d; }

.offer-description ul {
	margin-left: 20px;
}

/* --------------------------------------------------------------------------
   SIMPLE PAGE – Impressum, Datenschutz etc. (Template 3)
   -------------------------------------------------------------------------- */
.simple-page {
	padding: 70px 0 100px;
	background-color: #fdf5eb;
}

.simple-page-title {
	font-size: 40px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	margin-bottom: 30px;
	line-height: 1.15;
	padding-bottom: 16px;
	border-bottom: 3px solid #ffed00;
}

.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: #174195;
	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: #174195;
	text-decoration: underline;
}

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

.offer-slider { position: relative; width: 100%; }
.slider-main { position: relative; aspect-ratio: 1/1; background: #c2c2c2; overflow: hidden; }
.slider-stage { position: absolute; inset: 0; }
.slider-slide {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; opacity: 0; transition: opacity .4s ease; z-index: 1;
}
.slider-slide.is-active { opacity: 1; z-index: 2; }
.slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
	width: 44px; height: 44px; border: 0;
	background: rgba(0,0,0,.55); color: #fff; font-size: 26px;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background .2s ease; padding: 0;
}
.slider-arrow:hover { background: #174195; }
.slider-prev { left: 12px; } .slider-next { right: 12px; }
.slider-thumbs {
	display: flex; gap: 8px; margin-top: 10px;
	overflow-x: auto; padding: 2px 0 6px;
}
.slider-thumb {
	flex: 0 0 80px; width: 80px; height: 80px;
	padding: 0; border: 2px solid transparent; background: #c2c2c2;
	cursor: pointer; overflow: hidden; opacity: .55;
	transition: opacity .2s ease, border-color .2s ease;
}
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-thumb:hover { opacity: .9; }
.slider-thumb.is-active { opacity: 1; border-color: #ffed00; }
@media (max-width: 768px) {
	.slider-thumb { flex: 0 0 60px; width: 60px; height: 60px; }
	.slider-arrow { width: 36px; height: 36px; font-size: 22px; }
}

/* ============================================================
   ANGEBOTS-SLIDER (Hauptbild + Thumbnails + Arrows)
   ============================================================ */

.offer-slider {
	position: relative;
	width: 100%;
}

/* --- Hauptbild --- */
.slider-main {
	position: relative;
	aspect-ratio: 12 / 9;
	background: #c2c2c2;
	overflow: hidden;
}

.slider-stage {
	position: relative;
	width: 100%;
	height: 100%;
}

.slider-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .4s ease;
	z-index: 1;
}

.slider-slide.is-active {
	opacity: 1;
	z-index: 2;
}

/* --- Arrows (Pfeile links/rechts) --- */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
	background: rgba(0, 0, 0, .85);
	outline: none;
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* --- Thumbnails (unter Hauptbild) --- */
.slider-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: nowrap;
}

.slider-thumb {
	flex: 1 1 0;
	min-width: 0;
	aspect-ratio: 1 / 1;
	padding: 0;
	margin: 0;
	border: 3px solid transparent;
	background: none;
	cursor: pointer;
	overflow: hidden;
	opacity: .6;
	transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
	display: block;
}

.slider-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slider-thumb:hover {
	opacity: .9;
}

.slider-thumb.is-active {
	opacity: 1;
	border-color: #ffed00;
}

.slider-thumb:focus-visible {
	outline: 2px solid #ffed00;
	outline-offset: 2px;
}

/* Mobile: kleinere Thumbnails */
@media (max-width: 600px) {
	.slider-thumbs {
		gap: 6px;
	}
	.slider-thumb {
		border-width: 2px;
	}
	.slider-arrow {
		width: 36px;
		height: 36px;
		font-size: 22px;
	}
}

/* ============================================================
   SLIDER – THUMBNAILS  (fix)
   ============================================================ */

.slider-thumbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;          /* scrollen wenn sehr viele Bilder */
}

.slider-thumb {
    flex: 0 0 80px;            /* feste Breite, kein shrink/grow */
    width: 80px;
    height: 80px;
    padding: 0;
    margin: 0;
    border: 3px solid transparent;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity .2s ease, border-color .2s ease;
    display: block;
}

.slider-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-thumb:hover {
    opacity: 0.85;
}

.slider-thumb.is-active {
    opacity: 1;
    border-color: #ffed00;
    border-width: 3px;
}


/* --------------------------------------------------------------------------
   LIGHTBOX
   -------------------------------------------------------------------------- */
.zh-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

.zh-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* Bild-Container */
.zh-lb-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: calc(100vw - 160px);
	max-height: 90vh;
}

.zh-lb-img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	box-shadow: 0 10px 60px rgba(0, 0, 0, .7);
	border-radius: 2px;
	user-select: none;
}

/* Schliessen-Button */
.zh-lb-close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
	z-index: 2;
}
.zh-lb-close:hover { background: rgba(255, 255, 255, .25); }

/* Navigationspfeile */
.zh-lb-arrow {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
	margin: 0 12px;
	user-select: none;
}
.zh-lb-arrow:hover { background: #174195; border-color: #174195; }

/* Bild-Zähler */
.zh-lb-counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .65);
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: .08em;
	pointer-events: none;
}

/* Zoom-Hinweis auf dem Slider-Bild */
.slider-stage::after {
	content: '\1F50D';
	position: absolute;
	bottom: 10px;
	right: 14px;
	font-size: 18px;
	color: rgba(255, 255, 255, .75);
	pointer-events: none;
	z-index: 5;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
	transition: opacity .2s ease;
}
.slider-stage:hover::after { opacity: .4; }

/* Mobile */
@media (max-width: 600px) {
	.zh-lb-stage     { max-width: calc(100vw - 80px); }
	.zh-lb-arrow     { width: 38px; height: 38px; font-size: 24px; margin: 0 4px; }
	.zh-lb-close     { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 22px; }
}

/* --------------------------------------------------------------------------
   KONTAKT
   -------------------------------------------------------------------------- */
.kontakt-section {
	padding: 40px 0 60px;
	background-color: #fdf5eb;
}

.kontakt-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
}

/* Map */
.kontakt-map {
	position: relative;
	min-height: 480px;
	background: #c2c2c2;
	overflow: hidden;
}

.kontakt-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.kontakt-map-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: rgba(0,0,0,.55);
	font-size: 14px;
	font-style: italic;
	padding: 20px;
	gap: 6px;
}

.kontakt-map-placeholder small { font-size: 12px; opacity: .8; }

/* Formular */
.kontakt-form {
	padding: 36px 34px;
	border: 1px solid #dddddd;
}

.kontakt-form-title {
	font-size: 28px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	margin: 0 0 22px;
	letter-spacing: .3px;
	line-height: 1.15;
}

.kontakt-form-placeholder {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #555;
}

.kontakt-form-placeholder > span:first-child {
	font-style: italic;
	color: rgba(0,0,0,.55);
	font-size: 14px;
}

.kontakt-form-placeholder > small {
	font-size: 12px;
	color: rgba(0,0,0,.5);
	margin-bottom: 12px;
}

.kontakt-demo-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 10px;
}

.kontakt-demo-form .form-row label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #333;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.kontakt-demo-form input,
.kontakt-demo-form textarea {
	border: 1px solid #ddd;
	padding: 11px 13px;
	font-family: inherit;
	font-size: 15px;
	background: #fafafa;
	color: #333;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.kontakt-demo-form input:focus,
.kontakt-demo-form textarea:focus {
	outline: none;
	border-color: #174195;
	background: #fff;
}

.kontakt-demo-form .btn {
	align-self: flex-start;
	margin-top: 6px;
	background: #174195;
	color: #fff;
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	border: none;
	cursor: pointer;
	transition: background .2s ease;
}

.kontakt-demo-form .btn:hover { background: #0f2f6d; }

/* Kontakt-Info-Karten */
.kontakt-info-section {
	padding: 0 0 90px;
	background-color: #fdf5eb;
}

.kontakt-info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.kontakt-info-card {
	padding: 24px 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-top: 3px solid var(--primary-blue);
}

.kontakt-info-label {
	font-size: 18px;
	color: var(--primary-blue);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 4px;
}

.kontakt-info-value {
	font-size: 18px;
	line-height: 1.55;
	color: #333;
}

.kontakt-info-value a {
	color: #174195;
	text-decoration: none;
	transition: color .2s ease;
}

.kontakt-info-value a:hover { color: #0f2f6d; text-decoration: underline; }



/* --------------------------------------------------------------------------
   NEWS / BLOG – Listing (home.php / archive.php)
   -------------------------------------------------------------------------- */
.news-listing {
	padding: 70px 0 100px;
	background-color: #fdf5eb;
}

/* 3-spaltige Karten-Grid */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 28px;
	margin-bottom: 60px;
}

/* Einzelne Karte */
.news-card {
	flex-direction: column;
	overflow: hidden;
}

/* Bild-Bereich mit gelbem Eck-Akzent */
.news-card-img-wrap {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex-shrink: 0;
}

.news-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.news-card:hover .news-card-img-wrap img {
	transform: scale(1.04);
}

.news-card-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #c2bdb0 0%, #a09880 100%);
}

.news-card-img-placeholder span {
	font-family: 'Caveat', cursive;
	font-size: 22px;
	font-weight: 700;
	color: rgba(255,255,255,.7);
}

/* Karten-Body */
.news-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 24px 28px;
	border-left: 3px solid #ffed00;
}

/* Meta: Kategorie + Datum */
.news-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.news-card-cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #174195;
	text-decoration: none;
	transition: color .2s;
}

.news-card-cat:hover { color: #0f2f6d; }

.news-card-meta-sep {
	font-size: 11px;
	color: #bbb;
}

.news-card-date {
	font-size: 11px;
	color: #999;
	letter-spacing: .3px;
}

/* Titel */
.news-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	line-height: 1.25;
	margin: 0 0 12px;
	letter-spacing: .3px;
}

.news-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}

.news-card-title a:hover { color: #0f2f6d; }

/* Auszug */
.news-card-excerpt {
	font-size: 13.5px;
	line-height: 1.65;
	color: #666;
	margin-bottom: 18px;
	flex: 1;
}

/* Weiterlesen-Link */
.news-card-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #174195;
	text-decoration: none;
	transition: color .2s, gap .2s;
	margin-top: auto;
}

.news-card-link:hover {
	color: #0f2f6d;
	gap: 9px;
}

/* Leerer Zustand */
.news-empty {
	text-align: center;
	padding: 60px 20px;
	color: #666;
	font-size: 16px;
}

.news-empty .btn { margin-top: 24px; }

/* Pagination */
.news-pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.news-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: #174195;
	text-decoration: none;
	border: 2px solid #d4c9b5;
	background: transparent;
	transition: background .2s, border-color .2s, color .2s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
	background: #174195;
	border-color: #174195;
	color: #fff;
}

.news-pagination .page-numbers.dots {
	border: none;
	background: none;
	color: #999;
	min-width: auto;
}

.news-listing-page {
    padding: 40px 0 60px;
}

/* --------------------------------------------------------------------------
   ÜBER UNS / TEAM – page-uber-uns.php
   Layout: schmale Label-Spalte links · Foto-Grid rechts
   -------------------------------------------------------------------------- */
.uber-wrap {
	padding: 0 0 90px;
	background-color: #fdf5eb;
}

/* Jeder Abschnitt = eine Zeile mit oberer Trennlinie */
.uber-section {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0 60px;
	padding: 40px 0;
	/*border-top: 1px solid #d4c9b5;*/
	align-items: start;
}

/*.uber-section:last-child {
	border-bottom: 1px solid #d4c9b5;
}*/

/* Label-Spalte */
.uber-section-label {
	padding-top: 4px;
}

.uber-section-label span {
	display: block;
	font-size: 30px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	line-height: 1.4;
}

/* Inhalt-Spalte */
.uber-section-content { min-width: 0; }

/* Mitglieder-Grid: auto-fill, mind. 140px pro Karte */
.uber-members-grid {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Einzelne Personenkarte */
.uber-member-card {
	display: flex;
	flex-direction: column;
}

/* Quadratisches Portrait-Foto */
.uber-member-photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #d9d0c0;
	margin-bottom: 10px;
}

.uber-member-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.uber-member-placeholder {
	width: 100%;
	height: 100%;
	background: #d9d0c0;
}

/* Text unter dem Foto */
.uber-member-info { padding: 0 2px; }

.uber-member-name {
	font-size: 30px;
	font-weight: 700;
	color: var(--primary-blue);
	line-height: 1.3;
	margin: 0 0 3px;
}

.uber-member-function {
	font-size: 18px;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

/* ── Kontakt-Reveal ──────────────────────────────────────────────────────── */
.zh-contact-reveal {
	margin-top: 14px;
	text-align: center;
}

.zh-reveal-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	background: transparent;
	border: 1.5px solid #174195;
	border-radius: 4px;
	color: #174195;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.03em;
	transition: background .2s ease, color .2s ease;
}

.zh-reveal-btn:hover   { background: #174195; color: #fff; }
.zh-reveal-btn:disabled { opacity: .55; cursor: default; }

/* hidden-Attribut hat Vorrang vor display:flex/inline-flex */
.zh-reveal-btn[hidden],
.zh-contact-loading[hidden],
.zh-contact-details[hidden],
.zh-contact-email[hidden],
.zh-contact-phone[hidden],
.zh-contact-error[hidden] { display: none !important; }

.zh-contact-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	color: #777;
	margin-top: 8px;
}

.zh-spinner {
	display: inline-block;
	width: 13px;
	height: 13px;
	border: 2px solid #ccc;
	border-top-color: #174195;
	border-radius: 50%;
	animation: zh-spin .7s linear infinite;
}

@keyframes zh-spin { to { transform: rotate(360deg); } }

.zh-contact-details {
	display: flex;
	flex-direction: column;
	gap: 7px;
	align-items: center;
	margin-top: 10px;
}

.zh-contact-email,
.zh-contact-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #174195;
	text-decoration: none;
	font-weight: 500;
	word-break: break-all;
}

.zh-contact-email::before { content: '✉'; }
.zh-contact-phone::before  { content: '☏'; font-size: 16px; }

.zh-contact-email:hover,
.zh-contact-phone:hover { color: #e6a800; text-decoration: underline; }

.zh-contact-error {
	font-size: 12px;
	color: #c0392b;
	margin-top: 6px;
}

/* reCAPTCHA-Badge ausblenden (OK wenn Hinweis im Datenschutz vorhanden) */
.grecaptcha-badge { visibility: hidden !important; }

/* Vollbild-Gruppenfoto (z.B. Belegschaft, Halle) */
.uber-group-photo {
	width: 100%;
	overflow: hidden;
	background: #c2c2c2;
}

.uber-group-photo img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   SINGLE POST – Hero
   -------------------------------------------------------------------------- */
.post-hero {
	position: relative;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.post-hero.has-thumb .post-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(10,10,10,.35) 0%,
		rgba(10,10,10,.75) 100%
	);
	z-index: 1;
}

.post-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 50px 0 56px;
}

.post-hero-cat {
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #ffed00;
	text-decoration: none;
	margin-bottom: 10px;
	transition: opacity .2s;
}

.post-hero-cat:hover { opacity: .8; }

.post-hero-date {
	display: block;
	font-size: 44px;
	color: rgba(255,255,255,.7);
	margin-bottom: 14px;
	letter-spacing: .3px;
}

.post-hero-title {
	font-size: 62px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.1;
	letter-spacing: .5px;
	max-width: 820px;
	margin: 0;
}

/* --------------------------------------------------------------------------
   SINGLE POST – Artikel
   -------------------------------------------------------------------------- */
.post-wrap {
	background-color: #fdf5eb;
	padding: 70px 0 30px;
}

.post-layout {
	max-width: 800px;
	margin: 0 auto;
}

.post-teaser {
	font-size: 18px;
	line-height: 1.7;
	color: #333;
	font-weight: 600;
	margin-bottom: 36px;
	padding-bottom: 36px;
	border-bottom: 2px solid #e4ddd0;
}

.post-content {
	font-size: 18px;
	line-height: 1.8;
	color: #444;
}

.post-content h2 {
	font-size: 26px;
	font-weight: 700;
	color: #174195;
	text-transform: uppercase;
	margin: 40px 0 16px;
	letter-spacing: .4px;
}

.post-content h3 {
	font-size: 20px;
	font-weight: 700;
	color: #174195;
	margin: 30px 0 12px;
}

.post-content h4 {
	font-size: 17px;
	font-weight: 700;
	color: #333;
	margin: 24px 0 10px;
}

.post-content p { margin-bottom: 20px; }
.post-content p:last-child { margin-bottom: 0; }

.post-content ul,
.post-content ol {
	margin: 0 0 20px 0;
	padding-left: 22px;
}

.post-content ul li,
.post-content ol li {
	margin-bottom: 6px;
	line-height: 1.7;
}

.post-content ul { list-style: none; padding-left: 0; }
.post-content ul li {
	padding-left: 18px;
	position: relative;
}
.post-content ul li::before {
	content: '›';
	position: absolute;
	left: 0;
	color: #174195;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
}

.post-content blockquote {
	margin: 30px 0;
	padding: 20px 28px;
	border-left: 4px solid #ffed00;
	background: #f0e9dc;
	font-size: 17px;
	font-style: italic;
	color: #555;
	line-height: 1.7;
}

.post-content blockquote p:last-child { margin-bottom: 0; }

.post-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 28px auto;
}

.post-content a {
	color: #174195;
	text-decoration: underline;
}

.post-content a:hover { color: #0f2f6d; }

.post-content figure { margin: 28px 0; }
.post-content figcaption {
	font-size: 13px;
	color: #888;
	text-align: center;
	margin-top: 8px;
}

/* Tags */
.post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e4ddd0;
}

.post-tags-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #999;
}

.post-tag {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #174195;
	text-decoration: none;
	border: 1.5px solid #174195;
	transition: background .2s, color .2s;
}

.post-tag:hover {
	background: #174195;
	color: #fff;
}

/* Zurück-Link */
.post-back {
	max-width: 800px;
	margin: 40px auto 0;
	padding-top: 32px;
	border-top: 1px solid #e4ddd0;
}

.post-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #174195;
	text-decoration: none;
	transition: gap .2s, color .2s;
}

.post-back-link:hover {
	color: #0f2f6d;
	gap: 10px;
}

/* --------------------------------------------------------------------------
   SINGLE POST – Prev/Next Navigation
   -------------------------------------------------------------------------- */
.post-nav {
	background-color: #174195d9;
}

.post-nav-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100px;
}

.post-nav-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 40px;
	text-decoration: none;
	transition: background .2s;
	gap: 6px;
}

.post-nav-item:hover { background: rgba(255,255,255,.08); }

.post-nav-prev { border-right: 1px solid rgba(255,255,255,.12); }

.post-nav-next {
	text-align: right;
	align-items: flex-end;
}

.post-nav-dir {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ffed00;
}

.post-nav-name {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .3px;
	max-width: 380px;
}

.post-nav-empty { background: rgba(0,0,0,.1); }

/* --- Responsive News --- */
@media (max-width: 1024px) {
	.news-grid       { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
	.post-hero-title { font-size: 36px; }
	.post-nav-item   { padding: 24px 28px; }
}

@media (max-width: 768px) {
	.news-grid           { display: block; }
	.news-card			{ margin-bottom: 24px; }
	.news-listing        { padding: 50px 0 70px; }
	.post-hero           { min-height: 300px; }
	.post-hero-title     { font-size: 26px; }
	.post-hero-content   { padding: 36px 0 40px; }
	.post-wrap           { padding: 50px 0 20px; }
	.post-teaser         { font-size: 16px; }
	.post-content        { font-size: 15px; }
	.post-content h2     { font-size: 22px; }
	.post-nav-inner      { grid-template-columns: 1fr; }
	.post-nav-prev       { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
	.post-nav-next       { text-align: left; align-items: flex-start; }
	.post-nav-name       { font-size: 13px; }
}

@media (max-width: 480px) {
	.news-card-body  { padding: 18px 18px 22px; }
	.news-card-title { font-size: 16px; }
	.post-hero-title { font-size: 22px; }
	.post-nav-item   { padding: 20px; }
}




/* Responsive */
@media (max-width: 1024px) {
	.team-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.kontakt-info-grid { grid-template-columns: repeat(2, 1fr); }
	.kontakt-grid { gap: 28px; }
	.kontakt-form { padding: 28px 24px; }
}

@media (max-width: 768px) {
	.team-grid { grid-template-columns: 1fr; gap: 30px; }
	.team-name { font-size: 22px; }
	.team-position { font-size: 26px; }

	.kontakt-grid { grid-template-columns: 1fr; gap: 24px; }
	.kontakt-map { min-height: 340px; }
	.kontakt-form { padding: 24px 20px; }
	.kontakt-form-title { font-size: 22px; }

	.kontakt-info-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.page-hero-title           { font-size: 46px; }
	.page-hero-pretitle        { font-size: 38px; }
	.page-intro .section-title { font-size: 36px; }
	.offer-block               { gap: 40px; }
	.offer-content h2          { font-size: 26px; }
	.offer-number              { font-size: 48px; }
	.bild-text-block           { gap: 40px; }
	.bild-text-content h2      { font-size: 26px; }
}

@media (max-width: 768px) {
	.page-hero                 { padding: 25px 0 60px; }
	.page-hero-pretitle        { font-size: 32px; }
	.page-hero-title           { font-size: 32px; }
	.page-hero-subtitle        { font-size: 14px; }
	.page-intro                { padding: 50px 0 25px; }
	.page-intro .section-title { font-size: 28px; }
	.offer-block               { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
	.offer-block.reversed .offer-image   { order: 0; }
	.offer-block.reversed .offer-content { order: 0; }
	.offer-content h2          { font-size: 22px; }
	.offer-number              { font-size: 42px; }
	.bild-text-block           { grid-template-columns: 1fr; gap: 25px; }
	.bild-text-content h2      { font-size: 22px; }
	.bild-text-content .section-pretitle { font-size: 32px; }
	.simple-page-title         { font-size: 28px; }
	.simple-page-body h2       { font-size: 20px; }
	body:not(.home) .site-header { padding: 14px 0; }
}

@media (max-width: 480px) {
	.page-hero-title           { font-size: 26px; }
	.page-hero-pretitle        { font-size: 28px; }
	.page-intro .section-title { font-size: 22px; }
	.bild-text-section         { padding: 30px 0 60px; }
	.simple-page               { padding: 50px 0 70px; }
	.simple-page-title         { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   ÜBER UNS – Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.uber-section        { grid-template-columns: 160px 1fr; gap: 0 36px; }
	.uber-members-grid   { grid-template-columns: repeat(auto-fill, minmax(120px, 155px)); gap: 22px 16px; }
}

@media (max-width: 768px) {
	.uber-section        { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
	.uber-section-label span { font-size: 30px; letter-spacing: 1.6px; }
	.uber-members-grid   { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 18px 12px; }
	.uber-wrap           { padding: 0 0 60px; }
}

@media (max-width: 480px) {
	.uber-members-grid   { grid-template-columns: repeat(2, 1fr); }
	.uber-member-name    { font-size: 18px; }
	.uber-member-function { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   404 – Seite nicht gefunden
   -------------------------------------------------------------------------- */
.error-404-section {
	background-color: var(--bg-beige);
	padding: 90px 0 110px;
	text-align: center;
}

.error-404-inner {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}

.error-404-number {
	font-size: 180px;
	font-weight: 700;
	line-height: 1;
	color: var(--primary-blue);
	opacity: 0.12;
	margin-bottom: -40px;
	letter-spacing: 4px;
}

.error-404-text {
	position: relative;
	font-size: 20px;
	line-height: 1.5;
	color: #333;
	margin-bottom: 35px;
}

.error-404-section .btn-blue {
	display: inline-block;
}

@media (max-width: 768px) {
	.error-404-section { padding: 60px 0 80px; }
	.error-404-number  { font-size: 120px; margin-bottom: -25px; }
	.error-404-text    { font-size: 18px; }
}
