/*
 * Groups landing page ([hotrod_groups]) — 1:1 aus dem Claude-Design
 * "Groups.dc.html" portiert (Design-rem ×10 = px; eigenes Dark-Theme,
 * Light via html.theme-light). Chrome (Header/Nav/Footer/Toggle) entfernt —
 * die Site rendert globalen Header/Footer.
 */

.hotrod-groups {
	--or: #FF6B00;
	--or-d: #E65F00;
	--jet: #0B0B0C;
	--asph: #141416;
	--asph2: #1B1B1F;
	--line: #2A2A2E;
	--on: #F4F2EF;
	--mut: #A8A29A;
	--fd: "Oswald", "Arial Narrow", sans-serif;
	--fb: "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.23, 1, .32, 1);
	--bg: var(--jet);
	--surf: var(--asph);
	--surf2: var(--asph2);
	--bd: var(--line);
	--tx: var(--on);
	--mu: var(--mut);
	--hd: #fff;

	/* Full-bleed: das Design ist eine ganzseitige dunkle Fläche. frame.css boxt
	   den the_content — wir brechen auf 100vw aus. */
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	background: var(--bg);
	color: var(--tx);
	font-family: var(--fb);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	position: relative;
	overflow-x: hidden;
}

html.theme-light .hotrod-groups {
	--bg: #fff;
	--surf: #fff;
	--surf2: #F5F5F5;
	--bd: #E2E2E2;
	--tx: #222;
	--mu: #555;
	--hd: #111;
}

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

.hotrod-groups h1,
.hotrod-groups h2,
.hotrod-groups h3 {
	font-family: var(--fd);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: 1;
	font-weight: 700;
	color: var(--hd);
}

.hotrod-groups p {
	margin: 0;
}

.hotrod-groups a {
	color: var(--or);
	text-decoration: none;
}

.hotrod-groups img {
	max-width: 100%;
	display: block;
}

.hotrod-groups :focus-visible {
	outline: 2px solid var(--or);
	outline-offset: 2px;
}

.hg-wrap {
	width: 100%;
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(20px, 12px + 3vw, 42px);
}

/* hero */
.hg-hero {
	text-align: center;
	padding: clamp(50px, 40px + 5vw, 90px) 0 clamp(30px, 20px + 2vw, 44px);
}

.hg-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--fd);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--or);
	margin-bottom: 16px;
}

.hg-eyebrow::before,
.hg-eyebrow::after {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--or);
}

.hg-title {
	font-size: clamp(34px, 20px + 5vw, 62px);
	max-width: 24ch;
	margin-inline: auto;
	text-align: center;
	text-wrap: balance;
}

.hg-title u {
	text-decoration: none;
	position: relative;
	color: var(--or);
}

.hg-underline {
	display: block;
	width: 80px;
	height: 5px;
	background: var(--or);
	margin: 18px auto 0;
}

.hg-sub {
	margin-top: 18px;
	font-size: clamp(17px, 15px + .5vw, 20px);
	color: var(--mu);
	max-width: 52ch;
	margin-inline: auto;
	text-align: center;
}

/* cards */
.hg-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	padding-bottom: clamp(30px, 20px + 2vw, 46px);
}

@media (min-width: 820px) {
	.hg-cards {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
	}
}

.hg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--surf);
	border: 1px solid var(--bd);
	padding: 34px 26px 30px;
	transition: border-color .18s, transform .18s var(--ease), box-shadow .18s var(--ease);
}

.hg-card:hover {
	border-color: var(--or);
	transform: translateY(-4px);
	box-shadow: 10px 10px 0 0 rgba(255, 107, 0, .22);
}

.hg-card--feat {
	border-color: var(--or);
	box-shadow: inset 0 0 0 1px var(--or);
}

.hg-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	font-family: var(--fd);
	font-weight: 600;
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--or);
	background: rgba(255, 107, 0, .14);
	border: 1px solid rgba(255, 107, 0, .4);
	padding: 5px 8px;
}

.hg-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: var(--hd);
	margin-bottom: 16px;
}

.hg-ico svg {
	width: 36px;
	height: 36px;
}

.hg-name {
	font-size: 26px;
	color: var(--or);
}

.hg-tag {
	display: block;
	font-family: var(--fd);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mu);
	margin-top: 6px;
}

.hg-list {
	list-style: none;
	margin: 22px auto 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--bd);
	display: flex;
	flex-direction: column;
	gap: 11px;
	width: fit-content;
	max-width: 100%;
	text-align: left;
}

.hg-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--tx);
	font-size: 15.5px;
	line-height: 1.4;
}

.hg-list svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--or);
	margin-top: 1.5px;
}

