/* ==========================================================================
   OTRIX – Website-Theme
   Design-System, Komponenten, Produktgrafiken (mk-*) und Animationen.
   ========================================================================== */

:root {
	/* Markenfarben (verbindlich seit 29.10.2026): Blau, Hell, Terra, Terra Hell.
	   Daneben nur Weiß, aus Blau abgeleitete Grau- und Linientöne und Statusfarben.
	   Terra Hell auf Hell nur für große Schrift und Grafik. Auf Blau kein Terra, sondern der
	   Ausnahmeton --otx-terra-on-blue (Farbton von Terra Hell, 3,5:1 auf Blau): nur Überschriften
	   ab 24 px und Grafik. Kleine Schrift auf Blau bleibt Hell. */
	--otx-blau: #3F5061;
	--otx-hell: #FAF8F5;
	--otx-terra: #C75F39;          /* Terra Hell: Linien, Punkte, Flächen in Grafiken */
	--otx-rust: #B7410E;           /* Terra: Text, Schaltflächen, Hervorhebung auf Hell und Weiß */
	--otx-rust-hover: #9E370B;     /* Terra, abgedunkelt (Hover) */
	--otx-terra-on-blue: #EB9170;  /* Ausnahme auf Blau: große Überschriften, Kompassnadel, Symbole */

	/* Aus Blau abgeleitet (wie OTX-UI-KIT 1.4.0) */
	--otx-ink: #3F5061;            /* Überschriften und Fließtext: Blau */
	--otx-ink-strong: #27323C;     /* Blau, abgedunkelt: 13,1:1 auf Weiß */
	--otx-steel: #5A6877;          /* Nebentext: 5,7:1 auf Weiß, 5,4:1 auf Hell */
	--otx-dove: #D1D5D9;           /* kräftige Linie, Punkte ohne Status */
	--otx-line: #E2E5E7;
	--otx-line-soft: #F0F1F2;
	--otx-tint: #ECEEEF;           /* Fläche für Symbol-Kacheln */
	--otx-night: #3F5061;          /* dunkle Flächen: Blau */
	--otx-deep: #32404E;           /* Blau, gedrückt (Verläufe auf dunklen Flächen) */
	--otx-frame: #27323C;          /* Gehäuse des Telefonrahmens */
	--otx-white: #FFFFFF;

	/* Alte Namen bleiben für bestehende Muster, zeigen aber auf Markenfarben */
	--otx-peach: #FAF8F5;          /* Hervorhebung auf Blau: Hell */
	--otx-peach-soft: #FAF2EE;     /* Terra, sehr hell aufgehellt (Kachel, Häkchen) */
	--otx-sand: #FAF8F5;
	--otx-cream: #FAF8F5;
	--otx-mist: #FAF8F5;
	--otx-on-dark: rgba(250, 248, 245, .82);
	--otx-on-dark-muted: rgba(250, 248, 245, .74);

	/* Produktfarben (OTRIX-Oberfläche wie OTX-UI-KIT 1.4.0) */
	--mk-marine: #3F5061;
	--mk-marine-tint: #ECEEEF;
	--mk-signal: #C75F39;
	--mk-ok: #1F6B45;
	--mk-ok-bg: #E9F6EF;
	--mk-warn: #855700;
	--mk-warn-bg: #FDF4DD;
	--mk-wait: #5A6877;
	--mk-wait-bg: #F2F3F4;
	--mk-bad: #B42318;
	--mk-bad-bg: #FDECEB;
	--mk-run: #2B5C99;
	--mk-run-bg: #EDF3FB;
	--mk-act: #B7410E;
	--mk-act-bg: #FAF2EE;

	--otx-radius-l: 22px;
	--otx-radius: 16px;
	--otx-radius-s: 10px;
	--otx-shadow: 0 1px 2px rgba(39, 50, 60, .05), 0 14px 36px -16px rgba(39, 50, 60, .18);
	--otx-shadow-l: 0 2px 4px rgba(39, 50, 60, .05), 0 32px 64px -24px rgba(39, 50, 60, .28);
	--otx-ease: cubic-bezier(.2, .7, .2, 1);
	--otx-gutter: clamp(20px, 4vw, 40px);
	--otx-section: clamp(56px, 6.5vw, 96px);
	--otx-font-display: var(--wp--preset--font-family--funnel-display, "Funnel Display", sans-serif);
	--otx-font-text: var(--wp--preset--font-family--maven-pro, "Maven Pro", sans-serif);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: #ECCEC0; color: var(--otx-ink-strong); }
:focus-visible { outline: 3px solid var(--otx-terra); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.otx-main { overflow: clip; }
.otx-main .wp-block-post-content > *,
.otx-main .wp-block-group > *,
.otx-site-header .wp-block-group > *,
.otx-site-footer .wp-block-group > * { margin-block: 0; }

.otx-main :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
/* Umbrüche: Überschriften ausgeglichen, Fließtext ohne einzelne Wörter in der letzten Zeile */
.otx-main :where(h1, h2, h3, h4), .otx-footer :where(h3) { text-wrap: balance; }
.otx-main :where(p, li, figcaption) { text-wrap: pretty; }

.otx-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--otx-gutter); box-sizing: border-box; }

.otx-section { position: relative; padding-block: var(--otx-section); }
.otx-section.is-tight { padding-block: clamp(40px, 5vw, 64px); }
.otx-section.is-sand { background: linear-gradient(180deg, var(--otx-sand) 0%, var(--otx-cream) 100%); }
.otx-section.is-cream { background: var(--otx-cream); }
.otx-section.is-mist { background: var(--otx-mist); }
.otx-section.is-dark { background: var(--otx-night); color: rgba(250, 248, 245, .86); }
.otx-section.is-dark a:not(.wp-block-button__link) { color: var(--otx-hell); }
.otx-section.is-dark :where(h3, h4) { color: var(--otx-hell); }
.otx-section.is-dark .otx-lead { color: rgba(250, 248, 245, .8); }
.otx-section.is-line-top { border-top: 1px solid var(--otx-line); }

/* Typografie */
.otx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; letter-spacing: .01em; color: var(--otx-rust); }
/* OTRIX-Zeichen vor Eyebrows: Original in Blau und Terra, auf Blau in Hell mit Punkt im Ausnahmeton */
.otx-eyebrow::before { content: ""; width: 20px; height: 22px; flex: 0 0 auto; background: url("../img/brand/otrix-mark.svg") center / contain no-repeat; }
.is-dark .otx-eyebrow, .otx-eyebrow.is-light { color: var(--otx-peach); }
.is-dark .otx-eyebrow::before, .otx-eyebrow.is-light::before, .otx-cta__text .otx-eyebrow::before { background-image: url("../img/brand/otrix-mark-hell.svg"); }

.otx-h1 { font-size: var(--wp--preset--font-size--hero); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.otx-h1 em, .otx-h2 em { font-style: normal; color: var(--otx-rust); }
/* Auf Blau: Überschrift in Hell, Hervorhebung im Ausnahmeton (nur große Schrift ab 24 px) */
.is-dark .otx-h1, .is-dark .otx-h2, .otx-cta__text h2 { color: var(--otx-hell); }
.is-dark .otx-h1 em, .is-dark .otx-h2 em, .otx-cta .otx-h2 em, .otx-cta__text h2 em { color: var(--otx-terra-on-blue); }
.otx-h2 { font-size: var(--wp--preset--font-size--titel); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.otx-h3 { font-size: 1.375rem; line-height: 1.25; }
.otx-lead { font-size: var(--wp--preset--font-size--gross); line-height: 1.55; color: var(--otx-steel); max-width: 62ch; text-wrap: pretty; }
.otx-note { font-size: .9375rem; color: var(--otx-steel); }
.is-dark .otx-note { color: rgba(250, 248, 245, .74); }
.otx-text-link, .otx-more a { font-weight: 600; text-decoration: none; color: var(--otx-rust); border-bottom: 2px solid rgba(183, 65, 14, .25); transition: border-color .2s; }
.otx-text-link:hover, .otx-more a:hover { border-color: var(--otx-rust); }
.otx-more { font-size: 1.0625rem; margin-top: 32px !important; }
.otx-center-row { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 52px) !important; }

.otx-section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px) !important; }
.otx-section-head.is-center { align-items: center; text-align: center; margin-inline: auto; }
.otx-section-head.is-center .otx-lead { margin-inline: auto; }

/* Schaltflächen */
.wp-block-buttons.otx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons.otx-actions.is-center { justify-content: center; }
.otx-main .wp-block-button__link,
.otx-site-header .wp-block-button__link,
.otx-site-footer .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--otx-ease); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 8px 20px -10px rgba(183, 65, 14, .7); }
.otx-main .wp-block-button__link:hover,
.otx-site-header .wp-block-button__link:hover,
.otx-site-footer .wp-block-button__link:hover { background-color: var(--otx-rust-hover); color: #fff; transform: translateY(-1px); }
.otx-main .wp-block-button:not(.otx-btn-secondary):not(.otx-btn-ghost) .wp-block-button__link::after { content: ""; width: 18px; height: 18px; 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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s var(--otx-ease); }
.otx-main .wp-block-button:hover .wp-block-button__link::after { transform: translateX(3px); }
.otx-main .otx-btn-secondary .wp-block-button__link { background: var(--otx-white); color: var(--otx-ink-strong); box-shadow: inset 0 0 0 1.5px var(--otx-line), 0 1px 2px rgba(39, 50, 60, .06); }
.otx-main .otx-btn-secondary .wp-block-button__link:hover { background: var(--otx-white); color: var(--otx-rust); box-shadow: inset 0 0 0 1.5px var(--otx-rust); }
.otx-main .otx-btn-ghost .wp-block-button__link { background: transparent; color: var(--otx-hell); box-shadow: inset 0 0 0 1.5px rgba(250, 248, 245, .4); }
.otx-main :is(.is-dark, .otx-cta__box, .otx-example, .otx-apply__box.is-dark) .wp-block-button:not(.otx-btn-ghost):not(.otx-btn-secondary) .wp-block-button__link { background: var(--otx-hell); color: var(--otx-blau); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .45); }
.otx-main :is(.is-dark, .otx-cta__box, .otx-example, .otx-apply__box.is-dark) .wp-block-button:not(.otx-btn-ghost):not(.otx-btn-secondary) .wp-block-button__link:hover { background: #fff; color: var(--otx-ink-strong); }
.otx-main .otx-btn-ghost .wp-block-button__link:hover { background: rgba(250, 248, 245, .08); color: #fff; box-shadow: inset 0 0 0 1.5px var(--otx-hell); }

/* Raster */
.otx-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.otx-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.otx-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.otx-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.otx-grid.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* Fünf Karten mit mehr Text: 3 + 2 statt fünf schmaler Spalten */
.otx-grid.is-5.is-5-split { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.otx-grid.is-5.is-5-split > * { grid-column: span 2; }
.otx-grid.is-5.is-5-split > :nth-child(n+4) { grid-column: span 3; }
.otx-card__title, .otx-step-card h3, .otx-feature h3, .otx-quote h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.otx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.otx-split.is-reverse > :first-child { order: 2; }

/* Karten */
.otx-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 30px); background: var(--otx-white); border: 1px solid rgba(63, 80, 97, .1); border-radius: var(--otx-radius); box-shadow: var(--otx-shadow); transition: transform .35s var(--otx-ease), box-shadow .35s var(--otx-ease), border-color .35s; }
.otx-card:hover { transform: translateY(-4px); box-shadow: var(--otx-shadow-l); border-color: rgba(183, 65, 14, .25); }
.otx-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--otx-peach-soft); color: var(--otx-rust); margin-bottom: 6px; }
.otx-card__icon .otx-icon { width: 24px; height: 24px; }
.otx-card__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.otx-card__text { color: var(--otx-steel); font-size: 1.0625rem; line-height: 1.55; }
.is-dark .otx-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); box-shadow: none; }
.is-dark .otx-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(250, 248, 245, .3); }
.is-dark .otx-card__icon { background: rgba(250, 248, 245, .12); color: var(--otx-peach); }
.is-dark .otx-card__text { color: rgba(250, 248, 245, .78); }

