/* IBZ eLearning – Oberfläche
   Tokens, Hintergrund, Glas, Header, Off-Canvas, Sprachpille, Punktanzeige, Hero.
   Mobile zuerst. Farben/Schriften spiegeln die globalen Elementor-Einstellungen. */

:root {
	--ibz-ink: #0C2A1F;
	--ibz-forest: #14432F;
	--ibz-green: #1E6A47;
	--ibz-moss: #4E7A2E;
	--ibz-lime: #C9E37E;
	--ibz-lime-light: #E7F2C4;
	--ibz-mint: #F3F8EA;
	--ibz-amber: #F2A83B;
	--ibz-amber-dark: #8A4B00;
	--ibz-white: #FFFFFF;

	--ibz-glass: rgba(255, 255, 255, .78);
	--ibz-glass-solid: rgba(255, 255, 255, .94);
	--ibz-edge: inset 0 0 0 1px rgba(255, 255, 255, .7);
	--ibz-hairline: rgba(20, 67, 47, .12);
	--ibz-shadow: 0 1px 2px rgba(12, 42, 31, .05), 0 24px 48px -24px rgba(20, 67, 47, .30);
	--ibz-shadow-sm: 0 1px 2px rgba(12, 42, 31, .06), 0 10px 24px -14px rgba(20, 67, 47, .30);

	--ibz-r-sm: 12px;
	--ibz-r-md: 16px;
	--ibz-r-lg: 24px;
	--ibz-r-xl: 32px;
	--ibz-r-pill: 999px;

	--ibz-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--ibz-font-text: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, sans-serif;

	--ibz-ease-out: cubic-bezier(.23, 1, .32, 1);
	--ibz-ease-drawer: cubic-bezier(.32, .72, 0, 1);
	--ibz-ease-in-out: cubic-bezier(.77, 0, .175, 1);
	--ibz-gutter: 16px;
	--ibz-dur-press: 120ms;   /* Druckfeedback, kleine Hover-Hintergründe */
	--ibz-dur-fast: 160ms;    /* Buttons, Chips, Links, Farbwechsel */
	--ibz-dur-menu: 180ms;    /* Sprachliste, Chevron */
	--ibz-dur-base: 200ms;    /* Karten, Pfeile, Einblenden, Filter-Übergang */
	--ibz-dur-exit: 220ms;    /* Seitenmenü schließen */
	--ibz-dur-drawer: 280ms;  /* Seitenmenü öffnen */
}

@media (min-width: 768px) { :root { --ibz-gutter: 24px; } }
@media (min-width: 1024px) { :root { --ibz-gutter: 32px; } }

/* ---------------------------------------------------------------- Basis */

/* Mobil nativ: kein Tap-Blitz, keine Schrift-Aufblähung im Querformat */
html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}
/* Sprungmarken gleiten (Orientierung) – nicht bei „Bewegung reduzieren“, nicht bei Tastaturbedienung. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
html:focus-within { scroll-behavior: auto; }

/* Bedienelemente: sofortiger Tap (kein Doppeltipp-Zoom), kein Markieren bei langem Druck */
button,
[role="button"],
[role="tab"],
.elementor-button,
.ibz-account,
.ibz-nav__list a,
.ibz-drawer__list a,
.ibz-lang__item,
.ibz-card__title a,
.ibz-chip {
	touch-action: manipulation;
	cursor: pointer;
}
button,
[role="button"],
[role="tab"],
.elementor-button,
.ibz-account,
.ibz-lang__item {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

/* Eingabefelder nie unter 16 px – sonst zoomt iOS beim Fokus */
input, textarea, select { font-size: max(16px, 1rem); }

body {
	background-color: var(--ibz-mint);
	color: var(--ibz-ink);
	font-family: var(--ibz-font-text);
	font-size: 1.125rem;
	line-height: 1.6;
	caret-color: var(--ibz-forest);
	accent-color: var(--ibz-forest);
	scrollbar-color: var(--ibz-green) var(--ibz-mint);
	overflow-x: clip;
}

/* Statischer Verlauf: Gelbgrün oben links, Grün rechts, Amber-Glühen unten rechts. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--ibz-lime) 95%, transparent) 0%, transparent 70%),
		radial-gradient(55% 50% at 100% 15%, color-mix(in srgb, var(--ibz-green) 20%, transparent) 0%, transparent 70%),
		radial-gradient(50% 45% at 90% 95%, color-mix(in srgb, var(--ibz-amber) 34%, transparent) 0%, transparent 70%),
		radial-gradient(60% 50% at 20% 100%, color-mix(in srgb, var(--ibz-lime) 45%, transparent) 0%, transparent 70%),
		var(--ibz-mint);
}

::selection { background: var(--ibz-lime); color: var(--ibz-ink); }

[id] { scroll-margin-top: 104px; }

a { color: var(--ibz-green); text-underline-offset: .2em; text-decoration-thickness: .08em; }

body :focus-visible {
	outline: 3px solid var(--ibz-forest);
	outline-offset: 3px;
}

.ibz-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ibz-icon { width: 1.5rem; height: 1.5rem; flex: none; }

body a.ibz-skip,
body a.ibz-skip:hover {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-forest);
	color: var(--ibz-white);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(calc(-100% - 24px));
}
body a.ibz-skip:focus,
body a.ibz-skip:focus:hover { transform: none; color: var(--ibz-white); background: var(--ibz-forest); }

/* Glas: immer mit deckendem Untergrund. Echte Unschärfe nur dort, wo etwas dahinter liegt
   (Header über dem Inhalt, Fortschrittskarte über dem Foto) – spart Rechenlast beim Scrollen. */
.ibz-glass,
.ibz-header__bar,
.ibz-lang__list,
.ibz-drawer__panel {
	background: var(--ibz-glass-solid);
	box-shadow: var(--ibz-edge), var(--ibz-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.elementor .e-con.ibz-hero__card,
	.ibz-header__bar {
		background: var(--ibz-glass);
		-webkit-backdrop-filter: blur(20px) saturate(1.4);
		backdrop-filter: blur(20px) saturate(1.4);
	}
}
@media (prefers-reduced-transparency: reduce) {
	.elementor .e-con.ibz-hero__card,
	.ibz-header__bar {
		background: var(--ibz-glass-solid);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

/* Platzhalter klar erkennbar */
.ibz-placeholder,
.ibz-placeholder p {
	color: var(--ibz-ink);
}
.elementor .elementor-widget.ibz-placeholder {
	padding: .75rem 1rem;
	border: 1.5px dashed var(--ibz-amber-dark);
	border-radius: var(--ibz-r-sm);
	background: color-mix(in srgb, var(--ibz-white) 60%, transparent);
}
.ibz-placeholder p { margin: 0; }

/* ---------------------------------------------------------------- Header */

.ibz-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: calc(12px + env(safe-area-inset-top, 0px)) max(var(--ibz-gutter), env(safe-area-inset-right, 0px)) 0 max(var(--ibz-gutter), env(safe-area-inset-left, 0px));
}
.admin-bar .ibz-site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ibz-site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .ibz-site-header { top: 0; } }

.elementor .e-con.ibz-header__bar {
	max-width: 1200px;
	margin-inline: auto;
	min-height: 64px;
	border-radius: var(--ibz-r-lg);
}

/* Wortmarke */
.ibz-wordmark .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
	color: var(--ibz-forest);
}
.ibz-wordmark .elementor-heading-title a { color: inherit; text-decoration: none; display: inline-block; padding-block: 12px; }
.ibz-wordmark__light { font-weight: 500; color: var(--ibz-green); }

/* DOM-Reihenfolge = sichtbare Reihenfolge (kein CSS-order):
   mobil  Wortmarke · Sprache · Menü-Button
   ab 1024 px  Wortmarke · Navigation · Sprache · Konto */
.e-con > .elementor-widget.ibz-h-nav,
.e-con > .elementor-widget.ibz-h-account { display: none; }
@media (min-width: 768px) {
	.e-con > .elementor-widget.ibz-h-account { display: block; }
}
@media (min-width: 1024px) {
	.e-con > .elementor-widget.ibz-h-nav { display: block; margin-inline-start: auto; }
	.e-con > .elementor-widget.ibz-h-menu { display: none; }
}
.ibz-h-lang,
.ibz-h-nav,
.ibz-h-menu,
.ibz-h-account { flex: none; }

/* Desktop-Navigation */
.ibz-nav { display: none; }
@media (min-width: 1024px) {
	.ibz-nav { display: block; }
	.ibz-burger { display: none !important; }
}
.ibz-nav__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ibz-site-header .ibz-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	border-radius: var(--ibz-r-pill);
	color: var(--ibz-ink);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color var(--ibz-dur-fast) ease;
}
.ibz-site-header .ibz-nav__list a[aria-current="page"] { background: var(--ibz-lime); }
@media (hover: hover) and (pointer: fine) {
	.ibz-site-header .ibz-nav__list a:hover { background: var(--ibz-lime-light); }
}

