/* ===================================================
   minibagger-bamberg.de – Hauptstylesheet
   Farben: Gelb/Schwarz – Bau/Handwerk-Ästhetik
=================================================== */

:root {
  --gelb: #f5c800;
  --gelb-dark: #d4a900;
  --schwarz: #111111;
  --dunkel: #1a1a1a;
  --grau: #2c2c2c;
  --grau-hell: #f4f4f4;
  --text: #222222;
  --text-hell: #555555;
  --weiss: #ffffff;
  --r: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ======= WRAPPER ======= */
.w { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* ======= HEADER ======= */
header {
  background: var(--schwarz);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gelb);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.logo-text { color: var(--weiss); }
.logo-text strong { display: block; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.02em; }
.logo-text small { font-size: .72rem; color: #aaa; text-transform: uppercase; letter-spacing: .08em; }

nav { display: flex; align-items: center; gap: 1.5rem; }
nav a {
  color: #ccc;
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s;
}
nav a:hover, nav a.active { color: var(--gelb); }

.nav-tel {
  background: var(--gelb);
  color: var(--schwarz) !important;
  font-weight: 700 !important;
  padding: .45rem 1rem;
  border-radius: var(--r);
  font-size: .88rem !important;
  white-space: nowrap;
}
.nav-tel:hover { background: var(--gelb-dark); }

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

/* ======= HERO ======= */
.hero {
  background: var(--schwarz);
  color: var(--weiss);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(245,200,0,.03) 20px,
    rgba(245,200,0,.03) 40px
  );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245,200,0,.15);
  border: 1px solid rgba(245,200,0,.3);
  color: var(--gelb);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--gelb); }
.hero-sub {
  font-size: 1.05rem;
  color: #bbb;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .95rem;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-gelb { background: var(--gelb); color: var(--schwarz); }
.btn-gelb:hover { background: var(--gelb-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--weiss); border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--gelb); color: var(--gelb); }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: #999;
}
.trust-item strong { color: var(--weiss); }

/* Hero Card */
.hero-card {
  background: var(--grau);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gelb);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vorteil-liste { list-style: none; }
.vorteil-liste li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .92rem;
  color: #ccc;
}
.vorteil-liste li:last-child { border-bottom: none; }
.vorteil-liste .icon {
  width: 28px;
  height: 28px;
  background: rgba(245,200,0,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ======= SECTIONS ======= */
section { padding: 4rem 0; }
section.bg-grau { background: var(--grau-hell); }
section.bg-schwarz { background: var(--schwarz); color: var(--weiss); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gelb);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-hell);
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.section-header { margin-bottom: 2.5rem; }

/* ======= VORTEILE GRID ======= */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.vorteil-card {
  background: var(--weiss);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.vorteil-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.vorteil-card .vi {
  width: 48px;
  height: 48px;
  background: var(--gelb);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.vorteil-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.vorteil-card p { font-size: .9rem; color: var(--text-hell); }

/* ======= EINSÄTZE ======= */
.einsaetze-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.einsatz-card {
  background: var(--grau);
  border-radius: 10px;
  padding: 1.25rem;
  border-left: 3px solid var(--gelb);
  transition: transform .15s;
}
.einsatz-card:hover { transform: translateX(4px); }
.einsatz-card .ei { font-size: 1.6rem; margin-bottom: .5rem; }
.einsatz-card h3 { font-size: .95rem; font-weight: 700; color: var(--weiss); margin-bottom: .3rem; }
.einsatz-card p { font-size: .82rem; color: #999; }

/* ======= ABLAUF ======= */
.ablauf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.ablauf-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.step-nr {
  width: 52px;
  height: 52px;
  background: var(--gelb);
  color: var(--schwarz);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.ablauf-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.ablauf-step p { font-size: .88rem; color: var(--text-hell); }

/* ======= REGIONEN ======= */
.regionen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
}
.region-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 1rem;
  text-align: center;
  transition: background .15s;
}
.region-card:hover { background: rgba(245,200,0,.1); border-color: var(--gelb); }
.region-card .ri { font-size: 1.4rem; margin-bottom: .4rem; }
.region-card h3 { font-size: .9rem; font-weight: 700; color: var(--weiss); }
.region-card p { font-size: .78rem; color: #888; margin-top: .2rem; }

/* ======= CTA ======= */
.cta-section {
  background: var(--gelb);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--schwarz);
  margin-bottom: .75rem;
}
.cta-section p { color: #333; margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-schwarz { background: var(--schwarz); color: var(--weiss); }
.btn-schwarz:hover { background: #333; }
.btn-outline-schwarz {
  background: transparent;
  color: var(--schwarz);
  border: 2px solid var(--schwarz);
}
.btn-outline-schwarz:hover { background: rgba(0,0,0,.08); }
.cta-info { margin-top: 1rem; font-size: .82rem; color: #555; }

/* ======= KONTAKT SEITE ======= */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.kontakt-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.kontakt-info p { color: var(--text-hell); margin-bottom: 1.5rem; }
.kontakt-punkte { list-style: none; }
.kontakt-punkte li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid #eee;
  font-size: .95rem;
}
.kontakt-punkte li:last-child { border-bottom: none; }
.kontakt-punkte .ki {
  width: 36px;
  height: 36px;
  background: var(--gelb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.kontakt-punkte a { font-weight: 600; color: var(--text); }
.kontakt-punkte a:hover { color: var(--gelb-dark); }

/* Formular */
.kontakt-form {
  background: var(--grau-hell);
  padding: 2rem;
  border-radius: 12px;
}
.kontakt-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--r);
  font-size: .95rem;
  font-family: inherit;
  background: var(--weiss);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gelb);
  box-shadow: 0 0 0 3px rgba(245,200,0,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: .85rem;
  background: var(--gelb);
  color: var(--schwarz);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .15s;
}
.form-submit:hover { background: var(--gelb-dark); }
.form-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--r);
  padding: 1rem;
  color: #166534;
  margin-bottom: 1rem;
}
.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--r);
  padding: 1rem;
  color: #991b1b;
  margin-bottom: 1rem;
}

/* ======= FOOTER ======= */
footer {
  background: var(--schwarz);
  color: #999;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; line-height: 1.6; max-width: 300px; }
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--weiss);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { font-size: .88rem; color: #888; transition: color .15s; }
.footer-col ul li a:hover { color: var(--gelb); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: var(--gelb); }

/* ======= PAGE HEADER ======= */
.page-header {
  background: var(--schwarz);
  padding: 3rem 0 2.5rem;
  color: var(--weiss);
}
.page-header .breadcrumb {
  font-size: .8rem;
  color: #666;
  margin-bottom: .75rem;
}
.page-header .breadcrumb a { color: #888; }
.page-header .breadcrumb a:hover { color: var(--gelb); }
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.page-header p { color: #bbb; margin-top: .5rem; font-size: 1rem; }

/* ======= LEISTUNGS SEITE ======= */
.leistung-content {
  max-width: 820px;
}
.leistung-content h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; }
.leistung-content p { margin-bottom: 1rem; color: var(--text-hell); }
.leistung-content ul { margin: .75rem 0 1rem 1.25rem; }
.leistung-content ul li { margin-bottom: .4rem; color: var(--text-hell); }

.highlight-box {
  background: var(--gelb);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--schwarz); margin-bottom: .4rem; }
.highlight-box p { color: #333; font-size: .92rem; margin: 0; }

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dunkel); padding: 1rem; gap: .5rem; }
  nav.open { display: flex; }
  nav a { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .hamburger { display: flex; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ablauf-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ablauf-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}
