/*
Theme Name: InnerBility
Description: Theme der InnerBility-Website, Version 3. Child-Theme von Twenty Twenty-Five. Funktionen (Baukasten, Coaches, Podcast, Termine, Einstellungen) im Plugin „InnerBility Funktionen“.
Author: InnerBility
Template: twentytwentyfive
Version: 3.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: innerbility
*/

/* ==========================================================================
   InnerBility – nur das, was theme.json nicht abbilden kann.
   Jeder Effekt steht als eigener Abschnitt mit seiner Nummer aus der Seitenliste.
   Alle Effekte: reines CSS, außer Buchstaben (Nr. 5), Tastatur-Fokus an Teamfotos
   (Nr. 14) und Markierung der aktuellen Seite – die kommen aus assets/js/effekte.js.
   ========================================================================== */

/* Einstellbare Werte: INNERBILITY → Einstellungen (Plugin „InnerBility Funktionen“).
   Das Plugin setzt die Variablen --ib-…; der Wert nach dem Komma ist der Standard
   (= Stand Version 2). Ohne Plugin gelten die Standards. */
:root {
	/* Kupferverlauf: Vorlage unter Stile → Farben → Verläufe */
	--ib-kupferverlauf: var(--wp--preset--gradient--kupferverlauf);
	--ib-kopfhoehe: 84px;
}

/* Sprungmarken landen nicht unter dem mitlaufenden Kopfbereich */
[id] { scroll-margin-top: calc(var(--ib-kopfhoehe) + 16px); }

/* Nr. 1 – Kopfbereich läuft mit: Position kommt aus dem Group-Block im Template. */
.ib-kopf { width: 100%; }
/* Logo-Größe (Standard 36 px): ein zu großes Logo würde als mitlaufender Kopf die Seite verdecken. */
.ib-kopf .wp-block-site-logo img { width: var(--ib-logo, 36px); height: var(--ib-logo, 36px); object-fit: contain; }

/* Nr. 2 – Aufklappmenü (Academy-Dropdown): Öffnen macht der Navigationsblock, hier die Optik
   und das Verhalten. Alle Werte einstellbar; Standard = Verhalten von Version 2. */
.wp-block-navigation:not(.is-menu-open) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container,
header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--ib-dd-hintergrund, var(--wp--preset--color--petrol)) !important;
	border: var(--ib-dd-rahmenstaerke, 1px) solid var(--ib-dd-rahmenfarbe, rgba(var(--ib-rgb-kupfer), 0.55)) !important;
	box-shadow: var(--ib-dd-schatten, var(--wp--preset--shadow--menue));
	padding: var(--ib-dd-innen, 6px) 0;
	/* Lücke zwischen Menüpunkt und Kasten (Standard 6 px). Gemessen: Der Kasten sitzt auch
	   geöffnet 6 px tiefer; die Regel unten (translateY(0)) greift nicht, weil diese Regel
	   stärker ist. Das ist das Verhalten von Version 2 und bleibt der Standard.
	   Fester Wert: Eine Variable in „transform“ ändert in Chrome das Zeichnen anderer
	   Seitenteile (Pixeltest). Einen anderen Abstand setzt das Plugin mit eigener Regel. */
	transform: translateY(6px);
	/* Tempo (0,25 s) bleibt hier fest: Mit Variablen in „transition“ rendert Chrome Teile der
	   Seite minimal anders (Pixeltest). Tempo und „offen bleiben“ setzt das Plugin bei Bedarf. */
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container {
	transform: translateY(0);
}
/* Unsichtbare Fläche um die Menüpunkte (Standard 0): größere Trefferfläche, Kopfhöhe bleibt */
header .wp-block-navigation .wp-block-navigation-item.has-child {
	padding-block: var(--ib-dd-flaeche, 0px);
	margin-block: calc(-1 * var(--ib-dd-flaeche, 0px));
}
/* Unsichtbare Brücke über der Lücke zum Kasten (Standard aus) */
header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container::before {
	content: "";
	display: var(--ib-dd-bruecke, none);
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(var(--ib-dd-abstand, 6px) + var(--ib-dd-flaeche, 0px) + 12px);
}
/* Hinweis: Den Innenabstand der Einträge (0,5 em / 1 em = 7 / 14 px bei 14 px Schrift) setzt
   WordPress mit stärkerer Regel; die Angabe hier greift nicht. Andere Werte setzt das Plugin. */
header .wp-block-navigation .wp-block-navigation__submenu-container a {
	padding: 7px 14px;
	font-size: var(--ib-dd-schrift, 14px);
	letter-spacing: 0.04em;
	white-space: nowrap;
}
header .wp-block-navigation .wp-block-navigation__submenu-container a:hover {
	background: var(--ib-dd-hover-hintergrund, rgba(var(--ib-rgb-kupfer), 0.1));
}
header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--ib-dd-hover-farbe, var(--ib-menue-hover, var(--wp--preset--color--kupfer)));
}
/* Im Handy-Overlay kein Verschieben, keine Box */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	transform: none !important;
	border: 0 !important;
	box-shadow: none;
	padding-right: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container::before { display: none; }
/* Abstand am Inhalt: WordPress 7.1 überschreibt ihn am äußeren Container. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	box-sizing: border-box;
	padding-inline: var(--ib-handy-rand, 24px) !important;
}

/* „Jetzt bewerben“: fett, Kupfer, ohne Fläche (Klasse im Block unter „Erweitert“) */
.ib-hervor > a, .ib-hervor > a:hover { font-weight: 700; }
.ib-hervor > a { color: var(--ib-menue-bewerben, var(--wp--preset--color--kupfer)) !important; }

/* Aktuelle Seite im Menü: Klasse setzt effekte.js */
.wp-block-navigation-item.ib-aktuell > a {
	color: var(--ib-menue-aktuell, var(--wp--preset--color--kupfer)) !important;
	box-shadow: inset 0 -1.5px 0 var(--ib-menue-aktuell, var(--wp--preset--color--kupfer));
}

/* Nr. 3 – Links werden kupfern: Farbe kommt aus theme.json, hier nur der weiche Übergang. */
a { transition: color 0.3s ease; }
/* Der Navigationsblock setzt seine Farbe sehr bestimmt (Spezifität 0,3,0), deshalb hier höher. */
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--wp--preset--color--kupfer); }
header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--ib-menue-hover, var(--wp--preset--color--kupfer)); }
/* Auf hellem Grund wäre Kupfer zu schwach, dort das dunklere Kupfer wie im Entwurf. */
.has-creme-background-color a:not(.wp-element-button):hover { color: var(--wp--preset--color--kupfer-dunkel); }