/* Konto-Button */
.ibz-site-header .ibz-account,
.ibz-drawer .ibz-account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.375rem;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-forest);
	color: var(--ibz-white);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out), background-color var(--ibz-dur-fast) ease;
}
.ibz-site-header .ibz-account:active,
.ibz-drawer .ibz-account:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
	.ibz-site-header .ibz-account:hover,
	.ibz-drawer .ibz-account:hover { background: var(--ibz-green); color: var(--ibz-white); }
}
.ibz-drawer .ibz-account--block { display: flex; width: 100%; }

/* Menü-Button */
.ibz-site-header .ibz-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-forest);
	color: var(--ibz-white);
	cursor: pointer;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out);
}
.ibz-site-header .ibz-burger:hover, .ibz-site-header .ibz-burger:focus { background: var(--ibz-forest); color: var(--ibz-white); }
.ibz-site-header .ibz-burger:active { transform: scale(.95); }

/* ---------------------------------------------------------------- Off-Canvas */

.ibz-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(26rem, 100vw);
	height: 100dvh;
	max-width: 100vw;
	max-height: none;
	margin: 0;
	padding: calc(12px + env(safe-area-inset-top, 0px)) calc(12px + env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) 12px;
	border: 0;
	background: transparent;
	color: var(--ibz-ink);
	overflow: visible;
	transform: translateX(calc(100% + 24px));
	transition:
		transform var(--ibz-dur-exit) var(--ibz-ease-drawer),
		overlay var(--ibz-dur-exit) allow-discrete,
		display var(--ibz-dur-exit) allow-discrete;
}
.ibz-drawer[open] {
	transform: none;
	transition-duration: var(--ibz-dur-drawer);
}
@starting-style {
	.ibz-drawer[open] { transform: translateX(calc(100% + 24px)); }
}
.ibz-drawer::backdrop {
	background: color-mix(in srgb, var(--ibz-ink) 50%, transparent);
	opacity: 0;
	transition: opacity var(--ibz-dur-exit) ease, overlay var(--ibz-dur-exit) allow-discrete, display var(--ibz-dur-exit) allow-discrete;
}
.ibz-drawer[open]::backdrop { opacity: 1; }
@starting-style {
	.ibz-drawer[open]::backdrop { opacity: 0; }
}

.ibz-drawer__panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	padding: 12px 12px 20px;
	border-radius: var(--ibz-r-xl);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ibz-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline-start: 12px;
}
.ibz-drawer__title {
	margin: 0;
	font-family: var(--ibz-font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ibz-moss);
}
.ibz-drawer .ibz-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-lime-light);
	color: var(--ibz-forest);
	cursor: pointer;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out), background-color var(--ibz-dur-fast) ease;
}
.ibz-drawer .ibz-drawer__close:hover, .ibz-drawer .ibz-drawer__close:focus { background: var(--ibz-lime); color: var(--ibz-forest); }
.ibz-drawer .ibz-drawer__close:active { transform: scale(.95); }

.ibz-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ibz-drawer .ibz-drawer__list a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: .5rem 12px;
	border-radius: var(--ibz-r-md);
	color: var(--ibz-ink);
	font-family: var(--ibz-font-display);
	font-weight: 600;
	font-size: 1.5rem;
	letter-spacing: -.02em;
	text-decoration: none;
	transition: background-color var(--ibz-dur-fast) ease;
}
.ibz-drawer .ibz-drawer__list a[aria-current="page"] { background: var(--ibz-lime); }
@media (hover: hover) and (pointer: fine) {
	.ibz-drawer .ibz-drawer__list a:hover { background: var(--ibz-lime-light); }
}
.ibz-drawer__foot { margin-top: auto; }

/* ---------------------------------------------------------------- Sprachpille */

.ibz-lang { position: relative; }

.ibz-lang .ibz-lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: 0 .75rem 0 1rem;
	border: 0;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-lime-light);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	color: var(--ibz-ink);
	font: 700 1rem/1 var(--ibz-font-text);
	cursor: pointer;
	transition: background-color var(--ibz-dur-fast) ease, transform var(--ibz-dur-fast) var(--ibz-ease-out);
}
.ibz-lang .ibz-lang__toggle:hover,
.ibz-lang .ibz-lang__toggle:focus { background: var(--ibz-lime-light); color: var(--ibz-ink); }
@media (hover: hover) and (pointer: fine) {
	.ibz-lang .ibz-lang__toggle:hover { background: var(--ibz-lime); }
}
.ibz-lang .ibz-lang__toggle:active { transform: scale(.97); }
.ibz-lang__toggle .ibz-lang__code { color: var(--ibz-forest); letter-spacing: .02em; }
.ibz-lang__toggle .ibz-lang__name { font-weight: 400; }
.ibz-lang__toggle .ibz-icon { width: 1.25rem; height: 1.25rem; transition: transform var(--ibz-dur-menu) var(--ibz-ease-out); }
.ibz-lang__toggle[aria-expanded="true"] .ibz-icon { transform: rotate(180deg); }

