/*
Theme Name: WunderMind
Theme URI: https://wunder-mind.com
Author: WunderMind
Author URI: https://wunder-mind.com
Description: Block-Theme für WunderMind, das KI-Studio der Akademie für KI, im Formfeld-Design: Bricolage Grotesque und Archivo, Weiß zum Lesen, Tiefschwarz für die Bühne, Bogen und Kreis mit Korn-Verlauf, Signalrot als einziger Akzent. Ohne Page-Builder, vollständig im Website-Editor pflegbar. Benötigt das Plugin „WunderMind Core“.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.0
Version: 4.5.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wundermind
Tags: block-theme, full-site-editing, one-column, wide-blocks, block-patterns, style-variations, accessibility-ready, translation-ready
*/

/* =========================================================
   FORMFELD für das Web
   Weiß = lesen · Tiefschwarz = Bühne · Sand = Produktfenster
   Formen: nur Bogen und Kreis · ein Korn pro Sektion · Rot als einziger Akzent
   ========================================================= */

:root {
	--ff-white: #FFFFFF;
	--ff-black: #111414;
	--ff-ink: #141818;
	--ff-chalk: #F2EFE9;
	--ff-red: #E24539;
	--ff-sub: #3D4242;
	--ff-sub-dk: #B9BDBA;
	--ff-sand: #EDE6DA;
	--ff-petrol: #17474A;
	--ff-himmel: #3E74BC;
	--ff-himmel-hi: #BFD7EE;
	--ff-korn-kugel: url("assets/formfeld/korn-kugel-dunkel.png");
	--ff-korn-oben: url("assets/formfeld/korn-verlauf-dunkel.png");
	--ff-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--ff-grain-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--ff-kringel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M118 8C70 2 14 12 8 38c-6 28 64 36 112 32 46-4 74-16 72-34C190 14 140 6 96 10' fill='none' stroke='%23E24539' stroke-width='3.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
	--ff-strich: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13C50 7 120 5 196 9' fill='none' stroke='%23E24539' stroke-width='4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
	--ff-fenster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 12'%3E%3Crect x='0' y='0' width='12' height='12' fill='%2317474A'/%3E%3Ccircle cx='29' cy='6' r='6' fill='%2317474A'/%3E%3Cpath d='M46 12V6a6 6 0 0 1 12 0v6z' fill='%2317474A'/%3E%3C/svg%3E");
	--ff-cond: "wdth" 75;
	--ff-title: "wdth" 78, "opsz" 96;
	--ff-rule: color-mix(in srgb, currentColor 32%, transparent);
	--ff-hair: color-mix(in srgb, currentColor 16%, transparent);
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img { height: auto; max-width: 100%; }
:where(a) { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:where(p a:not(.wp-block-button__link)):hover { text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ff-red); outline-offset: 3px; }
::selection { background: var(--ff-ink); color: var(--ff-chalk); }
.skip-link.screen-reader-text:focus { background: #fff; color: var(--ff-ink); padding: .75rem 1rem; z-index: 100000; }

/* ---------- Titel: Bricolage schmal, Kern 700, Rest 250 ---------- */
:where(h1, h2, h3, h4, .wp-block-post-title, .wm-index__title, .wm-index__result, .wm-stat, .wm-price strong, .wm-result-value, .wm-quote, .wm-pillar-nr) { font-variation-settings: var(--ff-title); }
:where(h1, h2) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }
/* Das kursiv markierte Wort im Editor wird zum fetten Kern (Bricolage hat keine Kursive). */
:where(h1, h2, h3, h4) :is(em, strong, b) { font-style: normal; font-weight: 700; color: inherit; }
h3, h4 { letter-spacing: -.015em; line-height: 1.02; }

/* Ornamente (Signalrot): Kringel um das Kernwort, Strich unter der Pointe. Höchstens eines pro Sektion. */
.wm-orn-kringel :is(em, strong), .wm-orn-strich :is(em, strong) { position: relative; display: inline-block; white-space: nowrap; }
.wm-orn-kringel :is(em, strong)::after { content: ""; position: absolute; left: -7%; top: -10%; width: 114%; height: 124%; background: var(--ff-kringel) center/100% 100% no-repeat; pointer-events: none; }
.wm-orn-strich :is(em, strong)::after { content: ""; position: absolute; left: -2%; top: 90%; width: 104%; height: .26em; background: var(--ff-strich) center/100% 100% no-repeat; pointer-events: none; }

/* ---------- Kopfzeile (Mast): Archivo Condensed, Versalien, feine Linie ---------- */
.is-style-eyebrow, .wm-mast p, .is-style-badge, .wm-icon, .wm-step-number, .wm-compare-head { font-family: var(--wp--preset--font-family--body) !important; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700 !important; font-size: .78rem !important; line-height: 1.3; letter-spacing: .13em; text-transform: uppercase; }
.wm-mast { display: flex !important; flex-wrap: nowrap; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--ff-rule); margin-bottom: var(--wp--preset--spacing--50) !important; }
.wm-mast p { margin: 0 !important; }
.wm-mast p + p { text-align: right; white-space: nowrap; }
.is-style-badge { display: inline-flex; align-items: center; gap: .55em; width: fit-content; }
.is-style-badge::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--ff-red); flex: none; }
.wm-muted { color: var(--ff-sub); }
.wm-note { font-size: var(--wp--preset--font-size--x-small) !important; color: var(--ff-sub); }
.wm-hero-lead { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.5; }

/* Sektions-Kopf: Kopfzeile über die volle Breite, Titel und Vorspann begrenzt */
.wm-head { margin-bottom: var(--wp--preset--spacing--50) !important; }
.wm-head > h2 { max-width: 20ch; margin-block: 0; }
.wm-head > h2 + p { max-width: 60ch; margin-top: 1.25rem; font-size: var(--wp--preset--font-size--large); }

/* ---------- Grundflächen ---------- */
.wm-dark { background: var(--ff-black) !important; color: var(--ff-chalk) !important; }
.wm-dark :where(h1, h2, h3, h4, a) { color: var(--ff-chalk); }
.wm-dark .wm-muted, .wm-dark .wm-note { color: var(--ff-sub-dk) !important; }
.wm-sand { background: var(--ff-sand) !important; color: var(--ff-ink); }
.wm-section-rule { border-top: 1px solid color-mix(in srgb, var(--ff-ink) 14%, transparent); }

