/* =========================================================
   LB Detektei – Demo Theme
   Farb- und Schriftlogik übernommen aus der Bestandsanalyse
   vom 19.05.2026. Nichts hier ist erfunden.
   ========================================================= */

:root {
	--lb-gold:        #BF9B30;
	--lb-text:        #535353;
	--lb-dark:        #4D4D4D;
	--lb-dark-2:      #424242;
	--lb-heading:     #4F4D50;
	--lb-light:       #F7F7F7;
	--lb-border:      #E6E6E6;
	--lb-white:       #FFFFFF;

	--lb-font-head:   'Anton', 'Arial Narrow', sans-serif;
	--lb-font-body:   'Mulish', 'Helvetica Neue', Arial, sans-serif;

	--lb-wrap:        1200px;
}

/* ---------- Reset / Basis ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--lb-font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--lb-text);
	background: var(--lb-white);
}

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

a { color: var(--lb-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.lb-wrap {
	max-width: var(--lb-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------- Top-Leiste ---------- */

.lb-topbar {
	background: var(--lb-dark);
	color: var(--lb-white);
	font-size: 14px;
}
.lb-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 34px;
	flex-wrap: wrap;
}
.lb-topbar__list {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lb-topbar a { color: var(--lb-white); }
.lb-topbar__contact { display: flex; gap: 20px; }

/* ---------- Header / Navigation ---------- */

.lb-header {
	background: var(--lb-white);
	border-bottom: 1px solid var(--lb-border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.lb-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	min-height: 84px;
	flex-wrap: wrap;
}

.lb-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--lb-font-head);
	font-size: 26px;
	letter-spacing: .04em;
	color: var(--lb-dark-2);
	text-decoration: none;
}
.lb-logo:hover { text-decoration: none; }
.lb-logo__mark { color: var(--lb-gold); font-size: 30px; line-height: 1; }
.lb-logo__text strong { color: var(--lb-gold); font-weight: 400; }

.lb-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	flex-wrap: wrap;
}
.lb-nav__list > li > a {
	display: block;
	padding: 8px 14px;
	font-weight: 600;
	font-size: 17px;
	color: var(--lb-text);
	border: 2px solid transparent;
}
.lb-nav__list > li > a:hover { color: var(--lb-gold); text-decoration: none; }
.lb-nav__list > li.current-menu-item > a,
.lb-nav__list > li.current_page_item > a,
.lb-nav__list > li.current-menu-ancestor > a {
	border-color: var(--lb-gold);
	color: var(--lb-gold);
}

/* ---------- Hero ---------- */

.lb-hero { position: relative; }
.lb-hero img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	filter: grayscale(100%);
}
.lb-hero__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(77,77,77,.85);
	color: var(--lb-white);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 6px 12px;
}

/* ---------- Zweispaltiges Layout ---------- */

.lb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 48px;
	padding-block: 48px 64px;
	align-items: start;
}

/* ---------- Typografie Inhalt ---------- */

.lb-h1 {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.25;
	color: var(--lb-text);
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.lb-subline {
	font-style: italic;
	color: var(--lb-gold);
	font-size: 18px;
	margin: 0 0 32px;
}

.lb-h3 {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 21px;
	line-height: 1.35;
	color: var(--lb-heading);
	margin: 0 0 14px;
}

.lb-section { margin-bottom: 36px; }
.lb-section--hell {
	background: var(--lb-light);
	padding: 28px 30px;
	border-left: 3px solid var(--lb-gold);
}
.lb-section--gold {
	background: var(--lb-gold);
	color: var(--lb-white);
	padding: 28px 30px;
}
.lb-section--gold .lb-h3,
.lb-section--gold .lb-rte { color: var(--lb-white); }
.lb-section--gold a { color: var(--lb-white); text-decoration: underline; }

.lb-empty {
	background: var(--lb-light);
	border: 1px dashed var(--lb-border);
	padding: 24px;
	color: var(--lb-dark);
}

/* ---------- Rich-Text-Ausgabe (das, was aus dem WYSIWYG kommt) ---------- */

.lb-rte { font-size: 17px; }
.lb-rte > *:first-child { margin-top: 0; }
.lb-rte > *:last-child { margin-bottom: 0; }
.lb-rte p { margin: 0 0 1.1em; }
.lb-rte h2 { font-family: var(--lb-font-head); font-weight: 400; font-size: 28px; color: var(--lb-heading); margin: 1.4em 0 .5em; }
.lb-rte h3 { font-family: var(--lb-font-head); font-weight: 400; font-size: 21px; color: var(--lb-heading); margin: 1.4em 0 .5em; }
.lb-rte h4 { font-family: var(--lb-font-head); font-weight: 400; font-size: 18px; color: var(--lb-heading); margin: 1.3em 0 .5em; }
.lb-rte a { color: var(--lb-gold); text-decoration: underline; }
.lb-rte ul, .lb-rte ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.lb-rte li { margin-bottom: .4em; }
.lb-rte blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--lb-gold);
	font-style: italic;
}

