/* ===========================
   FONTS
   =========================== */

@font-face {
	font-family: "Expletus Sans";
	src: url("fonts/expletus-sans.regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Expletus Sans";
	src: url("fonts/expletus-sans.semibold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Bitstream Vera Sans";
	src: url("fonts/Bitstream-Vera-Sans-Roman.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Bitstream Vera Sans";
	src: url("fonts/Bitstream-Vera-Sans-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ===========================
   CUSTOM PROPERTIES
   =========================== */

:root {
	--bg: #353535;
	--bg-deep: #242424;
	--bg-soft: #414141;
	--panel: #e6e6e6;
	--panel-2: #f7f7f7;
	--text: #141414;
	--text-soft: #333333;
	--muted: #666666;
	--white: #ffffff;
	--red: #e22;
	--red-dark: #b9141b;
	--blue: #4fb8ff;
	--line: rgba(255, 255, 255, 0.14);
	--line-dark: rgba(0, 0, 0, 0.12);
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
	--radius: 22px;
	--max: 1180px;
}

/* ===========================
   BASE
   =========================== */

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100%;
	margin: 0;
	background:
		radial-gradient(circle at 20% 0%, rgba(226, 34, 34, 0.16), transparent 30%),
		radial-gradient(circle at 80% 10%, rgba(79, 184, 255, 0.10), transparent 32%),
		linear-gradient(135deg, #2f2f2f 0%, var(--bg) 52%, #292929 100%);
	color: var(--white);
	font-family: "Bitstream Vera Sans", Verdana, Geneva, sans-serif;
	line-height: 1.55;
}

a {
	color: inherit;
	text-decoration: none;
}

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

/* ===========================
   LAYOUT
   =========================== */

.wrapper {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

/* ===========================
   HEADER & NAV
   =========================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(53, 53, 53, 0.86);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 18px 0;
}

.logo {
	font-family: "Expletus Sans", system-ui, sans-serif;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.logo__lsc {
	color: var(--white);
	font-weight: 600;
}

.logo__electronics {
	color: var(--red);
	font-weight: 600;
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.82);
}

.nav__links a:hover {
	color: var(--white);
}

/* ===========================
   BUTTONS
   =========================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 700;
	font-size: 0.94rem;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.34);
}

.button--primary {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
	box-shadow: 0 18px 38px rgba(226, 34, 34, 0.24);
}

.button--primary:hover {
	background: var(--red-dark);
	border-color: var(--red-dark);
}

.button--light {
	background: rgba(255, 255, 255, 0.10);
	color: var(--white);
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1,
h2,
h3 {
	font-family: "Bitstream Vera Sans", system-ui, sans-serif;
	line-height: 1.05;
	margin: 0;
	font-weight: 400;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--red);
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
	padding: 34px 0;
	border-top: 1px solid var(--line);
	background: #252525;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
}

.footer-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.footer-links a:hover {
	color: var(--white);
}

/* ===========================
   HOME PAGE — HERO
   =========================== */

.hero {
	position: relative;
	isolation: isolate;
	min-height: 720px;
	display: flex;
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		linear-gradient(90deg, rgba(36, 36, 36, 0.98) 0%, rgba(36, 36, 36, 0.72) 36%, rgba(36, 36, 36, 0.90) 100%),
		url("images/electronics-hero-placeholder.jpg") center / cover no-repeat;
	opacity: 0.68;
	transform: translateX(-8%) scale(1.10);
	animation: heroImageDrift 28s ease-out forwards;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, var(--bg-deep) 0%, rgba(36, 36, 36, 0.64) 30%, rgba(36, 36, 36, 0.12) 54%, rgba(36, 36, 36, 0.92) 100%),
		radial-gradient(circle at 70% 45%, rgba(79, 184, 255, 0.28), transparent 34%);
	mask-image: linear-gradient(90deg, black 0%, black 45%, transparent 100%);
}

.hero__image-fade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(36, 36, 36, 0.92) 24%, rgba(36, 36, 36, 0.18) 54%, transparent 100%);
	animation: revealFromLeft 18s ease-out forwards;
	pointer-events: none;
}

.hero__content {
	max-width: 1100px;
	padding: 90px 0;
}

.hero h1 {
	font-size: clamp(4rem, 9vw, 9.2rem);
	letter-spacing: 0.06em;
	margin-bottom: 28px;
	text-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero h1 .lsc {
	color: var(--white);
}

.hero h1 .electronics {
	color: var(--red);
}

.cclaim {
	font-size: clamp(1.18rem, 2vw, 1.65rem);
	max-width: 700px;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.90);
}

.hero__copy {
	max-width: 660px;
	margin: 0 0 34px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 1.02rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ===========================
   HOME PAGE — SECTIONS
   =========================== */

.section {
	padding: 96px 0;
}

.section--light {
	background: var(--panel);
	color: var(--text);
}

.section--dark {
	background:
		radial-gradient(circle at 15% 10%, rgba(226, 34, 34, 0.16), transparent 26%),
		linear-gradient(135deg, #303030, #252525);
}

.section__head {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
	gap: 48px;
	align-items: end;
	margin-bottom: 42px;
}

.section__label {
	margin: 0 0 12px;
	color: var(--red);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.section h2 {
	font-size: clamp(2.3rem, 4vw, 4.6rem);
	letter-spacing: -0.035em;
}

.section__intro {
	margin: 0;
	font-size: 1.04rem;
	color: var(--text-soft);
}

.section--dark .section__intro {
	color: rgba(255, 255, 255, 0.72);
}

/* ===========================
   HOME PAGE — SERVICES
   =========================== */

.service-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

.service-card,
.project-card,
.about-card,
.contact-card {
	border-radius: var(--radius);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.service-card {
	background: var(--panel-2);
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 26px 22px;
	min-height: 230px;
}

.service-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--bg);
	color: var(--white);
	font-weight: 700;
	font-size: 0.86rem;
}

.service-card h3 {
	font-size: 1.28rem;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

/* ===========================
   HOME PAGE — PROJECTS
   =========================== */

.project-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.project-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.project-card__image {
	aspect-ratio: 1.25;
	background:
		linear-gradient(135deg, rgba(79, 184, 255, 0.32), rgba(226, 34, 34, 0.18)),
		url("images/BulbBurner.jpg") center / cover no-repeat;
	position: relative;
}

.project-card__image::after {
	content: "Referenzbild";
	position: absolute;
	inset: auto 18px 16px auto;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}

.project-card__body {
	padding: 22px;
}

.project-card h3 {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.project-card p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.70);
	font-size: 0.93rem;
}

.project-1 {
	background:
		linear-gradient(135deg, rgba(79, 184, 255, 0.22), rgba(226, 34, 34, 0.10)),
		url("images/BulbBurner.jpg") center / cover no-repeat;
}

.project-2 {
	background:
		linear-gradient(135deg, rgba(79, 184, 255, 0.22), rgba(226, 34, 34, 0.10)),
		url("images/Photobooth.jpg") center / cover no-repeat;
}

.project-3 {
	background:
		linear-gradient(135deg, rgba(79, 184, 255, 0.22), rgba(226, 34, 34, 0.10)),
		url("images/Photobooth.jpg") center / cover no-repeat;
}

.project-4 {
	background:
		linear-gradient(135deg, rgba(79, 184, 255, 0.22), rgba(226, 34, 34, 0.10)),
		url("images/Photobooth.jpg") center / cover no-repeat;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.75rem;
	font-weight: 700;
}

/* ===========================
   HOME PAGE — ABOUT
   =========================== */

.about-layout {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 28px;
	align-items: stretch;
}

.about-photo {
	min-height: 520px;
	border-radius: var(--radius);
	background:
		linear-gradient(135deg, rgba(36, 36, 36, 0.10), rgba(36, 36, 36, 0.52)),
		url("images/Progress.png") center / cover no-repeat;
	border: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
}

.about-photo::after {
	content: "Foto Ludwig Schink";
	position: absolute;
	left: 24px;
	bottom: 24px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(20, 20, 20, 0.62);
}

.about-card {
	background: var(--panel-2);
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: clamp(28px, 4vw, 52px);
}

.about-card h2 {
	margin-bottom: 24px;
}

.about-card p {
	color: var(--text-soft);
	font-size: 1rem;
}

.about-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 28px;
}

.about-list__item {
	padding: 16px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.92rem;
	color: var(--text-soft);
}

.about-list__item strong {
	display: block;
	color: var(--text);
	margin-bottom: 4px;
}

/* ===========================
   HOME PAGE — CONTACT
   =========================== */

.contact-layout {
	display: grid;
	grid-template-columns: 1fr 0.75fr;
	gap: 22px;
	align-items: stretch;
}

.contact-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.13);
	padding: clamp(28px, 4vw, 48px);
}

.contact-card h2 {
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	margin-bottom: 22px;
}

.contact-card p {
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 30px;
}

.contact-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list a,
.contact-list span {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.88);
}

.contact-list strong {
	color: var(--white);
}

/* ===========================
   LEGAL PAGES — HERO
   =========================== */

.legal-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 78px;
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(90deg, rgba(36, 36, 36, 0.98) 0%, rgba(36, 36, 36, 0.72) 42%, rgba(36, 36, 36, 0.94) 100%),
		radial-gradient(circle at 70% 40%, rgba(79, 184, 255, 0.22), transparent 30%),
		linear-gradient(135deg, #242424, #353535);
}

.legal-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(226, 34, 34, 0.08) 48%, transparent 100%);
	pointer-events: none;
}