.otx-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* Listen mit Häkchen */
.otx-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.otx-checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.otx-checks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--otx-peach-soft); }
.otx-checks li::after { content: ""; position: absolute; left: 5px; top: calc(.1em + 5px); width: 12px; height: 12px; background: var(--otx-rust); -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='3.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='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-dark .otx-checks li::before { background: rgba(250, 248, 245, .14); }
.is-dark .otx-checks li::after { background: var(--otx-peach); }
.otx-checks.is-no li::before { background: #F2F3F4; }
.otx-checks.is-no li::after { background: var(--otx-steel); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.otx-site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.otx-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.otx-header.is-scrolled { border-bottom-color: var(--otx-line); box-shadow: 0 10px 30px -20px rgba(39, 50, 60, .35); background: rgba(255, 255, 255, .94); }
.otx-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; max-width: 1240px; margin-inline: auto; padding-inline: var(--otx-gutter); box-sizing: border-box; }
.otx-logo { display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: 1; flex: 0 0 auto; }
.otx-logo img { display: block; height: 46px; width: auto; }
.otx-logo__svg { display: block; height: 46px; width: auto; overflow: visible; }
.otx-logo__word { font-family: var(--otx-font-display); font-weight: 800; font-size: 30px; letter-spacing: .02em; color: var(--otx-ink); }
.otx-logo__word span { color: var(--otx-rust); }
.otx-logo__tag { font-size: 12.5px; letter-spacing: .14em; color: var(--otx-rust); margin-top: 3px; }
.otx-site-footer .otx-logo__word, .otx-site-footer .otx-logo__word span { color: var(--otx-hell); }
.otx-site-footer .otx-logo__tag { color: rgba(250, 248, 245, .8); }

.otx-header .wp-block-navigation { flex: 1 1 auto; justify-content: flex-end; font-weight: 600; font-size: 1rem; gap: 6px; }
.otx-header .wp-block-navigation .wp-block-navigation__container { gap: 4px; }
.otx-header .wp-block-navigation .wp-block-navigation-item__content { color: var(--otx-ink-strong); text-decoration: none; padding: 10px 12px; border-radius: 8px; transition: color .2s, background-color .2s; }
.otx-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--otx-rust); background: var(--otx-cream); }
.otx-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--otx-rust); }
.otx-header .wp-block-navigation-submenu .wp-block-navigation__submenu-icon { margin-left: -6px; margin-right: 8px; }
.otx-header .wp-block-navigation .wp-block-navigation__submenu-container { border: 1px solid var(--otx-line) !important; border-radius: 14px; padding: 8px; box-shadow: var(--otx-shadow-l); min-width: 260px !important; background: #fff; top: 100% !important; margin-top: 6px; }
/* Brücke über den Abstand: das Untermenü bleibt offen, wenn der Zeiger langsam hinüberfährt */
.otx-header .wp-block-navigation .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: -1px; right: -1px; top: -8px; height: 8px; }
/* Tastatur: offen, solange der Fokus im Menüpunkt liegt */
.otx-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container { visibility: visible; opacity: 1; width: auto; height: auto; overflow: visible; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container::before { display: none; }
.otx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px; }
.otx-header .wp-block-navigation .otx-nav-cta { display: none; }
.otx-header .wp-block-buttons { flex: 0 0 auto; }
.otx-header .wp-block-button__link { padding: .75rem 1.15rem; font-size: 1rem; }

/* Mobiles Menü (Overlay des Navigationsblocks) */
/* backdrop-filter macht den Kopfbereich zum Bezugsrahmen für position: fixed – das geöffnete Menü würde sonst nur so hoch wie der Kopfbereich. */
html.has-modal-open .otx-header, .otx-header:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.otx-header .wp-block-navigation__responsive-container-open { color: var(--otx-ink-strong); padding: 8px; border-radius: 8px; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--otx-cream) !important; padding: 28px var(--otx-gutter); --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; text-align: left; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container, .otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; gap: 6px; align-items: stretch; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--otx-font-display); font-size: 1.5rem; font-weight: 700; padding: 10px 0; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.125rem; font-family: var(--otx-font-text); }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .otx-nav-cta { display: block; margin-top: 18px; }
.otx-header .wp-block-navigation__responsive-container.is-menu-open .otx-nav-cta .wp-block-navigation-item__content { display: inline-block; background: var(--otx-rust); color: #fff; padding: 14px 22px; border-radius: 10px; font-family: var(--otx-font-text); font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.otx-hero { padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 120px); background:
	radial-gradient(900px 520px at 85% 8%, rgba(199, 95, 57, .07), transparent 60%),
	radial-gradient(700px 500px at 0% 100%, rgba(63, 80, 97, .06), transparent 60%),
	linear-gradient(180deg, var(--otx-hell), #fff 85%); }
.otx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 6 46 16.5v21L28 48 10 37.5v-21Z' fill='none' stroke='%233F5061' stroke-opacity='.07' stroke-width='1.5'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.otx-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.otx-hero__text { display: flex; flex-direction: column; gap: 22px; }
.otx-hero__text .otx-lead { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); }
.otx-hero__meta { position: relative; padding-left: 22px; font-size: .9375rem; color: var(--otx-steel); }
.otx-hero__meta::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #2E9D63; box-shadow: 0 0 0 4px rgba(46, 157, 99, .15); animation: otx-pulse 2.4s ease-in-out infinite; }
.otx-hero.is-compact .otx-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.otx-hero.is-page .otx-h1 { font-size: clamp(2.375rem, 4.4vw, 3.5rem); }

/* Vertrauensleiste */
.otx-trust { padding-block: 0 clamp(48px, 6vw, 72px); margin-top: clamp(-56px, -5vw, -32px) !important; position: relative; z-index: 2; background: transparent; }
.otx-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--otx-line); border-radius: var(--otx-radius-l); box-shadow: var(--otx-shadow); overflow: hidden; }
.otx-trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.otx-trust__item + .otx-trust__item { border-left: 1px solid var(--otx-line-soft); }
/* acht Merkmale: 4 × 2 */
.otx-trust__grid.is-8 .otx-trust__item:nth-child(4n+1) { border-left: 0; }
.otx-trust__grid.is-8 .otx-trust__item:nth-child(n+5) { border-top: 1px solid var(--otx-line-soft); }
.otx-trust__grid.is-8 .otx-trust__item { padding: 20px 22px; }
.otx-trust__grid.is-8 .otx-trust__item p { font-size: .9063rem; }
.otx-trust__icon { color: var(--otx-rust); display: inline-flex; padding-top: 2px; }
.otx-trust__icon .otx-icon { width: 24px; height: 24px; }
.otx-trust__item p { font-size: .9375rem; line-height: 1.45; color: var(--otx-steel); }
.otx-trust__item strong { display: block; color: var(--otx-ink-strong); font-size: 1rem; margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   Warum jetzt: Zeitleiste der KI-Verordnung
   -------------------------------------------------------------------------- */

.otx-law { margin-top: clamp(40px, 5vw, 64px) !important; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--otx-line); border-radius: var(--otx-radius-l); box-shadow: var(--otx-shadow); }
.otx-law__title { font-size: 1.375rem; margin-bottom: 28px !important; }
.otx-law__track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-top: 34px; }
.otx-law__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: var(--otx-line); }
.otx-law__track::after { content: ""; position: absolute; left: 0; top: 9px; height: 4px; border-radius: 4px; width: var(--otx-today, 0%); background: linear-gradient(90deg, var(--otx-terra), var(--otx-rust)); transition: width 1.6s var(--otx-ease) .2s; }
.otx-js .otx-law:not(.is-visible) .otx-law__track::after { width: 0; }
.otx-law__item { position: relative; display: flex; flex-direction: column; gap: 6px; }
.otx-law__item::before { content: ""; position: absolute; top: -34px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--otx-dove); box-sizing: border-box; transition: border-color .4s, transform .4s var(--otx-ease); }
.otx-law__item.is-past::before { border-color: var(--otx-rust); background: var(--otx-rust); box-shadow: inset 0 0 0 3px #fff; }
.otx-law__date { font-weight: 700; color: var(--otx-ink-strong); font-variant-numeric: tabular-nums; }
.otx-law__item.is-past .otx-law__date { color: var(--otx-rust); }
.otx-law__text { font-size: .9688rem; line-height: 1.45; color: var(--otx-steel); }
.otx-law__today { position: absolute; top: -8px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; pointer-events: none; }
.otx-law__today span { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--otx-rust); border-radius: 999px; padding: 3px 9px; box-shadow: 0 6px 16px -6px rgba(183, 65, 14, .7); }
.otx-law__note { margin-top: 24px !important; font-size: .875rem; color: var(--otx-steel); }

/* --------------------------------------------------------------------------
   Zwei Blickwinkel
   -------------------------------------------------------------------------- */

.otx-duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.otx-duo__card { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px); border-radius: var(--otx-radius-l); border: 1px solid var(--otx-line); background: #fff; box-shadow: var(--otx-shadow); }
.otx-duo__card.is-dark { background: radial-gradient(600px 300px at 100% 0%, rgba(250, 248, 245, .14), transparent 60%), var(--otx-night); border-color: var(--otx-night); color: rgba(250, 248, 245, .82); }
.otx-duo__card.is-dark :where(h3) { color: #fff; }
.otx-tag { display: inline-flex; align-self: flex-start; font-size: .875rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--otx-peach-soft); color: var(--otx-rust); }
.is-dark .otx-tag, .otx-duo__card.is-dark .otx-tag { background: rgba(250, 248, 245, .14); color: var(--otx-peach); }
.otx-duo__card h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); }
.otx-duo__q { font-family: var(--otx-font-display); font-weight: 600; font-size: 1.1875rem; color: var(--otx-rust); }
.otx-duo__card.is-dark .otx-duo__q { color: var(--otx-peach); }
.otx-duo__card.is-dark .otx-checks li::before { background: rgba(250, 248, 245, .14); }
.otx-duo__card.is-dark .otx-checks li::after { background: var(--otx-peach); }
.otx-duo__card .mk-mini { margin-top: auto; }
.otx-duo__flow { margin-top: clamp(18px, 2vw, 26px) !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 26px; border-radius: var(--otx-radius); background: var(--otx-sand); border: 1px dashed rgba(183, 65, 14, .3); }
.otx-duo__flow p { font-weight: 600; color: var(--otx-ink-strong); }

/* --------------------------------------------------------------------------
   Produkteinblick (Tabs)
   -------------------------------------------------------------------------- */

.otx-tabs { display: flex; flex-direction: column; gap: 28px; }
.otx-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--otx-line); border-radius: 14px; align-self: flex-start; box-shadow: var(--otx-shadow); }
.otx-tabs__btn { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 1rem; color: var(--otx-steel); padding: 11px 18px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background-color .25s; }
.otx-tabs__btn .otx-icon { width: 18px; height: 18px; }
.otx-tabs__btn:hover { color: var(--otx-rust); }
.otx-tabs__btn[aria-selected="true"] { background: var(--otx-night); color: #fff; }
.otx-tab-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.otx-tab-panel + .otx-tab-panel { margin-top: 56px !important; }
.otx-tabs.is-ready .otx-tab-panel + .otx-tab-panel { margin-top: 0 !important; }
.otx-tabs.is-ready .otx-tab-panel[hidden] { display: none; }
.otx-tabs.is-ready .otx-tab-panel:not([hidden]) .otx-tab-panel__text { animation: otx-fade-up .6s var(--otx-ease) both; }
.otx-tab-panel__text { display: flex; flex-direction: column; gap: 18px; }
.otx-tab-panel__text h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.12; }
.otx-tab-panel__text > p:not(.otx-tab-label) { color: var(--otx-steel); font-size: 1.125rem; }
.otx-tab-label { font-weight: 700; color: var(--otx-rust); }
.otx-tabs.is-ready .otx-tab-label { display: none; }

/* --------------------------------------------------------------------------
   Pilot-Zeitleiste
   -------------------------------------------------------------------------- */

