/*
Theme Name: Fiducor
Theme URI: https://www.fiducor.ch
Author: Fiducor AG
Description: Eigenes Block-Theme der Fiducor AG. Corporate Design gemäss CD-Dokument (Blau #1F4E79, Gold #BF9000). Design-Richtung "Variante A — Klassisch & Ruhig" (Freigabe Marc, 19.07.2026). Eigenbau ohne externe Abhängigkeiten. Dokumentation: Webseite/DOKU_Theme.md
Version: 1.3.1
Requires at least: 6.6
Requires PHP: 8.1
License: Proprietär (Fiducor AG)
Text Domain: fiducor
*/

/* ---------- Header ---------- */
.fid-header {
	box-shadow: 0 1px 0 rgba(31, 78, 121, 0.12);
	position: relative;
	z-index: 10;
}
.fid-header .wp-block-navigation a {
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1F4E79;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.fid-header .wp-block-navigation a:hover,
.fid-header .wp-block-navigation .current-menu-item > a {
	color: #1F4E79;
	border-bottom-color: #BF9000;
}

/* ---------- Overline & Goldlinie (Variante A) ---------- */
.fid-overline {
	color: #BF9000;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	font-size: 1.22rem; /* +50% gegenüber 0.8125rem (Feedback Marc 19.07.2026) */
}
.fid-goldlinie {
	width: 72px;
	height: 3px;
	background: #BF9000;
	border: none;
	margin-top: 1.4rem;
	margin-bottom: 1.4rem;
}
.fid-goldlinie.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Hero (Cover-Blöcke) ---------- */
.fid-hero .wp-block-cover__background {
	background: linear-gradient(rgba(18, 38, 58, 0.55), rgba(18, 38, 58, 0.35) 55%, rgba(18, 38, 58, 0.65)) !important;
	opacity: 1 !important;
}
.fid-hero h1,
.fid-hero p {
	color: #ffffff;
}
.fid-hero h1 {
	font-size: clamp(2.5rem, 5.2vw, 3.625rem);
	line-height: 1.12;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}
.fid-hero p {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.92);
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.fid-hero .fid-overline {
	color: #D4A926;
}
.fid-hero .wp-block-cover__inner-container > * {
	animation: fid-auf 0.9s ease both;
}
@keyframes fid-auf {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Claim-Band (weiss, Freigabe Marc 19.07.2026) ---------- */
.fid-claim {
	background: #ffffff;
	text-align: center;
}
.fid-claim::before {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	background: #BF9000;
	margin: 0 auto 30px;
}
.fid-claim p.fid-claim-text {
	color: #1F4E79;
	font-size: clamp(1.6rem, 3vw, 2.375rem);
	line-height: 1.3;
	font-weight: 700;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.fid-claim p.fid-claim-text em {
	font-style: normal;
	color: #BF9000;
}

/* ---------- Inhalt / Karten (Variante A) ---------- */
.fid-kachel {
	background: #ffffff;
	border-top: 3px solid #BF9000;
	padding: 2.2rem 2rem;
	box-shadow: 0 10px 34px rgba(31, 78, 121, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
}
.fid-kachel:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 44px rgba(31, 78, 121, 0.13);
}
.fid-kachel h4 {
	margin-top: 0;
	font-size: 1.375rem;
}
.fid-kachel p {
	color: #4A5058;
	font-size: 1.0625rem;
}
.fid-sektion-grau {
	background: #F7F8FA;
}
.fid-liste ul {
	list-style: none;
	padding-left: 0;
}
.fid-liste li {
	padding: 0.4rem 0 0.4rem 1.6rem;
	position: relative;
	font-weight: 700;
	color: #1F4E79;
}
.fid-liste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 0.7rem;
	height: 0.7rem;
	background: #BF9000;
	border-radius: 50%;
}
.fid-zitat {
	border-left: 3px solid #BF9000;
	padding-left: 1.4rem;
	color: #1F4E79;
	font-size: 1.25rem;
	font-weight: 700;
	font-style: italic;
}

/* ---------- Bilder ---------- */
.wp-block-post-content .wp-block-image img {
	border-radius: 4px;
	box-shadow: 0 18px 44px rgba(31, 78, 121, 0.16);
}

/* ---------- Team (Kartenlayout nach easyB-Vorbild, Fiducor-Farben) ---------- */
.fid-team-karte {
	background: #ffffff;
	padding: 1.1rem 1.6rem 1.6rem;
	border-radius: 16px;
	box-shadow: 0 10px 34px rgba(31, 78, 121, 0.08);
	transition: transform 0.25s ease;
}
.fid-team-karte:hover {
	transform: translateY(-4px);
}
.fid-team-karte .wp-block-image {
	margin: 0.5rem 0 1.2rem;
}
.fid-team-karte .wp-block-image img {
	border-radius: 12px;
	box-shadow: none;
	width: 100%;
	aspect-ratio: 1 / 1; /* alle Fotos gleich gross, unabhängig vom Original (easyB-Vorbild) */
	object-fit: cover;
	object-position: 50% 30%; /* Gesichter im oberen Bilddrittel behalten */
}
.fid-team-rolle {
	color: #1F4E79;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 0;
}
.fid-team-karte h4 {
	color: #BF9000;
	font-size: 1.5rem;
	margin-top: 0.2rem;
	margin-bottom: 0.8rem;
}
.fid-team-quali {
	font-size: 0.9375rem;
	color: #4A5058;
}
.fid-team-bio {
	font-size: 0.9375rem;
	color: #4A5058;
	line-height: 1.7;
}
a.fid-li {
	display: inline-flex;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #BF9000;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background 0.2s ease;
}
a.fid-li:hover {
	background: #1F4E79;
	color: #ffffff;
}

/* ---------- Design-Element: Halber Lotus (fix unten rechts) ---------- */
.fid-lotus {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 170px;
	height: 220px;
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
	opacity: 0.85;
	pointer-events: none; /* rein dekorativ, nie klickbar */
	z-index: 40;
}
@media (max-width: 1100px) {
	.fid-lotus {
		display: none; /* auf schmalen Screens würde er Inhalt überlagern */
	}
}

/* ---------- Footer ---------- */
.fid-footer {
	background: #17395A;
	color: #ffffff;
}
.fid-footer h5 {
	color: #ffffff;
	border-bottom: 2px solid #BF9000;
	display: inline-block;
	padding-bottom: 0.3rem;
	margin-bottom: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.9375rem;
}
.fid-footer a {
	color: #D9D9D9;
	text-decoration: none;
	transition: color 0.2s ease;
}
.fid-footer a:hover {
	color: #D4A926;
}
.fid-footer p {
	color: #D9D9D9;
	font-size: 0.9375rem; /* einheitlich 15px in allen Footer-Spalten (Feedback Marc 19.07.2026) */
}
.fid-footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.9375rem;
}
