/*
 * JuBo Gruppen, Teams & private Events
 * Bereinigtes CSS-Feintuning auf Basis der finalen JuBo Startseite V6.
 * Scope: ausschließlich .jubo-groups-page / .jubo-groups-*.
 */

.jubo-groups-page {
	--jubo-white-rock: #e7e7d9;
	--jubo-bombay: #b4babc;
	--jubo-dim-gray: #67646c;
	--jubo-chicago: #545c56;
	--jubo-zeus: #272119;
	--jubo-deco: #dad99b;
	--jubo-golden-dream: #f4dd30;
	--jubo-dark-goldenrod: #b7890a;
	--jubo-shadow: #81744e;
	--jubo-raw-umber: #6f5113;
	--jubo-radius-lg: 30px;
	--jubo-radius-md: 22px;
	--jubo-radius-sm: 14px;
	--jubo-shadow-soft: 0 24px 70px rgba(39, 33, 25, 0.14);
	--jubo-shadow-dark: 0 26px 80px rgba(0, 0, 0, 0.28);
	--jubo-container: 1280px;
	--jubo-line: rgba(183, 137, 10, 0.22);
	--jubo-soft-line: rgba(39, 33, 25, 0.1);
	background: var(--jubo-white-rock);
	color: var(--jubo-zeus);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	overflow: hidden;
}

.jubo-groups-page *,
.jubo-groups-page *::before,
.jubo-groups-page *::after {
	box-sizing: border-box;
}

.jubo-groups-page a {
	color: inherit;
	text-decoration: none;
}

.jubo-groups-shell {
	width: min(calc(100% - clamp(116px, 12vw, 180px)), var(--jubo-container));
	margin-inline: auto;
}

.jubo-groups-page h1,
.jubo-groups-page h2,
.jubo-groups-page h3,
.jubo-groups-page p {
	margin-top: 0;
}

.jubo-groups-page h1,
.jubo-groups-page h2,
.jubo-groups-page h3 {
	color: inherit;
	font-family: inherit;
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1;
}

.jubo-groups-page h1 {
	max-width: 900px;
	margin-bottom: 26px;
	font-size: clamp(46px, 5.35vw, 72px);
}

.jubo-groups-page h2 {
	max-width: 900px;
	margin-bottom: 24px;
	font-size: clamp(38px, 4.6vw, 70px);
}

.jubo-groups-page h3 {
	margin-bottom: 14px;
	font-size: clamp(20px, 1.55vw, 25px);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.jubo-groups-page p,
.jubo-groups-page li {
	color: rgba(39, 33, 25, 0.72);
	font-family: inherit;
	font-size: clamp(15.75px, 0.85vw, 16.5px);
	line-height: 1.66;
}

.jubo-groups-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 clamp(16px, 1.35vw, 20px);
	color: var(--jubo-dark-goldenrod) !important;
	font-family: inherit;
	font-size: clamp(14px, 1.05vw, 19px) !important;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.35 !important;
	text-transform: uppercase;
}

.jubo-groups-eyebrow::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, transparent, currentColor);
}

.jubo-groups-section {
	position: relative;
	padding: clamp(58px, 6vw, 90px) 0;
}

