/*
	/immobilie-inserieren — the seller portal's shop window
	----
	Loaded only on that page (see listPropertyStylesheet in Web/View/Layout.hs).
	Consumes the --ti-* tokens from app.css.
*/

.sell-page {
	background: var(--ti-stone);
	padding: 0 1rem 4rem;
}

.sell-page__inner {
	max-width: 62rem;
	margin: 0 auto;
}

.sell-breadcrumb {
	padding: 1.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--ti-muted);
}

.sell-breadcrumb a {
	color: var(--ti-muted);
}

/* Hero */

.sell-hero {
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: 18px;
	padding: 3rem 2.5rem;
	margin: 1rem 0 2.5rem;
}

.sell-hero__kicker {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ti-gold);
	margin: 0 0 0.75rem;
}

.sell-hero__title {
	font-family: var(--ti-serif);
	font-size: 2.75rem;
	line-height: 1.15;
	font-weight: 600;
	margin: 0 0 1rem;
	max-width: 20ch;
}

.sell-hero__lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ti-ink-2);
	max-width: 60ch;
	margin: 0 0 1.75rem;
}

.sell-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sell-btn {
	display: inline-block;
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.sell-btn--primary {
	background: var(--bs-primary);
	color: #fff;
}

.sell-btn--primary:hover {
	background: var(--bs-primary-dark);
	color: #fff;
}

.sell-btn--ghost {
	border-color: var(--ti-line-strong);
	color: var(--ti-ink);
}

.sell-btn--ghost:hover {
	background: var(--ti-stone);
	color: var(--ti-ink);
}

.sell-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 1rem;
	margin: 2.25rem 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--ti-line);
}

.sell-fact__label {
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ti-muted);
	font-weight: 500;
}

.sell-fact__value {
	font-family: var(--ti-serif);
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0.15rem 0 0;
}

/* Sections */

.sell-section {
	margin-bottom: 3rem;
}

.sell-section__title {
	font-family: var(--ti-serif);
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0 0 1.25rem;
}

.sell-section__lead {
	color: var(--ti-ink-2);
	max-width: 60ch;
	margin: -0.5rem 0 1.25rem;
}

.sell-steps {
	list-style: none;
	counter-reset: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1rem;
}

.sell-step {
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: 14px;
	padding: 1.5rem;
}

.sell-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--ti-brand-tint);
	color: var(--bs-primary-dark);
	font-family: var(--ti-serif);
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.sell-step__title {
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.sell-step p {
	margin: 0;
	color: var(--ti-ink-2);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.sell-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1rem;
}

.sell-card {
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: 14px;
	padding: 1.4rem;
}

.sell-card__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.sell-card__body {
	margin: 0;
	color: var(--ti-ink-2);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.sell-types {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.5rem 1.5rem;
}

.sell-types li {
	position: relative;
	padding-left: 1.35rem;
	color: var(--ti-ink-2);
}

.sell-types li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--ti-gold);
}

/* FAQ */

.sell-faq {
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: 14px;
	overflow: hidden;
}

.sell-faq__item + .sell-faq__item {
	border-top: 1px solid var(--ti-line);
}

.sell-faq__question {
	cursor: pointer;
	padding: 1rem 1.4rem;
	font-weight: 600;
	list-style: none;
}

.sell-faq__question::-webkit-details-marker {
	display: none;
}

.sell-faq__question::after {
	content: "+";
	float: right;
	color: var(--ti-muted);
	font-weight: 400;
}

.sell-faq__item[open] .sell-faq__question::after {
	content: "–";
}

.sell-faq__answer {
	margin: 0;
	padding: 0 1.4rem 1.25rem;
	color: var(--ti-ink-2);
	line-height: 1.65;
	max-width: 70ch;
}

/* Closing call to action */

.sell-cta {
	background: var(--ti-ink);
	color: #fff;
	border-radius: 18px;
	padding: 2.5rem;
	text-align: center;
}

.sell-cta__title {
	font-family: var(--ti-serif);
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0 0 0.6rem;
}

.sell-cta__body {
	color: rgba(255, 255, 255, 0.78);
	max-width: 52ch;
	margin: 0 auto 1.5rem;
}

@media (max-width: 767px) {
	.sell-hero {
		padding: 2rem 1.25rem;
	}

	.sell-hero__title {
		font-size: 2rem;
	}

	.sell-cta {
		padding: 2rem 1.25rem;
	}
}
