/* =========================================================
   VasaVita — Praxis für Gefässmedizin
   Stylesheet
   ========================================================= */

:root {
	--color-black: #171717;
	--color-text: #1a1a1a;
	--color-muted: #55585c;
	--color-line: #171717;
	--color-blue: #3360aa;
	--color-red: #e6313b;
	--color-bg: #ffffff;

	--font-base: "aktiv-grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--container-max: 1312px;
	--container-pad: 64px;
	--rail-width: 190px;

	--header-height: 108px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
	overflow-x: hidden;
}

body {
	font-family: var(--font-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	padding-top: var(--header-height);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-blue);
	color: #fff;
	padding: 12px 20px;
	z-index: 999;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-dashed {
	border: 1.5px dashed var(--color-blue);
	border-radius: 999px;
	padding: 16px 32px;
	color: var(--color-text);
}
.btn-dashed:hover,
.btn-dashed:focus-visible {
	background-color: var(--color-blue);
	border-style: solid;
	color: #fff;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--color-line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-height);
}

.logo {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.logo-img {
	height: 88px;
	width: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 40px;
	flex: 1;
	justify-content: flex-end;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 36px;
}

.nav-link {
	font-size: 17px;
	font-weight: 400;
	color: var(--color-text);
	position: relative;
	padding: 4px 0;
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -2px;
	height: 2px;
	background: var(--color-blue);
	transition: right .2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
	right: 0;
}

.nav-cta {
	font-size: 13px;
	padding: 13px 26px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 5px;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--color-black);
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease, width .25s ease;
	width: 26px;
}

.nav-toggle span:nth-child(2) { width: 20px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
	width: 26px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
	width: 26px;
}

/* ---------- Rail / grid system ---------- */
.rail-row {
	display: grid;
	grid-template-columns: var(--rail-width) 1fr;
}

.rail {
	border-right: 1px solid var(--color-line);
}

.rail-content {
	padding: 56px 0 56px 56px;
	min-width: 0;
}

.banded-row {
	border-top: 1px solid var(--color-line);
}

.banded-row--close {
	border-bottom: 1px solid var(--color-line);
}

.split-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-top: 0;
	padding-bottom: 0;
}

.split-col {
	padding: 56px 56px 56px 0;
}

.split-col:first-child {
	border-right: 1px solid var(--color-line);
	padding-right: 56px;
}

.split-2 .split-col:last-child {
	padding-left: 56px;
}

/* ---------- Notice band ---------- */
.notice-band {
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.notice-text {
	font-size: 28px;
	line-height: 1.45;
}

/* ---------- Section titles ---------- */
.section {
	padding-top: 88px;
}

.section-title {
	font-size: 60px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin-bottom: 48px;
}

.eyebrow {
	font-size: 26px;
	color: var(--color-text);
	margin-bottom: 4px;
	font-weight: 400;
}

.sub-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 24px;
}

/* ---------- Category rows (Behandlungen) ---------- */
.content-text {
	max-width: 720px;
}

.category-title {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 28px;
}

.category-icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;
}

.bullet-list li {
	position: relative;
	padding-left: 22px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--color-text);
}

.bullet-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 13px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--color-black);
}

/* ---------- Über / bio ---------- */
.bio-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	gap: 56px;
	align-items: start;
}

.bio-text p {
	font-size: 19px;
	line-height: 1.75;
	color: var(--color-text);
	max-width: 62ch;
}

.bio-text p + p {
	margin-top: 24px;
}

.bio-lead {
	font-weight: 700;
}

.bio-photo img {
	width: 100%;
	max-width: 340px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: grayscale(1);
}

/* ---------- Detail lists (Standorte / Kontakt) ---------- */
.location-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	flex-wrap: wrap;
}

.location-tag {
	font-size: 18px;
	text-align: right;
	line-height: 1.4;
	max-width: 220px;
}

.intro-text {
	font-size: 18px;
	line-height: 1.7;
	text-align: left;
	max-width: 42ch;
	margin-top: 4px;
}

.location-address {
	font-size: 18px;
	line-height: 1.6;
	margin: 20px 0 40px;
}

.detail-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 28px;
}

.detail-row {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 16px;
	font-size: 18px;
	line-height: 1.6;
}

.detail-row dt {
	font-weight: 400;
	color: var(--color-text);
}

.detail-row dd {
	margin: 0;
}

.detail-list--wide .detail-row {
	grid-template-columns: 180px 1fr;
}

