/*
Theme Name: Stefanie Schäfer
Theme URI: https://example.com
Author: Stefanie Schäfer
Description: Child-Theme von Twenty Twenty-Five für Stefanie Schäfer – Strategie, Branding, Text & Webdesign. Farben, Schriften und Abschnittsvorlagen nach Brand Guide 2.1.
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stefanie-schaefer
*/

/* ---------- Grundlagen ---------- */
:root {
	--ss-espresso: #1C1917;
	--ss-espresso-hell: #2A2522;
	--ss-linie-dunkel: #3A332E;
	--ss-feldlinie-dunkel: #6B6058;
	--ss-rose-sand: #D9B8A0;
	--ss-kupfer: #C98B6E;
	--ss-rose-braun: #87574A;
	--ss-linie-rose: #C29A86;
	--ss-grau-hell: #CFC6BB;
	--ss-grau-mittel: #A89C8F;
	--ss-grau-warm: #5C524B;
	--ss-linie-hell: #E6DAD6;
	--ss-off-white: #F5F0EE;
	--ss-section-y: clamp(72px, 9vw, 128px);
}

body { -webkit-font-smoothing: antialiased; }
/* Abschnitte liegen ohne Lücke untereinander */
.wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.ss-hero { padding-bottom: 0 !important; }
.ss-hero > .wp-block-columns { padding-bottom: clamp(56px, 7vw, 104px); }
h1, h2, h3 { hyphens: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--ss-rose-braun);
	outline-offset: 3px;
}
.has-espresso-background-color a:focus-visible,
.has-espresso-background-color .wp-block-button__link:focus-visible,
.has-espresso-background-color summary:focus-visible {
	outline-color: var(--ss-rose-sand);
}

/* ---------- Abschnitte ---------- */
.ss-section {
	padding-top: var(--ss-section-y);
	padding-bottom: var(--ss-section-y);
}
.ss-section--tight {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
.ss-section--flush-bottom { padding-bottom: clamp(24px, 3vw, 40px); }

/* Label-Zeile über Überschriften */
.ss-label {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ss-rose-braun);
	line-height: 1.5;
	margin-bottom: 0;
}
.ss-muted { color: var(--ss-grau-warm); }
.ss-lead { font-size: var(--wp--preset--font-size--large); }

/* Dunkle Abschnitte (Gruppe mit Hintergrund Espresso) */
.has-espresso-background-color { color: #fff; }
.has-espresso-background-color .ss-label { color: var(--ss-rose-sand); }
.has-espresso-background-color .ss-muted,
.has-espresso-background-color p:not(.ss-label) { color: var(--ss-grau-hell); }
.has-espresso-background-color :where(h1, h2, h3, h4) { color: #fff; }
.has-espresso-background-color a:not(.wp-block-button__link) { color: #fff; }
.has-espresso-background-color a:not(.wp-block-button__link):hover { color: var(--ss-rose-sand); }
.ss-accent { color: var(--ss-rose-sand); }

/* Zweitbutton als Rahmen: Stil „Kontur“ */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--ss-espresso);
	border: 1px solid var(--ss-espresso);
	padding: 17px 31px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--ss-espresso);
	color: #fff;
}
.has-espresso-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
	color: #fff;
	border-color: var(--ss-feldlinie-dunkel);
}
.has-espresso-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--ss-rose-sand);
	color: var(--ss-rose-sand);
}

/* Bild-Platzhalter, bis echte Bilder da sind */
.ss-placeholder {
	aspect-ratio: 4 / 5;
	background: var(--ss-espresso-hell);
	border: 1px solid var(--ss-linie-dunkel);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	text-align: center;
}
.ss-placeholder--wide { aspect-ratio: 16 / 10; }
.ss-placeholder p { font-size: 15px; color: var(--ss-grau-hell); max-width: 22em; margin: 0; }

/* ---------- Leistungsband ---------- */
.ss-band {
	border-top: 1px solid var(--ss-linie-dunkel);
	padding-top: 28px;
	padding-bottom: 28px;
}
.ss-band p {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ss-grau-hell);
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.ss-band p::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--ss-rose-sand);
	flex: none;
}

/* ---------- Nummern und Bausteine ---------- */
.ss-number {
	font-family: var(--wp--preset--font-family--source-serif);
	font-weight: 500;
	font-size: clamp(40px, 4vw, 56px) !important;
	line-height: 1;
	color: var(--ss-rose-braun);
	margin-bottom: 0;
}
.ss-detail {
	border-top: 1px solid var(--ss-linie-hell);
	padding-top: 18px;
}
.ss-detail .ss-label { font-size: 12px !important; }
.ss-detail p:not(.ss-label), .ss-detail li { font-size: 16px; color: var(--ss-grau-warm); }
.ss-detail ul { padding-left: 18px; margin-top: 8px; }

/* ---------- Ablauf ---------- */
.ss-step {
	border-top: 2px solid var(--ss-linie-rose);
	padding-top: 22px;
}
.ss-step .ss-number { font-size: 32px !important; }
.ss-step p { margin-top: 8px; }
.ss-step p:last-child { font-size: 15px; color: var(--ss-grau-warm); }

/* ---------- Projektbeispiel ---------- */
.ss-note {
	border-left: 1px solid var(--ss-rose-sand);
	padding-left: 28px;
}

