/* web-development-sh – Stylesheet
   Systemschriften (keine externen Fonts), Farben aus dem Logo. */

:root {
	--blue: #03458e;
	--blue-dark: #022a57;
	--blue-darker: #011a36;
	--yellow: #fdc40f;
	--yellow-dark: #c99a00;
	--text: #1b2433;
	--muted: #556070;
	--bg: #ffffff;
	--bg-tint: #f3f6fb;
	--border: #dde3ec;
	--error: #b3261e;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(2, 42, 87, 0.1);
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 72px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--blue);
}

a:hover {
	color: var(--blue-dark);
}

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 2px;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--blue-dark);
}

h1 {
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1em;
}

.container {
	width: min(1180px, 100% - 32px);
	margin-inline: auto;
}

.container.narrow {
	width: min(820px, 100% - 32px);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	background: var(--yellow);
	color: var(--blue-darker);
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border: 2px solid var(--yellow);
	border-radius: 999px;
	background: var(--yellow);
	color: var(--blue-darker);
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
	color: var(--blue-darker);
	background: #ffd23f;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(253, 196, 15, 0.35);
}

.btn:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	box-shadow: none;
}

.btn-small {
	padding: 8px 18px;
}

.eyebrow {
	margin: 0 0 0.5em;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--yellow-dark);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(8px);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.brand-text {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--blue);
}

.brand-text span {
	color: var(--yellow-dark);
}

@media (max-width: 380px) {
	.brand-text {
		font-size: 1rem;
	}

	.brand img {
		width: 34px;
		height: 34px;
	}
}

.brand-light .brand-text {
	color: #fff;
}

.brand-light .brand-text span {
	color: var(--yellow);
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a:not(.btn) {
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}

.main-nav a:not(.btn):hover {
	color: var(--blue);
	border-bottom-color: var(--yellow);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	background: var(--blue-dark);
	border-radius: 2px;
	transition: transform 0.2s ease, background 0.2s ease;
	content: "";
}

.nav-toggle-bar {
	top: 21px;
}

.nav-toggle-bar::before {
	left: 0;
	top: -7px;
}

.nav-toggle-bar::after {
	left: 0;
	top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
	.nav-toggle {
		display: block;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 16px 20px;
	}

	.main-nav a:not(.btn) {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--border);
	}

	.main-nav .btn {
		margin-top: 16px;
		width: 100%;
	}
}

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	min-height: min(88vh, 760px);
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background: var(--blue-darker);
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(1, 26, 54, 0.94) 0%, rgba(2, 42, 87, 0.82) 45%, rgba(3, 69, 142, 0.35) 100%);
}

.hero-content {
	padding-block: 96px;
}

.hero-title {
	margin: 0 0 0.6em;
	max-width: 14em;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

.hero .eyebrow {
	color: var(--yellow);
}

.hero-lead {
	max-width: 36em;
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-slogan {
	margin-top: 48px;
	font-weight: 600;
	color: var(--yellow);
	display: flex;
	align-items: center;
	gap: 12px;
}

.hero-slogan::before {
	content: "";
	width: 40px;
	height: 3px;
	border-radius: 3px;
	background: var(--yellow);
}

/* Sections */
.section {
	padding-block: clamp(64px, 9vw, 110px);
}

.section-tinted {
	background: var(--bg-tint);
}

.section-dark {
	background: linear-gradient(135deg, var(--blue-darker), var(--blue));
	color: rgba(255, 255, 255, 0.9);
}

.section-dark h2 {
	color: #fff;
}

.section-dark .eyebrow {
	color: var(--yellow);
}

.section-head {
	max-width: 680px;
	margin-bottom: 48px;
}

.section-head p:last-child {
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

@media (max-width: 880px) {
	.split {
		grid-template-columns: 1fr;
	}
}

/* Leistungen */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}

@media (max-width: 400px) {
	.card-grid {
		grid-template-columns: 1fr;
	}
}

.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 26px 26px;
}

.card-body > p {
	color: var(--muted);
}

.card-link {
	padding-top: 12px;
	font-weight: 700;
	text-decoration: none;
}

.card-link:hover {
	text-decoration: underline;
}

.card-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin-top: auto;
}

.card-link-muted {
	font-weight: 600;
	color: var(--muted);
}