/* Mobil nur das Kürzel zeigen – der Name bleibt für Screenreader. */
@media (max-width: 479px) {
	.ibz-lang__toggle .ibz-lang__name {
		position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
}

.ibz-lang__list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 60;
	min-width: 14rem;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: 20px;
	transform-origin: top right;
	transition: opacity var(--ibz-dur-fast) var(--ibz-ease-out), transform var(--ibz-dur-menu) var(--ibz-ease-out);
}
.ibz-lang__list[hidden] { display: none; }
@starting-style {
	.ibz-lang__list:not([hidden]) { opacity: 0; transform: translateY(-4px) scale(.97); }
}

.ibz-lang .ibz-lang__item {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 48px;
	padding: 0 .875rem;
	border-radius: 14px;
	color: var(--ibz-ink);
	font-size: 1rem;
	text-decoration: none;
	transition: background-color var(--ibz-dur-press) ease;
}
.ibz-lang__item .ibz-lang__code {
	width: 2rem;
	font-weight: 700;
	color: var(--ibz-forest);
	font-variant-numeric: tabular-nums;
}
.ibz-lang__item .ibz-icon { margin-inline-start: auto; width: 1.25rem; height: 1.25rem; color: var(--ibz-forest); }
.ibz-lang .ibz-lang__item[aria-current="true"] { background: var(--ibz-lime); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
	.ibz-lang .ibz-lang__item:not([aria-current]):hover { background: var(--ibz-lime-light); color: var(--ibz-ink); }
}
.ibz-lang__item[aria-disabled="true"] { cursor: not-allowed; }
.ibz-lang__soon {
	margin-inline-start: auto;
	font-size: 1rem;
	color: var(--ibz-moss);
}

/* ---------------------------------------------------------------- Punktanzeige */

.ibz-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .875rem;
	margin: 0;
}
.ibz-dots__row { display: inline-flex; gap: 6px; }
.ibz-dots__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1.5px var(--ibz-forest);
}
.ibz-dots__dot.is-on { background: var(--ibz-forest); }
.ibz-dots__label {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ibz-ink);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Hero
   Abstände (Padding) der Container sind in Elementor gesetzt. */

.ibz-pill .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .4rem .9rem .4rem .75rem;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-glass-solid);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	font-family: var(--ibz-font-text);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ibz-forest);
}
.ibz-pill .elementor-heading-title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ibz-amber);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ibz-amber) 25%, transparent);
}

.ibz-hero__title .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: clamp(2.75rem, 1.5rem + 6vw, 5.25rem);
	font-weight: 650;
	line-height: 1;
	letter-spacing: -.035em;
	color: var(--ibz-ink);
	text-wrap: balance;
}
.ibz-hero__title .ibz-wordmark__light { font-weight: 400; color: var(--ibz-green); }

.ibz-hero__lead { max-width: 36rem; font-size: 1.25rem; }

/* Buttons im Hero */
.elementor-widget.ibz-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 1.5rem;
	border-radius: var(--ibz-r-pill);
	font-family: var(--ibz-font-text);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out), background-color var(--ibz-dur-fast) ease, box-shadow var(--ibz-dur-fast) ease;
}
.elementor-widget.ibz-btn .elementor-button:active { transform: scale(.97); }
.elementor-widget.ibz-btn--primary .elementor-button { background: var(--ibz-forest); color: var(--ibz-white); padding-inline-end: .375rem; gap: .75rem; }
.elementor-widget.ibz-btn--primary .elementor-button-content-wrapper { align-items: center; gap: .875rem; }
/* Pfeil-Kreis rechts im Primär-Button */
.elementor-widget.ibz-btn--primary .elementor-button-text::after {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-inline-start: .875rem;
	vertical-align: middle;
	border-radius: 50%;
	background:
		center / 20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"),
		var(--ibz-lime);
	transition: transform var(--ibz-dur-base) var(--ibz-ease-out);
}
.elementor-widget.ibz-btn--secondary .elementor-button {
	background: var(--ibz-glass-solid);
	color: var(--ibz-forest);
	box-shadow: inset 0 0 0 1.5px var(--ibz-forest);
}
@media (hover: hover) and (pointer: fine) {
	.elementor-widget.ibz-btn--primary .elementor-button:hover { background: var(--ibz-green); color: var(--ibz-white); }
	.elementor-widget.ibz-btn--primary .elementor-button:hover .elementor-button-text::after { transform: translateX(3px); }
	.elementor-widget.ibz-btn--secondary .elementor-button:hover { background: var(--ibz-white); color: var(--ibz-forest); }
}

/* Bildseite */
.elementor .e-con.ibz-hero__visual { position: relative; }

.elementor .e-con.ibz-photo {
	aspect-ratio: 4 / 3;
	border-radius: var(--ibz-r-xl);
	overflow: hidden;
	background:
		radial-gradient(80% 70% at 85% 10%, color-mix(in srgb, var(--ibz-amber) 30%, transparent) 0%, transparent 70%),
		linear-gradient(160deg, var(--ibz-lime-light) 0%, var(--ibz-lime) 100%);
	box-shadow: var(--ibz-shadow);
}
@media (min-width: 1024px) { .elementor .e-con.ibz-photo { aspect-ratio: 1 / 1; } }

/* Hero-Foto füllt seine Fläche; Platz ist per aspect-ratio reserviert (kein Layout-Sprung). */
.elementor .e-con.ibz-photo { overflow: hidden; }
.elementor .e-con.ibz-photo > .elementor-widget-image {
	position: absolute;
	inset: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}
.ibz-photo__img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}
.ibz-photo__img img { object-position: 42% 50%; }
.ibz-photo__note { max-width: 18rem; text-align: center; }
.elementor .elementor-widget.ibz-photo__note { background: var(--ibz-glass-solid); }

