/* =============================================================================
   LEBENSWERK – Gestaltung der Abschnitte (Klassen lw-…)
   Farben, Schriften und Schriftgrößen kommen aus theme.json (CSS-Variablen
   --wp--preset--…). Diese Datei wird auf der Website und im Editor geladen.
   ========================================================================== */

:root {
	--lw-shadow: 0 10px 30px rgba(101, 78, 134, 0.13);
	--lw-shadow-lg: 0 18px 45px rgba(101, 78, 134, 0.17);
	--lw-ease: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--lw-line: color-mix(in srgb, var(--wp--preset--color--outline-variant) 50%, transparent);

	--lw-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
	--lw-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
	--lw-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	--lw-icon-sparkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M18.5 16.5l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z'/%3E%3C/svg%3E");
	--lw-icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
	--lw-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
	--lw-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--lw-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q 50 10 100 5' fill='none' stroke='%23b19fc7' stroke-width='4'/%3E%3C/svg%3E");
}

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

html {
	scroll-behavior: smooth;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
/* Papierkorn wie auf den Drucksachen */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 100;
	pointer-events: none;
	opacity: 0.1;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection {
	background-color: var(--wp--preset--color--primary-fixed);
	color: #2e2540;
}
h1, h2, h3 {
	text-wrap: balance;
	margin: 0;
}
p {
	margin: 0;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	transition: color var(--lw-ease);
}
body .wp-site-blocks > * + * {
	margin-block-start: 0;
}
body .lw-main .wp-block-post-content > * + * {
	margin-block-start: 0;
}

/* Schriftgrößen-Presets mit passender Zeilenhöhe und Laufweite */
.has-label-sm-font-size { line-height: 16px; font-weight: 500; }
.has-label-lg-font-size { line-height: 20px; font-weight: 600; letter-spacing: 0.05em; }
.has-body-md-font-size { line-height: 26px; }
.has-body-lg-font-size { line-height: 30px; }
.has-headline-md-font-size { line-height: 32px; font-weight: 700; }
.has-headline-lg-font-size { line-height: 40px; font-weight: 700; }
.has-display-md-font-size { line-height: 48px; font-weight: 700; letter-spacing: -0.01em; }
.has-display-lg-font-size { line-height: 64px; font-weight: 700; letter-spacing: -0.02em; }

.lw-h2 { font-size: 32px; line-height: 40px; letter-spacing: 0; }
.lw-h3 { font-size: 24px; line-height: 32px; letter-spacing: 0; }
.lw-display { font-family: var(--wp--preset--font-family--display); }
.lw-medium { font-weight: 500; color: var(--wp--preset--color--on-surface); }
.lw-text-center { text-align: center; }

.lw-kicker {
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}
.lw-kicker--wide { letter-spacing: 0.2em; }

/* Hervorhebung „LEBENSWERK“ in Überschriften */
mark.has-inline-color { background: transparent; }

/* --- Abstände und Breiten ------------------------------------------------ */

.lw-max-xs { max-width: 20rem; }
.lw-max-md { max-width: 28rem; }
.lw-max-xl { max-width: 36rem; }
.lw-max-2xl { max-width: 42rem; }
.lw-max-3xl { max-width: 48rem; }
.lw-center { margin-left: auto !important; margin-right: auto !important; }
/* WordPress zentriert in eingeschränkten Gruppen alle Kinder mit Maximalbreite – hier links ausrichten, außer bei .lw-center */
.is-layout-constrained > [class*="lw-max-"]:not(.lw-center) { margin-left: 0 !important; }

.lw-mt-2 { margin-block-start: 0.5rem !important; }
.lw-mt-6 { margin-block-start: 1.5rem !important; }
.lw-mt-8 { margin-block-start: 2rem !important; }
.lw-mt-10 { margin-block-start: 2.5rem !important; }
.lw-mt-12 { margin-block-start: 3rem !important; }
.lw-mb-6 { margin-block-end: 1.5rem !important; }
.lw-mb-8 { margin-block-end: 2rem !important; }
.lw-mb-10 { margin-block-end: 2.5rem !important; }
.lw-mb-12 { margin-block-end: 3rem !important; }
.lw-mb-14 { margin-block-end: 3.5rem !important; }

/* Stapel: senkrechte Abstände unabhängig vom WordPress-Blockabstand */
.lw-stack { display: flex; flex-direction: column; gap: 1rem; }
.lw-stack--2 { gap: 0.5rem; }
.lw-stack--3 { gap: 0.75rem; }
.lw-stack--5 { gap: 1.25rem; }
.lw-stack--6 { gap: 1.5rem; }
body .lw-stack > * { margin-block: 0; }
body .lw-stack.lw-center { align-items: center; }

/* Raster */
.lw-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
body .lw-grid > *, body .lw-split > *, body .lw-claims > *, body .lw-footer__grid > * { margin-block: 0; }
.lw-gap-4 { gap: 1rem; }
.lw-gap-8 { gap: 2rem; }
.lw-gap-10 { gap: 2.5rem; }
.lw-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
	.lw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lw-grid--team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}