/* cta band */
.hg-band {
	background: var(--surf2);
	border-block: 1px solid var(--bd);
	position: relative;
	overflow: hidden;
}

.hg-band::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: repeating-linear-gradient(115deg, var(--or) 0 14px, transparent 14px 26px);
}

.hg-band-in {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	padding: clamp(40px, 30px + 3vw, 64px) 0;
	max-width: 640px;
	margin-inline: auto;
}

.hg-band h2 {
	font-size: clamp(28px, 20px + 3vw, 44px);
}

.hg-band h2 span {
	color: var(--or);
}

.hg-band p {
	color: var(--mu);
	font-size: 17px;
	line-height: 1.55;
	max-width: 48ch;
}

.hg-send {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--fb);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--jet);
	background: var(--or);
	border: 0;
	cursor: pointer;
	padding: 18px 30px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
	transition: background .15s, transform .15s var(--ease);
}

.hg-send:hover {
	background: var(--or-d);
	transform: translateX(3px);
}

.hg-send svg {
	width: 20px;
	height: 20px;
}

/* modal: group request form */
body.grp-lock {
	overflow: hidden;
}

.hg-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(12px, 2vw, 40px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility .25s;
}

.hg-modal.open {
	opacity: 1;
	visibility: visible;
}

.hg-modal-bd {
	position: absolute;
	inset: 0;
	background: rgba(6, 6, 8, .86);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.hg-dialog {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 600px;
	max-height: 94vh;
	overflow-y: auto;
	background: var(--surf);
	border: 1px solid var(--bd);
	box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
	transform: translateY(16px) scale(.99);
	transition: transform .28s var(--ease);
}

.hg-modal.open .hg-dialog {
	transform: none;
}

.hg-dialog-top {
	position: relative;
	padding: 26px 26px 0;
}

.hg-dialog-top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: repeating-linear-gradient(115deg, var(--or) 0 14px, transparent 14px 26px);
}

.hg-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--or);
	color: var(--jet);
	border: 0;
	cursor: pointer;
}

.hg-close:hover {
	background: #fff;
}

.hg-close svg {
	width: 18px;
	height: 18px;
}

.hg-modal-eyebrow {
	font-family: var(--fd);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--or);
}

.hg-modal-title {
	font-size: 28px;
	margin-top: 8px;
}

.hg-modal-lead {
	color: var(--mu);
	font-size: 15px;
	margin-top: 8px;
	line-height: 1.5;
}

.hg-form-body {
	padding: 20px 26px 28px;
}

.hg-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.hg-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hg-field.full {
	grid-column: 1 / -1;
}

.hg-field label {
	font-family: var(--fd);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mu);
}

.hg-field input,
.hg-field select,
.hg-field textarea {
	background: var(--surf2);
	border: 1px solid var(--bd);
	color: var(--hd);
	padding: 12px 14px;
	font-family: var(--fb);
	font-size: 15px;
	border-radius: 0;
}

.hg-field input:focus,
.hg-field select:focus,
.hg-field textarea:focus {
	border-color: var(--or);
	outline: none;
}

/* Honeypot — visually hidden, off-screen, never focusable by tab. */
.hg-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.hg-error {
	grid-column: 1 / -1;
	color: #ff6b6b;
	font-size: 14px;
	line-height: 1.4;
}

.hg-submit {
	grid-column: 1 / -1;
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--fb);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--jet);
	background: var(--or);
	border: 0;
	cursor: pointer;
	padding: 16px 20px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	transition: background .15s, transform .15s var(--ease);
}

.hg-submit:hover {
	background: var(--or-d);
	transform: translateX(3px);
}

.hg-submit:disabled {
	opacity: .6;
	cursor: default;
	transform: none;
}

.hg-note {
	grid-column: 1 / -1;
	font-size: 12.5px;
	color: var(--mu);
	line-height: 1.5;
}

.hg-done {
	display: none;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 40px 26px 44px;
}

/* Success-State: JS setzt .done auf .hg-modal → Formular raus, Danke rein. */
.hg-modal.done .hg-form-body {
	display: none;
}

.hg-modal.done .hg-done {
	display: flex;
}

.hg-done-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: rgba(255, 107, 0, .14);
	color: var(--or);
}

.hg-done-ico svg {
	width: 34px;
	height: 34px;
}

.hg-done h3 {
	font-size: 24px;
}

.hg-done p {
	color: var(--mu);
	font-size: 15.5px;
	max-width: 40ch;
	line-height: 1.55;
}

@media (max-width: 560px) {
	.hg-form {
		grid-template-columns: 1fr;
	}
}