/* ---------- Buttons: Pille, mit ruhigem Wechsel ---------- */
.wp-block-button__link { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.wp-block-button__link:hover, .wp-block-button__link:focus-visible { background: transparent; color: var(--ff-ink); }
.wm-dark .wp-block-button__link { background: var(--ff-chalk); color: var(--ff-black); border-color: var(--ff-chalk); }
.wm-dark .wp-block-button__link:hover, .wm-dark .wp-block-button__link:focus-visible { background: transparent; color: var(--ff-chalk); }
.wm-dark .is-style-outline .wp-block-button__link { background: transparent; color: var(--ff-chalk); border-color: color-mix(in srgb, var(--ff-chalk) 45%, transparent); }
.wm-dark .is-style-outline .wp-block-button__link:hover { border-color: var(--ff-chalk); }
.is-style-outline .wp-block-button__link:hover { background: var(--ff-ink); color: var(--ff-white); }

/* ---------- Papierkorn über jeder Sektion ---------- */
.wm-stack .wp-block-post-content > .alignfull, .wm-stack > .alignfull { position: relative; isolation: isolate; overflow: hidden; }
.wm-stack .wp-block-post-content > .alignfull::after, .wm-stack > .alignfull::after { content: ""; position: absolute; inset: 0; background-image: var(--ff-grain); background-size: 180px; opacity: .045; mix-blend-mode: multiply; pointer-events: none; z-index: 5; }
.wm-stack .wp-block-post-content > .wm-dark::after, .wm-stack > .wm-dark::after { background-image: var(--ff-grain-l); opacity: .07; mix-blend-mode: screen; }
.wm-stack .wp-block-post-content > .alignfull > *, .wm-stack > .alignfull > * { position: relative; z-index: 2; }

/* ---------- Der Ball: Kreis mit Korn-Verlauf, Licht von oben links ---------- */
.wm-ball { position: relative; overflow: hidden; isolation: isolate; }
.wm-ball > * { position: relative; z-index: 2; }
.wm-ball::before { content: ""; position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; aspect-ratio: 1;
	width: var(--ball-w, min(46vw, 720px)); right: var(--ball-r, max(-13vw, -210px)); top: var(--ball-t, -9%); bottom: var(--ball-b, auto);
	background: linear-gradient(var(--ball-tint), var(--ball-tint)), var(--ff-korn-kugel) center/cover no-repeat, var(--ball-color); }
.wm-ball--red { --ball-color: var(--ff-red); --ball-tint: rgba(226, 69, 57, .26); }
.wm-ball--himmel { --ball-color: var(--ff-himmel-hi); --ball-tint: rgba(191, 215, 238, .45); }
.wm-ball--klein { --ball-w: min(30vw, 430px); --ball-r: max(-10vw, -150px); --ball-t: -6vw; }
.wm-ball--unten { --ball-w: min(40vw, 600px); --ball-r: max(-12vw, -180px); --ball-t: auto; --ball-b: -46%; }
@media (prefers-reduced-motion: no-preference) {
	.wm-ball--red::before { animation: wm-schweben 14s ease-in-out infinite alternate; }
	@keyframes wm-schweben { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1.2%, 2.2%, 0); } }
}
/* Kopfzeile endet vor dem Ball */
.wm-ball--red .wm-mast, .wm-ball--himmel:not(.wm-ball--klein):not(.wm-ball--unten) .wm-mast { max-width: 56%; }
@media (max-width: 782px) {
	.wm-ball { --ball-w: 78vw; --ball-r: -40vw; --ball-t: -15vw; }
	.wm-ball--klein { --ball-w: 44vw; --ball-r: -20vw; --ball-t: -10vw; }
	.wm-ball--unten { --ball-w: 70vw; --ball-r: -32vw; --ball-t: auto; --ball-b: -30vw; }
	.wm-ball .wm-mast { max-width: 100% !important; }
	.wm-ball .wm-mast p + p { display: none; }
}

/* ---------- Fotos: immer im Bogen oder Kreis ---------- */
.wm-arch img { border-radius: 999px 999px 0 0 !important; background: var(--ff-himmel-hi); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14%; width: 100%; display: block; }
.wm-circ img { border-radius: 50% !important; aspect-ratio: 1; object-fit: cover; width: 100%; display: block; }
.wm-arch, .wm-circ { margin-top: 0; margin-bottom: 0; }

/* ---------- Hero ---------- */
.wm-hero-xl h1 { font-size: clamp(3rem, 7.6vw, 7.5rem) !important; line-height: .9 !important; letter-spacing: -.025em !important; max-width: 13ch; font-weight: 250; margin-block: 0; text-wrap: wrap; }
.wm-hero-xl h1 :is(em, strong) { white-space: nowrap; }
@media (max-width: 480px) { .wm-hero-xl h1 :is(em, strong) { white-space: normal; } }
.wm-hero-sub h1 { font-size: clamp(2.6rem, 5.8vw, 5.5rem) !important; max-width: 15ch; }
.wm-hero-body { max-width: 600px; margin-top: var(--wp--preset--spacing--40) !important; }
.wm-hero-body .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }
.wm-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--ff-rule); margin-top: var(--wp--preset--spacing--60) !important; }
.wm-hero-facts > * { padding: 1.1rem 0 0; margin: 0 !important; font-size: var(--wp--preset--font-size--small); color: var(--ff-sub-dk); }
.wm-hero-facts strong { display: block; color: var(--ff-chalk); font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: 1.85rem; letter-spacing: -.02em; line-height: 1; margin-bottom: .4rem; }
@media (max-width: 700px) { .wm-hero-facts { grid-template-columns: 1fr; } .wm-hero-facts > * { padding: .9rem 0; border-bottom: 1px solid var(--ff-hair); } }

