@font-face {
	font-family: 'Commissioner';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/commissioner-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Commissioner';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/commissioner-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--primary-color: #094B82;
	--primary-light: #1a5c93;
	--primary-dark: #073d6b;
	--text-color: #333333;
	--background-light: #f8f9fa;
	--white: #ffffff;

	/* Fluid type scale */
	--fs-h1: clamp(1.75rem, 1.2rem + 2.5vw, 4rem);
	--fs-h2: clamp(1.375rem, 0.875rem + 2.5vw, 2rem);
	--fs-h3: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
	--fs-body-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	/* viewport height */
	font-family: 'Commissioner', sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--white);
}

main {
	flex: 1 0 auto;
	/* This makes the main content area expand to fill available space */
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	/* Increased padding for more spacious layout */
}

/* Header */
.main-header {
	background-color: var(--white);
	padding: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 3px 12px rgba(0, 0, 0, 0.06);
}

.main-header .container {
	max-width: none;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-content {
	display: contents;
}

.logo-container {
	display: flex;
	align-items: center;
}

.header-logo {
	height: 1.8rem;
	width: auto;
	display: block;
}

@media (max-width: 991px) {
	.main-header .container {
		padding: 1.25rem 1.25rem 1.25rem 1rem;
	}
}

@media (min-width: 992px) {
	.main-header .container {
		padding: 1.5rem 1rem;
	}

	.header-logo {
		height: calc(1.8rem * 1.15);
	}
}

/* Offset fixed header */
body {
	padding-top: 3.8rem;
}

.brand-link {
	text-decoration: none;
	/* Remove underline */
	display: inline-block;
}

.brand-name {
	color: #094B82;
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: 0.5px;
}

/* Optional hover effect */
.brand-link:hover .brand-name {
	opacity: 0.9;
	transition: opacity 0.2s;
}


.hero-content {
	display: flex;
	align-items: center;
	gap: 6rem;
	min-height: 300px;
	/* Set a minimum height for the content */
}

.text-box {
	flex: 1;
	height: 100%;
}

.text-box h1 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.text-box .subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
}

.text-box .tagline {
	font-size: 1.5rem;
	color: var(--text-color);
	font-weight: 600;
}

.hero-image {
	flex: 1;
	height: 100%;
	display: flex;
	align-items: center;
}

.hero-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-width: 300px;
}

/* Separator */
.separator {
	height: 6rem;
	background-color: #000000;
	margin: 0rem 0;
}

/* Download Section */
.download {
	padding: 2rem 0;
	background-color: var(--background-light);
	text-align: center;
}

.download-content {
	max-width: 600px;
	margin: 0 auto;
}

.download h2 {
	font-size: var(--fs-h2);
	color: var(--primary-color);
	/* Using new main color */
	margin-bottom: 1rem;
	margin-top: auto;
}

