/* ================================================================= */
/*                          Allgemeine Stile                         */
/* ================================================================= */
@import url('../css/variables.css');

/* ==================== Allgemeine Struktur ==================== */
.truck-license-section {
    width: 100%;
    background-color: var(--bg-darkcolor);
    color: #fff;
    padding: 10rem 2rem;
    overflow: hidden;
  }
  
  .truck-license-container {
    max-width: 99rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  
  /* ==================== Textinhalt ==================== */
  .truck-license-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  .truck-license-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
  }
  
  .truck-license-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .truck-license-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
  }
  
  .truck-license-list i {
    margin-right: 0.75rem;
    color: white;
    font-size: 1rem;
  }

  .truck-tagline {
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: bold;
  }
  
  /* ==================== Bild ==================== */
  .truck-license-image img {
    width: 100%;
    max-width: 700px;
    height: 700px;
    border-radius: var(--border-radius);
    object-fit: cover;
  }

  /* ========= Button-Bereich der Benefits-Sektion ======== */
.truck-button-wrapper {
  margin-top: 3rem;
}

.truck-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.truck-button i {
  transition: transform 0.3s ease;
}

.truck-button:hover i {
  transform: translateX(5px);
}
  
/* ================================================================= */
/*                         Responsive Anpassungen                    */
/* ================================================================= */
  @media (min-width: 768px) {
    .truck-license-container {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  
    .truck-license-text {
      flex: 1;
    }
  
    .truck-license-image {
      flex: 1;
      display: flex;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .truck-license-text h2 {
      font-size: 1.7rem;
    }
  
    .truck-license-text p,
    .truck-license-list li {
      font-size: 0.9rem;
    }
  }
  