/* Leistungs-Unterseiten */
.page-hero {
	padding-block: clamp(48px, 7vw, 88px);
	background: linear-gradient(135deg, var(--blue-darker), var(--blue));
	color: rgba(255, 255, 255, 0.88);
}

.page-hero h1 {
	color: #fff;
}

.page-hero .eyebrow {
	color: var(--yellow);
}

.page-hero-lead {
	max-width: 40em;
	font-size: 1.15rem;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.breadcrumb li + li::before {
	content: "/";
	margin-right: 6px;
	opacity: 0.6;
}

.breadcrumb a {
	color: #fff;
}

.service-image {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
	margin-top: 40px;
	padding: 0;
	list-style: none;
}

.benefit-grid li {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--bg-tint);
	border-top: 4px solid var(--yellow);
}

.benefit-grid h3 {
	font-size: 1.1rem;
}

.benefit-grid p {
	margin: 0;
	color: var(--muted);
}

.service-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.service-links a {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border);
	font-weight: 600;
	text-decoration: none;
}

.service-links a:hover {
	border-color: var(--blue);
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.check-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 6px;
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23022a57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-list-light li {
	color: #fff;
}

/* Branchen */
.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.tag-list li {
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border);
	font-weight: 600;
	color: var(--blue-dark);
}

/* Ablauf */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 28px;
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--bg-tint);
	border-top: 4px solid var(--yellow);
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 10px;
	font-size: 2rem;
	font-weight: 800;
	color: var(--blue);
	opacity: 0.25;
}

.steps p {
	color: var(--muted);
	margin: 0;
}

/* Über uns */
.about-image {
	border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Kontakt */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}

@media (max-width: 880px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
}

.contact-list li {
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.contact-list a {
	font-size: 1.15rem;
	font-weight: 600;
	text-decoration: none;
	word-break: break-word;
}

.contact-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-card {
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.field {
	margin-bottom: 14px;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 560px) {
	.field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.95rem;
}

.optional {
	font-weight: 400;
	color: var(--muted);
}

input,
select,
textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #b9c3d1;
	border-radius: 10px;
	font: inherit;
	color: var(--text);
	background: #fff;
}

textarea {
	resize: vertical;
	min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(3, 69, 142, 0.18);
}

.has-error input,
.has-error textarea {
	border-color: var(--error);
}

.field-error {
	min-height: 0;
	margin: 4px 0 0;
	font-size: 0.875rem;
	color: var(--error);
}

.field-error:empty {
	display: none;
}

.form-alert {
	padding: 12px 16px;
	border-radius: 10px;
	background: #fdecea;
	color: var(--error);
	font-weight: 600;
}

.form-note {
	font-size: 0.9rem;
	color: var(--muted);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.success-box {
	padding: 40px;
	border-radius: var(--radius);
	background: var(--bg-tint);
	border-left: 5px solid var(--yellow);
}

/* Rechtstexte */
.legal h2 {
	margin-top: 2em;
	font-size: 1.35rem;
}

.legal ul {
	padding-left: 1.3em;
}

.legal li {
	margin-bottom: 4px;
}

.toc {
	padding: 20px 28px;
	margin: 32px 0;
	border-radius: var(--radius);
	background: var(--bg-tint);
}

.toc ol {
	margin: 0;
	padding-left: 1.3em;
	columns: 2;
	column-gap: 32px;
}

@media (max-width: 560px) {
	.toc ol {
		columns: 1;
	}
}

.notice {
	padding: 20px 24px;
	border-radius: var(--radius);
	border-left: 5px solid var(--blue);
	background: var(--bg-tint);
}

.notice p:last-child {
	margin: 0;
}

/* Footer */
.site-footer {
	background: var(--blue-darker);
	color: rgba(255, 255, 255, 0.8);
	padding-top: 64px;
	font-size: 0.97rem;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: var(--yellow);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.2fr 0.8fr;
	gap: 40px;
	padding-bottom: 40px;
}

@media (max-width: 880px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

.footer-claim {
	margin-top: 16px;
}

.footer-heading {
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--yellow);
}

address {
	font-style: normal;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 8px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.875rem;
}

.footer-bottom p {
	margin: 0;
}

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

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}
