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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f7f7f7;
}

/* Navigation */
header {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}
.navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
.navbar li {
  margin: 0 15px;
}
.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.navbar a:hover {
  color: #005fa8;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 50vh; /* Anpassbar, je nach Bild */
  background: url("../hero2.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-overlay {
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  padding: 0 15px;
}
.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-block;
  background: #005fa8;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #004276;
}

/* Allgemeine Sektionen */
.section {
  padding: 60px 20px;
  background-color: #f7f7f7;
}
.section:nth-of-type(even) {
  background-color: #fff; /* Abwechselnde Hintergrundfarben */
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Services / Leistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 30px;
  margin-top: 30px;
}
.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.service-item h3 {
  margin-bottom: 10px;
  color: #005fa8;
}

/* Referenzen (3D Hover-Effekt & Bilder) */
.references-grid {
  margin-top: 30px;
  display: grid;
  grid-gap: 30px;
  /* Für größere Bildschirme z.B. 2 Spalten */
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
.reference-item {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reference-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}
.reference-image {
  margin-bottom: 15px;
}
.reference-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.reference-item h3 {
  margin-bottom: 10px;
  color: #005fa8;
}
.reference-item ul {
  list-style: disc inside;
  margin-top: 10px;
}

/* Hosting & IT-Services */
.hosting-grid {
  display: grid;
  grid-gap: 30px;
  margin-top: 30px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.hosting-item {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.hosting-item h3 {
  margin-bottom: 10px;
  color: #005fa8;
}

/* Kontaktformular */
.contact-form {
  margin-top: 30px;
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Footer (in hellem Grau) */
footer {
  background: #e8e8e8;
  color: #333;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}
.footer-container a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
}
.footer-container a:hover {
  color: #005fa8; 
  text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
  }
  .navbar li {
    margin: 10px 0;
  }
  .hero {
    height: 60vh; /* mehr Höhe auf kleineren Geräten */
  }
  .references-grid {
    grid-template-columns: 1fr; /* Auf kleineren Geräten 1 Spalte */
  }
}
