/* Spenglerei Obermeier – Website in Bearbeitung */

@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/archivo-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Archivo Narrow';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/archivo-narrow-700-latin.woff2') format('woff2');
}

:root {
	--btw_blue: #0a5ca8;
	--btw_blue_light: #d7e4f2;
	--btw_text_light: #e2ecf7;
	--btw_grey: #56616c;
	--btw_gutter: clamp(16px, 6vw, 48px);
}

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

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

body {
	margin: 0;
	background: #fff;
	color: #fff;
	font-family: 'Archivo', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p,
h1,
address {
	margin: 0;
	font-style: normal;
}

/* ---------- Stage ---------- */

.btw_stage {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}

/* ---------- Bild ---------- */

.btw_hero {
	position: relative;
	display: block;
	order: 2;
	height: clamp(260px, 70vw, 520px);
	overflow: hidden;
}

.btw_hero_slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.btw_hero_slide.is-active {
	opacity: 1;
}

.btw_hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 50%;
}

.btw_hero::after {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	background-image:
		linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%),
		linear-gradient(270deg, rgba(10, 92, 168, 0) 19.231%, rgba(10, 92, 168, 0.4) 100%),
		linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
	pointer-events: none;
}

/* ---------- Slider-Navigation ---------- */

.btw_hero_dots {
	position: absolute;
	z-index: 2;
	right: calc(var(--btw_gutter) - 10px);
	bottom: 14px;
	display: flex;
}

.btw_hero_dot {
	display: block;
	padding: 10px 6px;
	border: 0;
	background: none;
	cursor: pointer;
}

.btw_hero_dot::before {
	content: '';
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	opacity: 0.45;
	transition: opacity 0.3s ease;
}

.btw_hero_dot:hover::before,
.btw_hero_dot[aria-current='true']::before {
	opacity: 1;
}

.btw_hero_dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

/* ---------- Panel ---------- */

.btw_panel {
	position: relative;
	z-index: 1;
	order: 1;
	display: flex;
	flex-direction: column;
	background: var(--btw_blue);
	padding: 28px var(--btw_gutter) 32px;
}

.btw_rail,
.btw_rail_label {
	display: none;
}

.btw_logo {
	display: block;
	width: 44px;
	height: 50px;
	margin-left: -6px;
}

.btw_logo svg {
	display: block;
	width: 100%;
	height: 100%;
}

.btw_content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 56px 0 64px;
}

.btw_eyebrow {
	color: var(--btw_blue_light);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.64px;
	line-height: normal;
	text-transform: uppercase;
}

.btw_headline {
	display: flex;
	flex-direction: column;
	margin-top: 28px;
	font-family: 'Archivo Narrow', 'Arial Narrow', sans-serif;
	font-weight: 700;
	font-size: min(86px, calc((100vw - 2 * var(--btw_gutter)) / 8.4));
	line-height: 0.96;
	text-transform: uppercase;
	color: #fff;
}

.btw_headline_line {
	white-space: nowrap;
}

.btw_headline_line--dash {
	display: flex;
	align-items: center;
	gap: 0.279em; /* 24px bei 86px */
}

.btw_dash {
	flex: 0 0 0.767em; /* 66px bei 86px */
	height: max(3px, 0.058em); /* 5px bei 86px */
	background: #fff;
}

.btw_lead {
	max-width: 430px;
	margin-top: 36px;
	color: var(--btw_text_light);
	font-size: 17px;
	line-height: 1.6;
}

/* ---------- Kontakt ---------- */

.btw_contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-top: 40px;
	font-size: 14px;
}

