/* ==========================================================================
   Smartmoves Coaching – Gestaltung (aus dem Canvas „Smartmoves Coaching Redesign“)
   Tokens kommen aus theme.json (Marla OS bildet die Kurznamen).
   Breakpoints: Tablet ≤1024px, Mobil ≤767px.
   ========================================================================== */

body { -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:where(.section) p { margin: 0; }

/* ---------- Struktur ---------- */
.section > .container { display: block; }
.bg-white { background: var(--color-surface-card); }
.bg-dark { background: var(--color-surface-dark); color: var(--color-text-on-dark-muted); }
.measure { max-width: var(--measure); }
.muted { color: var(--color-text-muted); }
.stack-m > * + * { margin-top: var(--space-m); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-2xl); align-items: center; }
.split-7-5 { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }
.split-5-7 { grid-template-columns: minmax(0,5fr) minmax(0,7fr); }
.split-top { align-items: start; }

/* ---------- Typo ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--font-heading); color: var(--color-text-heading); margin: 0; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
/* Abstand Überschrift – Inhalt: muss NACH der Grundregel stehen (sonst setzt margin: 0 ihn auf Desktop auf 0) */
.head-gap { margin-bottom: var(--space-xl); max-width: 44rem; }
.display { font-size: var(--font-size-display); line-height: 1.08; }
.h1 { font-size: var(--font-size-h1); line-height: 1.12; }
.h2 { font-size: var(--font-size-h2); line-height: 1.16; }
.h3 { font-size: var(--font-size-h3); line-height: 1.25; }
.h4 { font-size: var(--font-size-h4); line-height: 1.3; }
.bg-dark :is(.display, .h1, .h2, .h3, .h4) { color: var(--color-text-on-dark); }
.text-l { font-size: var(--font-size-text-l); line-height: 1.55; }
.text-m { font-size: var(--font-size-text-m); line-height: 1.65; }
.text-s { font-size: var(--font-size-text-s); line-height: 1.6; }
.text-xs { font-size: var(--font-size-text-xs); line-height: 1.5; }
.eyebrow { font-size: .9375rem; font-weight: 700; color: var(--color-brand-line); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.breadcrumb { font-size: .9375rem; color: var(--color-text-muted); }
.breadcrumb a { text-decoration: none; }

/* Bewegungslinie: kursiv markierte Wörter in Überschriften bekommen den gezeichneten Strich */
:is(.display, .h1, .h2) em {
	font-style: normal; white-space: nowrap;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 20 C 60 8, 110 26, 160 15 S 250 6, 296 17' fill='none' stroke='%23B8D57D' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") 0 92% / 100% .42em no-repeat;
	padding-bottom: .06em;
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-m); align-items: center; }
:is(.btn-primary, .btn-secondary, .btn-on-dark) > .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill);
	font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary > .wp-block-button__link { background: var(--color-brand-primary); color: var(--color-text-heading); }
