/* =================================================================
 * CIPOS Child Theme — Hauptstylesheet
 * ================================================================= */

:root {
	--cipos-red: #ff2b2b;
	--cipos-red-dark: #e11d1d;
	--cipos-red-soft: rgba(255, 43, 43, 0.08);
	--cipos-red-bg: #fff1f1;
	--cipos-black: #111827;
	--cipos-text: #111827;
	--cipos-muted: #6b7280;
	--cipos-border: #ececec;
	--cipos-bg: #f7f8fa;
	--cipos-bg-soft: #ffffff;
	--cipos-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	--cipos-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
	--cipos-radius: 14px;
	--cipos-radius-lg: 24px;
	--cipos-max: 1200px;
	--cipos-max-wide: 1500px;
	--cipos-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* -- Reset / overrides für olymp parent ------------------------- */
body.cipos-body {
	font-family: var(--cipos-font);
	color: var(--cipos-text);
	background: #fff;
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.cipos-body .innerheader,
body.cipos-body .pagetop {
	display: none !important;
}

body.cipos-body #container {
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	box-shadow: none;
}

body.cipos-body #wrapper {
	background: transparent;
	padding: 0;
}

/* Parent setzt margin-top:120px + opacity:0 auf #contentwrapper und startet
   eine fadeIn-Animation via animate.css — die JS-Trigger-Logik läuft auf
   Archive-Seiten nicht zuverlässig, deshalb killen wir die Animation komplett
   und zeigen den Inhalt sofort sichtbar ohne Top-Spacer. */
body.cipos-body #contentwrapper,
body.cipos-body #contentwrapper.animated,
body.cipos-body #contentwrapper.animated.fadeIn,
body.cipos-body .animatedParent .animated.fadeIn,
body.cipos-body .animatedParent .animated {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	opacity: 1 !important;
	animation: none !important;
	-webkit-animation: none !important;
}

body.cipos-body a {
	color: var(--cipos-red);
	transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}

body.cipos-body a:hover {
	color: var(--cipos-red-dark);
}

/* -- Header ---------------------------------------------------- */
.cipos-header {
	background: #fff;
	border-bottom: 1px solid var(--cipos-border);
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
}

.cipos-header__inner {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 48px;
}

.cipos-header__logo {
	flex: 0 0 auto;
}

.cipos-header__logo .cipos-logo {
	display: block;
	line-height: 0;
}

.cipos-header__logo .cipos-logo img,
.cipos-header__logo .cipos-logo svg {
	height: 62px;
	width: auto;
	display: block;
}

.cipos-header__logo .cipos-logo svg text {
	font-family: 'Inter', system-ui, sans-serif;
}

.cipos-header__nav {
	display: flex;
	justify-content: flex-start;
}

.cipos-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 40px;
}

.cipos-menu li {
	position: relative;
}

body.cipos-body .cipos-header .cipos-menu a {
	color: #000000;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .1px;
	padding: 10px 0;
	display: inline-block;
	text-decoration: none;
	transition: color .2s ease;
	position: relative;
}

body.cipos-body .cipos-header .cipos-menu a:hover {
	color: var(--cipos-red);
}

body.cipos-body .cipos-header .cipos-menu .current-menu-item > a,
body.cipos-body .cipos-header .cipos-menu .current-menu-parent > a,
body.cipos-body .cipos-header .cipos-menu .current-menu-ancestor > a {
	color: var(--cipos-red);
}

.cipos-menu .current-menu-item > a::after,
.cipos-menu .current-menu-parent > a::after,
.cipos-menu .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -12px;
	width: 100%;
	height: 3px;
	border-radius: 30px;
	background: var(--cipos-red);
}

/* sub-menus */
.cipos-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	min-width: 220px;
	box-shadow: var(--cipos-shadow);
	padding: 8px 0;
	list-style: none;
	margin: 0;
	z-index: 50;
}

.cipos-menu li:hover > .sub-menu {
	display: block;
}

.cipos-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-weight: 600;
}

.cipos-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

/* Search box (right side) */
.cipos-search {
	position: relative;
	display: inline-flex;
	align-items: center;
	background: #f5f5f5;
	border: 1px solid var(--cipos-border);
	border-radius: 999px;
	padding: 8px 14px 8px 36px;
	min-width: 220px;
	transition: border-color .15s, background .15s;
}

.cipos-search:focus-within {
	border-color: var(--cipos-red);
	background: #fff;
}

.cipos-search__icon {
	position: absolute;
	left: 14px;
	color: var(--cipos-muted);
}

.cipos-search input[type="search"] {
	border: 0;
	background: transparent;
	outline: 0;
	font-family: var(--cipos-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--cipos-text);
	width: 100%;
	padding: 0 36px 0 0;
	margin: 0;
	min-height: 22px;
}

.cipos-search input[type="search"]::placeholder {
	color: var(--cipos-muted);
}

.cipos-search__lang {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	font-weight: 800;
	color: var(--cipos-muted);
	letter-spacing: 1px;
	background: transparent;
	border-left: 1px solid var(--cipos-border);
	padding-left: 10px;
	line-height: 1;
}

.cipos-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--cipos-text);
	border-radius: 50%;
	position: relative;
	text-decoration: none;
}

.cipos-header__icon:hover {
	background: var(--cipos-red-soft);
	color: var(--cipos-red);
}

.cipos-header__cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--cipos-red);
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
	display: none;
}

.cipos-header__cart-count.is-visible {
	display: inline-block;
}

.cipos-header__burger {
	display: none;
	background: none;
	border: 0;
	width: 40px;
	height: 40px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	padding: 0;
}

.cipos-header__burger span {
	width: 22px;
	height: 2px;
	background: var(--cipos-text);
	border-radius: 2px;
	display: block;
}

/* -- Buttons --------------------------------------------------- */
.cipos-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

.cipos-btn--primary {
	background: var(--cipos-red);
	color: #fff !important;
	border-color: var(--cipos-red);
}

.cipos-btn--primary:hover {
	background: var(--cipos-red-dark);
	border-color: var(--cipos-red-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.cipos-btn--ghost {
	background: #fff;
	color: var(--cipos-text) !important;
	border-color: var(--cipos-border);
}

.cipos-btn--ghost:hover {
	border-color: var(--cipos-red);
	color: var(--cipos-red) !important;
}

.cipos-btn--full {
	width: 100%;
	display: flex;
}

/* -- Eyebrow / typography -------------------------------------- */
.cipos-eyebrow {
	color: var(--cipos-red);
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 13px;
	margin: 0 0 12px;
}

.cipos-eyebrow--center {
	text-align: center;
}

.cipos-section-title {
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	font-weight: 800;
	color: var(--cipos-black);
	text-align: center;
	margin: 0 0 16px;
	letter-spacing: -0.5px;
}

.cipos-divider {
	display: block;
	width: 56px;
	height: 3px;
	background: var(--cipos-red);
	border-radius: 3px;
	margin: 0 auto 48px;
}

.cipos-section-head {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 40px 24px 0;
}

/* -- Hero ------------------------------------------------------ */
.cipos-hero {
	background-color: #fff;
	padding: 30px 0 30px;
}

.cipos-hero__inner {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 50px 24px;
	display: grid;
	grid-template-columns: minmax(0, 460px) 1fr;
	gap: 40px;
	align-items: center;
	min-height: 480px;
	position: relative;
	background-image:
		linear-gradient(to right, #fff 0%, #fff 30%, rgba(255, 255, 255, 0.7) 42%, rgba(255, 255, 255, 0) 55%),
		url('../images/hero-product.jpg');
	background-position: top left, center right;
	background-repeat: no-repeat, no-repeat;
	background-size: 100% 100%, auto 100%;
}

.cipos-hero__visual {
	display: none;
}

.cipos-hero__title {
	font-size: clamp(34px, 4.5vw, 56px);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -1.2px;
	color: var(--cipos-black);
	margin: 0 0 20px;
}

.cipos-hero__lead {
	color: var(--cipos-muted);
	font-size: 17px;
	line-height: 1.6;
	max-width: 460px;
	margin: 0 0 32px;
}

.cipos-hero__cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.cipos-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}

.cipos-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cipos-text);
}

.cipos-trust__icon {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	color: var(--cipos-red);
	flex: 0 0 auto;
}

.cipos-trust__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.cipos-hero__visual {
	display: none;
}

.cipos-hero__placeholder {
	width: 100%;
	height: 360px;
	background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
	border-radius: var(--cipos-radius-lg);
	z-index: 2;
	position: relative;
}

.cipos-hero__watermark {
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 380px;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 2px rgba(230, 0, 18, 0.18);
	font-family: var(--cipos-font);
	line-height: 1;
	z-index: 1;
	pointer-events: none;
	user-select: none;
}

/* -- Products grid -------------------------------------------- */
.cipos-products {
	background: #fff;
	padding-bottom: 40px;
}

.cipos-products__grid {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* WooCommerce shop archive grid uses same card style */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0 auto 40px;
	padding: 0;
	list-style: none;
	max-width: var(--cipos-max);
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}

/* -- Product Card --------------------------------------------- */
.cipos-card {
	background: #fff;
	border-radius: var(--cipos-radius-lg);
	box-shadow: var(--cipos-shadow-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
	border: 1px solid var(--cipos-border);
}

.cipos-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.cipos-card__media {
	display: block;
	padding: 30px 24px 16px;
	position: relative;
	background: #fff;
	text-align: center;
}

.cipos-card__media img {
	max-width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: contain;
	margin: 0 auto;
}

.cipos-sale-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	background: var(--cipos-red);
	color: #fff;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	transform: rotate(-12deg);
	box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
	z-index: 2;
}

.cipos-sale-badge span {
	display: block;
	transform: rotate(0);
}