.elementor .e-con.ibz-hero__card {
	width: min(21rem, calc(100% - 32px));
	margin: -56px auto 0;
	border-radius: var(--ibz-r-lg);
	position: relative;
	z-index: 2;
}
@media (min-width: 1024px) {
	.elementor .e-con.ibz-hero__card { position: absolute; left: -16px; bottom: 40px; margin: 0; }
}
@media (min-width: 1280px) {
	.elementor .e-con.ibz-hero__card { left: -40px; }
}
.ibz-card__kicker .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--ibz-ink);
}
.ibz-card__note,
.ibz-card__note p { font-size: 1rem; color: var(--ibz-green); margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
	.ibz-drawer,
	.ibz-drawer[open] {
		transform: none;
		opacity: 0;
		transition: opacity var(--ibz-dur-base) ease, overlay var(--ibz-dur-base) allow-discrete, display var(--ibz-dur-base) allow-discrete;
	}
	.ibz-drawer[open] { opacity: 1; }
	@starting-style {
		.ibz-drawer[open] { transform: none; opacity: 0; }
		.ibz-lang__list:not([hidden]) { transform: none; }
	}
	.ibz-lang__list { transition: opacity var(--ibz-dur-press) ease; }
	/* Selektoren so spezifisch wie die Originalregeln – sonst greifen die Overrides nicht. */
	.ibz-lang__toggle .ibz-icon,
	.elementor-widget.ibz-btn--primary .elementor-button-text::after { transition: none; }
	.ibz-site-header .ibz-account,
	.ibz-drawer .ibz-account,
	.ibz-lang .ibz-lang__toggle,
	.ibz-drawer .ibz-drawer__close,
	.elementor-widget.ibz-btn .elementor-button { transition: background-color var(--ibz-dur-fast) ease, color var(--ibz-dur-fast) ease; }
	.ibz-site-header .ibz-burger { transition: none; }
	.ibz-site-header .ibz-account:active,
	.ibz-drawer .ibz-account:active,
	.ibz-site-header .ibz-burger:active,
	.ibz-lang .ibz-lang__toggle:active,
	.ibz-drawer .ibz-drawer__close:active,
	.elementor-widget.ibz-btn .elementor-button:active { transform: none; }
}

/* ================================================================ Abschnitte
   Container-Abstände stehen in Elementor; hier nur Material, Typo, Details. */

/* Abschnitts-Kopf: Pill + H2 + Einleitung */
.ibz-h2 .elementor-heading-title,
h2.ibz-h2 {
	font-family: var(--ibz-font-display);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	font-weight: 650;
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--ibz-ink);
	text-wrap: balance;
	margin: 0;
}
.ibz-intro { max-width: 40rem; }
.ibz-intro p { margin: 0; }

.ibz-pill-inline {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	padding: .4rem .9rem .4rem .75rem;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-glass-solid);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ibz-forest);
}
.ibz-pill-inline::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--ibz-amber);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ibz-amber) 25%, transparent);
}

/* ---------------------------------------------------------------- Ablauf (So funktioniert es) */

.elementor .e-con.ibz-steps { border-radius: var(--ibz-r-xl); }

.ibz-step__num .elementor-heading-title {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ibz-white);
	box-shadow: inset 0 0 0 1.5px var(--ibz-forest);
	font-family: var(--ibz-font-display);
	font-size: 1.375rem;
	font-weight: 650;
	color: var(--ibz-forest);
	font-variant-numeric: tabular-nums;
	position: relative;
	z-index: 1;
}
.ibz-step__title .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.2;
	color: var(--ibz-ink);
}
.ibz-step__text p { margin: 0; }

/* Punktlinie zwischen den Schritten: mobil senkrecht, ab Tablet waagerecht */
.elementor .e-con.ibz-step { position: relative; }
@media (max-width: 767px) {
	.elementor .e-con.ibz-step { padding-left: 68px; min-height: 52px; }
	.elementor .e-con.ibz-step > .ibz-step__num { position: absolute; left: 0; top: 0; }
}
.elementor .e-con.ibz-step::before {
	content: "";
	position: absolute;
	left: 25px;
	top: 60px;
	bottom: -28px;
	width: 2px;
	background: radial-gradient(circle, var(--ibz-green) 1px, transparent 1.5px) 0 0 / 2px 10px repeat-y;
	opacity: .6;
}
.elementor .e-con.ibz-step:last-child::before { display: none; }
@media (min-width: 768px) { .elementor .e-con.ibz-step { flex: 1 1 0; } }
@media (min-width: 768px) {
	.elementor .e-con.ibz-step::before {
		left: 64px;
		right: -24px;
		top: 25px;
		bottom: auto;
		width: auto;
		height: 2px;
		background: radial-gradient(circle, var(--ibz-green) 1px, transparent 1.5px) 0 0 / 10px 2px repeat-x;
	}
}

/* ---------------------------------------------------------------- Kurskatalog (LearnPress, [ibz_courses]) */

.ibz-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}
/* Spezifität über Elementors globalem Button-Stil (.elementor-kit-N button) */
.ibz-filter-bar .ibz-chip {
	min-height: 48px;
	padding: 0 1.25rem;
	border: 0;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-glass-solid);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	color: var(--ibz-ink);
	font: 700 1rem/1 var(--ibz-font-text);
	transition: background-color var(--ibz-dur-fast) ease, color var(--ibz-dur-fast) ease, transform var(--ibz-dur-fast) var(--ibz-ease-out);
}
.ibz-filter-bar .ibz-chip:focus { background: var(--ibz-glass-solid); color: var(--ibz-ink); }
.ibz-filter-bar .ibz-chip[aria-pressed="true"],
.ibz-filter-bar .ibz-chip[aria-pressed="true"]:hover,
.ibz-filter-bar .ibz-chip[aria-pressed="true"]:focus { background: var(--ibz-forest); color: var(--ibz-white); box-shadow: none; }
.ibz-filter-bar .ibz-chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
	.ibz-filter-bar .ibz-chip[aria-pressed="false"]:hover { background: var(--ibz-lime-light); color: var(--ibz-ink); }
}

.ibz-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* minmax(0,…): lange Wörter dürfen die Spalte nicht aufblähen */
	gap: 16px;
}
@media (min-width: 768px) { .ibz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1025px) { .ibz-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ibz-rows { display: grid; gap: 12px; }

/* Karte: Glas, ein Link (Titel) deckt die ganze Fläche ab, Pfeil-Kreis unten rechts */
.ibz-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--ibz-r-lg);
	background: var(--ibz-glass-solid);
	box-shadow: var(--ibz-edge), var(--ibz-shadow-sm);
	isolation: isolate;
	transition: transform var(--ibz-dur-base) var(--ibz-ease-out), opacity var(--ibz-dur-base) ease;
}
/* Tieferer Hover-Schatten fertig gezeichnet, nur die Deckkraft wird animiert (GPU statt Repaint). */
.ibz-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--ibz-ink) 5%, transparent), 0 32px 56px -28px color-mix(in srgb, var(--ibz-forest) 38%, transparent);
	opacity: 0;
	transition: opacity var(--ibz-dur-base) ease;
	pointer-events: none;
}
.ibz-card[hidden] { display: none; }
@starting-style { .ibz-catalog.is-filtering .ibz-card { opacity: 0; transform: translateY(6px); } } /* nur nach Filterwechsel, nicht beim Laden */
.ibz-card--card { padding: 12px; }
.ibz-card--row { padding: 20px 76px 20px 24px; }

