/* SVRS – Graphit & Messing
   Gestaltung der Abschnitte, Karten, Marker, FAQ und Formulare. */

:root {
	--svrs-graphit: #1C1D1B;
	--svrs-kohle: #2B2C29;
	--svrs-stein: #EDEAE3;
	--svrs-messing: #C8A96A;
	--svrs-champagner: #F1E9D9;
	--svrs-bronze: #8A6F3E;
	--svrs-warmgrau: #6B675F;
	--svrs-grau-hell: #A39E93;
	--svrs-linie: #D3CFC6;
	--svrs-pad-x: clamp(24px, 5vw, 64px);
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
main.svrs-main > .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

/* ---------- Marker (Messing-Hervorhebung) ---------- */
.svrs-marker,
mark.has-inline-color[style*="C8A96A" i],
mark.has-inline-color[style*="messing"] {
	background: linear-gradient(transparent 12%, var(--svrs-messing) 12%, var(--svrs-messing) 94%, transparent 94%) !important;
	color: var(--svrs-graphit) !important;
	padding: 0 .1em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---------- Abschnitte ---------- */
.svrs-section { padding: 96px var(--svrs-pad-x); margin: 0 !important; }
.svrs-section.is-compact { padding-top: 56px; padding-bottom: 56px; }
.svrs-section.is-hero { padding-top: 64px; padding-bottom: 96px; }
.svrs-section > * + * { margin-block-start: 24px; }
.svrs-section > .wp-block-columns { margin-block-start: 40px; }

.is-dark { background: var(--svrs-graphit); color: #fff; }
.is-kohle { background: var(--svrs-kohle); color: #fff; }
.is-stein { background: var(--svrs-stein); }
.is-white { background: #fff; }
.is-messing { background: var(--svrs-messing); }
.is-champagner { background: var(--svrs-champagner); }
.is-dark a:not(.wp-element-button), .is-kohle a:not(.wp-element-button) { color: #fff; }
.is-dark a:not(.wp-element-button):hover, .is-kohle a:not(.wp-element-button):hover { color: var(--svrs-messing); }

/* ---------- Typografie-Hilfen ---------- */
.svrs-eyebrow { font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--svrs-warmgrau); margin-bottom: 0; }
.is-dark .svrs-eyebrow, .is-kohle .svrs-eyebrow { color: var(--svrs-grau-hell); }
.is-messing .svrs-eyebrow { color: var(--svrs-graphit); }
.is-champagner .svrs-eyebrow { color: var(--svrs-bronze); }
.svrs-lead { font-size: var(--wp--preset--font-size--lead) !important; font-weight: 300; line-height: 1.6; max-width: 820px; }
.svrs-muted { color: var(--svrs-warmgrau); }
.is-dark .svrs-muted { color: var(--svrs-grau-hell); }
.svrs-small { font-size: 14px !important; line-height: 1.5; }
.svrs-intro { max-width: 860px; }
.svrs-intro > * + * { margin-block-start: 20px; }

/* ---------- Spalten & Karten ---------- */
.svrs-cards { gap: 24px !important; }
.svrs-cards > .wp-block-column { margin: 0 !important; }
.svrs-card { background: #fff; padding: 32px !important; display: flex; flex-direction: column; gap: 14px; }
.svrs-card > * { margin: 0 !important; }
.svrs-card.is-stein { background: var(--svrs-stein); }
.svrs-card.is-dark { background: var(--svrs-graphit); }
.svrs-card.is-kohle { background: var(--svrs-kohle); }
.svrs-card.is-champagner { background: var(--svrs-champagner); }
.svrs-card.has-top-line { border-top: 4px solid var(--svrs-graphit); }
.svrs-card.has-top-messing { border-top: 4px solid var(--svrs-messing); }
.svrs-card .svrs-card-foot { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--svrs-linie); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.is-dark .svrs-card-foot, .svrs-card.is-dark .svrs-card-foot { border-color: var(--svrs-warmgrau); }
.svrs-card .svrs-card-foot a { font-weight: 700; text-decoration: none; font-size: 18px; }

.svrs-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--svrs-linie); }
.is-dark .svrs-num, .svrs-card.is-dark .svrs-num { color: var(--svrs-warmgrau); }
.svrs-num.is-big { font-size: 96px; }
.svrs-letter { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 96px; line-height: 1; }

.svrs-square { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--svrs-graphit); color: #fff; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 20px; }
.svrs-square.is-messing { background: var(--svrs-messing); color: var(--svrs-graphit); }
.svrs-meta { display: flex; align-items: center; gap: 16px; }
.svrs-meta .svrs-eyebrow { font-size: 13px !important; }

.svrs-badge { display: inline-block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; background: var(--svrs-champagner); color: var(--svrs-graphit); }
.svrs-badge.is-messing { background: var(--svrs-messing); }
.svrs-badge.is-dark { background: var(--svrs-graphit); color: #fff; }
.svrs-badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* Liste mit Messing-Quadraten */
ul.svrs-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
ul.svrs-checklist li { position: relative; padding-left: 28px; font-size: 19px; line-height: 1.5; }
ul.svrs-checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--svrs-messing); }

/* Rollen-Liste (Startseite) */
.svrs-roles p { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 32px; line-height: 1.15; margin: 0 0 8px; }
.svrs-roles p.is-marked span { background: var(--svrs-messing); padding: 0 8px; }

/* Formatliste (Startseite) */
.svrs-rows { background: #fff; }
.svrs-rows > * { margin: 0 !important; }
.svrs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--svrs-linie); text-decoration: none; color: inherit; }
.svrs-row:last-child { border-bottom: 0; }
.svrs-row:hover { background: var(--svrs-champagner); color: inherit; }
.svrs-row .svrs-row-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 4px; }
.svrs-row .svrs-row-title { font-size: 24px; font-weight: 700; line-height: 1.25; }
.svrs-row .svrs-row-desc { font-size: 16px; color: var(--svrs-warmgrau); }

/* Eckdaten */
.svrs-facts { background: var(--svrs-kohle); padding: 32px; color: #fff; }
.svrs-facts dl { margin: 0; }
.svrs-facts .svrs-fact { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--svrs-warmgrau); }
.svrs-facts dt { color: var(--svrs-grau-hell); }
.svrs-facts dd { margin: 0; font-weight: 700; text-align: right; }
.svrs-facts.is-light { background: #fff; color: var(--svrs-graphit); }
.svrs-facts.is-light .svrs-fact { border-color: var(--svrs-linie); }
.svrs-facts.is-light dt { color: var(--svrs-warmgrau); }

/* Zitate */
.svrs-quote-lead { border-left: 4px solid var(--svrs-messing); padding: 8px 0 8px 32px !important; margin: 0; max-width: 1040px; }
.svrs-quote-lead p { font-size: 24px; line-height: 1.55; font-weight: 300; margin: 0; }
.svrs-quote-lead cite, .svrs-quote cite { display: block; margin-top: 20px; font-size: 14px; font-style: normal; color: var(--svrs-grau-hell); }
.svrs-quote { background: var(--svrs-kohle); padding: 32px !important; margin: 0; border: 0; height: 100%; display: flex; flex-direction: column; }
.svrs-quote p { font-size: 19px; line-height: 1.55; font-weight: 300; margin: 0; }
.svrs-quote cite { margin-top: auto !important; padding-top: 20px; }
.wp-block-quote.svrs-quote, .wp-block-quote.svrs-quote-lead { border-left-width: 0; }
.wp-block-quote.svrs-quote-lead { border-left: 4px solid var(--svrs-messing); }

/* Bilder */
.svrs-img-cover img { width: 100%; object-fit: cover; display: block; }
.svrs-img-hero img { height: 560px; object-position: center top; }
.svrs-img-wide img { height: 520px; }
.svrs-img-tall img { height: 420px; }
.wp-element-caption, figcaption { font-size: 13px; color: var(--svrs-warmgrau); margin-top: 12px; }
.is-dark figcaption { color: var(--svrs-grau-hell); }

/* Buttons */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: currentColor; border: 1.5px solid currentColor; padding: 15px 27px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--svrs-messing); color: var(--svrs-graphit); border-color: var(--svrs-messing); }
.is-messing .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--svrs-graphit); color: #fff; }
.is-messing .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #fff; color: var(--svrs-graphit); }
.wp-block-buttons { gap: 16px; }
a.svrs-arrow { font-weight: 700; text-decoration: none; }