.legal-hero h1 {
	font-family: "Bitstream Vera Sans", system-ui, sans-serif;
	font-weight: 600;
	line-height: 1.08;
	max-width: 850px;
	font-size: clamp(3.2rem, 7vw, 7rem);
	letter-spacing: -0.052em;
	text-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.legal-hero p:last-child {
	max-width: 720px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.04rem;
}

/* ===========================
   LEGAL PAGES — CONTENT
   =========================== */

.legal-section {
	background: var(--panel);
	color: var(--text);
	padding: 72px 0 96px;
}

.legal-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.legal-toc {
	position: sticky;
	top: 92px;
	border-radius: var(--radius);
	background: var(--panel-2);
	border: 1px solid var(--line-dark);
	padding: 22px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.10);
}

.legal-toc strong {
	display: block;
	margin-bottom: 14px;
	font-family: "Expletus Sans", system-ui, sans-serif;
	font-size: 1.2rem;
}

.legal-toc a {
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--muted);
	font-size: 0.88rem;
}

.legal-toc a:hover {
	color: var(--red);
}

.legal-card {
	border-radius: var(--radius);
	background: var(--panel-2);
	border: 1px solid var(--line-dark);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.10);
	padding: clamp(28px, 5vw, 62px);
}

.legal-card h2,
.legal-card h3 {
	font-family: "Bitstream Vera Sans", system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.15;
}