@media (min-width: 768px) {
	.lw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.lw-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lw-gap-6-8 { gap: 2rem; }
	.lw-grid--team-voll { gap: 3.5rem; }
}

/* Zweispaltige Aufteilung (Text | Bild) */
.lw-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.lw-split > .wp-block-image { margin: 0; }
@media (min-width: 768px) {
	.lw-split--5-7 { grid-template-columns: 5fr 7fr; gap: 2rem; align-items: start; }
}
@media (min-width: 1024px) {
	.lw-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-split--7-5 { grid-template-columns: 7fr 5fr; }
	.lw-split--5-7 { grid-template-columns: 5fr 7fr; gap: 3rem; }
	.lw-split--wide { gap: 4rem; }
	.lw-split--reverse > :first-child { order: 2; }
}

/* --- Abschnitte ---------------------------------------------------------- */

.lw-section {
	position: relative;
	padding: 5rem 1rem;
}
@media (min-width: 768px) {
	.lw-section { padding-left: 3rem; padding-right: 3rem; }
}
.lw-section--tight { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) {
	.lw-section--tight { padding-top: 5rem; padding-bottom: 5rem; }
}
.lw-section--low { background: var(--wp--preset--color--surface-low); }
.lw-head { display: flex; flex-direction: column; gap: 1rem; }
body .lw-head > * { margin-block: 0; }
body .lw-head.lw-center { align-items: center; }

/* Hero mit Aquarell-Fleck im Hintergrund */
.lw-hero { overflow: hidden; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) {
	.lw-hero { padding-top: 5rem; padding-bottom: 5rem; }
	.lw-hero--start { padding-top: 6rem; padding-bottom: 6rem; }
}
.lw-hero::before {
	content: "";
	position: absolute;
	top: -6rem;
	left: -8rem;
	width: 460px;
	height: 460px;
	background: color-mix(in srgb, var(--wp--preset--color--violet-wash) 40%, transparent);
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	filter: blur(64px);
	pointer-events: none;
}
.lw-hero > * { position: relative; }
.lw-hero--start::before { top: -8rem; left: -10rem; width: 520px; height: 520px; }
.lw-hero--right::before { left: auto; right: -8rem; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.lw-hero--right-round::before { top: -8rem; left: auto; right: -6rem; width: 500px; height: 500px; background: color-mix(in srgb, var(--wp--preset--color--violet-wash) 50%, transparent); }
.lw-hero--bottom-left::before { top: auto; bottom: -8rem; left: -6rem; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.lw-hero--small::before { left: auto; right: -6rem; width: 420px; height: 420px; }

.lw-hero__title { font-size: 34px; line-height: 42px; letter-spacing: -0.01em; }
@media (min-width: 640px) {
	.lw-hero__title { font-size: 40px; line-height: 48px; }
}
.lw-hero__title em {
	font-style: normal;
	display: inline-block;
	padding-bottom: 0.25rem;
	background: var(--lw-squiggle) no-repeat left bottom / 100% 12px;
}
.lw-hero__logo { margin: 0; }
.lw-hero__logo img { height: 5rem !important; width: auto !important; }
@media (min-width: 640px) {
	.lw-hero__logo img { height: 6rem !important; }
}

/* --- Kopfzeile ----------------------------------------------------------- */

.lw-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .lw-site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .lw-site-header { top: 46px; }
}
.lw-header {
	position: relative;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--outline-variant) 40%, transparent);
	padding: 0 1rem;
}
/* Weichzeichner auf einem Pseudo-Element: ein backdrop-filter direkt auf der Kopfzeile
   würde das mobile Menü (position: fixed) in der Kopfzeile einsperren. */