.cipos-card__body {
	padding: 16px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cipos-card__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--cipos-text);
	margin: 0;
	line-height: 1.3;
}

.cipos-card__title a {
	color: inherit;
	text-decoration: none;
}

.cipos-card__title a:hover {
	color: var(--cipos-red);
}

.cipos-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--cipos-text);
	margin: 0 0 10px;
}

.cipos-card__price del,
.cipos-card__price del .amount {
	color: #999;
	font-weight: 500;
	text-decoration: line-through;
	margin-right: 8px;
}

.cipos-card__price ins,
.cipos-card__price ins .amount {
	color: var(--cipos-red);
	text-decoration: none;
	font-weight: 800;
}

.cipos-card__price .amount {
	color: var(--cipos-red);
}

.cipos-card .cipos-btn,
.cipos-card .button,
.cipos-card .added_to_cart {
	width: 100%;
	background: var(--cipos-red);
	color: #fff !important;
	border: 2px solid var(--cipos-red);
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.cipos-card .button:hover,
.cipos-card .cipos-btn:hover {
	background: var(--cipos-red-dark);
	border-color: var(--cipos-red-dark);
}

/* CTA-Button: text centered, cart icon on the right edge */
.cipos-card .cipos-btn,
.cipos-card .button {
	position: relative;
	padding-right: 48px;
	padding-left: 28px;
}

.cipos-card .button::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='20' r='1.5'/><circle cx='17' cy='20' r='1.5'/><path d='M3 4h2l2.5 11h11l2-7H6'/></svg>") center/contain no-repeat;
}

/* -- Card feature bullets (red checkmarks) -------------------- */
.cipos-card__features {
	list-style: none;
	margin: 4px 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cipos-card__features li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	color: var(--cipos-text);
	line-height: 1.4;
}

.cipos-card__features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2b2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5L20 7'/></svg>") center/contain no-repeat;
}

/* -- Features -------------------------------------------------- */
.cipos-features {
	background: #fff;
	padding: 28px 0 16px;
}

.cipos-features__grid {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px;
}

.cipos-feature {
	text-align: center;
	padding: 12px;
}

.cipos-feature__icon {
	display: inline-flex;
	width: 64px;
	height: 64px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid var(--cipos-red);
	color: var(--cipos-red);
	margin-bottom: 14px;
}

.cipos-feature__title {
	font-size: 16px;
	font-weight: 800;
	color: var(--cipos-text);
	margin: 0 0 6px;
}

.cipos-feature__desc {
	font-size: 14px;
	color: var(--cipos-muted);
	margin: 0;
	line-height: 1.5;
}

/* -- Consultation CTA ----------------------------------------- */
.cipos-consult {
	background: #fff;
	padding: 40px 0 80px;
}

.cipos-consult__inner {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 28px;
	background: var(--cipos-red-bg);
	border-radius: var(--cipos-radius-lg);
	display: flex;
	align-items: center;
	gap: 20px;
}

.cipos-consult__icon {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	color: var(--cipos-red);
}

.cipos-consult__copy {
	flex: 1;
}

.cipos-consult__title {
	font-size: 20px;
	font-weight: 800;
	color: var(--cipos-text);
	margin: 0 0 4px;
}

.cipos-consult__text {
	color: var(--cipos-muted);
	margin: 0;
	font-size: 15px;
}

/* -- Page header (non-front pages) ---------------------------- */
.cipos-page-header {
	background: #fff;
	padding: 60px 24px 40px;
	text-align: center;
	border-bottom: 1px solid var(--cipos-border);
}

.cipos-page-header h1 {
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 900;
	color: var(--cipos-black);
	margin: 0;
	letter-spacing: -1px;
}

.cipos-main--page {
	min-height: 50vh;
}

.cipos-page__inner {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 40px 24px 80px;
}

.cipos-page__inner h2 {
	font-size: 28px;
	margin-top: 32px;
	color: var(--cipos-black);
	font-weight: 800;
}

.cipos-page__inner h3 { font-size: 22px; color: var(--cipos-black); font-weight: 800; }
.cipos-page__inner p { font-size: 16px; line-height: 1.7; color: var(--cipos-text); }
.cipos-page__inner img { max-width: 100%; height: auto; border-radius: 12px; }

.cipos-body.archive .pagetop,
.cipos-body.page .pagetop {
	display: none !important;
}

/* -- Shop / Category Archive Hero ----------------------------- */
.cipos-archive-hero {
	position: relative;
	width: 100%;
	display: block;
	background:
		linear-gradient(90deg, #ffffff 0%, #ffffff 38%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0) 70%),
		linear-gradient(180deg, #fafbfc 0%, #f4f5f7 100%);
	padding: 38px 0 48px;
	overflow: hidden;
}

/* Leerer woocommerce-products-header schiebt mit margin-bottom: 130px Inhalt nach unten */
body.cipos-body .woocommerce-products-header {
	margin: 0 !important;
	padding: 0 !important;
}

/* Woo-Notices als Toast oben rechts (statt Block im Content) */
body.cipos-body .woocommerce-notices-wrapper {
	position: fixed !important;
	top: 100px;
	right: 20px;
	left: auto;
	z-index: 9999;
	width: auto !important;
	max-width: 460px;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}
body.cipos-body .woocommerce-notices-wrapper .woocommerce-message,
body.cipos-body .woocommerce-notices-wrapper .woocommerce-error,
body.cipos-body .woocommerce-notices-wrapper .woocommerce-info {
	pointer-events: auto;
	background: #fff !important;
	border: 1px solid var(--cipos-border) !important;
	border-left: 4px solid #ff8a8a !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
	padding: 14px 18px !important;
	margin: 0 0 12px 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	font-size: 14px !important;
	color: var(--cipos-text) !important;
	list-style: none !important;
	animation: cipos-toast-in .25s ease;
}
body.cipos-body .woocommerce-notices-wrapper .woocommerce-error {
	border-left-color: var(--cipos-red) !important;
}
body.cipos-body .woocommerce-notices-wrapper .woocommerce-info {
	border-left-color: #3b82f6 !important;
}
body.cipos-body .woocommerce-notices-wrapper .button,
body.cipos-body .woocommerce-notices-wrapper a.button {
	background: var(--cipos-text) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 8px 14px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	display: inline-block !important;
	white-space: nowrap;
	flex: 0 0 auto;
}
body.cipos-body .woocommerce-notices-wrapper .button:hover {
	background: var(--cipos-red) !important;
}
body.cipos-body .woocommerce-notices-wrapper .woocommerce-message::before,
body.cipos-body .woocommerce-notices-wrapper .woocommerce-error::before {
	display: none !important;
}
@keyframes cipos-toast-in {
	from { transform: translateX(30px); opacity: 0; }
	to   { transform: translateX(0); opacity: 1; }
}
.cipos-toast-fadeout {
	transition: opacity .3s ease, transform .3s ease;
	opacity: 0 !important;
	transform: translateX(30px) !important;
}

.cipos-archive-hero::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	background: url("../images/hero-product.jpg") right center / cover no-repeat;
	z-index: 0;
	pointer-events: none;
}

.cipos-archive-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 60%;
	background: linear-gradient(90deg, #fafbfc 0%, rgba(250,251,252,0.85) 30%, rgba(250,251,252,0) 70%);
	z-index: 1;
	pointer-events: none;
}

.cipos-archive-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 0 24px;
}

.cipos-archive-hero__crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--cipos-muted);
	margin-bottom: 14px;
}

.cipos-archive-hero__crumbs a {
	color: var(--cipos-muted);
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.cipos-archive-hero__crumbs a:hover {
	color: var(--cipos-red);
}

.cipos-archive-hero__crumb-sep {
	color: #c8ccd2;
}

.cipos-archive-hero__title {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 900;
	color: var(--cipos-text);
	letter-spacing: -1.5px;
	margin: 0 0 12px;
	line-height: 1.05;
}

.cipos-archive-hero__subtitle {
	font-size: 16px;
	color: var(--cipos-muted);
	margin: 0;
	max-width: 460px;
	line-height: 1.5;
}

/* -- Shop Toolbar (filter / sort / view toggle) --------------- */
.cipos-shop-toolbar {
	max-width: var(--cipos-max);
	margin: 28px auto 22px;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.cipos-shop-toolbar__filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cipos-text);
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.cipos-shop-toolbar__filter:hover {
	border-color: var(--cipos-red);
	color: var(--cipos-red);
}

.cipos-shop-toolbar__sortlabel {
	margin-left: auto;
	font-size: 14px;
	color: var(--cipos-muted);
}

.cipos-shop-toolbar .woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}

.cipos-shop-toolbar .woocommerce-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	background:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") right 12px center / 14px no-repeat #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	padding: 9px 36px 9px 14px;
	font-size: 14px;
	color: var(--cipos-text);
	cursor: pointer;
	min-width: 170px;
}

.cipos-shop-toolbar__view {
	display: inline-flex;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	overflow: hidden;
}

.cipos-shop-toolbar__view button {
	background: transparent;
	border: 0;
	padding: 9px 12px;
	cursor: pointer;
	color: var(--cipos-muted);
	display: inline-flex;
	align-items: center;
	transition: color .15s ease;
}

.cipos-shop-toolbar__view button.is-active {
	color: var(--cipos-red);
	box-shadow: inset 0 0 0 2px var(--cipos-red);
	border-radius: 8px;
}

.cipos-shop-toolbar__view button:hover:not(.is-active) {
	color: var(--cipos-text);
}

