/*
 * LFZ CNC-Zerspanung — Design-System fuer alle lfz/* Bloecke.
 * --lfz-acc wird per wp_add_inline_style aus den LFZ-Einstellungen ueberschrieben.
 */
:root {
	--lfz-bg: #0a0b0d;
	--lfz-panel: #111317;
	--lfz-panel2: #171a1f;
	--lfz-line: #23272d;
	--lfz-line2: #343941;
	--lfz-tx: #e9eaec;
	--lfz-mut: #858b93;
	--lfz-acc: #ff5a1e;
	--lfz-disp: 'Saira Condensed', Impact, sans-serif;
	--lfz-sans: 'Saira', system-ui, sans-serif;
	--lfz-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

@keyframes lfz-gridpan { from { background-position: 0 0; } to { background-position: 0 44px; } }
@keyframes lfz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lfz-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes lfz-scan { from { transform: translateY(-100%); } to { transform: translateY(1300%); } }
@keyframes lfz-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.lfz-kicker,
.lfz-hero__eyebrow {
	font-family: var(--lfz-mono);
	font-size: 12px;
	letter-spacing: .16em;
	color: var(--lfz-acc);
	text-transform: uppercase;
}

.lfz-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: none;
	cursor: pointer;
	font-family: var(--lfz-mono);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 15px 24px;
	text-decoration: none;
	transition: .2s;
}
.lfz-btn--primary { background: var(--lfz-acc); color: var(--lfz-bg); }
.lfz-btn--primary:hover { filter: brightness(1.1); color: var(--lfz-bg); }
.lfz-btn--outline { background: none; color: var(--lfz-tx); border: 1px solid var(--lfz-line2); }
.lfz-btn--outline:hover { border-color: var(--lfz-tx); color: var(--lfz-tx); }
.lfz-btn--dark { background: var(--lfz-bg); color: var(--lfz-acc); }
.lfz-btn--dark:hover { color: var(--lfz-bg); background:#000; }
.lfz-btn--block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.lfz-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 40px 110px;
	background: var(--lfz-bg);
	background-image:
		linear-gradient(rgba(10,11,13,.55), rgba(10,11,13,.9)),
		repeating-linear-gradient(0deg, transparent 0 43px, var(--lfz-line) 43px 44px),
		repeating-linear-gradient(90deg, transparent 0 43px, var(--lfz-line) 43px 44px);
	background-size: auto, 44px 44px, 44px 44px;
	animation: lfz-gridpan 6s linear infinite;
	color: var(--lfz-tx);
	font-family: var(--lfz-sans);
}
.lfz-hero__grid {
	position: relative;
	z-index: 2;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 56px;
	align-items: center;
}
.lfz-hero__title {
	font-family: var(--lfz-disp);
	font-weight: 800;
	font-size: clamp(56px, 8.5vw, 124px);
	line-height: .88;
	text-transform: uppercase;
	margin: 26px 0 0;
}
.lfz-hero__accent,
.lfz-hero__accent span { color: var(--lfz-acc); }
.lfz-hero__sub { max-width: 480px; color: var(--lfz-mut); font-size: 17px; line-height: 1.6; margin: 28px 0 34px; }
.lfz-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.lfz-hero__visual { position: relative; }
.lfz-hero__frame {
	position: relative;
	border: 1px solid var(--lfz-line2);
	background: repeating-linear-gradient(45deg, #141619 0 11px, #0f1114 11px 22px);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.lfz-hero__frame::before {
	content: '';
	position: absolute; left: 0; right: 0; top: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--lfz-acc), transparent);
	animation: lfz-scan 4s linear infinite;
	opacity: .5;
}
.lfz-hero__placeholder {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-family: var(--lfz-mono); font-size: 11px; letter-spacing: .16em; color: var(--lfz-line2);
	text-transform: uppercase; text-align: center; padding: 20px;
}
.lfz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lfz-hero__dro {
	position: absolute; left: 16px; bottom: 16px;
	background: rgba(9,10,12,.9); backdrop-filter: blur(6px);
	border: 1px solid var(--lfz-line2); padding: 15px 17px; font-family: var(--lfz-mono);
	min-width: 236px; display: flex; flex-direction: column; gap: 11px;
}
.lfz-hero__dro-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--lfz-tx); }
.lfz-hero__dro-row + .lfz-hero__dro-row { padding-top: 11px; border-top: 1px solid var(--lfz-line); }