.lw-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 90%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
@media (min-width: 768px) {
	.lw-header { padding: 0 3rem; }
}
.lw-header__bar { min-height: 5rem; gap: 1rem; }
.lw-logo { margin: 0; flex-shrink: 0; }
.lw-logo img { display: block; height: 44px !important; width: auto !important; }
.lw-logo a { display: block; line-height: 0; }

.lw-nav { flex: 1 1 auto; justify-content: center; }
@media (max-width: 767px) {
	.lw-nav { justify-content: flex-end; }
}
.lw-nav .wp-block-navigation__container { gap: 1.75rem; }
.lw-nav .wp-block-navigation-item__content {
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--on-surface-variant);
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: color var(--lw-ease);
}
.lw-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }
.lw-nav .current-menu-item > .wp-block-navigation-item__content,
.lw-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}
.lw-nav .lw-nav__cta { display: none; }
.lw-header__cta { display: none !important; flex-shrink: 0; }
@media (min-width: 1024px) {
	.lw-header__cta { display: flex !important; }
}
.lw-header__cta .wp-block-button__link { padding: 0.75rem 1.5rem; }

/* Mobile Navigation: Hamburger bis 767 px statt 599 px (WordPress-Standard) */
@media (min-width: 600px) and (max-width: 767px) {
	.lw-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.lw-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
}
.lw-nav .wp-block-navigation__responsive-container-open,
.lw-nav .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--on-surface); }
.lw-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--surface);
	padding: 5rem 1.5rem 2rem;
}
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 1rem;
	align-items: stretch !important;
}
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	flex-direction: column;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 1rem;
}
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; text-align: left; }
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	border: 0;
	padding: 0.25rem 0;
}
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .lw-nav__cta { display: block; margin-top: 0.5rem; }
.lw-nav .wp-block-navigation__responsive-container.is-menu-open .lw-nav__cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	text-align: center;
}

/* --- Buttons ------------------------------------------------------------- */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-shadow: var(--lw-shadow);
	transition: transform var(--lw-ease), background-color var(--lw-ease), color var(--lw-ease);
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.lw-button--lg .wp-block-button__link { padding-left: 2rem; padding-right: 2rem; }
.lw-button--sm .wp-block-button__link { padding: 0.75rem 1.5rem; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--outline-variant);
	box-shadow: none;
	padding: 1rem 1.5rem;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { color: var(--wp--preset--color--primary-container); transform: none; }
.wp-block-button.is-style-link > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary);
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}
.wp-block-button.is-style-link > .wp-block-button__link:hover { color: var(--wp--preset--color--primary-container); transform: none; }
.lw-card__link { margin-top: auto !important; padding-top: 1rem; }
.lw-card__link .wp-block-button__link { padding-top: 0; padding-bottom: 0; }

.lw-arrow .wp-block-button__link::after,
.lw-external .wp-block-button__link::after,
.lw-icon-mail .wp-block-button__link::before,
.lw-icon-phone .wp-block-button__link::before {
	content: "";
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--lw-icon-arrow) center / contain no-repeat;
	mask: var(--lw-icon-arrow) center / contain no-repeat;
}
.lw-external .wp-block-button__link::after { -webkit-mask-image: var(--lw-icon-external); mask-image: var(--lw-icon-external); }
.lw-icon-mail .wp-block-button__link::before { width: 1.25rem; height: 1.25rem; -webkit-mask-image: var(--lw-icon-mail); mask-image: var(--lw-icon-mail); }
.lw-icon-phone .wp-block-button__link::before { width: 1.25rem; height: 1.25rem; -webkit-mask-image: var(--lw-icon-phone); mask-image: var(--lw-icon-phone); }

/* Externe Links im Fließtext */
.lw-link-external a::after,
.lw-footer__links a[target="_blank"]::after {
	content: "";
	display: inline-block;
	vertical-align: -2px;
	margin-left: 0.375rem;
	width: 0.875rem;
	height: 0.875rem;
	background: currentColor;
	-webkit-mask: var(--lw-icon-external) center / contain no-repeat;
	mask: var(--lw-icon-external) center / contain no-repeat;
}

