@font-face {
    font-family: 'Saira';
    src: url('../fonts/Saira-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Saira';
    src: url('../fonts/Saira-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg-dark: #000;
    --accent: #e00000;
    --text-light: #fff;
    --gray: #888;
}

body {
    margin: 0;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
}

header {
    background-color: #111;
    border-bottom: 2px solid var(--accent);
    position: relative;
    z-index: 1;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 80px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    line-height: 80px;
}

nav a:hover {
    color: var(--accent);
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-wrapper {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: 0 10px;
}

.logo {
    height: 150px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 32px;
    line-height: 80px;
    cursor: pointer;
}

.footer {
  background-color: #111;
  color: white;
  border-top: 4px solid #e00000;
  padding: 40px 20px;
  font-size: 15px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
}

.footer-heading {
  color: #e00000;
  font-weight: bold;
  margin-bottom: 8px;
}

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

.footer-block li {
  margin-bottom: 6px;
}

.footer-block a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-block a:hover {
  color: #e00000;
}


@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Menübutton */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
    }

    /* Container-Styling mobil */
    .nav-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        padding-bottom: 20px;
        position: relative;
    }

   .logo-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .logo {
        height: 100px;
        display: block;
    }

    /* Desktop-Menüs ausblenden */
    .nav-left,
    .nav-right {
        display: none;
    }

    /* Mobile Menü ausblenden initial */
    .mobile-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: #111;
        padding-bottom: 10px;
    }

    /* Mobile Menü aktiv */
    header.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;      /* <- wichtig: über Content legen */
    top: 160px;              /* <- anpassen je nach Höhe von Logo & Header */
    left: 0;
    right: 0;
    background: #111;
    z-index: 1000;
}

    /* Mobile Menü Links */
    .mobile-menu a {
        padding: 14px 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        border-top: 1px solid #222;
    }

    .mobile-menu a:hover {
        color: var(--accent);
    }

    .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .features,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

}