/* Nr. 4 – Buttons leuchten. Standard (gefüllt) kommt aus theme.json. */
.wp-element-button { transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease; }

/* Aussehen von Rahmen, Textlink, Kachel, Rahmen hell, Umriss: theme.json (Stile → Blöcke → Button). */
.wp-block-button.is-style-rahmen .wp-block-button__link:hover {
	background: var(--wp--preset--color--kupfer);
	color: var(--wp--preset--color--petrol-tief);
	box-shadow: var(--wp--preset--shadow--leuchten-klein);
}
.wp-block-button.is-style-textlink .wp-block-button__link:hover {
	background: transparent;
	color: var(--wp--preset--color--sonne);
	box-shadow: none;
	text-shadow: 0 0 14px rgba(var(--ib-rgb-papaya), 0.6);
}

/* Nr. 10 (Teil) – Kacheln oben auf der Academy-Seite */
.wp-block-button.is-style-kachel .wp-block-button__link {
	display: block;
}
.wp-block-button.is-style-kachel .wp-block-button__link:hover {
	background: rgba(var(--ib-rgb-papaya), 0.18);
	color: var(--wp--preset--color--sonne);
	box-shadow: none;
}

/* Nr. 5 – Buchstaben leuchten. Ohne JavaScript bleibt der Titel normal lesbar. */
.is-style-buchstaben,
.is-style-leuchten {
	text-shadow: 0 0 4px rgba(var(--ib-rgb-sonne), 0.25), 0 0 26px rgba(var(--ib-rgb-creme), 0.28), 0 0 60px rgba(var(--ib-rgb-papaya), 0.18);
}
/* Einzeilig und mittig; ragt wie im Entwurf über die Inhaltsbreite hinaus. */
.is-style-buchstaben {
	display: flex;
	justify-content: center;
	white-space: nowrap;
	padding-left: 0.11em;
}
.ib-lt {
	display: inline-block;
	cursor: default;
	transition: color 0.9s ease, text-shadow 0.9s ease;
}
.ib-lt:hover {
	color: var(--wp--preset--color--kupfer);
	text-shadow: 0 0 2px rgba(var(--ib-rgb-sonne), 0.6), 0 0 16px rgba(var(--ib-rgb-kupfer), 0.6), 0 0 34px rgba(var(--ib-rgb-kupfer-dunkel), 0.4);
	transition: color 0.05s, text-shadow 0.05s;
}

/* Nr. 6 + 7 – Kupferverlauf als Textfarbe. Elke markiert ein Wort und wählt unter
   „Hervorheben“ die Farbe „Kupferglanz“ (Nr. 6) oder „Kupferverlauf ruhig“ (Nr. 7). */
mark.has-kupferglanz-color,
mark.has-kupferverlauf-color {
	display: inline-block;
	background-image: var(--ib-kupferverlauf);
	background-size: 220% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	cursor: default;
}
mark.has-kupferglanz-color { transition: background-position 1.2s ease, filter 0.9s ease; }
mark.has-kupferglanz-color:hover {
	background-position: 0 0;
	filter: brightness(1.3) drop-shadow(0 0 10px rgba(var(--ib-rgb-papaya), 0.75));
	transition: background-position 0.6s ease, filter 0.05s;
}
mark.has-kupferverlauf-color { transition: filter 0.6s ease; }
mark.has-kupferverlauf-color:hover { filter: brightness(1.08); }

/* Nr. 8 – Lichtstrahl: Abstandhalter-Block mit Blockstil */
.wp-block-spacer.is-style-lichtstrahl {
	display: block;
	width: 2px;
	margin-left: 36%;
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--gradient--lichtstrahl);
}
.wp-block-spacer.is-style-lichtstrahl::after {
	content: "";
	position: absolute;
	left: -1px;
	top: -48px;
	width: 4px;
	height: 48px;
	background: linear-gradient(180deg, transparent, var(--wp--preset--color--licht), transparent);
	animation: ib-beamrun 3s ease-in infinite;
}
@keyframes ib-beamrun {
	0% { top: -48px; }
	45% { top: 100%; }
	100% { top: 100%; }
}

/* Nr. 9 – Momente-Sätze an der senkrechten Linie */
.is-style-momente { position: relative; }
.is-style-momente::before {
	content: "";
	position: absolute;
	left: 36%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, rgba(var(--ib-rgb-kupfer), 0.15), var(--wp--preset--color--kupfer));
}
.is-style-momente > p {
	position: relative;
	box-sizing: border-box;
	margin-top: 0 !important;
	margin-bottom: 0;
	padding-block: clamp(7px, 0.9vw, 11px);
	font-weight: 300;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.35;
	color: rgba(var(--ib-rgb-creme), 0.5);
	cursor: default;
	transition: color 0.6s ease, text-shadow 0.6s ease;
}
p.is-style-moment-links { width: 36%; padding-right: 40px; text-align: right; }
p.is-style-moment-rechts { margin-left: 36% !important; padding-left: 40px; }
.is-style-momente > p::after {
	content: "";
	position: absolute;
	top: 50%;
	margin-top: -6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--petrol-dunkel);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--kupfer);
	transition: background 0.5s ease, box-shadow 0.5s ease;
}
p.is-style-moment-links::after { right: -5px; }
p.is-style-moment-rechts::after { left: -5px; }
.is-style-momente > p:hover { color: var(--wp--preset--color--creme); text-shadow: 0 0 24px rgba(var(--ib-rgb-sonne), 0.35); }
.is-style-momente > p:hover::after { background: var(--wp--preset--color--sonne); box-shadow: inset 0 0 0 2px var(--wp--preset--color--sonne), 0 0 18px rgba(var(--ib-rgb-papaya), 0.9); }
@media (max-width: 700px) {
	.is-style-momente::before { left: 5px; }
	p.is-style-moment-links, p.is-style-moment-rechts { width: auto; margin-left: 0 !important; padding: 7px 0 7px 36px; text-align: left; }
	p.is-style-moment-links::after, p.is-style-moment-rechts::after { left: 0; right: auto; }
	.wp-block-spacer.is-style-lichtstrahl { margin-left: 0; }
}