/* -- Shop footer (result count + pagination) ------------------ */
.cipos-shop-footer {
	max-width: var(--cipos-max);
	margin: 8px auto 80px;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.cipos-shop-footer .woocommerce-result-count {
	margin: 0 !important;
	float: none !important;
	font-size: 14px;
	color: var(--cipos-muted);
}

.cipos-shop-footer .woocommerce-pagination {
	margin: 0 !important;
	float: none !important;
}

/* WooCommerce numbered pagination */
.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 8px;
	border: 0 !important;
	margin: 0;
	padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0 !important;
	margin: 0 !important;
	overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 8px;
	color: var(--cipos-text);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--cipos-red);
	color: var(--cipos-red);
	background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	border-color: var(--cipos-red);
	color: var(--cipos-red);
	background: #fff;
}

/* -- Footer --------------------------------------------------- */
body.cipos-body footer.cipos-footer {
	background: linear-gradient(to bottom, #ffffff 0%, #ffffff 15%, #d4d8de 70%, #b6bbc4 100%) !important;
	color: #2c2c2c;
	padding: 100px 0 36px;
	margin-top: 0;
	font-size: 14px;
	position: relative;
}

body.cipos-body .cipos-footer__inner {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 40px;
	align-items: start;
}

body.cipos-body .cipos-footer__heading {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--cipos-red);
	margin: 0 0 14px;
	line-height: 1.4;
}

body.cipos-body .cipos-footer__contact-name {
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
	font-size: 14px;
}

/* Sieber-Spalte (ohne Heading) auf gleiche Baseline wie Adwork */
body.cipos-body .cipos-footer__contact + .cipos-footer__contact {
	padding-top: 31px;
}

body.cipos-body .cipos-footer__brand-name {
	font-size: 32px;
	font-weight: 900;
	margin: 0 0 4px;
	color: #1a1a1a;
	letter-spacing: -1px;
	line-height: 1;
}

body.cipos-body .cipos-footer__brand-mark {
	color: var(--cipos-red);
}

body.cipos-body .cipos-footer__brand-tag {
	font-size: 14px;
	color: #6b6b6b;
	margin: 0;
	font-weight: 500;
}

body.cipos-body .cipos-footer__address {
	font-style: normal;
	margin: 0 0 10px;
	line-height: 1.6;
	color: #2c2c2c;
}

body.cipos-body .cipos-footer__email {
	margin: 0;
}

body.cipos-body .cipos-footer__email a {
	color: #2c2c2c;
	text-decoration: none;
	font-weight: 500;
}

body.cipos-body .cipos-footer__email a:hover {
	color: var(--cipos-red);
}

body.cipos-body .cipos-footer__legal {
	text-align: right;
	font-size: 12px;
	line-height: 1.7;
	color: #6b6b6b;
}

body.cipos-body .cipos-footer__legal-links {
	margin: 0 0 10px;
	letter-spacing: 1.5px;
	font-weight: 700;
}

body.cipos-body .cipos-footer__legal-links a {
	color: var(--cipos-red);
	text-decoration: none;
	margin-left: 14px;
}

body.cipos-body .cipos-footer__legal-links a:first-child {
	margin-left: 0;
}

body.cipos-body .cipos-footer__legal-links a:hover {
	color: var(--cipos-red-dark);
	text-decoration: underline;
}

body.cipos-body .cipos-footer__credit {
	margin: 0;
	color: #6b6b6b;
}

body.cipos-body .cipos-footer__credit a {
	color: var(--cipos-red);
	text-decoration: none;
	font-weight: 600;
}

body.cipos-body .cipos-footer__credit a:hover {
	text-decoration: underline;
}

/* -- Single product page niceties ----------------------------- */
.single-product .product .price {
	color: var(--cipos-red);
}

.single-product .button.single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--cipos-red);
	color: #fff;
	border-radius: 999px;
	padding: 14px 28px;
	font-weight: 700;
	border: 0;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--cipos-red-dark);
}

/* -- Responsive ------------------------------------------------ */
@media (max-width: 1100px) {
	.cipos-search {
		min-width: 160px;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 1023px) {
	.cipos-search { display: none; }

	.cipos-hero {
		background-image: none;
		min-height: 0;
		padding: 50px 0 60px;
	}

	.cipos-hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.cipos-hero__watermark {
		font-size: 240px;
		right: -10px;
	}

	.cipos-features__grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 36px;
	}

	.cipos-products__grid,
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.cipos-archive-hero {
		padding: 28px 0 36px;
	}

	.cipos-archive-hero::after,
	.cipos-archive-hero::before {
		display: none;
	}

	.cipos-shop-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.cipos-footer__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.cipos-footer__legal {
		text-align: left;
	}

	.cipos-footer__legal-links a:first-child {
		margin-left: 0;
	}
}

@media (max-width: 720px) {
	.cipos-header__inner {
		padding: 14px 18px;
		gap: 12px;
	}

	.cipos-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--cipos-border);
		padding: 14px 18px;
	}

	.cipos-header__nav.is-open {
		display: block;
	}

	.cipos-menu {
		flex-direction: column;
		gap: 10px;
	}

	.cipos-header__burger {
		display: inline-flex;
	}

	.cipos-hero {
		padding: 30px 0 50px;
	}

	.cipos-hero__title {
		font-size: 38px;
	}

	.cipos-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.cipos-btn {
		justify-content: center;
	}

	.cipos-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cipos-products__grid,
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: 1fr !important;
	}

	.cipos-shop-toolbar {
		flex-wrap: wrap;
	}

	.cipos-shop-toolbar__sortlabel {
		margin-left: 0;
	}

	.cipos-consult__inner {
		flex-direction: column;
		text-align: center;
	}

	.cipos-section-head {
		padding-top: 56px;
	}
}

/* -- Helpers --------------------------------------------------- */
.cipos-icon { flex: 0 0 auto; }

/* Hide olymp parent's cursor follower / decorative shapes */
body.cipos-body .cursor,
body.cipos-body .item__svg,
body.cipos-body .innerheader { display: none !important; }

/* =================================================================
 * CIPOS — Mietsystem-Konfigurator
 * ================================================================= */

.cipos-config-main {
	background: linear-gradient(180deg, #fff 0%, #f7f8fa 60%);
	padding: 32px 0 64px;
}

.cipos-config {
	max-width: var(--cipos-max);
	margin: 0 auto;
	padding: 0 24px;
}

.cipos-config__breadcrumb {
	font-size: 13px;
	color: var(--cipos-muted);
	margin-bottom: 16px;
}
.cipos-config__breadcrumb a { color: var(--cipos-muted); text-decoration: none; }
.cipos-config__breadcrumb a:hover { color: var(--cipos-red); }
.cipos-config__breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .5; }

.cipos-config__head { margin-bottom: 24px; }
.cipos-config__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
	color: var(--cipos-text);
}
.cipos-config__lead {
	font-size: 16px;
	color: var(--cipos-muted);
	margin: 0;
	max-width: 700px;
}

/* -- Step indicator ------------------------------------------------ */
.cipos-config__steps {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--cipos-muted);
	border-bottom: 1px solid var(--cipos-border);
	padding-bottom: 16px;
}
.cipos-config__steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-right: 16px;
}
.cipos-config__steps li::after {
	content: '';
	width: 24px; height: 1px;
	background: var(--cipos-border);
	margin-left: 4px;
}
.cipos-config__steps li:last-child::after { display: none; }
.cipos-config__steps li span {
	display: inline-grid;
	place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: #e5e7eb;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.cipos-config__steps li.is-active { color: var(--cipos-text); }
.cipos-config__steps li.is-active span { background: var(--cipos-red); }

/* -- Layout: Form + Summary --------------------------------------- */
.cipos-config__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 1023px) {
	.cipos-config__layout { grid-template-columns: 1fr; }
}

/* -- Steps --------------------------------------------------------- */
.cipos-config__form { display: flex; flex-direction: column; gap: 16px; }

.cipos-step {
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius-lg);
	padding: 24px;
	box-shadow: var(--cipos-shadow);
}
.cipos-step__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}
.cipos-step__num {
	flex: none;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--cipos-red);
	color: #fff;
	display: grid; place-items: center;
	font-weight: 700;
	font-size: 14px;
}
.cipos-step__head h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--cipos-text);
}
.cipos-step__head h2 small { color: var(--cipos-muted); font-weight: 500; font-size: 14px; }
.cipos-step__head p {
	margin: 0;
	font-size: 14px;
	color: var(--cipos-muted);
}
.cipos-step__body { padding: 0; }

.cipos-step__body--terminal {
	display: grid;
	grid-template-columns: auto 1fr 220px;
	gap: 24px;
	align-items: center;
}
@media (max-width: 720px) {
	.cipos-step__body--terminal {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.cipos-include p { margin: 0 0 4px; font-size: 13px; color: var(--cipos-muted); }

.cipos-step__visual {
	position: relative;
	border-radius: var(--cipos-radius);
	overflow: hidden;
	background: #f3f4f6;
	aspect-ratio: 4/3;
}
.cipos-step__visual img { width: 100%; height: 100%; object-fit: cover; }
.cipos-step__count {
	position: absolute;
	top: 12px; right: 12px;
	background: var(--cipos-red);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 4px 10px;
	border-radius: 999px;
}

/* -- Counter ------------------------------------------------------- */
.cipos-counter {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid var(--cipos-border);
	border-radius: 999px;
	padding: 4px;
	background: #fff;
}
.cipos-counter input {
	width: 56px;
	border: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: var(--cipos-text);
	background: transparent;
	-moz-appearance: textfield;
}
.cipos-counter input::-webkit-outer-spin-button,
.cipos-counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cipos-counter__btn {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 0;
	background: #f3f4f6;
	color: var(--cipos-text);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: grid; place-items: center;
	transition: background .15s;
}
.cipos-counter__btn:hover { background: #e5e7eb; }

/* -- Options (Radio-Cards) ---------------------------------------- */
.cipos-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
}
.cipos-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius);
	padding: 16px 12px;
	cursor: pointer;
	background: #fff;
	transition: border-color .15s, box-shadow .15s, transform .15s;
	text-align: center;
	position: relative;
}
.cipos-option input { position: absolute; opacity: 0; pointer-events: none; }
.cipos-option:hover { border-color: #d1d5db; }
.cipos-option.is-selected {
	border-color: var(--cipos-red);
	box-shadow: 0 0 0 1px var(--cipos-red);
}
.cipos-option.is-selected::after {
	content: '✓';
	position: absolute;
	top: 8px; right: 8px;
	width: 20px; height: 20px;
	background: var(--cipos-red);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	display: grid; place-items: center;
	font-weight: 700;
}
.cipos-option__num {
	font-size: 22px;
	font-weight: 800;
	color: var(--cipos-text);
}
.cipos-option__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--cipos-text);
}
.cipos-option__price {
	font-size: 13px;
	color: var(--cipos-muted);
}

