/*
Theme Name: Rosa Lena
Theme URI: https://rosa-lena.de
Author: Rosa Lena
Description: Ruhiges Block-Theme für Rosa Lena – Online-Fitness für Frauen und Mütter. Farben, Schriften und Abschnitte lassen sich im Website-Editor anpassen.
Version: 1.4.46
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rosa-lena
*/

/* ---------- Grundlagen ---------- */
:root {
	--rl-line: #9AA58D;
	--rl-radius: 14px;
	--rl-shadow: 0 18px 40px -28px rgba(51, 46, 41, .45);
}
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--wp--preset--color--sage-dark); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 3px; }

/* ---------- Kleine Helfer ---------- */
.rl-eyebrow {
	font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--wp--preset--color--text-soft); margin-bottom: .6rem !important;
}
.rl-eyebrow--dot::before {
	content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
	background: var(--wp--preset--color--orange); margin-right: 12px; vertical-align: middle;
}
.rl-lead { color: var(--wp--preset--color--text-soft); font-size: 1.12rem; }
.rl-small { font-size: .82rem; color: var(--wp--preset--color--text-soft); }

/* Textlink mit Pfeil */
.rl-textlink a {
	text-decoration: none; font-size: .92rem; font-weight: 500;
	border-bottom: 1px solid var(--wp--preset--color--text); padding-bottom: 6px;
}
.rl-textlink a::after { content: "  →"; }
.rl-textlink a:hover { color: var(--wp--preset--color--sage-dark); border-color: var(--wp--preset--color--sage-dark); }

/* Buttons */
.wp-block-button__link { transition: background-color .2s ease, transform .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.rl-btn-arrow .wp-block-button__link::after { content: "  →"; }
.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--text); border: 1px solid var(--wp--preset--color--text-soft);
}

/* Häkchen-Zeile */
.rl-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .88rem; color: var(--wp--preset--color--text-soft); }
.rl-checks p { margin: 0 !important; }
.rl-checks p::before { content: "✓"; margin-right: 8px; color: var(--wp--preset--color--sage-dark); }

/* ---------- Header ---------- */
.rl-topbar { background: var(--wp--preset--color--sage); font-size: .8rem; letter-spacing: .03em; color: var(--wp--preset--color--text); }
.rl-topbar p { margin: 0; padding: 8px 16px; text-align: center; }
.rl-header { position: sticky; top: 0; z-index: 50; width: 100%; background: var(--wp--preset--color--beige); border-top: 34px solid var(--wp--preset--color--sage); border-bottom: 4px solid var(--wp--preset--color--sage); }
.admin-bar .rl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rl-header { top: 0; } }
.rl-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.rl-logo svg { width: 40px; height: 42px; flex: none; }
.rl-logo__name { font-family: var(--wp--preset--font-family--serif); font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; display: block; }
.rl-header .wp-block-navigation { font-size: .9rem; gap: 2rem; }
.rl-header .wp-block-navigation a:hover { color: var(--wp--preset--color--sage-dark); }
.rl-account .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--text); border: 1px solid var(--rl-line);
	padding: .6rem 1rem; font-size: .82rem; border-radius: 6px;
}
.rl-account .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; }
.rl-account .wp-block-button__link::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.rl-account .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--text); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--beige) !important; padding: 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.2rem; }
@media (max-width: 600px) { .rl-account .wp-block-button__link { font-size: 0; gap: 0; padding: 10px !important; border-radius: 999px; } .rl-account .wp-block-button__link::before { width: 18px; height: 18px; } .rl-logo__name { font-size: 1.6rem; } .rl-header .wp-block-group.alignwide { gap: .8rem; } }

/* ---------- Hero ---------- */
.rl-hero h1 { line-height: 1.08; }
.rl-hero-media { position: relative; }
.rl-hero-media .wp-block-image img,
.rl-hero-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--rl-radius); }
@media (max-width: 700px) { .rl-hero-media img { aspect-ratio: 4 / 3; } }
.rl-tag {
	position: absolute; left: 26px; bottom: 26px; margin: 0 !important;
	background: rgba(245, 239, 230, .96); padding: 12px 22px; border-radius: 4px;
	font-family: var(--wp--preset--font-family--serif); font-size: 1.15rem; transform: rotate(-3deg);
	box-shadow: var(--rl-shadow);
}
.rl-tag::before { content: "✿  "; color: var(--wp--preset--color--sage-dark); }
.rl-vertical {
	position: absolute; right: -34px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center;
	font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--wp--preset--color--text-soft); white-space: nowrap; margin: 0 !important;
}
@media (max-width: 1260px) { .rl-vertical { display: none; } }

