/* Grundlayout: Body zentriert */
body {
    display: flex;
    justify-content: center;  /* horizontal zentriert */
    align-items: flex-start;  /* oben ausgerichtet */
    min-height: 100vh;
    margin: 0;
    background-color: #fdfdfd;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  /* Container für max-Breite und Padding */
  .container {
    max-width: 1100px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Header */
  header {
    position: fixed; /* Fix header at the top */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays above other elements */
    background-color: white; /* Ensure consistent background */
    border-bottom: 2px solid #f58220;
}

header .container {
    max-width: 1100px; /* Restrict content width */
    margin: 0 auto; /* Center content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;
}
  
  /* Logo */
  header img {
    height: 50px;
  }
  
  /* Navigation */
  nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px 10px;
    display: block;
  }
  
  nav a:hover,
  nav a.active {
    background-color: #f58220;
    color: white;
  }
  
  /* Hamburger-Button */
  .menu-btn {
    display: none; /* Hidden by default */
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: black; /* Set default color to black */
  }
  
  /* Main Inhalt */
  main {
    margin-top: 80px; /* Add space for fixed header */
    margin-bottom: 60px; /* Add space for fixed footer */
  }
  
  h1, h2 {
    color: #f58220;
  }
  
  /* Buttons */
  button, .btn {
    background-color: #f58220;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
  }
  
  button:hover, .btn:hover {
    background-color: #d66e15;
  }
  
  /* Footer */
  footer {
    position: static; /* Revert to default position */
    bottom: auto; /* Remove fixed positioning */
    left: auto; /* Remove fixed positioning */
    width: auto; /* Remove full width */
    z-index: auto; /* Remove stacking context */
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px; /* Retain margin for spacing */
  }
  
  footer a {
    color: #f58220;
    text-decoration: none;
    margin: 0 5px;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    nav ul {
      display: none;  /* Menü verstecken */
      flex-direction: column;
      background-color: white;
      position: absolute;
      top: 60px;  /* unter Header */
      right: 20px;
      width: 200px;
      border: 1px solid #f58220;
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      z-index: 1000;
    }
  
    nav ul.show {
      display: flex; /* Menü sichtbar */
    }
  
    nav ul li {
      margin: 10px 0;
    }
  
    .menu-btn {
      display: block; /* Visible on smaller screens */
    }
  
    /* Karten untereinander auf kleineren Bildschirmen */
    .team-cards {
      flex-direction: column;
    }
  
    .card {
      width: 100% !important;
    }
  }
  
  /* ------------------------------ */
  /* Karten für Über Uns Seite */
  
  .team-cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
  }
  
  .card {
    background-color: #fff;
    border: 2px solid #f58220;
    border-radius: 10px;
    padding: 20px;
    width: 48%; /* ca. zwei Karten nebeneinander */
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
  }
  
  .card:hover {
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  }
  
  .card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
  }
  
  .card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #f58220;
  }
  
  .card ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
  }
  
  .card p strong {
    color: #f58220;
    font-weight: bold;
  }

  
  /* Referenzen Seite */
.reference {
    margin-bottom: 40px;
    padding: 20px;
    border: 2px solid #f58220;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .reference h2 {
    color: #f58220;
    margin-top: 0;
    margin-bottom: 15px;
  }
  
  .reference h3 {
    color: #d46b00;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .reference ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
  }
  
  .reference p {
    margin-bottom: 10px;
    line-height: 1.5;
  }

  /* Kontaktformular */
form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

form button {
    align-self: flex-start;
}

/* Kontakt Abschnitt */
.contact-section {
    background-color: #f9f9f9; /* Hellgrauer Hintergrund */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Dezente Schatten */
    margin-top: 40px;
}

.reference-text p:first-child {
    font-weight: normal; /* Remove bold styling */
}

/* Neue Styles für Referenzen mit Datum und Logo */
.reference-wrapper {
    margin-bottom: 20px; /* Space between references */
}

.reference-date {
    text-align: center; /* Center the date text */
    font-weight: bold;
    margin-bottom: 10px; /* Space between the date and the reference box */
    color: #333;
}

.reference-row {
    display: flex;
    align-items: center; /* Center content vertically */
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reference-logo {
    flex: 0 0 120px;
    margin-right: 15px;
    text-align: center;
}

.reference-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.reference-text {
    flex: 1;
    padding-left: 10px;
}

@media (max-width: 768px) {
    .reference-row {
        flex-direction: column;
        text-align: center;
    }
    .reference-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .reference-text {
        padding-left: 0;
    }
}