/* Nr. 10 – Kacheln und Kreise mit Leuchtrand.
   .wp-block-group erhöht die Spezifität: sonst nimmt das WordPress-Layout den Innenabstand weg. */
/* Aussehen (Fläche, Rand, Innenabstand) der Kacheln, Kreise, Karten und Kästen: theme.json
   (Stile → Blöcke → Gruppe). Hier nur Form, Hover und Bewegung. */
.wp-block-group.is-style-kachel-leuchtrand {
	box-sizing: border-box;
	transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.is-style-kachel-leuchtrand:hover { border-color: var(--wp--preset--color--kupfer); box-shadow: 0 0 24px rgba(var(--ib-rgb-papaya), 0.35); }
.is-style-kachel-leuchtrand li::marker { color: var(--wp--preset--color--papaya); }
.wp-block-group.is-style-kreis-leuchtrand {
	box-sizing: border-box;
	width: min(345px, 92vw);
	aspect-ratio: 1;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
.is-style-kreis-leuchtrand:hover { border-color: var(--wp--preset--color--sonne); box-shadow: var(--wp--preset--shadow--leuchten-gross); }

/* Nr. 11 – Methoden-Kreis: acht Gruppen plus Mitte, Ring als Hintergrundbild */
.is-style-methodenkreis {
	position: relative;
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 740px;
	aspect-ratio: 1000 / 880;
	container-type: inline-size;
	counter-reset: ib-stop;
	background: var(--ib-svg-methodenkreis) center / 100% 100% no-repeat;
}
.is-style-methodenkreis > .wp-block-group {
	position: absolute;
	width: 25%;
	margin: 0 !important;
	counter-increment: ib-stop;
}
.is-style-methodenkreis > .wp-block-group::before {
	content: counter(ib-stop, decimal-leading-zero);
	position: absolute;
	left: var(--ax);
	top: var(--ay);
	margin: calc(-2.1cqw + var(--oy)) 0 0 calc(-2.1cqw + var(--ox));
	box-sizing: border-box;
	width: 4.2cqw;
	height: 4.2cqw;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--kupfer);
	background: var(--wp--preset--color--petrol);
	color: var(--wp--preset--color--papaya);
	font-size: max(9px, 1.4cqw);
	font-weight: 800;
	box-shadow: 0 0 1.2cqw rgba(var(--ib-rgb-papaya), 0.55);
	cursor: pointer;
	transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.is-style-methodenkreis > .wp-block-group:hover::before { transform: scale(1.35); background: var(--wp--preset--color--papaya); color: var(--wp--preset--color--petrol); }
.is-style-methodenkreis > .wp-block-group > * { margin: 0; transition: opacity 0.4s ease, color 0.35s ease; }
.is-style-methodenkreis > .wp-block-group > :first-child { font-size: clamp(12px, 2.4cqw, 18px); font-weight: 800; letter-spacing: 0.18em; color: var(--wp--preset--color--papaya); text-shadow: 0 0 12px rgba(var(--ib-rgb-papaya), 0.45); }
.is-style-methodenkreis > .wp-block-group > :nth-child(2) { margin-top: 2px; font-size: clamp(11px, 1.65cqw, 13.5px); font-weight: 700; letter-spacing: 0.02em; color: var(--wp--preset--color--creme); }
.is-style-methodenkreis > .wp-block-group > :nth-child(3) { margin-top: 4px; font-size: clamp(11px, 1.95cqw, 14.5px); line-height: 1.45; color: var(--wp--preset--color--nebel); }
.is-style-methodenkreis:has(> .wp-block-group:nth-child(-n+8):hover) > .wp-block-group:nth-child(-n+8):not(:hover) > * { opacity: 0.3; }
.is-style-methodenkreis > .wp-block-group:nth-child(-n+8):hover > :first-child { color: var(--wp--preset--color--sonne); }
.is-style-methodenkreis > .wp-block-group:nth-child(1) { left: 50%;    top: 20.23%; transform: translate(-50%, -100%); text-align: center; --ax: 50%;  --ay: 100%; --ox: 0cqw;   --oy: 4.7cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(2) { left: 69.9%;  top: 34.32%; transform: translate(0, -100%);    text-align: left;   --ax: 0%;   --ay: 100%; --ox: -4.7cqw; --oy: -1.4cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(3) { left: 76.2%;  top: 50%;    transform: translate(0, -50%);     text-align: left;   --ax: 0%;   --ay: 50%;  --ox: -4.7cqw; --oy: 0cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(4) { left: 69.9%;  top: 65.68%;                                    text-align: left;   --ax: 0%;   --ay: 0%;   --ox: -4.7cqw; --oy: 1.4cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(5) { left: 50%;    top: 79.77%; transform: translate(-50%, 0);     text-align: center; --ax: 50%;  --ay: 0%;   --ox: 0cqw;   --oy: -4.7cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(6) { left: 30.1%;  top: 65.68%; transform: translate(-100%, 0);    text-align: right;  --ax: 100%; --ay: 0%;   --ox: 4.7cqw;  --oy: 1.4cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(7) { left: 23.8%;  top: 50%;    transform: translate(-100%, -50%); text-align: right;  --ax: 100%; --ay: 50%;  --ox: 4.7cqw;  --oy: 0cqw; }
.is-style-methodenkreis > .wp-block-group:nth-child(8) { left: 30.1%;  top: 34.32%; transform: translate(-100%, -100%); text-align: right; --ax: 100%; --ay: 100%; --ox: 4.7cqw;  --oy: -1.4cqw; }
/* Mitte: neunte Gruppe, ohne Punkt und ohne Zähler */
.is-style-methodenkreis > .wp-block-group:nth-child(9) {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 22%;
	aspect-ratio: 1;
	box-sizing: border-box;
	counter-increment: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	text-align: center;
	background: radial-gradient(circle, rgba(var(--ib-rgb-petrol), 0.95) 55%, rgba(var(--ib-rgb-petrol), 0.6));
	border: 2px solid var(--wp--preset--color--papaya);
	box-shadow: 0 0 24px rgba(var(--ib-rgb-papaya), 0.55), 0 0 60px rgba(var(--ib-rgb-kupfer), 0.3);
}
.is-style-methodenkreis > .wp-block-group:nth-child(9)::before { display: none; }
.is-style-methodenkreis > .wp-block-group:nth-child(9) > :first-child { font-size: clamp(9px, 1.5cqw, 15px); letter-spacing: 0.16em; color: var(--wp--preset--color--creme); text-shadow: none; }
.is-style-methodenkreis > .wp-block-group:nth-child(9) > :nth-child(2) { font-size: clamp(16px, 2.6cqw, 26px); font-weight: 800; letter-spacing: 0; color: var(--wp--preset--color--papaya); }
/* Handy: Liste statt Kreis, wie im Entwurf */
@media (max-width: 600px) {
	.is-style-methodenkreis { aspect-ratio: auto; container-type: normal; background: none; padding: 8px 0 8px 48px; display: flex; flex-direction: column; gap: 26px; }
	.is-style-methodenkreis > .wp-block-group,
	.is-style-methodenkreis > .wp-block-group:nth-child(n) { position: relative; left: auto; top: auto; width: auto; transform: none; text-align: left; }
	.is-style-methodenkreis > .wp-block-group:nth-child(n)::before { left: -48px; top: 0; margin: 0; width: 32px; height: 32px; font-size: 11px; }
	.is-style-methodenkreis > .wp-block-group > :first-child { font-size: 17px; }
	.is-style-methodenkreis > .wp-block-group > :nth-child(2) { font-size: 13.5px; }
	.is-style-methodenkreis > .wp-block-group > :nth-child(3) { font-size: 15px; }
	.is-style-methodenkreis > .wp-block-group:nth-child(9) { display: none; }
}

/* Nr. 12 – Aufklappende Fragen: Details-Block, Plus/Minus statt Pfeil */
.wp-block-details { border-top: 1px solid rgba(var(--ib-rgb-petrol), 0.2); padding: 0; }
.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: baseline;
	padding: 16px 0;
	font-size: 16px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 300; font-size: 20px; line-height: 1; color: var(--wp--preset--color--schiefer); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details[open] > :last-child { padding-bottom: 16px; }

/* Nr. 13 – Listeneinträge färben sich. Liste als Reihe mit Punkten dazwischen. */
.wp-block-list.is-style-punktreihe,
.wp-block-list.is-style-punktreihe-hell {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: center;
	line-height: 2.2;
}
.is-style-punktreihe li,
.is-style-punktreihe-hell li {
	display: inline;
	cursor: default;
	transition: color 0.3s ease;
}
.is-style-punktreihe li + li::before,
.is-style-punktreihe-hell li + li::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 16px 2px;
	border-radius: 50%;
	background: var(--wp--preset--color--kupfer);
	vertical-align: middle;
}
.is-style-punktreihe li:hover { color: var(--wp--preset--color--sonne); }
.is-style-punktreihe-hell li:hover { color: var(--wp--preset--color--kupfer-dunkel); }

/* Nr. 14 – Coach-Foto zoomt, Zitat blendet ein */
.is-style-team-foto {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(var(--ib-rgb-kupfer), 0.35);
	transition: border-color 0.4s ease;
}
.is-style-team-foto:hover, .is-style-team-foto:focus-within, .is-style-team-foto:focus { border-color: var(--wp--preset--color--kupfer); }
.is-style-team-foto .wp-block-image { margin: 0; }
.is-style-team-foto .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.8s ease;
}
.is-style-team-foto:hover img { transform: scale(1.04); }
.is-style-team-foto > p {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	margin: 0;
	padding: 22px 20px;
	background: rgba(var(--ib-rgb-petrol), 0.9);
	color: var(--wp--preset--color--creme);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
	hyphens: auto;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}
.is-style-team-foto:hover > p,
.is-style-team-foto:focus > p,
.is-style-team-foto:focus-within > p { opacity: 1; transform: translateY(0); }
@media (hover: none) {
	.is-style-team-foto > p { position: static; opacity: 1; transform: none; background: var(--wp--preset--color--petrol-dunkel); }
}
/* Im Editor bleibt das Zitat sichtbar, damit Elke es bearbeiten kann */
.editor-styles-wrapper .is-style-team-foto > p { position: static; opacity: 1; transform: none; pointer-events: auto; }

/* Nr. 15 – Netz mit pulsierenden Kreisen als Hintergrund eines Abschnitts */
.is-style-netz-puls {
	position: relative;
	overflow: hidden;
	background-image: var(--wp--preset--gradient--netz);
}
.is-style-netz-puls::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(900px, 130%);
	aspect-ratio: 800 / 520;
	transform: translate(-50%, -50%);
	background: var(--ib-svg-netz) center / contain no-repeat;
	opacity: 0.35;
	pointer-events: none;
}
.is-style-netz-puls > * { position: relative; }

/* Nr. 16 – Karten heben sich */
.wp-block-group.is-style-karte-heben {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.is-style-karte-heben:hover { transform: translateY(-6px); border-color: var(--wp--preset--color--kupfer); box-shadow: var(--wp--preset--shadow--karte); }

/* Nr. 18 – Eingabefelder: Kupferrahmen. Allgemeine Regel, das Formular selbst steht weiter unten. */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
textarea,
select { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
textarea:focus,
select:focus { outline: none; border-color: var(--wp--preset--color--kupfer); box-shadow: 0 0 0 3px rgba(var(--ib-rgb-kupfer), 0.25); }


/* ==========================================================================
   Seitenaufbau: alles, was theme.json nicht abbilden kann
   ========================================================================== */

/* Etiketten: kleine Zeilen in Großbuchstaben */
.is-style-etikett { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; }
.ib-etikett-mini { font-size: 11px; letter-spacing: 0.22em; }
.ib-etikett-frage { font-size: 15px; letter-spacing: 0.22em; }
.ib-etikett-form { font-weight: 800; letter-spacing: 0.22em; }
.ib-etikett-kachel { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; }
.ib-etikett-gross { font-size: clamp(16px, 1.6vw, 22px); }
.ib-etikett-nowrap { white-space: nowrap; font-weight: 800; letter-spacing: 0.2em; }
#fuehrungskraefte > .is-style-etikett,
.ib-hero-etikett { font-size: clamp(13px, 1.2vw, 16px); font-weight: 800; }

/* Startseite */
.ib-claim { font-size: clamp(13px, 2.4vw, 34px); }
.ib-dreiklang { font-size: clamp(15px, 2.1vw, 31px); color: var(--wp--preset--color--kupfer-mittel); }
@media (min-width: 940px) { .ib-faktenzeile { white-space: nowrap; } }
.ib-faktenzeile { font-size: 16px; }

/* Senkrecht mittig (Zitat, Podcast) */
.wp-block-group.is-style-buehne-mittig { display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }

/* Großes Zitat */
.wp-block-quote.is-style-zitat-gross { margin: 0 auto; padding: 0; border: 0; text-align: center; background: none; }
.is-style-zitat-gross::before {
	content: "„";
	display: block;
	font-weight: 800;
	font-size: clamp(64px, 8vw, 120px);
	line-height: 0.6;
	color: var(--wp--preset--color--kupfer);
}
.is-style-zitat-gross p {
	margin: clamp(36px, 4.4vw, 60px) 0 0;
	font-weight: 300;
	font-size: clamp(22px, 2.9vw, 40px);
	line-height: 1.3;
	letter-spacing: -0.005em;
}
.is-style-zitat-gross strong { font-weight: 800; }
.is-style-zitat-gross mark { font-weight: 700; }
.is-style-zitat-gross cite {
	display: block;
	margin-top: clamp(56px, 6vw, 84px);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(13px, 1.1vw, 15px);
	letter-spacing: 0.06em;
	line-height: 1.8;
}
.is-style-zitat-gross cite strong { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; letter-spacing: 0.24em; }

/* Kasten mit Kupferrahmen */
.wp-block-group.is-style-kasten { box-sizing: border-box; text-align: left; }
#unternehmen .wp-block-group.is-style-kasten { padding: clamp(28px, 5vw, 56px); }
.is-style-kasten > * { margin-top: 0; margin-bottom: 0; }
.ib-blocksatz { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ib-blocksatz-mitte { text-align: justify !important; text-align-last: center; hyphens: auto; -webkit-hyphens: auto; }
.ib-preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 15px; letter-spacing: 0.06em; }
.ib-preis strong { font-weight: 700; }
.ib-klein { font-size: 12px; letter-spacing: 0.04em; color: var(--wp--preset--color--nebel); }
.ib-nowrap { white-space: nowrap; }
.ib-unterzeile { display: block; margin-top: 0.3em; font-weight: 300; font-size: 0.5em; }

/* Weitere Button-Stile (Nr. 4) */
.wp-block-button.is-style-rahmen-hell .wp-block-button__link {
	display: block;
}
.wp-block-button.is-style-rahmen-hell .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--wp--preset--color--papaya);
	color: var(--wp--preset--color--papaya);
	box-shadow: none;
}
.wp-block-button.is-style-umriss .wp-block-button__link:hover {
	background: transparent;
	color: var(--wp--preset--color--sonne);
	box-shadow: none;
	text-shadow: 0 0 14px rgba(var(--ib-rgb-papaya), 0.6);
}
.wp-block-button.is-style-umriss-dunkel .wp-block-button__link:hover { background: transparent; color: var(--wp--preset--color--petrol); box-shadow: none; }
.is-style-kachel .wp-block-button__link { text-align: center; }

/* Liste mit Kupferpunkten */
.wp-block-list.is-style-punktliste { margin-bottom: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.is-style-punktliste li { position: relative; padding-left: 32px; line-height: 1.5; }
.is-style-punktliste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--kupfer);
}

/* Lichtstrahl unten (zweites Stück, leicht versetzt) und Punkt am Ende */
.wp-block-spacer.is-style-lichtstrahl { margin-top: 0 !important; margin-bottom: 0; }
.wp-block-spacer.is-style-lichtstrahl-unten {
	display: block;
	width: 2px;
	margin: 0 0 0 36%;
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--gradient--lichtstrahl-unten);
}
.wp-block-spacer.is-style-lichtstrahl-unten::after {
	content: "";
	position: absolute;
	left: -1px;
	top: -48px;
	width: 4px;
	height: 48px;
	background: linear-gradient(180deg, transparent, var(--wp--preset--color--licht), transparent);
	animation: ib-beamrun 3s ease-in 1.1s infinite;
}
.wp-block-group.is-style-weg-text { position: relative; margin: 40px 0 0 36% !important; }
.is-style-weg-text::before {
	content: "";
	position: absolute;
	left: -5px;
	top: -40px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--kupfer);
	box-shadow: 0 0 0 6px rgba(var(--ib-rgb-kupfer), 0.2), 0 0 18px rgba(var(--ib-rgb-papaya), 0.8);
}
.is-style-weg-text > * { margin-bottom: 0; }
@media (max-width: 700px) {
	.wp-block-spacer.is-style-lichtstrahl-unten { margin-left: 5px; }
	.wp-block-group.is-style-weg-text { margin-left: 5px !important; }
	.wp-block-spacer.is-style-lichtstrahl { margin-left: 5px; }
}

/* Termin-Karten: Rand und Punkte leuchten (Nr. 10) */
.wp-block-group.is-style-termin-karte { box-sizing: border-box; transition: border-color 0.4s ease; }
.is-style-termin-karte:hover { border-color: rgba(var(--ib-rgb-papaya), 0.6); }
.is-style-gruppen-name { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--wp--preset--color--kupfer-mittel); }
.wp-block-list.is-style-terminliste { position: relative; margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.is-style-terminliste::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 26px; width: 2px; background: linear-gradient(180deg, var(--wp--preset--color--kupfer-dunkel), var(--wp--preset--color--papaya)); }
.is-style-terminliste li { position: relative; padding-left: 28px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.is-style-terminliste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--papaya);
	box-shadow: 0 0 0 4px var(--wp--preset--color--petrol);
	transition: background 0.4s ease, box-shadow 0.4s ease;
}
.is-style-termin-karte:hover li::before { background: var(--wp--preset--color--sonne); box-shadow: 0 0 0 4px var(--wp--preset--color--petrol), 0 0 14px rgba(var(--ib-rgb-papaya), 0.9); }
.ib-jahr { font-weight: 300; color: var(--wp--preset--color--salbei); }

