/* ============================================================
   Block: landfair/seminaranzeige – Frontend
   1:1-Optik des Prototyps (Bricolage + Hanken Grotesk).
   ============================================================ */

.sma-root {
	--sma-bg: #f4f2ec;
	--sma-text: #23261f;
	--sma-text2: #585c50;
	--sma-text3: #6d7164;
	--sma-text4: #3a3e34;
	--sma-green: #2f6b4d;
	--sma-green-dark: #244f3a;
	--sma-green-soft: #e6efe6;
	--sma-hover: #2f6b4d;
	--sma-ochre: #c07b33;
	--sma-warn: #b4471f;
	--sma-line: rgba(35, 38, 31, 0.09);
	--sma-line2: rgba(35, 38, 31, 0.1);

	box-sizing: border-box;
	background: var(--sma-bg);
	color: var(--sma-text);
	font-family: "Hanken Grotesk", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

.sma-root *,
.sma-root *::before,
.sma-root *::after {
	box-sizing: border-box;
}

.sma-root h1,
.sma-root h2,
.sma-root h3,
.sma-root h4 {
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	margin: 0;
}

.sma-root a {
	color: var(--sma-green);
	text-decoration: none;
}
.sma-root a:hover {
	color: var(--sma-green-dark);
}

.sma-root input,
.sma-root textarea,
.sma-root select,
.sma-root button {
	font-family: inherit;
}
.sma-root ::placeholder {
	color: #a3a79a;
}

.sma-view {
	min-height: 60vh;
	animation: sma-fade 0.4s ease both;
}
@keyframes sma-fade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ===================== ÜBERSICHT ===================== */

.sma-overview {
	max-width: 1160px;
	margin: 0 auto;
	padding: 64px 28px 88px;
}

.sma-intro {
	max-width: 640px;
	margin-bottom: 44px;
}

.sma-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sma-green);
	margin-bottom: 16px;
}
.sma-eyebrow-line {
	width: 22px;
	height: 2px;
	background: var(--sma-ochre);
	display: inline-block;
}

.sma-h1 {
	font-size: 46px;
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
}
.sma-lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--sma-text2);
	margin: 0;
}

.sma-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 26px;
}

.sma-empty {
	color: var(--sma-text3);
	font-size: 16px;
	padding: 40px 0;
}

.sma-card {
	background: #fff;
	border: 1px solid var(--sma-line);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	text-align: left;
	padding: 0;
	font: inherit;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	box-shadow: 0 1px 2px rgba(35, 38, 31, 0.04);
}
.sma-card:hover,
.sma-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(35, 38, 31, 0.12);
	border-color: var(--sma-hover);
	border-color: color-mix(in srgb, var(--sma-hover) 45%, transparent);
	outline: none;
}

.sma-card-media {
	position: relative;
	height: 158px;
	background-color: var(--sma-green-soft);
	background-image: repeating-linear-gradient(
		135deg,
		rgba(47, 107, 77, 0.1) 0 12px,
		rgba(47, 107, 77, 0) 12px 24px
	);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.sma-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.sma-card-label {
	font-family: ui-monospace, Menlo, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(47, 107, 77, 0.55);
	text-transform: uppercase;
}
.sma-badge {
	font-size: 12px;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 999px;
}
.sma-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
}

.sma-card-body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.sma-card-title {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}
.sma-card-sub {
	font-size: 14px;
	line-height: 1.45;
	color: var(--sma-text2);
	margin: 0 0 14px;
	font-weight: 500;
}
.sma-card-kurz {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--sma-text3);
	margin: 0 0 18px;
}
.sma-card-meta {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid rgba(35, 38, 31, 0.08);
}
.sma-meta-row {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: var(--sma-text4);
	font-weight: 500;
}
.sma-meta-row.is-muted {
	color: var(--sma-text3);
	font-weight: 400;
}
.sma-meta-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex: none;
}
.sma-meta-dot.is-ochre {
	background: var(--sma-ochre);
}
.sma-meta-dot.is-green {
	background: var(--sma-green);
}
.sma-card-cta {
	margin-top: 18px;
	text-align: center;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sma-green);
	padding: 11px;
	border: 1.5px solid rgba(47, 107, 77, 0.28);
	border-radius: 11px;
	transition: background 0.15s ease;
}
.sma-card:hover .sma-card-cta,
.sma-card:focus-visible .sma-card-cta {
	background: var(--sma-green-soft);
	background: color-mix(in srgb, var(--sma-hover) 14%, transparent);
}

/* ===================== DETAIL ===================== */

.sma-detail {
	max-width: 1080px;
	margin: 0 auto;
	padding: 36px 28px 96px;
}
.sma-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sma-green);
	cursor: pointer;
	margin-bottom: 30px;
	background: none;
	border: none;
	padding: 0;
}
.sma-back:hover {
	color: var(--sma-green-dark);
}

.sma-detail-head {
	margin-bottom: 36px;
}
.sma-detail-badge {
	display: inline-block;
	margin-bottom: 16px;
}
.sma-h1-detail {
	font-size: 40px;
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
	max-width: 760px;
}
.sma-detail-sub {
	font-size: 20px;
	line-height: 1.4;
	color: var(--sma-text2);
	margin: 0 0 22px;
	max-width: 720px;
	font-weight: 500;
}
.sma-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sma-fact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--sma-text4);
	background: #fff;
	border: 1px solid var(--sma-line2);
	padding: 8px 14px;
	border-radius: 10px;
}
.sma-fact b {
	color: var(--sma-green);
	font-weight: 600;
}