/* Formate aus dem Style-Dropdown des Editors.
   Diese Klassen sind der Vertrag zwischen Editor und Frontend. */
.lb-gold { color: var(--lb-gold); }
.lb-intro { font-size: 19px; line-height: 1.65; }
.lb-hinweis { font-size: 15px; font-style: italic; color: var(--lb-dark); }
.lb-balken {
	background: var(--lb-gold);
	color: var(--lb-white);
	padding: 12px 18px;
	font-weight: 600;
}
.lb-balken a { color: var(--lb-white); }
.lb-check { list-style: none; padding-left: 0; }
.lb-check li { position: relative; padding-left: 28px; }
.lb-check li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--lb-gold);
	font-weight: 700;
}

/* ---------- Hinweisbox ---------- */

.lb-hinweis-box {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--lb-border);
	font-size: 15px;
	font-style: italic;
	color: var(--lb-dark);
}
.lb-hinweis-box p { margin: 0 0 .8em; }

/* ---------- Sidebar-Box ---------- */

.lb-sidebar { position: sticky; top: 110px; }

.lb-box {
	border: 1px solid var(--lb-border);
	padding: 26px 24px;
	margin-bottom: 24px;
	background: var(--lb-white);
}
.lb-box__title {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 21px;
	color: var(--lb-heading);
	margin: 0 0 16px;
	text-transform: uppercase;
}
.lb-box__line { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.lb-box__line--small { font-size: 16px; font-weight: 400; }
.lb-box__line a { color: var(--lb-gold); }
.lb-box__hours {
	margin: 16px 0 20px;
	font-size: 15px;
	color: var(--lb-dark);
	line-height: 1.6;
}
.lb-box__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.lb-box--trust { font-size: 14px; color: var(--lb-dark); background: var(--lb-light); }
.lb-box--trust p { margin: 0; line-height: 1.8; }

/* ---------- Buttons (Outline, wie im Bestand) ---------- */

.lb-btn {
	display: inline-block;
	padding: 11px 20px;
	border: 2px solid var(--lb-dark);
	color: var(--lb-dark);
	background: transparent;
	font-family: var(--lb-font-body);
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.lb-btn:hover { background: var(--lb-dark); color: var(--lb-white); text-decoration: none; }
.lb-btn--gold { border-color: var(--lb-gold); color: var(--lb-gold); }
.lb-btn--gold:hover { background: var(--lb-gold); color: var(--lb-white); }

/* Variante für dunkle Flächen: goldener Rahmen, weiße Schrift. */
.lb-btn--gold-invers {
	border-color: var(--lb-gold);
	color: var(--lb-white);
	min-width: 180px;
}
.lb-btn--gold-invers:hover { background: var(--lb-gold); color: var(--lb-white); }

/* ---------- Kontakt-Sektion ----------
   Vollbreites Hintergrundbild in Graustufen, dunkles Overlay darüber,
   Textblock linksbündig im zentrierten Inhaltsraster – wie im Bestand. */

.lb-kontakt {
	position: relative;
	isolation: isolate;
	background: var(--lb-dark-2);
	color: var(--lb-white);
	overflow: hidden;
}

.lb-kontakt__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.lb-kontakt__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(100%);
}
/* Dunkles Overlay: hält den Text lesbar, ohne das Bild zu verstecken. */
.lb-kontakt__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(60, 60, 60, .78);
}