.jubo-groups-section-head {
	max-width: 760px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.jubo-groups-section-head > p:not(.jubo-groups-eyebrow) {
	max-width: 720px;
	margin-bottom: 0;
	color: rgba(39, 33, 25, 0.76);
	font-size: clamp(16px, 1.15vw, 18px);
	line-height: 1.62;
}

.jubo-groups-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.jubo-groups-section-head--center > p:not(.jubo-groups-eyebrow) {
	margin-inline: auto;
}

/* Buttons & Links – angelehnt an .jubo-home-btn */
.jubo-groups-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.jubo-groups-button {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: clamp(15.5px, 0.82vw, 17px);
	font-weight: 800;
	letter-spacing: 0.065em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.jubo-groups-button::before {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(circle at 50% 50%, rgba(244, 221, 48, 0.32), transparent 56%);
	opacity: 0;
	transform: scale(0.72);
	transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.jubo-groups-button::after {
	content: "";
	position: absolute;
	top: -42%;
	bottom: -42%;
	left: -68%;
	width: 46%;
	background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0.52) 50%, rgba(255, 255, 255, 0.16) 62%, transparent 100%);
	opacity: 0;
	transform: skewX(-18deg);
	pointer-events: none;
}

.jubo-groups-button:hover,
.jubo-groups-button:focus-visible {
	transform: translateY(-4px) scale(1.018);
}

.jubo-groups-button:hover::before,
.jubo-groups-button:focus-visible::before {
	opacity: 1;
	transform: scale(1);
}

.jubo-groups-button:hover::after,
.jubo-groups-button:focus-visible::after {
	left: 122%;
	opacity: 1;
	transition: left 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

.jubo-groups-button--primary {
	color: var(--jubo-white-rock) !important;
	background: var(--jubo-dark-goldenrod);
	box-shadow: 0 18px 38px rgba(111, 81, 19, 0.28), 0 0 0 1px rgba(244, 221, 48, 0.08);
}

.jubo-groups-button--primary:hover,
.jubo-groups-button--primary:focus-visible {
	color: var(--jubo-white-rock) !important;
	background: linear-gradient(135deg, var(--jubo-dark-goldenrod), var(--jubo-raw-umber));
	box-shadow: 0 24px 54px rgba(111, 81, 19, 0.36), 0 0 0 1px rgba(244, 221, 48, 0.22), 0 0 34px rgba(183, 137, 10, 0.2);
}

.jubo-groups-button--secondary {
	border-color: rgba(39, 33, 25, 0.2);
	background: transparent;
	color: var(--jubo-zeus) !important;
}

.jubo-groups-button--secondary:hover,
.jubo-groups-button--secondary:focus-visible {
	border-color: rgba(183, 137, 10, 0.62);
	background: rgba(183, 137, 10, 0.08);
	color: var(--jubo-zeus) !important;
	box-shadow: 0 18px 38px rgba(111, 81, 19, 0.14), 0 0 0 1px rgba(183, 137, 10, 0.1);
}

.jubo-groups-hero .jubo-groups-button--secondary {
	border-color: rgba(218, 217, 155, 0.46);
	background: rgba(231, 231, 217, 0.10);
	color: var(--jubo-white-rock) !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.jubo-groups-hero .jubo-groups-button--secondary:hover,
.jubo-groups-hero .jubo-groups-button--secondary:focus-visible {
	border-color: rgba(244, 221, 48, 0.66);
	background: rgba(231, 231, 217, 0.22);
	color: #ffffff !important;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25), 0 0 30px rgba(218, 217, 155, 0.18);
}

.jubo-groups-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--jubo-dark-goldenrod) !important;
	font-size: clamp(14px, 0.72vw, 15.5px);
	font-weight: 800;
	letter-spacing: 0.075em;
	line-height: 1.35;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: color 0.18s ease, transform 0.18s ease;
}

.jubo-groups-textlink::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	transition: width 0.18s ease;
}

.jubo-groups-textlink:hover,
.jubo-groups-textlink:focus-visible {
	color: var(--jubo-raw-umber) !important;
	transform: translateY(-1px);
}

.jubo-groups-textlink:hover::after,
.jubo-groups-textlink:focus-visible::after {
	width: 44px;
}

/* Hero */
.jubo-groups-hero {
	position: relative;
	padding: clamp(58px, 6vw, 90px) 0;
	background: radial-gradient(circle at top right, rgba(183, 137, 10, 0.17), transparent 34%), linear-gradient(135deg, var(--jubo-zeus), #17130f);
	color: var(--jubo-white-rock);
	isolation: isolate;
}

.jubo-groups-hero::after {
	content: "";
	position: absolute;
	inset: auto -90px -160px auto;
	z-index: -1;
	width: 330px;
	height: 330px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(244, 221, 48, 0.12), transparent 68%);
	pointer-events: none;
}

.jubo-groups-hero .jubo-groups-eyebrow {
	color: var(--jubo-deco) !important;
}

.jubo-groups-hero__grid {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}

.jubo-groups-hero__content {
	max-width: 860px;
}

.jubo-groups-hero__subheadline {
	max-width: 720px;
	margin-bottom: 18px;
	color: rgba(231, 231, 217, 0.86) !important;
	font-size: clamp(16px, 1.15vw, 18px) !important;
	line-height: 1.58 !important;
}

.jubo-groups-hero__text {
	max-width: 690px;
	margin-bottom: 0;
	color: rgba(231, 231, 217, 0.80) !important;
	font-size: clamp(16px, 1.15vw, 18px) !important;
	line-height: 1.58 !important;
}

.jubo-groups-hero__trustline {
	display: inline-flex;
	margin: 24px 0 0;
	padding: 10px 14px;
	border: 1px solid rgba(218, 217, 155, 0.24);
	border-radius: 999px;
	background: rgba(231, 231, 217, 0.06);
	color: rgba(218, 217, 155, 0.84) !important;
	font-size: clamp(14.5px, 0.72vw, 15.5px) !important;
	line-height: 1.55 !important;
	letter-spacing: 0.02em;
}

.jubo-groups-hero__visual {
	position: relative;
	min-height: 360px;
	border: 1px solid rgba(218, 217, 155, 0.18);
	border-radius: var(--jubo-radius-lg);
	background: radial-gradient(circle at 72% 18%, rgba(244, 221, 48, 0.16), transparent 28%), linear-gradient(135deg, rgba(111, 81, 19, 0.92), rgba(39, 33, 25, 0.98) 56%), var(--jubo-zeus);
	box-shadow: var(--jubo-shadow-dark);
	overflow: hidden;
}

.jubo-groups-hero__visual::before {
	content: "";
	position: absolute;
	inset: 18px;
	z-index: 2;
	border: 1px solid rgba(231, 231, 217, 0.18);
	border-radius: calc(var(--jubo-radius-lg) - 12px);
	pointer-events: none;
}