.sma-detail-grid {
	display: grid;
	grid-template-columns: 1fr 372px;
	gap: 44px;
	align-items: start;
}

.sma-section {
	margin-bottom: 40px;
}
.sma-h2 {
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sma-green);
	margin-bottom: 18px;
}
.sma-body-p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--sma-text4);
	margin: 0 0 16px;
}
.sma-body-p:last-child {
	margin-bottom: 0;
}

.sma-inhalte {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.sma-inhalt {
	display: flex;
	gap: 13px;
	align-items: flex-start;
}
.sma-check {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--sma-green-soft);
	color: var(--sma-green);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	margin-top: 1px;
}
.sma-inhalt span:last-child {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--sma-text4);
}

.sma-infocards {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.sma-infocard {
	flex: 1;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--sma-line2);
	border-radius: 14px;
	padding: 18px 20px;
}
.sma-infocard-title {
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 5px;
}
.sma-infocard-text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--sma-text3);
}

/* Sidebar */
.sma-aside {
	position: sticky;
	top: 24px;
	background: #fff;
	border: 1px solid var(--sma-line2);
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(35, 38, 31, 0.06);
}
.sma-aside-title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 4px;
}
.sma-aside-sub {
	font-size: 13.5px;
	color: var(--sma-text3);
	margin: 0 0 18px;
}
.sma-termine-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sma-green);
	margin-bottom: 10px;
}
.sma-termine {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-bottom: 20px;
}
.sma-termin {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 11px;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 1.5px solid rgba(35, 38, 31, 0.12);
	background: #faf9f5;
	text-align: left;
	width: 100%;
	font: inherit;
	color: inherit;
}
.sma-termin.is-selected {
	border-color: var(--sma-green);
	background: var(--sma-green-soft);
}
.sma-termin-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex: none;
	border: 2px solid rgba(35, 38, 31, 0.28);
	transition: border 0.15s ease;
}
.sma-termin.is-selected .sma-termin-dot {
	border: 5px solid var(--sma-green);
}
.sma-termin-info {
	flex: 1;
}
.sma-termin-datum {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--sma-text);
}
.sma-termin-detail {
	display: block;
	font-size: 12.5px;
	color: var(--sma-text3);
	margin-top: 2px;
}
.sma-termin-plaetze {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--sma-green);
	white-space: nowrap;
}
.sma-termin-plaetze.is-knapp {
	color: var(--sma-warn);
}

.sma-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.sma-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--sma-text4);
}
.sma-field input,
.sma-field textarea {
	font-size: 14px;
	padding: 10px 12px;
	border: 1px solid rgba(35, 38, 31, 0.16);
	border-radius: 9px;
	background: #faf9f5;
	color: var(--sma-text);
	outline: none;
	width: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sma-field input:focus,
.sma-field textarea:focus {
	border-color: var(--sma-green);
	box-shadow: 0 0 0 3px rgba(47, 107, 77, 0.12);
}
.sma-field textarea {
	resize: vertical;
}
.sma-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--sma-text3);
	cursor: pointer;
	margin-top: 2px;
	font-weight: 400;
}
.sma-consent input {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	accent-color: var(--sma-green);
	flex: none;
}
/* Honeypot – vor Nutzern verborgen */
.sma-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sma-error {
	font-size: 12.5px;
	color: var(--sma-warn);
	background: #fbeee6;
	border: 1px solid rgba(180, 71, 31, 0.25);
	padding: 9px 12px;
	border-radius: 9px;
}
.sma-submit {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--sma-green);
	border: none;
	padding: 14px;
	border-radius: 11px;
	cursor: pointer;
	transition: background 0.15s ease;
}
.sma-submit:hover {
	background: var(--sma-green-dark);
}
.sma-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* ===================== BESTÄTIGUNG ===================== */

.sma-confirm {
	max-width: 600px;
	margin: 0 auto;
	padding: 96px 28px;
	text-align: center;
}
.sma-confirm-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--sma-green-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 26px;
}
.sma-confirm-h1 {
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.sma-confirm-text {
	font-size: 17px;
	line-height: 1.6;
	color: var(--sma-text2);
	margin: 0 0 30px;
}
.sma-summary {
	text-align: left;
	background: #fff;
	border: 1px solid var(--sma-line2);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 30px;
}
.sma-summary-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sma-green);
	margin-bottom: 12px;
}
.sma-summary-title {
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 14px;
}
.sma-summary-rows {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14.5px;
	color: var(--sma-text4);
}
.sma-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.sma-summary-row span:first-child {
	color: var(--sma-text3);
}
.sma-summary-row span:last-child {
	font-weight: 600;
	text-align: right;
}
.sma-btn-secondary {
	font-size: 15px;
	font-weight: 600;
	color: var(--sma-green);
	background: #fff;
	border: 1.5px solid rgba(47, 107, 77, 0.3);
	padding: 13px 26px;
	border-radius: 11px;
	cursor: pointer;
	transition: background 0.15s ease;
}
.sma-btn-secondary:hover {
	background: var(--sma-green-soft);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
	.sma-detail-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.sma-aside {
		position: static;
	}
}

@media (max-width: 560px) {
	.sma-overview {
		padding: 40px 18px 64px;
	}
	.sma-detail {
		padding: 28px 18px 72px;
	}
	.sma-h1 {
		font-size: 34px;
	}
	.sma-h1-detail {
		font-size: 30px;
	}
	.sma-detail-sub {
		font-size: 17px;
	}
	.sma-confirm {
		padding: 64px 18px;
	}
}