.legal-card h2 {
	padding-top: 18px;
	margin-top: 34px;
	margin-bottom: 18px;
	font-size: clamp(1.75rem, 3vw, 2.7rem);
	letter-spacing: -0.025em;
	color: var(--text);
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.legal-card h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.legal-card h3 {
	margin: 28px 0 10px;
	font-size: 1.24rem;
	letter-spacing: -0.012em;
}

.legal-card p,
.legal-card li {
	font-size: 0.96rem;
	color: var(--text-soft);
}

.legal-card p {
	margin: 0 0 14px;
}

.legal-card ol,
.legal-card ul {
	padding-left: 1.35rem;
	margin: 0 0 18px;
}

.legal-card li {
	margin-bottom: 9px;
}

.legal-card .address {
	margin: 18px 0 22px;
	padding: 18px;
	border-left: 4px solid var(--red);
	background: #ffffff;
	border-radius: 14px;
}

.legal-note {
	margin-bottom: 28px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(226, 34, 34, 0.08);
	border: 1px solid rgba(226, 34, 34, 0.20);
	color: var(--text-soft);
	font-size: 0.92rem;
}

/* ===========================
   ABOUT — TABS
   =========================== */

.about-tabs {
	display: flex;
	gap: 4px;
	margin: 22px 0 24px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.about-tab {
	padding: 8px 18px;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	background: none;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--muted);
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease;
}

.about-tab--active {
	color: var(--text);
	border-bottom-color: var(--red);
}

.about-tab:hover:not(.about-tab--active) {
	color: var(--text-soft);
}

.about-panel--hidden {
	display: none;
}

/* ===========================
   ABOUT — TIMELINE
   =========================== */

.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.timeline__entry {
	padding: 16px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.timeline__entry:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.timeline__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.timeline__badge {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
}

.tl-work {
	background: rgba(226, 34, 34, 0.12);
	color: var(--red-dark);
}

.tl-edu {
	background: rgba(79, 184, 255, 0.18);
	color: #1a6a99;
}

.tl-other {
	background: rgba(0, 0, 0, 0.08);
	color: var(--muted);
}

.timeline__period {
	font-size: 0.82rem;
	color: var(--muted);
	font-weight: 700;
}

.timeline__title {
	display: block;
	font-size: 0.96rem;
	color: var(--text);
	font-weight: 700;
	margin-bottom: 2px;
}

.timeline__org {
	display: block;
	font-size: 0.88rem;
	color: var(--muted);
}

.timeline__bullets {
	margin: 6px 0 0;
	padding-left: 1.1rem;
}

.timeline__bullets li {
	font-size: 0.88rem;
	color: var(--text-soft);
	margin-bottom: 2px;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes heroImageDrift {
	0% {
		opacity: 0;
		transform: translateX(-12%) scale(1.12);
		filter: saturate(0.72) brightness(0.64);
	}

	30% {
		opacity: 0.68;
	}

	100% {
		opacity: 0.78;
		transform: translateX(4%) scale(1.10);
		filter: saturate(0.90) brightness(0.70);
	}
}

@keyframes revealFromLeft {
	0% {
		transform: translateX(0%);
	}

	100% {
		transform: translateX(86%);
	}
}

/* ===========================
   MEDIA QUERIES
   =========================== */

@media (max-width: 1080px) {
	.service-grid,
	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.section__head,
	.about-layout,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.about-photo {
		min-height: 420px;
	}
}

@media (max-width: 980px) {
	.legal-layout {
		grid-template-columns: 1fr;
	}

	.legal-toc {
		position: static;
	}
}

@media (max-width: 760px) {
	.wrapper {
		width: min(var(--max), calc(100% - 28px));
	}

	.nav {
		align-items: flex-start;
	}

	.nav__links {
		display: none;
	}

	.hero {
		min-height: 620px;
	}

	.hero h1 {
		font-size: clamp(3.3rem, 18vw, 6rem);
	}

	.service-grid,
	.project-grid,
	.about-list {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 72px 0;
	}

	.legal-hero {
		padding: 72px 0 58px;
	}

	.legal-section {
		padding: 48px 0 72px;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}