.cipos-hint {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--cipos-muted);
}

/* -- Extras (Checkbox-Cards) -------------------------------------- */
.cipos-extras {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}
.cipos-extra {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius);
	padding: 16px;
	cursor: pointer;
	background: #fff;
	position: relative;
	transition: border-color .15s, box-shadow .15s;
}
.cipos-extra input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.cipos-extra:hover { border-color: #d1d5db; }
.cipos-extra:has(input:checked) {
	border-color: var(--cipos-red);
	box-shadow: 0 0 0 1px var(--cipos-red);
}
.cipos-extra:has(input:checked)::before {
	content: '✓';
	position: absolute;
	top: 8px; right: 8px;
	width: 22px; height: 22px;
	background: var(--cipos-red);
	color: #fff;
	border-radius: 6px;
	font-size: 13px;
	display: grid; place-items: center;
	font-weight: 700;
	z-index: 1;
}
.cipos-extra.is-included {
	cursor: default;
	background: #fafbfc;
}
.cipos-extra.is-included:has(input:checked) {
	border-color: var(--cipos-border);
	box-shadow: none;
}
.cipos-extra.is-included:has(input:checked)::before {
	background: #9ca3af;
}
.cipos-extra__media {
	height: 60px;
	display: grid; place-items: center;
	color: var(--cipos-muted);
}
.cipos-extra:has(input:checked) .cipos-extra__media { color: var(--cipos-red); }
.cipos-extra__body h3 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.3;
}
.cipos-extra__body h3 small { font-weight: 500; color: var(--cipos-muted); }
.cipos-extra__price {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--cipos-muted);
	font-weight: 600;
}
.cipos-extra__note {
	margin: 4px 0 0;
	font-size: 11px;
	color: var(--cipos-muted);
	line-height: 1.4;
}
.cipos-extra__counter {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-top: 4px;
}
.cipos-extra__counter .cipos-counter__btn { width: 28px; height: 28px; font-size: 14px; }
.cipos-extra__counter input {
	width: 36px;
	border: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	background: transparent;
	-moz-appearance: textfield;
}
.cipos-extra__counter input::-webkit-outer-spin-button,
.cipos-extra__counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* -- Days extra box ----------------------------------------------- */
.cipos-days-extra {
	margin-top: 16px;
	padding: 16px;
	background: #fafbfc;
	border-radius: var(--cipos-radius);
}
.cipos-days-extra label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
}
.cipos-option--more.is-selected ~ .cipos-days-extra { display: block; }

/* -- Contact step ------------------------------------------------- */
.cipos-step__body--contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 600px) {
	.cipos-step__body--contact { grid-template-columns: 1fr; }
}
.cipos-field { display: flex; flex-direction: column; gap: 6px; }
.cipos-field--full { grid-column: 1 / -1; }
.cipos-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--cipos-text);
}
.cipos-field input,
.cipos-field textarea {
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.cipos-field input:focus,
.cipos-field textarea:focus {
	outline: 0;
	border-color: var(--cipos-red);
	box-shadow: 0 0 0 3px var(--cipos-red-soft);
}
.cipos-field--check label {
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	color: var(--cipos-muted);
	font-size: 13px;
	line-height: 1.5;
}
.cipos-field--check input { width: 16px; height: 16px; margin-top: 3px; }
.cipos-field--check a { color: var(--cipos-red); }

.cipos-field--actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
}
.cipos-config__submit-inline {
	min-width: 240px;
}
.cipos-config__submit-inline.is-loading { opacity: .6; pointer-events: none; }

/* -- Honeypot ----------------------------------------------------- */
.cipos-config__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -- Summary sidebar ---------------------------------------------- */
.cipos-summary {
	position: sticky;
	top: 96px;
}
@media (max-width: 1023px) {
	.cipos-summary { position: static; }
}
.cipos-summary__inner {
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius-lg);
	padding: 24px;
	box-shadow: var(--cipos-shadow);
}
.cipos-summary__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}
.cipos-summary__items {
	list-style: none;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--cipos-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cipos-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.cipos-summary__qty { font-weight: 700; color: var(--cipos-text); }
.cipos-summary__label { font-size: 14px; color: var(--cipos-text); font-weight: 600; }
.cipos-summary__price { font-size: 14px; font-weight: 700; color: var(--cipos-text); white-space: nowrap; }
.cipos-summary__note {
	display: block;
	font-size: 12px;
	color: var(--cipos-muted);
	margin-top: 2px;
}

.cipos-summary__totals {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
}
.cipos-summary__totals > div {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
}
.cipos-summary__totals dt { color: var(--cipos-muted); margin: 0; }
.cipos-summary__totals dd { color: var(--cipos-text); font-weight: 600; margin: 0; }

.cipos-summary__total {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	padding-top: 12px;
	border-top: 1px solid var(--cipos-border);
	margin-bottom: 4px;
}
.cipos-summary__total-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--cipos-muted);
}
.cipos-summary__total-value {
	font-size: 28px;
	font-weight: 800;
	color: var(--cipos-red);
	letter-spacing: -0.01em;
	line-height: 1.1;
	white-space: nowrap;
}
.cipos-summary__vat {
	margin: 0 0 16px;
	font-size: 11px;
	color: var(--cipos-muted);
	text-align: right;
}

.cipos-summary__extra-day {
	display: flex;
	gap: 10px;
	background: #fff5f5;
	border: 1px solid #ffd6d6;
	border-radius: var(--cipos-radius);
	padding: 12px;
	margin-bottom: 16px;
	font-size: 12px;
}
.cipos-summary__extra-day strong { display: block; color: var(--cipos-text); margin-bottom: 2px; font-size: 13px; }
.cipos-summary__extra-day span { color: var(--cipos-muted); }
.cipos-summary__extra-icon {
	flex: none;
	width: 24px; height: 24px;
	background: var(--cipos-red);
	color: #fff;
	border-radius: 6px;
	display: grid; place-items: center;
}
.cipos-summary__extra-icon .cipos-icon { stroke: #fff; }

.cipos-summary__submit {
	width: 100%;
	justify-content: center;
	margin-bottom: 8px;
}
.cipos-summary__submit.is-loading { opacity: .6; pointer-events: none; }
.cipos-summary__pdf {
	width: 100%;
	justify-content: center;
	margin-bottom: 16px;
}

.cipos-summary__bullets {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 0;
	border-top: 1px solid var(--cipos-border);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--cipos-muted);
}
.cipos-summary__bullets li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.cipos-summary__bullets .cipos-icon { color: var(--cipos-red); }

.cipos-summary__phone {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--cipos-border);
	font-size: 12px;
	color: var(--cipos-muted);
}
.cipos-summary__phone strong { display: block; color: var(--cipos-text); font-size: 13px; }
.cipos-summary__phone a {
	color: var(--cipos-red);
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.cipos-summary__badges {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--cipos-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 11px;
	color: var(--cipos-muted);
	font-weight: 600;
}
.cipos-summary__badges li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.cipos-summary__badges .cipos-icon { color: var(--cipos-red); }

/* -- Submit status ------------------------------------------------ */
.cipos-config-status {
	margin-top: 16px;
	padding: 16px;
	border-radius: var(--cipos-radius);
	font-size: 14px;
	line-height: 1.5;
}
.cipos-config-status.is-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}
.cipos-config-status.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* =================================================================
 * APP-KONFIGURATOR (template-app-konfigurator.php)
 * ================================================================= */

.cipos-app-main { background: #f7f8fa; padding: 32px 0 64px; }
.cipos-app { max-width: var(--cipos-max); margin: 0 auto; padding: 0 24px; }

.cipos-app__breadcrumb { font-size: 13px; color: var(--cipos-muted); margin-bottom: 16px; }
.cipos-app__breadcrumb a { color: var(--cipos-muted); text-decoration: none; }
.cipos-app__breadcrumb a:hover { color: var(--cipos-red); }
.cipos-app__breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .5; }

.cipos-app__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 1023px) {
	.cipos-app__layout { grid-template-columns: 1fr; }
}

.cipos-app__head { margin-bottom: 24px; }
.cipos-app__title {
	font-family: var(--cipos-font);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--cipos-text);
	margin: 0 0 10px;
	letter-spacing: -0.02em;
}
.cipos-app__lead { font-size: 16px; color: var(--cipos-muted); margin: 0 0 20px; max-width: 720px; }

.cipos-app__usp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}
.cipos-app__usp-item {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--cipos-border);
	border-radius: 12px; padding: 12px 16px;
}
.cipos-app__usp-icon {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--cipos-red-bg); color: var(--cipos-red);
	border-radius: 10px; flex-shrink: 0;
}
.cipos-app__usp-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--cipos-text); }
.cipos-app__usp-item span { display: block; font-size: 12px; color: var(--cipos-muted); }