/* ---------- Angebote: Vergleichstabelle ---------- */
.ss-pricing { overflow-x: auto; border: 1px solid var(--ss-linie-hell); }
.ss-pricing table { min-width: 760px; border-collapse: collapse; width: 100%; }
.ss-pricing th,
.ss-pricing td {
	border: 0;
	border-top: 1px solid var(--ss-linie-hell);
	padding: 16px 20px;
	text-align: left;
	vertical-align: middle;
}
.ss-pricing thead th {
	border-top: 0;
	font-size: 13px;
	color: var(--ss-grau-warm);
	vertical-align: bottom;
	font-weight: 400;
	padding-top: 22px;
	padding-bottom: 22px;
}
.ss-pricing thead th strong {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ss-rose-braun);
}
.ss-pricing thead th em {
	display: block;
	font-style: normal;
	font-family: var(--wp--preset--font-family--source-serif);
	font-weight: 600;
	font-size: 34px;
	line-height: 1.15;
	margin-top: 8px;
	color: var(--ss-espresso);
}
.ss-pricing tbody td:first-child { width: 34%; font-size: 13px; color: var(--ss-grau-warm); }
.ss-pricing tbody td:first-child strong { font-size: 15px; color: var(--ss-espresso); }
.ss-pricing tbody td:not(:first-child) { font-size: 15px; font-weight: 600; color: var(--ss-rose-braun); }
/* Mittleres Paket hervorgehoben */
.ss-pricing tr > :nth-child(3) {
	background: var(--ss-espresso);
	color: var(--ss-grau-hell);
	border-top-color: var(--ss-linie-dunkel);
}
.ss-pricing thead th:nth-child(3) strong { color: var(--ss-rose-sand); }
.ss-pricing thead th:nth-child(3) em { color: #fff; }
.ss-pricing tbody td:nth-child(3) { color: var(--ss-rose-sand); }

.ss-card {
	background: var(--ss-off-white);
	padding: 32px !important;
}

/* ---------- FAQ ---------- */
.wp-block-details {
	border-bottom: 1px solid var(--ss-linie-hell);
	padding: 0;
}
.ss-faq > .wp-block-details:first-child { border-top: 1px solid var(--ss-linie-hell); }
.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	font-weight: 600;
	font-size: 18px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	color: var(--ss-rose-braun);
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--ss-grau-warm); margin: 0 0 22px; }

/* ---------- Porträt ---------- */
.ss-portrait { position: relative; }
.ss-portrait::before {
	content: "";
	position: absolute;
	left: 24px; top: 24px; right: -24px; bottom: -24px;
	border: 1px solid var(--ss-linie-rose);
	z-index: 0;
}
.ss-portrait > * { position: relative; z-index: 1; }
.ss-portrait .ss-placeholder { border-radius: 0; }

/* ---------- Wortmarke und Profilzeichen ---------- */
.ss-wordmark {
	text-decoration: none !important;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
}
.ss-wordmark__full { display: inline-flex; flex-direction: column; }
.ss-wordmark__name {
	font-family: var(--wp--preset--font-family--source-serif);
	font-weight: 600;
	font-size: 28px;
	letter-spacing: 0.015em;
	line-height: 1.15;
}
.ss-wordmark__line { display: block; height: 1px; background: rgba(255, 255, 255, 0.35); margin: 7px 0 4px; }
.ss-wordmark__claim {
	font-family: var(--wp--preset--font-family--source-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 15px;
	color: var(--ss-rose-sand);
	line-height: 1.3;
}
.ss-dot { color: var(--ss-kupfer); }
.ss-mono {
	width: 44px;
	height: 44px;
	border: 1px solid var(--ss-rose-sand);
	display: none;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--source-serif);
	font-weight: 600;
	font-size: 22px;
	color: #fff;
	flex: none;
}
.ss-mono--lg { width: 52px; height: 52px; font-size: 26px; display: inline-flex; }
.ss-mono--light { border-color: var(--ss-linie-rose); color: var(--ss-espresso); width: 40px; height: 40px; font-size: 20px; display: inline-flex; }
.ss-footer .ss-wordmark__name { font-size: 20px; }
.ss-footer .ss-wordmark__claim { font-size: 13px; }
.ss-footer .ss-wordmark__line { margin: 6px 0 3px; }
.ss-signature { display: flex; align-items: center; gap: 14px; }
.ss-signature span:last-child {
	font-family: var(--wp--preset--font-family--source-serif);
	font-style: italic;
	font-size: 20px;
	color: var(--ss-grau-warm);
}

@media (max-width: 600px) {
	.ss-header .ss-wordmark__full { display: none; }
	.ss-header .ss-mono { display: inline-flex; }
}

/* ---------- Header und Navigation ---------- */
.ss-header-wrap { border-bottom: 1px solid var(--ss-linie-dunkel); }
.ss-header { padding-top: 22px; padding-bottom: 22px; }
.ss-nav,
.ss-nav .wp-block-navigation-item__content {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}
.ss-nav .wp-block-navigation-item__content:hover { color: var(--ss-rose-sand); }
.ss-header .wp-block-button__link { padding: 13px 22px; font-size: 13px; }
.ss-footer-wrap { border-top: 1px solid var(--ss-linie-dunkel); }
.ss-footer { padding-top: 28px; padding-bottom: 28px; font-size: 14px; }

/* ---------- Ergänzungen ---------- */
.ss-quote {
	font-family: var(--wp--preset--font-family--source-serif);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.4;
	max-width: 34em;
}
.ss-placeholder--form { aspect-ratio: auto; min-height: 360px; flex-direction: column; gap: 24px; }
.ss-placeholder > * { margin: 0; }
.ss-step h4 { margin-top: 10px; margin-bottom: 0; }
.ss-step p:not(.ss-number) { margin-top: 6px; }
.ss-card h3 { margin-top: 8px; }
.has-off-white-background-color .ss-placeholder { background: var(--ss-espresso-hell); }