.ibz-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--ibz-r-md);
	overflow: hidden;
	background: linear-gradient(150deg, var(--ibz-lime-light) 0%, var(--ibz-lime) 100%);
}
.ibz-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ibz-card__flag {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .2rem .65rem .2rem .5rem;
	border-radius: var(--ibz-r-sm);
	background: var(--ibz-glass-solid);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	color: var(--ibz-forest);
	font-size: 1rem;
	font-weight: 700;
}
.ibz-card__flag .ibz-icon { width: 1rem; height: 1rem; }
.ibz-card__status {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--ibz-forest);
}

.ibz-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 8px 8px;
}
.ibz-card--card .ibz-card__body { padding-right: 60px; min-height: 120px; }
.ibz-card--row .ibz-card__body { padding: 0; }

.ibz-card__tag {
	margin: 0;
	padding: .25rem .75rem;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-lime-light);
	color: var(--ibz-forest);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}
.ibz-card__title {
	margin: 0;
	font-family: var(--ibz-font-display);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.25;
	color: var(--ibz-ink);
	text-wrap: balance;
}
.ibz-card .ibz-card__title a { color: inherit; text-decoration: none; }
.ibz-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ibz-card__title a:focus-visible { outline: none; }
.ibz-card:focus-within { outline: 3px solid var(--ibz-forest); outline-offset: 3px; }
.ibz-card__meta { margin: 0; font-size: 1rem; color: var(--ibz-green); }
.ibz-card .ibz-dots { margin-top: 4px; }

.ibz-card__arrow {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ibz-forest);
	color: var(--ibz-white);
	transition: transform var(--ibz-dur-base) var(--ibz-ease-out);
}
.ibz-card__arrow .ibz-icon { width: 20px; height: 20px; }
.ibz-card--row .ibz-card__arrow { top: 50%; bottom: auto; margin-top: -22px; }

.ibz-card:active { transform: scale(.99); transition-duration: var(--ibz-dur-press); }
@media (hover: hover) and (pointer: fine) {
	.ibz-card:hover { transform: translateY(-3px); }
	.ibz-card:hover::before { opacity: 1; }
	.ibz-card:hover .ibz-card__arrow { transform: translateX(3px); }
	.ibz-card--row:hover { transform: translateX(4px); }
}

/* Leerzustand */
.ibz-empty { padding: 28px; border-radius: var(--ibz-r-lg); }
.ibz-empty p { margin: 0; }
.ibz-empty__title { font-family: var(--ibz-font-display); font-size: 1.375rem; font-weight: 600; margin-bottom: 6px !important; }
.ibz-empty-line { margin: 0; color: var(--ibz-green); }

.ibz-progress__title a { color: var(--ibz-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ibz-progress__title a:hover { text-decoration: underline; } }

/* ---------------------------------------------------------------- Mein Lernfortschritt */

.ibz-progress { padding-block: 48px 8px; }
.ibz-stats { padding-block: 24px; }
.ibz-progress__list {
	display: grid;
	gap: 12px;
	margin: 24px 0 12px;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) { .ibz-progress__list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.ibz-progress__row {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 20px 24px;
	border-radius: var(--ibz-r-lg);
}
.ibz-progress__title { margin: 0; font-family: var(--ibz-font-display); font-size: 1.25rem; font-weight: 600; }
.ibz-progress__note { margin: 0; font-size: 1rem; color: var(--ibz-green); }

/* ---------------------------------------------------------------- Kennzahlenband */

.ibz-stats__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) { .ibz-stats__list { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.ibz-stats__item {
	display: grid;
	gap: .375rem;
	padding: 24px;
	border-radius: var(--ibz-r-lg);
	background: var(--ibz-glass-solid);
	box-shadow: var(--ibz-edge), var(--ibz-shadow-sm);
}
.ibz-stats__num { font-family: var(--ibz-font-display); font-size: 3rem; font-weight: 650; line-height: 1; letter-spacing: -.03em; color: var(--ibz-forest); font-variant-numeric: tabular-nums; }
.ibz-stats__label { font-weight: 700; }

/* ---------------------------------------------------------------- Herkunft der Kurse */

.elementor .e-con.ibz-origin { border-radius: var(--ibz-r-xl); }
@media (min-width: 768px) {
	.elementor .e-con.ibz-origin > .e-con.ibz-origin__item { width: auto; flex: 1 1 16rem; }
	.elementor .e-con.ibz-origin > .ibz-origin__label { flex: none; }
}
.ibz-origin__label p { margin: 0; font-weight: 700; color: var(--ibz-green); font-size: 1rem; }
.elementor .e-con.ibz-origin__item {
	min-height: 72px;
	border-radius: var(--ibz-r-md);
	background: var(--ibz-white);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
}
.ibz-origin__name .elementor-heading-title { font-family: var(--ibz-font-display); font-size: 1.125rem; font-weight: 600; color: var(--ibz-ink); line-height: 1.3; }
.ibz-origin__sub p { margin: 0; font-size: 1rem; color: var(--ibz-green); }

/* ---------------------------------------------------------------- Hilfe (Nested Accordion) */

.ibz-faq .e-n-accordion-item {
	margin-bottom: 10px;
	border-radius: var(--ibz-r-md);
	background: var(--ibz-glass-solid);
	box-shadow: var(--ibz-edge), var(--ibz-shadow-sm);
	overflow: hidden;
}
.ibz-faq .e-n-accordion-item-title {
	min-height: 56px;
	padding: 14px 20px;
	border: 0;
	background: transparent;
	color: var(--ibz-ink);
	font-family: var(--ibz-font-display);
	font-size: 1.1875rem;
	font-weight: 600;
}
.ibz-faq .e-n-accordion-item-title-text { font-size: inherit; color: inherit; }
.ibz-faq .e-n-accordion-item-title-icon { color: var(--ibz-forest); }
.ibz-faq .e-n-accordion-item > .e-con { --padding-top: 0px; --padding-right: 20px; --padding-bottom: 18px; --padding-left: 20px; border: 0; }

.elementor .e-con.ibz-contact { border-radius: var(--ibz-r-xl); }
.ibz-contact__title .elementor-heading-title { font-family: var(--ibz-font-display); font-size: 1.5rem; font-weight: 600; color: var(--ibz-ink); }

/* ---------------------------------------------------------------- Newsletter-Band */

.elementor .e-con.ibz-newsletter {
	border-radius: var(--ibz-r-xl);
	background:
		radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, var(--ibz-amber) 45%, transparent) 0%, transparent 70%),
		var(--ibz-lime);
	box-shadow: var(--ibz-shadow);
}
.ibz-newsletter .ibz-pill-inline { margin: 0; }
.ibz-newsletter .elementor-widget.ibz-placeholder { background: color-mix(in srgb, var(--ibz-white) 70%, transparent); }

/* ---------------------------------------------------------------- Footer */

.ibz-site-footer { padding: 32px max(var(--ibz-gutter), env(safe-area-inset-right, 0px)) calc(var(--ibz-gutter) + env(safe-area-inset-bottom, 0px)) max(var(--ibz-gutter), env(safe-area-inset-left, 0px)); }
.elementor .e-con.ibz-footer {
	max-width: 1200px;
	margin-inline: auto;
	border-radius: var(--ibz-r-xl);
	background: var(--ibz-forest);
	color: var(--ibz-lime-light);
}
.ibz-footer .elementor-heading-title { color: var(--ibz-white); }
.ibz-footer .ibz-wordmark .elementor-heading-title,
.ibz-footer .ibz-wordmark .elementor-heading-title a { color: var(--ibz-white); }
.ibz-footer .ibz-wordmark__light { color: var(--ibz-lime); }
.ibz-footer__head .elementor-heading-title { font-family: var(--ibz-font-text); font-size: 1rem; font-weight: 700; color: var(--ibz-lime); }
.ibz-footer p { margin: 0; color: var(--ibz-lime-light); font-size: 1rem; }
.ibz-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ibz-site-footer .ibz-footer a { color: var(--ibz-white); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ibz-lime) 60%, transparent); text-underline-offset: .25em; font-size: 1rem; }
.ibz-site-footer .ibz-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) {
	.ibz-site-footer .ibz-footer a:hover { color: var(--ibz-lime); text-decoration-color: currentColor; }
}
.ibz-site-footer :focus-visible { outline-color: var(--ibz-lime); }
.ibz-footer .elementor-widget.ibz-placeholder { background: color-mix(in srgb, var(--ibz-white) 8%, transparent); border-color: var(--ibz-amber); }
.ibz-footer .ibz-placeholder p { color: var(--ibz-white); }

