/* ========================================
   Adrian Brucker GmbH — Corporate Website
   Farbschema: Navy + Gold + Warm Neutrals
   ======================================== */

:root {
	/* Primary — Deep Navy */
	--navy:       #1a2744;
	--navy-light: #243352;
	--navy-dark:  #111c33;

	/* Accent — Warm Gold */
	--gold:       #c8973e;
	--gold-light: #dbb06a;
	--gold-dark:  #a67b2e;

	/* Neutrals */
	--white:      #ffffff;
	--gray-50:    #f8f9fa;
	--gray-100:   #f1f3f5;
	--gray-200:   #e9ecef;
	--gray-300:   #dee2e6;
	--gray-400:   #ced4da;
	--gray-500:   #adb5bd;
	--gray-600:   #6c757d;
	--gray-700:   #495057;
	--gray-800:   #343a40;
	--gray-900:   #212529;

	/* Semantic */
	--success:    #2d9f6f;
	--error:      #d64545;

	/* Typography */
	--font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

	/* Spacing */
	--section-py: clamp(3rem, 6vw, 6rem);
	--container-px: clamp(1rem, 3vw, 2rem);
	--container-max: 1140px;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--gray-800);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--gold-dark);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}
a:hover {
	color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--navy);
	line-height: 1.3;
	font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ---- Container ---- */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-px);
}

/* ---- Buttons ---- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 1.8rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 500;
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.25s var(--ease);
	text-decoration: none;
	line-height: 1.4;
}

.btn-primary {
	background: var(--gold);
	color: var(--white);
	border-color: var(--gold);
}
.btn-primary:hover {
	background: var(--gold-dark);
	border-color: var(--gold-dark);
	color: var(--white);
}

.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}
.btn-outline:hover {
	background: var(--navy);
	color: var(--white);
}

/* ---- Header ---- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--gray-200);
	transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.logo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--navy);
	color: var(--gold);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	border-radius: 8px;
	letter-spacing: 0.5px;
}
.logo-icon-light {
	background: rgba(255, 255, 255, 0.12);
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.logo-name {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--navy);
}
.logo-suffix {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--gold-dark);
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Navigation */
.main-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav-link {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--gray-700);
	border-radius: 6px;
	transition: all 0.2s var(--ease);
	text-decoration: none;
}
.nav-link:hover {
	color: var(--navy);
	background: var(--gray-100);
}
.nav-link.active {
	color: var(--gold-dark);
	background: rgba(200, 151, 62, 0.08);
}

.nav-link-shop {
	margin-left: 0.5rem;
	color: var(--white);
	background: var(--navy);
	border-radius: 6px;
}
.nav-link-shop:hover {
	background: var(--navy-light);
	color: var(--white);
}

/* Mobile Nav Toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	transition: all 0.3s var(--ease);
}

/* ---- Hero ---- */

.hero {
	padding: clamp(8rem, 16vw, 12rem) 0 var(--section-py);
	background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 60%;
	height: 200%;
	background: radial-gradient(ellipse, rgba(200, 151, 62, 0.08) 0%, transparent 70%);
	pointer-events: none;
}
.hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to top, var(--white), transparent);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

.hero-tagline {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.25rem;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	color: var(--white);
	line-height: 1.15;
	margin-bottom: 1.5rem;
}

.hero-text {
	font-size: 1.1rem;
	color: var(--gray-400);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.hero .btn-outline {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn-outline:hover {
	background: var(--white);
	color: var(--navy);
	border-color: var(--white);
}

/* ---- Page Hero (Unterseiten) ---- */

.page-hero {
	padding: clamp(8rem, 14vw, 10rem) 0 clamp(2rem, 4vw, 3rem);
	background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
	text-align: center;
}
.page-hero h1 {
	color: var(--white);
	margin-bottom: 0.75rem;
}
.page-hero-text {
	font-size: 1.15rem;
	color: var(--gray-400);
	max-width: 560px;
	margin: 0 auto;
}

/* ---- Sections ---- */

.section {
	padding: var(--section-py) 0;
}
.section-alt {
	background: var(--gray-50);
}
.section-header {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-subtitle {
	font-size: 1.1rem;
	color: var(--gray-600);
	max-width: 520px;
	margin: 0.5rem auto 0;
}

/* ---- Values Grid ---- */

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
}

.value-card {
	padding: 2rem;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: 12px;
	transition: all 0.3s var(--ease);
}
.value-card:hover {
	border-color: var(--gold-light);
	box-shadow: 0 8px 30px rgba(200, 151, 62, 0.1);
	transform: translateY(-2px);
}

.value-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(200, 151, 62, 0.1);
	border-radius: 10px;
	margin-bottom: 1.25rem;
	color: var(--gold-dark);
}
.value-icon svg {
	width: 24px;
	height: 24px;
}

.value-card h3 {
	font-family: var(--font-body);
	font-weight: 600;
}
.value-card p {
	color: var(--gray-600);
	font-size: 0.92rem;
}

/* ---- Stats ---- */

.section-stats {
	background: var(--navy);
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2rem;
	text-align: center;
}

.stat-number {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--gold);
	line-height: 1.2;
}
.stat-label {
	font-size: 0.9rem;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ---- CTA Section ---- */

.section-cta {
	background: var(--gray-50);
	border-top: 1px solid var(--gray-200);
	border-bottom: 1px solid var(--gray-200);
}
.section-cta h2 {
	margin-bottom: 0.5rem;
}
.section-cta p {
	color: var(--gray-600);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

/* ---- Content Grid (Über uns) ---- */

.content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.content-grid-reverse .content-text { order: 2; }
.content-grid-reverse .content-visual { order: 1; }

.content-text h2 {
	margin-bottom: 1.25rem;
}
.content-text p {
	color: var(--gray-700);
	font-size: 1.02rem;
}

.visual-placeholder {
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.visual-placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 70%, rgba(200, 151, 62, 0.15) 0%, transparent 60%);
}
.visual-placeholder-dark {
	background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}
.visual-placeholder-dark::before {
	background: radial-gradient(circle at 70% 30%, rgba(26, 39, 68, 0.2) 0%, transparent 60%);
}

.visual-year {
	position: relative;
	z-index: 1;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	line-height: 1.4;
}
.visual-year strong {
	display: block;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--white);
}

