/* ---------- Design tokens ---------- */
:root {
	--color-primary: #5b91c7;
	--color-primary-dark: #4275a8;
	--color-primary-light: #e8f0f8;
	--color-text: #2d3436;
	--color-text-muted: #6c7378;
	--color-link: #2563eb;
	--color-link-hover: #1e40af;
	--color-border: #e4e7eb;
	--color-bg: #ffffff;
	--color-bg-subtle: #f7f9fb;

	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container-max: 800px;
	--radius: 6px;
}

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

html, body {
	min-height: 100vh;
}

body {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	margin: 0;
	display: flex;
	flex-direction: column;
}

img {
	max-width: 100%;
	height: auto;
}

/* ---------- Layout ---------- */
.content {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	width: 100%;
}

.main-content {
	flex: 1 0 auto;
	padding-top: 1rem;
	padding-bottom: 2rem;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
	color: var(--color-text);
	line-height: 1.3;
}

h1 {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0.5rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--color-primary);
}

h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-primary-dark);
	margin: 1.75rem 0 0.75rem;
}

h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 1.25rem 0 0.25rem;
}

p {
	margin: 0 0 1rem;
}

hr {
	height: 1px;
	background: var(--color-border);
	border: 0;
	margin: 1.5rem 0;
}

/* ---------- Links ---------- */
a {
	color: var(--color-link);
	text-decoration: none;
}
a:hover {
	color: var(--color-link-hover);
	text-decoration: underline;
}
a:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ---------- Header ---------- */
.header {
	background: var(--color-primary);
	width: 100%;
}
.header > .content {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.header_logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.header_logo:hover {
	text-decoration: none;
}
.header_logo:focus-visible {
	outline-color: #ffffff;
}
.header_logo_icon {
	width: 44px;
	height: 44px;
	color: #ffffff;
	flex-shrink: 0;
}
.header_title {
	color: #ffffff;
	font-weight: 800;
	font-size: 1.625rem;
	letter-spacing: -0.01em;
}
.header_subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	margin-top: 0.25rem;
}

/* ---------- Main menu ---------- */
.main_menu {
	background: var(--color-bg-subtle);
	border-bottom: 1px solid var(--color-border);
}
.main_menu .content {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.main_menu a {
	color: var(--color-text);
	font-size: 0.9375rem;
	padding: 0.5rem 0.875rem;
	border-radius: var(--radius);
	transition: background-color 0.15s, color 0.15s;
}
.main_menu a:hover {
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	text-decoration: none;
}

/* ---------- Page header ---------- */
.page-header {
	margin-top: 0.25rem;
}

/* ---------- Startseite: Bundesland-Gruppierung ---------- */
.bundesland-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 1.25rem 0 2rem;
}
.bundesland-toc a {
	font-size: 0.875rem;
	padding: 0.3rem 0.75rem;
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	border-radius: 999px;
	transition: background-color 0.15s, color 0.15s;
}
.bundesland-toc a:hover {
	background: var(--color-primary);
	color: #ffffff;
	text-decoration: none;
}

.bundesland {
	margin-top: 2rem;
	scroll-margin-top: 1rem;
}
.bundesland h2 {
	margin-top: 0;
}
.city-list {
	column-width: 180px;
	column-gap: 1.5rem;
}
.city-list a {
	display: block;
	padding: 0.25rem 0;
	break-inside: avoid;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
	margin: 0.75rem 0 0.25rem;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}
.breadcrumbs ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
}
.breadcrumbs li + li::before {
	content: "›";
	margin-right: 0.5rem;
	color: var(--color-text-muted);
}
.breadcrumbs a {
	color: var(--color-text-muted);
}
.breadcrumbs a:hover {
	color: var(--color-link);
}
.breadcrumbs [aria-current="page"] {
	color: var(--color-text);
}

/* ---------- Stadt page extras ---------- */
.last-updated {
	color: var(--color-text-muted);
	font-size: 0.875rem;
	font-style: italic;
	margin-top: 2rem;
}

/* ---------- Affiliate ---------- */
/* Sichtbares "*" hinter Affiliate-Links. Klasse absichtlich neutral benannt,
   damit Ad-Blocker-Filterlisten den Link nicht ausblenden. */
.hotel-cta::after {
	content: "*";
	color: var(--color-text-muted);
	margin-left: 2px;
	font-weight: normal;
}

.affiliate-disclaimer {
	color: rgba(255, 255, 255, 0.8);
	font-style: italic;
	margin: 0 0 0.5rem;
}

/* ---------- Footer ---------- */
footer {
	background: var(--color-primary);
	color: #ffffff;
	font-size: 0.9375rem;
	margin-top: 2rem;
	padding: 1.25rem 0 1.5rem;
}
footer .content {
	text-align: center;
}
footer a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.5);
	text-underline-offset: 2px;
}
footer a:hover {
	text-decoration-color: #ffffff;
	color: #ffffff;
}
footer a:focus-visible {
	outline-color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	body {
		font-size: 15px;
	}
	.header_title {
		font-size: 1.375rem;
	}
	.header_subtitle {
		font-size: 0.9375rem;
	}
	.header_logo_icon {
		width: 38px;
		height: 38px;
	}
	h1 {
		font-size: 1.5rem;
	}
	h2 {
		font-size: 1.25rem;
	}
	h3 {
		font-size: 1.0625rem;
	}
}
