/* Landingpages Detektei HIRSCH – gemeinsames Stylesheet aller Domains.
   Farben, Schrift und Maße entsprechen dem Theme der Hauptseite (theme.json/style.css). */

:root {
	--primary: #1198de;
	--secondary: #0ab6d1;
	--contrast: #1c1c1c;
	--muted: #a5a5a5;
	--base: #fff;
	--soft: #eff0f2;
	--sidebar: 210px;
	--wrap: 1064px;
	--header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (min-width: 782px) { html { scroll-padding-top: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--contrast);
	background: var(--base);
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--secondary); }
h1, h2, h3 { font-weight: 500; line-height: 1.3; margin: 0; }
p { margin: 0 0 1rem; }

.lp-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	padding: .5rem 1rem; background: var(--base); color: var(--contrast);
}
.lp-skip:focus { left: 1rem; top: 1rem; }

/* Buttons ------------------------------------------------------------------ */
.lp-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.lp-btn {
	display: inline-block;
	padding: .8rem 1.75rem;
	border-radius: 2px;
	background: var(--primary);
	color: var(--base) !important;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .03em;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease;
}
a.lp-btn:hover,
a.lp-btn:focus-visible { background: var(--secondary); box-shadow: 0 .5em 1em rgb(0 0 0 / 20%); }
.lp-btn a, .lp-btn span { color: inherit; text-decoration: none; }

/* Sidebar / Header ------------------------------------------------------------ */
.lp-sidebar { background: var(--contrast); color: var(--base); padding: 0 1.25rem; z-index: 30; }
.lp-sidebar-bar { display: flex; align-items: center; justify-content: space-between; }
.lp-logo img { display: block; width: 170px; height: auto; }
.lp-nav ul { list-style: none; margin: 0; padding: 0; }
.lp-nav a { color: var(--base); text-decoration: none; transition: color 200ms ease; }
.lp-nav a:hover { color: var(--secondary); }
.lp-nav > ul:first-child a { font-size: 20px; font-weight: 700; line-height: 32px; }
.lp-nav-secondary { margin-top: 1.25rem !important; }
.lp-nav-secondary a { font-size: 15px; line-height: 26px; color: #d0d0d0; }
.lp-sidebar-contact { font-size: 14px; padding-top: 1.5rem; }
.lp-sidebar-contact p { margin: 0 0 .35rem; }
.lp-burger { display: none; }

@media (min-width: 782px) {
	.lp-sidebar {
		position: fixed; inset-block: 0; left: 0;
		width: var(--sidebar); height: 100vh; overflow-y: auto;
		display: flex; flex-direction: column;
		padding-bottom: 1.5rem;
		scrollbar-width: none;
	}
	.lp-logo { margin-top: 106px; }
	.lp-nav { margin-top: 86px; display: flex; flex-direction: column; flex: 1; }
	.lp-sidebar-contact { margin-top: auto; }
	.lp-main, .lp-footer { margin-left: var(--sidebar); }
}

@media (max-width: 781px) {
	.lp-sidebar { position: fixed; inset-inline: 0; top: 0; padding-block: .75rem; }
	.lp-logo img { width: 85px; }
	.lp-burger {
		display: grid; place-items: center; gap: 5px;
		width: 40px; height: 40px; padding: 10px;
		background: none; border: 0; cursor: pointer;
	}
	.lp-burger span { display: block; width: 20px; height: 2px; background: var(--base); transition: transform 200ms ease, opacity 200ms ease; }
	.lp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.lp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.lp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.lp-nav { display: none; padding: 1.25rem 0 .75rem; }
	.lp-nav.is-open { display: block; animation: lp-fade 250ms ease both; }
	.lp-main { padding-top: var(--header-h); }
}

@keyframes lp-fade { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }

/* Layout ------------------------------------------------------------------------ */
.lp-wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.lp-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lp-section-tight { padding-top: 1rem; }
.lp-section-soft { background: var(--soft); }
.lp-center { text-align: center; }
.lp-small { font-size: 13px; }

.lp-h2 { font-size: clamp(28px, 3.2vw, 44.8px); text-align: center; }
.lp-kicker {
	position: relative;
	max-width: 900px;
	margin: .9rem auto 2.25rem;
	padding-bottom: .9rem;
	color: var(--primary);
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.4;
	text-align: center;
}
.lp-kicker::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: min(50%, 532px); border-bottom: 1px solid var(--primary);
}
.lp-lead { max-width: 900px; margin: 1rem auto 2rem; text-align: center; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; }

