/*
Theme Name: SHR Security
Theme URI: https://shr-security.de
Author: Dario Uhde · Eventkalender Eichsfeld
Description: Individuelles Theme für SHR Security UG (haftungsbeschränkt). Dunkles Design im roten CD, bewusst ohne Personenfotos. Seiten werden beim Aktivieren automatisch angelegt. Einstellungen unter Design › Customizer › SHR Einstellungen.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietär
Text Domain: shr
*/

:root {
	--bg: #0a0a0b;
	--bg-2: #0d0d0f;
	--panel: #121215;
	--panel-2: #17171b;
	--line: #232328;
	--line-2: #2e2e34;
	--text: #ffffff;
	--muted: #a3a3ab;
	--dim: #6e6e76;
	--red: #d8060f;
	--red-hot: #ff1a1a;
	--red-dark: #8f040a;
	--radius: 6px;
	--wrap: 1160px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(0,0,0,.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.nav a { color: var(--muted); font-size: 15px; letter-spacing: .02em; transition: color .2s; }
.nav a:hover, .nav .is-active a { color: var(--text); }
.nav .is-active a { position: relative; }
.nav .is-active a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--red); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); width: 44px; height: 44px; color: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 28px; border-radius: 3px;
	font-weight: 700; font-size: 15px; letter-spacing: .02em;
	border: 1px solid transparent; cursor: pointer; transition: all .2s;
	font-family: inherit;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-outline { border-color: var(--line-2); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; }
.btn-line-red { border-color: var(--red); color: #fff; padding: 10px 22px; font-size: 14px; }
.btn-line-red:hover { background: var(--red); }

/* ---------- Typo helpers ---------- */
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.eyebrow.red { color: var(--red-hot); }
.h1 { font-size: clamp(38px, 6vw, 66px); }
.h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.red { color: var(--red-hot); }

section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 88px 0 40px; }
.page-head + section { padding-top: 16px; }

/* ---------- Hero (ohne Foto) ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: 130px 0 120px;
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(216,6,15,.22), transparent 60%),
		radial-gradient(600px 400px at 10% 100%, rgba(216,6,15,.10), transparent 60%),
		var(--bg);
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px);
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero-mark {
	position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
	font-size: clamp(180px, 30vw, 420px); font-weight: 900; line-height: .8; letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 2px rgba(216,6,15,.35);
	user-select: none; pointer-events: none; font-style: italic;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 720px; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--red-hot); }
.hero .lead { margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Facts ---------- */
.facts { background: var(--panel); border-bottom: 1px solid var(--line); padding: 42px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fact { border-left: 2px solid var(--red); padding-left: 16px; }
.fact strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.fact span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

/* ---------- Split / Trust panel ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.trust {
	background: linear-gradient(160deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line); border-radius: var(--radius);
	padding: 38px; position: relative; overflow: hidden;
}
.trust::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red), transparent); }
.trust h3 { font-size: 20px; margin-bottom: 22px; }
.check { list-style: none; margin: 0; padding: 0; }
.check li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.check li:first-child { border-top: 0; padding-top: 0; }
.check li strong { color: #fff; display: block; font-size: 16px; }
.check .ic { flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(216,6,15,.15); color: var(--red-hot); display: grid; place-items: center; }
.check .ic svg { width: 14px; height: 14px; }

/* ---------- Leistungen Grid ---------- */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); transition: background .2s; }
.service:hover { background: var(--panel); }
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n+3) { border-bottom: 0; }
.service-icon { width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--red-hot); margin-bottom: 20px; }
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .num { font-size: 13px; font-weight: 700; color: var(--red-hot); letter-spacing: .15em; display: block; margin-bottom: 14px; }

.linkcard { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; transition: border-color .2s, background .2s; }
.linkcard:hover { border-color: var(--red); background: var(--panel-2); }
.linkcard strong { display: block; font-size: 17px; }
.linkcard small { color: var(--dim); font-size: 14px; }
.linkcard .go { color: var(--red-hot); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.linkcard.is-empty { opacity: .55; pointer-events: none; }

.note { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; color: var(--dim); font-size: 14.5px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--red-hot); font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; margin: 0; }

/* ---------- CTA Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red)); padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin: 8px 0 0; color: rgba(255,255,255,.85); }
.cta-band .btn { background: #000; color: #fff; }
.cta-band .btn:hover { background: #fff; color: #000; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form label { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.form .field { margin-bottom: 20px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
	width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px;
	color: #fff; font: inherit; font-size: 16px; padding: 13px 14px; transition: border-color .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form .consent input { margin-top: 4px; accent-color: var(--red); }
.form .consent a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; font-size: 15px; }
.alert.ok { background: rgba(30,160,80,.12); border: 1px solid rgba(30,160,80,.5); }
.alert.err { background: rgba(216,6,15,.12); border: 1px solid var(--red); }

.info-list { border-top: 1px solid var(--line-2); }
.info-list > div { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.info-list small { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.info-list strong { display: block; font-size: 19px; }
.info-list a:hover { color: var(--red-hot); }
.info-list span { color: var(--muted); font-size: 15.5px; }

/* ---------- Generische Seite (Impressum etc.) ---------- */
.content { max-width: 820px; color: var(--muted); }
.content h2, .content h3 { color: #fff; margin: 1.6em 0 .6em; }
.content a { color: #fff; text-decoration: underline; }
.content h2 { font-size: 24px; }
.content h3 { font-size: 18px; margin-top: 1.4em; }
.wrap.content { max-width: var(--wrap); }
.wrap.content > * { max-width: 820px; }
mark.shr-todo { background: var(--red); color: #fff; padding: 1px 6px; border-radius: 3px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14.5px; color: var(--dim); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.foot-grid img { height: 40px; width: auto; margin-bottom: 16px; }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-bottom nav { display: flex; gap: 24px; }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.nav { position: absolute; top: 84px; left: 0; right: 0; background: #000; border-bottom: 1px solid var(--line); display: none; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
	.nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav .is-active a::after { display: none; }
	.header-cta { display: none; }
	.split, .contact { grid-template-columns: 1fr; gap: 44px; }
	.grid-services { grid-template-columns: 1fr 1fr; }
	.service:nth-child(3n) { border-right: 1px solid var(--line); }
	.service:nth-child(2n) { border-right: 0; }
	.service:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	.service:last-child { border-bottom: 0; }
	.cards.three, .cards.four { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	section { padding: 68px 0; }
	.hero { padding: 90px 0 80px; }
	.hero-mark { opacity: .5; }
	.brand img { height: 38px; }
	.grid-services, .cards, .cards.three, .cards.four, .form .row, .facts .wrap { grid-template-columns: 1fr; }
	.service { border-right: 0 !important; }
	.foot-grid { grid-template-columns: 1fr; }
	.linkcard { padding: 20px; }
}