.elementor .e-con.ibz-funding {
	border-radius: var(--ibz-r-lg);
	background: color-mix(in srgb, var(--ibz-white) 6%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ibz-lime-light) 18%, transparent);
}
.ibz-emblem-ph p {
	display: grid;
	place-items: center;
	width: 200px;
	min-height: 64px;
	padding: 8px 12px;
	border: 1.5px dashed var(--ibz-amber);
	border-radius: var(--ibz-r-sm);
	text-align: center;
	color: var(--ibz-white);
}
.elementor .e-con.ibz-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--ibz-lime-light) 18%, transparent); }

@media (prefers-reduced-motion: reduce) {
	.ibz-card,
	.ibz-card__arrow,
	.ibz-chip { transition: none; }
	.ibz-card:hover,
	.ibz-card--row:hover,
	.ibz-card:active,
	.ibz-card:hover .ibz-card__arrow { transform: none; }
	@starting-style { .ibz-catalog.is-filtering .ibz-card { transform: none; } }
}

/* ================================================================ Startseite: Hero-Zweitaktion */

.ibz-cta {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-height: 52px;
	padding: 0 1.5rem;
	border-radius: var(--ibz-r-pill);
	font-family: var(--ibz-font-text);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out), background-color var(--ibz-dur-fast) ease;
	touch-action: manipulation;
}
.ibz-cta:active { transform: scale(.97); }
.ibz-cta .ibz-icon { width: 1.25rem; height: 1.25rem; }
body a.ibz-cta--primary,
body a.ibz-cta--primary:focus { background: var(--ibz-forest); color: var(--ibz-white); }
body a.ibz-cta--secondary,
body a.ibz-cta--secondary:focus { background: var(--ibz-glass-solid); color: var(--ibz-forest); box-shadow: inset 0 0 0 1.5px var(--ibz-forest); }
@media (hover: hover) and (pointer: fine) {
	body a.ibz-cta--primary:hover { background: var(--ibz-green); color: var(--ibz-white); }
	body a.ibz-cta--secondary:hover { background: var(--ibz-white); color: var(--ibz-forest); }
}
.ibz-cta-note {
	margin: 0;
	max-width: 22rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--ibz-ink);
}
.ibz-cta-note a { font-weight: 700; color: var(--ibz-forest); }

/* ================================================================ Mein Lernbereich */

.ibz-greeting__title {
	margin: 0;
	font-family: var(--ibz-font-display);
	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
	font-weight: 650;
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--ibz-ink);
	text-wrap: balance;
}
.ibz-greeting .ibz-pill-inline { margin-bottom: .75rem; }

.ibz-continue {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding: 14px;
	border-radius: var(--ibz-r-xl);
}
@media (min-width: 768px) {
	.ibz-continue { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 32px; padding: 16px 40px 16px 16px; }
}
.ibz-continue__media {
	aspect-ratio: 16 / 10;
	border-radius: var(--ibz-r-lg);
	overflow: hidden;
	background: linear-gradient(150deg, var(--ibz-lime-light) 0%, var(--ibz-lime) 100%);
}
.ibz-continue__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ibz-continue__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 8px 12px; }
.ibz-continue__kicker { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ibz-green); }
.ibz-continue__title {
	margin: 0;
	font-family: var(--ibz-font-display);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--ibz-ink);
	text-wrap: balance;
}
.ibz-continue .ibz-cta { margin-top: 8px; }
.ibz-continue--empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; }

@media (prefers-reduced-motion: reduce) {
	.ibz-cta { transition: none; }
	.ibz-cta:active { transform: none; }
}

/* ================================================================ Robustheit: lange Wörter, ohne JavaScript */

/* Deutsche Komposita und rumänische Titel: trennen statt abschneiden (Silbentrennung braucht lang="de-DE" o. ä.) */
h1, h2, h3,
.elementor-heading-title,
.ibz-card__title,
.ibz-card__tag,
.ibz-card__meta,
.ibz-continue__title,
.ibz-greeting__title,
.ibz-progress__title,
.ibz-chip,
.ibz-drawer__list a,
.ibz-stats__label {
	overflow-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.ibz-card__title,
.ibz-continue__title,
.ibz-progress__title { overflow-wrap: anywhere; }
.ibz-filter-bar .ibz-chip { max-width: 100%; white-space: normal; line-height: 1.25; padding-block: .5rem; text-align: start; } /* Hello-Theme setzt nowrap auf Buttons */
.ibz-card__tag { max-width: 100%; }
.ibz-card__body,
.ibz-continue__body,
.ibz-progress__row { min-width: 0; }

/* Ohne JavaScript (oder ohne <dialog>-Unterstützung) gibt es kein Off-Canvas:
   dann Menü-Button aus und die Navigation als umbrechende Linkreihe unter dem Header zeigen. */
html:not(.ibz-js) .ibz-burger { display: none !important; }
html:not(.ibz-js) .e-con > .elementor-widget.ibz-h-nav { display: block; flex-basis: 100%; order: 10; }
html:not(.ibz-js) .ibz-header__bar { flex-wrap: wrap !important; }
html:not(.ibz-js) .ibz-nav { display: block; }
html:not(.ibz-js) .ibz-nav__list { flex-wrap: wrap; }
.ibz-catalog__more { margin: 24px 0 0; }

/* ================================================================ Filterwechsel: View Transitions */

::view-transition-group(*) {
	animation-duration: var(--ibz-dur-base);
	animation-timing-function: var(--ibz-ease-in-out);
}
::view-transition-old(*),
::view-transition-new(*) { animation-duration: var(--ibz-dur-fast); }
@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) { animation: none; }
}