/* ---------- Header ---------- */
.wm-header { position: sticky; top: 0; z-index: 50; background: var(--ff-white); border-bottom: 1px solid color-mix(in srgb, var(--ff-ink) 14%, transparent); }
.admin-bar .wm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wm-header { top: 46px; } }
.wm-header .wp-block-site-logo img { display: block; }
.wm-header .wp-block-navigation { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.wm-header .wp-block-navigation a { text-decoration: none; }
.wm-header .wp-block-navigation .wp-block-navigation-item__content { position: relative; padding-block: .35rem; }
.wm-header .wp-block-navigation .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ff-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.wm-header .wp-block-navigation .wp-block-navigation-item__content:hover::after, .wm-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.wm-header .wp-block-button__link { white-space: nowrap; padding: .55rem 1.1rem !important; }
.wm-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem clamp(1.25rem, 5vw, 3rem); }
.wm-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.25rem; }
@media (max-width: 1180px) { .wm-header .wp-block-navigation__container { gap: 1.1rem !important; } }
@media (max-width: 1060px) {
	.wm-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.wm-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
@media (max-width: 480px) { .wm-header .wp-block-button__link { font-size: .8125rem; padding: .5rem .85rem !important; } }

/* ---------- Use-Case-Index ---------- */
.wm-index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid currentColor; }
.wm-index__item { border-bottom: 1px solid var(--ff-hair); margin: 0; }
.wm-index__row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 13rem 2rem; gap: 1.5rem; align-items: center; padding: 1.5rem 1.25rem; text-decoration: none; color: inherit; transition: background-color .18s ease, color .18s ease; }
.wm-index__nr { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .8rem; letter-spacing: .13em; }
.wm-index__main { display: flex; flex-direction: column; gap: .4rem; }
.wm-index__title { font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: clamp(1.6rem, 2.9vw, 2.6rem); line-height: .95; letter-spacing: -.025em; }
.wm-index__text { color: var(--ff-sub); font-size: var(--wp--preset--font-size--small); max-width: 62ch; }
.wm-index__meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: .3rem; }
.wm-index__result { font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.wm-index__label { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ff-sub); }
.wm-index__arrow { font-size: 1.4rem; justify-self: end; transition: transform .18s ease; }
.wm-index__row:hover, .wm-index__row:focus-visible { background: var(--ff-black); color: var(--ff-chalk); }
.wm-index__row:hover .wm-index__text, .wm-index__row:hover .wm-index__label, .wm-index__row:focus-visible .wm-index__text, .wm-index__row:focus-visible .wm-index__label { color: var(--ff-sub-dk); }
.wm-index__row:hover .wm-index__arrow { transform: translateX(4px); color: var(--ff-red); }
.wm-dark .wm-index__text, .wm-dark .wm-index__label { color: var(--ff-sub-dk); }
.wm-dark .wm-index__row:hover, .wm-dark .wm-index__row:focus-visible { background: var(--ff-chalk); color: var(--ff-black); }
.wm-dark .wm-index__row:hover .wm-index__text, .wm-dark .wm-index__row:hover .wm-index__label { color: var(--ff-sub); }
@media (max-width: 782px) {
	.wm-index__row { grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem 1rem; padding: 1.25rem .25rem; }
	.wm-index__nr { align-self: start; padding-top: .5rem; }
	.wm-index__meta { grid-column: 2; flex-direction: row; align-items: baseline; gap: .6rem; text-align: left; }
	.wm-index__result { font-size: 1.3rem; }
	.wm-index__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wm-index__row, .wm-index__arrow { transition: none; } }

.wm-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--wp--preset--spacing--40) !important; }
.wm-filter a { display: inline-block; padding: .5rem 1rem; border: 1.5px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; text-decoration: none; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; transition: border-color .18s ease; }
.wm-filter a:hover { border-color: currentColor; }

/* ---------- Säulen ---------- */
.wm-pillar { border-top: 1.5px solid currentColor; padding-top: var(--wp--preset--spacing--30); height: 100%; display: flex; flex-direction: column; }
.wm-pillar .wm-pillar-nr { font-family: var(--wp--preset--font-family--serif); font-weight: 250; font-size: clamp(3.25rem, 6vw, 5.25rem); line-height: .85; letter-spacing: -.04em; margin: 0 0 1.1rem; }
.wm-pillar h3 { font-size: var(--wp--preset--font-size--x-large); margin-top: 0; }
.wm-pillar .wm-pillar-link { margin-top: auto; padding-top: 1.1rem; margin-bottom: 0; }
.wm-pillar .wm-pillar-link a { font-weight: 600; }

/* ---------- Listen: kleiner Kreis ---------- */
.is-style-checklist { list-style: none; padding-left: 0; }
.is-style-checklist li { position: relative; padding: .6em 0 .6em 1.7em; border-bottom: 1px solid var(--ff-hair); margin: 0; }
.is-style-checklist li:first-child { border-top: 1px solid var(--ff-hair); }
.is-style-checklist li::before { content: ""; position: absolute; left: 0; top: 1.07em; width: .62em; height: .62em; border-radius: 50%; border: 1.5px solid currentColor; }

/* ---------- Vorher / Nachher ---------- */
.wm-compare { border-top: 1.5px solid currentColor; }
.wm-compare .wp-block-column { padding-top: var(--wp--preset--spacing--30); }
.wm-compare-before .is-style-checklist li { color: var(--ff-sub); text-decoration: line-through; text-decoration-thickness: 1px; }
.wm-compare-after .is-style-checklist li::before { background: currentColor; }

/* ---------- Karten, Schritte, Kennzahlen ---------- */
.is-style-card { border-top: 1.5px solid currentColor; padding-top: var(--wp--preset--spacing--30) !important; padding-left: 0 !important; padding-right: 0 !important; background: transparent; height: 100%; }
.wm-icon, .wm-step-number { margin-bottom: .7rem; }
.wm-stats .wp-block-column { border-top: 1.5px solid currentColor; padding-top: var(--wp--preset--spacing--30); }
.wm-stat { font-family: var(--wp--preset--font-family--serif); font-weight: 700; letter-spacing: -.03em; line-height: .9; margin-bottom: .6rem; white-space: nowrap; }
.wm-grid-gap > .wp-block-columns + .wp-block-columns { margin-top: var(--wp--preset--spacing--50); }

/* ---------- Flaggschiffe (Bühne) ---------- */
.wm-flag-title { font-size: clamp(2.2rem, 4vw, 3.5rem) !important; font-weight: 250; line-height: .92 !important; letter-spacing: -.025em; margin-top: .75rem; }
.wm-flag-text { color: var(--ff-sub-dk); font-size: var(--wp--preset--font-size--large); max-width: 38ch; }
.wm-flag .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }
.wm-flag-photo { max-width: 400px; margin-inline: auto !important; }
.wm-flag-row + .wm-flag-row { margin-top: var(--wp--preset--spacing--70) !important; padding-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--ff-hair); }

