/* =============================================
   PZW Profi Zaunbau Weber – Stylesheet
   ============================================= */

/* --- Tokens --- */
:root {
  --anthrazit:   #1E4D35;
  --anthrazit-2: #2A6347;
  --gruen:       #4A7C59;
  --gruen-hell:  #5E9B6E;
  --hell:        #F0F6F2;
  --weiss:       #FFFFFF;
  --text:        #2C2C2C;
  --text-soft:   #5A5C5E;
  --border:      #C8DDD0;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --max-w: 1100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

/* --- Layout helpers --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 4rem 0;
}
.section--dark {
  background: var(--anthrazit);
  color: var(--weiss);
}
.section--light {
  background: var(--hell);
}

/* --- NAV --- */
nav {
  background: var(--weiss);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-bottom: 3px solid var(--gruen);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  height: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--weiss);
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gruen); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gruen); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--anthrazit);
  transition: 0.2s;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--weiss);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
  }
}

/* --- HERO --- */
.hero {
  background: var(--anthrazit);
  color: var(--weiss);
  padding: 5rem 0 4rem;
  border-bottom: 4px solid var(--gruen);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em {
  font-style: normal;
  color: var(--gruen);
}
.hero-sub {
  font-size: 1.1rem;
  color: #b0b3b5;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.badge {
  background: rgba(74,124,89,0.2);
  border: 1px solid var(--gruen);
  color: #a8d5b5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.hero-cta {
  display: inline-block;
  background: var(--gruen);
  color: var(--weiss);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--gruen-hell); }

/* --- SECTION HEADER --- */
.section-header {
  margin-bottom: 2.5rem;
}
.section-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: 0.5rem;
}
.section--dark .section-header .eyebrow { color: #7dc48e; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p {
  color: var(--text-soft);
  max-width: 560px;
}
.section--dark .section-header p { color: #9aa0a5; }

/* --- LEISTUNGEN GRID --- */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.leistung-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 3px solid var(--gruen-hell);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.leistung-card h3 {
  color: var(--weiss);
  margin-bottom: 0.5rem;
}
.leistung-card p {
  font-size: 0.9rem;
  color: #9aa0a5;
  line-height: 1.5;
}
.leistung-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

/* --- GEBIET STRIP --- */
.gebiet-strip {
  background: var(--gruen);
  color: var(--weiss);
  padding: 1.2rem 0;
  text-align: center;
}
.gebiet-strip p {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gebiet-strip strong { opacity: 0.7; margin-right: 0.5rem; font-weight: 400; font-size: 0.75rem; }

/* --- REFERENZ GALERIE --- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.galerie-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}
.galerie-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.galerie-item:hover img { transform: scale(1.03); }
.galerie-label {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9aa0a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- KONTAKT KARTE --- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}
.kontakt-info h3 { margin-bottom: 1rem; }
.kontakt-zeile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.kontakt-zeile-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  background: var(--anthrazit-2);
  border: 1px solid #4a4d50;
  border-radius: var(--radius);
  color: var(--weiss);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus { border-color: var(--gruen); }
.kontakt-form textarea { min-height: 120px; resize: vertical; }
.kontakt-form button {
  background: var(--gruen);
  color: var(--weiss);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.kontakt-form button:hover { background: var(--gruen-hell); }

/* --- FOOTER --- */
footer {
  background: #1a1b1c;
  color: #6b7074;
  font-size: 0.85rem;
  padding: 2rem 0;
  border-top: 3px solid var(--gruen);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--weiss); }

/* --- UTIL --- */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--gruen);
  color: var(--gruen);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--gruen);
  color: var(--weiss);
}