/* ================================================================ Feedback-Knopf (Testphase) */

/* Platz unter dem Footer, damit der schwebende Knopf am Seitenende nichts überdeckt. */
.ibz-js .ibz-fb-on .ibz-site-footer { padding-bottom: calc(var(--ibz-gutter) + 72px + env(safe-area-inset-bottom, 0px)); }

body .ibz-fb-open {
	position: fixed;
	right: max(16px, env(safe-area-inset-right, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	display: none;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: 0 1.125rem 0 .875rem;
	border: 0;
	border-radius: var(--ibz-r-pill);
	background: var(--ibz-forest);
	color: var(--ibz-white);
	font: 700 1rem/1 var(--ibz-font-text);
	box-shadow: var(--ibz-shadow);
	cursor: pointer;
	transition: transform var(--ibz-dur-fast) var(--ibz-ease-out), background-color var(--ibz-dur-fast) ease;
}
.ibz-js body .ibz-fb-open { display: inline-flex; }
body .ibz-fb-open:hover,
body .ibz-fb-open:focus { background: var(--ibz-forest); color: var(--ibz-white); }
@media (hover: hover) and (pointer: fine) { body .ibz-fb-open:hover { background: var(--ibz-green); } }
body .ibz-fb-open:active { transform: scale(.97); }
.ibz-fb-open .ibz-icon { width: 1.25rem; height: 1.25rem; }

.ibz-fb {
	width: min(32rem, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--ibz-r-xl);
	background: transparent;
	color: var(--ibz-ink);
	opacity: 0;
	transform: translateY(12px) scale(.98);
	transition: opacity var(--ibz-dur-base) var(--ibz-ease-out), transform var(--ibz-dur-base) var(--ibz-ease-out), overlay var(--ibz-dur-base) allow-discrete, display var(--ibz-dur-base) allow-discrete;
}
.ibz-fb[open] { opacity: 1; transform: none; }
@starting-style { .ibz-fb[open] { opacity: 0; transform: translateY(12px) scale(.98); } }
.ibz-fb::backdrop { background: color-mix(in srgb, var(--ibz-ink) 50%, transparent); }

.ibz-fb__panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border-radius: var(--ibz-r-xl);
	background: var(--ibz-glass-solid);
	box-shadow: var(--ibz-edge), var(--ibz-shadow);
	overflow-y: auto;
	max-height: calc(100dvh - 24px);
}
@media (min-width: 768px) { .ibz-fb__panel { padding: 28px; } }
.ibz-fb__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ibz-fb__title { margin: 0; font-family: var(--ibz-font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.ibz-fb .ibz-fb__close {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
	border-radius: var(--ibz-r-pill); background: var(--ibz-lime-light); color: var(--ibz-forest); cursor: pointer;
}
.ibz-fb .ibz-fb__close:hover, .ibz-fb .ibz-fb__close:focus { background: var(--ibz-lime); color: var(--ibz-forest); }
.ibz-fb__intro, .ibz-fb__note { margin: 0; font-size: 1rem; }
.ibz-fb__note { color: var(--ibz-green); }
.ibz-fb__types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.ibz-fb__types legend { margin-bottom: 8px; font-weight: 700; font-size: 1rem; }
.ibz-fb__choice {
	display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .875rem;
	border-radius: var(--ibz-r-pill); background: var(--ibz-white); box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	font-size: 1rem; cursor: pointer;
}
.ibz-fb__choice:has(input:checked) { background: var(--ibz-lime); box-shadow: inset 0 0 0 1.5px var(--ibz-forest); font-weight: 700; }
.ibz-fb__choice input { width: 1.125rem; height: 1.125rem; margin: 0; }
.ibz-fb__label { font-weight: 700; font-size: 1rem; }
.ibz-fb textarea,
.ibz-fb input[type="text"] {
	width: 100%;
	padding: .75rem .875rem;
	border: 1.5px solid color-mix(in srgb, var(--ibz-forest) 45%, transparent);
	border-radius: var(--ibz-r-md);
	background: var(--ibz-white);
	color: var(--ibz-ink);
	font: 400 max(16px, 1rem)/1.5 var(--ibz-font-text);
}
.ibz-fb textarea:focus-visible, .ibz-fb input[type="text"]:focus-visible { border-color: var(--ibz-forest); }
.ibz-fb textarea[aria-invalid="true"] { border-color: #A8321F; }
.ibz-fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ibz-fb__status { margin: 0; min-height: 1.5em; font-size: 1rem; font-weight: 700; }
.ibz-fb__status.is-error { color: #A8321F; }
.ibz-fb__status.is-ok { color: var(--ibz-forest); }
.ibz-fb__send { align-self: flex-start; border: 0; cursor: pointer; }
.ibz-fb__send[disabled] { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
	.ibz-fb, .ibz-fb[open] { transform: none; }
	@starting-style { .ibz-fb[open] { transform: none; } }
	body .ibz-fb-open { transition: background-color var(--ibz-dur-fast) ease; }
	body .ibz-fb-open:active { transform: none; }
}

/* ================================================================ Struktur IBZ-Plattform (06.11.2026) */

/* [Platzhalter] im Fließtext sichtbar markieren */
.ibz-ph {
	padding: 0 .2em;
	border-bottom: 1.5px dashed var(--ibz-amber-dark);
	background: color-mix(in srgb, var(--ibz-amber) 16%, transparent);
	color: var(--ibz-ink);
	border-radius: 3px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Header: IBZ-Logo als Betreiber + „Lernplattform“ */
/* Container sind in Elementor standardmäßig 100 % breit – im Header nur so breit wie nötig. */
.elementor .e-con.ibz-brand { --width: auto; width: auto; flex: 1 1 auto; min-width: 0; }
.e-con > .elementor-widget.ibz-h-lang,
.e-con > .elementor-widget.ibz-h-menu { flex: none; }
/* Spezifischer als Elementors .elementor-widget-image img { height:auto } */
.elementor .elementor-widget-image.ibz-logo img { display: block; height: 34px; width: auto; max-width: none; }
@media (min-width: 768px) { .elementor .elementor-widget-image.ibz-logo img { height: 42px; } }
.ibz-logo a { display: inline-flex; align-items: center; min-height: 44px; }
.ibz-brand__sub .elementor-heading-title {
	padding-inline-start: 10px;
	border-inline-start: 1.5px solid var(--ibz-hairline);
	font-family: var(--ibz-font-text);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ibz-green);
}
@media (max-width: 399px) { .ibz-brand__sub { display: none; } }

/* Hero-Ergänzungen */
.ibz-hero__sub .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.2;
	color: var(--ibz-green);
	margin-top: -8px;
}
.ibz-hero__en p { margin: 0; font-size: 1rem; font-style: italic; color: var(--ibz-green); }
.ibz-hero__lead p { margin: 0; }
.ibz-page-title .elementor-heading-title { font-size: clamp(2.5rem, 1.6rem + 4vw, 4rem); }

/* Kleiner EU-Hinweis: Emblem + „Finanziert von der Europäischen Union“ */
.ibz-eu-badge {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	margin: 0;
	padding: .5rem .875rem .5rem .5rem;
	border-radius: var(--ibz-r-md);
	background: var(--ibz-white);
	box-shadow: inset 0 0 0 1px var(--ibz-hairline);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ibz-ink);
}
.ibz-eu__img { display: block; width: auto; height: 40px; }
.ibz-eu__ph {
	display: inline-grid;
	place-items: center;
	min-width: 60px;
	height: 40px;
	padding: 0 .4rem;
	border: 1.5px dashed var(--ibz-amber-dark);
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 400;
}
.ibz-eu__ph .ibz-ph { border: 0; background: none; padding: 0; }

/* Projekt-Highlight: große Karte */
.elementor .e-con.ibz-highlight {
	border-radius: var(--ibz-r-xl);
	background:
		radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--ibz-amber) 26%, transparent) 0%, transparent 70%),
		var(--ibz-lime-light);
	box-shadow: var(--ibz-edge), var(--ibz-shadow);
}
.elementor .e-con.ibz-highlight__media {
	position: relative;
	flex: 1 1 46%;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--ibz-r-lg);
	overflow: hidden;
}
.elementor .e-con.ibz-highlight__media > .elementor-widget-image { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.ibz-highlight__img img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.elementor .e-con.ibz-highlight__body { flex: 1 1 54%; }
.ibz-highlight__body p { margin: 0; max-width: 34rem; font-size: 1.125rem; }

/* Info-Karten (Überblick, Lernangebot, Partner) */
.elementor .e-con.ibz-info,
.elementor .e-con.ibz-partner,
.elementor .e-con.ibz-infobox,
.elementor .e-con.ibz-audience,
.elementor .e-con.ibz-about { border-radius: var(--ibz-r-lg); }
.ibz-info__title .elementor-heading-title {
	font-family: var(--ibz-font-display);
	font-size: 1.3125rem;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.25;
	color: var(--ibz-ink);
	overflow-wrap: break-word;
	hyphens: auto;
}
.ibz-info__text p,
.ibz-about__text p,
.ibz-audience__pilot p { margin: 0; }
.ibz-about__text p { max-width: 44rem; font-size: 1.125rem; }
.ibz-audience__pilot p { font-weight: 700; color: var(--ibz-forest); }
.ibz-partner__logo p { margin: 0 0 4px; font-size: 1rem; }

/* Liste „Für wen?“ mit Punkten im Projekt-Stil */
.ibz-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ibz-list li { position: relative; padding-inline-start: 1.5rem; font-size: 1.125rem; }
.ibz-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ibz-forest);
}