/* Drei überlappende Kreise (Circles) */
.wp-block-group.is-style-kreis-reihe { display: flex; justify-content: center; align-items: flex-end; }
.is-style-kreis-reihe > .is-style-kreis-leuchtrand { flex: none; margin: 0 0 0 -18px !important; background: rgba(var(--ib-rgb-petrol-dunkel), 0.82); }
.is-style-kreis-reihe > .is-style-kreis-leuchtrand:first-child { margin-left: 0 !important; width: min(330px, 92vw); }
.is-style-kreis-reihe > .is-style-kreis-leuchtrand:nth-child(3) { width: min(360px, 92vw); }
.is-style-kreis-reihe > .is-style-kreis-leuchtrand:hover { position: relative; z-index: 1; }
.is-style-kreis-leuchtrand > * { margin-bottom: 0; }
.ib-kreistext { font-size: 13.5px; line-height: 1.5; color: var(--wp--preset--color--nebel); }
@media (max-width: 980px) {
	.wp-block-group.is-style-kreis-reihe { flex-direction: column; align-items: center; }
	.is-style-kreis-reihe > .is-style-kreis-leuchtrand { margin: -18px 0 0 !important; }
	.is-style-kreis-reihe > .is-style-kreis-leuchtrand:first-child { margin-top: 0 !important; }
}