.otx-ptl { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.otx-ptl::before { content: ""; position: absolute; left: 12px; right: 12px; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--otx-dove) 0 8px, transparent 8px 14px); }
.otx-ptl__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 44px; }
.otx-ptl__item::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--otx-rust); box-sizing: border-box; box-shadow: 0 0 0 6px var(--otx-cream); }
.otx-ptl__item::after { content: ""; position: absolute; top: 9px; left: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--otx-rust); transform: scale(0); transition: transform .5s var(--otx-ease) calc(var(--i, 0) * 180ms + 200ms); }
.otx-ptl.is-visible .otx-ptl__item::after, html:not(.otx-js) .otx-ptl__item::after { transform: scale(1); }
.otx-ptl__date { font-size: .875rem; font-weight: 700; color: var(--otx-rust); }
.otx-ptl__item h3 { font-size: 1.1875rem; }
.otx-ptl__item p:last-child { font-size: .9688rem; color: var(--otx-steel); line-height: 1.5; }
.is-dark .otx-ptl__item::before { background: var(--otx-night); box-shadow: 0 0 0 6px var(--otx-night); border-color: var(--otx-peach); }
.is-dark .otx-ptl__item::after { background: var(--otx-peach); }
.is-dark .otx-ptl__date { color: var(--otx-peach); }
.is-dark .otx-ptl__item p:last-child { color: rgba(250, 248, 245, .78); }
.otx-pilot-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.otx-pilot-band .otx-ptl { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 50px; }
.otx-pilot-band .otx-ptl::before { left: 13px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--otx-dove) 0 8px, transparent 8px 14px); }
.otx-pilot-band .otx-ptl__item { padding-top: 0; display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding: 18px 22px; background: #fff; border: 1px solid var(--otx-line); border-radius: 14px; box-shadow: var(--otx-shadow); }
.otx-pilot-band .otx-ptl__item::before { left: -50px; top: 50%; margin-top: -14px; }
.otx-pilot-band .otx-ptl__item::after { left: -41px; top: 50%; margin-top: -5px; }
.otx-pilot-band .otx-ptl__date { grid-row: span 2; align-self: center; }
.otx-pilot-band__text { display: flex; flex-direction: column; gap: 20px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.otx-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.otx-faq-wrap .otx-section-head { position: sticky; top: 120px; margin-bottom: 0 !important; }
.otx-faq { display: flex; flex-direction: column; border-top: 1px solid var(--otx-line); }
.otx-faq .wp-block-details { border-bottom: 1px solid var(--otx-line); padding: 0; }
.otx-faq .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--otx-font-display); font-weight: 700; font-size: 1.1875rem; color: var(--otx-ink-strong); transition: color .2s; }
.otx-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.otx-faq .wp-block-details summary::after { content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--otx-peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7410E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--otx-ease), background-color .3s; }
.otx-faq .wp-block-details[open] summary::after { transform: rotate(45deg); background-color: #FAF2EE; }
.otx-faq .wp-block-details summary:hover { color: var(--otx-rust); }
.otx-faq .wp-block-details > p { padding: 0 56px 24px 0; color: var(--otx-steel); font-size: 1.0625rem; }
.otx-faq .wp-block-details[open] > p { animation: otx-fade-up .45s var(--otx-ease) both; }

/* --------------------------------------------------------------------------
   Abschlussbanner
   -------------------------------------------------------------------------- */

.otx-cta { padding-block: clamp(56px, 7vw, 96px); background: #fff; }
.otx-cta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; color: rgba(250, 248, 245, .82); background: radial-gradient(700px 360px at 100% 0%, rgba(250, 248, 245, .22), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(90, 104, 119, .45), transparent 60%), var(--otx-night); box-shadow: var(--otx-shadow-l); }
.otx-cta__text { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.otx-cta__text h2 { color: var(--otx-hell); font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.otx-cta__text p { color: rgba(250, 248, 245, .84); font-size: 1.125rem; }
.otx-cta__art { display: grid; place-items: center; }
.otx-cta__art .mk-compass { width: min(260px, 100%); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }

/* --------------------------------------------------------------------------
   Fußbereich
   -------------------------------------------------------------------------- */

.otx-footer { background: var(--otx-night); color: rgba(250, 248, 245, .78); padding-top: clamp(56px, 6vw, 80px); font-size: .9688rem; }
.otx-footer a { color: rgba(250, 248, 245, .9); text-decoration: none; transition: color .2s; }
.otx-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.otx-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.otx-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.otx-footer__brand img { height: 52px; width: auto; display: block; }
.otx-footer h3 { color: var(--otx-hell); font-family: var(--otx-font-text); font-size: 1rem; font-weight: 700; letter-spacing: .01em; margin-bottom: 14px !important; }
.otx-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.otx-footer__contact p { line-height: 1.65; }
.otx-footer__funding { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.otx-footer__funding p { font-size: .875rem; color: rgba(250, 248, 245, .74); max-width: 640px; }
.otx-funding-placeholder { font-size: .8125rem; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 10px; padding: 10px 14px; color: #fff; }

/* Förderlogos: Leiste unverändert auf Weiß; schmal untereinander im selben Maßstab */
.otx-fund { display: inline-flex; background: #fff; border-radius: 12px; padding: 12px 18px; max-width: 100%; box-sizing: border-box; }
.otx-fund__strip { display: block; width: 860px; max-width: 100%; height: auto; }
.otx-fund.is-large { padding: 18px 24px; border: 1px solid var(--otx-line); }
.otx-fund.is-large .otx-fund__strip { width: 1040px; }
.otx-fund__stack { display: none; }
body:has(.otx-fund.is-large) .otx-fund.is-footer { display: none; }
@media (max-width: 720px) {
	.otx-fund { padding: 14px 16px; }
	.otx-fund__strip { display: none; }
	.otx-fund__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
	/* gleicher Maßstab (0,72) für alle drei Logos */
	.otx-fund__stack img { display: block; width: auto; height: auto; max-width: none; }
	.otx-fund__stack img:nth-child(1) { width: 294px; }
	.otx-fund__stack img:nth-child(2) { width: 297px; }
	.otx-fund__stack img:nth-child(3) { width: 125px; }
}
@media (max-width: 360px) {
	.otx-fund__stack img:nth-child(1) { width: 265px; }
	.otx-fund__stack img:nth-child(2) { width: 268px; }
	.otx-fund__stack img:nth-child(3) { width: 113px; }
}
.otx-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; color: rgba(250, 248, 245, .74); }
.otx-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 22px; }

/* --------------------------------------------------------------------------
   Unterseiten-Bausteine
   -------------------------------------------------------------------------- */

/* Merkmale-Leiste */
.otx-features-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.otx-features-strip.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.otx-strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--otx-radius); background: #fff; border: 1px solid var(--otx-line); }
.otx-strip-item .otx-card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.otx-strip-item p { font-size: .9688rem; color: var(--otx-steel); line-height: 1.45; }
.otx-strip-item strong { display: block; color: var(--otx-ink-strong); font-size: 1.0625rem; margin-bottom: 2px; }

/* Schritt-Karten */
.otx-step-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--otx-radius); background: #fff; border: 1px solid var(--otx-line); box-shadow: var(--otx-shadow); }
.otx-step-card__num { font-family: var(--otx-font-display); font-weight: 800; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--otx-terra); }
.otx-step-card h3 { font-size: 1.375rem; }
.otx-kv { font-size: .9688rem; line-height: 1.5; color: var(--otx-steel); padding-top: 12px; border-top: 1px solid var(--otx-line-soft); }
.otx-kv strong { display: block; color: var(--otx-ink-strong); font-size: .8125rem; letter-spacing: .04em; margin-bottom: 2px; }

/* Anwendungsbeispiel (Scrollytelling) */
.otx-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.otx-story__visual { position: sticky; top: 120px; }
.otx-story__steps { display: flex; flex-direction: column; gap: clamp(28px, 6vh, 64px); padding-block: 4vh 12vh; }
.otx-story__step { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: var(--otx-radius); border: 1px solid var(--otx-line); background: #fff; opacity: .45; transition: opacity .4s, border-color .4s, box-shadow .4s, transform .4s var(--otx-ease); }
.otx-story__step.is-active, html:not(.otx-js) .otx-story__step { opacity: 1; border-color: rgba(183, 65, 14, .35); box-shadow: var(--otx-shadow-l); transform: translateX(-4px); }
.otx-story__num { font-weight: 700; color: var(--otx-rust); font-size: .9375rem; }
.otx-story__step h3 { font-size: 1.375rem; }
.otx-story__step p:last-child { color: var(--otx-steel); }
.otx-example { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; margin-top: clamp(32px, 4vw, 48px) !important; padding: 28px 32px; border-radius: var(--otx-radius); background: var(--otx-night); color: rgba(250, 248, 245, .82); }
.otx-example h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px !important; }
.otx-example .otx-card__icon { background: rgba(250, 248, 245, .14); color: var(--otx-peach); margin: 0; }

/* Zitat-Karten (Situationen) */
.otx-quote { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--otx-radius); background: #fff; border: 1px solid var(--otx-line); box-shadow: var(--otx-shadow); }
.otx-quote h3 { font-size: 1.25rem; line-height: 1.3; }
.otx-quote h3::before { content: ""; display: block; width: 30px; height: 24px; margin-bottom: 14px; background: var(--otx-terra); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") no-repeat left center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") no-repeat left center / contain; }
.otx-quote p { color: var(--otx-steel); }

/* Rollen-Karten mit Leitfrage */
.otx-role .otx-role__q { font-weight: 600; color: var(--otx-rust); font-size: 1rem; }
.otx-role .otx-checks { font-size: 1rem; gap: 8px; color: var(--otx-steel); }
.otx-role .otx-checks li { padding-left: 30px; }
.otx-role .otx-checks li::before { width: 20px; height: 20px; }
.otx-role .otx-checks li::after { left: 4px; top: calc(.1em + 4px); }

/* Passt / passt nicht */
.otx-fit { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3vw, 40px); border-radius: var(--otx-radius-l); background: #fff; border: 1px solid var(--otx-line); }
.otx-fit.is-no { background: var(--otx-mist); border-style: dashed; }
.otx-fit h3 { font-size: 1.5rem; }
.otx-fit .otx-checks li span { display: block; color: var(--otx-steel); font-size: .9688rem; margin-top: 2px; }

/* Grundlagen */
.otx-basis .otx-badge { align-self: flex-start; }
.otx-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--mk-ok-bg); color: var(--mk-ok); letter-spacing: .01em; }
.otx-badge.is-standard { background: var(--mk-run-bg); color: var(--mk-run); }
.otx-badge.is-planned { background: var(--mk-wait-bg); color: var(--mk-wait); }
.otx-badge.is-pilot { background: var(--mk-ok-bg); color: var(--mk-ok); }
.otx-callout { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: var(--otx-radius); background: var(--otx-sand); border: 1px solid rgba(183, 65, 14, .18); margin-top: 24px !important; color: var(--otx-ink); }

/* Porträt */
.otx-person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; border-radius: var(--otx-radius); background: #fff; border: 1px solid var(--otx-line); }
.otx-person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.otx-person strong { display: block; color: var(--otx-ink-strong); }
.otx-person span { color: var(--otx-steel); font-size: .9375rem; }

/* Funktionsseite */
.otx-filter { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 76px); z-index: 20; padding: 14px 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--otx-line); }
.otx-filter__inner { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.otx-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.otx-filter__label { font-weight: 700; font-size: .9375rem; color: var(--otx-ink-strong); margin-right: 4px; }
.otx-chip-btn { appearance: none; font: inherit; font-size: .9375rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--otx-line); background: #fff; color: var(--otx-ink); cursor: pointer; transition: all .2s; }
.otx-chip-btn:hover { border-color: var(--otx-terra); color: var(--otx-rust); }
.otx-chip-btn[aria-pressed="true"] { background: var(--otx-night); border-color: var(--otx-night); color: #fff; }
.otx-area { padding-block: clamp(48px, 6vw, 80px); }
.otx-area + .otx-area { border-top: 1px solid var(--otx-line); }
.otx-area__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: center; margin-bottom: 28px !important; max-width: 820px; }
.otx-area__head .otx-card__icon { grid-row: span 3; margin: 0; width: 56px; height: 56px; border-radius: 16px; align-self: start; }
.otx-area__label { font-weight: 700; font-size: .9375rem; color: var(--otx-rust); letter-spacing: .01em; }
.otx-area__head h2 { font-size: clamp(1.625rem, 2.4vw, 2rem); }
.otx-area__head p { color: var(--otx-steel); }
.otx-feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--otx-line); transition: opacity .3s, transform .3s var(--otx-ease), border-color .3s, box-shadow .3s; }
.otx-feature h3 { font-size: 1.125rem; line-height: 1.3; font-family: var(--otx-font-text); font-weight: 700; letter-spacing: 0; }
.otx-feature p:not(.otx-badge) { font-size: .9688rem; color: var(--otx-steel); line-height: 1.5; }
.otx-feature .otx-badge { align-self: flex-start; margin-top: auto !important; }
/* Rollenfilter: nur passende Funktionen, leere Bereiche und Ansichten ausgeblendet */
.otx-feature[hidden], .otx-area[hidden] { display: none !important; }
.otx-filter__count { font-size: .9375rem; color: var(--otx-steel); }
.otx-filtering .otx-area { padding-block: clamp(32px, 4vw, 48px); }
.otx-filtering .otx-area.is-cream { background: transparent; }
.otx-filtering .otx-area__visual { display: none; }
.otx-filtering .otx-area__top { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px !important; }
.otx-filtering .otx-area__head { margin-bottom: 24px !important; }

