/*
Theme Name: Claudia Zacharias
Description: Child Theme auf Basis von Twenty Twenty-Five. Farben, Schriften und fertige Abschnitte (Muster) für die Website von Claudia Zacharias. Schriften sind lokal eingebunden, es werden keine externen Dienste geladen.
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: claudia-zacharias
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ---------- Grundlagen ---------- */
:root {
	--cz-radius-xl: 48px;
	--cz-radius-l: 40px;
	--cz-radius-m: 24px;
	--cz-radius-s: 16px;
	--cz-shadow: 0 10px 30px -18px rgba(14, 63, 110, 0.2);
	--cz-shadow-soft: 0 6px 20px -12px rgba(14, 63, 110, 0.18);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* Abschnitte stoßen ohne Lücke aneinander */
.wp-site-blocks > main,
.wp-site-blocks > footer,
main > .wp-block-post-content > .alignfull,
.entry-content > .alignfull { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Kopfzeile ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}
.cz-header {
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid #EEF2F6;
}
.cz-header .wp-block-navigation a { color: var(--wp--preset--color--fliesstext); text-decoration: none; }
.cz-header .wp-block-navigation a:hover { color: var(--wp--preset--color--blau); }
.cz-header .wp-block-site-title a { text-decoration: none; }
.cz-header .wp-block-button__link { padding: 12px 22px; font-size: 15px; }
@media (max-width: 600px) {
	.cz-header .cz-header-cta { display: none; }
}

/* ---------- Kleine Überschrift über Abschnitten ---------- */
.cz-eyebrow {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
	line-height: 1.4;
}
.cz-eyebrow--bar {
	display: flex;
	align-items: center;
	gap: 12px;
	color: inherit;
}
.cz-eyebrow--bar::before {
	content: "";
	display: block;
	flex: none;
	width: 32px;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--gold);
}

/* ---------- Hero ---------- */
.cz-hero-wrap { padding-left: 16px !important; padding-right: 16px !important; }
.cz-hero {
	position: relative;
	overflow: hidden;
	border-radius: 0 0 var(--cz-radius-xl) var(--cz-radius-xl);
	background:
		url("assets/img/netz-rechts.svg") right center / auto 100% no-repeat,
		linear-gradient(135deg, #0E3F6E 0%, #155D9C 60%, #1B6FB3 100%);
	color: #fff;
}
.cz-hero h1, .cz-hero h2 { color: #fff; }
.cz-hero .cz-lead { color: #E6F0FA; }
.cz-hero .cz-trust {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #E6F0FA;
	font-size: 15px;
}
.cz-hero .cz-trust::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("assets/icons/bank.svg") center / contain no-repeat;
	mask: url("assets/icons/bank.svg") center / contain no-repeat;
}
@media (max-width: 781px) {
	.cz-hero { background-size: auto 60%, auto; background-position: right top, center; border-radius: 0 0 32px 32px; }
}

/* Pfeil im Button */
.cz-btn-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("assets/icons/pfeil.svg") center / contain no-repeat;
	mask: url("assets/icons/pfeil.svg") center / contain no-repeat;
}

/* ---------- Flächen mit runden Ecken ---------- */
.cz-panel-wrap { padding-left: 16px !important; padding-right: 16px !important; }
.cz-panel {
	border-radius: var(--cz-radius-l);
	max-width: 1240px;
	margin-left: auto !important;
	margin-right: auto !important;
}
@media (max-width: 781px) {
	.cz-panel { border-radius: 28px; }
}

/* ---------- Foto ---------- */
.cz-portrait img,
.cz-portrait .cz-placeholder {
	border-radius: 28px;
	box-shadow: 0 24px 48px -24px rgba(14, 63, 110, 0.25);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

/* ---------- Listen mit Häkchen / Punkt ---------- */
ul.is-style-cz-check,
ul.is-style-cz-punkt,
ul.is-style-cz-haken-hell {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
ul.is-style-cz-check > li,
ul.is-style-cz-punkt > li {
	position: relative;
	padding: 18px 20px 18px 64px;
	border-radius: var(--cz-radius-s);
	line-height: 1.6;
	margin: 0;
}
ul.is-style-cz-check > li {
	background: #FAFCFE;
	border: 1px solid var(--wp--preset--color--linie);
}
ul.is-style-cz-check > li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 18px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #FFF4CC url("assets/icons/haken-gold.svg") center / 14px no-repeat;
}
ul.is-style-cz-punkt > li {
	background: #fff;
	box-shadow: var(--cz-shadow-soft);
	padding-left: 58px;
}
ul.is-style-cz-punkt > li::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 22px;
	width: 20px;
	height: 20px;
	background: url("assets/icons/ziel.svg") center / contain no-repeat;
}
/* helle Häkchen auf blauem Grund (Kontakt) */
ul.is-style-cz-haken-hell { gap: 12px; }
ul.is-style-cz-haken-hell > li {
	position: relative;
	padding-left: 36px;
	margin: 0;
}
ul.is-style-cz-haken-hell > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold) url("assets/icons/haken-dunkel.svg") center / 13px no-repeat;
}