/* FAQ */
.wp-block-details { border-top: 1px solid var(--svrs-linie); padding: 22px 0; margin: 0 !important; }
.wp-block-details:last-child { border-bottom: 1px solid var(--svrs-linie); }
.wp-block-details summary { font-family: var(--wp--preset--font-family--text); font-size: 21px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 400; color: var(--svrs-bronze); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > p { margin: 12px 0 0; font-size: 17px; font-weight: 300; max-width: 820px; }
.svrs-faq-group > .svrs-eyebrow { color: var(--svrs-bronze); margin-bottom: 8px; }
.svrs-faq-group + .svrs-faq-group { margin-top: 48px !important; }

/* Vergleich Coaching/Seminar */
.svrs-compare .wp-block-column { padding: 32px; }
.svrs-compare dl { margin: 0; }
.svrs-compare dt { font-weight: 700; margin-top: 16px; }
.svrs-compare dd { margin: 4px 0 0; font-weight: 300; }

/* Messaging-House-Grafik */
.svrs-house { display: flex; flex-direction: column; gap: 8px; }
.svrs-house div { padding: 12px; text-align: center; font-size: 14px; }
.svrs-house .roof { background: var(--svrs-graphit); color: #fff; font-weight: 700; }
.svrs-house .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; }
.svrs-house .pillars div { border: 1.5px solid var(--svrs-graphit); background: #fff; }
.svrs-house .base { background: var(--svrs-messing); font-weight: 700; }

/* ---------- Kopfzeile ---------- */
.svrs-header { background: var(--svrs-graphit); color: #fff; padding: 24px var(--svrs-pad-x); }
.svrs-header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.svrs-header .svrs-logo { display: block; line-height: 0; }
.svrs-header .svrs-logo svg { width: 230px; height: auto; }
.svrs-header .wp-block-navigation { gap: 32px; font-size: 16px; }
.svrs-header .wp-block-navigation a { color: #fff; text-decoration: none; }
.svrs-header .wp-block-navigation a:hover { color: var(--svrs-messing); }
.svrs-header .wp-block-navigation .current-menu-item > a,
.svrs-header .wp-block-navigation a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--svrs-messing); padding-bottom: 4px; }
.svrs-header .svrs-nav-cta > a { background: var(--svrs-messing); color: var(--svrs-graphit) !important; font-size: 20px; font-weight: 700; padding: 12px 24px; box-shadow: none !important; }
.svrs-header .svrs-nav-cta > a:hover { background: #fff; }
.svrs-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--svrs-graphit); color: #fff; padding: 32px; }
.svrs-header .wp-block-navigation__responsive-container-open, .svrs-header .wp-block-navigation__responsive-container-close { color: #fff; }

/* ---------- Fußzeile ---------- */
.svrs-footer { background: var(--svrs-graphit); color: #fff; padding: 64px var(--svrs-pad-x) 40px; }
.svrs-footer a { color: #fff; text-decoration: none; }
.svrs-footer a:hover { color: var(--svrs-messing); }
.svrs-footer-inner { max-width: 1280px; margin: 0 auto; }
.svrs-footer-cols { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.svrs-footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.svrs-footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svrs-footer-links .svrs-eyebrow { margin-bottom: 16px; }
.svrs-footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--svrs-warmgrau); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--svrs-grau-hell); }
.svrs-footer-bottom a { color: var(--svrs-grau-hell); }
.svrs-newsletter { background: var(--svrs-kohle); color: #fff; padding: 64px var(--svrs-pad-x); }
.svrs-newsletter-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.svrs-newsletter-inner > div { flex: 1 1 460px; min-width: 0; }
.svrs-newsletter h2 { font-size: 32px; margin: 12px 0; }

/* ---------- Formulare ---------- */
.svrs-form { background: #fff; color: var(--svrs-graphit); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.svrs-form .svrs-form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.svrs-form label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.svrs-form input[type=text], .svrs-form input[type=email], .svrs-form select, .svrs-form textarea {
	font: inherit; font-size: 16px; font-weight: 400; color: var(--svrs-graphit); background: #fff; padding: 14px 16px; border: 1.5px solid var(--svrs-graphit); border-radius: 0; width: 100%; box-sizing: border-box;
}
.svrs-form textarea { resize: vertical; min-height: 140px; }
.svrs-form .svrs-consent { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 15px; line-height: 1.5; }
.svrs-form .svrs-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--svrs-graphit); }
.svrs-form button { align-self: flex-start; font: inherit; font-size: 20px; font-weight: 700; line-height: 1; color: var(--svrs-graphit); background: var(--svrs-messing); padding: 16px 28px; border: 0; border-radius: 0; cursor: pointer; }
.svrs-form button:hover { background: var(--svrs-graphit); color: #fff; }
.svrs-form .svrs-hp { position: absolute; left: -9999px; }
.svrs-form-note { font-size: 13px; color: var(--svrs-warmgrau); margin: 0; }
.svrs-form-success { background: var(--svrs-champagner); padding: 24px; font-weight: 700; }
.svrs-form-error { background: #f6e3dc; padding: 16px; }
.svrs-nl-placeholder { font-size: 15px; color: var(--svrs-grau-hell); }

/* ---------- Mobil ---------- */
@media (max-width: 781px) {
	.svrs-section { padding-top: 64px; padding-bottom: 64px; }
	.svrs-img-hero img { height: 420px; }
	.svrs-img-wide img { height: 320px; }
	.svrs-num.is-big, .svrs-letter { font-size: 64px; }
	.svrs-roles p { font-size: 26px; }
	.svrs-form { padding: 24px; }
	.svrs-header .svrs-logo svg { width: 190px; }
}

/* Eckdaten aus Absätzen */
.svrs-facts > * { margin: 0 !important; }
.svrs-fact { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0 !important; border-bottom: 1px solid var(--svrs-warmgrau); }
.svrs-facts.is-light .svrs-fact { border-color: var(--svrs-linie); }
.svrs-fact p { margin: 0 !important; font-size: 16px; }
.svrs-fact p:first-child { color: var(--svrs-grau-hell); }
.svrs-facts.is-light .svrs-fact p:first-child { color: var(--svrs-warmgrau); }
.svrs-fact p:last-child { font-weight: 700; text-align: right; }
.svrs-facts .wp-block-buttons { margin-top: 20px !important; }
.svrs-facts .svrs-eyebrow { margin-bottom: 8px !important; }

/* Zeilen- und Kartenbausteine */
.svrs-row > * { margin: 0 !important; }
.svrs-row-text > * { margin: 0 !important; }
.svrs-row-text .svrs-row-title a { text-decoration: none; }
.svrs-card-foot > * { margin: 0 !important; }
.svrs-card-foot a { font-weight: 700; text-decoration: none; font-size: 18px; }
.svrs-meta > * { margin: 0 !important; }
p.svrs-square { margin: 0; }
.svrs-stack > * { margin: 0 !important; }
.svrs-stack { display: flex; flex-direction: column; gap: 12px; }
.svrs-pill { background: var(--svrs-stein); padding: 18px 22px !important; font-size: 18px; font-weight: 700; margin: 0 !important; }
.is-dark .svrs-pill { background: var(--svrs-kohle); }
.svrs-note { background: var(--svrs-champagner); border-left: 4px solid var(--svrs-messing); padding: 20px 24px !important; font-size: 15px; }
.svrs-legal h2 { font-size: 26px; margin-top: 32px !important; }
.svrs-legal p { font-size: 17px; font-weight: 300; line-height: 1.7; }
.svrs-article h2 { font-size: 32px; margin-top: 40px; }
.svrs-article p { font-size: 19px; line-height: 1.75; font-weight: 300; }

/* Begrenzte Textbreite links ausrichten (statt zentriert im Inhaltsbereich) */
/* Intro-Blöcke: linksbündig an der Inhaltskante, Text auf 860px begrenzt.
   Breite = min(Container, Inhaltsbreite); rechter Innenabstand füllt den Rest. */
.is-layout-constrained > .svrs-intro,
.is-layout-constrained > .svrs-lead { max-width: var(--wp--style--global--content-size, 1280px) !important; padding-right: max(0px, calc(min(100%, var(--wp--style--global--content-size, 1280px)) - 860px)) !important; box-sizing: border-box; }
.svrs-intro { max-width: none; }
.svrs-intro .svrs-lead { max-width: 820px; }