/* --- Listen -------------------------------------------------------------- */

.lw-list { list-style: none; padding: 0; margin: 0; }
body .lw-list li + li { margin-block-start: 0.5rem; }
.lw-list li { position: relative; padding-left: 1.125rem; }
.lw-list--dot li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--violet-brand);
}
.lw-list--sparkles li { padding-left: 2rem; }
.lw-list--sparkles li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--wp--preset--color--violet-brand);
	-webkit-mask: var(--lw-icon-sparkles) center / contain no-repeat;
	mask: var(--lw-icon-sparkles) center / contain no-repeat;
}
.lw-list--2col { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; row-gap: 1.25rem; }
body .lw-list--2col li + li { margin-block-start: 0; }
@media (min-width: 768px) {
	.lw-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lw-list--chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
body .lw-list--chips li + li { margin-block-start: 0; }
@media (min-width: 640px) {
	.lw-list--chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lw-list--chips li {
	background: color-mix(in srgb, var(--wp--preset--color--surface-container) 70%, transparent);
	border-radius: 1rem;
	padding: 0.75rem 1rem 0.75rem 3rem;
	color: var(--wp--preset--color--on-surface);
}
.lw-list--chips li::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 0.875rem;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--wp--preset--color--primary);
	-webkit-mask: var(--lw-icon-check) center / contain no-repeat;
	mask: var(--lw-icon-check) center / contain no-repeat;
}

/* --- Karten und Kacheln -------------------------------------------------- */

.lw-card {
	background: var(--wp--preset--color--surface-low);
	border-radius: 1.5rem;
	padding: 1.75rem;
	box-shadow: var(--lw-shadow);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: transform var(--lw-ease);
}
body .lw-card > * { margin-block: 0; }
.lw-card--surface { background: var(--wp--preset--color--surface); }
.lw-card--hover:hover { transform: translateY(-4px); }
.lw-card .lw-kicker + h3 { margin-top: 0; }

.lw-tool { display: flex; flex-direction: column; gap: 1rem; }
body .lw-tool > * { margin-block: 0; }
.lw-tool__img { margin: 0; border-radius: 1.5rem; overflow: hidden; background: var(--wp--preset--color--surface-lowest); }
.lw-tool__img img { display: block; width: 100%; }

.lw-on-paper img { mix-blend-mode: multiply; }
.lw-feather img {
	-webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 76%, transparent 100%);
	mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 76%, transparent 100%);
}
.lw-rounded-3xl { border-radius: 1.5rem; overflow: hidden; }
.lw-rounded-3xl img { display: block; border-radius: 1.5rem; }

/* Vier Aussagen auf Aquarell-Tupfen */
.lw-claims { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 640px) {
	.lw-claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-claim:nth-child(2n) { margin-top: 2.5rem !important; }
}
@media (min-width: 1024px) {
	.lw-claims { gap: 2rem; }
}
.lw-claim {
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	padding: 3rem 2rem;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.lw-claim:nth-child(4n + 1) { background: color-mix(in srgb, var(--wp--preset--color--violet-wash) 45%, transparent); }
.lw-claim:nth-child(4n + 2) { background: color-mix(in srgb, var(--wp--preset--color--buch-blue) 12%, transparent); }
.lw-claim:nth-child(4n + 3) { background: color-mix(in srgb, var(--wp--preset--color--partner-teal) 18%, transparent); }
.lw-claim:nth-child(4n + 4) { background: color-mix(in srgb, var(--wp--preset--color--gold) 15%, transparent); }
.lw-claim p {
	font-family: var(--wp--preset--font-family--display);
	font-size: 19px;
	line-height: 30px;
	font-weight: 700;
	color: var(--wp--preset--color--headline);
	text-wrap: balance;
	margin: 0;
}

/* Personen */
.lw-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
body .lw-person > * { margin-block: 0; }
.lw-avatar { margin: 0; }
.lw-avatar img {
	width: 96px !important;
	height: 96px !important;
	border-radius: 9999px;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--wp--preset--color--surface-container), var(--lw-shadow);
}
.lw-person h3 { font-size: 24px; line-height: 32px; }
body .lw-person > .lw-person__role {
	margin-top: -0.5rem;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}
