/*
Theme Name: ONE LIFE. YOUR CALL.
Theme URI: https://example.com/
Author: Larissa Kässinger
Description: Block-Theme für Larissa Kässinger, Coaching für Frauen. Creme, Sand, Taupe und Schwarz, Cardo und Inter (lokal eingebunden), Fotos in Bogenform. Enthält Seitenvorlagen für Startseite, Angebot, Über mich und Kennenlerngespräch.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: one-life-your-call
*/

/* ---------- Grundlagen ---------- */
body { -webkit-font-smoothing: antialiased; }
em { font-style: italic; }
h1 em, h2 em, h3 em { font-family: var(--wp--preset--font-family--cardo); }

.eyebrow {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem !important;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe-text);
	line-height: 1.4;
}
.ol-leise { color: var(--wp--preset--color--taupe-text); font-size: var(--wp--preset--font-size--klein); }
.ol-lead { font-size: var(--wp--preset--font-size--gross); color: var(--wp--preset--color--braun); }
.ol-zitat { font-family: var(--wp--preset--font-family--cardo); font-style: italic; font-size: var(--wp--preset--font-size--zitat); line-height: 1.4; }
.ol-zentriert { text-align: center; margin-inline: auto; }

/* ---------- Header ---------- */
.ol-header { border-bottom: 1px solid #E2D7C5; padding-top: 16px; padding-bottom: 16px; }
.ol-header .wp-block-site-logo img { height: 56px; width: auto; }
.ol-header .wp-block-navigation { font-size: 0.9375rem; font-weight: 500; }
.ol-header .wp-block-navigation a { text-decoration: none; }
.ol-header .wp-block-button__link { padding: 14px 22px; }

/* ---------- Abschnitte ---------- */
.ol-sektion { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.ol-hell { background: var(--wp--preset--color--hell); }
.ol-sand { background: var(--wp--preset--color--sand); }
.ol-dunkel { background: var(--wp--preset--color--tinte); color: var(--wp--preset--color--creme); }
.ol-taupe { background: var(--wp--preset--color--taupe); color: var(--wp--preset--color--hell); }
.ol-dunkel h1, .ol-dunkel h2, .ol-dunkel h3,
.ol-taupe h1, .ol-taupe h2, .ol-taupe h3 { color: inherit; }
.ol-dunkel .eyebrow { color: var(--wp--preset--color--sand-dunkel); }
.ol-dunkel p:not(.eyebrow) { color: var(--wp--preset--color--sand); }
.ol-dunkel a:not(.wp-block-button__link), .ol-taupe a:not(.wp-block-button__link) { color: inherit; }
.ol-dunkel .wp-block-button__link, .ol-taupe .wp-block-button__link,
.wp-block-button.btn-light .wp-block-button__link {
	background: var(--wp--preset--color--creme);
	color: var(--wp--preset--color--tinte);
}
.ol-dunkel .wp-block-button__link:hover, .ol-taupe .wp-block-button__link:hover { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--tinte); }
.ol-mittig { text-align: center; }
.ol-mittig > * { margin-left: auto !important; margin-right: auto !important; }
.ol-mittig .wp-block-buttons { justify-content: center; }

/* ---------- Fotos in Bogenform ---------- */
.wp-block-image.is-style-bogen img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
	border-radius: 50% 50% 12px 12px / 40% 40% 12px 12px;
}
.ol-bogen-platzhalter {
	aspect-ratio: 4 / 5;
	border-radius: 50% 50% 12px 12px / 40% 40% 12px 12px;
	background: var(--wp--preset--color--taupe);
	color: var(--wp--preset--color--hell);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 32px;
	box-sizing: border-box;
	text-align: center;
	font-size: var(--wp--preset--font-size--klein);
}

/* ---------- Raster ---------- */
.ol-raster { display: grid !important; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ol-raster > * { margin: 0 !important; }
.ol-raster-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.ol-raster-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }

.ol-karte { background: var(--wp--preset--color--creme); border-radius: 16px; padding: 28px; font-size: 1.0625rem; line-height: 1.55; }
.ol-hell .ol-karte { background: var(--wp--preset--color--creme); }
.ol-karte-hell { background: var(--wp--preset--color--hell); border-radius: 16px; padding: 32px; }