/* Fragen auf der Bühne mit weichem Licht, Kern der Methode */
.wp-block-group.is-style-buehne { position: relative; padding-top: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; text-align: center; }
.is-style-buehne::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(760px, 120%);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--ib-rgb-papaya), 0.22) 0%, rgba(var(--ib-rgb-papaya), 0.08) 45%, rgba(var(--ib-rgb-creme), 0) 70%);
	pointer-events: none;
}
.is-style-buehne > * { position: relative; margin: 0; }
.is-style-buehne p { margin-bottom: 0; }
.wp-block-group.is-style-kern {
	box-sizing: border-box;
	width: 200px;
	height: 200px;
	margin-inline: auto !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--petrol);
	border: 2px solid var(--wp--preset--color--kupfer);
	text-align: center;
}
.is-style-kern > * { margin: 0 !important; }
.is-style-kern > :first-child { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--wp--preset--color--creme); }
.is-style-kern > :last-child { font-size: 26px; font-weight: 800; color: var(--wp--preset--color--papaya); }
.ib-schmal { max-width: 680px; margin-inline: auto !important; }
.wp-block-group.ib-schmal-680 { max-width: 680px; margin-inline: auto; }
.wp-block-list.is-style-punktreihe-hell, .wp-block-list.is-style-punktreihe { max-width: 860px; }
.is-style-punktreihe li, .is-style-punktreihe-hell li { font-size: 17px; }
.is-style-punktreihe-hell li { white-space: nowrap; }
@media (max-width: 600px) { .is-style-punktreihe-hell li { white-space: normal; } }

