/* // <weight>: Use a value from 300 to 900 */

.rubik {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
  }
  
  html {
      scroll-behavior: smooth;
  }
  
  body {
      background: #f2f2f2;
  }
  
  header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: #333;
      z-index: 100;
  }
  
  .flex {
      display: flex;
      align-items: center;
  
  }
  
  .container {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      padding: 0 20px;
  }
  
  .navbar {
      justify-content: space-between;
  }
  
  .nav-links {
      gap: 20px;
      list-style: none;
      display:flex;
      
  }
  
  .navbar a {
      padding: 20px 0;
      display: inline-block;
      color: #ffff;
      text-decoration: none;
      text-transform: capitalize;
      transition: 0.2s;
  }
  
  .navbar a:hover {
      color: #ddd;
  }
  
  /* Startseite */
  .startseite {
      position: relative;
      height: 100vh;
      width: 100%;
      /*background: url("https://www.piepenbrock.de/fileadmin/user_upload/dienstleistungen/gebaeudereinigung/bilder/grundreinigung_piepenbrock-2.jpg");*/
      background: url("https://www.alleofficesolutions.com/wp-content/uploads/2021/02/office-cleaning-header.jpg");
      background-position: center;
      background-size: cover;
  }
  
  .startseite::before {
      content: '';
      position: absolute;
      height: 100%;
      width: 100%;
      top: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.2)
  }
  
  .startseite .content {
      position: relative;
      height: 85%;
      flex-direction: column;
      justify-content: center;
  }
  
  .startseite .text {
      color: #fff;
      text-align: center;
  }
  
  .startseite .text h1 {
      font-size: 60px;
      font-weight: 700;
      margin-bottom: 10px;
  }
  
  .startseite a {
      color: #333;
      text-decoration: none;
      background: #fff;
      padding: 10px 30px;
      border-radius: 5px;
      border: 2px solid #fff;
      box-shadow: rgba(0, 0, 0, 0.3) 0 5px 10px;
      font-size: 18px;
      transition: 0.3s;
  }
  
  .startseite a:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.3);
  }
  
  /* Dienstleistungen */
  .section {
      padding-top: 80px;
  }
  
  .section-title {
      text-align: center;
  }
  
  .section h2 {
      font-size: 2rem;
  }
  
  section .cards {
      margin-top: 50px;
      flex-wrap: wrap;
      justify-content: space-between;
  }
  
  section .card {
      width: calc(100% / 3 - 30px);
      text-align: center;
      list-style: none;
      background-color: #fff;
      padding: 40px 15px;
      border-radius: 5px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
      margin-bottom: 40px;
      flex-basis: 30%; /* !!! beobachten */
  }
  
  section .card img {
      height: 120px;
      width: 120px;
      border-radius: 50%;
      margin-bottom: 20px;
  }
  
  section .card p {
      margin-top: 5px;
  }
  
  /* Portfolio */
  .portfolio .card {
      padding: 0 0 20px;
  }
  .portfolio .card img {
      height: 240px;
      width: 100%;
      border-radius: 8px 8px 0 0;
  }
  
  /* Über uns */
  .ueberuns .company-info {
      margin-top: 30px;
  }
  
  .ueberuns .row {
      padding: 0 10px;
  }
  
  .ueberuns h3 {
      margin-top: 30px 0 10px;
  }
  
  .ueberuns ul {
      padding-left: 20px;
  }
  
  /* Kontakt */
  .kontakt .row {
      justify-content: space-between;
      margin: 60px 0 90px;
  }
  
  .kontakt .row .col {
      padding: 0 10px;
      width: calc(100% / 2 - 50px);
  }
  
  .kontakt-symbol {
      height: 20px;
      width: 20px;
      margin-right: 8px; 
  }
  
  .kontakt-symbol-uhr {
      height: 15px;
      width: 15px;
      margin-right: 12px;
  }
  
  .kontaktdaten p {
      display: flex;
      align-items: center;
  }
  
  .kontaktdaten p {
      color: #7a7a7a;
      margin-bottom: 10px;
  }
  
  .kontaktdaten p {
      margin-left: 110px;
  }
  
  .kontakt form input {
      width: 100%;
      height: 45px;
      margin-bottom: 20px;
      padding: 0 15px;
      border: 1px solid #bfbfbf;
      outline: none;
  }
  
  .kontakt form textarea {
      padding: 15px;
      width: 100%;
      height: 150px;
      outline: none;
      resize: none;
      border: 1px solid #bfbfbf;
  }
  
  .kontakt form button {
      padding: 10px 20px;
      border-radius: 6px;
      font-size: 17px;
      color: #fff;
      border: none;
      background: #333;
      cursor: pointer;
      transition: 0.2s;
  }
  
  .kontakt form button:hover {
     background: #525252;
  }
  
  /* Footer */
  .footer {
      background: #333;
      padding: 20px 0;
  }
  
  .footer span {
      color: #fff;
  }

#menu-umschalter {
    display: none;
}

/* #hamburger-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

#hamburger-btn .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

@media (max-width: 768px) {
    #hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
    }

    #menu-umschalter:checked + #hamburger-btn + .nav-links {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
    }
}
*/

/* Hamburger Button */
#hamburger-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

#hamburger-btn .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Animationen für den Hamburger-Button */
#menu-umschalter:checked + #hamburger-btn .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-umschalter:checked + #hamburger-btn .line:nth-child(2) {
    opacity: 0;
}

#menu-umschalter:checked + #hamburger-btn .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    #hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
    }

    #menu-umschalter:checked + #hamburger-btn + .nav-links {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
    }
}