/* ---------- Karten ---------- */
.cz-card {
	border-radius: var(--cz-radius-m);
	background: #fff;
	border: 1px solid var(--wp--preset--color--linie);
	box-shadow: var(--cz-shadow);
	height: 100%;
}
.cz-card .cz-icon img {
	width: 48px;
	height: 48px;
	padding: 13px;
	border-radius: 50%;
	background: #FFF4CC;
	box-sizing: border-box;
}
.cz-card h3 { margin-top: 0; }
.cz-card p { color: var(--wp--preset--color--text-leise); font-size: 15px; line-height: 1.65; }

.cz-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}
.cz-grid > * { margin: 0 !important; }

/* ---------- Ergebnis-Kasten ---------- */
.cz-result {
	border-radius: 32px;
	color: #fff;
}
.cz-result .cz-eyebrow { color: #F3D77A; }
.cz-result p.cz-result-text {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	line-height: 1.45;
	max-width: 780px;
}

/* ---------- Kundenstimmen ---------- */
.cz-quote-card {
	border-radius: var(--cz-radius-m);
	background: #fff;
	box-shadow: var(--cz-shadow);
	height: 100%;
}
.cz-quote-card::before {
	content: "";
	display: block;
	width: 36px;
	height: 30px;
	margin-bottom: 20px;
	background: url("assets/icons/zitat.svg") left center / contain no-repeat;
}
.cz-quote-card .wp-block-quote { margin: 0; }
.cz-quote-card .wp-block-quote p { line-height: 1.65; }
.cz-quote-card .cz-quote-name {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	color: var(--wp--preset--color--blau);
	margin-top: 20px;
}
.cz-quote-card .cz-quote-role { font-size: 14px; color: var(--wp--preset--color--text-leise); margin-top: 2px; }

/* ---------- Kontakt ---------- */
.cz-contact {
	position: relative;
	overflow: hidden;
	border-radius: var(--cz-radius-xl);
	background:
		url("assets/img/netz-links.svg") left center / auto 100% no-repeat,
		linear-gradient(160deg, #155D9C 0%, #0E3F6E 100%);
	color: #fff;
}
.cz-contact h2 { color: #fff; }
.cz-contact .cz-lead { color: #E6F0FA; }
@media (max-width: 781px) {
	.cz-contact { border-radius: 32px; }
}

/* Formular-Karte: gestaltet gängige Formular-Plugins (Contact Form 7, WPForms, Fluent Forms …) */
.cz-form-card {
	background: #fff;
	color: var(--wp--preset--color--fliesstext);
	border-radius: 28px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
	max-width: 460px;
	width: 100%;
	margin-left: auto;
}
.cz-form-card h3 { color: var(--wp--preset--color--blau); font-size: 24px; }
.cz-form-card label {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: 14px;
	color: var(--wp--preset--color--blau);
	margin-bottom: 6px;
}
.cz-form-card input[type="text"],
.cz-form-card input[type="email"],
.cz-form-card input[type="tel"],
.cz-form-card textarea,
.cz-form-card select {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #CBD5E1;
	border-radius: 12px;
	font: inherit;
	font-size: 16px;
	color: #1F2937;
	background: #fff;
}
.cz-form-card textarea { min-height: 120px; resize: vertical; }
.cz-form-card input:focus,
.cz-form-card textarea:focus { outline: 2px solid var(--wp--preset--color--blau); outline-offset: 1px; }
.cz-form-card input[type="submit"],
.cz-form-card button[type="submit"] {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--magenta);
	color: #fff;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	padding: 12px 20px;
	white-space: normal;
	cursor: pointer;
}
.cz-form-card input[type="submit"]:hover,
.cz-form-card button[type="submit"]:hover { background: var(--wp--preset--color--magenta-dunkel); }
.cz-form-card .wpcf7-form p { margin: 0 0 18px; }
.cz-form-card .wpcf7-list-item { margin: 0; }
.cz-form-card .cz-form-hint { font-size: 13px; line-height: 1.55; color: var(--wp--preset--color--text-leise); }
.cz-form-placeholder {
	border: 2px dashed #CBD5E1;
	border-radius: 16px;
	padding: 24px;
	color: var(--wp--preset--color--text-leise);
	font-size: 15px;
	background: #F8FAFC;
}

/* ---------- Fußzeile ---------- */
.cz-footer-wrap { padding: 0 16px 16px !important; }
.cz-footer {
	border-radius: var(--cz-radius-l);
	background: var(--wp--preset--color--blau-dunkel);
	color: #E6F0FA;
}
.cz-footer a { color: #E6F0FA; text-decoration: none; }
.cz-footer a:hover { color: #fff; text-decoration: underline; }
.cz-footer .cz-eyebrow { color: #fff; }
.cz-footer .wp-block-site-logo,
.cz-footer .cz-logo-box {
	background: #fff;
	border-radius: 14px;
	padding: 8px;
	display: inline-block;
}
.cz-footer .cz-legal { border-top: 1px solid rgba(230, 240, 250, 0.2); font-size: 14px; }

/* ---------- Blog ---------- */
.cz-post-card {
	border-radius: var(--cz-radius-m);
	background: #fff;
	border: 1px solid var(--wp--preset--color--linie);
	box-shadow: var(--cz-shadow);
	overflow: hidden;
	height: 100%;
}
.cz-post-card .wp-block-post-featured-image { margin: 0; }
.cz-post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.cz-post-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--blau); }
.cz-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--blau-dunkel); }
.cz-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--text-leise); font-size: 15px; }
.cz-post-card .wp-block-post-excerpt__more-link { font-weight: 600; }
.wp-block-post-template.cz-post-grid { gap: 28px; }

