/* =========================================
   Basis-Styles
========================================= */
body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  font-family: sans-serif;
}

/* =========================================
   Header & Navigation
========================================= */
header {
  background-color: #333;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* =========================================
   Footer
========================================= */
footer {
  background-color: #f4f4f4;
  padding: 0.5rem 0;
  border-top: 4px solid #ff6600;
  text-align: center;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* =========================================
   Technik-Buttons (global)
========================================= */
.tech-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #444444, #c0c0c0);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  border: 1px solid #000000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tech-button:hover {
  background: linear-gradient(135deg, #000000, #777777);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.tech-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* =========================================
   Banner-Container (responsive)
========================================= */
.banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
}

.banner-container a img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Handy-Optimierung */
@media (max-width: 600px) {
  .banner-container {
    gap: 0.8rem;
  }

  .banner-container a img {
    width: 90%;
    max-width: 260px;
  }
}

/* Tablet-Optimierung */
@media (max-width: 900px) {
  .banner-container a img {
    max-width: 300px;
  }
}
/* =========================================
   Technik Bereich
========================================= */
.technik-section {
  margin: 2rem auto;
  text-align: center;
}

.technik-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.technik-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
/* 1. Die gesamte Tabelle zentrieren */
table {
  margin-left: auto;
  margin-right: auto;
  width: 95%;             /* Oder eine feste Breite wie 1000px */
  table-layout: fixed;    /* Zwingt alle Spalten auf exakt gleiche Breite */
  border-collapse: collapse;
}

/* 2. Spaltenüberschriften (th) und Zellen (td) zentrieren */
th, td {
  width: 20%;             /* 100% / 5 Spalten = 20% */
  text-align: center;
  vertical-align: top;
  padding: 10px;
}

/* 3. Buttons einheitlich groß machen */
.tech-button {
  display: flex;          /* Zentriert Text im Button besser */
  align-items: center;
  justify-content: center;
  min-height: 60px;       /* Alle Buttons haben dieselbe Höhe */
  width: 100%;            /* Nutzt volle Spaltenbreite */
  padding: 10px;
  text-decoration: none;
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Wichtig für korrekte Breitenberechnung */
  transition: background-color 0.3s, transform 0.2s;
}

/* 4. Hover-Effekt */
.tech-button:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-2px); /* Kleiner "Lift-Effekt" */
}

/* 5. Überschrift sauber zentrieren */
.content-section h2 {
  text-align: center;
}
