*{
margin:0;
padding:0;
box-sizing:border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body{
font-family: Calibri, sans-serif;
background:#cfe9cf;
color:white;
display: flex;
flex-direction: column;
min-height: 100vh; /* ganze Bildschirmhöhe */
}

main{
    flex: 1;
}

/* Navigation */

.nav{
font-size: 1.25rem;
position:fixed;
top:0;
width:100%;
background: #fafbfa;
backdrop-filter:blur(10px);
z-index:100;
}

.nav-container{
max-width:1200px;
min-height: 110px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
  height: 6rem;
  width: auto;
  display: block;
}

.nav-links{
display:flex;
gap:25px;
list-style:none;
}

.nav-links a{
padding: 2rem;
text-decoration:none;
color:#99bb99;
transition:0.3s;
border-radius:6px;
}

.nav-links a:hover{
opacity:1;
background-color: #2a552a;
}

.aktiv{
background-color: #2a552a;
}

/* Hamburger Button */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  flex-direction:column;
  gap:5px;
}

.nav-toggle span{
  display:block;
  width:28px;
  height:3px;
  background:#145a26;
  border-radius:2px;
  transition:0.3s;
}

/* Telefon Button */
.phone-button{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:60px;
    height:60px;
    background:#145a26;
    border-radius:50%;
    text-decoration:none;
    transition:all .3s ease;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.phone-button:hover{
    background:#2B5D2B;
    transform:translateY(-3px);
}

.phone-button img{
    width:50px;
    height:50px;
    object-fit:contain;
}
.phone-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-button::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: 115%;
    transform: translateX(-50%);
    background: #275317;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.2s ease;
    z-index: 9999;
}

.phone-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ==========================
   Mobile Navigation
========================== */