/* Bewerbungsseite */
.otx-apply { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.otx-apply__form { padding: clamp(16px, 2vw, 24px); border-radius: var(--otx-radius-l); background: #fff; border: 1px solid var(--otx-line); box-shadow: var(--otx-shadow-l); }
.otx-apply__aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.otx-apply__box { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--otx-radius); background: #fff; border: 1px solid var(--otx-line); }
.otx-apply__box :is(h2, h3) { font-size: 1.25rem; }
.otx-apply__box.is-dark { background: var(--otx-night); border-color: var(--otx-night); color: rgba(250, 248, 245, .82); }
.otx-apply__box.is-dark :is(h2, h3) { color: #fff; }
.otx-apply__box.is-dark a { color: var(--otx-hell); text-decoration: underline; text-underline-offset: 3px; }
.otx-numbered { list-style: none; padding: 0; counter-reset: otxn; display: flex; flex-direction: column; gap: 16px; }
.otx-numbered li { counter-increment: otxn; position: relative; padding-left: 44px; line-height: 1.5; color: var(--otx-steel); }
.otx-numbered li strong { display: block; color: var(--otx-ink-strong); }
.otx-numbered li::before { content: counter(otxn); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--otx-peach-soft); color: var(--otx-rust); font-weight: 700; font-size: .9375rem; }
.otx-form-frame iframe { display: block; width: 100%; border: 0; border-radius: 14px; background: #fff; }
.otx-form-fallback { font-size: .875rem; color: var(--otx-steel); margin-top: 12px !important; }
.otx-form-missing { padding: 28px; border-radius: 14px; background: var(--otx-sand); border: 1px dashed rgba(183, 65, 14, .35); display: flex; flex-direction: column; gap: 10px; }
.otx-form-missing__admin { font-size: .875rem; color: var(--otx-steel); }

/* Textseiten (Impressum, Datenschutz) */
.otx-text-page { padding: clamp(48px, 6vw, 88px) var(--otx-gutter) clamp(64px, 8vw, 112px); }
.otx-text-page__title { font-size: clamp(2.25rem, 4vw, 3.25rem); margin-bottom: 32px !important; }
.otx-text-page .wp-block-post-content > * + * { margin-top: 1em; }
.otx-text-page .wp-block-post-content h2 { font-size: 1.625rem; margin-top: 2em; }
.otx-text-page .wp-block-post-content h3 { font-size: 1.25rem; margin-top: 1.6em; }
.otx-text-page .wp-block-post-content :where(h2, h3) + * { margin-top: .5em; }
.otx-text-page .wp-block-post-content :where(ul, ol) { padding-left: 1.25em; }

/* Rechtliche Seiten (Impressum, Datenschutz) */
.otx-hero.is-legal { padding-block: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 48px); }
.otx-hero.is-legal .otx-hero__grid { max-width: 860px; }
.otx-hero.is-legal .otx-h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.otx-hero.is-legal .otx-hero__meta { padding-left: 0; }
.otx-hero.is-legal .otx-hero__meta::before { display: none; }
.otx-section.otx-legal { padding-top: clamp(8px, 2vw, 24px); }
.otx-legal a:not(.wp-block-button__link) { color: var(--otx-rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.otx-legal a:not(.wp-block-button__link):hover { color: var(--otx-rust-hover); }
.otx-legal :where(p, li) { font-size: 1.0625rem; line-height: 1.65; color: var(--otx-ink); }

.otx-legal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; }
.otx-legal-fact { padding: 24px 26px; background: var(--otx-white); border: 1px solid var(--otx-line); border-radius: 14px; }
.otx-legal-fact.is-wide { grid-column: 1 / -1; }
.otx-legal-fact h2 { font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; margin-bottom: 10px !important; }
.otx-legal-fact p + p { margin-top: 12px !important; }

.otx-legal__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 760px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.otx-legal__toc { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 104px); padding: 20px 22px; background: var(--otx-white); border: 1px solid var(--otx-line); border-radius: 14px; font-size: .9375rem; }
.otx-legal__toc-title { font-weight: 600; color: var(--otx-ink-strong); margin-bottom: 10px !important; }
.otx-legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.otx-legal__toc ol ol { gap: 6px; margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--otx-line-soft); }
.otx-legal__toc li { font-size: inherit; line-height: 1.4; }
.otx-legal__toc > ol > li > a { font-weight: 600; }
.otx-legal .otx-legal__toc a { color: var(--otx-ink); text-decoration: none; }
.otx-legal .otx-legal__toc a:hover { color: var(--otx-rust); text-decoration: underline; }
.otx-legal__toc ol ol a { color: var(--otx-steel); }

.otx-legal__part { scroll-margin-top: 104px; }
.otx-legal__part + .otx-legal__part { margin-top: clamp(40px, 5vw, 56px) !important; padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--otx-line); }
.otx-legal__part > h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; margin-bottom: 20px !important; }
.otx-legal__part > p + p, .otx-legal__item > * + * { margin-top: 14px !important; }
.otx-legal__item { scroll-margin-top: 104px; }
.otx-legal__item + .otx-legal__item { margin-top: 36px !important; }
.otx-legal__item h3 { font-size: 1.1875rem; line-height: 1.3; }
.otx-legal__address { padding: 18px 22px; background: var(--otx-white); border: 1px solid var(--otx-line); border-radius: 12px; }
.otx-legal__facts { list-style: none; padding: 0 0 0 18px; display: grid; gap: 12px; border-left: 2px solid var(--otx-dove); }
.otx-legal__notice { padding: 16px 20px; background: var(--otx-peach-soft); border-left: 3px solid var(--otx-rust); border-radius: 0 10px 10px 0; }

@media (max-width: 900px) {
	.otx-legal__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.otx-legal__toc { position: static; }
	.otx-legal__toc ol ol { display: none; }
	.otx-legal-facts { grid-template-columns: minmax(0, 1fr); }
}

/* 404 */
.otx-404 { text-align: center; }
.otx-404 .otx-section-head { margin-inline: auto; align-items: center; }