/* ---------- Company Brain: verbundene Punkte ---------- */
.wm-brain { margin: 0; }
.wm-brain__svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm-brain__mesh line { stroke: currentColor; stroke-opacity: .12; stroke-width: 1; }
.wm-brain__links line { stroke: currentColor; stroke-opacity: .32; stroke-width: 1.25; transition: stroke .35s ease, stroke-opacity .35s ease, stroke-width .35s ease; }
.wm-brain__links line.is-on { stroke: var(--ff-red); stroke-opacity: 1; stroke-width: 2.5; }
.wm-brain__core { fill: var(--ff-himmel-hi); }
.wm-brain__name { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: 30px; letter-spacing: -.02em; fill: var(--ff-ink); }
.wm-brain__node circle { fill: currentColor; transition: fill .35s ease, r .35s ease; }
.wm-brain__node text { font-family: var(--wp--preset--font-family--body); font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; fill: currentColor; fill-opacity: .7; transition: fill-opacity .35s ease; }
.wm-brain__node.is-on circle { fill: var(--ff-red); r: 11px; }
.wm-brain__node.is-on text { fill-opacity: 1; }
@media (max-width: 600px) { .wm-brain__node text { font-size: 27px; } .wm-brain__name { font-size: 34px; } }
.wm-brain__qa { margin-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--ff-rule); padding-top: 1rem; }
.wm-brain__label { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .75rem; color: var(--ff-sub-dk); }
.wm-brain__tabs { display: flex; flex-direction: column; }
.wm-brain__tab { display: flex; align-items: baseline; gap: .7rem; text-align: left; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--ff-hair); background: none; color: inherit; font: inherit; font-size: 1.0625rem; line-height: 1.3; cursor: pointer; opacity: .62; transition: opacity .2s ease; }
.wm-brain__tab::before { content: ""; width: .6em; height: .6em; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transform: translateY(-.02em); }
.wm-brain__tab:hover { opacity: 1; }
.wm-brain__tab[aria-selected="true"] { opacity: 1; font-weight: 600; }
.wm-brain__tab[aria-selected="true"]::before { background: var(--ff-red); border-color: var(--ff-red); }
.wm-brain__answer { margin-top: 1.1rem; padding: 1.25rem 1.4rem; background: var(--ff-chalk); color: var(--ff-ink); border-radius: 22px 22px 22px 0; min-height: 8.5rem; }
.wm-brain__a { margin: 0 0 .8rem; font-size: 1.0625rem; line-height: 1.45; }
.wm-brain__src { margin: 0; font-size: .78rem; font-variation-settings: var(--ff-cond); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-sub); }
.wm-brain__src strong { color: var(--ff-ink); font-weight: 700; margin-left: .4em; }

/* ---------- Markenfenster für Screenshots ---------- */
.wm-shot { margin: 0 12px 12px 0 !important; border: 1.5px solid var(--ff-petrol); border-radius: 14px; background: var(--ff-white); box-shadow: 12px 12px 0 var(--ff-petrol); overflow: hidden; }
.wm-shot::before { content: ""; display: block; height: 34px; border-bottom: 1.5px solid var(--ff-petrol); background: var(--ff-fenster) 14px center/58px 12px no-repeat, var(--ff-white); }
.wm-shot img { display: block; width: 100%; height: auto; border-radius: 0 !important; }
.wm-shot figcaption { margin: 0; padding: .7rem 1rem; border-top: 1.5px solid var(--ff-petrol); background: var(--ff-white); color: var(--ff-ink); font-size: .8125rem; line-height: 1.4; text-align: left; }
.wm-dark .wm-shot { border-color: var(--ff-chalk); box-shadow: 12px 12px 0 var(--ff-himmel-hi); }
.wm-product-title { font-size: clamp(2rem, 3.6vw, 3.25rem) !important; font-weight: 250; line-height: .94 !important; letter-spacing: -.025em; margin-top: .75rem; }
.wm-product-row + .wm-product-row { margin-top: var(--wp--preset--spacing--70) !important; }
.wm-mini-stats { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-block: var(--wp--preset--spacing--40) !important; padding-top: 1rem; border-top: 1px solid var(--ff-rule); }
.wm-mini-stats p { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--ff-sub); max-width: 16ch; }
.wm-mini-stats strong { display: block; font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: 2.25rem; letter-spacing: -.03em; line-height: 1; color: var(--ff-ink); margin-bottom: .3rem; }

/* ---------- Preise ---------- */
.is-style-card-featured { background: var(--ff-black); color: var(--ff-chalk); padding-left: var(--wp--preset--spacing--40) !important; padding-right: var(--wp--preset--spacing--40) !important; border-radius: 28px 28px 0 0; height: 100%; }
.is-style-card-featured :where(h2, h3, p, li, span, label) { color: inherit; }
.is-style-card-featured .wm-price span, .is-style-card-featured .wm-muted { color: var(--ff-sub-dk); }
.is-style-card-featured .wp-block-button__link { background: var(--ff-chalk); color: var(--ff-black); border-color: var(--ff-chalk); }
.is-style-card-featured .wp-block-button__link:hover { background: transparent; color: var(--ff-chalk); }
.wm-price { margin-block: .5rem 1rem; }
.wm-price strong { font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--xx-large); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.wm-price span { font-size: var(--wp--preset--font-size--small); color: var(--ff-sub); }
.wm-rows { border-top: 1.5px solid currentColor; }
.wm-rows p { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--ff-hair); }
.wm-rows p strong { font-weight: 600; }

/* ---------- Zitat ---------- */
.wm-quote { font-family: var(--wp--preset--font-family--serif); font-weight: 250; line-height: 1.05; letter-spacing: -.02em; }
.wm-quote strong { font-weight: 700; }

/* ---------- FAQ ---------- */
.wp-block-details { border-bottom: 1px solid var(--ff-hair); padding: 1.2rem 0; margin: 0; }
.wp-block-column > .wp-block-details:first-child { border-top: 1.5px solid currentColor; }
.wp-block-details summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 300; font-size: 1.5em; line-height: .8; transition: transform .2s ease; flex: none; }
.wp-block-details[open] summary::after { transform: rotate(45deg); color: var(--ff-red); }
.wp-block-details > :not(summary) { margin-top: .8rem; margin-bottom: 0; color: var(--ff-sub); max-width: 62ch; }

/* ---------- Ergebnis auf Use-Case-Seiten: Zahl im Kreis ---------- */
.wm-result { position: relative; display: grid; place-content: center; text-align: center; aspect-ratio: 1; max-width: 400px; margin-left: auto !important; padding: 2.5rem; }
.wm-result::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0; background: linear-gradient(rgba(191, 215, 238, .5), rgba(191, 215, 238, .5)), var(--ff-korn-kugel) center/cover no-repeat, var(--ff-himmel-hi); }
.wm-result > * { position: relative; z-index: 1; margin: 0 !important; }
.wm-result-value { font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: clamp(3rem, 6.4vw, 5.5rem) !important; line-height: .9; letter-spacing: -.04em; padding-top: .35rem; }
.wm-result-text { color: var(--ff-sub); max-width: 20ch; margin-inline: auto !important; padding-top: .5rem; line-height: 1.3; }
.wm-result .wm-note { padding-top: .6rem; max-width: 24ch; margin-inline: auto !important; }
@media (max-width: 782px) { .wm-result { margin: var(--wp--preset--spacing--40) auto 0 0 !important; max-width: 300px; } }