.store-buttons {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.store-buttons a {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-buttons a:hover,
.store-buttons a:focus-visible {
	transform: scale(1.05);
	opacity: 0.92;
}

.store-buttons img {
	height: 52px;
	width: auto;
	display: block;
}

/* Updated Footer Styles */
footer {
	background-color: #000000;
	padding: 2rem 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copyright {
	color: var(--white);
	font-size: 0.9rem;
}

.footer-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.footer-nav a,
.footer-nav a:visited,
.footer-nav a:link,
.footer-nav a:active,
.footer-nav a:hover {
	color: var(--white) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	transition: opacity 0.2s;
}

.footer-nav a:hover {
	opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
	.footer-content {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.footer-nav {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}

	.footer-separator {
		display: none;
	}
}

/* Content Separator */
.content-separator {
	height: 2px;
	background-color: BLACK;
}

/* Footer Separator */
.footer-separator {
	color: var(--white);
	opacity: 0.5;
	margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-content {
		flex-direction: column;
		text-align: center;
		gap: 3rem;
	}

	.text-box h1 {
		font-size: 2rem;
	}

	.text-box .subtitle,
	.text-box .tagline {
		font-size: 16px;
		/* Slightly smaller on mobile */
	}

	.hero-image img {
		height: 250px;
		/* Slightly smaller on mobile */
	}

	.store-buttons {
		gap: 1.25rem;
	}

	.store-buttons img {
		height: 48px;
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.brand-name {
		font-size: 1.75rem;
	}
}

/* Privacy Policy Styles */
.privacy-content {
	padding: 4rem 0;
}

.privacy-content h1 {
	color: var(--primary-color);
	font-size: var(--fs-h2);
	margin-bottom: 2rem;
}

.privacy-content h2 {
	color: var(--primary-color);
	font-size: var(--fs-h3);
	margin: 2rem 0 1rem;
}

.privacy-content h3 {
	font-size: 1.1rem;
	margin: 1.5rem 0 1rem;
}

.privacy-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.privacy-intro {
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

.privacy-section {
	margin: 2rem 0;
}

.privacy-content ul {
	margin: 1rem 0;
	padding-left: 2rem;
}

.privacy-content li {
	margin-bottom: 0.5rem;
}

address {
	font-style: normal;
	margin: 1rem 0;
	line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.privacy-content {
		padding: 2rem 0;
	}

}

/* Updated styles for the new content */
.hero {
	padding: 6rem 0;
	background-color: var(--white);
}

.text-box h1 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.text-box .subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
}

.info-section {
	padding: 4rem 0;
	background-color: var(--white);
}

.info-content {
	max-width: 900px;
	margin: 0 auto;
}

.info-content h2 {
	font-size: var(--fs-h2);
	color: var(--primary-color);
	font-weight: 700;
	margin: 0 0 1.5rem;
}

.main-description {
	font-size: var(--fs-body-lg);
	line-height: 1.6;
	margin-bottom: 2rem;
	color: var(--text-color);
}

.cta-text {
	font-size: var(--fs-body-lg);
	line-height: 1.6;
	color: var(--primary-color);
	font-weight: 600;
	text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.hero {
		padding: 3rem 0;
	}

	.text-box h1 {
		font-size: 2rem;
	}

	.text-box .subtitle {
		font-size: 16px;
	}

	.info-section {
		padding: 3rem 0;
	}

	.main-description,
	.cta-text {
		padding: 0 1rem;
	}
}

/* Add these styles for the hero image */
.hero-image-section {
	width: 100%;
	height: 65vh;
	min-height: 600px;
	overflow: hidden;
	position: relative;
}

@media (max-width: 768px) {
	.hero-heading {
		bottom: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero-image-section {
		height: 300px;
		min-height: unset;
	}
}

.hero-image-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes heroPan {
	from {
		object-position: center 0%;
		transform: scale(1.2);
	}

	to {
		object-position: center 85%;
		transform: scale(1);
	}
}

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
	.hero-image-section img {
		animation: heroPan 14s linear forwards;
	}
}

.hero-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.hero-heading {
	position: absolute;
	bottom: 2.5rem;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: var(--fs-h1);
	font-weight: 700;
	line-height: 1.2;
	padding: 0 1.5rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
	margin: 0;
	z-index: 2;
}

/* Language Switcher */
.lang-switcher {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.lang-current,
.lang-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.lang-current {
	color: var(--primary-color);
	font-weight: 700;
}

.lang-sep {
	color: #ccc;
	padding: 0 2px;
	pointer-events: none;
	user-select: none;
}

.lang-link {
	color: #6b6b6b;
	text-decoration: none;
	transition: color 0.2s;
}

.lang-link:hover {
	color: var(--primary-color);
}

/* Steps Section */
.steps-section {
	padding: 3rem 0;
	background-color: var(--background-light);
}

.steps-section h2 {
	font-size: var(--fs-h2);
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 2.5rem;
	margin-top: 0;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
}

.step-number {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.step p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
}

.steps-cta {
	margin-top: 2.5rem;
	text-align: center;
	font-size: var(--fs-body-lg);
	font-weight: 600;
	color: var(--primary-color);
}

@media (max-width: 768px) {
	.steps {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin: 0 auto;
	}

}


/* Add these styles for the impressum page */
.impressum-content {
	padding: 4rem 0;
}

.impressum-content h1 {
	color: var(--primary-color);
	font-size: var(--fs-h2);
	margin-bottom: 2rem;
}

.company-info {
	max-width: 800px;
	margin: 0 auto;
}

.company-info h2 {
	color: var(--primary-color);
	font-size: var(--fs-h3);
	margin-bottom: 0.5rem;
}

.company-info h3 {
	font-size: 1rem;
	margin: 1.5rem 0 0.5rem;
	color: var(--primary-color);
}

.company-info p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.company-info address {
	font-style: normal;
	margin: 1.5rem 0;
	line-height: 1.6;
}

.contact-info {
	margin: 1.5rem 0;
}

.contact-info a {
	color: var(--primary-color);
	text-decoration: none;
}

.contact-info a:hover {
	text-decoration: underline;
}

.management-info,
.register-info,
.tax-info,
.responsibility-info {
	margin: 1.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.impressum-content {
		padding: 2rem 0;
	}

}

@media (max-width: 480px) {
	.store-buttons {
		flex-direction: column;
		gap: 0.875rem;
	}

	.store-buttons img {
		height: 46px;
	}
}

/* ===== WCAG Accessibility ===== */

/* Visually hidden — available to screen readers */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Skip navigation link (2.4.1) */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1.5rem;
	background: var(--primary-color);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 0 0 4px 4px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
	outline: 3px solid #fff;
	outline-offset: -4px;
}

/* Focus visible — all interactive elements (2.4.7, WCAG 2.2) */
:focus-visible {
	outline: 3px solid var(--primary-color);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Focus on dark backgrounds (footer) */
footer :focus-visible {
	outline-color: #ffffff;
}

/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) {
	outline: none;
}

/* Store buttons — larger focus ring around the whole link */
.store-buttons a:focus-visible {
	outline-offset: 5px;
	border-radius: 6px;
}

/* Steps ordered list reset */
ol.steps {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Reduced motion (2.3.3 / WCAG 2.2 2.3.3) */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}