.ol-schritt { border-top: 2px solid var(--wp--preset--color--tinte); padding-top: 20px; }
.ol-schritt > * { margin-top: 10px !important; margin-bottom: 0 !important; }
.ol-nummer { font-family: var(--wp--preset--font-family--cardo); font-size: 2.5rem; line-height: 1; color: var(--wp--preset--color--taupe); margin-top: 0 !important; }
.ol-schritt h3 { letter-spacing: 0.06em; font-size: 1.25rem; }
.ol-schritt p:last-child { font-size: 0.9375rem; color: var(--wp--preset--color--braun); }

.ol-kreis { width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--tinte); color: var(--wp--preset--color--creme); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--cardo); font-size: 1.25rem; margin: 0 !important; }

/* Sessions auf der Angebotsseite */
.ol-session { display: grid !important; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--wp--preset--color--sand-dunkel); }
.ol-session:last-child { border-bottom: 1px solid var(--wp--preset--color--sand-dunkel); }
.ol-session > * { margin: 0 !important; }
.ol-session h3 { letter-spacing: 0.06em; font-size: 1.25rem; }

/* Linienliste */
.ol-linienliste { list-style: none; padding: 0; }
.ol-linienliste li { padding: 18px 0; border-top: 1px solid var(--wp--preset--color--sand-dunkel); font-size: var(--wp--preset--font-size--gross); line-height: 1.55; }
.ol-linienliste li:last-child { border-bottom: 1px solid var(--wp--preset--color--sand-dunkel); }

/* Preis */
.ol-preis { background: var(--wp--preset--color--tinte); color: var(--wp--preset--color--creme); border-radius: 24px; padding: 56px 48px; max-width: 640px; margin-inline: auto !important; text-align: center; }
.ol-preis .eyebrow { color: var(--wp--preset--color--sand-dunkel); }
.ol-preis p { color: var(--wp--preset--color--sand); }
.ol-preis .ol-preis-zahl { font-family: var(--wp--preset--font-family--cardo); font-size: 5rem; line-height: 1; color: var(--wp--preset--color--creme); }
.ol-preis .wp-block-buttons { justify-content: center; }
.ol-preis .wp-block-button__link { background: var(--wp--preset--color--creme); color: var(--wp--preset--color--tinte); }

/* FAQ */
.wp-block-details { border-top: 1px solid var(--wp--preset--color--sand-dunkel); padding: 22px 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--wp--preset--color--sand-dunkel); }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--cardo); font-weight: 700; font-size: 1.25rem; }
.wp-block-details p { color: var(--wp--preset--color--braun); }

/* Zitat */
.wp-block-quote.ol-motto { border: 0; padding: 0; text-align: center; }
.wp-block-quote.ol-motto p { font-family: var(--wp--preset--font-family--cardo); font-style: italic; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.3; }
.wp-block-quote.ol-motto cite { font-style: normal; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--taupe-text); }

/* Kennenlerngespräch */
.ol-buchung { background: var(--wp--preset--color--hell); border-radius: 24px; padding: 40px; }
.ol-buchung-platzhalter { border: 2px dashed var(--wp--preset--color--sand-dunkel); border-radius: 16px; padding: 48px 24px; text-align: center; color: var(--wp--preset--color--taupe-text); }

/* ---------- Footer ---------- */
.ol-footer { background: var(--wp--preset--color--tinte); color: var(--wp--preset--color--sand); padding-top: 56px; padding-bottom: 40px; }
.ol-footer a { color: var(--wp--preset--color--sand); }
.ol-footer .ol-footer-logo img { height: 64px; width: auto; }
.ol-footer .ol-claim { font-family: var(--wp--preset--font-family--cardo); font-style: italic; font-size: 1.25rem; color: var(--wp--preset--color--sand-dunkel); margin: 0; }
.ol-footer-links { border-top: 1px solid var(--wp--preset--color--braun); padding-top: 24px; font-size: 0.875rem; }

/* ---------- Handy ---------- */
@media (max-width: 781px) {
	.ol-session { grid-template-columns: 1fr; gap: 10px; }
	.ol-preis { padding: 40px 24px; }
	.ol-buchung { padding: 24px; }
	.ol-bogen-platzhalter { max-width: 420px; }
}

/* ---------- Abstände zwischen Vollbreite-Abschnitten ---------- */
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0 !important; }
