/* ============================
   CSS Custom Properties
   ============================ */
:root {
	--color-primary: #234A5E;
	--color-primary-light: #3085B0;
	--color-primary-lighter: #8AACC4;
	--color-accent: #228ACA;
	--color-accent-bright: #87CDF2;
	--color-dark: #1a2a35;
	--color-text: #2c3e50;
	--color-text-light: #5a7184;
	--color-bg: #ffffff;
	--color-bg-alt: #f4f8fb;
	--color-bg-dark: #0f1f2a;
	--color-border: #d6e4ed;
	--font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--max-width: 1100px;
	--nav-height: 72px;
	--transition: 0.3s ease;
	--shadow-sm: 0 2px 8px rgba(35, 74, 94, 0.08);
	--shadow-md: 0 4px 24px rgba(35, 74, 94, 0.12);
	--shadow-lg: 0 8px 40px rgba(35, 74, 94, 0.16);
	--radius: 12px;
	--radius-sm: 8px;
}

/* ============================
   Reset & Base
   ============================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--nav-height);
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-family);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.7;
	letter-spacing: 0.01em;
	overflow-x: hidden;
}

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

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-primary);
}

h1, h2, h3, h4 {
	color: var(--color-primary);
	line-height: 1.3;
	font-weight: 700;
}

h2 {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	margin-bottom: 0.5rem;
}

h3 {
	font-size: 1.15rem;
	font-weight: 600;
}

p {
	font-size: 1.05rem;
}

ul {
	list-style: none;
}

/* ============================
   Utility
   ============================ */
.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section-padding {
	padding: 5rem 0;
}

.section-subtitle {
	color: var(--color-text-light);
	font-size: 1.1rem;
	max-width: 640px;
	margin: 0 auto 3rem;
	text-align: center;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-label {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-accent);
	background: rgba(34, 138, 202, 0.1);
	padding: 0.35rem 1rem;
	border-radius: 50px;
	margin-bottom: 1rem;
}

.bg-alt {
	background: var(--color-bg-alt);
}

/* ============================
   Navigation
   ============================ */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-height);
	z-index: 1000;
	transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(8px);
}

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.nav__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav__logo img {
	height: 42px;
	width: auto;
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav__links a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--color-primary);
	letter-spacing: 0.03em;
	position: relative;
	padding: 0.25rem 0;
}

.nav.scrolled .nav__links a {
	color: var(--color-primary);
}

.nav__links a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-accent);
	transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a:focus::after {
	width: 100%;
}

.nav__links a:hover {
	text-decoration: none;
}

.nav__links .nav__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-bg) !important;
	background: var(--color-primary);
	padding: 0.8rem 2rem;
	border-radius: 50px;
	transition: all var(--transition);
	white-space: nowrap;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(35, 74, 94, 0.15);
}

.nav__links .nav__cta::after {
	display: none !important;
}

.nav__links .nav__cta:hover {
	background: var(--color-primary-light);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(35, 74, 94, 0.2);
	text-decoration: none;
}

.nav__links .nav__cta svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke-width: 2.5px;
}

/* Hamburger */
.nav__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 32px;
	height: 32px;
	position: relative;
	z-index: 1001;
}

.nav__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-primary);
	margin: 6px auto;
	transition: transform var(--transition), opacity var(--transition);
	border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active span:nth-child(2) {
	opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================
   Hero
   ============================ */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #e8f4f9 0%, #d0eaf5 40%, #b8dff0 100%);
}

.hero__bg-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.06;
	background-image:
		radial-gradient(circle at 20% 50%, var(--color-primary) 1px, transparent 1px),
		radial-gradient(circle at 80% 20%, var(--color-primary) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
	padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
}

.hero__logo {
	width: 280px;
	max-width: 70vw;
	margin: 0 auto 2.5rem;
	animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
	font-size: clamp(1.8rem, 5vw, 3rem);
	color: var(--color-primary);
	margin-bottom: 1.25rem;
	animation: fadeInUp 0.8s 0.15s ease both;
}

.hero__subtitle {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	color: var(--color-text-light);
	margin-bottom: 2.5rem;
	line-height: 1.8;
	animation: fadeInUp 0.8s 0.3s ease both;
}