.cipos-app__billing {
	display: inline-flex;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 12px;
	padding: 4px;
	gap: 4px;
}
.cipos-app__billing-btn {
	background: transparent; border: 0;
	padding: 8px 18px; border-radius: 8px;
	cursor: pointer;
	font-family: var(--cipos-font);
	color: var(--cipos-muted);
	display: flex; flex-direction: column;
	line-height: 1.2;
	min-width: 130px;
	text-align: center;
}
.cipos-app__billing-btn strong { font-weight: 600; font-size: 14px; }
.cipos-app__billing-btn span { font-size: 11px; opacity: .8; margin-top: 2px; }
.cipos-app__billing-btn.is-active { background: var(--cipos-red); color: #fff; }

.cipos-app__filter {
	display: flex; flex-wrap: wrap; gap: 12px;
	align-items: center; margin-bottom: 28px;
}
.cipos-app__search {
	flex: 1 1 280px;
	display: flex; align-items: center; gap: 8px;
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 12px;
	padding: 10px 14px;
	color: var(--cipos-muted);
}
.cipos-app__search input {
	border: 0; outline: none;
	flex: 1;
	font-family: var(--cipos-font); font-size: 14px;
	color: var(--cipos-text); background: transparent;
}
.cipos-app__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cipos-app__cat {
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: 999px;
	padding: 8px 14px;
	font-family: var(--cipos-font);
	font-size: 13px;
	color: var(--cipos-text);
	cursor: pointer;
}
.cipos-app__cat:hover { border-color: var(--cipos-red); color: var(--cipos-red); }
.cipos-app__cat.is-active {
	background: var(--cipos-red);
	border-color: var(--cipos-red);
	color: #fff;
}

.cipos-app__group { margin-bottom: 32px; }
.cipos-app__group-head { margin-bottom: 12px; }
.cipos-app__group-head h2 {
	font-family: var(--cipos-font);
	font-size: 20px; font-weight: 700;
	margin: 0 0 4px; color: var(--cipos-text);
}
.cipos-app__group-head p { font-size: 13px; color: var(--cipos-muted); margin: 0; }

.cipos-app__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.cipos-app__card {
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
	position: relative;
}
.cipos-app__card:hover { box-shadow: var(--cipos-shadow-card); border-color: #d1d5db; }
.cipos-app__card.is-selected { border-color: var(--cipos-red); box-shadow: 0 0 0 2px var(--cipos-red-bg); }

.cipos-app__card-media { position: relative; background: #f3f4f6; aspect-ratio: 16 / 9; }
.cipos-app__card-screenshot {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
}
.cipos-app__card-screenshot img { width: 100%; height: 100%; object-fit: cover; }
.cipos-app__card-placeholder { color: #cbd5e1; }
.cipos-app__card-badge {
	position: absolute; top: 10px; left: 10px;
	background: rgba(17, 24, 39, .85); color: #fff;
	font-size: 11px; font-weight: 600;
	padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.cipos-app__card-badge.is-required-badge { background: var(--cipos-red); left: auto; right: 10px; }

.cipos-app__card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cipos-app__card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cipos-app__card-title { font-family: var(--cipos-font); font-size: 16px; font-weight: 700; color: var(--cipos-text); margin: 0; line-height: 1.3; }
.cipos-app__card-price { text-align: right; flex-shrink: 0; line-height: 1.1; }
.cipos-app__card-price strong { display: block; font-size: 18px; font-weight: 700; color: var(--cipos-red); }
.cipos-app__card-price span { display: block; font-size: 11px; color: var(--cipos-muted); margin-top: 2px; }
.cipos-app__card-desc { font-size: 13px; color: var(--cipos-muted); margin: 0; line-height: 1.5; }
.cipos-app__card-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cipos-app__card-features li { font-size: 13px; color: var(--cipos-text); padding-left: 18px; position: relative; line-height: 1.4; }
.cipos-app__card-features li::before {
	content: ''; position: absolute;
	left: 2px; top: 7px;
	width: 6px; height: 6px;
	background: var(--cipos-red); border-radius: 50%;
}
.cipos-app__card-foot {
	margin-top: auto;
	display: flex; align-items: center; justify-content: space-between;
	gap: 10px;
	padding-top: 8px;
	border-top: 1px solid #f3f4f6;
}
.cipos-app__card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--cipos-muted); text-decoration: none; font-weight: 500; }
.cipos-app__card-link:hover { color: var(--cipos-red); }
.cipos-app__card-toggle {
	background: var(--cipos-red); color: #fff;
	border: 0; border-radius: 999px;
	padding: 8px 16px;
	font-family: var(--cipos-font); font-size: 13px; font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.cipos-app__card-toggle:hover:not(:disabled) { background: var(--cipos-red-dark); }
.cipos-app__card-toggle:disabled { opacity: .65; cursor: not-allowed; }
.cipos-app__card-toggle .cipos-app__card-remove { display: none; }
.cipos-app__card.is-selected .cipos-app__card-toggle {
	background: #fff; color: var(--cipos-red);
	border: 1px solid var(--cipos-red);
}
.cipos-app__card.is-selected .cipos-app__card-toggle .cipos-app__card-add { display: none; }
.cipos-app__card.is-selected .cipos-app__card-toggle .cipos-app__card-remove { display: inline; }

.cipos-app__sidebar { position: sticky; top: 100px; align-self: start; }
@media (max-width: 1023px) {
	.cipos-app__sidebar { position: static; }
}

.cipos-app__sidebar-inner {
	background: #fff;
	border: 1px solid var(--cipos-border);
	border-radius: var(--cipos-radius);
	padding: 20px;
	box-shadow: var(--cipos-shadow);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.cipos-app__sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cipos-app__sidebar-head h2 { font-size: 16px; font-weight: 700; margin: 0; }
.cipos-app__count {
	background: var(--cipos-red); color: #fff;
	font-size: 12px; font-weight: 700;
	width: 24px; height: 24px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
}

.cipos-app__cart { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cipos-app__cart-item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center; gap: 10px;
	padding: 10px;
	background: #f9fafb;
	border-radius: 10px;
}
.cipos-app__cart-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--cipos-text); line-height: 1.3; }
.cipos-app__cart-info span { display: block; font-size: 11px; color: var(--cipos-muted); margin-top: 2px; }
.cipos-app__cart-price { text-align: right; line-height: 1.1; }
.cipos-app__cart-price span { font-size: 13px; font-weight: 700; color: var(--cipos-text); }
.cipos-app__cart-price small { display: block; font-size: 10px; color: var(--cipos-muted); }
.cipos-app__cart-remove {
	background: transparent; border: 0;
	color: var(--cipos-muted);
	font-size: 22px; line-height: 1;
	cursor: pointer; padding: 0 4px;
}
.cipos-app__cart-remove:hover { color: var(--cipos-red); }

.cipos-app__cart-empty {
	font-size: 13px; color: var(--cipos-muted);
	background: #f9fafb;
	border: 1px dashed var(--cipos-border);
	border-radius: 10px;
	padding: 16px;
	margin: 0 0 12px;
	text-align: center;
}

.cipos-app__total { border-top: 1px solid var(--cipos-border); padding-top: 14px; margin-bottom: 14px; }
.cipos-app__total-line { display: flex; justify-content: space-between; align-items: baseline; }
.cipos-app__total-label { font-size: 13px; color: var(--cipos-muted); }
.cipos-app__total-value { font-size: 24px; font-weight: 800; color: var(--cipos-text); }
.cipos-app__total-value span { color: var(--cipos-text); }
.cipos-app__total-note { display: block; font-size: 11px; color: var(--cipos-muted); margin-top: 4px; }

.cipos-app__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%;
	padding: 12px 18px;
	border: 0; border-radius: 10px;
	font-family: var(--cipos-font); font-size: 14px; font-weight: 600;
	cursor: pointer;
	margin-bottom: 8px;
	transition: background .15s ease, color .15s ease;
}
.cipos-app__btn--primary { background: var(--cipos-red); color: #fff; }
.cipos-app__btn--primary:hover:not(:disabled) { background: var(--cipos-red-dark); }
.cipos-app__btn--primary:disabled { opacity: .6; cursor: not-allowed; }
.cipos-app__btn--ghost { background: #fff; color: var(--cipos-text); border: 1px solid var(--cipos-border); }
.cipos-app__btn--ghost:hover { border-color: var(--cipos-red); color: var(--cipos-red); }

.cipos-app__contact { border-top: 1px solid var(--cipos-border); padding-top: 14px; margin-top: 6px; }
.cipos-app__contact h3 { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.cipos-app__field { margin-bottom: 10px; }
.cipos-app__field label { display: block; font-size: 12px; font-weight: 600; color: var(--cipos-text); margin-bottom: 4px; }
.cipos-app__field label span { color: var(--cipos-red); }
.cipos-app__field input,
.cipos-app__field textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--cipos-border);
	border-radius: 8px;
	font-family: var(--cipos-font); font-size: 14px;
	color: var(--cipos-text);
	background: #fff;
}
.cipos-app__field input:focus,
.cipos-app__field textarea:focus {
	outline: none;
	border-color: var(--cipos-red);
	box-shadow: 0 0 0 3px var(--cipos-red-bg);
}
.cipos-app__consent {
	display: flex; align-items: flex-start; gap: 8px;
	font-size: 12px; color: var(--cipos-muted);
	margin: 8px 0 12px; line-height: 1.4;
}
.cipos-app__consent input { margin-top: 3px; flex-shrink: 0; }
.cipos-app__consent a { color: var(--cipos-red); }

.cipos-app__hp { position: absolute; left: -9999px; }

.cipos-app-status {
	margin-top: 10px;
	padding: 12px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.4;
}
.cipos-app-status.is-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}
.cipos-app-status.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.cipos-app__perks {
	list-style: none;
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--cipos-border);
	display: flex; flex-direction: column; gap: 10px;
	font-size: 12px;
	color: var(--cipos-muted);
}
.cipos-app__perks li { display: flex; align-items: center; gap: 8px; }
.cipos-app__perks svg { color: var(--cipos-red); flex-shrink: 0; }

.cipos-app__contact-card {
	margin-top: 14px;
	padding: 14px;
	background: var(--cipos-red-bg);
	border-radius: 10px;
	text-align: center;
}
.cipos-app__contact-card strong { display: block; font-size: 13px; color: var(--cipos-text); margin-bottom: 2px; }
.cipos-app__contact-card p { font-size: 12px; color: var(--cipos-muted); margin: 0 0 8px; }
.cipos-app__phone {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff;
	border: 1px solid var(--cipos-red);
	color: var(--cipos-red);
	font-weight: 700; font-size: 13px;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
}
.cipos-app__phone:hover { background: var(--cipos-red); color: #fff !important; }

/* -- Quantity-Picker (kassen / qty) ------------------------------- */
.cipos-app__qty-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.cipos-app__qty-control {
	display: inline-flex;
	align-items: center;
	background: #f9fafb;
	border: 1px solid var(--cipos-border);
	border-radius: 999px;
	padding: 2px;
}
.cipos-app__qty-btn {
	width: 32px; height: 32px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--cipos-red);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	transition: background .15s ease, color .15s ease;
}
.cipos-app__qty-btn:hover:not(:disabled) {
	background: var(--cipos-red);
	color: #fff;
}
.cipos-app__qty-btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.cipos-app__qty-input {
	width: 44px;
	text-align: center;
	border: 0;
	background: transparent;
	font-family: var(--cipos-font);
	font-size: 16px;
	font-weight: 700;
	color: var(--cipos-text);
	-moz-appearance: textfield;
}
.cipos-app__qty-input::-webkit-outer-spin-button,
.cipos-app__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.cipos-app__qty-unit {
	font-size: 13px;
	color: var(--cipos-muted);
	font-weight: 500;
}
.cipos-app__qty-unit > [data-qty-display] {
	color: var(--cipos-text);
	font-weight: 700;
}
.cipos-app__qty-hint {
	display: block;
	font-size: 11px;
	color: var(--cipos-muted);
	margin-top: 4px;
	line-height: 1.5;
}

/* -- Tier-Card (Reservierung) ------------------------------------- */
.cipos-app__tiers {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 4px;
}
.cipos-app__tier {
	display: block;
	cursor: pointer;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	padding: 10px 12px;
	transition: border-color .15s ease, background .15s ease;
}
.cipos-app__tier:hover {
	border-color: var(--cipos-red);
}
.cipos-app__tier input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.cipos-app__tier:has(input:checked) {
	border-color: var(--cipos-red);
	background: var(--cipos-red-bg);
}
.cipos-app__tier-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.cipos-app__tier-label strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--cipos-text);
}
.cipos-app__tier-label small {
	display: block;
	font-size: 11px;
	color: var(--cipos-muted);
	margin-top: 2px;
}
.cipos-app__tier-price {
	font-size: 13px;
	font-weight: 700;
	color: var(--cipos-red);
	white-space: nowrap;
}
.cipos-app__card--tier .cipos-app__card-price {
	display: none;
}

