/* Maxda GmbH – statische Website. Eigenstaendiges Stylesheet (kein Tailwind). */
:root {
  --background: #0f0f0f;
  --foreground: #f7f7f5;
  --surface: #1a1a1a;
  --surface-2: #232323;
  --primary: #e02020;
  --primary-foreground: #fff;
  --accent: #f5c400;
  --accent-foreground: #0f0f0f;
  --muted: #2a2a2a;
  --muted-foreground: #9a9a98;
  --border: #2e2e2e;
  --destructive: #c0392b;
  --success: #2ecc71;
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-sans: "Hind", system-ui, -apple-system, sans-serif;
  --gradient-hero: linear-gradient(180deg, rgba(15,15,15,0.30) 0%, rgba(15,15,15,0.92) 100%);
  --gradient-accent: linear-gradient(100deg, var(--primary), var(--accent));
  --shadow-hard: 0 18px 40px -20px rgba(0,0,0,0.75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}

.container { max-width: 1152px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

.accent-bar { height: 4px; width: 100%; background: var(--gradient-accent); }

.card-hard {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hard);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
}
.site-header .inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .logo { height: 48px; width: auto; object-fit: contain; }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  transition: color .15s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--accent); }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background .15s;
}
.btn-phone:hover { background: #c01a1a; }
.menu-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
}
.menu-toggle svg { width: 24px; height: 24px; }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--surface); padding: 16px 20px; }
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.nav-mobile a.active { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: #c01a1a; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-arrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; color: var(--accent); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px; }
.btn-arrow:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero .content {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  padding: 96px 20px 80px;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
}
.hero .content .text { max-width: 640px; }
.hero h1 { font-size: 2.5rem; margin-top: 16px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  margin-top: 24px;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(247,247,245,0.85);
}
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-bar .inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.stat { display: flex; align-items: center; gap: 12px; }
.stat .ico { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.stat .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-foreground); }
.stat .value { font-family: var(--font-display); font-size: 1.125rem; }

/* Sections */
.section { padding: 80px 0; }
.section.narrow-head .container { }
.section-title { font-size: 1.875rem; margin-top: 12px; }
.lead-text { margin-top: 20px; color: var(--muted-foreground); line-height: 1.7; }

.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.service-card { padding: 36px; }
.service-card .ico { width: 32px; height: 32px; color: var(--accent); }
.service-card h3 { font-size: 1.5rem; margin-top: 20px; }
.service-card p { margin-top: 12px; color: var(--muted-foreground); line-height: 1.7; }
.service-card ul.checks { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.service-card ul.checks li { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--muted-foreground); }
.service-card ul.checks svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
.split img { width: 100%; object-fit: cover; }

.numbers { display: grid; gap: 32px; grid-template-columns: 1fr; }
.numbers .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); }
.numbers .desc { margin-top: 8px; font-size: 0.875rem; color: var(--muted-foreground); }

/* Page header */
.page-head {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-head .container { padding: 64px 20px; }
.page-head h1 { font-size: 2.5rem; margin-top: 12px; }
.page-head p { margin-top: 20px; max-width: 36rem; color: var(--muted-foreground); }

/* Kontakt */
.kontakt-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info .block .eyebrow { display: block; }
.contact-info .block p, .contact-info .block ul { margin-top: 12px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 8px; }
.contact-info li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.contact-info a:hover { color: var(--foreground); }

/* Form */
.contact-form { padding: 32px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form-field { display: block; }
.form-field .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  font-family: var(--font-sans);
  transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; }
.honeypot { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-error {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(192,57,43,0.5);
  background: rgba(192,57,43,0.1);
  padding: 10px 14px;
  font-size: 0.875rem;
}
.form-error svg { width: 16px; height: 16px; color: var(--destructive); flex-shrink: 0; margin-top: 2px; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted-foreground); }
.form-hint svg { width: 16px; height: 16px; color: var(--accent); }
.form-success { padding: 32px; text-align: left; }
.form-success svg { width: 32px; height: 32px; color: var(--success); }
.form-success h3 { margin-top: 16px; font-size: 1.25rem; }
.form-success p { margin-top: 8px; font-size: 0.875rem; color: var(--muted-foreground); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.site-footer .grid {
  max-width: 1152px;
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.site-footer .logo { height: 64px; width: auto; object-fit: contain; }
.site-footer .col p { margin-top: 12px; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }
.site-footer .col li { margin-bottom: 6px; font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer .col a:hover { color: var(--foreground); }
.site-footer .bottom {
  border-top: 1px solid var(--border);
  padding: 20px;
}
.site-footer .bottom .inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.site-footer .bottom a { color: var(--accent); }
.site-footer .bottom a:hover { text-decoration: underline; }

/* Responsive */
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .hero { min-height: 690px; }
  .hero .content { align-items: center; padding-top: 96px; padding-bottom: 96px; }
  .hero h1 { font-size: 3.75rem; }
  .stats-bar .inner { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr 1.3fr; }
  .site-footer .grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .bottom .inner { flex-direction: row; }
  .page-head h1, .section-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}