/* Ergänzungen */
.mk-amp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.otx-steps-grid { margin-top: clamp(40px, 5vw, 64px) !important; }
.otx-area.is-cream { background: var(--otx-cream); }
.otx-ptl.is-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.otx-split__text { display: flex; flex-direction: column; gap: 20px; }
.otx-results-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--otx-radius-l); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.otx-results { gap: 18px; font-size: 1.125rem; color: rgba(250, 248, 245, .9); }
.otx-roles-note { margin-top: 22px !important; }
.otx-roles-note.is-council { max-width: 860px; margin-top: 16px !important; padding: 16px 20px; background: var(--otx-white); border: 1px solid var(--otx-line); border-left: 3px solid var(--otx-rust); border-radius: 0 12px 12px 0; color: var(--otx-ink); }
.otx-roles-note.is-council strong { color: var(--otx-ink-strong); }
.otx-funding { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.otx-funding.is-band { max-width: none; gap: 24px; }
.otx-funding__text { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.otx-funding__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; }
.otx-funding__text p { color: var(--otx-steel); }
.otx-funding-section { background: #fff; }
.otx-hero.is-apply { padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.otx-apply-section { padding-top: 0 !important; }
.otx-example__text { display: flex; flex-direction: column; gap: 6px; }
.otx-example__text p { color: rgba(250, 248, 245, .82); }
.otx-cta__text .otx-eyebrow { color: var(--otx-peach); }
.otx-basis { gap: 14px; }

/* --------------------------------------------------------------------------
   Produktgrafiken (Oberfläche von OTRIX, Beispieldaten)
   -------------------------------------------------------------------------- */

.mk-window { position: relative; background: #fff; border-radius: 18px; border: 1px solid rgba(63, 80, 97, .12); box-shadow: 0 2px 6px rgba(39, 50, 60, .06), 0 40px 80px -32px rgba(39, 50, 60, .38); overflow: hidden; font-family: var(--otx-font-text); color: #27323C; text-align: left; }
.mk-window__bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: var(--mk-marine); color: #E0E3E6; font-size: 13px; font-weight: 600; }
.mk-window__bar span span { opacity: .55; margin: 0 4px; }
.mk-dots { display: inline-flex; gap: 6px; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.mk-dots i:first-child { background: var(--mk-signal); }
.mk-window__body { padding: 22px; }
.mk-sub { font-size: 12.5px; font-weight: 700; color: #5A6877; margin: 0 0 8px; }
.mk-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mk-marine); margin-bottom: 10px; }
.mk-label .otx-icon { width: 15px; height: 15px; }

.mk-pill { display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px; }
.mk-pill.is-ok { background: var(--mk-ok-bg); color: var(--mk-ok); }
.mk-pill.is-warn { background: var(--mk-warn-bg); color: var(--mk-warn); }
.mk-pill.is-wait, .mk-pill.is-neutral { background: var(--mk-wait-bg); color: var(--mk-wait); }
.mk-pill.is-bad { background: var(--mk-bad-bg); color: var(--mk-bad); }
.mk-pill.is-run { background: var(--mk-run-bg); color: var(--mk-run); }
.mk-pill.is-act { background: var(--mk-act-bg); color: var(--mk-act); }

.mk-mono { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
.mk-mono.is-a { background: var(--mk-marine-tint); color: var(--mk-marine); }
.mk-mono.is-b { background: var(--mk-ok-bg); color: var(--mk-ok); }
.mk-mono.is-c { background: var(--mk-warn-bg); color: var(--mk-warn); }
.mk-mono.is-d { background: #ECEEEF; color: #3F5061; }

.mk-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #F2F3F4; color: #3F5061; margin: 0 6px 6px 0; }
.mk-chip.is-bad { background: var(--mk-bad-bg); color: var(--mk-bad); }
.mk-chip.is-act { background: var(--mk-act-bg); color: var(--mk-act); }
.mk-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 9px 13px; border-radius: 9px; }
.mk-btn .otx-icon { width: 15px; height: 15px; }
.mk-btn.is-primary { background: var(--mk-marine); color: #fff; }
.mk-btn.is-ghost { background: #fff; color: var(--mk-marine); box-shadow: inset 0 0 0 1px #D1D5D9; }

/* Hero: KI-Kompass */
.mk-hero { position: relative; padding: 18px 26px 70px 0; }
.mk-window--hero .mk-window__body { padding: 24px 24px 22px; background: linear-gradient(180deg, #FAF8F5 0%, #fff 55%); }
.mk-k-hero { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px; align-items: center; margin-bottom: 18px; }
.mk-k-greet { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mk-k-hello { font-size: 13px; font-weight: 600; color: #5A6877; }
.mk-k-q { font-family: var(--otx-font-display); font-size: 21px; line-height: 1.2; color: #27323C; letter-spacing: -.01em; }
.mk-search { display: flex; align-items: center; gap: 10px; margin-top: 8px; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1.5px solid #D1D5D9; color: #27323C; font-size: 14px; box-shadow: 0 6px 18px -12px rgba(63, 80, 97, .5); }
.mk-search .otx-icon { width: 18px; height: 18px; color: var(--mk-marine); }
.mk-search--sm { height: 40px; font-size: 13px; margin: 0 0 14px; }
.mk-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-caret { width: 2px; height: 18px; background: var(--mk-signal); margin-left: -8px; animation: mk-blink 1s steps(1) infinite; }
.mk-answer { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #E2E5E7; font-size: 13px; line-height: 1.35; color: #3F5061; min-height: 40px; transition: opacity .35s, transform .35s var(--otx-ease); }
.mk-answer.is-hidden { opacity: 0; transform: translateY(6px); }
.mk-compass { width: 128px; height: 128px; overflow: visible; }
.mk-compass__halo { fill: none; stroke: #D1D5D9; stroke-width: 1; stroke-dasharray: 2 7; }
.mk-compass__face { fill: #fff; stroke: #D1D5D9; stroke-width: 1.5; }
.mk-compass__ticks line { stroke: #D1D5D9; stroke-width: 1.4; stroke-linecap: round; }
.mk-compass__ticks line.is-long { stroke: var(--mk-marine); stroke-width: 2.4; }
.mk-compass__n { font: 700 13px var(--otx-font-text); fill: var(--mk-marine); text-anchor: middle; }
.mk-needle { transform-origin: 100px 100px; transform: rotate(28deg); }
.mk-needle__n { fill: var(--mk-signal); }
.mk-needle__s { fill: var(--mk-marine); }
.mk-needle__hub { fill: #fff; stroke: var(--mk-marine); stroke-width: 3; }
.mk-k-block { padding-top: 14px; border-top: 1px solid #F0F1F2; }
.mk-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-tool { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid #E2E5E7; background: #fff; }
.mk-tool .mk-mono { grid-row: span 2; }
.mk-tool__name { font-weight: 700; font-size: 13.5px; color: #27323C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tool .mk-pill { justify-self: start; font-size: 11px; padding: 4px 7px; }
.mk-off { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #5A6877; }
.mk-off .otx-icon { width: 15px; height: 15px; color: var(--mk-bad); }
.mk-off .mk-chip { margin: 0; }
.mk-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; border: 1px solid rgba(63, 80, 97, .12); box-shadow: 0 24px 48px -20px rgba(39, 50, 60, .45); font-size: 13px; color: #27323C; max-width: 300px; }
.mk-float strong { display: block; font-size: 13.5px; }
.mk-float small { display: block; color: #5A6877; font-size: 12px; margin-top: 2px; }
.mk-float__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--mk-warn-bg); color: var(--mk-warn); flex: 0 0 auto; }
.mk-float__icon .otx-icon { width: 19px; height: 19px; }
.mk-float--toast { left: -34px; bottom: 0; }
.mk-float--check { right: -6px; top: -6px; }
.mk-float__ring { position: relative; width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; }
.mk-float__ring svg, .mk-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.mk-float__ring circle, .mk-ring circle { fill: none; stroke: #E2E5E7; stroke-width: 3.4; }
.mk-float__ring .mk-ring-val, .mk-ring .mk-ring-val { stroke: var(--mk-ok); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--val, 100)); }
.mk-float__ring b { font-size: 11px; color: var(--mk-ok); }

/* Mini-Ansichten (Zwei Blickwinkel) */
.mk-mini { border-radius: 16px; padding: 18px; font-family: var(--otx-font-text); }
.mk-mini--light { background: #FAF8F5; border: 1px solid #E2E5E7; color: #27323C; }
.mk-mini--dark { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #E0E3E6; }
.mk-amp-head, .mk-amp-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; }
.mk-amp-head { font-size: 11px; font-weight: 700; color: #5A6877; padding-bottom: 8px; text-align: center; line-height: 1.2; hyphens: manual; }
.mk-amp-row { padding: 8px 0; border-top: 1px solid #E2E5E7; justify-items: center; }
.mk-amp-tool { justify-self: start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; min-width: 0; }
.mk-amp-tool .mk-mono { width: 28px; height: 28px; border-radius: 8px; font-size: 10.5px; }
.mk-amp { display: inline-block; width: 18px; height: 18px; border-radius: 50%; position: relative; flex: 0 0 auto; }
.mk-amp.is-ok { background: var(--mk-ok); }
.mk-amp.is-ok::after { content: ""; position: absolute; inset: 4px; background: #fff; -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='4' 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='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-amp.is-part { background: conic-gradient(var(--mk-warn) 0 50%, #F3D9A3 50% 100%); }
.mk-amp.is-no { background: var(--mk-bad-bg); box-shadow: inset 0 0 0 2px var(--mk-bad); }
.mk-amp.is-no::after { content: ""; position: absolute; inset: 5px; background: var(--mk-bad); -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='4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%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='4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-amp-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 11.5px; color: #5A6877; }
.mk-amp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mk-amp-legend .mk-amp { width: 12px; height: 12px; }
.mk-amp-legend .mk-amp::after { display: none; }
.mk-focus { font-family: var(--otx-font-display); font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.mk-focus b { color: var(--otx-peach); font-size: 26px; }
.mk-chips { margin-bottom: 8px; }
.mk-mini--dark .mk-chip { background: rgba(255, 255, 255, .08); color: #E0E3E6; }
.mk-mini--dark .mk-chip.is-bad { background: rgba(180, 35, 24, .3); color: #F5C2BD; }
.mk-mini--dark .mk-chip.is-act { background: rgba(250, 248, 245, .16); color: var(--otx-hell); box-shadow: inset 0 0 0 1px rgba(250, 248, 245, .35); }
.mk-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.mk-stage { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.mk-stage b { font-family: var(--otx-font-display); font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }
.mk-stage span { font-size: 11.5px; color: rgba(250, 248, 245, .8); }

/* Verbindungsband */
.mk-flow { display: flex; flex-direction: column; gap: 8px; min-width: 300px; }
.mk-flow__lane { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--otx-ink); }
.mk-flow__label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mk-flow__label .otx-icon { width: 15px; height: 15px; color: var(--otx-rust); }
.mk-flow__track { position: relative; flex: 1 1 auto; min-width: 70px; height: 2px; background: repeating-linear-gradient(90deg, rgba(183, 65, 14, .35) 0 6px, transparent 6px 11px); overflow: visible; }
.mk-flow__track i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--otx-rust); opacity: 0; }
.otx-anim.is-inview .mk-flow__lane.is-right .mk-flow__track i { animation: mk-travel-r 2.6s linear infinite; }
.otx-anim.is-inview .mk-flow__lane.is-left .mk-flow__track i { animation: mk-travel-l 2.6s linear infinite; background: var(--mk-marine); }
.mk-flow__track i:nth-child(2) { animation-delay: .85s !important; }
.mk-flow__track i:nth-child(3) { animation-delay: 1.7s !important; }

/* Kreislauf */
.mk-cycle { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 3fr); gap: 22px; align-items: stretch; }
.mk-cycle__hub { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 26px 20px; border-radius: 22px; background: radial-gradient(240px 200px at 50% 20%, rgba(250, 248, 245, .12), transparent 70%), var(--otx-night); color: rgba(250, 248, 245, .82); }
.mk-cycle__hub strong { font-family: var(--otx-font-display); font-size: 1.5rem; color: #fff; }
.mk-cycle__hub span { font-size: .9375rem; line-height: 1.45; max-width: 220px; }
.mk-compass--hub { width: 120px; height: 120px; }
.mk-compass--hub .mk-compass__face { fill: #32404E; stroke: rgba(255, 255, 255, .15); }
.mk-compass--hub .mk-compass__halo { stroke: rgba(255, 255, 255, .2); }
.mk-compass--hub .mk-compass__ticks line { stroke: rgba(255, 255, 255, .3); }
.mk-compass--hub .mk-compass__ticks line.is-long { stroke: #fff; }
.mk-compass--hub .mk-compass__n { fill: #fff; }
.mk-compass--hub .mk-needle__s { fill: #E0E3E6; }
.mk-compass--hub .mk-needle__hub { fill: #32404E; stroke: #fff; }
.mk-cycle__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 44px 40px; }
.mk-step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--otx-line); box-shadow: var(--otx-shadow); transition: border-color .5s, box-shadow .5s, transform .5s var(--otx-ease); }
.mk-step--4 { grid-column: 3; grid-row: 2; }
.mk-step--5 { grid-column: 2; grid-row: 2; }
.mk-step--6 { grid-column: 1; grid-row: 2; }
.mk-step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.mk-step__head .otx-icon { width: 22px; height: 22px; color: var(--otx-steel); transition: color .4s; }
.mk-step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--otx-mist); font-weight: 800; font-size: 14px; color: var(--otx-ink-strong); transition: background-color .4s, color .4s; }
.mk-step strong { font-family: var(--otx-font-display); font-size: 1.25rem; color: var(--otx-ink-strong); }
.mk-step__text { font-size: .9375rem; color: var(--otx-steel); line-height: 1.45; }
.mk-step em { font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--otx-rust); margin-top: 4px; }
.mk-step::after { content: ""; position: absolute; width: 22px; height: 22px; background: var(--otx-dove); -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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 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='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-step--1::after, .mk-step--2::after { right: -32px; top: 50%; transform: translateY(-50%); }
.mk-step--3::after { left: 50%; bottom: -34px; transform: translateX(-50%) rotate(90deg); }
.mk-step--4::after, .mk-step--5::after { left: -32px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.mk-step--6::after { left: -32px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.mk-step.is-active { border-color: var(--otx-rust); box-shadow: 0 0 0 5px rgba(183, 65, 14, .1), var(--otx-shadow-l); transform: translateY(-3px); }
.mk-step.is-active .mk-step__num { background: var(--otx-rust); color: #fff; }
.mk-step.is-active .mk-step__head .otx-icon { color: var(--otx-rust); }

/* Panels der Tabs */
.mk-panel { position: relative; }
.mk-panel .mk-window__body { padding: 22px 24px; }
.mk-drawer__head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.mk-drawer__head .mk-mono { width: 46px; height: 46px; font-size: 15px; border-radius: 13px; }
.mk-drawer__head strong { display: block; font-family: var(--otx-font-display); font-size: 19px; color: #27323C; }
.mk-drawer__head span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #5A6877; margin-top: 4px; }
.mk-amp-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; border: 1px solid #E2E5E7; border-radius: 12px; overflow: hidden; }
.mk-amp-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 42%); gap: 10px; align-items: center; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.mk-amp-list li + li { border-top: 1px solid #F0F1F2; }
.mk-amp-list small { font-weight: 500; color: #5A6877; font-size: 12px; text-align: right; }
.mk-rules { margin: 0 0 16px; padding-left: 20px; font-size: 13.5px; color: #3F5061; display: flex; flex-direction: column; gap: 6px; }
.mk-drawer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #F0F1F2; }
.mk-person { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mk-person b { display: block; }
.mk-person small { color: #5A6877; font-size: 12px; }

.mk-assess__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.mk-assess__head small { display: block; font-size: 12px; color: #5A6877; }
.mk-assess__head strong { display: block; font-family: var(--otx-font-display); font-size: 18px; margin-top: 4px; }
.mk-chk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid #E2E5E7; border-radius: 12px; overflow: hidden; }
.mk-chk li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 12px; font-size: 13.5px; font-weight: 600; }
.mk-chk li + li { border-top: 1px solid #F0F1F2; }
.mk-chk small { display: block; font-weight: 500; font-size: 11.5px; color: #5A6877; }
.mk-chk__num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #F2F3F4; font-size: 11.5px; font-weight: 800; color: #3F5061; }
.mk-question { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mk-act-bg); color: #27323C; font-size: 13px; line-height: 1.45; }
.mk-question .otx-icon { width: 18px; height: 18px; color: var(--mk-act); margin-top: 1px; }
.mk-question b { display: block; color: var(--mk-act); }

.mk-case__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mk-case__head .mk-pill { align-self: flex-start; }
.mk-case__head small { font-size: 12px; color: #5A6877; }
.mk-case__head strong { font-family: var(--otx-font-display); font-size: 19px; }
.mk-callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--mk-marine-tint); color: #27323C; font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
.mk-callout .otx-icon { width: 17px; height: 17px; color: var(--mk-marine); margin-top: 1px; }
.mk-callout b { display: block; }
.mk-reviews { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mk-reviews li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3F5061; padding: 10px 12px; border: 1px solid #E2E5E7; border-radius: 10px; }
.mk-reviews .otx-icon { width: 17px; height: 17px; color: var(--mk-ok); margin-top: 1px; }
.mk-reviews b { display: block; color: #27323C; }
.mk-conditions { margin-bottom: 8px; }
.mk-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #F0F1F2; }
.mk-done { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: var(--mk-ok-bg); color: var(--mk-ok); font-size: 13px; font-weight: 700; }
.mk-done .otx-icon { width: 17px; height: 17px; }

.mk-risk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.mk-risk__matrix { position: relative; padding: 0 0 22px 22px; }
.mk-matrix { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; aspect-ratio: 1; }
.mk-matrix i { border-radius: 6px; }
.mk-matrix .lv-1 { background: #D7EFE1; }
.mk-matrix .lv-2 { background: #F6E7B8; }
.mk-matrix .lv-3 { background: #ECCEC0; }
.mk-matrix .lv-4 { background: #F2A59D; }
.mk-dot { position: absolute; display: grid; place-items: center; width: 20%; aspect-ratio: 1; font-size: 10.5px; font-weight: 800; border-radius: 50%; transform: scale(.66); }
.mk-dot.is-before { left: 60%; top: 20%; background: var(--mk-bad); color: #fff; box-shadow: 0 0 0 4px rgba(180, 35, 24, .2); }
.mk-dot.is-after { left: 20%; top: 60%; background: var(--mk-ok); color: #fff; box-shadow: 0 0 0 4px rgba(31, 107, 69, .2); }
.mk-axis { position: absolute; font-size: 11px; font-weight: 700; color: #5A6877; }
.mk-axis.is-x { bottom: 0; left: 22px; right: 0; text-align: center; }
.mk-axis.is-y { left: -2px; top: 0; bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.mk-risk__side { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.mk-risk__side > small { color: #5A6877; font-weight: 600; }
.mk-risk__levels { display: flex; align-items: center; gap: 8px; }
.mk-risk__levels .otx-icon { width: 16px; height: 16px; color: #5A6877; }
.mk-risk__levels small { color: #5A6877; }
.mk-measures { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mk-measures li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid #E2E5E7; color: #5A6877; }
.mk-measures b { display: block; color: #27323C; }
.mk-measures .otx-icon { width: 17px; height: 17px; margin-top: 1px; }
.mk-measures .is-done .otx-icon { color: var(--mk-ok); }
.mk-measures .is-open .otx-icon { color: var(--mk-run); }
.mk-accept { display: flex; align-items: center; gap: 8px; color: var(--mk-ok); font-weight: 700; margin: 0; }
.mk-accept .otx-icon { width: 17px; height: 17px; }

.mk-steer .mk-focus { color: #27323C; }
.mk-steer .mk-focus b { color: var(--mk-signal); }
.mk-stages--line { grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; margin: 6px 0 16px; }
.mk-stages--line .mk-stage { background: #FAF8F5; border: 1px solid #E2E5E7; }
.mk-stages--line .mk-stage b { color: #27323C; font-size: 22px; }
.mk-stages--line .mk-stage span { color: #5A6877; font-size: 11px; line-height: 1.25; }
.mk-lead-cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.mk-lead-card { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid #E2E5E7; font-size: 12.5px; color: #5A6877; }
.mk-lead-card strong { display: block; color: #27323C; font-size: 13.5px; }
.mk-ring { position: relative; flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; grid-template-columns: auto auto; align-content: center; justify-content: center; column-gap: 1px; }
.mk-ring b { font-size: 14px; color: var(--mk-ok); font-variant-numeric: tabular-nums; }
.mk-ring i { font-style: normal; font-size: 10px; color: var(--mk-ok); font-weight: 700; }
.mk-lead-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--mk-marine-tint); color: var(--mk-marine); flex: 0 0 auto; }
.mk-lead-card__icon .otx-icon { width: 20px; height: 20px; }

/* Anwendungsbeispiel: Zustände */
.mk-story { position: relative; }
.mk-window--story .mk-window__body { position: relative; min-height: 330px; padding: 24px; }
.mk-story__state { position: absolute; inset: 24px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s var(--otx-ease); pointer-events: none; }
.mk-story[data-step="1"] [data-state="1"], .mk-story[data-step="2"] [data-state="2"], .mk-story[data-step="3"] [data-state="3"], .mk-story[data-step="4"] [data-state="4"], .mk-story[data-step="5"] [data-state="5"], .mk-story[data-step="6"] [data-state="6"] { opacity: 1; transform: none; pointer-events: auto; }
.mk-story__state .mk-sub { margin: 0; }
.mk-story__state > .mk-pill { align-self: flex-start; }
.mk-story__state .mk-btn { align-self: flex-start; }
.mk-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mk-progress i { height: 6px; border-radius: 6px; background: #E2E5E7; }
.mk-progress i.is-done { background: var(--mk-marine); }
.mk-progress i.is-now { background: var(--mk-signal); }
.mk-field { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid #E2E5E7; font-size: 13.5px; }
.mk-field small { font-size: 11.5px; font-weight: 700; color: #5A6877; }
.mk-field strong { font-size: 14px; }
.mk-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.mk-mini-list li { display: flex; align-items: center; gap: 10px; }
.mk-notify { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--mk-warn-bg); color: #5C3C00; font-size: 13px; }
.mk-notify .otx-icon { width: 18px; height: 18px; margin-top: 1px; }
.mk-notify b { display: block; }
.mk-story__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.mk-story__dots i { width: 8px; height: 8px; border-radius: 8px; background: var(--otx-dove); transition: width .35s var(--otx-ease), background-color .35s; }
.mk-story[data-step="1"] .mk-story__dots i:nth-child(1), .mk-story[data-step="2"] .mk-story__dots i:nth-child(2), .mk-story[data-step="3"] .mk-story__dots i:nth-child(3), .mk-story[data-step="4"] .mk-story__dots i:nth-child(4), .mk-story[data-step="5"] .mk-story__dots i:nth-child(5), .mk-story[data-step="6"] .mk-story__dots i:nth-child(6) { width: 26px; background: var(--otx-rust); }
.mk-pulse { animation: mk-pulse 2s ease-in-out infinite; }

/* Rollen */
.mk-roles { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.mk-roles__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-roles__rings circle { fill: none; stroke: rgba(63, 80, 97, .16); stroke-width: 1.5; stroke-dasharray: 3 8; }
.otx-anim.is-inview .mk-roles__rings circle:first-child { animation: mk-spin 60s linear infinite; transform-origin: 200px 200px; }
.mk-roles__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #526271, var(--otx-night)); box-shadow: 0 30px 60px -24px rgba(39, 50, 60, .6), 0 0 0 10px rgba(250, 248, 245, .12); align-content: center; }
.mk-roles__hub strong { font-family: var(--otx-font-display); font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: #fff; letter-spacing: .02em; }
.mk-roles__hub small { color: var(--otx-peach); font-size: 12px; font-weight: 600; }
.mk-role { --a: calc(360deg / var(--n) * var(--i) - 90deg); position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--otx-line); box-shadow: var(--otx-shadow); font-size: 13px; white-space: nowrap; transform: translate(-50%, -50%) rotate(var(--a)) translate(min(37.5vw, 172px)) rotate(calc(-1 * var(--a))); }
.mk-role .otx-icon { width: 17px; height: 17px; color: var(--otx-rust); }
.mk-role b { font-weight: 700; color: var(--otx-ink-strong); }

/* Pilot: Zeitplan */
.mk-window--pilot .mk-window__body { display: flex; flex-direction: column; gap: 16px; }
.mk-gantt__months, .mk-gantt__row { display: grid; grid-template-columns: 112px repeat(4, minmax(0, 1fr)); align-items: center; }
.mk-gantt__months span { font-size: 12px; font-weight: 700; color: #5A6877; padding-left: 6px; border-left: 1px solid #F0F1F2; }
.mk-gantt__months span:first-child { border: 0; }
.mk-gantt__row { padding: 7px 0; font-size: 13px; font-weight: 600; color: #3F5061; }
.mk-gantt__track { position: relative; grid-column: 2 / span 4; height: 24px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #F0F1F2 calc(25% - 1px) 25%); border-radius: 6px; }
.mk-gantt__track i { position: absolute; top: 3px; bottom: 3px; left: calc(var(--s) * 25% + 3px); width: calc(var(--l) * 25% - 6px); border-radius: 6px; transform-origin: left center; }
.mk-gantt__track i.is-a { background: var(--mk-signal); }
.mk-gantt__track i.is-b { background: var(--otx-dove); }
.mk-gantt__track i.is-c { background: var(--mk-marine); }
.mk-gantt__track i.is-d { background: var(--mk-ok); }
.mk-setup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #FAF8F5; border: 1px solid #E2E5E7; font-size: 13px; }
.mk-setup strong { display: block; color: #27323C; }
.mk-setup small { color: #5A6877; font-size: 12px; }
.mk-setup__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mk-marine-tint); color: var(--mk-marine); }
.mk-setup__icon .otx-icon { width: 20px; height: 20px; }
.mk-setup__bar { grid-column: 2; height: 6px; border-radius: 6px; background: #E2E5E7; overflow: hidden; }
.mk-setup__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mk-ok), #3FA06C); border-radius: 6px; transform-origin: left; }

/* Über OTRIX: Kompass mit Grundsätzen */
.mk-principles { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.mk-compass--big { width: 62%; height: auto; filter: drop-shadow(0 30px 50px rgba(39, 50, 60, .18)); }
.mk-orbit-label { position: absolute; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--otx-line); box-shadow: var(--otx-shadow); font-weight: 700; font-size: 14px; color: var(--otx-ink-strong); white-space: nowrap; }
.mk-orbit-label.is-0 { top: 4%; left: 50%; transform: translateX(-50%); }
.mk-orbit-label.is-1 { right: 0; top: 50%; transform: translateY(-50%); }
.mk-orbit-label.is-2 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.mk-orbit-label.is-3 { left: 0; top: 50%; transform: translateY(-50%); }

/* So funktioniert: Fall */
.mk-track { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mk-track li { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; font-weight: 700; color: #5A6877; }
.mk-track i { height: 6px; border-radius: 6px; background: var(--mk-ok); transform-origin: left; }
.mk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-facts span { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 10px; background: #FAF8F5; border: 1px solid #E2E5E7; font-size: 13px; font-weight: 700; color: #27323C; }
.mk-facts small { font-size: 11px; font-weight: 700; color: #5A6877; }
.mk-log__title { margin: 16px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5A6877; }
.mk-log { list-style: none; margin: 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 9px; border-left: 2px solid #E2E5E7; }
.mk-log li { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 12.5px; color: #27323C; }
.mk-log li::before { content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--mk-ok); }
.mk-log li:last-child::before { background: var(--mk-ok); }
.mk-log b { font-weight: 700; }
.mk-log span { color: #5A6877; }
.mk-panel.is-inview .mk-log li { animation: otx-pop .5s var(--otx-ease) both; animation-delay: calc(1700ms + var(--i, 0) * 220ms); }
.otx-js .mk-panel:not(.is-inview) .mk-log li { opacity: 0; }

/* --------------------------------------------------------------------------
   Animationen
   -------------------------------------------------------------------------- */

@keyframes otx-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Einzelne Transform-Eigenschaften, damit vorhandene transform-Positionen (z. B. Rollen im Kreis) erhalten bleiben. */
@keyframes otx-pop { 0% { opacity: 0; translate: 0 10px; scale: .94; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes otx-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(46, 157, 99, .15); } 50% { box-shadow: 0 0 0 8px rgba(46, 157, 99, .05); } }
@keyframes mk-blink { 50% { opacity: 0; } }
@keyframes mk-needle { 0% { transform: rotate(-120deg); } 55% { transform: rotate(48deg); } 75% { transform: rotate(20deg); } 100% { transform: rotate(28deg); } }
@keyframes mk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mk-slide-in-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes mk-slide-in-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes mk-ring { from { stroke-dashoffset: 100; } }
@keyframes mk-travel-r { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes mk-travel-l { 0% { left: calc(100% - 8px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes mk-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mk-dot-move { 0% { left: 60%; top: 20%; background: var(--mk-bad); } 100% { left: 20%; top: 60%; background: var(--mk-ok); } }
@keyframes mk-press { 0%, 70%, 100% { transform: none; box-shadow: none; } 80% { transform: scale(.95); box-shadow: 0 0 0 6px rgba(63, 80, 97, .2); } }
@keyframes mk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 80, 97, .35); } 50% { box-shadow: 0 0 0 8px rgba(63, 80, 97, 0); } }
@keyframes mk-spin { to { transform: rotate(360deg); } }

/* Einblenden beim Scrollen */
.otx-js .otx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--otx-ease), transform .8s var(--otx-ease); transition-delay: var(--d, 0ms); }
.otx-js .otx-reveal.is-visible { opacity: 1; transform: none; }

/* Hero-Grafik */
.otx-js .mk-hero:not(.is-inview) .mk-window, .otx-js .mk-hero:not(.is-inview) .mk-float { opacity: 0; }
.mk-hero.is-inview .mk-window { animation: otx-pop .9s var(--otx-ease) both; }
.mk-hero.is-inview .mk-needle, .otx-anim.is-inview .mk-needle { animation: mk-needle 1.4s cubic-bezier(.3, .6, .3, 1) .35s both; }
.mk-hero.is-inview .mk-tool { animation: otx-pop .6s var(--otx-ease) both; animation-delay: calc(700ms + var(--i) * 110ms); }
.mk-hero.is-inview .mk-float--check { animation: mk-slide-in-r .7s var(--otx-ease) 1.3s both, mk-float 6s ease-in-out 2.2s infinite; }
.mk-hero.is-inview .mk-float--toast { animation: mk-slide-in-l .7s var(--otx-ease) 1.8s both, mk-float 7s ease-in-out 2.6s infinite; }
.otx-anim.is-inview .mk-float__ring .mk-ring-val, .otx-anim.is-inview .mk-ring .mk-ring-val { animation: mk-ring 1.6s var(--otx-ease) .4s both; }

/* Mini-Ansichten */
.otx-js .mk-mini:not(.is-inview) .mk-amp-row, .otx-js .mk-mini:not(.is-inview) .mk-stage { opacity: 0; }
.mk-mini.is-inview .mk-amp-row, .mk-mini.is-inview .mk-stage { animation: otx-pop .55s var(--otx-ease) both; animation-delay: calc(250ms + var(--i) * 120ms); }

/* Kreislauf */
.otx-js .mk-cycle:not(.is-inview) .mk-step { opacity: 0; }
.mk-cycle.is-inview .mk-step { animation: otx-pop .6s var(--otx-ease) both; animation-delay: calc(var(--i) * 110ms); }

/* Panels */
.otx-js .mk-panel:not(.is-inview) .mk-window { opacity: 0; transform: translateY(20px); }
.mk-panel .mk-window { transition: opacity .7s var(--otx-ease), transform .7s var(--otx-ease); }
.mk-panel.is-inview .mk-amp-list li, .mk-panel.is-inview .mk-chk li, .mk-panel.is-inview .mk-reviews li, .mk-panel.is-inview .mk-gantt__row { animation: otx-pop .5s var(--otx-ease) both; animation-delay: calc(300ms + var(--i, 0) * 130ms); }
.mk-panel.is-inview .mk-chk li .mk-pill { animation: otx-pop .4s var(--otx-ease) both; animation-delay: calc(500ms + var(--i, 0) * 130ms); }
.mk-panel.is-inview .mk-question { animation: otx-fade-up .5s var(--otx-ease) 1.6s both; }
.mk-panel.is-inview .mk-press { animation: mk-press 3.2s ease-in-out 1.2s infinite; }
.mk-panel.is-inview .mk-done { animation: otx-fade-up .5s var(--otx-ease) 1.9s both; }
.mk-panel.is-inview .mk-dot.is-before { animation: mk-dot-move 1.6s var(--otx-ease) .8s both; }
.otx-js .mk-panel:not(.is-inview) .mk-dot.is-after { opacity: 0; }
.mk-panel.is-inview .mk-dot.is-after { animation: otx-pop .5s var(--otx-ease) 2.3s both; }
.mk-panel.is-inview .mk-dot.is-before { z-index: 1; }
.mk-panel.is-inview .mk-gantt__track i { animation: mk-grow .8s var(--otx-ease) both; animation-delay: calc(500ms + var(--i, 0) * 160ms); }
.mk-gantt__row .mk-gantt__track i { --i: inherit; }
.mk-panel.is-inview .mk-setup__bar i { animation: mk-grow 2.4s var(--otx-ease) 1.2s both; }
.mk-panel.is-inview .mk-track i { animation: mk-grow .6s var(--otx-ease) both; animation-delay: calc(400ms + var(--i, 0) * 260ms); }
.mk-track li i { --i: inherit; }

/* Rollen */
.otx-js .mk-roles:not(.is-inview) .mk-role { opacity: 0; }
.mk-roles.is-inview .mk-role { animation: otx-pop .55s var(--otx-ease) both; animation-delay: calc(200ms + var(--i) * 110ms); }

/* Grundsätze */
.otx-js .mk-principles:not(.is-inview) .mk-orbit-label { opacity: 0; }
.mk-principles.is-inview .mk-orbit-label { animation: otx-pop .55s var(--otx-ease) both; animation-delay: calc(900ms + var(--i) * 150ms); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.otx-js .otx-reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.mk-flow__track i { display: none; }
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.otx-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-trust__item:nth-child(3) { border-left: 0; }
	.otx-trust__item:nth-child(n+3) { border-top: 1px solid var(--otx-line-soft); }
	.otx-trust__grid.is-8 .otx-trust__item:nth-child(7) { border-left: 0; }
	.otx-trust__grid.is-8 .otx-trust__item:nth-child(even) { border-left: 1px solid var(--otx-line-soft); }
	.otx-grid.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.otx-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-ptl.is-6 { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-left: 46px; max-width: 720px; }
	.otx-ptl.is-6::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--otx-dove) 0 8px, transparent 8px 14px); }
	.otx-ptl.is-6 .otx-ptl__item { padding-top: 0; }
	.otx-ptl.is-6 .otx-ptl__item::before { left: -46px; }
	.otx-ptl.is-6 .otx-ptl__item::after { left: -37px; }
	.mk-cycle { grid-template-columns: minmax(0, 1fr); }
	.mk-cycle__hub { flex-direction: row; text-align: left; justify-content: flex-start; }
	.mk-cycle__hub span { max-width: none; }
	.mk-compass--hub { width: 84px; height: 84px; }
	.otx-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.otx-footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 1024px) {
	.otx-hero__grid, .otx-split, .otx-pilot-band, .otx-story, .otx-faq-wrap, .otx-tab-panel, .otx-apply { grid-template-columns: minmax(0, 1fr); }
	.otx-split.is-reverse > :first-child { order: 0; }
	.mk-hero { max-width: 640px; margin-inline: auto; padding-right: 0; }
	.mk-float--toast { left: -8px; }
	.otx-faq-wrap .otx-section-head, .otx-story__visual, .otx-apply__aside { position: static; }
	.otx-story__visual { order: 0; }
	.otx-story__steps { padding-block: 0; }
	.otx-story__step { opacity: 1; }
	.otx-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-law__track { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 40px; gap: 22px; }
	.otx-law__track::before { left: 9px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
	.otx-law__track::after { left: 9px; top: 0; width: 4px; height: var(--otx-today, 0%); transition-property: height; }
	.otx-js .otx-law:not(.is-visible) .otx-law__track::after { height: 0; width: 4px; }
	.otx-law__item::before { top: 2px; left: -40px; }
	.otx-law__today { left: 11px !important; top: var(--otx-today, 0%); transform: translate(-50%, -50%); }
	.otx-ptl, .otx-ptl.is-6 { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-left: 46px; }
	.otx-ptl::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--otx-dove) 0 8px, transparent 8px 14px); }
	.otx-ptl__item { padding-top: 0; }
	.otx-ptl__item::before { left: -46px; }
	.otx-ptl__item::after { left: -37px; }
	.otx-cta__box { grid-template-columns: minmax(0, 1fr); }
	.otx-cta__art { display: none; }
	.otx-features-strip, .otx-features-strip.is-4 { grid-template-columns: minmax(0, 1fr); }
	.otx-duo__flow { grid-template-columns: minmax(0, 1fr); }
	.mk-flow { min-width: 0; }
}

/* Kopfbereich: Unter 1080 px passt die Navigation nicht mehr in eine Zeile.
   Der Navigationsblock klappt von sich aus erst unter 600 px ein, deshalb wird das Menü hier früher eingeklappt. */
@media (max-width: 1080px) {
	.otx-header .wp-block-navigation { order: 3; flex: 0 0 auto; }
	.otx-header .wp-block-buttons { margin-left: auto; }
	.otx-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.otx-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

@media (max-width: 900px) {
	.otx-header__inner { gap: 12px; min-height: 66px; }
	.otx-logo img { height: 38px; }
	.otx-logo__svg { height: 40px; }
	.otx-header .wp-block-button__link { padding: .65rem .9rem; font-size: .9375rem; }
	.otx-filter { top: calc(var(--wp-admin--admin-bar--height, 0px) + 66px); }
	.otx-duo__grid { grid-template-columns: minmax(0, 1fr); }
	.mk-cycle__steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.mk-step--4, .mk-step--5, .mk-step--6 { grid-column: auto; grid-row: auto; }
	.mk-step::after { left: 50% !important; right: auto !important; top: auto !important; bottom: -25px !important; transform: translateX(-50%) rotate(90deg) !important; width: 18px; height: 18px; }
	.mk-step--6::after { display: none; }
	.otx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-footer__funding { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.otx-grid.is-5.is-5-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-grid.is-5.is-5-split > *, .otx-grid.is-5.is-5-split > :nth-child(n+4) { grid-column: auto; }
	.otx-grid.is-5.is-5-split > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.otx-grid.is-2, .otx-grid.is-3, .otx-grid.is-4, .otx-grid.is-5, .otx-grid.is-5.is-5-split { grid-template-columns: minmax(0, 1fr); }
	.mk-hero { padding-top: 50px !important; }
	.mk-float { max-width: 240px; padding: 8px 12px 8px 8px; gap: 9px; }
	.mk-float small { display: none; }
	.mk-float__ring { width: 34px; height: 34px; }
	.mk-float__icon { width: 32px; height: 32px; }
	.mk-float--check { top: 0; right: 0; }
	.mk-float--toast { left: 0; bottom: 8px; }
	.mk-flow__lane { font-size: 12px; gap: 8px; }
	.mk-flow__label { white-space: normal; }
	.mk-flow__track { min-width: 24px; }
	.mk-track li { font-size: 9.5px; gap: 6px; }
	.mk-track span { overflow-wrap: anywhere; hyphens: auto; }
	.mk-facts { grid-template-columns: minmax(0, 1fr); }
	.mk-facts span { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 8px 10px; }
	.otx-trust__grid { grid-template-columns: minmax(0, 1fr); }
	.otx-trust__item + .otx-trust__item { border-left: 0; border-top: 1px solid var(--otx-line-soft); }
	/* acht Merkmale und acht Rollen: auf dem Telefon zweispaltig, damit die Seite kürzer bleibt */
	.otx-trust__grid.is-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otx-trust__grid.is-8 .otx-trust__item { flex-direction: column; gap: 8px; padding: 16px 14px; border-left: 0; border-top: 0; }
	.otx-trust__grid.is-8 .otx-trust__item:nth-child(even) { border-left: 1px solid var(--otx-line-soft); }
	.otx-trust__grid.is-8 .otx-trust__item:nth-child(n+3) { border-top: 1px solid var(--otx-line-soft); }
	.otx-trust__grid.is-8 .otx-trust__item p { font-size: .875rem; }
	.otx-trust__grid.is-8 .otx-trust__item strong { font-size: .9375rem; }
	.otx-grid.is-4.is-compact-m { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.otx-grid.is-compact-m .otx-card { padding: 18px 16px; gap: 8px; }
	.otx-grid.is-compact-m .otx-card__icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 2px; }
	.otx-grid.is-compact-m .otx-card__title { font-size: 1.0625rem; }
	.otx-grid.is-compact-m .otx-card__text { font-size: .9375rem; line-height: 1.5; }
	.mk-hero { padding: 26px 0 64px; }
	.mk-k-hero { grid-template-columns: minmax(0, 1fr); }
	.mk-k-hero .mk-compass { display: none; }
	.mk-tools { grid-template-columns: minmax(0, 1fr); }
	.mk-tools .mk-tool:nth-child(n+3) { display: none; }
	.mk-float { max-width: 250px; padding: 10px 12px 10px 10px; }
	.mk-float--check { right: -4px; top: -4px; }
	.mk-float--toast { left: 0; bottom: 6px; }
	.mk-window__body, .mk-panel .mk-window__body { padding: 16px; }
	.mk-risk { grid-template-columns: minmax(0, 1fr); }
	.mk-stages--line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mk-stages--line .mk-stage:nth-child(n+4) { display: none; }
	.mk-lead-cards { grid-template-columns: minmax(0, 1fr); }
	.mk-actions .mk-btn.is-ghost:first-child { display: none; }
	.mk-role { font-size: 11.5px; padding: 6px 9px 6px 8px; gap: 5px; transform: translate(-50%, -50%) rotate(var(--a)) translate(36vw) rotate(calc(-1 * var(--a))); }
	.mk-role .otx-icon { width: 14px; height: 14px; }
	.mk-orbit-label { font-size: 12px; padding: 7px 10px; }
	.mk-gantt__months, .mk-gantt__row { grid-template-columns: 88px repeat(4, minmax(0, 1fr)); }
	.otx-tabs__list { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.otx-tabs__btn { white-space: nowrap; padding: 10px 14px; }
	.otx-footer__top { grid-template-columns: minmax(0, 1fr); }
	.otx-example { grid-template-columns: minmax(0, 1fr); }
	.otx-faq .wp-block-details > p { padding-right: 0; }
	.otx-filter { padding: 10px 0; }
	.otx-filter__inner { display: block; }
	.otx-filter__count { margin-top: 6px !important; font-size: .8125rem; }
	.otx-filter__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--otx-gutter)); padding-inline: var(--otx-gutter); scroll-padding-inline: var(--otx-gutter); }
	.otx-filter__chips::-webkit-scrollbar { display: none; }
	.otx-filter__chips > * { flex: 0 0 auto; }
	.mk-cycle__hub { flex-direction: column; text-align: center; }
	.mk-amp-head, .mk-amp-row { grid-template-columns: 44px repeat(4, minmax(0, 1fr)); }
	.mk-amp-name { display: none; }
	.mk-amp-head span { font-size: 10px; }
	.otx-pilot-band .otx-ptl__item { grid-template-columns: minmax(0, 1fr); }
	.otx-pilot-band .otx-ptl__date { grid-row: auto; }
}

@media (max-width: 440px) {
	.otx-header__inner { gap: 8px; padding-inline: 16px; }
	.otx-logo img { height: 32px; }
	.otx-logo__svg { height: 36px; }
	.otx-logo__word { font-size: 24px; }
	.otx-logo__tag { font-size: 10.5px; }
	.otx-header .wp-block-button__link { font-size: 0; padding: .6rem .85rem; gap: 0; }
	.otx-header .wp-block-button__link::before { content: "Bewerben"; font-size: .9375rem; }
}

/* =========================================================================
   Ansichten aus OTRIX (seit 1.1.0): echte Oberflächen mit Beispieldaten,
   Markierungen, Szenen-Player, Kompass im OTRIX-Zeichen
   ========================================================================= */

/* OTRIX-Zeichen */
.otx-mark__ring { fill: var(--otx-ink); }
.otx-mark__dot { fill: var(--otx-rust); }
.otx-mark__inner { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--otx-ease); }
.otx-logo.has-mark { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.otx-footer__brand .otx-logo.has-mark, .otx-footer__brand .otx-logo.is-brand { align-self: flex-start; }
/* Offizielles Logo (Inline-SVG): Blau und Terra, im Fußbereich Hell und Terra */
.otx-logo.is-brand { flex-direction: row; align-items: center; }
.otx-logo__ink { fill: var(--otx-ink); }
.otx-logo__accent { fill: var(--otx-rust); }
.otx-site-footer .otx-logo__ink { fill: var(--otx-hell); }
.otx-logo__text { display: inline-flex; flex-direction: column; justify-content: center; }
.otx-logo__mark { width: 42px; height: 42px; flex: 0 0 auto; overflow: visible; }
.otx-logo:hover .otx-mark__inner, .otx-logo:focus-visible .otx-mark__inner { transform: rotate(180deg); }
.otx-site-footer .otx-mark__ring { fill: var(--otx-hell); }
.otx-site-footer .otx-mark__dot { fill: var(--otx-hell); }

/* Fenster */
.otx-app { position: relative; width: 100%; margin: 0; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(39, 50, 60, .06), 0 44px 80px -36px rgba(39, 50, 60, .45), 0 0 0 1px rgba(39, 50, 60, .08); overflow: hidden; isolation: isolate; }
.otx-app__bar { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 0 12px 0 14px; background: linear-gradient(#FAF8F5, #F0F1F2); border-bottom: 1px solid var(--otx-line); }
.otx-app__dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.otx-app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D1D5D9; }
.otx-app__dots i:first-child { background: #ECCEC0; }
.otx-app__url { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 3px 12px 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--otx-line); font-size: 12px; font-weight: 600; line-height: 18px; color: var(--otx-steel); white-space: nowrap; overflow: hidden; }
.otx-app__url span { overflow: hidden; text-overflow: ellipsis; }
.otx-app__mark { width: 14px; height: 14px; flex: 0 0 auto; }
.otx-app__screen { position: relative; aspect-ratio: 1440 / 900; background: #FAF8F5; overflow: hidden; }
.otx-app__state { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity .7s var(--otx-ease), transform .9s var(--otx-ease), visibility 0s linear .7s; }
html:not(.otx-js) .otx-app__state:first-child, .otx-app__state.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--otx-ease), transform .9s var(--otx-ease), visibility 0s; }
.otx-app__pic, .otx-app__pic img { display: block; width: 100%; height: 100%; }
.otx-app__pic img { object-fit: cover; object-position: left top; }
.otx-app__cap { padding: 10px 16px; font-size: 13px; color: var(--otx-steel); border-top: 1px solid var(--otx-line); background: #fff; }

/* Markierungen und Hervorhebungen */
.otx-pin { position: absolute; z-index: 3; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; background: var(--otx-rust); color: #fff; font: 700 13px/1 var(--otx-font-display); box-shadow: 0 0 0 3px #fff, 0 8px 18px -4px rgba(183, 65, 14, .55); transform: scale(0); transition: scale .25s var(--otx-ease), background .2s; }
.otx-pin.is-l { margin-left: -36px; }
.otx-pin.is-r { margin-left: 8px; }
.otx-pin.is-t { margin-top: -34px; }
.otx-pin::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--otx-rust); opacity: 0; }
html:not(.otx-js) .otx-pin { transform: none; }
.otx-app__state.is-active > .otx-pin { animation: otx-pin-in .55s cubic-bezier(.2, .9, .3, 1.35) both; animation-delay: calc(.45s + var(--i) * .16s); }
.otx-app__state.is-active > .otx-pin::after { animation: otx-pin-pulse 1.8s ease-out 2; animation-delay: calc(1.1s + var(--i) * .16s); }
.otx-pin.is-hot { scale: 1.22; background: var(--otx-night); }
.otx-ring { position: absolute; z-index: 2; margin: -8px; padding: 6px; box-sizing: content-box; border-radius: 12px; border: 2px solid var(--otx-rust); box-shadow: 0 0 0 6px rgba(183, 65, 14, .12), 0 10px 30px -12px rgba(183, 65, 14, .45); opacity: 0; pointer-events: none; }
html:not(.otx-js) .otx-ring { opacity: 1; }
.otx-app__state.is-active > .otx-ring { animation: otx-ring-in .6s var(--otx-ease) .55s both; }
@keyframes otx-pin-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes otx-pin-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes otx-ring-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* Ablaufsteuerung */
.otx-app__steps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 12px; background: #fff; border-top: 1px solid var(--otx-line); }
.otx-app__step { all: unset; box-sizing: border-box; position: relative; overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 20px; color: var(--otx-steel); transition: background .25s, color .25s; }
.otx-app__step:hover { color: var(--otx-ink-strong); background: var(--otx-mist); }
.otx-app__step-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--otx-line-soft); color: var(--otx-steel); font-size: 12px; transition: background .25s, color .25s; }
.otx-app__step[aria-pressed="true"] { background: var(--otx-peach-soft); color: var(--otx-rust); }
.otx-app__step[aria-pressed="true"] .otx-app__step-num { background: var(--otx-rust); color: #fff; }
.otx-app__step:focus-visible, .otx-app__pause:focus-visible, .otx-app__zoom:focus-visible { outline: 2px solid var(--otx-rust); outline-offset: 2px; }
.otx-app__step::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: left; }
.otx-app.is-running .otx-app__step[aria-pressed="true"]::after { animation: otx-step-progress var(--otx-step-dur, 3s) linear both; }
@keyframes otx-step-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.otx-app__pause { all: unset; box-sizing: border-box; margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--otx-line); color: var(--otx-steel); cursor: pointer; transition: background .2s, color .2s; }
.otx-app__pause:hover { background: var(--otx-mist); color: var(--otx-ink-strong); }
.otx-app__pause svg { width: 12px; height: 12px; fill: currentColor; }
.otx-app__pause .is-play, .otx-app.is-paused .otx-app__pause .is-pause { display: none; }
.otx-app.is-paused .otx-app__pause .is-play { display: inline; }
.otx-app__bar .otx-app__steps { margin-left: auto; padding: 0; border: 0; background: transparent; gap: 2px; flex-wrap: nowrap; }
.otx-app__bar .otx-app__step { padding: 3px 11px; font-size: 12.5px; }
.otx-app__bar .otx-app__step-num { display: none; }
.otx-app__zoom { all: unset; box-sizing: border-box; position: absolute; right: 12px; bottom: 12px; z-index: 6; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(39, 50, 60, .8); color: #fff; cursor: zoom-in; opacity: 0; transition: opacity .25s, transform .25s var(--otx-ease); }
.otx-app__zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.otx-app:hover .otx-app__zoom, .otx-app__zoom:focus-visible { opacity: 1; }
.otx-app__zoom:hover { transform: scale(1.06); }
@media (hover: none) { .otx-app__zoom { opacity: .85; } }

/* Live-Elemente in der Szene */
.otx-live-compass { position: absolute; z-index: 2; aspect-ratio: 1; transition: opacity .5s var(--otx-ease); }
.otx-app.is-compass-off .otx-live-compass { opacity: 0; pointer-events: none; }
.otx-typing { position: absolute; z-index: 2; background-repeat: no-repeat; background-position: 0 0; opacity: 0; border-radius: 6px; pointer-events: none; }
.otx-typing.is-on { opacity: 1; }
.otx-cursor { position: absolute; z-index: 5; left: 64%; top: 70%; width: 26px; height: 26px; margin: -3px 0 0 -5px; opacity: 0; pointer-events: none; transition: left 1s cubic-bezier(.45, .05, .25, 1), top 1s cubic-bezier(.45, .05, .25, 1), opacity .3s; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.otx-cursor svg { position: relative; z-index: 1; width: 100%; height: 100%; fill: var(--otx-frame); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.otx-cursor.is-on { opacity: 1; }
.otx-cursor::after { content: ''; position: absolute; left: 5px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(183, 65, 14, .4); opacity: 0; }
.otx-cursor.is-click::after { animation: otx-click .55s ease-out; }
@keyframes otx-click { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

/* Startseite: Bühne mit schwebenden Ausschnitten */
.otx-hero.is-home { padding-top: clamp(40px, 5vw, 72px); }
.otx-hero.is-home .otx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 4vw, 56px); }
.otx-hero.is-home .otx-hero__text { gap: 18px; }
.otx-hero.is-home .otx-hero__text { max-width: 920px; margin-inline: auto; align-items: center; text-align: center; }
.otx-hero.is-home .otx-hero__text .otx-lead { max-width: 760px; }
.otx-hero.is-home .otx-actions { justify-content: center; }
.otx-hero.is-home .otx-h1 { font-size: clamp(2.375rem, 4.8vw, 3.875rem); }
.otx-hero.is-home .otx-hero__visual { width: 100%; max-width: 1120px; margin-inline: auto; }
.otx-hero-stage { position: relative; }
.otx-js .otx-hero-stage .otx-app { animation: otx-stage-in 1.1s var(--otx-ease) .15s both; }
@keyframes otx-stage-in { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
.otx-float { position: absolute; z-index: 4; width: clamp(240px, 20vw, 286px); box-sizing: border-box; padding: 20px 16px 14px; background: #fff; border-radius: 14px; box-shadow: 0 26px 50px -18px rgba(39, 50, 60, .5), 0 0 0 1px rgba(39, 50, 60, .08); font-family: var(--otx-font-text); color: var(--otx-ink-strong); text-align: left; animation: otx-float-in .8s var(--otx-ease) both, otx-float 8s ease-in-out infinite; }
.otx-float p { margin: 0; }
.otx-float__tag { position: absolute; top: -13px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--otx-night); color: var(--otx-hell); font-size: 12px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.otx-float__tag .otx-icon { width: 13px; height: 13px; color: var(--otx-hell); }
.otx-float__title { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--otx-ink-strong); }
.otx-float__label { margin-top: 10px !important; font-size: 12px; font-weight: 600; color: var(--otx-steel); }
.otx-float__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px !important; }
.otx-fchip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 16px; }
.otx-fchip.is-act { background: var(--mk-act-bg); color: var(--mk-act); box-shadow: inset 0 0 0 1px #ECCEC0; }
.otx-fchip.is-warn { background: var(--mk-warn-bg); color: var(--mk-warn); }
.otx-float__meta { margin-top: 10px !important; font-size: 12px; line-height: 1.45; color: var(--otx-steel); }
.otx-float__meta b { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 5px; background: var(--otx-tint); color: var(--otx-ink); font-weight: 700; }
.otx-float__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px !important; }
.otx-fbtn { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 18px; color: #B42318; box-shadow: inset 0 0 0 1px #F5C2BD; background: #fff; }
.otx-fbtn.is-primary { background: var(--otx-blau); color: #fff; box-shadow: none; }
.otx-float.is-a { left: -5%; top: 47%; animation-delay: 1.5s, 2.3s; }
.otx-float.is-b { right: -4%; top: 60%; animation-delay: 2.3s, 3.1s; }
.otx-hero-stage.is-paused .otx-float { animation-play-state: paused; }
@keyframes otx-float-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes otx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }


/* Ausschnitte */
.otx-snip { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--otx-shadow-l), 0 0 0 1px rgba(39, 50, 60, .08); }
.otx-snip__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--otx-steel); background: #FAF8F5; border-bottom: 1px solid var(--otx-line); }
.otx-snip img { display: block; width: 100%; height: auto; }
.otx-duo__card .otx-snip { margin-top: auto; }
.otx-snip.is-on-dark { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.otx-js .otx-duo__card .otx-snip img { transform: translateY(10px); opacity: 0; transition: transform .9s var(--otx-ease) .35s, opacity .9s var(--otx-ease) .35s; }
.otx-js .otx-duo__card.is-visible .otx-snip img { transform: none; opacity: 1; }

/* Mehr Platz für Ansichten aus OTRIX */
.otx-hero.is-page .otx-hero__grid:has(.otx-app) { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.otx-split:has(.otx-app) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 72px); }
.otx-split.is-reverse:has(.otx-app) { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
/* Einblick: mehr Platz für die Ansicht */
.otx-tab-panel:has(.otx-app) { grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: clamp(28px, 4vw, 56px); }

/* Legende zu den Markierungen */
.otx-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.otx-legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 0 -8px; padding: 7px 10px 7px 8px; border-radius: 12px; font-size: 1.0625rem; line-height: 1.45; color: var(--otx-ink); transition: background .2s, opacity .3s; }
.otx-legend li.is-hot { background: var(--otx-peach-soft); }
.otx-legend li.is-other { opacity: .6; }
.otx-legend__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; background: var(--otx-rust); color: #fff; font: 700 12.5px/1 var(--otx-font-display); }
.otx-legend__num.is-check { position: relative; background: var(--otx-peach-soft); }
.otx-legend__num.is-check::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--otx-rust); border-bottom: 2px solid var(--otx-rust); transform: translateY(-1px) rotate(-45deg); }

/* Lupe */
.otx-lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(39, 50, 60, .94); color: #fff; }
.otx-lightbox::backdrop { background: rgba(39, 50, 60, .6); }
.otx-lightbox__scroll { box-sizing: border-box; width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; padding: 64px 24px 24px; }
.otx-lightbox img { display: block; max-width: min(1800px, 100%); height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.otx-lightbox img.is-phone { max-width: min(430px, 100%); }
.otx-lightbox__close { all: unset; position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.otx-lightbox__close:focus-visible { outline: 2px solid var(--otx-peach); outline-offset: 2px; }
.otx-lightbox__hint { position: fixed; top: 24px; left: 20px; right: 70px; font-size: 13px; color: rgba(250, 248, 245, .82); }

/* Kompass im OTRIX-Zeichen */
.otx-hexc { width: 100%; }
.otx-hexc__static { display: block; width: 60%; margin: 0 auto; }
.otx-cta__compass { width: min(320px, 100%); margin-inline: auto; }
.mk-cycle__compass { width: 150px; margin-bottom: -6px; }
.mk-cycle__hub .otx-hexc__static .otx-mark__ring { fill: #fff; }
.mk-principles__compass { width: 74%; }
.mk-principles__labels { position: absolute; inset: 0; pointer-events: none; }

/* Funktionen: Ansicht je Bereich */
.otx-area__top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: 40px !important; }
.otx-area__top .otx-area__head { margin-bottom: 0 !important; }

/* Anwendungsbeispiel */
.otx-app--story .otx-app__zoom { display: none; }

@media (max-width: 1320px) {
	.otx-float.is-a { left: -2%; }
	.otx-float.is-b { right: -2%; }
}
@media (max-width: 1180px) {
	.otx-float { display: none; }
}
@media (max-width: 1024px) {
	.otx-hero.is-home .otx-hero__grid, .otx-area__top, .otx-hero.is-page .otx-hero__grid:has(.otx-app), .otx-split:has(.otx-app), .otx-split.is-reverse:has(.otx-app), .otx-tab-panel:has(.otx-app) { grid-template-columns: minmax(0, 1fr); }
	.otx-float { display: none; }
}
@media (max-width: 640px) {
	.otx-logo__mark { width: 34px; height: 34px; }
	.otx-logo.has-mark { gap: 9px; }
	.otx-app.is-phone { max-width: 320px; margin-inline: auto; padding: 8px; border-radius: 38px; background: var(--otx-frame); box-shadow: 0 30px 60px -24px rgba(39, 50, 60, .55), inset 0 0 0 1px rgba(255, 255, 255, .06); }
	.otx-app.is-phone .otx-app__bar { justify-content: center; min-height: 0; padding: 2px 8px 8px; background: transparent; border: 0; }
	.otx-app.is-phone .otx-app__dots, .otx-app.is-phone .otx-app__url { display: none; }
	.otx-app.is-phone .otx-app__bar:not(:has(.otx-app__steps)) { display: none; }
	.otx-app.is-phone .otx-app__bar .otx-app__steps { margin: 0; }
	.otx-app.is-phone .otx-app__screen { aspect-ratio: 390 / 740; border-radius: 30px; }
	.otx-app.is-phone .otx-app__steps { justify-content: center; padding: 10px 2px 4px; background: transparent; border: 0; }
	.otx-app.is-phone .otx-app__step { color: rgba(250, 248, 245, .82); }
	.otx-app.is-phone .otx-app__step:hover { background: rgba(255, 255, 255, .06); color: #fff; }
	.otx-app.is-phone .otx-app__step[aria-pressed="true"] { background: rgba(250, 248, 245, .16); color: var(--otx-peach); }
	.otx-app.is-phone .otx-app__step-num { background: rgba(255, 255, 255, .1); color: rgba(250, 248, 245, .82); }
	.otx-app.is-phone .otx-app__pause { margin-left: 4px; border-color: rgba(255, 255, 255, .2); color: rgba(250, 248, 245, .82); }
	.otx-app.is-phone .otx-app__step { padding: 5px 10px 5px 5px; font-size: 12.5px; }
	.otx-app .otx-pin, .otx-app .otx-ring, .otx-app .otx-live-compass, .otx-app .otx-typing, .otx-app .otx-cursor { display: none !important; }
	.otx-legend__num:not(.is-check) { position: relative; font-size: 0; background: var(--otx-peach-soft); }
	.otx-legend__num:not(.is-check)::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--otx-rust); border-bottom: 2px solid var(--otx-rust); transform: translateY(-1px) rotate(-45deg); }
	.otx-legend li.is-other { opacity: 1; }
	.otx-lightbox img:not(.is-phone) { max-width: none; width: 1100px; }
	.otx-lightbox__scroll { place-items: start; }
	.mk-cycle__compass { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
	.otx-app__state, .otx-cursor, .otx-live-compass { transition: none !important; }
	.otx-pin, .otx-pin::after, .otx-ring, .otx-float, .otx-hero-stage .otx-app, .otx-app__step::after { animation: none !important; }
	.otx-pin { transform: none; }
	.otx-ring { opacity: 1; }
}
.otx-hero.is-home .otx-hero__meta { padding-left: 0; }
.otx-hero.is-home .otx-hero__meta::before { position: relative; top: -1px; left: auto; display: inline-block; margin-right: 10px; vertical-align: middle; }
@media (max-width: 1024px) {
	.otx-story__visual:has(.otx-app) { position: sticky; top: 76px; z-index: 3; }
	.otx-story:has(.otx-app) .otx-story__step { opacity: .55; }
	.otx-story:has(.otx-app) .otx-story__step.is-active { opacity: 1; }
}
.otx-app__pause[hidden] { display: none; }