.lw-person__focus { max-width: 20rem; }
.lw-person__contact { line-height: 1.8; }
.lw-person__contact a { color: var(--wp--preset--color--on-surface-variant); }
.lw-person__contact a:hover { color: var(--wp--preset--color--primary); }
.lw-person__contact a[href^="mailto:"] { color: var(--wp--preset--color--primary); }
.lw-person__contact a[href^="mailto:"]:hover { color: var(--wp--preset--color--primary-container); }

/* Werte mit Icon im Kreis */
.lw-wert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
body .lw-wert > * { margin-block: 0; }
.lw-wert__icon {
	margin: 0;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--wp--preset--color--surface-high);
	display: flex;
	align-items: center;
	justify-content: center;
}
.lw-wert__icon img { width: 2rem !important; height: 2rem !important; }

/* Icon neben Text (Kontakt) */
.lw-iconbox { display: flex; align-items: flex-start; gap: 1rem; }
body .lw-iconbox > * { margin-block: 0; }
.lw-iconbox__icon { margin: 0.25rem 0 0; flex-shrink: 0; width: 1.5rem; height: 1.5rem; }
.lw-iconbox__icon img { width: 1.5rem !important; height: 1.5rem !important; display: block; }

/* Inseln */
.lw-insel {
	background: var(--wp--preset--color--surface);
	border-radius: 1rem;
	padding: 1.5rem 1.25rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--outline-variant) 60%, transparent);
}
body .lw-insel > * { margin-block: 0; }
.lw-insel__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

/* Formate: Bild links/rechts, Text daneben */
.lw-formats { display: flex; flex-direction: column; gap: 2.5rem; }
body .lw-formats > * { margin-block: 0; }
.lw-format { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
body .lw-format > * { margin-block: 0; }
.lw-format__img { margin: 0; flex-shrink: 0; }
.lw-format__img img { width: 10rem !important; height: 10rem !important; object-fit: contain; }
.lw-format__text { display: flex; flex-direction: column; gap: 0.5rem; }
body .lw-format__text > * { margin-block: 0; }
@media (min-width: 640px) {
	.lw-format { flex-direction: row; gap: 2.5rem; text-align: left; }
	.lw-format--reverse { flex-direction: row-reverse; text-align: right; }
	.lw-format--reverse .lw-format__text { align-items: flex-end; }
	.lw-format__img img { width: 11rem !important; height: 11rem !important; }
}

/* Leistungsfelder */
.lw-field__head { display: flex; flex-direction: column; gap: 0.5rem; }
body .lw-field__head > * { margin-block: 0; }
.lw-field__kicker {
	font-family: var(--wp--preset--font-family--display);
	font-size: 44px;
	line-height: 52px;
	font-weight: 700;
	letter-spacing: -0.025em;
}

/* Zitate und Hinweise */
.lw-quote { margin: 0; border-left: 4px solid var(--wp--preset--color--violet-brand); padding: 0 0 0 1.5rem; }
.lw-quote p {
	font-family: var(--wp--preset--font-family--display);
	font-size: 19px;
	line-height: 32px;
	color: var(--wp--preset--color--headline);
	font-style: normal;
}
.lw-quote--lg p { font-size: 20px; line-height: 34px; }
.lw-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	color: var(--wp--preset--color--on-surface-variant);
}
.lw-pull {
	font-family: var(--wp--preset--font-family--display);
	font-size: 17px;
	line-height: 28px;
	color: var(--wp--preset--color--headline);
	border-left: 4px solid var(--wp--preset--color--violet-brand);
	padding: 0.25rem 0 0.25rem 1.25rem;
}
.lw-pull--buch { border-color: color-mix(in srgb, var(--wp--preset--color--buch-blue) 30%, transparent); }
.lw-pull--violet { border-color: color-mix(in srgb, var(--wp--preset--color--violet-brand) 40%, transparent); }
.lw-pull--teal { border-color: color-mix(in srgb, var(--wp--preset--color--partner-teal) 40%, transparent); }
.lw-note {
	background: var(--wp--preset--color--surface-low);
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
}
.lw-note strong { color: var(--wp--preset--color--on-surface); font-weight: 600; }
.lw-breadcrumb { font-size: 12px; line-height: 16px; font-weight: 500; margin-bottom: 0.5rem !important; }
.lw-breadcrumb a { color: inherit; }
.lw-breadcrumb a:hover { color: var(--wp--preset--color--primary); }