.btn-primary > .wp-block-button__link:hover { background: var(--color-brand-primary-hover); transform: translateY(-2px); }
.btn-secondary > .wp-block-button__link { background: transparent; color: var(--color-text-heading); border-color: var(--color-text-heading); }
.btn-secondary > .wp-block-button__link:hover { background: var(--color-text-heading); color: var(--color-surface-default); transform: translateY(-2px); }
.btn-on-dark > .wp-block-button__link { background: transparent; color: var(--color-text-on-dark); border-color: var(--color-border-on-dark); }
.btn-on-dark > .wp-block-button__link:hover { border-color: var(--color-text-on-dark); }
.link-arrow > .wp-block-button__link { background: none; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.0625rem; color: var(--color-text-heading); text-decoration: none; border-bottom: 0; transition: gap .25s; }
.link-arrow > .wp-block-button__link::after { content: "→"; }
.link-arrow > .wp-block-button__link:hover { gap: 14px; }
.link-arrow > .wp-block-button__link { box-shadow: inset 0 -2px 0 var(--color-brand-primary); border-radius: 0; }
.btn-text > .wp-block-button__link { background: none; padding: 6px 0; color: inherit; text-decoration: none; font-size: inherit; }
:is(.wp-block-button__link, a, summary):focus-visible { outline: 3px solid var(--color-brand-line); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--color-surface-default); padding: 0 var(--gutter); border-bottom: 1px solid var(--color-border-default); }
.header-bar { max-width: var(--container); margin: 0 auto; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); }
.brand a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 48px; height: 59px; flex: none; background: url(../images/logo-gorilla.png) center / contain no-repeat; mix-blend-mode: multiply; }
.brand-name { font-family: var(--font-heading); font-weight: 500; font-size: 1.375rem; color: var(--color-text-heading); letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8125rem; color: var(--color-text-muted); letter-spacing: 0; margin-top: 4px; }
.nav .wp-block-navigation__container { gap: 6px; }
.nav .wp-block-navigation-item__content { display: inline-block; padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; color: var(--color-text-heading); text-decoration: none; }
.nav .wp-block-navigation-item__content:hover, .nav .current-menu-item > .wp-block-navigation-item__content { background: var(--color-surface-alt); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta > .wp-block-button__link { min-height: 46px; padding: 0 22px; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: var(--radius-pill); border: 2px solid var(--color-text-heading); background: transparent; align-items: center; justify-content: center; color: var(--color-text-heading); cursor: pointer; padding: 0; }
.mobile-menu { display: none; }
/* Menü-Symbol dreht sich zum X */
.menu-toggle svg path { transform-box: fill-box; transform-origin: center; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.menu-toggle[aria-expanded="true"] .mt-a { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-b { transform: translateY(-4px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] { background: var(--color-text-heading); color: var(--color-surface-default); }
/* Abdunklung unter dem offenen Menü */
.menu-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(36, 49, 34, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-offen .menu-backdrop { opacity: 1; visibility: visible; }
.menu-offen { overflow: hidden; }
.site-header { position: sticky; z-index: 50; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface-dark); color: var(--color-text-on-dark-muted); padding: var(--space-2xl) var(--gutter) var(--space-l); }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,3fr) minmax(0,4fr); gap: var(--space-xl); }
.footer-mark { width: 64px; height: 79px; background: url(../images/logo-gorilla.png) center / contain no-repeat; filter: invert(1) brightness(1.6); mix-blend-mode: screen; opacity: .9; }
.footer-claim { font-family: var(--font-heading); font-size: 1.75rem; line-height: 1.2; color: var(--color-text-on-dark); margin-top: var(--space-m); letter-spacing: -0.02em; max-width: 22ch; }
.footer-title { font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--color-brand-primary); margin: 0 0 var(--space-s); }
.footer-links { display: grid; gap: 4px; }
.footer-links a, .site-footer .btn-text > .wp-block-button__link { color: var(--color-text-on-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover, .site-footer .btn-text > .wp-block-button__link:hover { color: var(--color-brand-primary); }
.site-footer .wp-block-buttons { display: grid; gap: 4px; justify-items: start; }
.footer-cta { margin-top: var(--space-m); }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--color-border-on-dark); display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-l); justify-content: space-between; font-size: .9375rem; }
.footer-bottom a:not(.marla-badge) { color: var(--color-text-on-dark-muted); text-decoration: none; padding: 6px 0; display: inline-block; }
.footer-legal { display: flex; gap: var(--space-m); flex-wrap: wrap; }
/* Badge „Läuft auf Marla OS“: Farbe vom Footer, Gestaltung aus Marla OS */
.footer-bottom .marla-badge-block { align-self: center; }
.footer-bottom .marla-badge { color: var(--color-text-on-dark-muted); }
.footer-bottom .marla-badge:hover { color: var(--color-text-on-dark); }

/* ---------- Fotos ---------- */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); }
.photo-4-3 img { aspect-ratio: 4 / 3; }
.photo-4-34 img { aspect-ratio: 4 / 3.4; }
.photo-square img { aspect-ratio: 1 / 1.05; }