/* -- Logo (Proffix / Selectline) ---------------------------------- */
.cipos-app__card-logo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
}
.cipos-app__card-logo span {
	font-family: var(--cipos-font);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--brand-color, var(--cipos-text));
	text-transform: uppercase;
}

/* -- Per-Kasse-Badge ---------------------------------------------- */
.cipos-app__card-badge.is-per-kasse-badge {
	background: #1f2937;
	left: auto;
	right: 10px;
}
.cipos-app__card.is-required.cipos-app__card--per-kasse .cipos-app__card-badge.is-required-badge {
	right: auto;
	left: 10px;
}

/* -- Dependency-Hinweis -------------------------------------------- */
.cipos-app__card-dep {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #92400e;
	background: #fef3c7;
	border-radius: 8px;
	padding: 6px 10px;
	margin: 0;
	line-height: 1.4;
}
.cipos-app__card-dep svg { flex-shrink: 0; opacity: .8; }

/* -- Disabled-State (Dependency nicht erfüllt) -------------------- */
.cipos-app__card.is-disabled {
	opacity: .55;
	background: #fafbfc;
}
.cipos-app__card.is-disabled .cipos-app__card-toggle {
	background: #e5e7eb;
	color: #9ca3af;
	cursor: not-allowed;
}

@media print {
	.cipos-header, .cipos-footer,
	.cipos-app__filter, .cipos-app__billing,
	.cipos-app__card-toggle, .cipos-app__btn,
	.cipos-app__contact, .cipos-app__contact-card,
	.cipos-app__perks {
		display: none !important;
	}
	.cipos-app-main { background: #fff; padding: 0; }
	.cipos-app__layout { grid-template-columns: 1fr; }
	.cipos-app__sidebar { position: static; }
}

/* =================================================================
 * Doku-Callouts (Tipp / Hinweis / Warnung) – auf BetterDocs-Posts.
 * Markdown wird in publish.py via "> [!TIP] …" Notation generiert.
 * ================================================================= */
.cipos-callout {
	display: flex;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 10px;
	margin: 18px 0;
	font-size: 15px;
	line-height: 1.55;
}
.cipos-callout__icon { flex: 0 0 24px; font-size: 20px; line-height: 1.4; }
.cipos-callout__body { flex: 1; }
.cipos-callout__body p:first-child { margin-top: 0; }
.cipos-callout__body p:last-child { margin-bottom: 0; }
.cipos-callout__title { display: block; font-weight: 700; margin-bottom: 4px; }
.cipos-callout--tipp    { background: #ecfdf5; color: #064e3b; }
.cipos-callout--tipp .cipos-callout__title    { color: #065f46; }
.cipos-callout--hinweis { background: #eff6ff; color: #1e3a8a; }
.cipos-callout--hinweis .cipos-callout__title { color: #1e40af; }
.cipos-callout--warnung { background: #fffbeb; color: #78350f; }
.cipos-callout--warnung .cipos-callout__title { color: #92400e; }

/* Aufklappbare Tabellen / Sektionen via <details class="cipos-doc-collapse"> */
.cipos-doc-collapse {
	margin: 16px 0;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	overflow: hidden;
}
.cipos-doc-collapse > summary {
	cursor: pointer;
	padding: 12px 16px;
	background: var(--cipos-bg);
	font-weight: 600;
	font-size: 14px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.cipos-doc-collapse > summary::-webkit-details-marker { display: none; }
.cipos-doc-collapse > summary::after {
	content: "▾";
	color: var(--cipos-muted);
	transition: transform .15s ease;
}
.cipos-doc-collapse[open] > summary::after { transform: rotate(180deg); }
.cipos-doc-collapse[open] > summary { border-bottom: 1px solid var(--cipos-border); }
.cipos-doc-collapse > table {
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}
.cipos-doc-collapse > table th,
.cipos-doc-collapse > table td {
	padding: 10px 16px;
	border-top: 1px solid var(--cipos-border);
	text-align: left;
	vertical-align: top;
	font-size: 14px;
}
.cipos-doc-collapse > table th { background: #fafbfc; font-weight: 600; }

/* Doku-Tags (Zielgruppe etc.) – kleine Pille, optisch wie Read-Time */
.cipos-doc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0 18px;
}
.cipos-doc-tag {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--cipos-muted);
	letter-spacing: 0.01em;
}
.cipos-doc-tag--admin       { background: #fef3c7; color: #92400e; }
.cipos-doc-tag--endnutzer   { background: #dbeafe; color: #1e40af; }
.cipos-doc-tag--partner     { background: #ede9fe; color: #5b21b6; }
.cipos-doc-tag--superadmin  { background: #fee2e2; color: #991b1b; }

/* Tabellen im Doku-Inhalt ------------------------------------- */
body.single-docs .betterdocs-single-area table,
body.single-docs .docs-single-content table,
body.single-docs article.docs table,
body.single-docs .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	font-size: 15px;
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	overflow: hidden;
}
body.single-docs .betterdocs-single-area table th,
body.single-docs .docs-single-content table th,
body.single-docs article.docs table th,
body.single-docs .entry-content table th {
	background: #fafbfc;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--cipos-border);
	color: var(--cipos-text);
}
body.single-docs .betterdocs-single-area table td,
body.single-docs .docs-single-content table td,
body.single-docs article.docs table td,
body.single-docs .entry-content table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--cipos-border);
	vertical-align: top;
	line-height: 1.55;
}
body.single-docs .betterdocs-single-area table tr:last-child td,
body.single-docs .docs-single-content table tr:last-child td,
body.single-docs article.docs table tr:last-child td,
body.single-docs .entry-content table tr:last-child td {
	border-bottom: 0;
}
body.single-docs .betterdocs-single-area table tbody tr:hover td,
body.single-docs .docs-single-content table tbody tr:hover td,
body.single-docs article.docs table tbody tr:hover td,
body.single-docs .entry-content table tbody tr:hover td {
	background: #fafbfc;
}

/* Inline-Links im Doku-Text — gedämpfter, mit Underline statt knallrot */
body.single-docs .betterdocs-single-area p a,
body.single-docs .betterdocs-single-area td a,
body.single-docs .betterdocs-single-area li a,
body.single-docs .docs-single-content p a,
body.single-docs .docs-single-content td a,
body.single-docs .docs-single-content li a,
body.single-docs article.docs p a,
body.single-docs article.docs td a,
body.single-docs article.docs li a,
body.single-docs .entry-content p a,
body.single-docs .entry-content td a,
body.single-docs .entry-content li a {
	color: #b91c1c;
	text-decoration: underline;
	text-decoration-color: rgba(185, 28, 28, 0.35);
	text-underline-offset: 2px;
	text-decoration-thickness: 1.5px;
}
body.single-docs .betterdocs-single-area p a:hover,
body.single-docs .betterdocs-single-area td a:hover,
body.single-docs .betterdocs-single-area li a:hover,
body.single-docs .docs-single-content p a:hover,
body.single-docs .docs-single-content td a:hover,
body.single-docs .docs-single-content li a:hover {
	color: var(--cipos-red);
	text-decoration-color: var(--cipos-red);
}

/* Aufklapp-Box "Alle Spalten anzeigen" hübscher */
body.single-docs .cipos-doc-collapse {
	border: 1px solid var(--cipos-border);
	border-radius: 10px;
	margin: 18px 0;
	overflow: hidden;
}
body.single-docs .cipos-doc-collapse > summary {
	cursor: pointer;
	padding: 12px 18px;
	background: #fafbfc;
	font-weight: 600;
	font-size: 14px;
	color: var(--cipos-text);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background .15s ease;
}
body.single-docs .cipos-doc-collapse > summary:hover { background: #f3f5f7; }
body.single-docs .cipos-doc-collapse > summary::after {
	content: "▾";
	color: var(--cipos-muted);
	font-size: 14px;
	transition: transform .15s ease;
}
body.single-docs .cipos-doc-collapse[open] > summary::after { transform: rotate(180deg); }
body.single-docs .cipos-doc-collapse[open] > summary { border-bottom: 1px solid var(--cipos-border); }
body.single-docs .cipos-doc-collapse > table {
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}

/* Lightbox für Doku-Bilder ----------------------------------- */
body.single-docs .betterdocs-single-area img,
body.single-docs .docs-single-content img,
body.single-docs article img,
body.single-docs .entry-content img {
	cursor: zoom-in;
	transition: opacity .15s ease;
}
body.single-docs .betterdocs-single-area img:hover,
body.single-docs .docs-single-content img:hover {
	opacity: 0.92;
}

.cipos-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	cursor: zoom-out;
	padding: 32px;
	animation: cipos-lightbox-in .15s ease;
}
.cipos-lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	border: 0 !important;
}
.cipos-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 0;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cipos-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

@keyframes cipos-lightbox-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Inline-Marker für Legenden zu annotierten Screenshots
   → entsprechen 1:1 den roten/blauen Kringeln auf den Bildern */
.cipos-num,
.cipos-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	margin-right: 8px;
	vertical-align: -5px;
	box-shadow: 0 0 0 1.5px #fff;
	flex-shrink: 0;
}
.cipos-num    { background: #e53935; }   /* Rot — view-spezifisch */
.cipos-letter { background: #1565c0; }   /* Blau — globale Default-Elemente */

/* Legende als Liste statt Bullets — Kreis absolut positioniert,
   damit er bei Mehrzeilern immer auf die erste Zeile fluchtet. */
ul.cipos-legend {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}
ul.cipos-legend li {
	margin: 10px 0;
	padding-left: 32px;
	line-height: 1.6;
	position: relative;
}
ul.cipos-legend li > .cipos-num,
ul.cipos-legend li > .cipos-letter {
	position: absolute;
	left: 0;
	top: 3px;                 /* Höhe der ersten Textzeile */
	margin: 0;
	vertical-align: baseline;
}
ul.cipos-legend li > div {
	display: inline;
}

/* =================================================================
 * DOKU-NORMALISIERUNG (am Ende = höchste Specificity)
 * Überschreibt BetterDocs/Olymp-Inline-Styles auf Doc-Seiten.
 * ================================================================= */
body.single-docs,
body.single-docs * { font-family: var(--cipos-font) !important; }

/* Einheitliche Typo-Skala */
body.single-docs h1 { font-size: 36px !important; font-weight: 800 !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; margin: 0 0 12px !important; }
body.single-docs h2 { font-size: 24px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 36px 0 12px !important; letter-spacing: -0.01em !important; scroll-margin-top: 100px; }
body.single-docs h3 { font-size: 18px !important; font-weight: 700 !important; line-height: 1.4 !important; margin: 24px 0 10px !important; scroll-margin-top: 100px; }
body.single-docs h4 { font-size: 16px !important; font-weight: 700 !important; margin: 20px 0 8px !important; }
body.single-docs p,
body.single-docs li,
body.single-docs td,
body.single-docs th { font-size: 15px !important; line-height: 1.65 !important; }
body.single-docs strong { font-weight: 700 !important; }

/* Sidebar / TOC kleiner */
body.single-docs aside,
body.single-docs .betterdocs-sidebar,
body.single-docs .betterdocs-toc { font-size: 14px !important; }

/* Tabellen einheitlich */
body.single-docs table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin: 16px 0 !important;
	border: 1px solid var(--cipos-border) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #fff !important;
}
body.single-docs table th {
	background: #fafbfc !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	text-align: left !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cipos-border) !important;
	color: var(--cipos-text) !important;
}
body.single-docs table td {
	padding: 12px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cipos-border) !important;
	vertical-align: top !important;
	background: #fff !important;
}
body.single-docs table tr:last-child td { border-bottom: 0 !important; }
body.single-docs table tbody tr:hover td { background: #fafbfc !important; }

/* Inline-Links gedämpft */
body.single-docs p a,
body.single-docs td a,
body.single-docs li a {
	color: #b91c1c !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(185, 28, 28, 0.35) !important;
	text-underline-offset: 2px !important;
	text-decoration-thickness: 1.5px !important;
}
body.single-docs p a:hover,
body.single-docs td a:hover,
body.single-docs li a:hover { color: var(--cipos-red) !important; text-decoration-color: var(--cipos-red) !important; }

/* Heading-Anchor "#" → Copy-Icon */
body.single-docs h1 a[href^="#"],
body.single-docs h2 a[href^="#"],
body.single-docs h3 a[href^="#"] {
	font-size: 0 !important;
	color: transparent !important;
	text-decoration: none !important;
	margin-left: 8px !important;
	opacity: 0;
	transition: opacity .15s ease;
	display: inline-block;
	vertical-align: middle;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center/contain !important;
	border: 0 !important;
}
body.single-docs h1:hover a[href^="#"],
body.single-docs h2:hover a[href^="#"],
body.single-docs h3:hover a[href^="#"] { opacity: 0.6; }
body.single-docs h1 a[href^="#"]:hover,
body.single-docs h2 a[href^="#"]:hover,
body.single-docs h3 a[href^="#"]:hover { opacity: 1; }

/* Tag-Pille inline neben Read-Time */
body.single-docs .cipos-doc-tags--inline {
	display: inline-flex !important;
	margin: 0 0 0 8px !important;
	vertical-align: middle;
}

/* Bilder im Doc klickbar */
body.single-docs img.cipos-img-zoomable { cursor: zoom-in; transition: opacity .15s ease; }
body.single-docs img.cipos-img-zoomable:hover { opacity: 0.92; }

/* =================================================================
 * Docs-Schutz: Plugin-CSS soll Header/Menü/Breadcrumb/TOC nicht zerstören
 * Olymp Parent setzt globales `a { text-decoration: underline }` —
 * BetterDocs lädt zusätzlich Layout-CSS, deshalb hier hart absichern.
 * ================================================================= */
body.single-docs .cipos-header .cipos-menu a,
body.docs-template-default .cipos-header .cipos-menu a,
body.post-type-archive-docs .cipos-header .cipos-menu a {
	text-decoration: none !important;
	color: #000 !important;
}
body.single-docs .cipos-header .cipos-menu .current-menu-item > a,
body.single-docs .cipos-header .cipos-menu li:hover > a,
body.docs-template-default .cipos-header .cipos-menu .current-menu-item > a,
body.docs-template-default .cipos-header .cipos-menu li:hover > a {
	color: var(--cipos-red) !important;
}

/* BetterDocs eigene Breadcrumbs + TOC nicht generisch unterstreichen */
body.single-docs .betterdocs-breadcrumb a,
body.single-docs .betterdocs-breadcrumb-item a,
body.single-docs .betterdocs-toc a,
body.single-docs .toc-list a,
body.single-docs .right-sidebar-toc-container a {
	text-decoration: none !important;
}
body.single-docs .betterdocs-breadcrumb a:hover,
body.single-docs .betterdocs-toc a:hover,
body.single-docs .toc-list a:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Header-Logo + Actions auf Docs nicht stylen lassen */
body.single-docs .cipos-header__logo a,
body.single-docs .cipos-header__actions a {
	text-decoration: none !important;
}

/* =================================================================
 * Docs-Sidebar — clean Look angelehnt ans Mietsystem-Mockup
 * ================================================================= */

/* Sidebar als Card */
body.single-docs .betterdocs-sidebar-content,
body.docs-template-default .betterdocs-sidebar-content {
	background: #fff !important;
	padding: 18px 14px !important;
	border-radius: 16px !important;
	border: 1px solid var(--cipos-border) !important;
	box-shadow: var(--cipos-shadow) !important;
}

/* „DOKUMENTATION" Eyebrow oberhalb der Kategorien */
body.single-docs .betterdocs-sidebar-content::before {
	content: 'Dokumentation';
	display: block;
	padding: 0 6px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--cipos-muted);
	text-transform: uppercase;
}

/* Search-Modal kompakt halten */
body.single-docs .betterdocs-search-modal-sidebar {
	margin-bottom: 14px;
}

/* Kategorie-Box: keine Default-Cards mehr, klar gestapelt */
body.single-docs .betterdocs-single-category-wrapper {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
}
body.single-docs .betterdocs-single-category-inner {
	background: transparent !important;
	padding: 0 !important;
}

/* Kategorie-Header: Icon + Titel + Counter */
body.single-docs .betterdocs-category-header {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}
body.single-docs .betterdocs-category-header-inner {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 6px 10px !important;
	margin: 2px 4px !important;
	border-radius: 6px !important;
	min-height: 32px !important;
	cursor: pointer !important;
	transition: background .15s, color .15s !important;
}
body.single-docs .betterdocs-category-header-inner:hover {
	background: #f3f4f6 !important;
}
/* AKTIV = rosa Bg, rotes Icon/Text + roter Counter mit weißer Zahl */
body.single-docs .betterdocs-single-category-wrapper.active > .betterdocs-single-category-inner > .betterdocs-category-header > .betterdocs-category-header-inner {
	background: var(--cipos-red-bg) !important;
}
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-title {
	color: var(--cipos-red) !important;
}
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-icon svg path,
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-icon svg rect {
	fill: var(--cipos-red) !important;
}
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-collapse {
	color: var(--cipos-red) !important;
}
/* Folder-Icon links: Farbe + Größe */
body.single-docs .betterdocs-category-icon {
	flex: none !important;
	width: 22px !important;
	height: 22px !important;
	display: grid !important;
	place-items: center !important;
}
body.single-docs .betterdocs-category-icon svg {
	width: 18px !important;
	height: 18px !important;
}
body.single-docs .betterdocs-category-icon svg path,
body.single-docs .betterdocs-category-icon svg rect {
	fill: var(--cipos-muted) !important;
	transition: fill .15s !important;
}
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-icon svg path,
body.single-docs .betterdocs-single-category-wrapper.active .betterdocs-category-icon svg rect,
body.single-docs .betterdocs-category-header-inner:hover .betterdocs-category-icon svg path,
body.single-docs .betterdocs-category-header-inner:hover .betterdocs-category-icon svg rect {
	fill: var(--cipos-red) !important;
}

/* Kategorie-Titel */
body.single-docs .betterdocs-category-title,
body.single-docs h2.betterdocs-category-title {
	flex: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--cipos-font) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--cipos-text) !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
}

/* Counter-Badges komplett weg */
body.single-docs .betterdocs-category-items-counts {
	display: none !important;
}

/* Chevron-Pfeil dezent — Active-Zustand wird oben gesetzt */
body.single-docs .betterdocs-category-collapse {
	width: 12px !important;
	height: 12px !important;
	color: var(--cipos-muted) !important;
	margin-left: 2px !important;
}

/* Article-Liste: schlicht eingerückt, ohne Tree-Linie */
body.single-docs .betterdocs-body {
	margin: 4px 0 12px 0 !important;
	padding: 0 0 0 22px !important;
	background: transparent !important;
	border: 0 !important;
}
body.single-docs .betterdocs-articles-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: block !important;
}
body.single-docs .betterdocs-articles-list li {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
}
body.single-docs .betterdocs-articles-list li > svg {
	display: none !important;
}
body.single-docs .betterdocs-articles-list li a {
	display: block !important;
	padding: 6px 12px !important;
	margin: 1px 0 !important;
	border-radius: 8px !important;
	font-family: var(--cipos-font) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--cipos-muted) !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	transition: background .15s, color .15s !important;
}
body.single-docs .betterdocs-articles-list li a:hover {
	background: #f3f4f6 !important;
	color: var(--cipos-text) !important;
}
body.single-docs .betterdocs-articles-list li > a.active,
body.single-docs .betterdocs-articles-list li.current_doc > a,
body.single-docs .betterdocs-articles-list li.current-doc > a,
body.single-docs .betterdocs-articles-list li.active > a,
body.single-docs .betterdocs-articles-list li > a[aria-current="page"] {
	background: var(--cipos-red-bg) !important;
	color: var(--cipos-red) !important;
	font-weight: 600 !important;
	position: relative !important;
}
/* Roter Strich links als Marker beim aktiven Sub-Item (überschreibt BetterDocs-Default-Grün) */
body.single-docs .betterdocs-articles-list li > a.active::before,
body.single-docs .betterdocs-articles-list li > a.active:before {
	content: '' !important;
	display: block !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 3px !important;
	height: 18px !important;
	background: var(--cipos-red) !important;
	border-radius: 2px !important;
}

/* Trenner zwischen Top-Level-Kategorien — dezenter Spacer */
body.single-docs .betterdocs-single-category-wrapper + .betterdocs-single-category-wrapper {
	margin-top: 2px !important;
}

/* BetterDocs zeichnet auf der aktiven Kategorie eine graue 1px-Linie links via ::before — weg damit */
body.single-docs .betterdocs-single-category-wrapper.active.default.show::before,
body.single-docs .betterdocs-single-category-wrapper.active::before,
body.single-docs .betterdocs-articles-list .betterdocs-nested-category-wrapper .betterdocs-nested-category-list.active::before {
	display: none !important;
	background: transparent !important;
	width: 0 !important;
}
body.single-docs .cipos-doc-help {
	margin: 16px 12px 0;
	padding: 18px 16px;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--cipos-red-bg) 0%, #fff5f5 100%);
	border: 1px solid #ffd6d6;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
body.single-docs .cipos-doc-help__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	color: var(--cipos-red);
}
body.single-docs .cipos-doc-help__body strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
	color: var(--cipos-text);
}
body.single-docs .cipos-doc-help__body span {
	display: block;
	font-size: 12px;
	color: var(--cipos-muted);
	margin-bottom: 10px;
}
body.single-docs .cipos-doc-help a.cipos-btn {
	padding: 8px 14px !important;
	font-size: 13px !important;
}

