/* ===== MARLIE SCHÄDLINGSBEKÄMPFUNG – STYLESHEET ===== */

:root {
  --green: #4a7c59;
  --green-dark: #008000;
  --green-light: #6aaa7a;
  --accent: #cc0000;
  --text: #2d2d2d;
  --text-light: #666;
  --bg-light: #f5f5f0;
  --white: #ffffff;
  --footer-bg: #008000;
  --border: #e0e0d8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--green-dark);
  color: #cde0ce;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #cde0ce;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--accent);
}

.topbar .sep {
  opacity: 0.4;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.navbar .logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green);
  color: var(--white);
}

.nav-phone {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav-phone a {
  color: inherit;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-dark);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--green-dark);
  padding: 0;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 60%, var(--green-light) 100%);
  position: relative;
  text-align: center;
  padding: 2rem;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff10'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.slide-content {
  position: relative;
  max-width: 700px;
}

.slide-content h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.btn:hover {
  background: #b8982e;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-btn:hover {
  background: rgba(255,255,255,0.3);
}

.hero-btn.prev { left: 1.2rem; }
.hero-btn.next { right: 1.2rem; }

.hero-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s;
}

.hero-dots span.active {
  background: var(--white);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION ===== */
section {
  padding: 4rem 0;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.8rem auto 2.5rem;
  border-radius: 2px;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-section {
  background: var(--bg-light);
  padding: 4rem 0;
}
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-section img {
  object-fit: contain;
}

.contact-form-box, .contact-section img {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.contact-form-box h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: var(--green-dark);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group.honeypot {
  display: none !important;
}

.btn-submit {
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--green-dark);
}

/* ===== PEST GRID ===== */
.pest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pest-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pest-card:hover {
  box-shadow: 0 6px 20px rgba(74,124,89,0.15);
  transform: translateY(-3px);
}

.pest-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.pest-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-dark);
}

/* ===== STATS ===== */
.stats-section {
  background: var(--green-dark);
  color: var(--white);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.stat-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== ABOUT / INFO SECTION ===== */
.info-section {
  background: var(--white);
  padding: 4rem 0;
}
.info-section a {
	color: var(--accent);
}
.info-section a:hover {
	color: var(--accent);
	text-decoration: none;
}
.info-section a.btn {
	color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.info-card {
  padding: 1.5rem;
  border-top: 3px solid var(--green);
}

.info-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.88rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ===== LEISTUNGEN PAGE ===== */
.services-list {
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.2s;
}

.service-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.service-item h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-item h2::before {
  content: '✔';
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.service-item p {
  color: var(--text-light);
  line-height: 1.7;
}

.einsatz-box {
  background: var(--green-dark);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.einsatz-box h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.einsatz-box p {
  opacity: 0.85;
  font-size: 1.05rem;
}

/* ===== KONTAKT PAGE ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-details h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item-text h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-item-text a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-item-text a:hover {
  color: var(--green);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ===== IMPRESSUM / DATENSCHUTZ ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.legal-content h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: var(--green-dark);
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

.legal-content h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content strong {
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--green);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-logo img {
  height: 55px;
  margin-bottom: 1.2rem;
}

.footer-address {
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-address a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.footer-address a:hover {
  color: var(--accent);
}

.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 0.2rem;
    border-top: 2px solid var(--green);
  }

  .navbar .container {
    flex-wrap: wrap;
    position: relative;
  }

  .hero { height: 420px; }

  .form-row { grid-template-columns: 1fr; }

  .info-grid { grid-template-columns: 1fr; }

  .contact-info-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .pest-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}
/* Mailadresse verbergen */
.schreibmir::before { content: "info"; }
.schreibmir::after  { content: "@marlie-schaedlingsbekaempfung.de"; }

@media (max-width: 500px) {
  .slide-content h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.6rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.pest-card { animation: fadeUp 0.5s ease both; }
.pest-card:nth-child(2) { animation-delay: 0.05s; }
.pest-card:nth-child(3) { animation-delay: 0.1s; }
.pest-card:nth-child(4) { animation-delay: 0.15s; }
.pest-card:nth-child(5) { animation-delay: 0.2s; }
.pest-card:nth-child(6) { animation-delay: 0.25s; }
.pest-card:nth-child(7) { animation-delay: 0.3s; }
.pest-card:nth-child(8) { animation-delay: 0.35s; }
.pest-card:nth-child(9) { animation-delay: 0.4s; }
.pest-card:nth-child(10) { animation-delay: 0.45s; }

/* Counter animation */
.stat-num.counted { transition: color 0.3s; }

/* Mobile nav active state */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
}