/* ---------- Karten ---------- */
.rl-card {
	background: #fff; border: 1px solid rgba(154,165,141,.55); border-radius: var(--rl-radius);
	padding: 2rem !important; height: 100%;
}
.rl-card--sage { background: var(--wp--preset--color--sage); border-color: var(--wp--preset--color--sage); }
.rl-card__icon { font-size: 1.5rem; color: var(--wp--preset--color--sage-dark); margin-bottom: .8rem !important; line-height: 1; }
.rl-card h3 { font-size: 1.75rem; margin: .2rem 0 .6rem; }
.rl-card p { color: var(--wp--preset--color--text-soft); font-size: 1rem; }
.wp-block-columns.rl-equal > .wp-block-column { display: flex; flex-direction: column; }

/* ---------- Schritte ---------- */
.rl-step { border-bottom: 1px solid rgba(51,46,41,.22); padding: 1.4rem 0 !important; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
.rl-step:last-child { border-bottom: 0; }
.rl-step__num { font-family: var(--wp--preset--font-family--serif); font-size: 1.25rem; color: var(--wp--preset--color--text-soft); grid-row: span 2; margin: 0 !important; }
.rl-step h3 { font-size: 1.45rem; margin: 0 0 .3rem !important; }
.rl-step p:not(.rl-step__num) { margin: 0 !important; font-size: 1rem; color: var(--wp--preset--color--text-soft); grid-column: 2; }

/* ---------- Foto mit Zitat-Band ---------- */
.rl-photo { position: relative; }
.rl-photo img { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; border-radius: var(--rl-radius); }
.rl-photo .rl-band {
	position: absolute; left: 4%; right: 0; bottom: 6%; margin: 0 !important; text-align: center;
	background: rgba(245, 239, 230, .95); padding: 14px 18px; transform: rotate(-3deg);
	font-family: var(--wp--preset--font-family--serif); font-size: 1.2rem;
}

/* ---------- Preise ---------- */
.rl-price { background: #fff; border: 1px solid rgba(154,165,141,.55); border-radius: var(--rl-radius); padding: 2.2rem 2rem !important; height: 100%; display: flex; flex-direction: column; }
.rl-price--featured { border: 2px solid var(--wp--preset--color--sage-dark); background: #fff; }
.rl-price__amount { font-family: var(--wp--preset--font-family--serif); font-size: 3rem !important; line-height: 1 !important; margin: .4rem 0 .2rem !important; }
.rl-price ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; color: var(--wp--preset--color--text-soft); font-size: 1rem; }
.rl-price li { padding: 6px 0 6px 26px; position: relative; }
.rl-price li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--sage-dark); }
.rl-price .wp-block-buttons { margin-top: auto; }
.rl-price .wp-block-button, .rl-price .wp-block-button__link { width: 100%; }
.rl-badge { display: inline-block; align-self: flex-start; background: var(--wp--preset--color--orange); color: var(--wp--preset--color--text); font-size: .68rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: .8rem !important; }