/* ---------- Startseite: Hero als Bühne ---------- */
.stage { padding-top: var(--space-m); }
.stage-visual { position: relative; margin: 0; }
.stage-visual img { display: block; width: 100%; aspect-ratio: 1240 / 560; object-fit: cover; object-position: 55% 58%; border-radius: var(--radius-l) var(--radius-l) 0 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V540C820 600 670 588 500 550C330 512 180 596 0 530Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V540C820 600 670 588 500 550C330 512 180 596 0 530Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.stage-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0 530 C 180 596, 330 512, 500 550 S 820 600, 1000 540' fill='none' stroke='%23B8D57D' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.stage-copy { margin-top: var(--space-l); max-width: 60rem; }
.stage-copy > * + * { margin-top: var(--space-m); }
.stage-copy .actions { margin-top: var(--space-l); }
.stage-foot { margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--color-border-default); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-s) var(--space-l); }
.signature { display: flex; align-items: center; gap: 14px; }
.signature .wp-block-image { margin: 0; flex: none; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signature-name { font-family: var(--font-heading); font-size: 1.125rem; color: var(--color-text-heading); line-height: 1.2; }
.signature-role { font-size: .9375rem; color: var(--color-text-muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 1rem; color: var(--color-text-muted); }
.hero-facts p { display: flex; align-items: center; gap: 8px; }
:is(.icon-clock, .icon-pin, .icon-phone, .icon-mail)::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--color-brand-line); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.icon-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6 8.5-6'/%3E%3C/svg%3E"); }

/* ---------- Übersetzung: Elternsätze ---------- */
.translate { border-top: 1.5px solid var(--color-text-heading); }
.translate-head, .translate-row { display: grid; grid-template-columns: minmax(0,5fr) 72px minmax(0,6fr); column-gap: var(--space-l); align-items: center; }
.translate-head { padding-block: 14px; border-bottom: 1px solid var(--color-border-default); font-size: .9375rem; font-weight: 700; color: var(--color-brand-line); }
.translate-row { padding-block: var(--space-l); border-bottom: 1px solid var(--color-border-default); }
.translate-said { font-family: var(--font-heading); font-weight: 500; font-size: var(--font-size-said); line-height: 1.3; letter-spacing: -0.02em; color: var(--color-text-heading); }
.translate-said::before { content: "„"; color: var(--color-brand-line); }
.translate-said::after { content: "“"; color: var(--color-brand-line); }
/* Pfeil als Pseudo-Element in der mittleren Spalte: keine leeren Blöcke im Editor */
.translate-head::before { content: ""; order: 2; }
.translate-head > :first-child, .translate-row > :first-child { order: 1; }
.translate-head > :last-child, .translate-row > :last-child { order: 3; }
.translate-row::before { content: ""; order: 2; width: 56px; height: 56px; border-radius: 50%; justify-self: center; background: var(--color-brand-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* ---------- Zwei Wege ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-l); }
.path { display: flex; flex-direction: column; gap: var(--space-m); }
.path .photo img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.path:hover .photo img { transform: scale(1.015); }
.path-tag { font-size: .9375rem; font-weight: 700; color: var(--color-brand-line); }
.path .h3 a { text-decoration: none; box-shadow: inset 0 -3px 0 var(--color-brand-primary); }
.path .h3 a:hover { box-shadow: inset 0 -3px 0 var(--color-text-heading); }

/* ---------- Ablauf auf der Welle (dunkle Fläche) ---------- */
.trail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-l); padding-top: 64px; }
.trail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 44' preserveAspectRatio='none'%3E%3Cpath d='M6 21 C 120 4, 190 38, 262 21 S 420 4, 515 21 S 680 38, 770 21 S 920 6, 996 20' fill='none' stroke='%23B8D57D' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.trail-step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.trail-step::before { content: ""; position: absolute; top: -52px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--color-brand-primary); box-shadow: 0 0 0 6px var(--color-surface-dark); }
.trail-num { font-family: var(--font-heading); font-size: 1rem; font-weight: 500; color: var(--color-brand-primary); letter-spacing: .02em; }

/* ---------- Listen, Kerndaten ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px; background: var(--color-brand-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A1E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks-2 { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: var(--space-l); }
.card-box { background: var(--color-surface-card); border-radius: var(--radius-l); padding: 48px; border: 1px solid var(--color-border-default); }
.card-box .h3 { margin-bottom: var(--space-m); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--color-border-default); border-bottom: 1px solid var(--color-border-default); }
.fact { padding: var(--space-m) var(--space-m) var(--space-m) 0; }
.fact + .fact { padding-left: var(--space-m); border-left: 1px solid var(--color-border-default); }
.fact-label { font-size: .875rem; font-weight: 700; color: var(--color-brand-line); margin-bottom: 4px; }
.fact-value { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-text-heading); line-height: 1.3; }

/* ---------- FAQ (Details-Block) ---------- */
.faq-solo { max-width: 52rem; margin-inline: auto; }
.faq-solo > .h2 { margin-bottom: var(--space-l); }
.faq-list { border-top: 1px solid var(--color-border-default); }
.faq-item { border-bottom: 1px solid var(--color-border-default); margin: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-m); padding: 22px 0; min-height: 64px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; color: var(--color-text-heading); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--color-brand-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A1E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > :not(summary) { padding-right: 60px; max-width: 48rem; }
.faq-item > :last-child:not(summary) { padding-bottom: 26px; }