/* ---------- Kundennamen ---------- */
.wm-names { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.wm-names p { margin: 0; font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: var(--wp--preset--font-size--large); color: #7E8280; white-space: nowrap; }

/* ---------- Kontaktformular ---------- */
.wm-form { display: grid; gap: 1.1rem; margin: 0; }
.wm-form p { margin: 0; }
.wm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .wm-form__row { grid-template-columns: 1fr; } }
.wm-form label { display: block; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .45rem; }
.wm-form label span { font-weight: 400; opacity: .7; margin-left: .4em; }
.wm-form input[type="text"], .wm-form input[type="email"], .wm-form select, .wm-form textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 14px; background: transparent; color: inherit; font: inherit; font-size: 1rem; line-height: 1.4; appearance: none; transition: border-color .18s ease; }
.wm-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2EFE9' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
.wm-form select option { color: #141818; }
.wm-form textarea { resize: vertical; min-height: 8rem; border-radius: 14px 14px 0 14px; }
.wm-form input:focus, .wm-form select:focus, .wm-form textarea:focus { outline: none; border-color: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ff-red) 55%, transparent); }
.wm-form__check label { display: flex; gap: .7rem; align-items: flex-start; font: inherit; font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; font-variation-settings: normal; font-stretch: 100%; }
.wm-form__check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--ff-red); flex: none; }
.wm-form__check a { color: inherit; }
.wm-form__check label span { opacity: 1; margin: 0; }
.wm-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wm-form__submit button { cursor: pointer; font-family: inherit; }
.wm-form__error { padding: .85rem 1rem; border: 1.5px solid var(--ff-red); border-radius: 14px; font-size: .9375rem; }
.wm-form__ok { padding: var(--wp--preset--spacing--40) 0; }
.wm-form__ok-title { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: var(--wp--preset--font-size--x-large); line-height: 1; letter-spacing: -.02em; margin: 0 0 .75rem; }
.wm-form-box { border-radius: 28px 28px 0 0; padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: var(--wp--preset--spacing--40) !important; }
.wm-form-box h2 { margin-top: 0; }

/* ---------- Blog ---------- */
.wm-post-card { height: 100%; display: flex; flex-direction: column; gap: .8rem; border-top: 1.5px solid currentColor; padding-top: var(--wp--preset--spacing--30); }
.wm-post-card .wp-block-post-featured-image { margin: 0 0 .4rem; overflow: hidden; }
.wm-post-card .wp-block-post-featured-image img { display: block; width: 100%; transition: transform .5s ease; }
.wm-post-card:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.wm-post-card .wp-block-post-title { font-weight: 700; line-height: 1; letter-spacing: -.02em; margin: 0; }
.wm-post-card .wp-block-post-title a { text-decoration: none; }
.wm-post-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; }
.wm-post-card .wp-block-post-excerpt { margin: 0; }
.wm-post-card .wp-block-post-excerpt__excerpt { margin: 0; }
.wm-post-card .wp-block-post-date { margin-top: auto; }
.wp-block-post-terms a { text-decoration: none; }
.wp-block-post-terms.is-style-badge a { color: inherit; }
.wm-article .wp-block-post-title { font-weight: 700; font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: .95; letter-spacing: -.025em; margin-block: 1rem; }
.wm-article .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--large); color: var(--ff-sub); margin: 0; }
.wm-article .wp-block-post-content { font-size: 1.125rem; line-height: 1.65; }
.wm-article .wp-block-post-content h2 { font-weight: 700; font-size: var(--wp--preset--font-size--x-large); line-height: 1.02; letter-spacing: -.02em; margin-top: 2.6rem; margin-bottom: .9rem; }
.wm-article .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--large); margin-top: 2rem; }
.wm-article .wp-block-post-content :where(ul, ol) { padding-left: 1.2em; }
.wm-article .wp-block-post-content li { margin-bottom: .45em; }
.wm-post-cta { margin-top: 3rem; padding: var(--wp--preset--spacing--40); background: var(--ff-black); color: var(--ff-chalk); border-radius: 28px 28px 0 0; }
.wm-post-cta p { margin: 0; }
.wm-post-cta__label { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ff-sub-dk); }
.wm-post-cta__title { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: var(--wp--preset--font-size--xx-large); line-height: .95; letter-spacing: -.025em; margin: .6rem 0 .8rem !important; }
.wm-post-cta__text { color: var(--ff-sub-dk); font-size: 1.0625rem; max-width: 52ch; }
.wm-post-cta__link { margin-top: 1.4rem !important; }
.wm-post-cta .wp-block-button__link { display: inline-block; background: var(--ff-chalk); color: var(--ff-black); border: 1.5px solid var(--ff-chalk); border-radius: 999px; padding: .8rem 1.5rem; font-weight: 600; font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.wm-post-cta .wp-block-button__link:hover { background: transparent; color: var(--ff-chalk); }
.wp-block-query-pagination { gap: .5rem; }

/* ---------- Rechtstexte ---------- */
.wm-legal h2 { font-weight: 700; font-size: var(--wp--preset--font-size--x-large); margin-top: 2.5rem; }
.wm-legal h3 { font-size: var(--wp--preset--font-size--large); margin-top: 1.75rem; }

/* ---------- Footer (Bühne) ---------- */
.wm-footer, .wm-footer.has-contrast-background-color { background-color: var(--ff-black) !important; color: var(--ff-chalk) !important; position: relative; overflow: hidden; border-top: 1px solid rgba(242, 239, 233, .12); }
.wm-footer a { color: var(--ff-chalk); text-decoration: none; }
.wm-footer a:hover { text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; }
.wm-footer::after { content: ""; position: absolute; inset: 0; background-image: var(--ff-grain-l); background-size: 180px; opacity: .07; mix-blend-mode: screen; pointer-events: none; }
.wm-footer > * { position: relative; z-index: 1; }
.wm-footer-heading { font-family: var(--wp--preset--font-family--body) !important; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .13em; color: var(--ff-sub-dk) !important; font-weight: 700 !important; line-height: 1.3 !important; }
.wm-footer-list { list-style: none; padding-left: 0; line-height: 2.1; margin-top: .75rem; }
.wm-footer-text, .wm-footer-meta { color: var(--ff-sub-dk); }
.wm-footer-sep { border-color: rgba(242, 239, 233, .14) !important; color: rgba(242, 239, 233, .14); margin-top: var(--wp--preset--spacing--60) !important; margin-bottom: var(--wp--preset--spacing--30) !important; }
.wm-footer-aki img { width: 150px; height: auto; }

/* ---------- Layout ---------- */
.wm-stack > *,
.wm-stack .wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0; }