.hero__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s 0.45s ease both;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 600;
	padding: 0.85rem 2rem;
	border-radius: 50px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--color-primary-light);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn--outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn--outline:hover {
	background: var(--color-primary);
	color: #fff;
	transform: translateY(-2px);
}

.hero__divider {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	line-height: 0;
}

.hero__divider svg {
	display: block;
	width: 100%;
	height: 80px;
}

/* ============================
   Services
   ============================ */
.services__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.service-card {
	background: var(--color-bg);
	border-radius: var(--radius);
	padding: 2.5rem 2rem;
	border: 1px solid var(--color-border);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.service-card:nth-child(1) {
	transition-delay: 0.1s;
}

.service-card:nth-child(2) {
	transition-delay: 0.2s;
}

.service-card:nth-child(3) {
	transition-delay: 0.3s;
}

.service-card:nth-child(4) {
	transition-delay: 0.4s;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(34, 138, 202, 0.3);
}

.service-card__icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(34, 138, 202, 0.1) 0%, rgba(48, 133, 176, 0.15) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.service-card__icon svg {
	width: 26px;
	height: 26px;
	color: var(--color-accent);
}

.service-card h3 {
	margin-bottom: 0.75rem;
}

.service-card p {
	font-size: 0.95rem;
	color: var(--color-text-light);
	line-height: 1.7;
}

.service-card__list {
	margin-top: 0.75rem;
}

.service-card__list li {
	font-size: 0.9rem;
	color: var(--color-text-light);
	padding: 0.3rem 0;
	padding-left: 1.25rem;
	position: relative;
}

.service-card__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
}

/* ============================
   About
   ============================ */
.about__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about__text h2 {
	text-align: left;
}

.about__text p {
	margin-bottom: 1.25rem;
	color: var(--color-text-light);
}

.about__highlights {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 2rem;
}

.about__highlight {
	text-align: center;
	padding: 1.5rem 1rem;
	border-radius: var(--radius);
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
}

.about__highlight-number {
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 0.35rem;
}

.about__highlight-label {
	font-size: 0.85rem;
	color: var(--color-text-light);
	font-weight: 500;
}

.about__visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.about__visual-box {
	width: 100%;
	max-width: 420px;
	aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, #e8f4f9 0%, #c9e5f3 50%, #a3d3ea 100%);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	border: 1px solid var(--color-border);
	position: relative;
	overflow: hidden;
}

.about__visual-box::before {
	content: '';
	position: absolute;
	top: -20%;
	right: -20%;
	width: 60%;
	height: 60%;
	background: radial-gradient(circle, rgba(34, 138, 202, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.about__visual-box img {
	width: 160px;
	position: relative;
	z-index: 1;
}

.about__visual-tagline {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-primary);
	position: relative;
	z-index: 1;
}

/* ============================
   Area / Einzugsgebiet
   ============================ */
.area {
	background: var(--color-primary);
	color: #fff;
	text-align: center;
}

.area h2 {
	color: #fff;
}

.area .section-label {
	background: rgba(255, 255, 255, 0.15);
	color: var(--color-accent-bright);
}

.area p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 640px;
	margin: 0 auto;
}

.area__cities {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: 2.5rem;
}

.area__city {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	padding: 1.5rem 2.5rem;
	text-align: center;
	transition: background var(--transition), transform var(--transition);
}

.area__city:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-2px);
}

.area__city-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.area__city-detail {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 0.2rem;
}

/* ============================
   Contact
   ============================ */
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}

.contact__info h2 {
	text-align: left;
}

.contact__info>p {
	color: var(--color-text-light);
	margin-bottom: 2rem;
}