/* ---------- Stats band ---------- */
.lfz-stats {
	border-top: 1px solid var(--lfz-line);
	border-bottom: 1px solid var(--lfz-line);
	background: var(--lfz-line);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1px;
}
.lfz-stats__item { background: var(--lfz-bg); padding: 38px 40px; }
.lfz-stats__value { font-family: var(--lfz-disp); font-weight: 700; font-size: 52px; line-height: 1; color: var(--lfz-tx); }
.lfz-stats__label { font-family: var(--lfz-mono); font-size: 11px; letter-spacing: .1em; color: var(--lfz-mut); text-transform: uppercase; margin-top: 10px; }

/* ---------- Marquee ---------- */
.lfz-marquee { overflow: hidden; background: var(--lfz-acc); padding: 15px 0; }
.lfz-marquee__track { display: flex; width: max-content; animation: lfz-marquee 32s linear infinite; }
.lfz-marquee__item {
	display: inline-flex; align-items: center; gap: 34px;
	font-family: var(--lfz-disp); font-weight: 700; font-size: 24px; letter-spacing: .03em;
	color: var(--lfz-bg); text-transform: uppercase; padding-right: 34px;
}
.lfz-marquee__item::after { content: ''; display: inline-block; width: 9px; height: 9px; background: var(--lfz-bg); transform: rotate(45deg); margin-left: 34px; }

/* ---------- Intro ---------- */
.lfz-intro {
	max-width: 1240px; margin: 0 auto; padding: 110px 40px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start;
	color: var(--lfz-tx); font-family: var(--lfz-sans); background: var(--lfz-bg);
}
.lfz-intro__heading { font-family: var(--lfz-disp); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; text-transform: uppercase; margin: 0 0 24px; }
.lfz-intro__body { color: var(--lfz-mut); font-size: 16px; line-height: 1.65; max-width: 560px; margin: 0; }

/* ---------- Services ---------- */
.lfz-services { max-width: 1240px; margin: 0 auto; padding: 0 40px 110px; background: var(--lfz-bg); font-family: var(--lfz-sans); }
.lfz-services__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 16px; }
.lfz-services__head h2 { font-family: var(--lfz-disp); font-weight: 700; font-size: clamp(34px, 5vw, 58px); text-transform: uppercase; margin: 12px 0 0; line-height: .95; color: var(--lfz-tx); }
.lfz-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--lfz-line); border: 1px solid var(--lfz-line); }
.lfz-service { background: var(--lfz-panel); padding: 34px 32px; transition: .25s; animation: lfz-rise .5s both; }
.lfz-service:hover { background: var(--lfz-panel2); }
.lfz-service__num { font-family: var(--lfz-mono); font-size: 12px; color: var(--lfz-acc); letter-spacing: .1em; }
.lfz-service__title { font-family: var(--lfz-disp); font-weight: 700; font-size: 29px; margin: 14px 0 11px; text-transform: uppercase; color: var(--lfz-tx); }
.lfz-service__desc { color: var(--lfz-mut); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- Quality ---------- */
.lfz-quality { border-top: 1px solid var(--lfz-line); background: var(--lfz-panel); padding: 80px 40px; font-family: var(--lfz-sans); }
.lfz-quality .lfz-kicker { margin-bottom: 40px; }
.lfz-quality__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--lfz-line2); border: 1px solid var(--lfz-line2); }
.lfz-quality__item { background: var(--lfz-panel); padding: 32px 30px; }
.lfz-quality__value { font-family: var(--lfz-disp); font-weight: 700; font-size: 34px; color: var(--lfz-tx); }
.lfz-quality__label { color: var(--lfz-mut); font-size: 14px; line-height: 1.45; margin-top: 10px; }