.jubo-groups-hero__visual img,
.jubo-groups-card__image img,
.jubo-groups-format__image img,
.jubo-groups-final__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.42s ease;
}

.jubo-groups-hero__visual img {
	min-height: 360px;
}

.jubo-groups-hero__visual:hover img,
.jubo-groups-card:hover .jubo-groups-card__image img,
.jubo-groups-format:hover .jubo-groups-format__image img,
.jubo-groups-final__image:hover img {
	transform: scale(1.035);
}

.jubo-groups-hero__placeholder {
	position: relative;
	display: grid;
	min-height: 360px;
	place-items: center;
}

.jubo-groups-hero__placeholder span {
	position: absolute;
	inset: auto 22px 22px 22px;
	height: 1px;
	color: transparent;
	background: rgba(218, 217, 155, 0.54);
}

/* Cards & Content Blocks */
.jubo-groups-card-grid,
.jubo-groups-process-grid,
.jubo-groups-decision-grid,
.jubo-groups-format-list,
.jubo-groups-faq-list,
.jubo-groups-final__grid,
.jubo-groups-form-grid,
.jubo-groups-choice-grid {
	display: grid;
}

.jubo-groups-card-grid {
	gap: clamp(20px, 2vw, 24px);
}

.jubo-groups-card,
.jubo-groups-mini-card,
.jubo-groups-format,
.jubo-groups-process-step,
.jubo-groups-decision-card,
.jubo-groups-faq-item,
.jubo-groups-final__content,
.jubo-groups-form-box,
.jubo-groups-form-notice,
.jubo-groups-form-section {
	position: relative;
	border: 1px solid var(--jubo-soft-line);
	border-radius: var(--jubo-radius-md);
	background: rgba(255, 255, 255, 0.34);
	box-shadow: var(--jubo-shadow-soft);
}

.jubo-groups-card,
.jubo-groups-format,
.jubo-groups-decision-card,
.jubo-groups-form-section,
.jubo-groups-choice,
.jubo-groups-consent {
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.jubo-groups-card:hover,
.jubo-groups-format:hover,
.jubo-groups-choice:hover,
.jubo-groups-consent:hover {
	border-color: rgba(183, 137, 10, 0.28);
	box-shadow: 0 28px 80px rgba(39, 33, 25, 0.14);
	transform: translateY(-3px);
}

.jubo-groups-mini-card,
.jubo-groups-process-step,
.jubo-groups-faq-item {
	transition: none;
}

.jubo-groups-mini-card:hover,
.jubo-groups-process-step:hover,
.jubo-groups-faq-item:hover {
	transform: none;
}

.jubo-groups-card {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
}

.jubo-groups-card__image {
	aspect-ratio: 16 / 10;
	background: rgba(183, 137, 10, 0.12);
	overflow: hidden;
}

.jubo-groups-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(22px, 2.6vw, 30px);
}

.jubo-groups-card__body p,
.jubo-groups-mini-card p,
.jubo-groups-process-step p,
.jubo-groups-decision-card p,
.jubo-groups-format__content p,
.jubo-groups-faq-item p {
	margin-bottom: 0;
	font-size: clamp(15.75px, 0.85vw, 16.5px);
	line-height: 1.68;
}

.jubo-groups-card__body .jubo-groups-textlink {
	margin-top: auto;
	padding-top: 18px;
}

.jubo-groups-card-grid--occasions .jubo-groups-card__body {
	padding-bottom: clamp(18px, 2vw, 24px);
}

.jubo-groups-card-grid--occasions .jubo-groups-card__body h3 {
	margin-bottom: 4px;
}

.jubo-groups-card-grid--occasions .jubo-groups-card__body p {
	margin-bottom: 0;
}

.jubo-groups-card-grid--occasions .jubo-groups-card__body .jubo-groups-textlink {
	margin-top: auto;
	padding-top: 14px;
}

.jubo-groups-chip {
	display: inline-flex;
	margin-bottom: clamp(16px, 1.2vw, 20px);
	color: var(--jubo-dark-goldenrod);
	font-size: clamp(14px, 1.05vw, 19px);
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.jubo-groups-promise {
	background: radial-gradient(circle at 12% 8%, rgba(183, 137, 10, 0.18), transparent 31%), linear-gradient(135deg, rgba(218, 217, 155, 0.9), rgba(231, 231, 217, 0.72) 52%, rgba(183, 137, 10, 0.16)), var(--jubo-deco);
	box-shadow: inset 0 1px 0 rgba(183, 137, 10, 0.16), inset 0 -1px 0 rgba(39, 33, 25, 0.08);
}

.jubo-groups-mini-card,
.jubo-groups-process-step {
	padding: clamp(22px, 2.6vw, 30px);
	background: rgba(231, 231, 217, 0.78);
}

.jubo-groups-number,
.jubo-groups-process-step span {
	display: inline-flex;
	margin-bottom: clamp(8px, 0.7vw, 12px);
	color: var(--jubo-dark-goldenrod);
	font-size: clamp(14px, 1.05vw, 19px);
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.35;
}

.jubo-groups-formats {
	background: radial-gradient(circle at 10% 10%, rgba(183, 137, 10, 0.09), transparent 30%), var(--jubo-white-rock);
}

.jubo-groups-format-list {
	gap: clamp(20px, 2vw, 24px);
}

.jubo-groups-format {
	grid-template-columns: 1fr;
	overflow: hidden;
}

.jubo-groups-format__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: rgba(183, 137, 10, 0.12);
	overflow: hidden;
}

