/* ===== Corporate Design – Baumaschinen Service Kröner ===== */
:root {
  --gelb: #F5C22E;
  --anthrazit: #1D2731;
  --schiefer: #2F3C4A;
  --bg-light: #F4F4F4;
  --text-dark: #1D2731;
}

/* Basis */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Header & Navigation */
.header {
  background: var(--anthrazit);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo { width: 180px; }

.nav { display: flex; gap: 20px; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav a:hover { background: rgba(255,255,255,0.12); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 20px;
}

/* Hero */
.hero {
  background: linear-gradient( to bottom, rgba(29,39,49,0.85), rgba(29,39,49,0.55) ),
              url('https://images.unsplash.com/photo-1542816417-4b6e1c44c7ea?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 110px 20px;
}
.hero-text h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 2.2rem;
  margin: 0 0 12px 0;
}
.hero-text p { font-size: 1.15rem; margin: 0 0 24px 0; }

.btn-primary {
  background: var(--gelb);
  color: var(--anthrazit);
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
.btn-primary:hover { filter: brightness(0.95); }

/* Leistungen */
.leistungen { padding: 60px 20px; text-align: center; }
.leistungen h2 { font-family: "Montserrat", Arial, sans-serif; font-size: 2rem; margin: 0 0 10px; }
.leistungen .grid {
  margin: 28px auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  border-bottom: 4px solid var(--gelb);
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  margin: 0 0 6px 0;
}

/* Kontakt */
.kontakt {
  background: var(--schiefer);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.btn-secondary {
  margin-top: 18px;
  display: inline-block;
  background: var(--gelb);
  color: var(--anthrazit);
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
}
.btn-secondary:hover { filter: brightness(0.95); }

/* Footer */
.footer { text-align: center; padding: 20px; background: var(--anthrazit); color: #fff; }

/* Content Pages */
.container {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.container h1 { font-family: "Montserrat", Arial, sans-serif; margin-top: 0; }
.container h2 { font-family: "Montserrat", Arial, sans-serif; }
.container a { color: var(--schiefer); text-decoration: underline; }

/* Responsive Navigation */
@media (max-width: 900px) {
  .logo { width: 160px; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; right: 18px; top: 60px; background: var(--schiefer); padding: 14px; border-radius: 8px; flex-direction: column; min-width: 220px; }
  .nav.open { display: flex; }
  .nav a { color: #fff; padding: 10px; border-radius: 6px; }
  .nav a:hover { background: rgba(0,0,0,0.12); }
  .nav-toggle { display: inline-block; }

  .hero { padding: 80px 16px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 1rem; }
}