/* Hero ------------------------------------------------------------------------- */
.lp-hero {
	position: relative;
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	padding: 6rem 0 5rem;
	/* Bild kommt per Inline-Style aus dem Template (pro Domain austauschbar) */
	background-color: #333;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--base);
	text-align: center;
}
@media (max-width: 781px) { .lp-hero { min-height: calc(100svh - var(--header-h)); } }
.lp-hero-copy { width: min(var(--wrap), calc(100% - 2rem)); }
.lp-hero-title {
	position: relative;
	padding-bottom: .75rem;
	color: var(--primary);
	font-size: clamp(34px, 4.6vw, 61px);
	font-weight: 400;
	line-height: 1.25;
	animation: lp-drop 900ms cubic-bezier(.17, .67, .3, 1.33) both;
}
.lp-hero-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: min(50%, 532px); border-bottom: 3px solid var(--primary);
}
.lp-hero-sub { margin: 1.25rem 0 .5rem; font-size: 22px; }
.lp-hero-phone { margin: 0; font-size: clamp(26px, 2.6vw, 35px); }
.lp-hero-phone a, .lp-hero-phone span { color: inherit; text-decoration: none; }
.lp-hero-down {
	position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
	line-height: 0; animation: lp-bounce 2s ease-in-out infinite;
}
@keyframes lp-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes lp-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .lp-hero-title, .lp-hero-down { animation: none; } }

/* Intro --------------------------------------------------------------------------- */
.lp-intro { display: grid; grid-template-columns: minmax(0, 1fr) 358px; gap: 3.5rem; align-items: start; }
.lp-intro-text { font-size: 15px; line-height: 1.75; }
.lp-usps {
	list-style: none; margin: 2rem 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem;
	text-align: center; font-size: 15px; line-height: 1.6;
}
.lp-usps li { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.lp-usp-icon { width: 44px; height: 44px; }
.lp-contact-card {
	padding: 2rem 1.5rem;
	text-align: center;
	font-size: 15px;
	background: var(--base);
	box-shadow: 0 4px 8px rgb(0 0 0 / 20%), 0 6px 20px rgb(0 0 0 / 19%);
}
.lp-contact-card img { display: block; margin: 0 auto 1rem; border-radius: 50%; }
.lp-contact-phone { margin: 1.25rem 0 .75rem; font-size: 26px; font-weight: 900; color: var(--primary); }
.lp-contact-phone a, .lp-contact-phone span { color: inherit; text-decoration: none; }

/* Leistungen ----------------------------------------------------------------------- */
.lp-service-grid {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 30px; row-gap: 50px; margin-bottom: 3rem;
}
.lp-service-card {
	display: flex; flex-direction: column;
	color: var(--contrast); text-decoration: none;
	transition: box-shadow 200ms ease;
}
.lp-service-card:hover { color: var(--contrast); box-shadow: 0 10px 40px rgb(28 28 28 / 40%); }
.lp-service-card img { display: block; width: 100%; aspect-ratio: 550 / 320; object-fit: cover; }
.lp-service-card h3 {
	padding: 16px; background: var(--primary); color: var(--base);
	font-size: 16px; font-weight: 400; line-height: 1.4; text-align: center;
}
.lp-service-card p { flex: 1; margin: 0; padding: 16px; background: var(--soft); font-size: 15px; line-height: 1.6; text-align: center; }

/* Dunkle Bänder ------------------------------------------------------------------- */
.lp-band { position: relative; min-height: 435px; display: flex; align-items: center; color: var(--base); padding-block: 4rem; }
.lp-cta {
	background:
		url(img/overlay-oblique.png) repeat,
		linear-gradient(rgb(10 10 10 / 37%), rgb(10 10 10 / 37%)),
		url(img/cta-band-home-bg.jpg) center / cover no-repeat;
}
.lp-band-title {
	position: relative; display: inline-block;
	padding-bottom: .6rem; margin-bottom: 1.25rem;
	font-size: clamp(26px, 2.6vw, 35px);
}
.lp-band-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: min(50%, 532px); border-bottom: 1px solid rgb(255 255 255 / 70%);
}
.lp-cta-text { font-size: 15px; }
.lp-cta .lp-buttons { margin-bottom: 1.25rem; }
.lp-btn-static { cursor: default; }