.jubo-groups-format__content {
	padding: clamp(22px, 2.8vw, 32px);
}

.jubo-groups-process {
	background:
		radial-gradient(circle at top right, rgba(183, 137, 10, 0.16), transparent 32%),
		linear-gradient(135deg, rgba(84, 92, 86, 0.16), rgba(218, 217, 155, 0.58) 52%, rgba(231, 231, 217, 0.94)),
		var(--jubo-deco);
	box-shadow: inset 0 1px 0 rgba(39, 33, 25, 0.06), inset 0 -1px 0 rgba(39, 33, 25, 0.08);
}

.jubo-groups-process-grid {
	gap: clamp(20px, 2vw, 24px);
}

/* Dark decision panel */
.jubo-groups-decision-panel {
	position: relative;
	padding: clamp(30px, 6vw, 66px);
	border: 1px solid rgba(218, 217, 155, 0.18);
	border-radius: var(--jubo-radius-lg);
	background: linear-gradient(135deg, rgba(231, 231, 217, 0.08), rgba(183, 137, 10, 0.08)), rgba(39, 33, 25, 0.98);
	box-shadow: var(--jubo-shadow-dark);
	overflow: hidden;
}

.jubo-groups-decision-panel::before {
	content: "";
	position: absolute;
	inset: -120px auto auto -90px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(244, 221, 48, 0.18), transparent 66%);
	pointer-events: none;
}

.jubo-groups-decision-panel .jubo-groups-section-head,
.jubo-groups-decision-grid {
	position: relative;
	z-index: 1;
}

.jubo-groups-decision-panel .jubo-groups-eyebrow {
	color: var(--jubo-deco) !important;
}

.jubo-groups-decision-panel h2,
.jubo-groups-decision-panel h3 {
	color: var(--jubo-white-rock);
}

.jubo-groups-decision-panel p,
.jubo-groups-decision-card p {
	color: rgba(231, 231, 217, 0.72);
}

.jubo-groups-decision-panel .jubo-groups-section-head > p:not(.jubo-groups-eyebrow) {
	color: rgba(231, 231, 217, 0.82) !important;
}

.jubo-groups-decision-grid {
	gap: clamp(20px, 2vw, 24px);
}

.jubo-groups-decision-card {
	padding: clamp(22px, 2.6vw, 30px);
	border-color: rgba(218, 217, 155, 0.16);
	background: rgba(231, 231, 217, 0.06);
	box-shadow: none;
}

.jubo-groups-decision-card .jubo-groups-button {
	width: 100%;
	margin-top: 22px;
}

/* FAQ */
.jubo-groups-faq {
	background:
		radial-gradient(circle at 12% 0%, rgba(183, 137, 10, 0.18), transparent 32%),
		linear-gradient(135deg, rgba(218, 217, 155, 0.90), rgba(231, 231, 217, 0.96) 52%, rgba(180, 186, 188, 0.36)),
		var(--jubo-deco);
	box-shadow:
		inset 0 1px 0 rgba(183, 137, 10, 0.18),
		inset 0 -1px 0 rgba(39, 33, 25, 0.08);
}

.jubo-groups-faq__grid {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.jubo-groups-faq-list {
	gap: 12px;
}

.jubo-groups-faq-item {
	border-radius: var(--jubo-radius-sm);
	background: rgba(255, 255, 255, 0.46);
	overflow: hidden;
}

.jubo-groups-faq-item summary {
	position: relative;
	cursor: pointer;
	padding: 20px 52px 20px 20px;
	color: var(--jubo-zeus);
	font-size: clamp(16px, 0.95vw, 18px);
	font-weight: 800;
	line-height: 1.35;
	list-style: none;
}

.jubo-groups-faq-item summary::-webkit-details-marker {
	display: none;
}

.jubo-groups-faq-item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	color: var(--jubo-dark-goldenrod);
	font-size: 1.45rem;
	line-height: 1;
	transform: translateY(-50%);
}

.jubo-groups-faq-item[open] summary::after {
	content: "–";
}

.jubo-groups-faq-item p {
	margin: -4px 20px 22px;
}

/* Final / Form */
.jubo-groups-final {
	padding-bottom: clamp(58px, 6vw, 90px);
	background: radial-gradient(circle at 50% 0%, rgba(244, 221, 48, 0.13), transparent 34%), var(--jubo-zeus);
	color: var(--jubo-white-rock);
}

