/* Yoga Strap – Theme-CSS
   Layout wie die bisherige Seite (Avada): weisser Grund, DM Sans 18 px #4F4F4F, Titel 400 schwarz,
   Kristi für Schriftzüge in Gold #F4B429, Knöpfe #F4C358, Creme #FEF7E9. */

:root {
	--ys-schwarz: #000;
	--ys-text: #4F4F4F;
	--ys-grau: #747474;
	--ys-gold: #F4B429;
	--ys-gold-hell: #F4C358;
	--ys-gold-dunkel: #8A6100;
	--ys-creme: #FEF7E9;
	--ys-mint: #F5FCFA;
	--ys-mint-rand: #A4D2C2;
	--ys-gruen: #8A6100;
	--ys-linie: #E6E6E6;
	--ys-rand: clamp(20px, 4vw, 30px);
	--ys-breit: 1050px;
	--ys-schrift: Kristi, "Segoe Script", cursive;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ys-text); font-size: 18px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.ys-nav-offen { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ys-gold-dunkel); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ys-schwarz); }
:focus-visible { outline: 2px solid var(--ys-gold); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ys-schwarz); font-weight: 400; line-height: 1.3; margin: 0 0 .6em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
strong { font-weight: 700; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ys-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #000; color: #fff; padding: 10px 16px; }
.ys-skip:focus { top: 12px; color: #fff; }

/* Knöpfe */
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 11px 24px; border-radius: 4px; border: 0; background: var(--ys-gold-hell); color: #fff;
	font-weight: 600; font-size: 15px; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.wp-block-button__link:hover, .wp-element-button:hover { background: var(--ys-gold); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ys-schwarz); border: 1px solid currentColor; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header (liegt über dem Bild oben) ---------- */

.ys-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; }
.admin-bar .ys-header { top: 32px; }
.ys-header__inner { height: 140px; padding: 0 30px; display: flex; align-items: center; gap: 30px; }
.ys-logo { display: block; flex-shrink: 0; line-height: 0; }
.ys-logo__bild { width: 100px; height: 100px; display: block; }

.ys-nav { flex: 1; display: flex; justify-content: flex-start; padding-left: 110px; }
.ys-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; }
.ys-menu > li { position: relative; }
.ys-menu > li > a { display: flex; align-items: center; gap: 6px; height: 72px; color: #fff; text-decoration: none; font-size: 16px; position: relative; }
.ys-menu > li > a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--ys-gold-hell); transform: scaleX(0); transition: transform .2s; }
.ys-menu > li > a:hover, .ys-menu > .current-menu-item > a, .ys-menu > .current-menu-ancestor > a { color: var(--ys-gold-hell); }
.ys-menu > li > a:hover::before, .ys-menu > .current-menu-item > a::before, .ys-menu > .current-menu-ancestor > a::before { transform: none; }
.ys-menu > .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.ys-sprachmenu > a[aria-current] { color: #fff; }
.ys-sprachmenu > a[aria-current]::before { display: none; }
.ys-fahne { width: 18px; height: 12px; display: inline-block; flex-shrink: 0; }

.ys-menu .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: -16px; min-width: 220px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); border-top: 3px solid var(--ys-gold-hell); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.ys-menu > li:hover > .sub-menu, .ys-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.ys-menu .sub-menu a { display: flex; align-items: center; gap: 8px; padding: 12px 18px; color: #333; text-decoration: none; font-size: 15px; border-bottom: 1px solid #f0f0f0; }
.ys-menu .sub-menu a:hover { background: #fafafa; color: #000; }
.ys-menu--mobil { display: none !important; }

.ys-header__aktionen { display: flex; gap: 10px; margin-left: auto; }
.ys-knopf-gold, .ys-header .lean-shop-cart-button {
	display: inline-flex !important; align-items: center; gap: 8px; height: 43px; padding: 0 20px !important;
	background: var(--ys-gold-hell) !important; color: #fff !important; border: 0 !important; border-radius: 4px;
	font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background .2s;
}
.ys-knopf-gold:hover, .ys-header .lean-shop-cart-button:hover { background: var(--ys-gold) !important; color: #fff !important; }
.ys-header .lean-shop-cart-button__icon { width: 18px; height: 18px; }
.ys-header .lean-shop-cart-button__count { display: inline-block !important; min-width: 19px !important; background: #fff !important; color: var(--ys-gold-hell) !important; border-radius: 10px !important; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--ys-gold-hell); font-size: 12px; font-weight: 700; line-height: 19px; text-align: center; }

.ys-nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0; color: #fff; margin-left: auto; }
.ys-nav-toggle__balken, .ys-nav-toggle__balken::before, .ys-nav-toggle__balken::after { display: block; width: 26px; height: 4px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform .25s; }
.ys-nav-toggle__balken::before, .ys-nav-toggle__balken::after { content: ""; position: absolute; left: 0; }
.ys-nav-toggle__balken::before { top: -9px; }
.ys-nav-toggle__balken::after { top: 9px; }
.ys-nav-toggle[aria-expanded="true"] .ys-nav-toggle__balken { background: transparent; }
.ys-nav-toggle[aria-expanded="true"] .ys-nav-toggle__balken::before { transform: translateY(9px) rotate(45deg); }
.ys-nav-toggle[aria-expanded="true"] .ys-nav-toggle__balken::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1180px) {
	.ys-nav { padding-left: 20px; }
	.ys-menu { gap: 28px; }
}

/* Handy und Tablet: schwarzer Balken mit Logo und Menü-Knopf (wie bisher) */
@media (max-width: 999px) {
	.ys-header { position: relative; top: 0 !important; background: #000; }
	.ys-header__inner { height: 120px; padding: 0 20px; }
	.ys-logo__bild { width: 90px; height: 90px; }
	.ys-header__aktionen { display: none; }
	.ys-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.ys-nav {
		position: absolute; top: 100%; left: 0; right: 0; padding: 0; background: #fff; display: block;
		max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
		visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
	}
	.ys-nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
	.ys-menu { flex-direction: column; gap: 0; }
	.ys-menu > li > a { height: auto; padding: 15px 24px; color: #333; border-bottom: 1px solid #eee; }
	.ys-menu > li > a::before, .ys-menu > .menu-item-has-children > a::after { display: none; }
	.ys-menu > li > a:hover, .ys-menu > .current-menu-item > a { color: var(--ys-gold-dunkel); }
	.ys-sprachmenu > a[aria-current] { display: none !important; }
	.ys-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; }
	.ys-menu .sub-menu a { padding-left: 44px; font-size: 15px; color: #555; }
	.ys-sprachmenu .sub-menu a { padding-left: 24px; }
	.ys-menu--mobil { display: flex !important; }
}

/* ---------- Titelbalken (Unterseiten) ---------- */

.ys-titelbalken {
	position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 330px; padding: 140px var(--ys-rand) 40px; color: #fff;
	background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), var(--ys-titel-bild) center / cover no-repeat;
}
.ys-titelbalken__titel { margin: 0; color: #fff; font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 400; line-height: 1.25; }
@media (max-width: 999px) {
	.ys-titelbalken { min-height: 220px; padding-top: 40px; }
}

/* ---------- Inhalt allgemein ---------- */

.ys-main { display: block; }
.entry-content { padding: clamp(48px, 7vw, 90px) var(--ys-rand); }
.entry-content > * { max-width: var(--ys-breit); margin-left: auto; margin-right: auto; }
.entry-content > .alignfull, .entry-content > .wp-block-cover { max-width: none; }
.ys-start { padding: 0; }
.ys-start > * { max-width: none; margin: 0; }

.ys-zentriert { text-align: center; }
.ys-klein { font-size: 15px; color: var(--ys-grau); }
.ys-schrift { font-family: var(--ys-schrift); font-weight: 400; color: var(--ys-gold); line-height: .85; }
.ys-leer { margin: 0; }

.ys-abschnitt { padding: clamp(60px, 8vw, 100px) var(--ys-rand); margin: 0 !important; }
.ys-abschnitt > * { max-width: var(--ys-breit); margin-left: auto !important; margin-right: auto !important; }
.ys-weiss { background: #fff; }
.ys-creme { background: var(--ys-creme); }
.entry-content:not(.ys-start) .ys-abschnitt { padding: 0; }
.ys-titel-links { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 1em !important; }
.wp-block-columns { display: flex; gap: clamp(28px, 4vw, 60px); }

/* Hero */
.ys-hero.wp-block-cover { position: relative; display: flex; align-items: center; min-height: 100vh !important; min-height: max(100vh, 760px) !important; padding: 200px 0 0 !important; margin: 0; overflow: visible; }
.ys-hero .wp-block-cover__background { background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .8)) !important; opacity: 1 !important; }
.ys-hero .wp-block-cover__image-background { object-position: 50% 50%; }
.ys-hero .wp-block-cover__inner-container { position: static; width: 100%; max-width: none !important; padding: 0 0 200px 12%; color: #fff; }
.ys-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
.ys-hero__schrift { font-size: clamp(3.4rem, 6.6vw, 5.6rem) !important; margin: 0 0 .15em !important; color: var(--ys-gold) !important; }
.ys-hero__mantra { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.75; color: #fff; margin: 0; }
.ys-hero-karte {
	position: absolute; right: 0; bottom: 0; z-index: 3; width: min(502px, 42vw); background: #fff; color: var(--ys-text);
	padding: 49px 40px 32px 40px; display: grid; grid-template-columns: 150px 1fr; gap: 10px 32px; align-items: center;
}
.ys-hero-karte .ys-karte__bild { margin: 0; grid-row: 1; }
.ys-hero-karte .ys-karte__bild img { width: 150px; display: block; }
.ys-karte__titel { font-size: 26px !important; line-height: 1 !important; margin: 0 0 18px !important; color: #000 !important; }
.ys-karte__unter { font-size: 14px; letter-spacing: .09em; color: var(--ys-gold); margin: 0 0 12px; }
.ys-karte__text p:last-child { font-size: 16px; margin: 0; }
.ys-karte__knopf { grid-column: 1 / -1; margin-top: 18px; }
.ys-karte__knopf .wp-block-button { width: 100%; }
.ys-karte__knopf .wp-block-button__link { width: 100%; background: var(--ys-gold-hell); color: #fff; border: 0; border-radius: 4px; font-weight: 600; font-size: 15px; padding: 12px; }
.ys-karte__knopf .wp-block-button__link:hover { background: var(--ys-gold); color: #fff; }

/* Mediate polarity */
.ys-zitat { text-align: center; padding: clamp(70px, 10vw, 130px) var(--ys-rand) clamp(50px, 7vw, 90px); margin: 0 !important; background: #fff; }
.ys-zitat > * { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.ys-zitat__schrift { font-size: clamp(3.4rem, 6.6vw, 5.6rem) !important; margin: 0 0 .15em !important; color: var(--ys-gold) !important; }
.ys-zitat__text { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #000; margin: 0 0 1.8em; }
.ys-logos { display: flex; justify-content: center; gap: clamp(30px, 9vw, 120px); }
.ys-logos figure { margin: 0; }
.ys-logos img { width: clamp(110px, 15vw, 200px); display: block; }

/* Bildbänder */
.ys-band.wp-block-cover { min-height: 400px !important; padding: 0 !important; margin: 0; }
.ys-band--hell .wp-block-cover__background { background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, .85) 100%) !important; opacity: 1 !important; }
.ys-band--dunkel .wp-block-cover__background { background: linear-gradient(rgba(0, 0, 0, .24) 0%, rgba(0, 0, 0, .73) 100%) !important; opacity: 1 !important; }
@media (max-width: 781px) { .ys-band.wp-block-cover { min-height: 220px !important; } }

/* Klickbare Gurte */
.ys-klickbar { align-items: flex-start !important; }
.ys-dunkelkarte {
	position: relative; color: #fff; padding: clamp(40px, 6vw, 76px); border-bottom-right-radius: 120px; overflow: hidden;
	background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), var(--ys-bild-straps1, #3a3a3a) center / cover;
}
.ys-dunkelkarte p { color: #fff; margin: 0 0 1.1em; }
.ys-dunkelkarte__titel { color: #fff !important; font-size: clamp(1.9rem, 3.2vw, 2.6rem) !important; padding-bottom: .7em; margin-bottom: .9em !important; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.ys-sprechblase { position: relative; background: var(--ys-creme); padding: 40px 36px; text-align: center; color: var(--ys-grau); }
.ys-sprechblase::after { content: ""; position: absolute; left: 20px; bottom: -12px; border: 12px solid transparent; border-bottom: 0; border-top-color: var(--ys-creme); }
.ys-sprechblase h2 { font-size: 25px; color: #000; margin-bottom: .6em; }
.ys-sprechblase p { margin: 0; }

.ys-galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 40px !important; }
.ys-galerie figure { margin: 0; overflow: hidden; }
.ys-galerie img { width: 100%; aspect-ratio: 248 / 200; object-fit: cover; display: block; filter: grayscale(1); transition: filter .4s, transform .4s; }
.ys-galerie figure:hover img { filter: none; transform: scale(1.03); }
@media (max-width: 781px) { .ys-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Über uns – Foto und Text nebeneinander, abwechselnd */
.ys-personen { display: grid; gap: clamp(50px, 7vw, 90px); margin-top: clamp(36px, 5vw, 60px) !important; }
.ys-personen > * { margin-block-start: 0 !important; }
.ys-person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.ys-person--rechts { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ys-person--rechts .ys-person__bild { order: 2; }
.ys-person .ys-person__bild { margin: 0; position: relative; isolation: isolate; }
.ys-person .ys-person__bild::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ys-gold); z-index: -1; }
.ys-person--rechts .ys-person__bild::after { inset: 18px 18px -18px -18px; }
.ys-person .ys-person__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; display: block; }
.ys-person--links .ys-person__bild img { border-bottom-right-radius: 90px; }
.ys-person--rechts .ys-person__bild img { border-bottom-left-radius: 90px; }
.ys-person__rolle { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ys-gold-dunkel); margin: 0 0 .4em; }
.ys-person__name { font-family: var(--ys-schrift); color: var(--ys-gold) !important; font-size: clamp(3.4rem, 6vw, 4.8rem) !important; line-height: .9 !important; margin: 0 0 .25em !important; }
.ys-person__text p { margin: 0 0 1em; }
@media (max-width: 781px) {
	.ys-person, .ys-person--rechts { grid-template-columns: 1fr; gap: 26px; }
	.ys-person--rechts .ys-person__bild { order: 0; }
	.ys-person .ys-person__bild { max-width: 420px; }
	.ys-person .ys-person__bild::after { display: none; }
}

/* Katonah */
.ys-katonah h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .9em; }
.ys-weisskarte { background: #fff; padding: clamp(28px, 4vw, 42px); }
.ys-weisskarte p { margin: 0 0 1em; }
.ys-weisskarte ul { margin: 0; padding-left: 1.2em; }

/* Häufige Fragen */
.ys-schmal > * { max-width: 800px !important; }
.ys-faq { margin-top: 1.6em !important; }
.ys-faq details { border-bottom: 1px solid var(--ys-linie); }
.ys-faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; color: #000; font-size: 19px; position: relative; }
.ys-faq summary::-webkit-details-marker { display: none; }
.ys-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--ys-gold); transition: transform .2s; }
.ys-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ys-faq details > p { margin: 0 0 20px; }

/* Shop-Seite */
.ys-produkte .lean-shop { max-width: var(--ys-breit); }
.ys-shop-info { margin-top: 2.4em !important; }
.ys-haken { list-style: none; padding: 0; }
.ys-haken li { position: relative; padding-left: 30px; margin: 0 0 .6em; }
.ys-haken li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--ys-gold); border-bottom: 2px solid var(--ys-gold); transform: rotate(-45deg); }
.ys-lead { font-size: 1.1em; }
.ys-ueberzeile { font-size: 14px; letter-spacing: .09em; color: var(--ys-gold); text-transform: uppercase; margin: 0 0 .6em; }

/* Kontakt */
.ys-kontakt-adresse { text-align: center; }
.ys-kontakt h2 { font-size: 24px; }

/* Rechtstexte */
.ys-rechtstext h2 { font-size: 1.6rem; margin-top: 1.6em; }
.ys-rechtstext h3 { font-size: 1.2rem; margin-top: 1.4em; }

/* ---------- Formular ---------- */

.ys-formular { display: grid; gap: 18px; }
.ys-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .ys-reihe { grid-template-columns: 1fr; } }
.ys-formular label { display: block; font-size: 17px; color: var(--ys-text); margin-bottom: 8px; }
.ys-formular input[type="text"], .ys-formular input[type="email"], .ys-formular textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ys-text); background: #fff;
	border: 1px solid #d2d2d2; border-radius: 4px; padding: 12px 14px; min-height: 46px;
}
.ys-formular textarea { min-height: 160px; resize: vertical; }
.ys-formular input:focus, .ys-formular textarea:focus { outline: none; border-color: var(--ys-gold); box-shadow: 0 0 0 3px rgba(244, 180, 41, .25); }
.ys-formular .wp-block-button { justify-self: start; }
.ys-formular__hinweis { font-size: 14px; color: var(--ys-grau); margin: 0; }
.ys-meldung { padding: 14px 18px; margin: 0 0 20px; border-radius: 4px; }
.ys-meldung.is-ok { background: #e8f3e3; color: #24451a; }
.ys-meldung.is-fehler { background: #fbe9e4; color: #6d2214; }
.ys-hp { position: absolute !important; left: -9999px !important; }

/* ---------- Lean Shop ---------- */

body .lean-shop {
	--lean-shop-primary-bg: var(--ys-gold-hell);
	--lean-shop-primary-text: #fff;
	--lean-shop-primary-hover-bg: var(--ys-gold);
	--lean-shop-primary-hover-text: #fff;
	--lean-shop-primary-border: var(--ys-gold-hell);
	--lean-shop-border-radius: 4px;
	font-family: inherit;
}
.ys-produkt { padding-top: clamp(36px, 5vw, 60px); }
.ys-pfad { font-size: 15px; color: var(--ys-grau); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px !important; }
.ys-pfad a { color: inherit; }

/* ---------- Footer ---------- */

.ys-footer {
	position: relative; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; text-align: center;
	background: linear-gradient(rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .5) 70%, #000 100%), var(--ys-footer-bild) center / cover no-repeat, #000;
}
.ys-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ys-footer a:hover { color: var(--ys-gold-hell); }
.ys-footer__inner { max-width: 1240px; margin: 0 auto; padding: 110px var(--ys-rand) 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ys-footer__spalte p { margin: 0 0 1em; }
.ys-footer__titel { color: #fff; font-size: 20px; letter-spacing: .1em; margin-bottom: 1.4em !important; }
.ys-fussmenu { list-style: none; margin: 0; padding: 0; }
.ys-zahlarten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.ys-zahlarten li { background: #fff; border-radius: 4px; width: 96px; height: 52px; display: flex; align-items: center; justify-content: center; }
.ys-zahlarten img { max-width: 72px; max-height: 34px; width: auto; height: auto; }
.ys-footer__unten { padding: 10px var(--ys-rand) 40px; }
.ys-footer__copy { color: #fff; font-size: 14px; margin: 50px 0 0; }
.ys-footer__copy a { color: rgba(255, 255, 255, .6); }
@media (max-width: 781px) {
	.ys-footer__inner { grid-template-columns: 1fr; gap: 10px; padding-top: 70px; }
	.ys-zahlarten { gap: 12px; }
	.ys-zahlarten li { width: 80px; height: 44px; }
}

/* ---------- Mobile Feinheiten ---------- */

@media (max-width: 999px) {
	.ys-hero.wp-block-cover { min-height: 0 !important; padding: 0 !important; flex-direction: column; align-items: stretch; }
	.ys-hero .wp-block-cover__inner-container { padding: 0; }
	.ys-hero__schrift, .ys-hero__mantra { padding: 0 36px; position: relative; z-index: 2; }
	.ys-hero__schrift { padding-top: 90px; }
	.ys-hero__mantra { padding-bottom: 90px; }
	.ys-hero-karte { position: relative; width: 100%; grid-template-columns: 110px 1fr; padding: 32px 24px; }
	.ys-hero-karte .ys-karte__bild img { width: 110px; }
}
@media (max-width: 781px) {
	body { font-size: 17px; }
	.wp-block-columns { flex-wrap: wrap !important; }
	.wp-block-column { flex-basis: 100% !important; }
	.ys-dunkelkarte { border-bottom-right-radius: 70px; }
	.ys-logos { gap: 16px; }
	.ys-titel-links { text-align: center; }
}

/* ---------- Einblenden ---------- */
.js .ys-einblenden { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .ys-einblenden.is-sichtbar { opacity: 1; transform: none; }

/* Abstände, die WordPress zwischen Kindern einfügt, in Rastern aufheben */
.ys-personen > *, .ys-galerie > *, .ys-logos > *, .ys-hero-karte > *, .ys-weisskarte + *, .wp-block-columns > * { margin-block-start: 0 !important; }
.ys-produkte { padding-top: 0 !important; }
.ys-footer__spalte p { max-width: 420px; margin-left: auto; margin-right: auto; }

/* ---------- Lightbox (Galerie) ---------- */
.ys-galerie figure { cursor: zoom-in; }
.ys-galerie figure:focus-visible { outline: 3px solid var(--ys-gold); outline-offset: 2px; }
body.ys-lightbox-offen { overflow: hidden; }
.ys-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); padding: 50px 70px; }
.ys-lightbox[hidden] { display: none; }
.ys-lightbox__figur { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.ys-lightbox__figur img { max-width: min(1400px, 100%); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ys-lightbox__zaehler { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 12px; }
.ys-lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; opacity: .8; transition: opacity .2s; }
.ys-lightbox button:hover, .ys-lightbox button:focus-visible { opacity: 1; }
.ys-lightbox__zu { top: 14px; right: 20px; font-size: 44px; }
.ys-lightbox__pfeil { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 10px 14px; }
.ys-lightbox__pfeil--zurueck { left: 10px; }
.ys-lightbox__pfeil--vor { right: 10px; }
@media (max-width: 600px) {
	.ys-lightbox { padding: 50px 10px; }
	.ys-lightbox__pfeil { top: auto; bottom: 10px; transform: none; font-size: 48px; }
}

/* Katonah: beide Kästchen gleich hoch */
.ys-katonah { align-items: stretch !important; }
.ys-katonah > .wp-block-column { display: flex; flex-direction: column; }
.ys-katonah .ys-weisskarte { flex: 1; }
.ys-katonah h2 { min-height: 2.6em; display: flex; align-items: flex-end; }
@media (max-width: 781px) { .ys-katonah h2 { min-height: 0; } }

/* Unterseiten (Shop, Kontakt, Versand): Inhalt in der Mitte */
.entry-content:not(.ys-start) > .ys-abschnitt { margin-left: auto !important; margin-right: auto !important; width: 100%; }
.page-store .ys-abschnitt > .ys-ueberzeile, .page-store .ys-abschnitt > .ys-lead { text-align: center; max-width: 820px; }
.page-store .ys-abschnitt > .ys-lead { margin-bottom: 2em; }
.page-store .ys-shop-info { max-width: 820px; }

/* ---------- 1.0.6 ---------- */

/* Mediate polarity wirklich zentriert */
.ys-zitat .ys-zitat__schrift { margin: 0 auto .15em !important; text-align: center; }

/* Startbild: deutsche Hauptüberschrift unter dem Schriftzug */
.ys-hero__h1 { color: #fff !important; font-size: clamp(1rem, 1.6vw, 1.25rem) !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 400 !important; line-height: 1.4 !important; margin: 0 0 1.4em !important; opacity: .92; }

/* Katonah: Einleitung, drei Prinzipien, Hilfsmittel */
.ys-katonah-intro { text-align: center; max-width: 760px !important; font-size: 1.08em; }
.ys-prinzipien-titel { margin-top: 2.2em !important; font-size: 1.3rem; letter-spacing: .06em; }
.ys-prinzipien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 1.4em !important; }
.ys-prinzipien > * { margin-block-start: 0 !important; }
.ys-prinzip { background: #fff; padding: 34px 28px 30px; text-align: center; }
.ys-prinzip__zahl { font-family: var(--ys-schrift); color: var(--ys-gold); font-size: 4.2rem; line-height: 1; margin: 0 0 .2em; }
.ys-prinzip__text { color: #000; font-size: 1.12rem; line-height: 1.5; margin: 0; }
.ys-hilfsmittel { margin-top: clamp(50px, 7vw, 80px) !important; align-items: center !important; }
.ys-hilfsmittel__bild { margin: 0; }
.ys-hilfsmittel__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-bottom-right-radius: 90px; filter: grayscale(1); }
.ys-hilfsmittel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 781px) {
	.ys-prinzipien { grid-template-columns: 1fr; gap: 12px; }
	.ys-hilfsmittel__bild img { aspect-ratio: 4 / 3; border-bottom-right-radius: 60px; }
}

/* Shop: Vertrauenspunkte und Ratgeber */
.ys-vertrauen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(40px, 6vw, 64px) auto 0 !important; max-width: var(--ys-breit) !important; }
.ys-vertrauen > * { margin-block-start: 0 !important; }
.ys-vertrauen__punkt { background: var(--ys-creme); padding: 28px 24px; text-align: center; }
.ys-vertrauen__symbol { color: var(--ys-gold); font-size: 22px; margin: 0 0 .4em; }
.ys-vertrauen__punkt h3 { font-size: 1.2rem; margin-bottom: .4em; }
.ys-vertrauen__punkt p:last-child { margin: 0; font-size: 16px; }
.ys-ratgeber { max-width: 820px !important; margin: clamp(50px, 7vw, 80px) auto 0 !important; }
.ys-ratgeber h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.ys-ratgeber h3 { font-size: 1.3rem; margin-top: 1.6em; }
.ys-studio { background: var(--ys-creme); padding: 20px 24px; margin-top: 2em; }
@media (max-width: 781px) { .ys-vertrauen { grid-template-columns: 1fr; gap: 12px; } }

/* Rechtstexte */
.ys-rechtstext ol { padding-left: 1.3em; }
.ys-rechtstext ol li { margin-bottom: .6em; }
.ys-rechtstext .wp-block-table { margin: 1em 0 1.4em; overflow-x: auto; }
.ys-rechtstext table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ys-rechtstext th, .ys-rechtstext td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ys-linie); }
.ys-rechtstext th { color: #000; font-weight: 600; background: var(--ys-creme); }
.ys-rechtstext td:first-child { white-space: nowrap; font-family: ui-monospace, monospace; font-size: 13px; }
@media (max-width: 600px) { .ys-rechtstext td:first-child { white-space: normal; word-break: break-all; } }


/* ---------- 1.0.7: Bewegung & moderner Header ---------- */

/* Header: beim Scrollen fix oben, dunkel und kompakter (Desktop) */
@media (min-width: 1000px) {
	.ys-header { position: fixed; transition: background .35s, box-shadow .35s; }
	.ys-header__inner { transition: height .35s; }
	.ys-logo__bild { transition: width .35s, height .35s; }
	.ys-header.is-scrolled { background: rgba(0, 0, 0, .86); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
	.ys-header.is-scrolled .ys-header__inner { height: 84px; }
	.ys-header.is-scrolled .ys-logo__bild { width: 62px; height: 62px; }
	.ys-header.is-scrolled .ys-menu > li > a { height: 84px; }
}
@media (max-width: 999px) {
	.ys-header { position: sticky; top: 0; }
	.admin-bar .ys-header { top: 46px; }
}
@media (max-width: 600px) { .admin-bar .ys-header { top: 0; } }

/* Startbild: Einstieg beim Laden */
@keyframes ys-rein { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ys-rein-rechts { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes ys-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.ys-hero .wp-block-cover__image-background { animation: ys-zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; }
.ys-hero__schrift { animation: ys-rein 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.ys-hero__h1 { animation: ys-rein 1s .45s cubic-bezier(.2, .7, .2, 1) both; }
.ys-hero__mantra { animation: ys-rein 1s .7s cubic-bezier(.2, .7, .2, 1) both; }
.ys-hero-karte { animation: ys-rein-rechts 1s 1s cubic-bezier(.2, .7, .2, 1) both; }
.ys-titelbalken__titel { animation: ys-rein .9s .15s cubic-bezier(.2, .7, .2, 1) both; }

/* Beim Scrollen einblenden (Klassen setzt theme.js) */
.js .ys-einblenden { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .ys-einblenden--links { transform: translateX(-50px); }
.js .ys-einblenden--rechts { transform: translateX(50px); }
.js .ys-einblenden--bild { transform: scale(.94); }
.js .ys-einblenden.is-sichtbar { opacity: 1; transform: none; }

/* Bilder in Bändern, Personen und Hilfsmittel: sanfter Parallax (setzt theme.js) */
.ys-band .wp-block-cover__image-background { height: 130% !important; top: -15% !important; will-change: transform; }
.ys-logos img { transition: transform .2s linear; }

/* Karten und Knöpfe: feine Bewegung */
.ys-prinzip, .ys-vertrauen__punkt, .ys-weisskarte { transition: transform .35s, box-shadow .35s; }
.ys-prinzip:hover, .ys-vertrauen__punkt:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
body .lean-shop .lean-shop-card { transition: transform .35s, box-shadow .35s; }
body .lean-shop .lean-shop-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
body .lean-shop .lean-shop-card img { transition: transform .6s; }
body .lean-shop .lean-shop-card:hover img { transform: scale(1.04); }
.wp-block-button__link { transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(244, 180, 41, .35); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .ys-einblenden { opacity: 1; transform: none; }
}


/* ---------- 1.0.8: Kontrast (PageSpeed / Barrierefreiheit) ---------- */
:root { --ys-gold-text: #A06D00; }
.ys-karte__unter, .ys-ueberzeile { color: var(--ys-gold-dunkel) !important; }
.ys-zitat__schrift, .ys-person__name, .ys-prinzip__zahl { color: var(--ys-gold-text) !important; }
.ys-sprechblase, .ys-sprechblase p { color: #555 !important; }
.ys-klein { color: #666; }

/* ---------- 1.0.9: Knöpfe mit dunkler Schrift (Kontrast) ---------- */
.wp-block-button__link, .wp-element-button,
.ys-karte__knopf .wp-block-button__link,
.ys-knopf-gold, .ys-header .lean-shop-cart-button { color: #1E1A17 !important; }
.wp-block-button__link:hover, .wp-element-button:hover,
.ys-karte__knopf .wp-block-button__link:hover,
.ys-knopf-gold:hover, .ys-header .lean-shop-cart-button:hover { color: #000 !important; }
.wp-block-button.is-style-outline .wp-block-button__link { color: currentColor !important; }
.ys-hero .is-style-outline .wp-block-button__link { color: #fff !important; }
.ys-header .lean-shop-cart-button__count { background: #1E1A17 !important; color: #fff !important; }
body .lean-shop { --lean-shop-primary-text: #1E1A17; --lean-shop-primary-hover-text: #000; }

/* 1.0.11: Handy – deutsche Überschrift im Startbild mit Rand */
@media (max-width: 999px) {
	.ys-hero__h1 { padding: 0 36px; position: relative; z-index: 2; letter-spacing: .08em; }
}


/* 1.0.12: Handy – Text im Startbild sofort sichtbar (schnellerer Largest Contentful Paint) */
@media (max-width: 999px) {
	.ys-hero__schrift, .ys-hero__h1, .ys-hero__mantra, .ys-hero-karte, .ys-hero .wp-block-cover__image-background { animation: none !important; }
}

/* 1.0.13: Sprungmarken (#anfrage, #anwendung …) nicht unter den fixen Header */
html { scroll-padding-top: 110px; }
.admin-bar { scroll-padding-top: 142px; }
@media (max-width: 999px) { html { scroll-padding-top: 136px; } }
[id] { scroll-margin-top: 110px; }
@media (max-width: 999px) { [id] { scroll-margin-top: 136px; } }

/* 1.0.15: Zahl im Warenkorb-Kreis genau mittig */
.ys-header .lean-shop-cart-button__count {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 20px; min-width: 20px !important; height: 20px; padding: 0 !important;
	border-radius: 50% !important; line-height: 1 !important; font-size: 11px !important;
	font-variant-numeric: tabular-nums; text-align: center; box-sizing: border-box;
}
.ys-header .lean-shop-cart-button__count:not(:empty) { padding-top: 1px !important; }