/* ---------- CTA band ---------- */
.lfz-cta { position: relative; overflow: hidden; padding: 100px 40px; background: var(--lfz-acc); }
.lfz-cta__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.lfz-cta__heading { font-family: var(--lfz-disp); font-weight: 800; font-size: clamp(38px, 6vw, 74px); text-transform: uppercase; color: var(--lfz-bg); margin: 0; line-height: .9; max-width: 640px; }

/* ---------- Materials explorer ---------- */
.lfz-materials { max-width: 1240px; margin: 0 auto; padding: 110px 40px; font-family: var(--lfz-sans); color: var(--lfz-tx); }
.lfz-materials h2 { font-family: var(--lfz-disp); font-weight: 700; font-size: clamp(32px, 5vw, 58px); text-transform: uppercase; margin: 12px 0 8px; line-height: .95; }
.lfz-materials__grid { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 1px; background: var(--lfz-line); border: 1px solid var(--lfz-line); margin-top: 40px; }
.lfz-materials__list { background: var(--lfz-bg); display: flex; flex-direction: column; }
.lfz-materials__list-item {
	display: flex; align-items: center; gap: 14px; background: none; border: none;
	border-left: 3px solid transparent; border-bottom: 1px solid var(--lfz-line);
	cursor: pointer; padding: 18px 22px; text-align: left; transition: .2s; width: 100%;
}
.lfz-materials__list-item:hover,
.lfz-materials__list-item.is-active { background: var(--lfz-panel); border-left-color: var(--lfz-acc); }
.lfz-materials__sym { font-family: var(--lfz-mono); font-size: 12px; width: 26px; color: var(--lfz-acc); }
.lfz-materials__name { font-family: var(--lfz-disp); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--lfz-mut); }
.lfz-materials__list-item:hover .lfz-materials__name,
.lfz-materials__list-item.is-active .lfz-materials__name { color: var(--lfz-tx); }
.lfz-materials__detail { background: var(--lfz-panel); padding: 44px; min-height: 220px; }
.lfz-materials__detail-sym { font-family: var(--lfz-disp); font-weight: 800; font-size: 64px; line-height: .8; color: var(--lfz-acc); }
.lfz-materials__detail-title { font-family: var(--lfz-disp); font-weight: 700; font-size: 40px; text-transform: uppercase; margin: 0 0 0 16px; display: inline-block; }
.lfz-materials__detail-note { color: var(--lfz-mut); font-size: 16px; line-height: 1.6; max-width: 520px; margin: 22px 0 34px; }
.lfz-materials__detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; }
.lfz-materials__detail-label { font-family: var(--lfz-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--lfz-mut); text-transform: uppercase; }
.lfz-materials__bar { height: 6px; background: var(--lfz-line2); overflow: hidden; margin-top: 9px; }
.lfz-materials__bar-fill { height: 100%; background: var(--lfz-acc); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.lfz-materials__detail-hint { color: var(--lfz-mut); font-family: var(--lfz-mono); font-size: 11px; padding: 20px; }

/* ---------- Machines table ---------- */
.lfz-machines { max-width: 1240px; margin: 0 auto; padding: 90px 40px; font-family: var(--lfz-sans); color: var(--lfz-tx); }
.lfz-machines h2 { font-family: var(--lfz-disp); font-weight: 800; text-transform: uppercase; margin: 14px 0 18px; }
.lfz-machines__rows { border: 1px solid var(--lfz-line); }
.lfz-machines__row {
	display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, 1fr); gap: 24px; align-items: center;
	padding: 26px 30px; border-bottom: 1px solid var(--lfz-line); background: var(--lfz-panel); transition: .2s; animation: lfz-rise .45s both;
}
.lfz-machines__row:hover { background: var(--lfz-panel2); }
.lfz-machines__name { font-family: var(--lfz-disp); font-weight: 700; font-size: 25px; text-transform: uppercase; line-height: 1; }
.lfz-machines__note { font-family: var(--lfz-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--lfz-mut); margin-top: 7px; }
.lfz-machines__meta { display: flex; flex-direction: column; gap: 6px; font-family: var(--lfz-mono); font-size: 12px; color: var(--lfz-tx); }