/* Dezente Einblendung (nur mit JavaScript und wenn Bewegung erwünscht ist) */
.wm-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.wm-reveal.wm-in { opacity: 1; transform: none; }
@media print { .wm-reveal { opacity: 1; transform: none; } .wm-header { position: static; } }

/* Use-Case-Detail: Titel als fetter Kern */
.wm-uc-hero h1 { font-weight: 700; max-width: 14ch; }
.wm-uc-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Feinschliff ---------- */
.wm-hero-sub h1 { max-width: 18ch; }
.wm-ball--klein .wm-head .wm-mast { max-width: 76%; }
@media (max-width: 782px) { .wm-ball--klein .wm-head .wm-mast { max-width: 100%; } }
.wm-stats + .wm-flag-row { margin-top: var(--wp--preset--spacing--60) !important; padding-top: 0; border-top: 0; }
.wm-pillar-nr { font-family: var(--wp--preset--font-family--serif); font-weight: 250; font-size: clamp(3.25rem, 6vw, 5.25rem) !important; line-height: .85; letter-spacing: -.04em; margin: 0 0 1.1rem; }
.wm-form, .wm-form * { box-sizing: border-box; }
.wm-form-box { background: color-mix(in srgb, var(--ff-chalk) 7%, transparent); padding-left: var(--wp--preset--spacing--40) !important; padding-right: var(--wp--preset--spacing--40) !important; }
.wm-form-box > h2 { font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.wm-weitere { margin-top: var(--wp--preset--spacing--60) !important; }
.wm-weitere > h3 { margin-bottom: 1rem; }
.wm-rows p span { color: var(--ff-sub); }

/* Abschlussband: Text endet vor dem Kreis */
.wm-cta-body { max-width: 40rem; }
.wm-cta .wm-mast { max-width: 100% !important; }

/* ---------- KI-Twin: Mensch und Zwilling ---------- */
.wm-twin__ring { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-dasharray: 1 8; stroke-linecap: round; }
.wm-twin__funke { fill: var(--ff-red); }
.wm-twin__name { fill: currentColor; }
.wm-twin__aus { stroke-opacity: .6 !important; }
.wm-twin__out circle { fill: currentColor; }
.wm-twin__out text { fill-opacity: 1; transition: opacity .3s ease; }

/* Visualisierungen auf Detailseiten und Grundsätze */
.wm-viz .wm-brain { max-width: 880px; margin-inline: auto; }
.wm-prinzipien-kopf { margin-top: var(--wp--preset--spacing--70) !important; }
.wm-prinzipien-kopf .wm-mast { margin-bottom: var(--wp--preset--spacing--40) !important; }

/* ---------- Lebendiger Hero (nur mit JavaScript und wenn Bewegung erwünscht ist) ---------- */
.wm-live.wm-ball--red::before { animation: none; transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) rotate(var(--bl, 0deg)) scale(var(--bs, 1)); }
.wm-live > .wm-live__canvas { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 1 !important; pointer-events: none; margin: 0 !important; max-width: none !important; }
.wm-live > .wm-live__zaehler { position: absolute !important; z-index: 1 !important; margin: 0 !important; max-width: none !important; pointer-events: none; text-align: center; color: var(--ff-ink); opacity: 0; transition: opacity .9s ease; transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, 0px))); }
.wm-live > .wm-live__zaehler.is-on { opacity: 1; }
.wm-live__zahl { display: block; font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wm-live__label { display: block; margin-top: .55rem; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 782px) { .wm-live > .wm-live__zaehler { display: none; } }

/* ---------- Grafiken zum Anfassen: Punkte erkunden und selbst zusammenstellen ---------- */
.wm-brain__node { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.wm-brain__node circle.wm-brain__hit { fill: transparent !important; r: 24px !important; stroke: currentColor; stroke-width: 1.25; stroke-opacity: 0; transition: stroke-opacity .25s ease; }
.wm-brain__node.is-hover circle.wm-brain__hit, .wm-brain__node:focus-visible circle.wm-brain__hit { stroke-opacity: .5; }
.wm-brain__node.is-hover text, .wm-brain__node:focus-visible text { fill-opacity: 1; }
.wm-brain__node.is-hover circle:not(.wm-brain__hit) { r: 11px; }
.wm-brain__links line.is-hover { stroke-opacity: .95; stroke-width: 2.25; }
.wm-brain__kern { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.wm-brain.is-bau .wm-brain__kern { transform: scale(calc(.8 + var(--n, 3) * .02)); }
.wm-brain.is-bau .wm-brain__mesh line { stroke-opacity: .06; }
.wm-brain.is-voll .wm-brain__mesh line { stroke-opacity: .3; }
.wm-brain__hinweis { margin: .9rem 0 0; font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ff-sub-dk); }
.wm-brain__hinweis::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .6em; border-radius: 50%; background: var(--ff-red); }
.wm-brain__answer { transition: background-color .3s ease; }

.wm-twin__in.is-off circle:not(.wm-brain__hit) { fill: transparent; stroke: currentColor; stroke-width: 1.5; }
.wm-twin__in.is-off text { fill-opacity: .4; text-decoration: line-through; }
.wm-twin .wm-brain__links line { transition: stroke-opacity .35s ease, stroke-width .35s ease, opacity .35s ease; }
.wm-twin .wm-brain__links line.is-off { stroke-opacity: .1; stroke-dasharray: 2 7; }
.wm-twin .wm-brain__links line.wm-twin__aus.is-hover { stroke-opacity: 1 !important; }
.wm-twin__ring, .wm-twin__name, .wm-twin__out, .wm-twin__umlauf { transition: opacity .4s ease, stroke-dasharray .4s ease; }
.wm-twin[data-n="3"] .wm-twin__ring { stroke-dasharray: 1 13; }
.wm-twin[data-n="2"] .wm-twin__ring { stroke-dasharray: 1 20; }
.wm-twin[data-n="1"] .wm-twin__ring { stroke-dasharray: 1 30; }
.wm-twin[data-n="0"] .wm-twin__ring { stroke-dasharray: 1 46; }
.wm-twin[data-n="3"] :where(.wm-twin__out, .wm-twin__aus, .wm-twin__name) { opacity: .72; }
.wm-twin[data-n="2"] :where(.wm-twin__out, .wm-twin__aus, .wm-twin__name) { opacity: .48; }
.wm-twin[data-n="1"] :where(.wm-twin__out, .wm-twin__aus, .wm-twin__name) { opacity: .28; }
.wm-twin[data-n="0"] :where(.wm-twin__out, .wm-twin__aus, .wm-twin__name, .wm-twin__umlauf) { opacity: .1; }
@media (prefers-reduced-motion: reduce) { .wm-brain__kern { transition: none; } }

/* ---------- Der Weg zur Sichtbarkeit: fünf Stationen auf einer Linie ---------- */
.wm-route .wp-block-column { position: relative; }
.wm-route .wp-block-column::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.wm-route .wp-block-column:last-child::before { background: var(--ff-red); width: 16px; height: 16px; top: -9px; }
.wm-route + .wp-block-columns { margin-top: var(--wp--preset--spacing--60) !important; }

/* ---------- Zwei Screenshots: Plattform groß, Zertifikat klein unten rechts ---------- */
.wm-duo { position: relative; padding: 0 7% 16% 0; }
.wm-duo > .wm-shot + .wm-shot { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0 12px 12px 0 !important; }
.wm-duo > .wm-shot + .wm-shot::before { height: 22px; background-size: 40px 8px, auto; background-position: 10px center, 0 0; }

/* ---------- Autorin und Autor ---------- */
.wm-foto-klein { max-width: 300px; margin-left: auto !important; }
.wm-autor { display: grid; gap: 1.5rem; align-items: start; }
.wm-autor p { margin: 0; }
.wm-autor__foto img { display: block; width: 100%; height: auto; }
.wm-autor--box { grid-template-columns: 92px minmax(0, 1fr); margin-top: 3rem !important; padding-top: 1.5rem; border-top: 1.5px solid var(--ff-ink); }
.wm-autor__label { font-variation-settings: var(--ff-cond); font-stretch: 75%; font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ff-sub); }
.wm-autor__name { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; margin: .35rem 0 .3rem !important; }
.wm-autor__name a { color: inherit; text-decoration: none; }
.wm-autor__name a:hover { text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; }
.wm-autor--box .wm-autor__rolle { font-weight: 600; font-size: .95rem; }
.wm-autor--box .wm-autor__bio { margin-top: .7rem !important; font-size: .95rem; line-height: 1.5; color: var(--ff-sub); }
.wm-autor__links { margin-top: .8rem !important; font-size: .9rem; font-weight: 600; }
.wm-autor__links a { color: inherit; text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.wm-autor--seite { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: var(--wp--preset--spacing--60); }
.wm-autor--seite .wm-autor__rolle { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: var(--wp--preset--font-size--x-large); line-height: 1.02; letter-spacing: -.02em; }
.wm-autor--seite .wm-autor__bio { margin-top: 1.2rem; font-size: 1.125rem; line-height: 1.6; max-width: 62ch; }
.wm-autor--seite .wm-autor__bio p + p { margin-top: 1em; }
.wm-autor__fakten { margin-top: 1.6rem !important; columns: 2 18rem; column-gap: 2.5rem; }
.wm-autor__fakten li { break-inside: avoid; }
.wm-byline { display: flex; align-items: center; gap: .5em; font-size: var(--wp--preset--font-size--small); }
.wm-byline a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (max-width: 700px) { .wm-autor--seite { grid-template-columns: 1fr; } .wm-autor--seite .wm-autor__foto { max-width: 220px; } .wm-autor--box { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; } }

.wm-brain.is-bau .wm-brain__tab { opacity: .5; }
.wm-brain.is-bau .wm-brain__tab:hover { opacity: 1; }
.wm-duo > .wm-shot:first-child figcaption { padding-right: 50%; }

/* ---------- Arki auf der Website ---------- */
/* Er steht auf einer Linie: über den Fakten im Hero und über den Schritten eines Use Case. */
.wm-boden { position: relative; }
.wm-boden > .wm-arki { --aw: 118px; position: absolute; right: 0; bottom: calc(100% - var(--aw) * .118); width: var(--aw); z-index: 2; margin: 0 !important; padding: 0 !important; pointer-events: none; }
.wm-hero-facts.wm-boden > .wm-arki { --aw: clamp(112px, 10.5vw, 150px); right: auto; left: 61%; }
@media (max-width: 900px) { .wm-boden > .wm-arki { display: none; } }
/* Groß und unten angeschnitten, am Rand der Bühne */
.wm-arki-band { overflow: hidden; }
.wm-arki-band .wp-block-column:last-child { align-self: flex-end; }
.wm-arki--buehne { width: min(400px, 100%) !important; margin: 0 0 -17% auto !important; }
.wm-arki-band .wm-hero-body, .wm-arki-band .wp-block-column:first-child { padding-bottom: var(--wp--preset--spacing--60); }
@media (max-width: 782px) { .wm-arki--buehne { width: 200px !important; margin: 0 auto -34px 0 !important; } .wm-arki-band .wp-block-column:first-child { padding-bottom: 0; } }
.wm-arki-band h2 + p { margin-top: 1.3rem !important; }
.wm-arki-band .wp-block-list { margin-top: 1.4rem; }

/* =====================================================================
   Drei Stufen (Workshop, KI-Agent, Plattform), Schmerzpunkte, Untermenü
   ===================================================================== */
.wm-stufe-satz { font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 250; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.12; letter-spacing: -.015em; margin: .1rem 0 1rem; min-height: 2.3em; }
.wm-angebote { list-style: none; margin: .5rem 0 0; padding: 0; border-top: 1px solid var(--ff-hair); }
.wm-angebote li { margin: 0; border-bottom: 1px solid var(--ff-hair); }
.wm-angebote a { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 0; text-decoration: none; color: inherit; }
.wm-angebote strong { font-weight: 700; }
.wm-angebote span { color: var(--ff-sub); font-size: var(--wp--preset--font-size--small); }
.wm-angebote a:hover strong, .wm-angebote a:focus-visible strong { text-decoration: underline; text-decoration-color: var(--ff-red); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.wm-dark .wm-angebote span { color: var(--ff-sub-dk); }

.wm-pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--wp--preset--spacing--60); border-top: 1.5px solid currentColor; }
.wm-pains li { margin: 0; border-bottom: 1px solid var(--ff-hair); }
.wm-pains__row { display: grid; grid-template-columns: minmax(0, 1fr) 1.5rem; gap: .35rem 1rem; align-items: center; height: 100%; box-sizing: border-box; padding: 1.15rem .75rem; text-decoration: none; color: inherit; transition: background-color .18s ease, color .18s ease; }
.wm-pains__satz { grid-column: 1; font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 700; font-size: clamp(1.2rem, 1.75vw, 1.55rem); line-height: 1.08; letter-spacing: -.02em; }
.wm-pains__ziel { grid-column: 1; font-size: var(--wp--preset--font-size--small); color: var(--ff-sub); }
.wm-pains__ziel strong { font-weight: 600; color: var(--ff-ink); margin-right: .55em; }
.wm-pains__pfeil { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-size: 1.25rem; transition: transform .18s ease; }
.wm-pains__row:hover, .wm-pains__row:focus-visible { background: var(--ff-black); color: var(--ff-chalk); }
.wm-pains__row:hover .wm-pains__ziel, .wm-pains__row:focus-visible .wm-pains__ziel { color: var(--ff-sub-dk); }
.wm-pains__row:hover .wm-pains__ziel strong, .wm-pains__row:focus-visible .wm-pains__ziel strong { color: var(--ff-chalk); }
.wm-pains__row:hover .wm-pains__pfeil { transform: translateX(4px); color: var(--ff-red); }
@media (max-width: 781px) { .wm-pains { grid-template-columns: 1fr; } .wm-stufe-satz { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .wm-pains__row, .wm-pains__pfeil { transition: none; } }

/* Use-Case-Liste: der Satz des Kunden steht über dem Namen */
.wm-index__pain { font-weight: 600; font-size: var(--wp--preset--font-size--small); }

/* Use-Case-Überschrift: plakativer Name, darunter worum es geht */
.wm-uc-hero h1.wm-uc-titel { max-width: 15ch; }
.wm-uc-klar { display: block; font-weight: 250; font-size: .47em; line-height: 1.08; letter-spacing: -.015em; margin-top: .45em; }

/* Karten mit Link zu eigenen Websites */
.wm-site-card { display: flex; flex-direction: column; }
.wm-site-card .wm-pillar-link { margin-top: auto; padding-top: 1rem; margin-bottom: 0; font-weight: 600; }

/* Untermenü */
.wm-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--ff-white); color: var(--ff-ink); border: 1.5px solid var(--ff-ink); min-width: 16rem; padding: .45rem 0; box-shadow: 6px 6px 0 color-mix(in srgb, var(--ff-ink) 14%, transparent); }
.wm-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .7rem 1.15rem; }
.wm-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { left: 1.15rem; right: 1.15rem; bottom: .45rem; }
.wm-header .wp-block-navigation .has-child > .wp-block-navigation__submenu-icon { margin-left: .3rem; }
.wm-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0; box-shadow: none; min-width: 0; padding: .9rem 0 0 1.1rem; gap: .9rem; font-size: 1rem; }
.wm-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0; }
.wm-uc-hero h1.wm-uc-titel { margin-bottom: 1.15rem; }
.wm-uc-klar { font-size: max(.47em, 1.3rem); }
/* Eigene Websites im Untermenü: abgesetzt von den Plattformen */
.wm-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wm-nav-extern:not(.wm-nav-extern ~ .wm-nav-extern) { border-top: 1px solid color-mix(in srgb, var(--ff-ink) 16%, transparent); margin-top: .35rem; padding-top: .35rem; }