body.single-docs .cipos-doc-help__body { flex: 1; }

/* =================================================================
 * Docs — restliche Polish-Bausteine: Breadcrumb, Pills, Right-TOC
 * Ausrichtung am Mockup "Vorschlag 1 – Klassisch (3-spaltig)"
 * ================================================================= */

/* --- Breadcrumb: rote Links, kompakter Style --- */
body.single-docs .betterdocs-breadcrumb {
	margin: 0 0 16px !important;
	padding: 8px 16px !important;
	background: #f9fafb !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	width: auto !important;
}
body.single-docs .betterdocs-breadcrumb-list {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-wrap: wrap !important;
}
body.single-docs .betterdocs-breadcrumb-item {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
}
body.single-docs .betterdocs-breadcrumb-item a.bread-link {
	color: var(--cipos-red) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
}
body.single-docs .betterdocs-breadcrumb-item a.bread-link:hover {
	text-decoration: underline !important;
}
body.single-docs .betterdocs-breadcrumb-item:last-child {
	color: var(--cipos-text) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
}

/* --- Reading-Time-Pille: hellgrau, rund --- */
body.single-docs .reading-time.betterdocs {
	display: inline-flex !important;
	align-items: center !important;
	background: #f3f4f6 !important;
	border-radius: 999px !important;
	padding: 4px 12px !important;
	margin: 0 8px 16px 0 !important;
	font-size: 12px !important;
	color: var(--cipos-muted) !important;
	border: 0 !important;
}
body.single-docs .reading-time.betterdocs p {
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 12px !important;
}
body.single-docs .reading-time.betterdocs svg {
	width: 12px !important;
	height: 12px !important;
}