.jubo-groups-final .jubo-groups-eyebrow {
	color: var(--jubo-deco) !important;
}

.jubo-groups-final h2,
.jubo-groups-final h3 {
	color: var(--jubo-white-rock);
}

.jubo-groups-final p,
.jubo-groups-final__microcopy {
	color: rgba(231, 231, 217, 0.78) !important;
}

.jubo-groups-final__grid {
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.jubo-groups-final__content,
.jubo-groups-form-box {
	border-color: rgba(218, 217, 155, 0.18);
	border-radius: var(--jubo-radius-lg);
	background: linear-gradient(135deg, rgba(231, 231, 217, 0.08), rgba(183, 137, 10, 0.08)), rgba(231, 231, 217, 0.04);
	box-shadow: var(--jubo-shadow-dark);
}

.jubo-groups-final__content {
	padding: clamp(30px, 6vw, 66px);
}

.jubo-groups-final__microcopy {
	margin-bottom: 0;
	padding-top: 18px;
	border-top: 1px solid rgba(218, 217, 155, 0.18);
	font-size: clamp(14.5px, 0.72vw, 15.5px) !important;
	line-height: 1.55 !important;
}

.jubo-groups-final__image {
	margin-top: 24px;
	border: 1px solid rgba(218, 217, 155, 0.18);
	border-radius: var(--jubo-radius-md);
	overflow: hidden;
}

.jubo-groups-final__image img {
	aspect-ratio: 16 / 10;
}

.jubo-groups-form-box {
	padding: clamp(24px, 4vw, 38px);
}

.jubo-groups-admin-note {
	margin-bottom: 0;
	padding: 16px;
	border: 1px dashed rgba(218, 217, 155, 0.32);
	border-radius: 14px;
	background: rgba(218, 217, 155, 0.1);
	color: rgba(231, 231, 217, 0.78) !important;
	font-size: 0.94rem !important;
}

/* JuBo eigenes Anfrageformular */
.jubo-groups-request-form {
	display: grid;
	gap: 24px;
}

.jubo-groups-form-intro {
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(218, 217, 155, 0.18);
}

.jubo-groups-form-intro h3,
.jubo-groups-form-notice h3 {
	margin-bottom: 12px;
}

.jubo-groups-form-intro p,
.jubo-groups-form-notice p {
	margin-bottom: 0;
	font-size: clamp(15.75px, 0.85vw, 16.5px) !important;
	line-height: 1.65 !important;
}

.jubo-groups-form-notice {
	padding: clamp(22px, 5vw, 30px);
	border-color: rgba(218, 217, 155, 0.18);
	background: rgba(231, 231, 217, 0.06);
	box-shadow: none;
}

.jubo-groups-form-notice--success {
	background: rgba(218, 217, 155, 0.1);
}

.jubo-groups-form-notice--error {
	border-color: rgba(183, 137, 10, 0.4);
	background: rgba(111, 81, 19, 0.14);
}

.jubo-groups-form {
	display: grid;
	gap: 22px;
}

.jubo-groups-form-section {
	display: grid;
	gap: 18px;
	min-width: 0;
	margin: 0;
	padding: clamp(34px, 4.6vw, 42px) clamp(24px, 4vw, 30px) clamp(24px, 4vw, 30px);
	border-color: rgba(218, 217, 155, 0.16);
	background: rgba(231, 231, 217, 0.06);
	box-shadow: none;
}

.jubo-groups-form-section legend {
	float: left;
	display: block;
	width: 100%;
	margin: 0 0 14px;
	padding: 0 0 5px;
	border-bottom: 1px solid rgba(218, 217, 155, 0.24);
	color: var(--jubo-deco);
	font-family: inherit;
	font-size: clamp(13px, 0.75vw, 14.5px);
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.12;
	text-transform: uppercase;
	transform: translateY(4px);
}

.jubo-groups-form-section > *:not(legend) {
	clear: both;
}

.jubo-groups-form-grid {
	column-gap: 16px;
	row-gap: 20px;
}

.jubo-groups-form-field {
	display: grid;
	gap: 9px;
	align-content: start;
}

.jubo-groups-form-field label,
.jubo-groups-form-label {
	color: var(--jubo-white-rock);
	font-family: inherit;
	font-size: clamp(15px, 0.82vw, 16px);
	font-weight: 800;
	line-height: 1.3;
}

.jubo-groups-form-field label span,
.jubo-groups-form-label span {
	color: var(--jubo-deco);
}

.jubo-groups-form-box .jubo-groups-form input,
.jubo-groups-form-box .jubo-groups-form select,
.jubo-groups-form-box .jubo-groups-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid rgba(218, 217, 155, 0.2) !important;
	border-radius: 15px !important;
	background: rgba(231, 231, 217, 0.1) !important;
	color: var(--jubo-white-rock) !important;
	font-family: inherit;
	font-size: clamp(15.5px, 0.82vw, 16px);
	line-height: 1.35;
	box-shadow: none !important;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.jubo-groups-form-box .jubo-groups-form input::placeholder,
.jubo-groups-form-box .jubo-groups-form textarea::placeholder {
	color: rgba(231, 231, 217, 0.52);
}

.jubo-groups-form-box .jubo-groups-form select {
	appearance: auto;
}

.jubo-groups-form-box .jubo-groups-form textarea {
	min-height: 150px;
	resize: vertical;
}

.jubo-groups-form-box .jubo-groups-form input:focus,
.jubo-groups-form-box .jubo-groups-form select:focus,
.jubo-groups-form-box .jubo-groups-form textarea:focus {
	border-color: rgba(218, 217, 155, 0.66) !important;
	background: rgba(231, 231, 217, 0.14) !important;
	box-shadow: 0 0 0 4px rgba(183, 137, 10, 0.16) !important;
}

.jubo-groups-form-microcopy {
	margin: 0;
	color: rgba(231, 231, 217, 0.62) !important;
	font-size: clamp(13.5px, 0.72vw, 14.5px) !important;
	line-height: 1.52 !important;
}

.jubo-groups-choice-grid {
	gap: 12px;
}

.jubo-groups-choice,
.jubo-groups-consent {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(218, 217, 155, 0.16);
	border-radius: 15px;
	background: rgba(231, 231, 217, 0.07);
	cursor: pointer;
}

.jubo-groups-choice {
	align-items: center;
}

.jubo-groups-consent {
	align-items: start;
}

.jubo-groups-choice input,
.jubo-groups-consent input {
	position: relative;
	display: grid;
	width: 20px !important;
	min-width: 20px;
	height: 20px;
	min-height: 20px !important;
	margin: 0;
	place-content: center;
	border: 1.5px solid rgba(218, 217, 155, 0.46) !important;
	border-radius: 999px !important;
	background: rgba(231, 231, 217, 0.08) !important;
	box-shadow: inset 0 0 0 2px rgba(39, 33, 25, 0.08) !important;
	accent-color: var(--jubo-dark-goldenrod);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.jubo-groups-choice input:checked,
.jubo-groups-consent input:checked {
	border-color: var(--jubo-dark-goldenrod) !important;
	background: var(--jubo-dark-goldenrod) !important;
	box-shadow: 0 0 0 3px rgba(183, 137, 10, 0.18), inset 0 0 0 1px rgba(244, 221, 48, 0.20) !important;
}

.jubo-groups-choice input:checked::after,
.jubo-groups-consent input:checked::after {
	content: "✓";
	display: block;
	color: var(--jubo-white-rock);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	transform: translateY(-0.5px);
}

.jubo-groups-choice input:focus-visible,
.jubo-groups-consent input:focus-visible {
	outline: 2px solid rgba(218, 217, 155, 0.72);
	outline-offset: 3px;
}

.jubo-groups-consent input {
	margin-top: 1px;
}

.jubo-groups-choice span,
.jubo-groups-consent span {
	color: rgba(231, 231, 217, 0.78);
	font-size: clamp(14.75px, 0.78vw, 15.75px);
	font-weight: 650;
	line-height: 1.38;
}

.jubo-groups-consent span {
	font-weight: 600;
}

.jubo-groups-form-submit,
.jubo-groups-form-box input[type="submit"],
.jubo-groups-form-box button[type="submit"] {
	position: relative;
	display: inline-flex;
	width: 100%;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 15px 24px;
	border: 0 !important;
	border-radius: 999px !important;
	color: var(--jubo-white-rock) !important;
	background: var(--jubo-dark-goldenrod) !important;
	box-shadow: 0 18px 38px rgba(111, 81, 19, 0.28), 0 0 0 1px rgba(244, 221, 48, 0.08);
	font-family: inherit;
	font-size: clamp(15.5px, 0.82vw, 17px);
	font-weight: 800 !important;
	letter-spacing: 0.065em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease;
}

.jubo-groups-form-submit:hover,
.jubo-groups-form-submit:focus-visible,
.jubo-groups-form-box input[type="submit"]:hover,
.jubo-groups-form-box input[type="submit"]:focus-visible,
.jubo-groups-form-box button[type="submit"]:hover,
.jubo-groups-form-box button[type="submit"]:focus-visible {
	background: linear-gradient(135deg, var(--jubo-dark-goldenrod), var(--jubo-raw-umber)) !important;
	box-shadow: 0 24px 54px rgba(111, 81, 19, 0.36), 0 0 0 1px rgba(244, 221, 48, 0.22), 0 0 34px rgba(183, 137, 10, 0.2);
	transform: translateY(-4px) scale(1.018);
}

.jubo-groups-form-field.has-error input,
.jubo-groups-form-field.has-error select,
.jubo-groups-form-field.has-error textarea,
.jubo-groups-form-field.has-error .jubo-groups-choice,
.jubo-groups-form-field.has-error .jubo-groups-consent {
	border-color: rgba(218, 217, 155, 0.7) !important;
	box-shadow: 0 0 0 4px rgba(183, 137, 10, 0.16) !important;
}

.jubo-groups-field-error {
	margin: 0;
	color: var(--jubo-deco) !important;
	font-size: 0.86rem !important;
	font-weight: 800;
	line-height: 1.4 !important;
}

.jubo-groups-conditional.is-hidden,
.jubo-groups-honeypot {
	display: none !important;
}

/* Layout Breakpoints */
@media (min-width: 640px) {
	.jubo-groups-card-grid--occasions,
	.jubo-groups-card-grid--promise,
	.jubo-groups-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 720px) {
	.jubo-groups-form-grid--two,
	.jubo-groups-choice-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 860px) {
	.jubo-groups-hero__grid {
		grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
	}

	.jubo-groups-hero__visual,
	.jubo-groups-hero__visual img,
	.jubo-groups-hero__placeholder {
		min-height: clamp(430px, 43vw, 560px);
	}

	.jubo-groups-format-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jubo-groups-format.has-image {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.jubo-groups-faq__grid {
		grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
	}

	.jubo-groups-final__grid {
		grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
	}
}

@media (min-width: 1080px) {
	.jubo-groups-card-grid--occasions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jubo-groups-card-grid--promise,
	.jubo-groups-process-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.jubo-groups-decision-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.jubo-groups-decision-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.jubo-groups-page {
		font-size: 15px;
		line-height: 1.62;
	}

	.jubo-groups-shell {
		width: min(calc(100% - clamp(36px, 9vw, 54px)), var(--jubo-container));
	}

	.jubo-groups-section,
	.jubo-groups-hero,
	.jubo-groups-final {
		padding: 54px 0;
	}

	.jubo-groups-page h1 {
		margin-bottom: 22px;
		font-size: clamp(38px, 10vw, 50px);
		line-height: 1.03;
	}

	.jubo-groups-page h2 {
		margin-bottom: 20px;
		font-size: clamp(28px, 7.6vw, 38px);
		line-height: 1.04;
	}

	.jubo-groups-page h3 {
		margin-bottom: 12px;
		font-size: clamp(20px, 5.3vw, 23px);
		line-height: 1.2;
	}

	.jubo-groups-page p,
	.jubo-groups-page li {
		font-size: clamp(15px, 3.6vw, 15.75px);
		line-height: 1.64;
	}

	.jubo-groups-eyebrow {
		margin-bottom: 15px;
		font-size: clamp(13px, 3.2vw, 14px) !important;
		letter-spacing: 0.08em;
	}

	.jubo-groups-section-head {
		margin-bottom: 28px;
	}

	.jubo-groups-section-head--center {
		text-align: left;
	}

	.jubo-groups-section-head > p:not(.jubo-groups-eyebrow),
	.jubo-groups-hero__subheadline {
		font-size: clamp(15.25px, 3.8vw, 16px) !important;
		line-height: 1.62 !important;
	}

	.jubo-groups-card__body p,
	.jubo-groups-mini-card p,
	.jubo-groups-process-step p,
	.jubo-groups-decision-card p,
	.jubo-groups-format__content p,
	.jubo-groups-faq-item p {
		font-size: clamp(15px, 3.6vw, 15.75px);
		line-height: 1.66;
	}

	.jubo-groups-chip,
	.jubo-groups-number,
	.jubo-groups-process-step span {
		font-size: clamp(13px, 3.2vw, 14px);
		letter-spacing: 0.08em;
		line-height: 1.35;
	}

	.jubo-groups-textlink {
		font-size: clamp(13.25px, 3.3vw, 14.5px);
		letter-spacing: 0.07em;
		line-height: 1.35;
	}

	.jubo-groups-actions {
		display: grid;
	}

	.jubo-groups-button {
		width: 100%;
		min-height: 52px;
		padding: 15px 22px;
		font-size: clamp(15px, 3.8vw, 16px);
		letter-spacing: 0.06em;
	}

	.jubo-groups-hero__visual,
	.jubo-groups-hero__visual img,
	.jubo-groups-hero__placeholder {
		min-height: 260px;
	}

	.jubo-groups-format__image {
		aspect-ratio: 16 / 9;
	}

	.jubo-groups-final__content,
	.jubo-groups-form-box,
	.jubo-groups-decision-panel {
		padding: 24px 20px;
		border-radius: 24px;
	}
}

@media (max-width: 520px) {
	.jubo-groups-hero__trustline {
		border-radius: 16px;
	}

	.jubo-groups-form-section {
		gap: 16px;
		padding: 32px 16px 20px;
	}

	.jubo-groups-form-section legend {
		margin-bottom: 12px;
		padding-bottom: 5px;
		line-height: 1.1;
		transform: translateY(3px);
	}

	.jubo-groups-form-grid {
		row-gap: 18px;
	}

	.jubo-groups-choice,
	.jubo-groups-consent {
		grid-template-columns: 22px minmax(0, 1fr);
		gap: 12px;
		padding: 13px 14px;
	}
}

@media (max-width: 480px) {
	.jubo-groups-shell {
		width: min(calc(100% - 36px), var(--jubo-container));
	}

	.jubo-groups-page h1 {
		font-size: clamp(36px, 9.8vw, 44px);
	}

	.jubo-groups-page h2 {
		font-size: clamp(28px, 7.6vw, 34px);
	}

	.jubo-groups-section-head > p:not(.jubo-groups-eyebrow),
	.jubo-groups-hero__subheadline,
	.jubo-groups-hero__text {
		font-size: 15.25px !important;
	}

	.jubo-groups-card__body p,
	.jubo-groups-mini-card p,
	.jubo-groups-process-step p,
	.jubo-groups-decision-card p,
	.jubo-groups-format__content p,
	.jubo-groups-faq-item p {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jubo-groups-page *,
	.jubo-groups-page *::before,
	.jubo-groups-page *::after {
		transition: none !important;
	}

	.jubo-groups-button::after {
		display: none;
	}
}

/* =========================================================
   Patch 05 – finales Formular-Fixing
   Ziel: Keine nativen Fieldset/Legend-Sonderpositionen mehr,
   keine doppelten Browser-Haken bei Checkboxen.
   ========================================================= */

.jubo-groups-form-section {
    display: grid !important;
    gap: 18px !important;
    padding: clamp(24px, 4vw, 30px) !important;
    overflow: visible;
}

.jubo-groups-form-section legend {
    display: none !important;
}

.jubo-groups-form-section-title {
    display: block;
    width: 100%;
    margin: 0 0 8px !important;
    padding: 0 0 6px !important;
    border-bottom: 1px solid rgba(218, 217, 155, 0.28);
    color: var(--jubo-deco);
    font-family: inherit;
    font-size: clamp(13px, 0.76vw, 14.5px);
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.05;
    text-transform: uppercase;
    transform: none !important;
    clear: none !important;
}

.jubo-groups-form-section > *:not(.jubo-groups-form-section-title) {
    clear: none !important;
}

.jubo-groups-form-section-title + .jubo-groups-form-grid,
.jubo-groups-form-section-title + .jubo-groups-form-field,
.jubo-groups-form-section-title + p,
.jubo-groups-form-section-title + select,
.jubo-groups-form-section-title + div {
    margin-top: 0 !important;
}

.jubo-groups-form-field {
    gap: 8px !important;
}

.jubo-groups-form-grid {
    row-gap: 18px !important;
}

.jubo-groups-choice,
.jubo-groups-consent {
    position: relative;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    align-items: center !important;
    overflow: visible;
}

.jubo-groups-consent {
    align-items: start !important;
}

.jubo-groups-choice input,
.jubo-groups-consent input {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    z-index: 3;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transform: translateY(-50%) !important;
}

.jubo-groups-consent input {
    top: 14px !important;
    transform: none !important;
}

.jubo-groups-choice input::after,
.jubo-groups-consent input::after {
    content: none !important;
    display: none !important;
}

.jubo-groups-choice::before,
.jubo-groups-consent::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(218, 217, 155, 0.52);
    border-radius: 999px;
    background: rgba(231, 231, 217, 0.08);
    box-shadow: inset 0 0 0 2px rgba(39, 33, 25, 0.08);
    justify-self: center;
    align-self: center;
    pointer-events: none;
}

.jubo-groups-consent::before {
    align-self: start;
    margin-top: 1px;
}

.jubo-groups-choice::after,
.jubo-groups-consent::after {
    content: "✓";
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
    color: var(--jubo-white-rock);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
    opacity: 0;
    transform: none !important;
    justify-self: center;
    align-self: center;
    pointer-events: none;
}

.jubo-groups-consent::after {
    align-self: start;
    margin-top: 1px;
}

.jubo-groups-choice:has(input:checked)::before,
.jubo-groups-consent:has(input:checked)::before {
    border-color: var(--jubo-dark-goldenrod);
    background: var(--jubo-dark-goldenrod);
    box-shadow: 0 0 0 3px rgba(183, 137, 10, 0.18), inset 0 0 0 1px rgba(244, 221, 48, 0.20);
}

.jubo-groups-choice:has(input:checked)::after,
.jubo-groups-consent:has(input:checked)::after {
    opacity: 1;
}

.jubo-groups-choice span,
.jubo-groups-consent span {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.jubo-groups-consent span {
    align-self: start;
}

.jubo-groups-choice:focus-within,
.jubo-groups-consent:focus-within {
    outline: 2px solid rgba(218, 217, 155, 0.62);
    outline-offset: 3px;
}

@media (max-width: 520px) {
    .jubo-groups-form-section {
        gap: 16px !important;
        padding: 22px 16px 20px !important;
    }

    .jubo-groups-form-section-title {
        margin-bottom: 7px !important;
        padding-bottom: 6px !important;
    }

    .jubo-groups-choice,
    .jubo-groups-consent {
        grid-template-columns: 22px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        padding: 13px 14px !important;
    }

    .jubo-groups-choice input,
    .jubo-groups-consent input {
        left: 14px !important;
    }
}