/* Dunkle Fläche im hellen Abschnitt */
.wp-block-group.is-style-dunkle-flaeche { box-sizing: border-box; }

/* Drei verschachtelte Kreise: Ring als Hintergrundbild, Texte als Gruppen */
.wp-block-group.is-style-wirkungskreise {
	position: relative;
	box-sizing: border-box;
	margin-inline: auto;
	width: min(960px, 100%);
	aspect-ratio: 1;
	container-type: inline-size;
	text-align: center;
	background: var(--ib-svg-wirkungskreise) center top / 100% 100% no-repeat;
}
.is-style-wirkungskreise > .wp-block-group { position: absolute; left: 50%; margin: 0 !important; transform: translate(-50%, -50%); }
.is-style-wirkungskreise > .wp-block-group > * { margin: 0; }
.is-style-wirkungskreise > .wp-block-group > :first-child { margin-bottom: 0.9cqw; font-size: max(10px, 1.75cqw); color: var(--wp--preset--color--papaya); }
.is-style-wirkungskreise > .wp-block-group > :last-child { font-size: max(12px, 2cqw); line-height: 1.42; }
.is-style-wirkungskreise > .wp-block-group:nth-child(1) { top: 21%; width: 26%; color: var(--wp--preset--color--petrol); }
.is-style-wirkungskreise > .wp-block-group:nth-child(1) > :first-child { color: var(--wp--preset--color--kupfer-dunkel); }
.is-style-wirkungskreise > .wp-block-group:nth-child(2) { top: 52.3%; width: 40%; }
.is-style-wirkungskreise > .wp-block-group:nth-child(3) { top: 82%; width: 52%; }
@media (max-width: 640px) {
	.wp-block-group.is-style-wirkungskreise { aspect-ratio: auto; container-type: normal; background: none; }
	.is-style-wirkungskreise > .wp-block-group { position: static; transform: none; width: auto !important; margin-bottom: 24px !important; color: inherit !important; }
	.is-style-wirkungskreise > .wp-block-group > :first-child { font-size: 12px; color: var(--wp--preset--color--papaya) !important; }
	.is-style-wirkungskreise > .wp-block-group > :last-child { font-size: 16px; }
}

/* Drei kleine Kreise als Schmuck */
.wp-block-spacer.is-style-drei-kreise { background: var(--ib-svg-drei-kreise) center / auto 100% no-repeat; }

/* FAQ */
.ib-faq .wp-block-details { border-top: 1px solid var(--wp--preset--color--nebel-linie); color: var(--wp--preset--color--petrol); margin-top: 0 !important; }
.ib-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--nebel-linie); }
.ib-faq .wp-block-details summary { font-weight: 400; }
.ib-faq .wp-block-details p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--wp--preset--color--schiefer); }
.ib-faq .wp-block-details[open] > :last-child { padding-bottom: 22px; }

/* Team */
.ib-teamraster.wp-block-group { row-gap: 56px; }
.ib-teamname.wp-block-heading { margin: 18px 0 0; font-size: 17px; font-weight: 800; letter-spacing: 0.06em; color: var(--wp--preset--color--papaya); }
.ib-teamrolle { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--wp--preset--color--nebel); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.is-style-team-foto > p { text-align: justify; }
.is-style-team-foto + * { margin-top: 18px; }
.ib-weit { display: flex; justify-content: center; letter-spacing: 0.11em; padding-left: 0.11em; }