/* --- Cipos doc-tag Pillen (Zielgruppe) inline neben Reading-Time --- */
body.single-docs .cipos-doc-tags {
	display: inline-flex !important;
	gap: 8px !important;
	margin: 0 0 16px !important;
	vertical-align: top !important;
}

/* --- Right TOC: clean text-Only, rote aktive Links --- */
body.single-docs .right-sidebar-toc-container,
body.single-docs .betterdocs-toc {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}
body.single-docs .betterdocs-toc .toc-title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--cipos-text) !important;
	margin: 0 0 10px !important;
	padding: 0 0 10px !important;
	border-bottom: 1px solid var(--cipos-border) !important;
}
body.single-docs .betterdocs-toc ul,
body.single-docs .betterdocs-toc ul.betterdocs-hierarchial-toc {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
}
/* graue Tree-Linie killen */
body.single-docs .betterdocs-toc ul::before,
body.single-docs .betterdocs-toc ul.betterdocs-hierarchial-toc::before,
body.single-docs .betterdocs-toc ul:before,
body.single-docs .betterdocs-toc ul.betterdocs-hierarchial-toc:before {
	display: none !important;
	background: transparent !important;
	width: 0 !important;
	content: none !important;
}
body.single-docs .betterdocs-toc ul ul {
	padding-left: 12px !important;
	margin: 0 !important;
}
body.single-docs .betterdocs-toc li {
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}
body.single-docs .betterdocs-toc li a {
	display: block !important;
	padding: 4px 0 !important;
	margin: 0 !important;
	font-family: var(--cipos-font) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: var(--cipos-muted) !important;
	text-decoration: none !important;
	transition: color .15s !important;
	border: 0 !important;
	background: transparent !important;
}
body.single-docs .betterdocs-toc li a::before,
body.single-docs .betterdocs-toc li a:before {
	display: none !important;
	content: none !important;
}
body.single-docs .betterdocs-toc li a:hover,
body.single-docs .betterdocs-toc li.is-active-link > a,
body.single-docs .betterdocs-toc li.active > a,
body.single-docs .betterdocs-toc li > a.active {
	color: var(--cipos-red) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
}

/* TOC mobile-Toggle ohne BetterDocs-Default-Hintergrund */
body.single-docs .betterdocs-toc-icon { display: none !important; }