.lb-kontakt__inner {
	display: flex;
	align-items: center;
	min-height: 620px;
	padding-block: 64px;
}

.lb-kontakt__box { max-width: 430px; }

.lb-kontakt__title {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 34px;
	line-height: 1.2;
	color: var(--lb-gold);
	margin: 0 0 10px;
}
.lb-kontakt__sub {
	color: var(--lb-gold);
	font-size: 17px;
	margin: 0 0 22px;
}

.lb-kontakt__zeile {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 18px;
}
.lb-kontakt__zeile--gross { font-size: 21px; font-weight: 700; }
.lb-kontakt__zeile a { color: var(--lb-white); }
.lb-kontakt__zeile a:hover { color: var(--lb-gold); text-decoration: none; }

.lb-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--lb-gold);
}
.lb-icon svg { width: 100%; height: 100%; display: block; }

.lb-kontakt__buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 28px 0 28px;
}

.lb-kontakt__frei {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 2px;
}
.lb-kontakt__zeiten {
	font-size: 15px;
	color: rgba(255,255,255,.85);
	margin: 0 0 18px;
	line-height: 1.6;
}
.lb-kontakt__hinweis {
	font-size: 15px;
	color: rgba(255,255,255,.9);
}
.lb-kontakt__hinweis p { margin: 0; }
.lb-kontakt__hinweis a { color: var(--lb-gold); text-decoration: none; }
.lb-kontakt__hinweis a:hover { text-decoration: underline; }

.lb-kontakt--ohne-bild .lb-kontakt__inner { min-height: 480px; }

/* ---------- News-Teaser ---------- */

.lb-news { padding-block: 64px; }
.lb-news__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.lb-news__thumb img { filter: grayscale(100%); width: 100%; }
.lb-news__placeholder {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--lb-light);
	border: 1px solid var(--lb-border);
}
.lb-news__title {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 21px;
	margin: 16px 0 8px;
	line-height: 1.3;
}
.lb-news__title a { color: var(--lb-heading); }
.lb-news__excerpt { font-size: 15px; margin: 0 0 8px; }
.lb-news__more { font-weight: 600; font-size: 15px; }

/* ---------- Footer ---------- */

.lb-footer { background: var(--lb-white); }
.lb-footer__rule { height: 2px; background: var(--lb-gold); }
.lb-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-block: 48px;
}
.lb-footer h3 {
	font-family: var(--lb-font-head);
	font-weight: 400;
	font-size: 18px;
	color: var(--lb-heading);
	margin: 0 0 14px;
	text-transform: uppercase;
}
.lb-footer__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lb-footer__list li { margin-bottom: 6px; }
.lb-footer__list a { color: var(--lb-text); }
.lb-footer__list a:hover { color: var(--lb-gold); }
.lb-footer__list--cities { columns: 2; column-gap: 20px; }
.lb-footer__contact { font-size: 15px; margin-top: 14px; }
.lb-footer__contact a { color: var(--lb-gold); }
.lb-footer__base {
	border-top: 1px solid var(--lb-border);
	padding-block: 18px;
	font-size: 13px;
	color: var(--lb-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.lb-layout { grid-template-columns: 1fr; gap: 40px; }
	.lb-sidebar { position: static; }
	.lb-footer__grid { grid-template-columns: 1fr 1fr; }
	.lb-kontakt__inner { min-height: 520px; padding-block: 48px; }
	.lb-kontakt__box { max-width: 100%; }
}

@media (max-width: 720px) {
	.lb-news__grid { grid-template-columns: 1fr; }
	.lb-footer__grid { grid-template-columns: 1fr; }
	.lb-header__inner { min-height: 0; padding-block: 14px; }
	.lb-nav__list { gap: 2px; }
	.lb-nav__list > li > a { padding: 6px 10px; font-size: 15px; }
	.lb-h1 { font-size: 26px; }
	.lb-kontakt__inner { min-height: 0; padding-block: 40px; }
	.lb-kontakt__title { font-size: 28px; }
	.lb-kontakt__zeile--gross { font-size: 19px; }
	.lb-kontakt__buttons { align-self: stretch; }
	.lb-btn--gold-invers { min-width: 0; width: 100%; }
}