.detail-list--wide .detail-row dt {
	font-weight: 700;
}

.text-link {
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--color-text);
}
.text-link:hover { color: var(--color-blue); }

/* ---------- Contact items ---------- */
.contact-item {
	display: grid;
	grid-template-columns: minmax(70px, max-content) 1fr;
	column-gap: 20px;
	margin-top: 32px;
}

.contact-item:first-of-type { margin-top: 40px; }

.contact-label {
	font-size: 19px;
	font-weight: 400;
	padding-top: 2px;
}

.contact-label--wide {
	white-space: nowrap;
}

.contact-value {
	font-size: 22px;
	font-weight: 700;
	display: inline-block;
}
.contact-value:hover { color: var(--color-blue); }

.contact-note {
	font-size: 15px;
	color: var(--color-muted);
	line-height: 1.5;
	margin-top: 6px;
	max-width: 40ch;
}

.fine-print {
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-muted);
	max-width: 78ch;
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-intro {
	font-size: 18px;
	line-height: 1.7;
	max-width: 720px;
	margin-bottom: 40px;
}

.legal-content {
	max-width: 720px;
}

.legal-block + .legal-block {
	margin-top: 40px;
}

.legal-block h2 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}

.legal-block p {
	font-size: 18px;
	line-height: 1.7;
}

.legal-block p + p {
	margin-top: 16px;
}

.legal-block a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.legal-block a:hover {
	color: var(--color-blue);
}

/* ---------- CTA band ---------- */
.cta-band {
	display: flex;
	justify-content: center;
	padding: 72px 24px;
	border-top: 1px solid var(--color-line);
	margin-top: 0;
}

.cta-button {
	font-size: 15px;
	padding: 20px 40px;
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--color-line);
	padding: 56px 0;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.footer-logo-img {
	height: 88px;
	width: auto;
}

.footer-links {
	display: flex;
	gap: 28px;
}

.footer-links a {
	font-size: 16px;
}
.footer-links a:hover { color: var(--color-blue); }

.footer-copyright {
	font-size: 16px;
	color: var(--color-text);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
	:root {
		--container-pad: 40px;
		--rail-width: 0px;
	}

	.rail { display: none; }
	.rail-row { grid-template-columns: 1fr; }
	.rail-content { padding-left: 0; }

	.section-title { font-size: 46px; }
	.notice-text { font-size: 22px; }

	.content-text {
		max-width: none;
	}

	.bio-row {
		grid-template-columns: 1fr;
	}
	.bio-photo { order: -1; }
	.bio-photo img { max-width: 260px; }
}

@media (max-width: 860px) {
	.main-nav {
		position: fixed;
		top: var(--header-height);
		right: 0;
		left: 0;
		height: calc(100vh - var(--header-height));
		height: calc(100dvh - var(--header-height));
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 40px var(--container-pad);
		gap: 40px;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
		overflow-y: auto;
	}

	.main-nav.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform .3s ease, visibility 0s linear 0s;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.nav-link { font-size: 22px; }

	.nav-cta {
		align-self: flex-start;
	}

	.nav-toggle { display: flex; }
}

@media (max-width: 720px) {
	:root {
		--container-pad: 24px;
	}

	.section { padding-top: 64px; }
	.section-title { font-size: 36px; margin-bottom: 32px; }
	.eyebrow { font-size: 18px; }
	.sub-title { font-size: 24px; }

	.rail-content,
	.split-col {
		padding: 40px 0;
	}

	.notice-text { font-size: 19px; }

	.category-title { font-size: 24px; gap: 14px; }
	.category-icon { width: 36px; height: 36px; }
	.bullet-list li { font-size: 16px; }

	.bio-text p { font-size: 17px; }

	.split-2 {
		grid-template-columns: 1fr;
	}
	.split-2 .split-col:first-child {
		border-right: none;
		border-bottom: 1px solid var(--color-line);
		padding-right: 0;
		padding-bottom: 40px;
	}
	.split-2 .split-col:last-child {
		padding-left: 0;
		padding-top: 40px;
	}

	.location-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.location-tag { text-align: left; max-width: none; }

	.detail-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.detail-row dt { font-weight: 700; }

	.contact-item {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.contact-label { font-weight: 700; }

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}
	.footer-logo-img { height: 64px; }

	.cta-band { padding: 56px 24px; }
}

@media (max-width: 420px) {
	.section-title { font-size: 30px; }
	.logo-img { height: 64px; }
}
