/* C.A.R. Japan-Tourseite – statisch, ohne Build-Schritt.
   Farben und Schrift wie auf thisiscar.de (files/car/css/car.scss). */

@font-face {
	font-family: "car";
	src: url("/files/car/font/car.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-text: #000;
	--color-accent: #0156c8;
	--color-button: #264a8a;
	--color-mark: rgba(251, 255, 250, 0.92);
	--color-night: #0b1033;
	--color-button-text: #fff;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-12: 3rem;

	--measure: 42rem;

	/* "car" deckt nur lateinische Zeichen ab, Japanisch fällt auf die Systemschrift zurück. */
	--font: "car", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo,
		"Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 0.04em;
	color: var(--color-text);
	background: var(--color-night);
}

/* Fester Hintergrund als eigenes Element: background-attachment: fixed funktioniert in iOS Safari nicht. */
.backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: var(--color-night) url("img/bg.jpg") center / cover no-repeat;
}

.backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(11, 16, 51, 0.3);
}

.page {
	width: 100%;
	max-width: var(--measure);
	margin: 0 auto;
	padding: var(--space-8) var(--space-4) var(--space-12);
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

h1,
h2,
p {
	margin: 0;
	font-weight: normal;
}

a {
	color: var(--color-accent);
}

:focus-visible {
	outline: 2px solid var(--color-button-text);
	outline-offset: 2px;
}

/* Weiße Textfelder wie auf thisiscar.de */
.mark {
	background: var(--color-mark);
	padding: 0.1em 0.35em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.label {
	display: inline-block;
	margin-bottom: var(--space-3);
	padding: 0.1em 0.45em;
	background: var(--color-mark);
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nowrap {
	white-space: nowrap;
}

.text + .text {
	margin-top: var(--space-3);
}

.text--en {
	font-size: 0.875rem;
	line-height: 1.7;
}

/* Kopfbereich */
.hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-2);
	padding-top: var(--space-6);
}

.hero__title {
	font-size: clamp(1.75rem, 8vw, 3rem);
	line-height: 1.35;
}

.hero__line {
	font-size: 1.125rem;
}

.hero__line--small {
	font-size: 1rem;
}

.hero__cta {
	margin-top: var(--space-4);
}

/* Bandfotos */
.band-photo {
	width: 100%;
	margin: var(--space-6) 0 0;
}

.band-photo__image {
	display: block;
	width: 100%;
	height: auto;
}

.band-photo__credit {
	margin-top: var(--space-2);
	font-size: 0.8125rem;
}

/* Knöpfe */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.9);
	background: var(--color-button);
	color: var(--color-button-text);
	text-decoration: none;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-align: center;
}

.button:hover,
.button:focus-visible {
	background: var(--color-accent);
}

.button--small {
	min-height: 2.25rem;
	padding: 0.25rem 1rem;
	font-size: 0.875rem;
}

.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-4);
}

/* Termine */
.shows {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-2);
}

.show {
	display: grid;
	grid-template-columns: 5.75rem 1fr;
	gap: 0 var(--space-3);
	align-items: baseline;
	padding: var(--space-3) var(--space-4);
	background: var(--color-mark);
}

.show__date {
	font-size: 1.25rem;
	white-space: nowrap;
}

.show__day {
	font-size: 0.875rem;
}

.show__city {
	font-size: 1.0625rem;
}

.show__venue {
	display: block;
	letter-spacing: 0.08em;
}

.show__ticket {
	grid-column: 2;
	font-size: 0.8125rem;
	color: #444;
}

@media (min-width: 40rem) {
	.show {
		grid-template-columns: 6.5rem 1fr auto;
		align-items: center;
	}

	.show__ticket {
		grid-column: auto;
		text-align: right;
	}
}

/* Album */
.album {
	display: grid;
	gap: var(--space-4);
}

.album__cover {
	display: block;
	width: 100%;
	max-width: 22rem;
	height: auto;
}

@media (min-width: 40rem) {
	.album {
		grid-template-columns: 14rem 1fr;
		align-items: start;
	}
}

/* Mitglieder */
.members {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-1);
}

/* Fußbereich */
.footer {
	display: grid;
	gap: var(--space-3);
	font-size: 0.875rem;
}

.footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-3);
}

.footer__links a {
	text-decoration: none;
}

.footer__links a:hover,
.footer__links a:focus-visible {
	text-decoration: underline;
}

.footer__links--legal {
	font-size: 0.8125rem;
}