/* Kennzahlen (statisch) */
.ibz-stats .ibz-stats__sub { font-size: 1rem; color: var(--ibz-green); }
.ibz-stats .ibz-stats__num .ibz-ph { font-family: var(--ibz-font-text); font-size: 1rem; font-weight: 700; letter-spacing: 0; }

/* Zeitleiste: Punkte auf einer Punktlinie */
.ibz-timeline__list { margin: 0; padding: 0; list-style: none; position: relative; }
.ibz-timeline__list::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: radial-gradient(circle, var(--ibz-green) 1px, transparent 1.5px) 0 0 / 2px 10px repeat-y;
	opacity: .6;
}
.ibz-timeline__item { position: relative; display: grid; gap: 2px; padding: 0 0 20px 32px; }
.ibz-timeline__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ibz-white);
	box-shadow: inset 0 0 0 2px var(--ibz-forest);
}
.ibz-timeline__item:first-child::before,
.ibz-timeline__item:last-child::before { background: var(--ibz-forest); }
.ibz-timeline__date { font-weight: 700; color: var(--ibz-forest); font-size: 1rem; }
.ibz-timeline__text { font-size: 1.125rem; }
@media (min-width: 768px) {
	.ibz-timeline__item { grid-template-columns: 15rem 1fr; gap: 20px; }
}

/* Kontakt */
.elementor .e-con.ibz-contact { flex: 0 1 30rem; }
.ibz-contact__text p { margin: 0 0 .75rem; font-size: 1.0625rem; }
.ibz-contact__text p:last-child { margin-bottom: 0; }
.ibz-contact__text a { font-weight: 700; color: var(--ibz-forest); word-break: break-word; }
.ibz-textlink { font-weight: 700; color: var(--ibz-forest); }
.ibz-contact-links p { margin: 0 0 .5rem; }
.ibz-offers-note p { margin: 0; color: var(--ibz-ink); }

/* Platzhalterkarten: kein Link, kein Pfeil */
.ibz-card--placeholder { cursor: default; }
.ibz-card--placeholder .ibz-card__title { color: var(--ibz-ink); }
@media (hover: hover) and (pointer: fine) {
	.ibz-card--placeholder:hover { transform: none; }
	.ibz-card--placeholder:hover::before { opacity: 0; }
}

/* Förderhinweis-Band (nur /smart-integration/ und SMART-Kursseiten, vor dem globalen Footer) */
.ibz-funding-band { padding: 32px max(var(--ibz-gutter), env(safe-area-inset-right, 0px)) 0 max(var(--ibz-gutter), env(safe-area-inset-left, 0px)); }
.ibz-funding-band__inner {
	display: grid;
	gap: 20px;
	max-width: 1200px;
	margin-inline: auto;
	padding: 24px;
	border-radius: var(--ibz-r-xl);
	background: var(--ibz-white);
	box-shadow: var(--ibz-edge), var(--ibz-shadow-sm);
}
@media (min-width: 768px) {
	.ibz-funding-band__inner { grid-template-columns: auto 1fr; align-items: start; gap: 28px; padding: 32px; }
}
.ibz-funding-band .ibz-eu__img,
.ibz-funding-band .ibz-eu__ph { height: 56px; }
.ibz-funding-band__title { margin: 0 0 8px; font-family: var(--ibz-font-text); font-size: 1rem; font-weight: 700; color: var(--ibz-forest); }
.ibz-funding-band__text p { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.55; max-width: 62rem; }
.ibz-funding-band__line { font-weight: 700; }