/* Community */
.wp-block-group.is-style-einladung { box-sizing: border-box; }
.is-style-einladung > * { margin-bottom: 0; }
.ib-datum { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1; white-space: nowrap; }
.wp-block-spacer.is-style-kupferlinie { width: 64px; margin: 26px auto !important; background: var(--wp--preset--gradient--kupferlinie); }
.ib-karten3.wp-block-group { justify-content: center; }
.ib-kartentext { color: var(--wp--preset--color--nebel); line-height: 1.65; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.wp-block-group.is-style-mitglied { box-sizing: border-box; }
.is-style-mitglied > * { margin-bottom: 0; }
.ib-preisgross { font-size: 32px; font-weight: 800; line-height: 1; }
.is-style-netz-puls > .has-text-align-center { margin-inline: auto; }
.is-style-netz-puls { background-image: var(--wp--preset--gradient--netz); }
.ib-trennlinie { border-top: 1px solid rgba(var(--ib-rgb-creme), 0.12); }

/* Schritte und Kontakt-Kacheln */
.ib-mittig { text-align: center; }
.ib-kachelsatz { font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--nebel); }
.ib-mittig > * { margin-bottom: 0; }
.ib-kachelwert { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; white-space: nowrap; }
.ib-linkkachel { position: relative; }
.ib-linkkachel a { color: var(--wp--preset--color--creme); }
.ib-linkkachel a::after { content: ""; position: absolute; inset: 0; }
.ib-linkkachel:hover a { color: var(--wp--preset--color--sonne); }

/* Rechtstexte */
.wp-block-group.is-style-rechtsblock { padding: clamp(22px, 2.8vw, 30px) 0; border-top: 1px solid rgba(var(--ib-rgb-kupfer), 0.4); }
.is-style-rechtsblock:first-child { border-top: 0; padding-top: 0; }
.is-style-rechtsblock > * { margin-bottom: 0; }
.is-style-rechtsblock a { box-shadow: inset 0 -1px 0 rgba(var(--ib-rgb-papaya), 0.6); }
.is-style-datenzeile { display: grid; grid-template-columns: 90px 1fr; gap: 16px; line-height: 1.6; }
.is-style-datenzeile strong { font-weight: 700; color: var(--wp--preset--color--salbei); }
@media (max-width: 520px) { .is-style-datenzeile { grid-template-columns: 1fr; gap: 2px; } }

/* Heller Grund: Links dunkles Kupfer, beim Überfahren Petrol */
.has-creme-background-color a:not(.wp-element-button),
.has-weiss-background-color a:not(.wp-element-button),
.has-nebel-hell-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--kupfer-dunkel); }
.has-creme-background-color a:not(.wp-element-button):hover,
.has-weiss-background-color a:not(.wp-element-button):hover,
.has-nebel-hell-background-color a:not(.wp-element-button):hover { color: var(--wp--preset--color--petrol); }

/* Fußbereich */
.ib-fuss { font-size: 14px; color: var(--wp--preset--color--nebel); }
.ib-fuss p { margin: 0; }
.ib-fuss a { display: inline-block; padding: 10px 0; }
.ib-fussname { font-weight: 800; letter-spacing: 0.18em; color: var(--wp--preset--color--creme); }
/* Fußbereich-Menü (Version 3): Navigationsblock „Fußbereich“, sieht aus wie die bisherigen Textlinks.
   Schrift wie im Fußbereich statt wie im Hauptmenü. */
.ib-fuss .ib-fussmenue { font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
.ib-fuss .ib-fussmenue .wp-block-navigation-item__content { padding: 10px 0; }

/* Social-Link-Stil „Nur Text, ohne Symbol“: Link sieht aus wie ein normaler Textlink.
   Mit dem Stil „Standard“ erscheint das Symbol (Block Social-Links, rechts unter „Stile“). */
.wp-block-social-links.is-style-nur-text { gap: 0; margin: 0; padding: 0; font-size: inherit; }
.wp-block-social-links.is-style-nur-text .wp-social-link.wp-social-link { margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; line-height: inherit; transform: none; }
.wp-block-social-links.is-style-nur-text .wp-social-link svg { display: none; }
.wp-block-social-links.is-style-nur-text .wp-social-link .wp-block-social-link-anchor { padding: 10px 0; gap: 0; color: inherit; line-height: inherit; font-size: inherit; }
.wp-block-social-links.is-style-nur-text .wp-social-link .wp-block-social-link-anchor:hover { color: var(--wp--preset--color--kupfer); }
/* WordPress verkleinert die Beschriftung auf 65 % und rückt sie ein: hier wie normaler Text. */
.wp-block-social-links.is-style-nur-text .wp-social-link .wp-block-social-link-anchor .wp-block-social-link-label { margin: 0; padding: 0; font-size: inherit; }

/* Seiten ohne Lücke zwischen Abschnitten */
main > .entry-content > .alignfull, .wp-block-post-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-post-content { margin-top: 0 !important; }
.is-layout-flow > .ib-faq { margin-top: 0; }

/* Handy */
@media (max-width: 760px) {
	.ib-nowrap { white-space: normal; }
	.ib-kachelwert { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
	.ib-datum { white-space: normal; }
	.ib-etikett-nowrap { white-space: normal; }
}

/* ==========================================================================
   Formulare (Plugin Fluent Forms)
   Solange kein Formular eingefügt ist, bleibt der Abschnitt unsichtbar.
   ========================================================================== */
.ib-formular:not(:has(.fluentform)) { display: none; }
.editor-styles-wrapper .ib-formular { display: block !important; }

.ib-formular .fluentform .ff-el-group { margin-bottom: 24px; }
.ib-formular .fluentform .ff-t-container { gap: 28px; }
.ib-formular .fluentform .ff-el-input--label { margin-bottom: 8px; }
.ib-formular .fluentform .ff-el-input--label label,
.ib-formular .fluentform .ff-el-input--label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--wp--preset--color--petrol); }
.ib-formular .fluentform .ff-el-is-required.asterisk-right label::after { color: var(--wp--preset--color--kupfer-dunkel); }
.ib-formular .fluentform .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 16px;
	color: var(--wp--preset--color--petrol);
	background-color: var(--wp--preset--color--weiss);
	border: 1px solid rgba(var(--ib-rgb-petrol), 0.35);
	border-radius: 0;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ib-formular .fluentform textarea.ff-el-form-control { min-height: 160px; resize: vertical; line-height: 1.55; }
