* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #888;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    padding: 20px 40px;
}

header .logo img {
    width: auto;
    height: auto;     /* feste Höhe */
    min-width: 150px; /* Mindestbreite */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;  
}

nav ul li a {
    text-decoration: none;
    color: #4a3f35;
    font-weight: 500;
}

.hero {
    text-align: center;
    padding: 20px 20px;
}

.hero h1 {
     font-size: 2.5rem;
    color: #92C020;      
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color:#92C020;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.service {
    flex: 1;
    min-width: 220px;
    background-color: #FAF7F7;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}


#aktuelles {
    background-color: #FAF7F7;
    text-align: center;
}

footer {
    background: url('bilder/Footer.png') no-repeat bottom center;
    background-size: cover;   /* Bild füllt die Breite */
    text-align: center;
    padding: 160px 20px 20px;  /* Platz für die Welle oben */
    color: #4a3f35;
    position: absolut;
}
}
/* Footer-Links */
footer a {
    color: white;          /* dezentes Dunkelbraun statt grellblau */
    text-decoration: underline; /* unterstrichen bleibt */
    font-weight: 500;
    transition: color 0.3s;  /* sanfter Hover-Effekt */
}
img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}
.hero-flex {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center; /* Zentriert die gesamte Flexbox horizontal */
}

/* Bild links */
.hero-left {
    display: flex;
    justify-content: center; /* Bild innerhalb der linken Spalte zentrieren */
}

.hero-left img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

/* Text rechts */
.hero-right {
    flex: 1;
}

/* Media Query für Mobil */
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        align-items: center; /* zentriert auch auf Mobile */
    }
    .hero-left, .hero-right {
        max-width: 100%;
        text-align: center; /* Text auf Mobile mittig */
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        margin-top: 5px; /* Abstand zwischen Logo und Menü */
    }
  table {
    font-size: 0.8rem;
  }
  th, td {
    padding: 4px 6px;
  }
}

.preise-tabelle {
   
    margin: 0 auto;         /* zentriert auf der Seite */
    border-collapse: collapse;
    line-height: 1;  
    width: auto;    
}

.preise-tabelle th, 
.preise-tabelle td {
    text-align: left;       /* Text linksbündig */
    padding: 3px 5px;
}

tr.separator td hr {
    border: 0;
    border-top: 2px solid #92C020;
    margin: 5px 0;
}

h2, h3 {
    text-align: center;     /* Überschriften zentriert */
    color: #4a3f35;
}
.table-wrapper {
  overflow-x: auto;
  display: flex;         /* Flex zentriert die Tabelle */
  justify-content: center;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
padding: 0;              /* kein extra Weißraum */
}