/* ---------- Kurs & Buchung ---------- */
.rl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-chips p { margin: 0 !important; font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: var(--wp--preset--color--sage); color: var(--wp--preset--color--text); }
.rl-booking { background: #fff; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); padding: 1.5rem; min-height: 240px; }
.rl-booking__placeholder { border: 2px dashed var(--rl-line); border-radius: 10px; padding: 2.5rem 1.5rem; text-align: center; color: var(--wp--preset--color--text-soft); }
.rl-booking__placeholder strong { display: block; font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-size: 1.3rem; color: var(--wp--preset--color--text); margin-bottom: .4rem; }
.websail {
	--ws-primary-color: #6E7862;
	--ws-primary-color-contrast: #ffffff;
	--ws-secondary-color: #F5EFE6;
	--ws-link-color: #332E29;
	font-family: var(--wp--preset--font-family--sans);
}

/* ---------- FAQ ---------- */
.wp-block-details { background: #fff; border: 1px solid rgba(154,165,141,.55); border-radius: 10px; padding: 1.1rem 1.4rem; }
.wp-block-details summary { cursor: pointer; font-weight: 500; }
.wp-block-details[open] summary { margin-bottom: .6rem; }
.wp-block-details p { color: var(--wp--preset--color--text-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.rl-footer { font-size: .85rem; }
.rl-footer h4 { font-family: var(--wp--preset--font-family--sans); font-size: .85rem; font-weight: 700; margin: 0 0 1rem; }
.rl-footer ul { list-style: none; padding: 0; margin: 0; }
.rl-footer li { padding: 4px 0; }
.rl-footer a { text-decoration: none; }
.rl-footer a:hover { text-decoration: underline; }
.rl-footer .rl-logo__name { font-size: 2rem; }
.rl-revoke a { display: inline-block; border: 1px solid var(--wp--preset--color--text-soft); border-radius: 6px; padding: 8px 16px; text-decoration: none !important; }
.rl-revoke a:hover { background: #fff; }

/* ---------- Rechtstexte ---------- */
.rl-todo { background: #fff; border-left: 4px solid var(--wp--preset--color--orange); border-radius: 10px; padding: 1rem 1.25rem; font-size: .92rem; }

/* ---------- v1.0.1: Abgerundete Farbflächen, Abstand innen ---------- */
.wp-block-post-content > .wp-block-group.has-background {
	border-radius: 24px;
	width: min(100% - 32px, 1240px);
	margin-left: auto !important; margin-right: auto !important;
	padding-left: clamp(1.5rem, 5vw, 4rem) !important;
	padding-right: clamp(1.5rem, 5vw, 4rem) !important;
	margin-top: var(--wp--preset--spacing--40) !important;
	margin-bottom: var(--wp--preset--spacing--40) !important;
}
/* Abschnitte ohne Hintergrund: seitlicher Mindestabstand */
.wp-block-post-content > .wp-block-group:not(.has-background) {
	padding-left: 20px; padding-right: 20px;
}
/* „Auf Anfrage“ kleiner als die Euro-Preise */
.rl-equal > .wp-block-column:last-child .rl-price__amount { font-size: 2rem !important; line-height: 1.15 !important; }
/* Etwas mehr Raum zwischen Häkchen-Zeile und Titelbild */
.rl-hero .rl-checks { margin-top: 1.25rem; }

/* ---------- v1.1: Markenfarben, schlanke Startseite ---------- */
/* Grüne Flächen: dunkler Text, dunkle Akzente */
.has-sage-background-color, .has-sage-soft-background-color { color: var(--wp--preset--color--text); }
.has-sage-background-color :is(h1,h2,h3) em,
.has-sage-soft-background-color :is(h1,h2,h3) em,
.rl-card--sage em { color: var(--wp--preset--color--text); }
.has-sage-background-color .rl-step__num,
.has-sage-background-color .rl-step p:not(.rl-step__num),
.has-sage-background-color .rl-lead,
.has-sage-background-color .rl-eyebrow { color: var(--wp--preset--color--text) !important; }
.has-sage-background-color .wp-block-button__link { background: var(--wp--preset--color--text); color: #fff; }
.has-sage-background-color .wp-block-button__link:hover { background: var(--wp--preset--color--sage-dark); }
/* Fußbereich */
.rl-footer.has-sage-background-color { color: var(--wp--preset--color--text); }
.rl-footer .rl-small { color: var(--wp--preset--color--text); }
.rl-footer hr.wp-block-separator { background: var(--wp--preset--color--text) !important; color: var(--wp--preset--color--text) !important; opacity: .25; border: 0; height: 1px; }
.rl-footer .rl-revoke a { border-color: var(--wp--preset--color--text); }
.rl-footer .rl-revoke a:hover { background: var(--wp--preset--color--beige); }
/* Nebentexte etwas zurückgenommen, gleiche Farbe */
.rl-lead, .rl-small, .rl-card p, .rl-price ul, .rl-step p, .wp-block-details p { opacity: .88; }
/* Farbflächen exakt so breit wie die Inhalte */
.wp-block-post-content > .wp-block-group.has-background { width: min(100% - 40px, 1180px); }
.wp-block-post-content > .wp-block-group.has-background .alignwide { max-width: 100%; }
/* Linien-Icons in den Karten */
.rl-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--wp--preset--color--beige); color: var(--wp--preset--color--sage-dark); margin-bottom: 1rem; }
.rl-icon svg { width: 24px; height: 24px; }
.rl-card .wp-block-html { margin: 0; }
/* Abschluss-Band */
.rl-cta h2 { margin-bottom: .4rem; }

/* ---------- v1.2: Kurskarten mit Button ---------- */
.rl-course { display: flex; flex-direction: column; }
.rl-course .wp-block-buttons { margin-top: auto; padding-top: .5rem; }
.rl-course .wp-block-button, .rl-course .wp-block-button__link { width: 100%; text-align: center; }

/* Footer-Linie über volle Breite */
.rl-footer hr.wp-block-separator, .rl-footer hr.wp-block-separator.alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

/* Instagram-Link */
.rl-social { display: inline-flex; align-items: center; gap: 10px; margin-top: .5rem; text-decoration: none !important; font-size: .9rem; color: var(--wp--preset--color--text); }
.rl-social svg { width: 22px; height: 22px; flex: none; }
.rl-social:hover span { text-decoration: underline; }

/* ---------- v1.3.2: Butlerapp-Formular ruhiger ---------- */
.rl-booking :is(h1, h2, h3, h4),
.websail :is(h1, h2, h3, h4) {
	font-size: 1.5rem !important;
	line-height: 1.3 !important;
	margin: 0 0 .75rem !important;
	letter-spacing: 0;
}
.rl-booking :is(h3, h4), .websail :is(h3, h4) { font-size: 1.25rem !important; }
/* Mein Bereich (WooCommerce-Konto): Reiter oben, Inhalt volle Breite */
.woocommerce-account .woocommerce { display: block; max-width: 1100px; margin: 0 auto; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; margin: 0 0 2rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(51,46,41,.15); }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: .7rem 1.1rem; text-decoration: none; color: #332E29; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; font-size: .95rem; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: #6E7862; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #fff; border-color: rgba(51,46,41,.15); margin-bottom: -1px; font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-account .woocommerce-MyAccount-content [class*="amelia"],
.woocommerce-account .woocommerce-MyAccount-content #amelia-container { max-width: 100% !important; width: 100% !important; }
.woocommerce-account .woocommerce-MyAccount-content > p.rl-small { margin: 0 0 1.25rem; }

/* Deine nächsten Termine */
.rl-sessions { margin: 0 0 2.5rem; }
.rl-sessions__title { font-size: 1.5rem; margin: 0 0 1rem; }
.rl-sessions__list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid rgba(51,46,41,.12); border-radius: 12px; overflow: hidden; }
.rl-sessions__item { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr auto; gap: .75rem 1.25rem; align-items: center; padding: .95rem 1.25rem; border-top: 1px solid rgba(51,46,41,.08); }
.rl-sessions__item:first-child { border-top: 0; }
.rl-sessions__name { font-family: var(--wp--preset--font-family--serif); font-size: 1.1rem; }
.rl-sessions__date, .rl-sessions__time { font-size: .95rem; }
.rl-sessions__zoom { border: 0; cursor: pointer; font-family: inherit; background: #6E7862; color: #fff !important; text-decoration: none; padding: .5rem .95rem; border-radius: 6px; font-size: .9rem; white-space: nowrap; }
.rl-sessions__zoom:hover { background: #332E29; }
.rl-sessions__zoom.is-pending { background: transparent; color: #332E29 !important; opacity: .7; padding: 0; }
@media (max-width: 700px) {
	.rl-sessions__item { grid-template-columns: 1fr auto; }
	.rl-sessions__name { grid-column: 1 / -1; }
}

.rl-sessions__actions { justify-self: end; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
.rl-link-btn { background: none; border: 0; padding: 0; color: #6E7862; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.rl-link-btn:hover { color: #332E29; }
.rl-manage-hint { margin-top: -1rem; }
.rl-panel-dialog { width: min(980px, 94vw); max-height: 90vh; padding: 0; border: 0; border-radius: 14px; background: #F5EFE6; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.rl-panel-dialog::backdrop { background: rgba(51,46,41,.45); }
.rl-panel-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.2rem; background: #fff; border-bottom: 1px solid rgba(51,46,41,.1); position: sticky; top: 0; z-index: 2; }
.rl-panel-dialog__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #332E29; }
.rl-panel-dialog > :not(.rl-panel-dialog__head) { margin: 1rem; }
@media (max-width: 700px) { .rl-sessions__actions { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; } }

/* Buchungen verwalten: Link, der sich als Fenster über der Seite öffnet (ohne Skript) */
.rl-manage { margin: 0 0 1rem; }
.rl-manage > summary { list-style: none; cursor: pointer; display: inline-block; }
.rl-manage > summary::-webkit-details-marker { display: none; }
.rl-manage__open { color: #6E7862; text-decoration: underline; font-size: .95rem; }
.rl-manage__close { display: none; }
.rl-manage[open] { position: fixed; inset: 0; z-index: 1500; background: rgba(51,46,41,.5); overflow-y: auto; padding: 5vh 3vw; margin: 0; }
.rl-manage[open] > summary { display: flex; width: min(980px, 100%); margin: 0 auto; background: #fff; border-radius: 14px 14px 0 0; padding: .9rem 1.2rem; }
.rl-manage[open] .rl-manage__open { display: none; }
.rl-manage[open] .rl-manage__close { display: flex; width: 100%; justify-content: space-between; align-items: center; font-family: var(--wp--preset--font-family--serif); font-size: 1.2rem; }
.rl-manage__close b { font-family: var(--wp--preset--font-family--sans); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.rl-manage__body { width: min(980px, 100%); margin: 0 auto; background: #F5EFE6; border-radius: 0 0 14px 14px; padding: 1rem; }
body:has(.rl-manage[open]) { overflow: hidden; }

/* Karten-Icons per CSS (WordPress entfernt SVG beim Speichern im Editor) */
.rl-icon svg { display: none; }
.rl-icon::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE5IDE0YzEuNS0xLjUgMy0zLjIgMy01LjVBNS41IDUuNSAwIDAgMCAxNi41IDNjLTEuOCAwLTMgLjUtNC41IDItMS41LTEuNS0yLjctMi00LjUtMkE1LjUgNS41IDAgMCAwIDIgOC41YzAgMi4zIDEuNSA0IDMgNS41bDcgN1oiLz48L3N2Zz4=") center / contain no-repeat; mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE5IDE0YzEuNS0xLjUgMy0zLjIgMy01LjVBNS41IDUuNSAwIDAgMCAxNi41IDNjLTEuOCAwLTMgLjUtNC41IDItMS41LTEuNS0yLjctMi00LjUtMkE1LjUgNS41IDAgMCAwIDIgOC41YzAgMi4zIDEuNSA0IDMgNS41bDcgN1oiLz48L3N2Zz4=") center / contain no-repeat; }
.rl-equal > .wp-block-column:first-child .rl-icon::before { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iMiIgeT0iNSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjEyIiByeD0iMiIvPjxwYXRoIGQ9Im0xNiAxMCA2LTN2MTBsLTYtMyIvPjwvc3ZnPg=="); mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iMiIgeT0iNSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjEyIiByeD0iMiIvPjxwYXRoIGQ9Im0xNiAxMCA2LTN2MTBsLTYtMyIvPjwvc3ZnPg=="); }

/* Partner-Dashboard in Mein Bereich: eigene Abmelde-Zeile ausblenden (Mein Bereich hat „Abmelden“) */
.woocommerce-MyAccount-content .wcusage-dash-logout,
.woocommerce-MyAccount-content .wcusage-dash-top-links { display: none !important; }

/* ---------- 1:1-Begleitung: Buchungskarten ---------- */
.rl-offers-band { background: #EDE5D8; padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem !important; margin-top: 2rem; }
.rl-offers-band > .rl-lead { max-width: 620px; margin-left: auto !important; margin-right: auto !important; margin-bottom: 3rem !important; }
.rl-offers { max-width: 1000px !important; margin: 0 auto !important; gap: 1.75rem !important; align-items: stretch !important; }
.rl-offer { background: #fff; border: 1px solid var(--rl-line); border-radius: 14px; padding: 2.5rem 2.25rem 2.25rem !important; display: flex; flex-direction: column; position: relative; }
.rl-offer--featured { border: 2px solid var(--wp--preset--color--sage-dark); }
.rl-offer h3 { font-size: 1.9rem !important; margin: 0 0 .3rem !important; }
.rl-offer__sub { margin: 0 0 1.6rem !important; font-size: .95rem; color: var(--wp--preset--color--text-soft); }
.rl-offer__price { margin: 0 0 1.6rem !important; font-size: .95rem; color: var(--wp--preset--color--text-soft); }
.rl-offer__price strong { font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--wp--preset--color--text); margin-right: .4rem; }
.rl-offer--featured .rl-offer__price { margin-bottom: .4rem !important; }
.rl-offer__save { margin: 0 0 1.6rem !important; font-size: .9rem; font-weight: 500; color: var(--wp--preset--color--sage-dark); }
.rl-offer__badge { position: absolute; top: -15px; left: 2.25rem; margin: 0 !important; background: #F69362; color: var(--wp--preset--color--text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.rl-offer__list { list-style: none; padding: 0 !important; margin: 0 0 2.2rem !important; display: flex; flex-direction: column; gap: .85rem; flex-grow: 1; }
.rl-offer__list li { position: relative; padding-left: 2rem; line-height: 1.5; }
.rl-offer__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: var(--wp--preset--color--sage-dark); -webkit-mask: 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.rl-offer .wp-block-buttons { margin-top: auto; }
.rl-offer .wp-block-button__link { width: 100%; justify-content: center; }
.rl-offer .is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid var(--wp--preset--color--sage-dark); color: var(--wp--preset--color--text); }
.rl-offer .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--sage-dark); color: #fff; }
@media (max-width: 781px) { .rl-offers { gap: 2.25rem !important; } }

/* ---------- Kasse & Warenkorb ---------- */
.rl-shop h1.wp-block-heading { margin-top: .2rem !important; margin-bottom: 2rem !important; }
.rl-shop .wc-block-checkout, .rl-shop .wc-block-cart { font-family: var(--wp--preset--font-family--sans, inherit); }
.rl-shop .wc-block-components-title, .rl-shop .wc-block-components-checkout-step__title { font-family: var(--wp--preset--font-family--serif) !important; font-weight: 400 !important; font-size: 1.45rem !important; }
.rl-shop .wc-block-components-checkout-step { background: #fff; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); padding: 1.6rem 1.6rem .6rem !important; margin-bottom: 1.4rem !important; }
.rl-shop .wc-block-components-checkout-step::after { display: none !important; }
.rl-shop .wc-block-components-checkout-step__container, .rl-shop .wc-block-components-checkout-step__heading { padding-left: 0 !important; margin-left: 0 !important; }
.rl-shop .wc-block-components-text-input input, .rl-shop .wc-block-components-combobox .components-form-token-field__input, .rl-shop .wc-blocks-components-select__select, .rl-shop .wc-block-components-textarea { background: #fff !important; border: 1px solid rgba(51,46,41,.25) !important; border-radius: 8px !important; }
.rl-shop .wc-block-components-text-input input:focus, .rl-shop .wc-blocks-components-select__select:focus { border-color: var(--wp--preset--color--sage-dark) !important; box-shadow: 0 0 0 1px var(--wp--preset--color--sage-dark) !important; }
.rl-shop .wc-block-components-radio-control-accordion-option, .rl-shop .wc-block-components-radio-control__option { background: #fff; border-color: rgba(51,46,41,.18) !important; }
.rl-shop .wc-block-components-radio-control-accordion-option:first-child { border-radius: 8px 8px 0 0; }
.rl-shop .wc-block-components-radio-control-accordion-option:last-child { border-radius: 0 0 8px 8px; }
.rl-shop .wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--sage-dark) !important; }
.rl-shop .wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--sage-dark) !important; }
.rl-shop .wc-block-components-checkbox__input:checked { background: var(--wp--preset--color--sage-dark) !important; border-color: var(--wp--preset--color--sage-dark) !important; }
.rl-shop .wp-block-woocommerce-checkout-order-summary-block, .rl-shop .wc-block-cart__totals-title + *, .rl-shop .wp-block-woocommerce-cart-order-summary-block { background: #fff; border: 1px solid var(--rl-line) !important; border-radius: var(--rl-radius) !important; overflow: hidden; }
.rl-shop .wc-block-components-order-summary-item__image { display: none !important; }
.rl-shop .wc-block-components-order-summary-item__description { padding-left: 0 !important; }
.rl-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--wp--preset--font-family--serif); font-size: 1.5rem; }
.rl-shop .wc-block-components-checkout-place-order-button, .rl-shop .wc-block-cart__submit-button { background: var(--wp--preset--color--sage-dark) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; min-height: 52px; font-size: 1rem !important; font-weight: 500; }
.rl-shop .wc-block-components-checkout-place-order-button:hover, .rl-shop .wc-block-cart__submit-button:hover { background: #4F5846 !important; }
.rl-shop .wc-block-checkout__terms, .rl-shop .wc-block-checkout__add-note { font-size: .9rem; }
.rl-course .rl-video-btn { margin-top: .4rem; }
/* Video-Button wie die anderen Haupt-Buttons */
.rl-video-btn.is-style-outline .wp-block-button__link { background: var(--wp--preset--color--sage-dark) !important; color: #fff !important; border-color: var(--wp--preset--color--sage-dark) !important; }
.rl-video-btn.is-style-outline .wp-block-button__link:hover { background: #4F5846 !important; border-color: #4F5846 !important; }
.rl-video-btn .wp-block-button__link::after { content: "  →"; }
/* Amelia-Menüs und -Dialoge (⋮, Absagen, Verschieben) über dem Fenster „Buchungen verwalten“ */
body:has(.rl-manage[open]) .el-popper, body:has(.rl-manage[open]) .el-overlay, body:has(.rl-manage[open]) .el-dropdown__popper, body:has(.rl-manage[open]) .el-select__popper { z-index: 100010 !important; }

/* ---------- 4er-Paket: Nächste Schritte ---------- */
html.rl-next-open { overflow: hidden; }
.rl-next {
	position: fixed; inset: 0; z-index: 100020;
	background: rgba(51, 46, 41, .55);
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.rl-next__box {
	position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto;
	background: var(--wp--preset--color--cream, #fbf8f3); color: var(--wp--preset--color--text, #332e29);
	border-radius: var(--rl-radius); box-shadow: var(--rl-shadow); padding: 32px 28px 26px;
}
.rl-next__box h2 { margin: 0 0 1.2rem; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.rl-next__x {
	position: absolute; top: 10px; right: 12px; width: 40px; height: 40px;
	border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: inherit;
}
.rl-next__steps { list-style: none; counter-reset: rlnext; margin: 0 0 1.2rem; padding: 0; }
.rl-next__steps li {
	counter-increment: rlnext; position: relative; padding: 0 0 14px 48px; margin: 0;
}
.rl-next__steps li::before {
	content: counter(rlnext); position: absolute; left: 0; top: 0;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--wp--preset--color--orange, #e07a4f); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .95rem;
}
.rl-next__steps li:not(:last-child)::after {
	content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px;
	background: var(--rl-line); opacity: .45;
}
.rl-next__steps strong { display: block; margin-bottom: 2px; }
.rl-next__steps span { color: var(--wp--preset--color--text-soft, #6b635b); }
.rl-next__info {
	background: var(--wp--preset--color--sage-soft, #e8ebe3); border-radius: 10px; padding: 12px 14px; margin: 0 0 1.4rem;
}
.rl-next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rl-next__link { color: inherit; }

/* 1.4.37 – Mobile Bestellübersicht: wird per Skript geöffnet (functions.php), hier Abstände und Optik */
.rl-shop .wc-block-checkout:not(.is-large) .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title { padding: 16px 20px 4px !important; margin: 0 !important; }
.rl-shop .wc-block-checkout:not(.is-large) .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content { padding: 0 20px 8px !important; border-bottom: 0 !important; }
.rl-shop .wc-block-checkout:not(.is-large) .wc-block-components-checkout-order-summary__title-icon { display: none !important; }
/* Artikelliste ohne grauen Kasten */
.rl-shop .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary { background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; }

/* 1.4.38 – „Buchungen verwalten" auf dem Handy: Fenster bleibt in Bildschirmbreite */
html:has(.rl-manage[open]) { overflow: hidden; }
.rl-manage[open] { overflow-x: hidden; overscroll-behavior: contain; box-sizing: border-box; }
.rl-manage[open] > summary, .rl-manage__body { box-sizing: border-box; max-width: 100%; }
.rl-manage__body { overflow-x: hidden; min-width: 0; }
.rl-manage__body :where(div, section, article, header, main, aside, nav, ul, li, form, table, img) { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
.rl-manage__body :where(p, span, a, h1, h2, h3, h4, li) { overflow-wrap: anywhere; }
@media (max-width: 700px) {
	.rl-manage[open] { padding: 12px 8px; }
	.rl-manage[open] > summary { position: sticky; top: -12px; z-index: 3; padding: .8rem 1rem; }
	.rl-manage__close b { padding: 0 .25rem; }
	.rl-manage__body { padding: .5rem; }
	.rl-manage__body > :first-child { margin-top: 0 !important; padding-top: 0 !important; }
}

/* 1.4.43 – Handy: „Buchungen verwalten" passt genau auf den Bildschirm.
 * Amelia (Kundenpanel v2) bringt eine feste Höhe von 700px und 100px Außenabstand mit.
 * Hier: Rahmen fest, Amelia füllt den Rahmen, Kopfzeile „Pakete ☰" (.am-caph__main) bleibt stehen,
 * gescrollt wird nur Amelias Inhaltsbereich (.am-cap.am-fs__main-content). */
@media (max-width: 700px) {
	.rl-manage[open] { overflow: hidden; --rl-head: 58px; }
	.rl-manage[open] > summary { position: static; }
	.rl-manage[open] .rl-manage__body {
		height: calc(100vh - 24px - var(--rl-head));
		height: calc(100dvh - 24px - var(--rl-head));
		overflow: hidden;
	}
	.rl-manage__body .amelia-v2-booking,
	.rl-manage__body #amelia-container.am-cap__wrapper,
	.rl-manage__body .am-fs__main,
	.rl-manage__body .am-fs__main-inner { height: 100% !important; min-height: 0 !important; max-height: none !important; margin-top: 0 !important; margin-bottom: 0 !important; }
	.rl-manage__body .am-fs__main-inner { display: flex !important; flex-direction: column; }
	.rl-manage__body .am-caph__main { flex: 0 0 auto; }
	.rl-manage__body .am-cap.am-fs__main-content { flex: 1 1 auto; height: auto !important; min-height: 0 !important; max-height: none !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
}

/* 1.4.44 – iPhone zoomt automatisch hinein, sobald ein Eingabefeld mit Schrift < 16px angetippt wird
 * (z. B. Amelias Zeitzonen-Auswahl). Danach ist das Fenster rechts abgeschnitten. 16px verhindert das. */
@media (max-width: 700px) {
	.rl-manage__body input, .rl-manage__body select, .rl-manage__body textarea,
	.el-select__input, .el-input__inner, .el-select-dropdown input { font-size: 16px !important; }
}

/* 1.4.46 – Warenkorb-Seitenleiste: Die abgedunkelte Fläche bleibt nach dem Schließen unsichtbar im Seitenaufbau stehen.
 * Safari (iOS 26) färbt danach die Adressleiste grau ein. Nach dem Schließen ganz ausblenden. */
.wc-block-components-drawer__screen-overlay--is-hidden {
	visibility: hidden !important;
	transition: visibility 0s linear .4s, background-color .3s !important;
}
