/* Grundstil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
  /* Header */
header {
  background-color: #f26522;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  position: relative;
}

  .logo {
    font-size: 1.8em;
    font-weight: bold;
  }
  
 ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  position: relative;
}

/* Unterstrich-Animation */
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #25211f;
  transition: width 0.3s;
}

/* Hover- und Aktiveffekt: Unterstrich + Textfarbe */
nav a:hover,
nav a.active {
  color: #ccc; /* Hellgrau */
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

  /* Hero */
  .hero {
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 450px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero-text h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  }
  
  .hero-text p {
    font-size: 1.2em;
    margin-top: 10px;
  }
  
  /* Willkommen */
  .willkommen {
    padding: 50px 20px;
    background-color: #1a1a1a;
    text-align: center;
  }
  
  .willkommen h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #f26522;
  }
  
  /* Leistungen-Vorschau */
  .leistungen-vorschau {
    background-color: #2a2a2a;
    padding: 60px 20px;
    text-align: center;
  }
  
  .leistungen-vorschau h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #f26522;
  }
  
.leistung-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px; /* 👈 sorgt für Abstand nach oben */
}

  .leistung {
    background: #1a1a1a;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }
  
.leistung img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* z. B. für rechteckiges Format */
  border-radius: 10px;
  object-fit: cover;
}
  .leistung h3 {
    margin-top: 15px;
    font-size: 1.2em;
    color: #f26522;
  }
  
  .leistung p {
    font-size: 0.95em;
    margin-top: 10px;
    color: #eee;
  }
  
  .mehr-link {
    margin-top: 30px;
  }
  
  .mehr-link a {
    text-decoration: none;
    font-weight: bold;
    color: #f26522;
  }
  
  .mehr-link a:hover {
    color: #fff;
  }
  
  /* Footer */
footer {
  background-color: #2a2a2a;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
}

.footer-info p {
  margin-bottom: 10px;
  font-size: 0.95em;
}
  /* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    height: auto;
    
  }
nav {
  width: 100%;
}

  .nav-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #f26522;
    z-index: 1000;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }

  .logo {
    font-size: 1.4em;
  }
}

  
  /* Leistungen-Seite */
  .leistungen-seite {
    padding: 60px 20px;
    background-color: #111;
  }
  
  .leistungen-seite h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
    color: #f26522;
  }
  
  .leistung-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
  }
  
  .leistung-detail img {
    width: 300px;
    max-width: 100%;
    border-radius: 10px;
  }
  
  .leistung-detail div {
    flex: 1;
  }
  
  .leistung-detail h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #f26522;
  }
  
  @media (max-width: 768px) {
    .leistung-detail {
      flex-direction: column;
      text-align: center;
    }
  
    .leistung-detail div {
      margin-top: 15px;
    }
  }
  

/* Container-Zentrierung auf allen Seiten */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* damit auf kleinen Bildschirmen Luft ist */
}

/* Über uns Layout mobil verbessern */
.ueber-uns-block {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.ueber-uns-bild img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.ueber-uns-text {
  flex: 1;
  min-width: 280px;
}

.ueber-uns-text h2 {
  color: #f26522;
  margin-bottom: 15px;
}

.ueber-uns-text ul {
  margin-top: 15px;
  padding-left: 20px;
}

.ueber-uns-text li {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .ueber-uns-text ul {
    flex-direction: column;
    align-items: center;
  }

  .ueber-uns-text li {
    flex: 1 1 100%;
    text-align: center;
  }
}




  
  /* Kontakt */
  .kontakt {
    padding: 60px 20px;
    background-color: #111;
  }
  
  .kontakt h1, .kontakt h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #f26522;
  }
  
  .kontakt-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .adresse, .kontaktformular {
    flex: 1;
    min-width: 300px;
  }
  
  .kontaktformular form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .kontaktformular input,
  .kontaktformular textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
  }
  
  .kontaktformular button {
    padding: 10px;
    background-color: #f26522;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .kontaktformular button:hover {
    background-color: #d65217;
  }
  
  .karte iframe {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
  }
  
  /* Mobile Optimierung */
  @media (max-width: 768px) {
    .kontakt-infos {
      flex-direction: column;
    }
  
    .kontaktformular form {
      width: 100%;
    }
  
    footer {
      font-size: 0.95em;
    }
  
    .karte iframe {
      height: 250px;
    }
  }
  
  /* Kontaktseite: Grid */
  .kontakt-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
  }
  
  .kontakt-links, .kontakt-rechts {
    flex: 1;
    min-width: 300px;
  }
  
  .kontakt-links img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .kontakt-rechts form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .kontakt-rechts input,
  .kontakt-rechts textarea {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
  }
  
  .kontakt-rechts button {
    padding: 10px;
    background-color: #f26522;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .kontakt-rechts button:hover {
    background-color: #d65217;
  }
  
  @media (max-width: 768px) {
    .kontakt-grid {
      flex-direction: column;
    }
  }
.angebot-block {
  display: flex;
  gap: 30px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 40px;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.angebot-links {
  flex: 1;
}

.angebot-links img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-height: 200px;
  object-fit: cover;
}

.angebot-rechts {
  flex: 2;
  padding-left: 10px;
}


.angebot-rechts h3 {
  font-size: 1.3em;
  color: #f26522;
  margin-bottom: 10px;
}

.angebot-rechts p {
  font-size: 1em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .angebot-block {
    flex-direction: column;
    text-align: center;
  }

  .angebot-links img {
    max-height: none;
  }

  .angebot-rechts {
    padding-left: 0;
    margin-top: 20px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em; /* Schrift leicht kleiner, optional */
  font-weight: bold;
  color: white;
  line-height: 1;
}
.logo-icon {
  height: 50px;
  width: auto;
}
.ofen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* immer 2 Spalten */
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .ofen-grid {
    grid-template-columns: 1fr; /* auf kleinen Geräten 1 Spalte */
  }
}
.preis-hinweis {
  font-size: 0.9em;
  color: #bbb;
  text-align: center;
  margin-top: 40px;
}
.ethanol-einleitung {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #ddd;
  line-height: 1.6;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.lightbox-close {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
  cursor: pointer;
}
.slider-main {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.slider-main img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Pfeil-Stil */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-main:hover .slider-btn {
  opacity: 1;
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}