.cz-article .wp-block-post-content > * { font-size: 18px; }
.cz-article .wp-block-post-content h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.6em; }
.cz-article .wp-block-post-content h3 { font-size: 22px; margin-top: 1.4em; }
.cz-article .wp-block-post-featured-image img { border-radius: var(--cz-radius-m); }

.cz-cta-box {
	border-radius: 32px;
	color: #fff;
}
.cz-cta-box h2, .cz-cta-box h3 { color: #fff; }

/* Fokus sichtbar für Tastaturbedienung */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 2px; }

/* =========================================================
   Report-/Landingpage-Abschnitte (ab Version 1.1.0)
   ========================================================= */
.cz-eyebrow--magenta { color: var(--wp--preset--color--magenta); }
.cz-eyebrow--bar.cz-eyebrow--magenta-bar::before { background: #E0559A; }
.cz-hero .cz-eyebrow--magenta-bar,
.cz-contact .cz-eyebrow--magenta-bar { color: #fff; }
.cz-hero .cz-byline { color: #E6F0FA; font-size: 14px; }

/* Hervorgehobener Satz (rosa Kasten) */
.cz-highlight {
	border-radius: 18px;
	background: #FBF1F6;
	color: var(--wp--preset--color--blau);
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	line-height: 1.5;
}

/* Karten mit rosa Icon-Kreis */
.cz-card--magenta { border: 0; }
.cz-card--magenta .cz-icon img { background: #FBF1F6; }

/* Listen: Häkchen-Karten in Magenta / helle Vorteile auf Blau */
ul.is-style-cz-check-magenta {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
ul.is-style-cz-check-magenta > li {
	position: relative;
	margin: 0;
	padding: 18px 20px 18px 62px;
	border-radius: var(--cz-radius-s);
	background: #fff;
	box-shadow: var(--cz-shadow-soft);
	line-height: 1.6;
}
ul.is-style-cz-check-magenta > li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 19px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #FBF1F6 url("assets/icons/haken-magenta.svg") center / 13px no-repeat;
}
ul.is-style-cz-haken-magenta {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
}
ul.is-style-cz-haken-magenta > li {
	position: relative;
	margin: 0;
	padding-left: 40px;
	line-height: 28px;
}
ul.is-style-cz-haken-magenta > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wp--preset--color--magenta) url("assets/icons/haken-weiss.svg") center / 14px no-repeat;
}

/* Report-Cover */
.cz-cover {
	max-width: 360px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.cz-cover img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 18px 18px 0 -2px #FBF1F6, 0 30px 60px -30px rgba(14, 63, 110, 0.6);
}

/* Häufige Fragen (Aufklapp-Block „Details“) */
.cz-faq { display: flex; flex-direction: column; gap: 14px; }
.cz-faq > * { margin: 0 !important; }
.cz-faq .wp-block-details {
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 20px -12px rgba(14, 63, 110, 0.2);
	padding: 0 24px;
}
.cz-faq .wp-block-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	font-size: 17px;
	color: var(--wp--preset--color--blau);
}
.cz-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.cz-faq .wp-block-details summary::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("assets/icons/pfeil-unten.svg") center / contain no-repeat;
	mask: url("assets/icons/pfeil-unten.svg") center / contain no-repeat;
	transition: transform 0.2s;
}
.cz-faq .wp-block-details[open] summary::after { transform: rotate(180deg); }
.cz-faq .wp-block-details > p {
	margin: 0;
	padding: 0 0 22px;
	color: var(--wp--preset--color--text-leise);
	line-height: 1.65;
}

/* Anmeldeformulare von Newsletter-Diensten: Checkbox-Zeilen */
.cz-form-card input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 2px 10px 0 0;
	accent-color: var(--wp--preset--color--blau);
	vertical-align: top;
}
.cz-form-card .cz-form-hint--center { text-align: center; }