/* ---------- Contact info ---------- */
.lfz-contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; font-family: var(--lfz-sans); color: var(--lfz-tx); }
.lfz-contact-info__label { font-family: var(--lfz-mono); font-size: 10px; letter-spacing: .14em; color: var(--lfz-acc); text-transform: uppercase; margin-bottom: 9px; }
.lfz-contact-info__value { font-size: 14px; line-height: 1.6; }
.lfz-contact-info__value a { color: var(--lfz-tx); text-decoration: none; }
.lfz-contact-info__value a:hover { color: var(--lfz-acc); }
.lfz-contact-info--editor { padding: 16px; border: 1px dashed var(--lfz-line2); font-size: 13px; }
.lfz-contact-info--editor a { color: var(--lfz-acc); }

/* ---------- Forms (RFQ + contact) ---------- */
.lfz-hp { position: absolute; left: -9999px; top: -9999px; }
.lfz-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.lfz-field__label { font-family: var(--lfz-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--lfz-mut); text-transform: uppercase; }
.lfz-field__label--between { display: flex; justify-content: space-between; }
.lfz-field__input {
	background: var(--lfz-bg); border: 1px solid var(--lfz-line2); color: var(--lfz-tx);
	padding: 13px 14px; font-size: 14px; font-family: var(--lfz-sans); width: 100%; box-sizing: border-box;
}
.lfz-rfq { background: var(--lfz-panel); padding: 44px 40px; color: var(--lfz-tx); font-family: var(--lfz-sans); }
.lfz-rfq__title { display: flex; align-items: center; gap: 10px; font-family: var(--lfz-mono); font-size: 12px; letter-spacing: .12em; color: var(--lfz-acc); text-transform: uppercase; margin-bottom: 26px; }
.lfz-rfq__title-dot { width: 8px; height: 8px; background: var(--lfz-acc); transform: rotate(45deg); display: inline-block; }
.lfz-rfq__qty { accent-color: var(--lfz-acc); width: 100%; }
.lfz-rfq__qty-out { color: var(--lfz-acc); }
.lfz-rfq__done { border: 1px solid var(--lfz-acc); padding: 34px 30px; text-align: center; }
.lfz-rfq__done-headline { font-family: var(--lfz-disp); font-weight: 800; font-size: 40px; text-transform: uppercase; color: var(--lfz-acc); }
.lfz-rfq__done-sub { font-family: var(--lfz-mono); font-size: 12px; color: var(--lfz-mut); margin: 16px 0 6px; letter-spacing: .08em; }
.lfz-rfq__done-ref { font-family: var(--lfz-mono); font-size: 22px; color: var(--lfz-tx); letter-spacing: .05em; margin-bottom: 26px; }

.lfz-contact-form { background: var(--lfz-bg); padding: 44px 40px; color: var(--lfz-tx); font-family: var(--lfz-sans); border: 1px solid var(--lfz-line); }
.lfz-contact-form__title { font-family: var(--lfz-mono); font-size: 12px; letter-spacing: .12em; color: var(--lfz-mut); text-transform: uppercase; margin-bottom: 18px; }
.lfz-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.lfz-contact-form textarea.lfz-field__input { resize: vertical; margin-bottom: 14px; }
.lfz-contact-form__notice { font-family: var(--lfz-mono); font-size: 12px; color: var(--lfz-acc); letter-spacing: .06em; margin-bottom: 14px; }
.lfz-contact-form__notice--error { color: #ff6b6b; }

@media (max-width: 680px) {
	.lfz-hero { padding: 64px 20px 70px; }
	.lfz-services, .lfz-materials, .lfz-machines, .lfz-intro { padding-left: 20px; padding-right: 20px; }
	.lfz-contact-form__row { grid-template-columns: 1fr; }
	.lfz-machines__row { grid-template-columns: 1fr; }
}