/* Aufklappbare Themenfelder */
.lw-details {
	background: var(--wp--preset--color--surface-low);
	border-radius: 1rem;
	border: 1px solid var(--lw-line);
	padding: 0;
	transition: box-shadow var(--lw-ease);
}
.lw-details[open] { box-shadow: var(--lw-shadow); }
.lw-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	list-style: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: var(--wp--preset--color--headline);
}
.lw-details summary::-webkit-details-marker { display: none; }
.lw-details summary::after {
	content: "";
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--wp--preset--color--primary);
	-webkit-mask: var(--lw-icon-plus) center / contain no-repeat;
	mask: var(--lw-icon-plus) center / contain no-repeat;
	transition: transform var(--lw-ease);
}
.lw-details[open] summary::after { transform: rotate(45deg); }
body .lw-details > .lw-list {
	margin: 0 1.5rem;
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid var(--lw-line);
}
body .lw-details > .lw-list li + li { margin-block-start: 0.75rem; }

/* Tabelle (Impressum) */
.lw-table { margin: 0; }
.lw-table table { width: 100%; border-collapse: collapse; }
.lw-table td { border: 0; padding: 0.375rem 0; vertical-align: top; }
.lw-table td:first-child { font-weight: 600; color: var(--wp--preset--color--on-surface); width: 200px; padding-right: 2rem; }
@media (max-width: 639px) {
	.lw-table td { display: block; width: auto; }
	.lw-table td:first-child { padding-bottom: 0; }
	.lw-table tr + tr td:first-child { padding-top: 1rem; }
}

/* Rechtstexte und Editor-Seiten: einfache Absatzfolge */
.lw-legal-wrap { min-height: 60vh; }
.lw-legal { display: flex; flex-direction: column; gap: 1.5rem; }
body .lw-legal > * { margin-block: 0; }
.lw-legal h2 { margin-top: 1rem; }
.lw-legal h1 + * { margin-top: 0.5rem; }
.lw-legal ul, .lw-legal ol { padding-left: 1.5rem; }
.lw-legal a { text-decoration: underline; text-underline-offset: 3px; }
.lw-legal .lw-table a { text-decoration: underline; }

/* 404 */
.lw-404 { padding-top: 8rem; padding-bottom: 8rem; min-height: 60vh; }
.lw-404__code {
	font-size: 56px;
	line-height: 64px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--primary);
}

/* --- Fußzeile ------------------------------------------------------------ */

.lw-footer {
	background: var(--wp--preset--color--surface-low);
	border-top: 1px solid var(--lw-line);
	padding: 4rem 1rem 2.5rem;
}
@media (min-width: 768px) {
	.lw-footer { padding-left: 3rem; padding-right: 3rem; }
}
.lw-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 640px) {
	.lw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-footer__brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
	.lw-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lw-footer__brand { grid-column: auto; }
}
.lw-footer__col { display: flex; flex-direction: column; gap: 0.75rem; }
body .lw-footer__col > * { margin-block: 0; }
.lw-footer__brand { gap: 1rem; }
.lw-footer__logo { margin: 0; }
.lw-footer__logo img { height: 48px !important; width: auto !important; }
.lw-footer__claim { max-width: 20rem; }
.lw-footer__claim strong { color: var(--wp--preset--color--primary); font-weight: 600; }
.lw-footer__title {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
}
.lw-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
body .lw-footer__links li { margin: 0; padding: 0; }
.lw-footer a { color: var(--wp--preset--color--on-surface-variant); }
.lw-footer a:hover { color: var(--wp--preset--color--primary); }
.lw-footer .lw-footer__mail a { color: var(--wp--preset--color--primary); }
.lw-footer .lw-footer__mail a:hover { color: var(--wp--preset--color--primary-container); }
.lw-footer__bottom {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--lw-line);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	color: var(--wp--preset--color--on-surface-variant);
}
.lw-footer__bottom p { margin: 0; }
.lw-brand__logo { margin: 0 auto 1.5rem; }
.lw-brand__logo img { height: 56px !important; width: auto !important; }

/* --- Bewegung reduzieren ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