/* ---------- Zitat ---------- */
.quote { font-family: var(--font-heading); font-weight: 400; font-size: var(--font-size-quote); line-height: 1.25; letter-spacing: -0.02em; color: var(--color-text-heading); max-width: 30ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.quote-source { text-align: center; margin-top: var(--space-m); color: var(--color-text-muted); font-size: 1rem; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--color-surface-dark); color: var(--color-text-on-dark-muted); padding: var(--space-2xl); display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: var(--space-xl); align-items: center; }
.cta-band .h2 { color: var(--color-text-on-dark); }
.cta-band::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 240px; height: 296px; background: url(../images/logo-gorilla.png) center / contain no-repeat; filter: invert(1); mix-blend-mode: screen; opacity: .07; pointer-events: none; }
.cta-side { display: flex; flex-direction: column; gap: var(--space-s); align-items: flex-start; position: relative; z-index: 1; }
.cta-side .wp-block-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-s); }
.cta-phone > .wp-block-button__link { background: none; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--color-text-on-dark); text-decoration: none; font-family: var(--font-heading); font-size: 1.5rem; }
.cta-phone > .wp-block-button__link::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-top: var(--space-xl); }

/* ---------- Über mich ---------- */
.timeline { display: grid; gap: var(--space-l); }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-m); }
.timeline-when { font-weight: 700; color: var(--color-brand-line); font-size: 1rem; padding-top: 4px; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-m); margin-top: var(--space-xl); }
.role { border-top: 3px solid var(--color-brand-primary); padding-top: var(--space-m); }
/* Erwarten: Leitsatz nach der Liste als eigener, abgesetzter Block (weiße Karte, Bewegungslinie darüber).
   Per :has, damit die bestehende Seite ohne Inhaltsänderung greift. */
