@charset "utf-8";
/* ============================================================
   Moldenhauer OHG Elektrotechnik – Design System
   Pattern:  Trust & Authority (industrieller B2B-Dienstleister)
   Marke:    Schwarz + Orange (#ff9933) + Weiss  [beibehalten]
   Schrift:  Inter
   Editierbar mit Microsoft Expression Web 4 (reines HTML/CSS)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Design-Tokens ---------- */
:root {
	--orange: #ff9933;
	--orange-hell: #ffb366;
	--schwarz: #0d0d0d;
	--nacht: #141414;
	--karte: #1a1a1a;
	--karte-rand: #2a2a2a;
	--weiss: #f4f4f4;
	--grau: #a0a0a0;
	--radius: 8px;
	--speed: 200ms;
	--breite: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', 'Century Gothic', 'Segoe UI', Arial, sans-serif;
	background-color: var(--schwarz);
	color: var(--weiss);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; transition: color var(--speed) ease; }
a:hover { color: var(--orange-hell); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

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

hr { border: none; border-top: 1px solid var(--karte-rand); margin: 22px 0; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }

/* ---------- Sticky Kopf ---------- */
#header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(8, 8, 8, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--karte-rand);
}

.header-inner {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.marke { display: flex; align-items: center; gap: 14px; }
.marke img { height: 54px; width: auto; border-radius: 4px; }
.marke .wort { display: flex; flex-direction: column; line-height: 1.1; }
.marke .wort b { color: var(--weiss); font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.marke .wort span { color: var(--orange); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

/* Top-Navigation (Desktop) */
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
	color: var(--weiss);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color var(--speed), color var(--speed);
}
.topnav a:hover { background-color: var(--karte); color: var(--orange); }
.topnav .btn-cta {
	background-color: var(--orange);
	color: #000;
	font-weight: 700;
	padding: 9px 18px;
}
.topnav .btn-cta:hover { background-color: var(--orange-hell); color: #000; }

/* Mobil-Umschalter */
.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--karte-rand);
	border-radius: 6px;
	padding: 8px 10px;
	cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--weiss); margin: 4px 0; transition: var(--speed); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: var(--radius);
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform var(--speed), background-color var(--speed), color var(--speed);
}
.btn-primary { background-color: var(--orange); color: #000; }
.btn-primary:hover { background-color: var(--orange-hell); color: #000; transform: translateY(-2px); }
.btn-ghost { border-color: var(--orange); color: var(--orange); }
.btn-ghost:hover { background-color: var(--orange); color: #000; transform: translateY(-2px); }

/* ---------- Hero (Startseite) ---------- */
.hero {
	position: relative;
	background:
		linear-gradient(180deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.92) 100%),
		#000;
	background-size: cover;
	background-position: center;
	border-bottom: 3px solid var(--orange);
	overflow: hidden;
}
.hero-inner {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 90px 24px 80px;
}
.hero .eyebrow {
	display: inline-block;
	color: var(--orange);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 16px;
}
.hero h1 {
	font-size: 46px;
	font-weight: 800;
	max-width: 760px;
	margin-bottom: 18px;
}
.hero h1 .akzent { color: var(--orange); }
.hero p.lead {
	font-size: 19px;
	color: var(--grau);
	max-width: 620px;
	margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Trust-Streifen ---------- */
.trust {
	background-color: var(--nacht);
	border-bottom: 1px solid var(--karte-rand);
}
.trust-inner {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 22px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 34px;
	justify-content: center;
}
.trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--weiss);
	font-size: 14px;
	font-weight: 600;
}
.trust-item svg { width: 22px; height: 22px; stroke: var(--orange); flex-shrink: 0; }

/* ---------- Sektionen ---------- */
.section { max-width: var(--breite); margin: 0 auto; padding: 64px 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow {
	color: var(--orange); font-size: 13px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 2px;
}
.section-head h2 { font-size: 32px; font-weight: 700; margin: 10px 0 12px; }
.section-head p { color: var(--grau); font-size: 17px; }

/* ---------- Leistungs-Karten ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.card {
	background-color: var(--karte);
	border: 1px solid var(--karte-rand);
	border-radius: var(--radius);
	padding: 26px 24px;
	transition: transform var(--speed), border-color var(--speed);
	display: block;
	color: var(--weiss);
}
a.card:hover {
	transform: translateY(-4px);
	border-color: var(--orange);
	color: var(--weiss);
}
.card .icon {
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	background-color: rgba(255,153,51,0.12);
	border-radius: 10px;
	margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--orange); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--grau); font-size: 14.5px; }
.card .pfeil { color: var(--orange); font-weight: 700; font-size: 14px; margin-top: 12px; display: inline-block; }

/* ---------- CTA-Band ---------- */
.cta-band {
	background: linear-gradient(135deg, #1c1206, #0d0d0d);
	border-top: 1px solid var(--karte-rand);
	border-bottom: 1px solid var(--karte-rand);
}
.cta-band .section { text-align: center; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--grau); font-size: 17px; max-width: 560px; margin: 0 auto 26px; }

/* ============================================================
   INHALTSSEITEN (Sidebar-Layout, alle Unterseiten)
   ============================================================ */
.layout {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 40px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

#sidebar { flex: 0 0 240px; }
#sidebar.open { display: block; }

.navi-gruppe { margin-bottom: 26px; }
.navi-gruppe .titel {
	display: block;
	color: var(--orange);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding-bottom: 8px;
	margin-bottom: 8px;
	border-bottom: 2px solid var(--orange);
}
.navi-gruppe a {
	display: block;
	color: var(--weiss);
	font-size: 14px;
	font-weight: 500;
	padding: 9px 12px;
	border-radius: 6px;
	transition: background-color var(--speed), color var(--speed);
}
.navi-gruppe a:hover { background-color: var(--karte); color: var(--orange); }
.navi-gruppe a.aktiv {
	background-color: rgba(255,153,51,0.12);
	color: var(--orange);
	border-left: 3px solid var(--orange);
}

#inhalt { flex: 1; min-width: 0; }

/* Seitenkopf mit Eyebrow */
.seiten-kopf { margin-bottom: 26px; }
.seiten-kopf .eyebrow {
	display: inline-block;
	color: var(--orange);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 6px;
}
#inhalt h1 { color: var(--weiss); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
#inhalt h1 .akzent { color: var(--orange); }
.seiten-kopf .unter { color: var(--grau); font-size: 17px; max-width: 640px; }
.seiten-kopf .strich { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin-top: 16px; }

/* Inhalts-Panel (Karten-Look) */
.content-panel {
	background-color: var(--karte);
	border: 1px solid var(--karte-rand);
	border-radius: var(--radius);
	padding: 28px 30px;
	margin-bottom: 20px;
}
.content-panel > *:first-child { margin-top: 0; }
.content-panel > *:last-child { margin-bottom: 0; }

#inhalt h2 {
	color: var(--weiss); font-size: 19px; font-weight: 700;
	margin: 26px 0 12px; padding-left: 14px;
	border-left: 3px solid var(--orange);
}
#inhalt h3 { color: var(--orange); font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
#inhalt p { margin: 0 0 13px; color: #d0d0d0; }
#inhalt p:last-child { margin-bottom: 0; }
#inhalt strong { color: var(--weiss); }

/* Aufzaehlungen */
#inhalt ul.info-liste { list-style: none; margin: 4px 0 18px; }
#inhalt ul.info-liste li {
	position: relative;
	padding: 5px 0 5px 28px;
	color: #d8d8d8;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
#inhalt ul.info-liste li:last-child { border-bottom: none; }
#inhalt ul.info-liste li::before {
	content: "";
	position: absolute;
	left: 4px; top: 13px;
	width: 8px; height: 8px;
	background: var(--orange);
	border-radius: 2px;
	transform: rotate(45deg);
}
#inhalt ul { margin: 0 0 16px 20px; }
#inhalt li { margin-bottom: 6px; color: #d8d8d8; }

/* Bild-Galerie */
.galerie { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 18px; }
.galerie img { margin: 0; border-radius: var(--radius); border: 1px solid var(--karte-rand); }
#inhalt img { border: 1px solid var(--karte-rand); border-radius: var(--radius); margin: 8px 10px 8px 0; max-height: 320px; width: auto; }

/* Download-/Formular-Buttons */
.download-liste { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px; align-items: flex-start; }
a.btn-download {
	display: inline-flex; align-items: center; gap: 10px;
	background-color: rgba(255,153,51,0.10);
	border: 1px solid var(--orange);
	color: var(--orange);
	font-weight: 600; font-size: 14.5px;
	padding: 11px 18px; border-radius: var(--radius);
	transition: background-color var(--speed), color var(--speed);
}
a.btn-download:hover { background-color: var(--orange); color: #000; }
a.btn-download svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }

/* Sidebar CTA-Box */
.cta-box {
	background: linear-gradient(160deg, #1c1206, var(--karte));
	border: 1px solid var(--karte-rand);
	border-radius: var(--radius);
	padding: 20px;
	margin-top: 10px;
}
.cta-box h4 { color: var(--weiss); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cta-box p { color: var(--grau); font-size: 13.5px; margin-bottom: 14px; }
.cta-box .btn { display: block; text-align: center; padding: 11px; font-size: 14px; }

.kontakt-box {
	background-color: var(--karte);
	border: 1px solid var(--karte-rand);
	border-left: 4px solid var(--orange);
	border-radius: var(--radius);
	padding: 20px 22px;
	margin: 16px 0;
}
.kontakt-box p { margin: 4px 0; }
.kontakt-box .label { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 14px; }

.map-wrap {
	width: 100%; max-width: 640px;
	border: 1px solid var(--karte-rand);
	border-radius: var(--radius);
	overflow: hidden;
	margin: 8px 0;
}
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Footer ---------- */
#footer {
	background-color: #000;
	border-top: 3px solid var(--orange);
	margin-top: 20px;
}
.footer-inner {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 40px 24px 28px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 30px;
}
.footer-inner h4 { color: var(--orange); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-inner p, .footer-inner a { color: var(--grau); font-size: 14px; }
.footer-inner a { display: block; padding: 3px 0; }
.footer-inner a:hover { color: var(--orange); }
.footer-bottom {
	border-top: 1px solid var(--karte-rand);
	text-align: center;
	padding: 16px 24px;
	color: #777;
	font-size: 13px;
	letter-spacing: 0.5px;
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 900px) {
	.grid { grid-template-columns: repeat(2, 1fr); }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.hero h1 { font-size: 38px; }
}

@media screen and (max-width: 720px) {
	.nav-toggle { display: block; }
	.topnav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		background-color: #0a0a0a;
		border-bottom: 1px solid var(--karte-rand);
		padding: 10px 16px 16px;
		gap: 4px;
	}
	.topnav.open { display: flex; }
	.topnav a { padding: 12px; }
	.topnav .btn-cta { text-align: center; margin-top: 6px; }

	.layout { flex-direction: column; padding: 20px 16px; gap: 24px; }
	#sidebar { flex: 1 1 auto; width: 100%; }

	.hero-inner { padding: 60px 18px 54px; }
	.hero h1 { font-size: 30px; }
	.hero p.lead { font-size: 17px; }
	.section { padding: 44px 18px; }
	.section-head h2 { font-size: 26px; }
	.grid { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; gap: 22px; }
	.hero-cta .btn, .cta-band .btn { width: 100%; text-align: center; }
}

/* ---------- Facebook Band (Startseite) ---------- */
.fb-band {
	background-color: #0d1b2a;
	border-top: 1px solid var(--karte-rand);
	border-bottom: 1px solid var(--karte-rand);
	text-align: center;
}
.fb-band .section { padding: 40px 24px; }
.fb-follow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background-color: #1877f2;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	padding: 14px 28px;
	border-radius: var(--radius);
	transition: background-color var(--speed), transform var(--speed);
}
.fb-follow:hover { background-color: #0d63d4; color: #fff; transform: translateY(-2px); text-decoration: none; }
.fb-follow svg { width: 24px; height: 24px; }
.fb-band p { color: var(--grau); font-size: 15px; margin-top: 14px; }

/* Facebook-Link im Footer */
.fb-link { display: inline-flex; align-items: center; gap: 8px; }
.fb-link svg { width: 18px; height: 18px; color: #1877f2; flex-shrink: 0; }
.fb-link:hover svg { color: var(--orange); }

/* ---------- Sunny-Portal Anlagen-Embed ---------- */
.anlage-embed {
	width: 100%;
	max-width: 760px;
	border: 1px solid var(--karte-rand);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	margin: 8px 0 16px;
}
.anlage-embed iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