.btw_contact_col {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.btw_contact_head {
	color: #fff;
	font-weight: 700;
	line-height: normal;
}

.btw_contact_text {
	color: var(--btw_text_light);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.btw_contact_divider {
	display: none;
	flex: 0 0 1px;
	height: 60px;
	background: rgba(255, 255, 255, 0.35);
}

.btw_link,
.btw_link:visited,
.btw_link:focus,
.btw_link:active {
	color: inherit;
	text-decoration: none;
}

.btw_link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Button ---------- */

.btw_button,
.btw_button:visited,
.btw_button:focus,
.btw_button:active {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 40px;
	padding: 19px 26px;
	background: #fff;
	color: var(--btw_blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.4px;
	line-height: normal;
	text-transform: uppercase;
	text-decoration: none;
}

.btw_button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.btw_button_arrow {
	display: block;
	flex: 0 0 22px;
	height: 10px;
	transition: transform 0.25s ease;
}

.btw_button:hover .btw_button_arrow {
	transform: translateX(4px);
}

/* ---------- Copyright / Footer ---------- */

.btw_copyright {
	color: #fff;
	opacity: 0.7;
	font-size: 11px;
	line-height: normal;
}

.btw_footer {
	order: 3;
	display: flex;
	align-items: center;
	min-height: 76px;
	padding: 24px var(--btw_gutter);
	background: #fff;
}

.btw_legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.btw_legal_link,
.btw_legal_link:visited,
.btw_legal_link:focus,
.btw_legal_link:active {
	color: var(--btw_grey);
	font-size: 12px;
	line-height: normal;
	text-decoration: none;
}

.btw_legal_link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- sm 576 ---------- */

@media (min-width: 576px) {
	.btw_contact {
		flex-direction: row;
		gap: 24px;
	}

	.btw_contact_divider {
		display: block;
	}
}

/* ---------- lg 992: Split-Layout ---------- */

@media (min-width: 992px) {
	.btw_stage {
		--btw_panel: 620px;
		--btw_content_left: 128px;
		display: block;
	}

	.btw_hero {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 76px;
		left: calc(var(--btw_panel) - 42px);
		height: auto;
	}

	.btw_hero img {
		object-position: 50% 50%;
	}

	.btw_hero_dots {
		right: 38px;
		bottom: 24px;
	}

	.btw_panel {
		justify-content: center;
		width: var(--btw_panel);
		min-height: 100vh;
		min-height: 100svh;
		padding: 96px 0 96px var(--btw_content_left);
	}

	.btw_rail {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 88px;
		width: 1px;
		background: rgba(255, 255, 255, 0.22);
	}

	.btw_panel .btw_logo {
		position: absolute;
		top: 28px;
		left: 22px;
		margin: 0;
	}

	.btw_rail_label {
		display: block;
		position: absolute;
		left: 38px;
		bottom: 40px;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		opacity: 0.85;
		color: #fff;
		font-size: 10px;
		font-weight: 600;
		letter-spacing: 2.4px;
		line-height: 11px;
		text-transform: uppercase;
		white-space: pre;
	}

	.btw_content {
		padding: 0;
	}

	.btw_headline {
		font-size: clamp(64px, 5.972vw, 86px);
	}

	.btw_panel .btw_copyright {
		position: absolute;
		left: var(--btw_content_left);
		bottom: 32px;
	}

	.btw_footer {
		position: absolute;
		right: 0;
		bottom: 0;
		left: var(--btw_panel);
		height: 76px;
		min-height: 0;
		padding: 0 48px;
	}
}

/* ---------- xl 1200 ---------- */

@media (min-width: 1200px) {
	.btw_stage {
		--btw_panel: max(676px, 46.944vw); /* 676px bei 1440 */
		--btw_content_left: 144px;
	}
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.btw_button_arrow,
	.btw_hero_slide,
	.btw_hero_dot::before {
		transition: none;
	}

	.btw_button:hover .btw_button_arrow {
		transform: none;
	}
}

/* ---------- Rechtliche Seiten (Impressum / Datenschutz) ---------- */

.btw_page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	color: var(--btw_grey);
}

.btw_page_header {
	position: relative;
	background: var(--btw_blue);
	color: #fff;
	padding: 28px var(--btw_gutter) 56px;
}

.btw_page_bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.btw_page_bar .btw_logo {
	flex: 0 0 44px;
	margin-left: 0;
}

.btw_back,
.btw_back:visited,
.btw_back:focus,
.btw_back:active {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.4px;
	line-height: normal;
	text-transform: uppercase;
	text-decoration: none;
}

.btw_back svg {
	display: block;
	flex: 0 0 22px;
	height: 10px;
	transform: rotate(180deg);
}

.btw_back:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.btw_page_intro {
	padding-top: 56px;
}

.btw_page_title {
	margin-top: 20px;
	font-family: 'Archivo Narrow', 'Arial Narrow', sans-serif;
	font-weight: 700;
	font-size: clamp(36px, 9vw, 64px);
	line-height: 0.96;
	text-transform: uppercase;
	color: #fff;
	overflow-wrap: anywhere;
}

.btw_page_main {
	flex: 1 0 auto;
	width: 100%;
	max-width: calc(760px + 2 * var(--btw_gutter));
	padding: 48px var(--btw_gutter) 72px;
	font-size: 16px;
	line-height: 1.6;
}

.btw_page_main h2 {
	margin: 48px 0 12px;
	color: var(--btw_blue);
	font-family: 'Archivo Narrow', 'Arial Narrow', sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.1;
	text-transform: uppercase;
}

.btw_page_main h2:first-child {
	margin-top: 0;
}

.btw_page_main h3 {
	margin: 24px 0 8px;
	color: #1d2a36;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.btw_page_main p,
.btw_page_main address,
.btw_page_main ul {
	margin: 0 0 12px;
}

.btw_page_main ul {
	padding-left: 20px;
}

.btw_page_main strong {
	color: #1d2a36;
}

.btw_page_main a,
.btw_page_main a:visited,
.btw_page_main a:focus,
.btw_page_main a:active {
	color: var(--btw_blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.btw_page_main a:hover {
	text-decoration-thickness: 2px;
}

.btw_page_footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 24px var(--btw_gutter);
	border-top: 1px solid #e3e8ee;
}

.btw_page_footer .btw_copyright {
	color: var(--btw_grey);
	opacity: 1;
}

@media (min-width: 992px) {
	.btw_page_header {
		padding: 28px 48px 72px 0;
	}

	.btw_page_header .btw_rail {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 88px;
		width: 1px;
		background: rgba(255, 255, 255, 0.22);
	}

	.btw_page_bar {
		padding-left: 22px;
	}

	.btw_page_intro {
		padding: 72px 0 0 var(--btw_content_left, 128px);
	}

	.btw_page_main {
		max-width: calc(760px + var(--btw_content_left, 128px));
		padding: 64px 48px 96px var(--btw_content_left, 128px);
	}

	.btw_page_footer {
		padding: 24px 48px 24px var(--btw_content_left, 128px);
	}
}

@media (min-width: 1200px) {
	.btw_page {
		--btw_content_left: 144px;
	}
}