.contact__details {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact__detail {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.contact__detail-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(34, 138, 202, 0.1) 0%, rgba(48, 133, 176, 0.15) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact__detail-icon svg {
	width: 20px;
	height: 20px;
	color: var(--color-accent);
}

.contact__detail-text strong {
	display: block;
	font-size: 0.92rem;
	color: var(--color-primary);
	margin-bottom: 0.15rem;
}

.contact__detail-text span,
.contact__detail-text a {
	font-size: 0.95rem;
	color: var(--color-text-light);
}

.contact__form-wrapper {
	background: var(--color-bg-alt);
	border-radius: var(--radius);
	padding: 2.5rem;
	border: 1px solid var(--color-border);
}

.contact__form-wrapper h3 {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
}

.contact__form-wrapper>p {
	font-size: 0.92rem;
	color: var(--color-text-light);
	margin-bottom: 1.5rem;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-group label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-family);
	font-size: 0.95rem;
	color: var(--color-text);
	background: var(--color-bg);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(34, 138, 202, 0.12);
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

/* ============================
   Footer
   ============================ */
.footer {
	background: var(--color-bg-dark);
	color: rgba(255, 255, 255, 0.7);
	padding: 3rem 0 1.5rem;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer__logo img {
	height: 36px;
	filter: brightness(0) invert(1) opacity(0.7);
}

.footer__links {
	display: flex;
	gap: 2rem;
}

.footer__links a {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	transition: color var(--transition);
}

.footer__links a:hover {
	color: #fff;
}

.footer__bottom {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
}

/* ============================
   Legal Pages
   ============================ */
.legal {
	padding: calc(var(--nav-height) + 3rem) 0 4rem;
	min-height: 100vh;
}

.legal h1 {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	margin-bottom: 2rem;
}

.legal h2 {
	font-size: 1.35rem;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
}

.legal h3 {
	font-size: 1.1rem;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: var(--color-primary);
}

.legal h4 {
	font-size: 1rem;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.legal p {
	margin-bottom: 1rem;
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.8;
}

.legal ul {
	margin: 0.5rem 0 1rem 1.5rem;
	list-style: disc;
}

.legal ul li {
	font-size: 0.95rem;
	color: var(--color-text-light);
	margin-bottom: 0.35rem;
	line-height: 1.7;
}

.legal a {
	color: var(--color-accent);
	text-decoration: underline;
}

.legal__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.92rem;
	color: var(--color-accent);
	margin-bottom: 2rem;
	text-decoration: none;
}

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

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 992px) {
	.about__content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.about__text h2 {
		text-align: center;
	}

	.about__text p {
		text-align: center;
	}

	.about__visual {
		order: -1;
	}

	.contact__grid {
		grid-template-columns: 1fr;
	}

	.contact__info h2 {
		text-align: center;
	}

	.contact__info>p {
		text-align: center;
	}
}

@media (max-width: 768px) {
	.nav__links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		flex-direction: column;
		background: var(--color-bg);
		padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
		gap: 1.5rem;
		box-shadow: var(--shadow-lg);
		transition: right var(--transition);
		align-items: flex-start;
	}

	.nav__links.open {
		right: 0;
	}

	.nav__toggle {
		display: block;
	}

	.hero__content {
		padding-top: calc(var(--nav-height) + 2rem);
	}

	.hero h1 {
		font-size: clamp(1.5rem, 6vw, 2.2rem);
	}

	.services__grid {
		grid-template-columns: 1fr;
	}

	.about__highlights {
		grid-template-columns: 1fr 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.section-padding {
		padding: 3.5rem 0;
	}
}

@media (max-width: 480px) {
	.area__cities {
		gap: 1rem;
	}

	.area__city {
		padding: 1rem 1.5rem;
		flex: 1 1 calc(50% - 0.5rem);
	}

	.about__highlights {
		grid-template-columns: 1fr;
	}

	.hero__logo {
		width: 200px;
	}

	.btn {
		width: 100%;
		justify-content: center;
	}
}

/* ============================
   Form Status
   ============================ */
.form-status {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	display: none;
}

.form-status.success {
	display: block;
	background: #e6f6ee;
	color: #0d8a4f;
	border: 1px solid #cceadd;
}

.form-status.error {
	display: block;
	background: #fbeaea;
	color: #d63031;
	border: 1px solid #f2dcdc;
}

/* ============================
   Mobile Sticky Button
   ============================ */
.mobile-call-btn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background: var(--color-primary);
	color: #fff;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(35, 74, 94, 0.4);
	z-index: 9999;
	transition: transform 0.3s ease, background 0.3s ease;
	animation: pulse 2s infinite;
}

.mobile-call-btn svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
}

.mobile-call-btn:active {
	transform: scale(0.95);
	background: var(--color-primary-light);
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(35, 74, 94, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(35, 74, 94, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(35, 74, 94, 0);
	}
}

@media (max-width: 768px) {
	.mobile-call-btn {
		display: flex;
	}
}