/* ---- Contact ---- */

.contact-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}
.form-group label {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--gray-700);
	margin-bottom: 0.4rem;
}
.required { color: var(--error); }

.form-group input,
.form-group textarea {
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	border: 1.5px solid var(--gray-300);
	border-radius: 8px;
	background: var(--white);
	color: var(--gray-800);
	transition: all 0.2s var(--ease);
	outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.15);
}
.form-group textarea {
	resize: vertical;
	min-height: 140px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--gray-400);
}

.form-checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
}
.form-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: var(--gold);
}
.form-checkbox label {
	font-size: 0.85rem;
	color: var(--gray-600);
	margin-bottom: 0;
}

.btn-submit {
	align-self: flex-start;
}

/* Alerts */
.alert {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: 10px;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}
.alert svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.alert-success {
	background: rgba(45, 159, 111, 0.08);
	border: 1px solid rgba(45, 159, 111, 0.25);
	color: var(--success);
}
.alert-error {
	background: rgba(214, 69, 69, 0.08);
	border: 1px solid rgba(214, 69, 69, 0.25);
	color: var(--error);
}

/* Contact Cards */
.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-card {
	padding: 1.5rem;
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: 12px;
}
.contact-card h3 {
	font-family: var(--font-body);
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

.contact-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 1rem;
	font-size: 0.92rem;
	color: var(--gray-700);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg {
	flex-shrink: 0;
	color: var(--gold-dark);
	margin-top: 2px;
}

.map-wrap {
	margin-top: 0.5rem;
	border-radius: 8px;
	overflow: hidden;
}

/* ---- Legal Content ---- */

.legal-content {
	max-width: 800px;
}
.legal-content h2 {
	font-size: 1.35rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gray-200);
}
.legal-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
.legal-content h3 {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	margin-top: 1.5rem;
}
.legal-content p,
.legal-content li {
	color: var(--gray-700);
	font-size: 0.95rem;
}
.legal-content ul {
	margin: 0.5rem 0 1rem 1.5rem;
}
.legal-content li {
	margin-bottom: 0.25rem;
}
.legal-updated {
	margin-top: 2rem;
	color: var(--gray-500);
}

/* ---- 404 ---- */

.section-404 {
	padding: clamp(10rem, 18vw, 14rem) 0;
}
.section-404 h1 {
	margin-bottom: 1rem;
}
.section-404 p {
	color: var(--gray-600);
	margin-bottom: 2rem;
}

/* ---- Footer ---- */

.site-footer {
	background: var(--navy-dark);
	color: var(--gray-400);
	padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 2.5rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.footer-desc {
	font-size: 0.9rem;
	color: var(--gray-500);
	line-height: 1.7;
}

.footer-heading {
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--gray-300);
	margin-bottom: 1rem;
}

.footer-link {
	display: block;
	font-size: 0.9rem;
	color: var(--gray-500);
	padding: 0.3rem 0;
	transition: color 0.2s var(--ease);
}
.footer-link:hover {
	color: var(--gold);
}

.footer-contact {
	font-size: 0.9rem;
	color: var(--gray-500);
	margin-bottom: 0.75rem;
}
.footer-contact a {
	color: var(--gray-400);
}
.footer-contact a:hover {
	color: var(--gold);
}

.footer-bottom {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}
.footer-bottom p {
	font-size: 0.82rem;
	color: var(--gray-600);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
	.content-grid {
		grid-template-columns: 1fr;
	}
	.content-grid-reverse .content-text { order: 1; }
	.content-grid-reverse .content-visual { order: 2; }

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: flex;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 1rem;
		border-bottom: 1px solid var(--gray-200);
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	}
	.main-nav.open {
		display: flex;
	}

	.nav-link {
		padding: 0.75rem 1rem;
		width: 100%;
	}
	.nav-link-shop {
		margin-left: 0;
		text-align: center;
	}

	/* Hamburger animation */
	.nav-toggle.active .nav-toggle-bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.nav-toggle.active .nav-toggle-bar:nth-child(2) {
		opacity: 0;
	}
	.nav-toggle.active .nav-toggle-bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.hero-actions {
		flex-direction: column;
	}
	.hero-actions .btn {
		text-align: center;
		justify-content: center;
	}
}

@media (max-width: 600px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}

	.values-grid {
		grid-template-columns: 1fr;
	}
}