.lp-stats-band {
	background:
		url(img/overlay-oblique.png) repeat,
		url(img/stats-bg.jpg) center / cover no-repeat;
}
.lp-stats-heading {
	position: relative; display: inline-block;
	padding-bottom: .75rem; margin-bottom: 50px;
}
.lp-stats-heading::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 100%; border-bottom: 3px solid rgb(255 255 255 / 90%);
}
.lp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
.lp-stat { text-align: center; min-width: 200px; }
.lp-stat-icon { width: 40px; height: 40px; }
.lp-stat-number { margin: .5rem 0 0; font-size: clamp(44px, 4vw, 57.6px); font-weight: 600; line-height: 1; }
.lp-stat-label { margin: .25rem 0 0; font-size: clamp(18px, 1.6vw, 22.4px); font-weight: 600; }

/* Kompetenzen ---------------------------------------------------------------------- */
.lp-competences {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.25rem 2.5rem; margin-top: 2rem;
	text-align: center; font-size: 15px; line-height: 1.65;
}
.lp-check-icon { width: 44px; height: 44px; }
.lp-competence h3 { margin: .75rem 0 .5rem; font-size: 22px; font-weight: 600; }

/* Bewertungen ---------------------------------------------------------------------- */
.lp-h2-plain { margin-bottom: .5rem; }
.lp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-bottom: 2.5rem; }
.lp-review { margin: 0; padding: 1.5rem; }
.lp-stars { margin: 0 0 .75rem; color: #f2b134; letter-spacing: .15em; font-size: 1.1rem; line-height: 1; }
.lp-review blockquote { margin: 0 0 .75rem; font-style: italic; font-size: 15px; line-height: 1.6; }
.lp-review figcaption { font-size: 14px; font-weight: 700; }

/* Einsatzgebiet -------------------------------------------------------------------- */
.lp-region { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; font-size: 15px; line-height: 1.75; }
.lp-places {
	list-style: none; margin: 0; padding: 1.75rem 2rem;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.5rem;
	background: var(--base); box-shadow: 0 4px 8px rgb(0 0 0 / 8%);
	font-weight: 700;
}
.lp-places li { display: flex; align-items: center; gap: .5rem; line-height: 1.3; }
.lp-pin-icon { width: 22px; height: 22px; flex-shrink: 0; }
.lp-note {
	display: flex; gap: .75rem; align-items: flex-start;
	margin-top: 1.5rem; padding: 1rem 1.25rem;
	background: #e3f2fb; color: var(--primary);
}
.lp-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .2rem; }
.lp-note p { margin: 0; }
.lp-note strong { color: var(--contrast); }

/* Footer --------------------------------------------------------------------------- */
.lp-footer { background: var(--contrast); color: #d0d0d0; font-size: 14px; line-height: 1.7; padding-top: 3rem; }
.lp-footer a { color: #d0d0d0; text-decoration: none; }
.lp-footer a:hover { color: var(--secondary); }
.lp-footer strong { color: var(--base); }
.lp-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.lp-footer img { width: 150px; display: block; }
.lp-copy { margin: 2rem 0 0; padding: 1rem 1.25rem; border-top: 1px solid rgb(255 255 255 / 10%); text-align: center; font-size: 13px; color: var(--muted); }

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.lp-intro { grid-template-columns: 1fr; }
	.lp-contact-card { max-width: 420px; margin-inline: auto; width: 100%; }
	.lp-service-grid, .lp-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.lp-competences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-region { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 599px) {
	.lp-service-grid, .lp-reviews, .lp-competences, .lp-footer-grid { grid-template-columns: 1fr; }
	.lp-usps { gap: 1.25rem 1rem; }
	.lp-places { grid-template-columns: 1fr 1fr; padding: 1.25rem; font-size: 14px; }
	.lp-band { min-height: 0; }
	.lp-buttons .lp-btn { width: 100%; text-align: center; }
}

/* H1 als Domain (Typ "ort"): "www." und ".de" halb so groß ---------------------------- */
.lp-h1-domain { white-space: nowrap; }
.lp-h1-small { font-size: .5em; }
.lp-h1-sep { white-space: nowrap; }
@media (max-width: 599px) {
	/* lange Domains dürfen am Bindestrich umbrechen */
	.lp-h1-domain { white-space: normal; overflow-wrap: anywhere; }
}

/* Projektseite ----------------------------------------------------------------------- */
.lp-project { max-width: 820px; }
.lp-project-text { font-size: 16px; line-height: 1.75; text-align: center; }
.lp-project .lp-note { margin: 2rem 0 2.5rem; }