/* =====================================================================
   Kundenlogos (aus dem Menü „Referenzen“) und Link zu den Medienauftritten
   ===================================================================== */
.wm-medien { margin: 0 0 1.4rem !important; font-size: var(--wp--preset--font-size--small); color: var(--ff-sub); }
.wm-medien a { font-weight: 600; color: var(--ff-ink); white-space: nowrap; }
.wm-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); border-top: 1px solid var(--ff-hair); border-left: 1px solid var(--ff-hair); }
.wm-logos li { display: grid; place-items: center; height: 6.5rem; padding: 1rem 1.4rem; margin: 0; border-right: 1px solid var(--ff-hair); border-bottom: 1px solid var(--ff-hair); }
.wm-logos img { max-width: 100%; max-height: 3.1rem; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.wm-logos li:hover img { filter: none; opacity: 1; }
/* Laufband: zieht langsam durch und hält an, wenn man darauf zeigt */
.wm-logos-lauf { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wm-logos--lauf { display: flex; flex: none; border: 0; animation: wm-logos-lauf var(--wm-logos-dauer, 60s) linear infinite; }
.wm-logos--lauf li { flex: none; width: 11.5rem; height: 5.5rem; border: 0; padding: .9rem 1.7rem; }
.wm-logos-lauf:hover .wm-logos--lauf, .wm-logos-lauf:focus-within .wm-logos--lauf { animation-play-state: paused; }
@keyframes wm-logos-lauf { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .wm-logos-lauf { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } .wm-logos--lauf { animation: none; flex-wrap: wrap; } .wm-logos--lauf[aria-hidden] { display: none; } }
@media (max-width: 600px) { .wm-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wm-logos--lauf li { width: 9rem; padding: .9rem 1.2rem; } }

/* Startseite: Die Hauptüberschrift trägt die beiden Suchbegriffe und ist länger als ein Slogan.
   Etwas kleiner und ohne Breitenbegrenzung, damit „KI-Automatisierung“ nicht am Bindestrich bricht. */
.wm-hero-xl:not(.wm-hero-sub) h1 { font-size: clamp(2.5rem, 6.3vw, 6.1rem) !important; max-width: none; }

/* Startseite: Arki sagt den Leitsatz. Die Sprechblase ist eine bewusste Ausnahme vom Maskottchen-Leitfaden (Wunsch von Lukas, 23.11.2026). */
.wm-hero-facts.wm-boden > .wm-arki-blase { position: absolute; z-index: 3; left: calc(61% + clamp(112px, 10.5vw, 150px) * .78); bottom: calc(100% + clamp(112px, 10.5vw, 150px) * .62); margin: 0 !important; max-width: 15.5rem; padding: .9rem 1.15rem; border-radius: 22px 22px 22px 4px; background: var(--ff-chalk); color: var(--ff-black) !important; font-family: var(--wp--preset--font-family--serif); font-variation-settings: var(--ff-title); font-weight: 250; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.02; letter-spacing: -.02em; }
.wm-hero-facts.wm-boden > .wm-arki-blase strong { display: block; font-weight: 700; color: inherit; }
.wm-hero-facts.wm-boden > .wm-arki-blase::before { content: none; }
@media (max-width: 900px) { .wm-hero-facts.wm-boden > .wm-arki-blase { position: static; max-width: none; margin: 0 0 1.2rem !important; border-radius: 22px; } }

/* Cookie-Einstellungen: sichtbar erst, wenn das Plugin „AKI Einwilligung“ einen Banner liefert. */
a[href$="#cookie-einstellungen"] { display: none; }
