/* LogRunner – Gestaltung nach dem Prospekt (marketing/LogRunner_Prospekt_*.pdf):
   nachtblauer Kopf, orange Dachzeilen, Kästen mit orangem Rand, Zahlenleiste,
   nachtblauer Abschluss. Was theme.json nicht ausdrücken kann, steht hier. */

:root {
	--lr-navy: var(--wp--preset--color--navy);
	--lr-orange: var(--wp--preset--color--accent);
	--lr-radius: 10px;
	--lr-shadow: 0 2px 4px rgba(10, 18, 51, 0.08), 0 24px 48px -16px rgba(10, 18, 51, 0.35);
	--lr-header-h: 64px;
	--lr-navy-bg: linear-gradient(135deg, #14214d 0%, #1a2a5f 55%, #1f316f 100%);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--lr-header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
strong { color: var(--wp--preset--color--ink); font-weight: 650; }

/* Kopf, Hauptteil und Fuß stoßen aneinander; den Abstand machen die Abschnitte. */
.wp-site-blocks > * { margin-block-start: 0; }

/* ---------- Kopf: nachtblau wie der Prospekt ---------- */

.lr-header {
	background: rgba(20, 33, 77, 0.96);
	-webkit-backdrop-filter: saturate(1.3) blur(10px);
	backdrop-filter: saturate(1.3) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Der Kopf steckt in der Hülle des Template-Teils, die nur so hoch ist wie
   er selbst – kleben muss deshalb die Hülle. */
.wp-site-blocks > :has(> .lr-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > :has(> .lr-header) { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > :has(> .lr-header) { top: 0; } }

.lr-header-row { min-height: var(--lr-header-h); gap: 0.75rem 1.5rem; padding-block: 0.5rem; }
.lr-header-end { gap: 0.5rem 1.5rem; align-items: center; }

.lr-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: #fff;
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.lr-brand img { width: 40px; height: 40px; object-fit: contain; }
.lr-brand:hover { color: var(--wp--preset--color--accent-light); text-decoration: none; }

.lr-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.lr-nav a { color: var(--wp--preset--color--on-navy); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.lr-nav a:hover { color: #fff; }

.lr-nav-cta {
	display: inline-block;
	background: var(--lr-orange);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.45rem 1rem;
	border-radius: 6px;
}
.lr-nav-cta:hover { background: var(--wp--preset--color--accent-dark); }

.lr-nav-blog {
	margin-left: 1.5rem;
	color: var(--wp--preset--color--on-navy);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
	white-space: nowrap;
}
.lr-nav-blog:hover, .lr-nav-blog[aria-current] { color: #fff; }
.lr-nav-blog[aria-current] { box-shadow: inset 0 -2px 0 var(--lr-orange); }

.lr-langs { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.lr-langs a {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 5px;
	color: var(--wp--preset--color--on-navy);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.lr-langs a.is-current { background: #fff; border-color: #fff; color: var(--lr-navy); }

@media (max-width: 860px) {
	.lr-header-row { padding-block: 0.6rem; }
	.lr-header-end { width: 100%; flex-wrap: nowrap !important; justify-content: space-between; }
	.lr-nav {
		min-width: 0;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}
	.lr-nav ul { flex-wrap: nowrap; gap: 0.25rem 1rem; padding-right: 1.5rem; }
	.lr-nav li { white-space: nowrap; }
	.lr-nav-cta { display: none; }
	.lr-nav-blog { margin-left: 0.25rem; }
}

/* ---------- Hauptteil, Abschnitte ---------- */

.lr-main { padding-block: var(--wp--preset--spacing--50); }
.lr-main.lr-main-flush { padding-block: 0; }
.lr-main.lr-main-flush > .wp-block-post-content > :first-child { margin-block-start: 0; }
.lr-main.lr-main-flush > .wp-block-post-content > :last-child { margin-block-end: 0; }
.lr-main .wp-block-post-content > .lr-section { margin-block: 0; }

.lr-section { padding-block: var(--wp--preset--spacing--60); }

.lr-head { margin-bottom: var(--wp--preset--spacing--40); }
.lr-head > * { margin-block: 0; }
.lr-head > * + * { margin-top: 0.4rem; }

.lr-kicker {
	color: var(--lr-orange);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0;
}
.lr-section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-top: 0.4rem; }
.lr-small { font-size: 0.85rem; color: var(--wp--preset--color--muted); line-height: 1.5; }
.lr-muted { color: var(--wp--preset--color--muted); }
.lr-note {
	border-left: 4px solid var(--lr-orange);
	background: var(--wp--preset--color--box);
	padding: 0.85rem 1.1rem;
	border-radius: 0 8px 8px 0;
}

/* Kontur-Knöpfe: auf Weiß nachtblau, auf Blau weiß. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--lr-navy);
	border: 1.5px solid var(--wp--preset--color--box-rule);
	padding: calc(0.7rem - 1.5px) calc(1.4rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--lr-navy); background: transparent; }

.lr-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.lr-cta .wp-block-button.is-style-outline > .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}
.lr-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.lr-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: #fff; }

/* ---------- Kopfbereich: Blau oben, das Bildschirmfoto ragt ins Weiß ---------- */

.lr-hero {
	--lr-shot-overlap: clamp(6rem, 16vw, 14rem);
	background:
		linear-gradient(180deg, transparent calc(100% - var(--lr-shot-overlap)), #fff calc(100% - var(--lr-shot-overlap))),
		var(--lr-navy-bg);
	color: var(--wp--preset--color--on-navy);
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--40);
}
.lr-hero .lr-kicker { color: var(--wp--preset--color--accent-light); }
.lr-hero-cols { align-items: center !important; gap: 2rem; }
.lr-hero-cols > .wp-block-column:first-child { flex-basis: 66% !important; }
.lr-hero-cols > .wp-block-column:last-child { flex-basis: 34% !important; }
.lr-hero-title {
	color: #fff;
	font-size: clamp(3rem, 8vw, 5.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	margin-block: 0.75rem 0.5rem;
}
.lr-hero-sub { color: #dbe2ff; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 400; margin: 0; }
.lr-hero-lede { color: var(--wp--preset--color--on-navy); max-width: 38rem; margin-top: 1.25rem; }
.lr-hero .wp-block-buttons { margin-top: 1.75rem; }
.lr-hero-meta { color: #8f9bc7; font-size: 0.85rem; }
.lr-hero-logo { margin: 0; text-align: center; }
.lr-hero-logo img { width: min(100%, 300px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
@media (max-width: 781px) {
	.lr-hero-cols { flex-direction: column-reverse; }
	.lr-hero-logo img { width: 150px; }
}

/* Bildschirmfoto mit Rahmen und Schatten, wie im Prospekt. */
.lr-window {
	border-radius: var(--lr-radius);
	box-shadow: var(--lr-shadow);
	background: #fff;
	overflow: hidden;
	border: 6px solid #fff;
	outline: 1px solid rgba(10, 18, 51, 0.12);
}
.lr-window img { display: block; width: 100%; border-radius: 4px; }
.lr-hero .lr-window { margin-top: var(--wp--preset--spacing--50); }

/* ---------- Kästen: Alleinstellungsmerkmal, Neue Möglichkeiten ---------- */

.lr-box {
	background: var(--wp--preset--color--box);
	border: 1px solid var(--wp--preset--color--box-rule);
	border-left: 5px solid var(--lr-orange);
	border-radius: var(--lr-radius);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.lr-box-cols { gap: 2rem; margin: 0; }
.lr-box-cols > .wp-block-column > * { margin-block: 0; }
.lr-box-cols > .wp-block-column > * + * { margin-top: 0.6rem; }
.lr-box-title { font-size: 1.35rem; }
.lr-box h4 { font-size: 1rem; color: var(--lr-navy); }
.lr-box p { font-size: 0.95rem; }

.lr-badge {
	display: inline-block;
	background: var(--lr-orange);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.3rem 0.65rem;
	border-radius: 4px;
}

.lr-dots { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.lr-dots li { position: relative; padding-left: 1.4rem; }
.lr-dots li + li { margin-top: 0.75rem; }
.lr-dots li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--lr-orange);
}

/* ---------- Drei Säulen mit Symbol ---------- */

.lr-pillars { margin-top: var(--wp--preset--spacing--50) !important; }

/* Die Raster rechnen ihre Spalten selbst: WordPress teilt sonst mit seinem
   eigenen Abstand und bricht bei einem größeren Abstand eine Spalte zu früh um. */
.lr-pillars, .lr-feats, .lr-stat-grid { display: grid !important; }
.lr-pillars, .lr-feats { grid-template-columns: 1fr !important; }
.lr-pillars { gap: 2rem !important; }
.lr-stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 640px) {
	.lr-feats { grid-template-columns: repeat(2, 1fr) !important; }
	.lr-stat-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 960px) {
	.lr-pillars, .lr-feats { grid-template-columns: repeat(3, 1fr) !important; }
	.lr-stat-grid { grid-template-columns: repeat(5, 1fr) !important; }
}
.lr-pillar { position: relative; padding-left: 3.5rem; }
.lr-pillar > * { margin-block: 0; }
.lr-pillar > * + * { margin-top: 0.4rem; }
.lr-pillar h3 { font-size: 1.05rem; }
.lr-pillar p { font-size: 0.95rem; }
.lr-pillar::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 8px;
	border: 1px solid var(--wp--preset--color--box-rule);
	background-color: var(--wp--preset--color--box);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.25rem;
}
.lr-ico-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314214d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.lr-ico-sync::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314214d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.6-4.5L4 8'/%3E%3Cpath d='M4 3v5h5'/%3E%3Cpath d='M4 13a8 8 0 0 0 14.6 4.5L20 16'/%3E%3Cpath d='M20 21v-5h-5'/%3E%3C/svg%3E"); }
.lr-ico-trophy::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314214d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4z'/%3E%3Cpath d='M17 5h3v2a3 3 0 0 1-3 3M7 5H4v2a3 3 0 0 0 3 3'/%3E%3C/svg%3E"); }

/* ---------- Zahlenleiste ---------- */

.lr-stats {
	background: var(--wp--preset--color--surface);
	border-top: 1px solid var(--wp--preset--color--rule);
	border-bottom: 1px solid var(--wp--preset--color--rule);
	padding-block: var(--wp--preset--spacing--40);
}
.lr-stat-grid { gap: 1.5rem 1rem !important; }
.lr-stat { text-align: center; }
.lr-stat > * { margin-block: 0; }
.lr-stat-num { color: var(--lr-navy); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.lr-stat-label { color: var(--lr-navy); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.35rem !important; }
.lr-stat-sub { color: var(--wp--preset--color--body); font-size: 0.8rem; margin-top: 0.2rem !important; }

/* ---------- Funktionen: orange Kante links ---------- */

.lr-feats { gap: 1.75rem 2.25rem !important; margin-bottom: var(--wp--preset--spacing--50) !important; }
.lr-feat { border-left: 3px solid var(--lr-orange); padding-left: 0.9rem; }
.lr-feat > * { margin-block: 0; }
.lr-feat h3 { font-size: 1rem; }
.lr-feat p { font-size: 0.92rem; margin-top: 0.3rem; line-height: 1.5; }

.lr-waterfall { margin-top: var(--wp--preset--spacing--50) !important; }
.lr-waterfall img { display: block; width: 100%; border-radius: var(--lr-radius); box-shadow: var(--lr-shadow); }
.wp-element-caption { color: var(--wp--preset--color--body); font-size: 0.85rem; margin-top: 0.75rem; }
.lr-waterfall .wp-element-caption { text-align: left; }

/* ---------- Plattformen ---------- */

.lr-plat-cols { align-items: center !important; gap: clamp(2rem, 5vw, 4rem); }
.lr-plat-cols > .wp-block-column:first-child { flex-basis: 38% !important; }
.lr-plat-cols > .wp-block-column:last-child { flex-basis: 62% !important; }
.lr-globe { text-align: center; }
.lr-globe img { width: min(100%, 420px); filter: drop-shadow(0 16px 28px rgba(10, 18, 51, 0.18)); }
.lr-globe .wp-element-caption { text-align: center; }

.lr-plat-table { margin-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--rule); }
.lr-plat-row {
	display: grid;
	grid-template-columns: 9.5rem 1fr;
	gap: 0.25rem 1.25rem;
	padding-block: 0.8rem;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.lr-plat-row > * { margin: 0 !important; }
.lr-plat-table > .lr-plat-row { margin-block: 0 !important; }
.lr-plat-name { color: var(--lr-navy); font-weight: 700; font-size: 0.95rem; }
.lr-plat-desc { font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 520px) { .lr-plat-row { grid-template-columns: 1fr; } }

.lr-measure {
	background: var(--wp--preset--color--surface);
	border-radius: 8px;
	padding: 0.85rem 1.1rem;
	font-size: 0.9rem;
	margin-top: 1.25rem !important;
}
.lr-dl-buttons { margin-top: 1.5rem !important; }

/* ---------- Abschluss: Download, Kontakt, Unterstützen ---------- */

.lr-cta {
	background: var(--lr-navy-bg);
	color: var(--wp--preset--color--on-navy);
	padding-block: var(--wp--preset--spacing--50);
}
.lr-cta .lr-kicker { color: var(--wp--preset--color--accent-light); }
.lr-cta-cols { gap: 2rem; }
.lr-cta-cols > .wp-block-column > * { margin-block: 0; }
.lr-cta-cols > .wp-block-column > * + * { margin-top: 0.6rem; }
.lr-cta p { font-size: 0.95rem; }
.lr-cta a { color: #fff; }
.lr-cta-big, .lr-cta-big a { color: #fff; font-weight: 700; font-size: 1.1rem !important; text-decoration: none; }
.lr-cta-big a:hover { text-decoration: underline; }
.lr-cta .wp-block-buttons { margin-top: 1rem !important; }
.lr-cta .wp-block-button__link { font-size: 0.88rem; padding: 0.5rem 1rem; }
.lr-cta .lr-credits {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #8f9bc7;
	font-size: 0.78rem;
}

/* ---------- Fuß: die letzte Zeile des Prospekts ---------- */

.lr-footer {
	background: var(--wp--preset--color--navy-deep);
	padding-block: 1.5rem;
	font-size: 0.85rem;
	color: #8f9bc7;
}
.lr-footer-row { gap: 1rem 2rem; align-items: center; }
.lr-footer .lr-brand { font-size: 1rem; }
.lr-footer .lr-brand img { width: 30px; height: 30px; }
.lr-legal a { color: var(--wp--preset--color--on-navy); }
.lr-legal a:hover { color: #fff; }
.lr-footer-note { margin-top: 0.75rem; }

/* ---------- Unterseiten und Beiträge ---------- */

.lr-post-item { padding-block: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--rule); }

/* ---------- Blog ---------- */

.lr-blog > * + * { margin-block-start: 0.75rem; }
.lr-blog .lr-kicker { margin-bottom: 0; }
.lr-blog-title { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-top: 0.3rem; }
.lr-blog-lead { color: var(--wp--preset--color--body); font-size: 1.1rem; margin-bottom: 2rem !important; }
.lr-blog-back { margin: 0; font-size: 0.9rem; }
.lr-blog-back a { color: var(--wp--preset--color--muted); text-decoration: none; font-weight: 600; }
.lr-blog-back a:hover { color: var(--lr-orange); }

.lr-posts .wp-block-post-template { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.lr-post-card {
	display: grid;
	background: var(--wp--preset--color--box);
	border: 1px solid var(--wp--preset--color--box-rule);
	border-left: 5px solid var(--lr-orange);
	border-radius: var(--lr-radius);
	overflow: hidden;
	margin: 0 !important;
}
.lr-post-card-image { margin: 0 !important; }
.lr-post-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lr-post-card-body { padding: clamp(1.1rem, 3vw, 1.6rem); margin: 0 !important; }
.lr-post-card-body > * { margin-block: 0; }
.lr-post-card-body > * + * { margin-top: 0.5rem; }
.lr-post-card-date, .lr-post-meta {
	color: var(--lr-orange);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lr-post-card-title { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }
.lr-post-card-title a { color: var(--lr-navy); text-decoration: none; }
.lr-post-card-title a:hover { color: var(--lr-orange); }
.lr-post-card-excerpt { color: var(--wp--preset--color--body); }
.lr-post-card-excerpt p { margin: 0; }
.lr-read-more { display: inline-block; color: var(--lr-orange); font-weight: 600; text-decoration: none; }
.lr-read-more::after { content: " →"; }
.lr-read-more:hover { color: var(--wp--preset--color--accent-dark); }
@media (min-width: 640px) {
	.lr-post-card:has(> .lr-post-card-image) { grid-template-columns: 38% 1fr; }
}

.lr-pagination { margin-top: 2rem; font-weight: 600; }
.lr-pagination a { color: var(--lr-navy); text-decoration: none; }
.lr-pagination .current { color: var(--lr-orange); }

.lr-post-meta { gap: 0.4rem 1rem; margin-top: 1.5rem !important; }
.lr-post-meta a { color: inherit; text-decoration: none; }
.lr-post-image { margin-block: 1.5rem !important; }
.lr-post-image img { border-radius: var(--lr-radius); border: 1px solid var(--wp--preset--color--rule); }
.lr-post-content { margin-top: 1.5rem !important; }
.lr-post-tags { color: var(--wp--preset--color--muted); font-size: 0.9rem; }
.lr-post-tags a { color: inherit; }
.lr-post-nav {
	gap: 1rem;
	margin-top: 3rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--rule);
	font-weight: 600;
}
.lr-post-nav a { color: var(--lr-navy); text-decoration: none; }
.lr-post-nav a:hover { color: var(--lr-orange); }
.lr-post-nav .post-navigation-link-next { margin-left: auto; text-align: right; }
.lr-post-item > * { margin-block: 0.25rem; }
.lr-meta { color: var(--wp--preset--color--muted); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
