/* ============================================
   ERGÄNZUNG zu style.css
   Footer-Legal-Bereich + Unterseiten (Impressum, AGB, Datenschutz, Widerruf)
   Diesen Block ans Ende deiner bestehenden style.css anhängen.
   ============================================ */

/* Service-Item als Link (Verlinkung zu Landing Pages) */
a.service-item {
	text-decoration: none;
	color: inherit;
	display: inline-block;
}
a.service-item:hover {
	text-decoration: none;
	opacity: 0.85;
}

/* Spezialgebiete-Block auf der Startseite */
.home-specialties {
	background: #f7f7f7;
	padding: 40px 0;
	text-align: center;
}
.home-specialties h2 {
	margin-bottom: 24px;
}
.home-specialties .spec-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.home-specialties .spec-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 16px 22px;
	text-decoration: none;
	color: #0d4d5c;
	font-weight: 600;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.home-specialties .spec-card:hover {
	background: #0d4d5c;
	color: #fff;
	transform: translateY(-2px);
}

/* Kontaktformular */
.contact-form .form-group {
	margin-bottom: 18px;
}
.contact-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #222;
	font-size: 15px;
}
.contact-form .required {
	color: #c0392b;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #0d4d5c;
	box-shadow: 0 0 0 3px rgba(13, 77, 92, 0.12);
}
.contact-form textarea {
	resize: vertical;
	min-height: 140px;
}
.contact-form .form-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.contact-form .form-check input[type="checkbox"] {
	margin-top: 4px;
	flex-shrink: 0;
}
.contact-form .form-check label {
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
}
.contact-form .btn-submit {
	background: #0d4d5c;
	color: #fff;
	border: none;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.contact-form .btn-submit:hover {
	background: #0a3d4a;
}
.contact-form .form-note {
	font-size: 13px;
	color: #888;
	margin-top: 14px;
}

/* Cookie-Consent-Banner */
#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #0d4d5c;
	color: #fff;
	padding: 18px 20px;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
	z-index: 99999;
	font-size: 14px;
	line-height: 1.5;
}
#cookie-banner .cb-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
#cookie-banner .cb-text {
	flex: 1 1 380px;
	min-width: 260px;
}
#cookie-banner .cb-text strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}
#cookie-banner .cb-text p {
	margin: 0;
	font-size: 14px;
}
#cookie-banner .cb-text a {
	color: #b8d930;
	text-decoration: underline;
}
#cookie-banner .cb-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
#cookie-banner .cb-btn {
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}
#cookie-banner .cb-decline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
#cookie-banner .cb-decline:hover {
	background: rgba(255, 255, 255, 0.1);
}
#cookie-banner .cb-accept {
	background: #b8d930;
	color: #0d4d5c;
}
#cookie-banner .cb-accept:hover {
	background: #a3c225;
}
@media (max-width: 640px) {
	#cookie-banner .cb-buttons {
		width: 100%;
	}
	#cookie-banner .cb-btn {
		flex: 1;
	}
}

/* Widerrufs-Link in der Datenschutzerklärung */
.consent-revoke-btn {
	display: inline-block;
	background: #0d4d5c;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none !important;
	font-weight: 600;
	margin: 6px 0;
}
.consent-revoke-btn:hover {
	background: #0a3d4a;
}

/* Footer Legal Links */
.footer-legal {
	background: #0d4d5c;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal .legal-links {
	list-style: none !important;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
}

.footer-legal .legal-links li {
	display: inline-block;
	background: none !important;
	padding-left: 0 !important;
}

.footer-legal .legal-links li::before,
.footer-legal .legal-links li::marker {
	content: none !important;
	display: none !important;
}

.footer-legal .legal-links a {
	color: #e5e5e5;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-legal .legal-links a:hover {
	color: #b8d930;
	text-decoration: underline;
}

/* ============================================
   UNTERSEITEN (Impressum, AGB, Datenschutz, Widerruf)
   ============================================ */

.subpage {
	background: #f7f7f7;
	padding: 60px 0 80px;
}

.subpage-inner {
	background: #fff;
	max-width: 900px;
	margin: 0 auto;
	padding: 50px 60px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border-radius: 4px;
}

.subpage-inner h1 {
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin: 0 0 8px;
	border-bottom: 3px solid #2196f3;
	padding-bottom: 14px;
	display: inline-block;
}

.subpage-inner h2 {
	font-size: 22px;
	font-weight: 700;
	color: #222;
	margin: 36px 0 14px;
}

.subpage-inner h3 {
	font-size: 17px;
	font-weight: 700;
	color: #333;
	margin: 24px 0 10px;
}

.subpage-inner p {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 14px;
}

.subpage-inner ul {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 14px;
	padding-left: 22px;
}

.subpage-inner ul li {
	margin-bottom: 6px;
}

.subpage-inner a {
	color: #2196f3;
	text-decoration: none;
	word-break: break-word;
}

.subpage-inner a:hover {
	text-decoration: underline;
}

.subpage-inner strong {
	color: #222;
}

.subpage-inner .meta {
	color: #888;
	font-size: 14px;
	font-style: italic;
	margin-top: -4px;
	margin-bottom: 24px;
}

.subpage-inner .info-block {
	background: #f3f7fb;
	border-left: 4px solid #2196f3;
	padding: 18px 22px;
	margin: 20px 0;
	border-radius: 2px;
}

.subpage-inner .info-block p:last-child {
	margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.subpage {
		padding: 30px 15px;
	}
	.subpage-inner {
		padding: 30px 22px;
	}
	.subpage-inner h1 {
		font-size: 26px;
	}
	.subpage-inner h2 {
		font-size: 19px;
	}
}