.container:has(> .checks-2) > .quote { position: relative; max-width: none; margin: var(--space-2xl) 0 0 !important; padding: 104px 14% var(--space-2xl); background: var(--color-surface-card); border-radius: var(--radius-l); font-size: var(--font-size-h2); line-height: 1.25; }
.container:has(> .checks-2) > .quote::before { content: ""; position: absolute; top: 48px; left: 50%; width: 120px; height: 18px; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' fill='none' stroke='%23B8D57D' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M3 11 C 22 3, 38 16, 60 9 S 98 3, 117 10'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 767px) {
	.container:has(> .checks-2) > .quote { margin-top: var(--space-xl) !important; padding: 72px var(--space-m) var(--space-l); font-size: 1.375rem; line-height: 1.35; }
	.container:has(> .checks-2) > .quote::before { top: 32px; width: 96px; }
}
/* Buch: Cover immer im eigenen Format (hoch, quer, quadratisch) – nie beschnitten; begrenzt über Höhe und Breite */
.book { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: var(--space-2xl); align-items: center; }
.book .photo { justify-self: center; text-align: center; }
.book .photo img { width: auto; height: auto; max-width: 100%; max-height: 480px; aspect-ratio: auto; object-fit: contain; margin-inline: auto; border-radius: var(--radius-s); box-shadow: 0 30px 60px -30px rgba(36,49,34,.5); }
/* Bildunterschrift als echte Unterschrift: eine Zeile, klein, gedämpft, Titel kursiv */
.book .photo figcaption { margin: 20px auto 0; max-width: 30rem; text-align: center; font-size: .875rem; line-height: 1.5; color: var(--color-text-muted); }
.book .photo figcaption strong { font-weight: 400; }
.book .photo figcaption br { display: none; }
.book .photo figcaption strong:first-child { font-style: italic; color: var(--color-text-body); }
.book .photo figcaption strong:first-child:not(:only-child)::after { content: " – "; font-style: normal; }
.price { font-family: var(--font-heading); font-size: 2rem; color: var(--color-text-heading); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: var(--space-2xl); align-items: start; }
.contact-list { margin-top: var(--space-l); display: grid; gap: var(--space-m); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-s); align-items: center; }
.contact-item::before { content: ""; width: 48px; height: 48px; border-radius: 50%; background: var(--color-surface-alt) center / 22px no-repeat; }
.contact-item.icon-phone::before, .contact-item.icon-mail::before, .contact-item.icon-pin::before { -webkit-mask: none; mask: none; background-image: var(--icon); background-color: var(--color-surface-alt); }
.contact-item .btn-text > .wp-block-button__link { font-weight: 700; font-size: 1.1875rem; color: var(--color-text-heading); padding: 0; text-align: left; }
/* Lange E-Mail-Adresse passt auf schmalen Handys in eine Zeile, statt mitten im Wort umzubrechen */
@media (max-width: 767px) { .contact-item .btn-text > .wp-block-button__link { font-size: min(1.1875rem, 4.2vw); } }
.contact-value { font-weight: 700; color: var(--color-text-heading); }
.form-card { background: var(--color-surface-card); border-radius: var(--radius-l); padding: var(--space-xl); border: 1px solid var(--color-border-default); }
/* Kontaktformular (JetFormBuilder) in der Formularkarte */
.form-card .jet-form-builder { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-m); }
.form-card .jet-form-builder > * { grid-column: 1 / -1; }
/* JetFormBuilder setzt Label und Feld je Zeile nebeneinander (flex) – hier immer untereinander */
.form-card .jet-form-builder-row { display: block !important; }
.form-card .jet-form-builder__field-wrap { width: 100%; }
.form-card .jet-form-builder__label { margin-bottom: 8px; }
.form-card .field-type-text-field:has(#name), .form-card .field-type-text-field:has(#telefon) { grid-column: auto; }
.form-card .jet-form-builder__label-text { font-size: 1rem; font-weight: 700; color: var(--color-text-heading); margin-bottom: 8px; }
.form-card .jet-form-builder__required { color: var(--color-brand-line); }
.form-card :is(input.text-field, textarea.textarea-field) { width: 100%; font: inherit; font-size: 1.0625rem; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--color-border-default); border-radius: var(--radius-s); background: var(--color-surface-default); color: var(--color-text-heading); }
.form-card textarea.textarea-field { min-height: 150px; resize: vertical; }
.form-card :is(input.text-field, textarea.textarea-field):focus { outline: 3px solid var(--color-brand-primary); outline-offset: 1px; border-color: var(--color-brand-line); }
/* Auswahl „Worum geht es?“ als Pillen */
.form-card .field-type-radio-field .jet-form-builder__fields-group { display: flex; flex-wrap: wrap; gap: 10px; }
.form-card .field-type-radio-field .jet-form-builder__field-label { position: relative; display: inline-flex; }
.form-card .field-type-radio-field input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-card .field-type-radio-field .jet-form-builder__field-label span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-border-default); font-weight: 700; font-size: 1rem; cursor: pointer; background: var(--color-surface-default); color: var(--color-text-heading); }
.form-card .field-type-radio-field input:checked + span { background: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.form-card .field-type-radio-field input:focus-visible + span { outline: 3px solid var(--color-brand-line); outline-offset: 2px; }
.form-card .field-type-radio-field .jet-form-builder__field-label span::before,
.form-card .field-type-radio-field .jet-form-builder__field-label span::after { display: none !important; }
/* Einwilligung */
.form-card .field-type-checkbox-field .jet-form-builder__label { display: none; }
.form-card .field-type-checkbox-field .jet-form-builder__fields-group { display: block !important; width: 100%; }
.form-card .field-type-checkbox-field .jet-form-builder__field-label { display: flex !important; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.form-card .field-type-checkbox-field .jet-form-builder__field-label::before,
.form-card .field-type-checkbox-field .jet-form-builder__field-label::after { display: none !important; }
/* JetFormBuilder zeichnet das Kästchen als span::before (Input unsichtbar) – Kästchen und Text als Flex-Zeile, Farben der Marke */
.form-card .field-type-checkbox-field .jet-form-builder__field-label span { flex: 1; display: flex !important; gap: 12px; align-items: flex-start; }
.form-card .field-type-checkbox-field .jet-form-builder__field-label span::before { flex: none; margin-top: 2px; border-color: var(--color-text-muted); }
.form-card .field-type-checkbox-field input:checked + span::before { background-color: var(--color-surface-dark); border-color: var(--color-surface-dark); }
.form-card .field-type-checkbox-field input:focus-visible + span::before { outline: 3px solid var(--color-brand-line); outline-offset: 2px; }
.form-card .jet-form-builder > .text-xs { margin-top: -12px; }
/* Absenden */
.form-card .jet-form-builder__action-button { display: flex; align-items: center; justify-content: center; padding: 0 28px; line-height: 1.2; width: 100%; min-height: 54px; border: 0; border-radius: var(--radius-pill); background: var(--color-brand-primary); color: var(--color-text-heading); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.form-card .jet-form-builder__action-button:hover { background: var(--color-brand-primary-hover); transform: translateY(-2px); }
.form-card .jet-form-builder-messages-wrap { grid-column: 1 / -1; font-weight: 700; color: var(--color-text-heading); }
.form-card .jet-form-builder__field-error, .form-card .error-message { color: #9B2C1F; font-size: .9375rem; margin-top: 6px; }
.placeholder { border: 2px dashed var(--color-border-default); border-radius: var(--radius-s); padding: var(--space-l); color: var(--color-text-muted); }
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-l); counter-reset: s; }
.next-step { counter-increment: s; display: flex; flex-direction: column; gap: 10px; }
.next-step::before { content: counter(s); font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-brand-line); line-height: 1; }

/* ==========================================================================
   Animationen (nur Seite, projekt.js setzt html.sm-anim)
   ========================================================================== */
.sm-anim .anim { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.sm-anim .anim.is-in { opacity: 1; transform: none; }
.sm-anim .stage-visual.anim { transform: scale(1.03); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.8s cubic-bezier(.2,.7,.2,1); }
.sm-anim .stage-visual.anim.is-in { transform: none; }
.sm-anim .photo.anim img { transform: scale(1.04); clip-path: inset(5% 3% 0 3% round var(--radius-l)); transition: transform 1.6s cubic-bezier(.2,.7,.2,1), clip-path 1.4s cubic-bezier(.2,.7,.2,1); }
.sm-anim .photo.anim.is-in img { transform: none; clip-path: inset(0 0 0 0 round var(--radius-l)); }
/* Linien zeichnen sich von links nach rechts */
.sm-anim .stage-visual::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.65,0,.35,1) .3s; }
.sm-anim .stage-visual.is-in::after { clip-path: inset(0 0 0 0); }
.sm-anim .trail::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.65,0,.35,1) .2s; }
.sm-anim .trail.is-in::before { clip-path: inset(0 0 0 0); }
.sm-anim .trail-step::before { transform: scale(0); transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.sm-anim .trail.is-in .trail-step::before { transform: scale(1); }
.sm-anim .trail-step:nth-child(1)::before { transition-delay: .5s; }
.sm-anim .trail-step:nth-child(2)::before { transition-delay: 1s; }
.sm-anim .trail-step:nth-child(3)::before { transition-delay: 1.5s; }
.sm-anim .trail-step:nth-child(4)::before { transition-delay: 2s; }
.sm-anim .trail-step.anim { transition-delay: calc(.5s + var(--i, 0) * .5s); }
.sm-anim :is(.display, .h1, .h2) em { background-size: 0 .42em; transition: background-size 1.3s cubic-bezier(.65,0,.35,1) .55s; }
.sm-anim :is(.display, .h1, .h2) em.is-in { background-size: 100% .42em; }
/* Gestapelt (bis 1024px): eine ruhige Einblendung pro Sektion, kurzer Weg, kein Zoom.
   Die Ablauf-Punkte stehen schon da, nur die Linie zieht durch – eine Geste statt fünf. */
.sm-anim-mobil .anim { transform: translate3d(0, 12px, 0); transition: opacity .8s cubic-bezier(.25,.6,.3,1), transform .8s cubic-bezier(.25,.6,.3,1); }
.sm-anim-mobil .anim.is-in { transform: none; }
.sm-anim-mobil .trail-step::before { transform: none; transition: none; }
.sm-anim-mobil .trail::before { transition-duration: 1.6s; transition-delay: .4s; }
.sm-anim-mobil :is(.display, .h1, .h2) em { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
/* Header: Menü-Symbol schon unter 1280px – darunter brach das Menü zweizeilig um (Markenblock mit Unterzeile + vier Menüpunkte + Button) */
@media (max-width: 1279px) {
	.header-bar .nav, .header-bar .header-buttons { display: none; }
	.menu-toggle { display: inline-flex; }
	.mobile-menu.is-open { display: flex; flex-direction: column; max-width: var(--container); margin: 0 auto; padding: 8px 0 24px; }
	.menu-offen .site-header { box-shadow: 0 24px 40px -20px rgba(36, 49, 34, .45); }
	.mobile-menu a:last-child { border-bottom: 0; margin-top: 16px; justify-content: center; min-height: 52px; border-radius: var(--radius-pill); background: var(--color-brand-primary); }
	.mobile-menu a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--color-border-default); font-weight: 700; font-size: 1.125rem; color: var(--color-text-heading); text-decoration: none; }
}
@media (max-width: 1024px) {
	.split, .split-7-5, .split-5-7, .contact-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-xl); }
	.stage-visual img { aspect-ratio: 16 / 9; }
	.translate-head, .translate-row { grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); column-gap: var(--space-m); }
	.translate-row::before { width: 44px; height: 44px; background-size: 18px; }
	.trail { grid-template-columns: minmax(0,1fr); padding-top: 0; padding-left: 44px; }
	.trail::before { right: auto; left: 8px; top: 8px; bottom: 8px; width: 3px; height: auto; background: var(--color-brand-primary); border-radius: 3px; }
	.sm-anim .trail::before { clip-path: inset(0 0 100% 0); }
	.trail-step::before { top: 4px; left: -44px; }
	.facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--color-border-default); }
	.cta-band { grid-template-columns: minmax(0,1fr); padding: var(--space-xl); }
	.footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
	.footer-grid > :first-child { grid-column: 1 / -1; }
	.book { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: var(--space-xl); }
	.roles, .next-steps { grid-template-columns: minmax(0,1fr); }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 359px) {
	.brand-name { font-size: 1.0625rem !important; }
	.brand a { gap: 10px; }
}
@media (max-width: 767px) {
	.brand-mark { width: 38px; height: 47px; }
	.brand-name { font-size: 1.1875rem; }
	.brand-name small { display: none; }
	.actions { flex-direction: column; align-items: stretch; }
	.actions :is(.btn-primary, .btn-secondary) { width: 100%; }
	.actions :is(.btn-primary, .btn-secondary) > .wp-block-button__link { width: 100%; }
	.stage-visual img { aspect-ratio: 4 / 3.6; object-position: 60% 60%; border-radius: var(--radius-m) var(--radius-m) 0 0; }
	.stage-copy { margin-top: var(--space-m); }
	.stage-foot { flex-direction: column; align-items: flex-start; }
	.translate-head { display: none; }
	.translate-row { grid-template-columns: minmax(0,1fr); row-gap: 14px; padding-block: var(--space-m); }
	.translate-row::before { width: 36px; height: 36px; background-size: 16px; justify-self: start; transform: rotate(90deg); }
	.paths, .checks-2, .facts { grid-template-columns: minmax(0,1fr); }
	.fact, .fact + .fact { padding: 18px 0; border-left: 0; }
	.fact + .fact { border-top: 1px solid var(--color-border-default); }
	.card-box { padding: var(--space-m); }
	.faq-item summary { font-size: 1.125rem; }
	.faq-item > :not(summary) { padding-right: 0; }
	.cta-band { padding: var(--space-l) var(--space-m); border-radius: var(--radius-m); }
	.footer-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-l); }
	.book { grid-template-columns: minmax(0,1fr); }
	.book .photo img { max-height: 380px; }
	.timeline-item { grid-template-columns: minmax(0,1fr); gap: 4px; }
	.form-card { padding: var(--space-m); border-radius: var(--radius-m); }
	.form-card .jet-form-builder { grid-template-columns: minmax(0,1fr); }
	.form-card .field-type-text-field:has(#name), .form-card .field-type-text-field:has(#telefon) { grid-column: 1 / -1; }
	.head-gap { margin-bottom: var(--space-l); }
}
