/* WFB Warnecke GmbH — Onepage
   Typografie: Space Grotesk (Headlines) / IBM Plex Sans (Fließtext)
   Farben: Asphaltblau als Marke, Kies-Ocker als seltener Zweitakzent
*/

:root {
  --bg: #ffffff;
  --bg-alt: #f1f7f1;
  --bg-dark: #0e1f12;
  --ink: #14161c;
  --ink-soft: #57635a;
  --line: #dce8dc;
  --brand: #0b7a0b;
  --brand-dark: #075c07;
  --brand-bright: #74ff34;
  --clay: #c07a3e;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.logo span { color: var(--brand); }

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand .logo-mark {
  height: 34px;
  width: auto;
  display: block;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

.main-nav { display: flex; gap: 36px; }

.main-nav a {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--ink); border-color: var(--clay); }

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: var(--ink); }

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

.hero {
  padding: 96px 0 88px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow-line {
  font-size: 15px;
  color: var(--brand);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 52px;
  max-width: 15ch;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
}

.hero-facts {
  margin-top: 40px;
  display: flex;
  gap: 40px;
}

.hero-fact b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
}

.hero-fact span {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand);
  aspect-ratio: 4 / 5;
}

.hero-art svg { width: 100%; height: 100%; display: block; }

.hero-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  box-shadow: 0 12px 30px rgba(20,22,28,0.18);
}

.hero-note b { color: var(--ink); display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- Section shell ---------- */

section { padding: 88px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 60ch;
  margin-bottom: 52px;
}

.section-label {
  font-size: 14px;
  color: var(--brand);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 36px;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- Leistungen ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.service-card {
  background: #fff;
  padding: 34px 36px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.service-card li { margin-bottom: 8px; }

.service-card li:last-child { margin-bottom: 0; }

.service-note {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 3px solid var(--clay);
  background: #fff;
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
}

.service-note strong { color: var(--ink); }

/* ---------- Ablauf ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info h3 {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-block { margin-bottom: 30px; }

.contact-block .value {
  font-size: 18px;
}

.contact-block .placeholder {
  color: var(--clay);
  font-style: italic;
}

.contact-form {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 36px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: var(--bg-dark);
  color: #c7cbd3;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--brand-bright); }

.footer-address {
  margin-top: 10px;
  font-size: 14px;
  color: #97a0ae;
}

.footer-nav { display: flex; gap: 28px; }

.footer-nav a { font-size: 14px; color: #c7cbd3; }

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #7d8592;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 { font-size: 34px; }

.legal-body {
  padding: 48px 0 96px;
  max-width: 72ch;
  margin: 0 auto;
}

.legal-body .wrap { padding: 0; }

.legal-body h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p { color: var(--ink-soft); margin-bottom: 12px; }

.legal-body .placeholder {
  color: var(--clay);
  font-style: italic;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--brand);
}

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

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/10; }
  .hero h1 { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .main-nav { display: none; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Entsorgungsfachbetrieb ---------- */

.cert {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.cert-text h2 { font-size: 36px; max-width: 18ch; }

.cert-lead {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.cert-list {
  margin: 24px 0 0;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 500;
}

.cert-list li { margin-bottom: 6px; }

.cert-meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.cert-seal {
  margin: 0;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.cert-seal img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

/* ---------- Einsatzgebiet ---------- */

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

.region-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .cert { grid-template-columns: 1fr; gap: 36px; }
  .cert-text h2 { font-size: 30px; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero-Foto: liegt über der Illustration, sobald assets/hero.jpg vorhanden ist */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-note { z-index: 2; }