/* Nr. 18 – Kupferrahmen im Feld */
.ib-formular .fluentform .ff-el-form-control:focus {
	outline: none;
	color: var(--wp--preset--color--petrol);
	background-color: var(--wp--preset--color--weiss);
	border-color: var(--wp--preset--color--kupfer);
	box-shadow: 0 0 0 3px rgba(var(--ib-rgb-kupfer), 0.25);
}
.ib-formular .fluentform .ff-el-form-check-label { color: var(--wp--preset--color--petrol); font-size: 15px; line-height: 1.5; }
.ib-formular .fluentform .ff_tc_label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.ib-formular .fluentform .ff_tc_checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wp--preset--color--kupfer-dunkel); }
.ib-formular .fluentform .ff_t_c { padding: 0; margin: 0; }
.ib-formular .fluentform .ff_t_c a { color: var(--wp--preset--color--kupfer-dunkel); }
.ib-formular .fluentform .ff_t_c a:hover { color: var(--wp--preset--color--petrol); }
.ib-hinweis { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--schiefer); }
.ib-formular .fluentform .ff_submit_btn_wrapper { margin: 36px 0 0; }
.ib-formular .fluentform .ff-btn-submit {
	display: block;
	width: 100%;
	min-height: 58px;
	padding: 16px;
	background: var(--wp--preset--color--kupfer) !important;
	color: var(--wp--preset--color--petrol-tief) !important;
	border: 0;
	border-radius: 0;
	font-family: var(--wp--preset--font-family--manrope);
	font-weight: 800;
	font-size: 16px;
	letter-spacing: 0.14em;
	opacity: 1;
	cursor: pointer;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ib-formular .fluentform .ff-btn-submit:hover { background: var(--wp--preset--color--papaya) !important; box-shadow: 0 0 26px rgba(var(--ib-rgb-papaya), 0.5); opacity: 1; }
.ib-formular .fluentform .text-danger, .ib-formular .fluentform .error { color: var(--wp--preset--color--kupfer-dunkel); font-size: 14px; }
.ff-message-success { border: 1px solid var(--wp--preset--color--kupfer); background: var(--wp--preset--color--weiss); color: var(--wp--preset--color--petrol); padding: 20px; box-shadow: none; }

/* Nr. 17 – Gruppenwahl: Kacheln statt runder Knöpfe */
.ib-gruppenwahl .ff-el-input--content { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ib-gruppenwahl .ff-el-form-check,
.ib-gruppenwahl .ff-el-form-check-label,
.ib-gruppenwahl .ff-el-form-check-label > span { display: contents; }
.ib-formular .fluentform .ib-gruppenwahl input.ff-el-form-check-input { position: absolute !important; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ib-gruppenwahl .error { grid-column: 1 / -1; }
.ib-halbjahr { grid-column: 1 / -1; margin: 22px 0 -2px; font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--wp--preset--color--schiefer); }
.ib-gk {
	display: flex;
	flex-direction: column;
	gap: 7px;
	box-sizing: border-box;
	padding: 18px 18px 16px;
	background: var(--wp--preset--color--weiss);
	border: 1px solid rgba(var(--ib-rgb-petrol), 0.25);
	cursor: pointer;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.ib-gk:hover { border-color: var(--wp--preset--color--kupfer); }
.ib-gn { margin-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--wp--preset--color--kupfer-dunkel); }
.ib-gt { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--wp--preset--color--petrol); }
.ib-gt::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--kupfer); }
.ib-formular .fluentform input:checked + span .ib-gk { background: var(--wp--preset--color--petrol); border-color: var(--wp--preset--color--kupfer); box-shadow: 0 0 22px rgba(var(--ib-rgb-papaya), 0.35); }
.ib-formular .fluentform input:checked + span .ib-gn { color: var(--wp--preset--color--papaya); }
.ib-formular .fluentform input:checked + span .ib-gt { color: var(--wp--preset--color--creme); }
.ib-formular .fluentform input:focus-visible + span .ib-gk { outline: 3px solid rgba(var(--ib-rgb-kupfer), 0.6); outline-offset: 2px; }
@media (max-width: 640px) {
	.ib-formular .fluentform .ff-t-container { display: block; }
	.ib-formular .fluentform .ff-t-cell { width: 100% !important; }
}
.is-style-buchstaben { letter-spacing: 0.11em; }
.is-style-kreis-leuchtrand h3 { margin-bottom: 0; }
/* Grundtheme setzt das Anführungszeichen absolut: hier normal im Fluss */
.wp-block-quote.is-style-zitat-gross::before { position: static; }
/* Fußbereich schließt ohne Lücke an, mit Seitenrand */
footer.wp-block-template-part { margin-top: 0; }
.wp-block-group.ib-fuss { padding-inline: clamp(20px, 4vw, 56px); }
/* Immer drei gleich breite Spalten, auf dem Handy eine */
.wp-block-group.ib-drei { grid-template-columns: repeat(3, 1fr) !important; }
.wp-block-group.ib-schmal-780 { max-width: 780px; margin-inline: auto; }
@media (max-width: 700px) { .ib-schmal-780.wp-block-group.ib-drei { grid-template-columns: 1fr !important; max-width: 360px; } }
.ib-drei .wp-block-buttons { display: block; }
.wp-block-group.is-style-kasten { max-width: 880px; margin-inline: auto; }
#unternehmen .wp-block-group.is-style-kasten { max-width: 860px; }
.ib-formular .fluentform .ff-el-is-error .ff-el-form-check-label,
.ib-formular .fluentform .ff-el-is-error .ff-el-form-check-label a { color: var(--wp--preset--color--petrol); }
.ib-formular .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--wp--preset--color--kupfer-dunkel); }
.ib-formular .fluentform .ff_tc_checkbox { flex: none; width: 20px; height: 20px; margin: 0; padding: 0; position: static; }
.ib-formular .fluentform .ff_tc_checkbox input { position: static; display: block; }
@media (max-width: 480px) { .wp-block-button.is-style-kachel .wp-block-button__link { padding: 15px 2px; font-size: 14px; letter-spacing: 0.06em; } }

/* Reduzierte Bewegung: nichts läuft von selbst, nichts gleitet. Inhalte bleiben sichtbar. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; }
	.wp-block-spacer.is-style-lichtstrahl::after,
	.wp-block-spacer.is-style-lichtstrahl-unten::after { display: none; }
	.is-style-netz-puls::before { background-image: var(--ib-svg-netz-ruhig); }
	.is-style-karte-heben:hover { transform: none; }
	.is-style-team-foto:hover img { transform: none; }
}