@media screen and (max-width: 768px) {

  .nav {
    padding: 10px 14px;
  }

  .nav-container {
    padding: 0 15px;
    min-height: 90px;
    gap: 12px;
  }

  .logo img {
    height: 52px;
    width: auto;
  }

  .phone-button {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    margin: 0;
  }

  .phone-button img {
    width: 24px;
    height: 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2B5D2B;
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 10px 0 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    border-radius: 0;
  }

  .nav-links.active {
    display: flex;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  color: #333;
  padding: 18px 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  border-radius: 12px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner button {
  background: #275317;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-banner button:hover {
  background: #1f4212;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/*======= FOOTER ================= */

.footer{
    background:#145a26;
    color:#fff;
    padding:18px 8% 8px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
    max-width:1100px;
    margin:auto;
}

.footer h3{
    margin:0 0 10px;
    font-size:1.1rem;
}

.contact-grid{
    display:grid;
    grid-template-columns:90px 1fr;
    gap:12px;
    line-height:1.45;
    font-size:.95rem;
}

.contact-labels{
    color:#c9e4c7;
    font-weight:600;
}

.footer a{
    color:#fff;
    text-decoration:none;
}

.footer a:hover{
    text-decoration:underline;
}

.footer-links{
    line-height:2;
}

.maps-button{
    display:inline-block;
    margin-top:6px;
    padding:8px 14px;
    background:#dbead2;
    color:#145a26 !important;
    border-radius:7px;
    font-weight:600;
}

.maps-button:hover{
    background:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.2);
    margin-top:18px;
    padding-top:10px;
    text-align:center;
    font-size:.85rem;
}

/* Mobile */

@media(max-width:900px){

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-grid{
    grid-template-columns:1fr;
}

}

/* Impressum */

.content-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 60px;
    background: #f5f7f2;
    color: #333;
    line-height: 1.7;
    font-size: 17px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.content-page h1 {
    color: #275317;
    font-size: 52px;
    margin-bottom: 50px;
}

.content-page h2,
.content-page strong {
    color: #275317;
}

.content-page p {
    margin-bottom: 24px;
}

body {
    background: #f6f8f3;
}

/* Produktbereich */

.produkte{
  padding: 15px;
}

@media (min-width: 600px)
{
  .produkte{
  padding: 40px 20px;
  max-width:1200px;
  margin:auto;
  }
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px 10px;
  justify-items: center;
}

.product-card{
background:#99bb99;
padding:20px;
border-radius:10px;
transition:0.3s;
text-align:left;
  width: 240px;
}

.product-card:hover{
transform:translateY(-5px);
background:#131313;
}

.product-image{
height:160px;
background-size: cover;        /* Bild wird skaliert, um den Container zu füllen */
background-position: center;   /* zentriert das Bild */
background-repeat: no-repeat;  /* verhindert Wiederholung */
border-radius:6px;
margin-bottom:15px;
}

.product-card h3{
margin-bottom:40px;
font-size: 1.5rem;
}

.product-card p{
opacity:0.7;
font-size:1.1rem;
}

.no-products{
    font-size: 4rem;
    color: #000;
    font-weight: bold;
    padding: 6rem 2rem;
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
}

.product-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Produktseiten */
.product-detail{
  color: #000; 
  font-size: 150%;
}

/* Filter */

@media (max-width: 768px) {
  .letter-filter {
    display: none !important;
  }
}

.letter-filter, .filter-bar{
display:flex;
justify-content:center;
margin-bottom:30px;
flex-wrap:wrap;
}

.filter-bar button, .letter-filter button{
  border: none;
  background:#E0E0E0;
  color:black;
  cursor:pointer;
  transition:0.3s;
  border-radius: 6px;
}

.filter-bar{
gap:15px;
}

.filter-bar button{
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.filter-bar button:hover{
background:#3A7D3A;
}

.letter-filter{
  gap: 8px;
}

.letter-filter button{
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
}

.letter-filter button:hover{
  background:#2a2a2a;
}

.filter-bar button.active,
.letter-filter button.active {
  background-color: #145a26; /* für aktive Filter */
  color: white;
}

/* Suchleiste */
.search-bar{
  display:flex;
  justify-content:center;
  margin-bottom:25px;
}

.search-bar input{
  width: 100%;
  max-width: 400px;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

.search-bar input:focus{
  border-color: #2B5D2B;
  box-shadow: 0 0 5px rgba(43,93,43,0.3);
}

/* Header Bild */
.fullscreen-image {
  position: relative;
  height: 350px; /* Höhe des Streifens */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 40px 0; /* Abstand oben und unten zum Header/Filter */
  border-radius: 10px; /* optional: abgerundete Ecken */
}

.fullscreen-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* Overlay für bessere Lesbarkeit */
}

.fullscreen-image .image-text {
  position: relative;
  color: white;
  z-index: 2;
}

.image-text{
  margin-top: 50px ;
}

.image-text h2{
    font-size: 4rem !important;
    font-weight: 700;
    margin-bottom: 8px;
}
.image-text p{
    font-size: 1.5rem;
}
.fullscreen-image p{
    font-size: 2rem;
    font-weight: 500;
    opacity: 1;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background: #2B5D2B;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Kontaktformular */
.contact-form{
  max-width: 700px;
  margin: 0 auto;
  background: #99bb99;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  color: #fff;
}

.contact-form label{
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: bold;
  color: #fff;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8f8f8;
  color: #222;
  outline: none;
  transition: 0.3s;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  box-shadow: 0 0 0 3px rgba(20, 90, 38, 0.25);
  background: #fff;
}

.contact-form textarea{
  resize: vertical;
  min-height: 140px;
}

.contact-form-buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-form button{
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button[type="submit"]{
  background: #145a26;
  color: white;
}

.contact-form button[type="submit"]:hover{
  background: #1c7431;
}

.contact-form button[type="reset"]{
  background: #e0e0e0;
  color: #222;
}

.contact-form button[type="reset"]:hover{
  background: #cfcfcf;
}

/* ===== Hero Video ===== */

.hero-video{
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.30);
}

.image-text{
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
/* ===== Datenschutz Kontaktdaten ===== */

.kontakt p {
    margin: 2px 0;
    line-height: 1.4;
}

.content-page ul {
    padding-left: 30px !important;
    margin: 10px 0 20px 0 !important;
}

.content-page li {
    margin-bottom: 6px !important;
}

footer.footer .footer-grid {
    display: grid !important;
    grid-template-columns: auto auto auto auto auto !important;
    justify-content: space-evenly !important;
    column-gap: 35px !important;
    row-gap: 25px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

footer.footer .footer-block {
  width: auto !important;
  text-align: left !important;
}
.drahtwurm-highlight {
  display: inline-flex !important;
  margin-top: 18px !important;
  padding: 12px 22px !important;
  background: #cde4a6 !important;
  border-left: 6px solid #247633 !important;
  border-radius: 8px !important;
  color: #2B5D2B!important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
}
.nav-container{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 35px;
}

.logo{
  flex: 0 0 auto;
}

.phone-button{
  flex: 0 0 60px;
  margin-left: 20px;
  margin-right: 40px;
}

.nav-links{
  margin-left: auto;
}

/*  Vorteile Text*/

.vorteile-title{
    margin:40px 0 20px;
    font-size:2rem;
    font-weight:700;
    color:#275317;      /* nia7-Grün */
    position:relative;
}

.vorteile-title::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    margin-top:8px;
    background:#8BC34A;
    border-radius:2px;
}
@media screen and (max-width: 768px) {

  /* Überschrift im Headerbild */

  .image-text h1,
  .hero-content h1,
  .page-hero h1 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 15px !important;
    text-align: center !important;
  }

  /* Inhaltsbereich der Unterseiten */

  .content-page {
    padding: 28px 20px !important;
  }

  .content-page h1,
  .content-page h2 {
    font-size: 2rem !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
  }

  .content-page h3 {
    font-size: 1.4rem !important;
  }

  .content-page p,
  .content-page li {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }

  /* Footer untereinander statt nebeneinander */

  footer.footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 30px 22px !important;
  }

  footer.footer .footer-block {
    width: 100% !important;
    text-align: left !important;
  }

  footer.footer h3 {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
  }

  footer.footer p,
  footer.footer a {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }
  }

    /* Vorteile */

  .vorteile-liste {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
  }

  .vorteile-liste li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .vorteile-liste li span,
  .vorteile-liste li .icon {
    flex: 0 0 28px;
    width: 28px;
    text-align: center;
  }

  /* PDF-Buttons */

  .pdf-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .pdf-buttons .button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: 7px;
  }

/* Mobile */

@media screen and (max-width: 768px) {

  .contact-form{
    padding: 24px 18px;
  }

  .contact-form-buttons{
    flex-direction: column;
  }

  .contact-form button{
    width: 100%;
  }
}
/* Mobile: Vorteile und PDF-Buttons */

@media (min-width: 600px){
  .filter-bar button{
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }
}
/* Mobile: PDF-Buttons sauber untereinander */
@media screen and (max-width: 768px) {

  .pdf-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 32px 0 !important;
  }

  .pdf-buttons .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }
}

/* Mobile-Korrektur Startseite */
@media screen and (max-width: 768px) {

  /* Navigation */
  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 90px !important;
    padding: 0 16px !important;
  }

  .logo {
    flex: 0 0 auto !important;
  }

  .logo img {
    height: 54px !important;
    width: auto !important;
  }

  .phone-button {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
    margin: 0 !important;
  }

  .phone-button img {
    width: 24px !important;
    height: 24px !important;
  }

  /* Hamburger unbedingt anzeigen */
  .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 8px !important;
  }

  .nav-toggle span {
    width: 30px !important;
    height: 3px !important;
  }

  /* Startseiten-Hero */
  .hero-video {
    height: 350px !important;
  }

.image-text {
  margin-top: 0 !important;
  padding: 55px 16px 20px !important;
  justify-content: center !important;
}

  .image-text h2 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
    margin: 0 0 12px !important;
    max-width: 92% !important;
  }

  .image-text p {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    max-width: 92% !important;
  }
}
@media screen and (max-width: 768px) {
  .phone-button::after {
    display: none !important;
    content: none !important;
  }
}