/* Städtetrip Quiz – Frontend Styles */

.stq-wrap {
	max-width: 640px;
	margin: 2rem auto;
	padding: 2rem;
	border: 1px solid #e6e6e6;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 4px 24px rgba( 0, 0, 0, 0.06 );
	font-family: inherit;
	text-align: center;
	box-sizing: border-box;
}

.stq-question {
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0 0 1.5rem;
	color: #1a1a1a;
}

.stq-answers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.stq-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.85rem 1.75rem;
	border-radius: 10px;
	background: #2563eb;
	color: #ffffff;
	transition: transform 0.12s ease, background 0.18s ease, box-shadow 0.18s ease;
	min-width: 140px;
}

.stq-btn:hover {
	background: #1d4ed8;
	transform: translateY( -1px );
	box-shadow: 0 4px 14px rgba( 37, 99, 235, 0.35 );
}

.stq-btn:active {
	transform: translateY( 0 );
}

.stq-btn:focus-visible {
	outline: 3px solid rgba( 37, 99, 235, 0.4 );
	outline-offset: 2px;
}

/* Ergebnis */
.stq-result {
	animation: stq-fade 0.35s ease;
}

@keyframes stq-fade {
	from { opacity: 0; transform: translateY( 8px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

.stq-city {
	text-align: left;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #fafafa;
}

.stq-city-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
}

.stq-city-body {
	padding: 1.25rem 1.5rem;
}

.stq-city-name {
	margin: 0 0 0.5rem;
	font-size: 1.6rem;
	color: #1a1a1a;
}

.stq-city-desc {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #444;
}

.stq-intro-text {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #1a1a1a;
}

.stq-no-image {
	margin: 0 0 1.25rem;
}

.stq-no-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid #ececec;
}

.stq-no-text {
	font-size: 1.35rem;
	line-height: 1.6;
	font-weight: 600;
	color: #1a1a1a;
	margin: 1rem 0 1.75rem;
}

.stq-restart {
	background: #6b7280;
	min-width: 120px;
}

.stq-restart:hover {
	background: #4b5563;
	box-shadow: 0 4px 14px rgba( 107, 114, 128, 0.35 );
}

/* Mobile */
@media ( max-width: 520px ) {
	.stq-wrap {
		padding: 1.5rem;
		margin: 1rem auto;
	}
	.stq-question {
		font-size: 1.3rem;
	}
	.stq-btn {
		width: 100%;
	}
}
