/* Nick & Sielker – Basis: Schriften, Tokens, Reset, Typografie */

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/open-sans-var.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/roboto-300.woff2") format("woff2");
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/roboto-400.woff2") format("woff2");
}

:root {
	--ns-olive: #63711f;
	--ns-olive-dark: #404914;
	--ns-olive-darker: #2e350f;
	--ns-text: #2f313a;
	--ns-heading: #23252c;
	--ns-muted: #6b6f76;
	--ns-gray: #c6c6c6;
	--ns-light: #f6f6f5;
	--ns-line: #e7e6e2;
	--ns-shadow-sm: 0 1px 2px rgba(23, 25, 30, 0.05);
	--ns-shadow-md: 0 8px 30px rgba(23, 25, 30, 0.08);
	--ns-shadow-lg: 0 20px 50px rgba(23, 25, 30, 0.14);
	--ns-font-body: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ns-font-head: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ns-container: 1170px;
	--ns-gutter: 20px;
	--ns-container-pad: 24px;
	--ns-header-h: 146px;
	--ns-header-h-compact: 84px;
	--ns-ease: 0.3s ease;
}

@media (max-width: 991.98px) {
	:root {
		--ns-header-h: 84px;
		--ns-header-h-compact: 72px;
	}
}

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

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

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding-top: var(--ns-header-h);
	border-top: 3px solid var(--ns-olive);
	overflow-x: hidden;
	color: var(--ns-text);
	font-family: var(--ns-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	background: #fff;
}

.admin-bar body {
	border-top-width: 0;
}

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

svg {
	vertical-align: middle;
}

a {
	color: var(--ns-olive);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--ns-olive-darker);
}

:focus-visible {
	outline: 2px solid var(--ns-olive);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-family: var(--ns-font-head);
	color: var(--ns-heading);
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
	font-weight: 300;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

h2 {
	font-size: 1.625rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

h3 {
	font-size: 1.25rem;
	font-weight: 500;
}

h4,
h5,
h6 {
	font-weight: 500;
}

p {
	margin: 0 0 1.5rem;
	color: var(--ns-text);
}

hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid var(--ns-line);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip-path: none;
	background: #fff;
	color: var(--ns-olive);
	box-shadow: 0 0 0 2px var(--ns-olive);
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
}

.ns-container {
	width: 100%;
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: var(--ns-gutter);
}

.ns-icon {
	flex: none;
}
