* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

body {
  display: block;
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #292929;
  background-color: #f0f3f5;
  margin: 0;
  padding: 0;
}

p {
  padding: 0;
  margin: 0;
}

span {
  padding: 0;
  margin: 0;
}

a {
  color: #292929;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins';
  font-weight: 700;
  padding: 0;
  margin: 0;
}

img {
  vertical-align: top;
}

/* PromoID - - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> HEADER */

.p_header {
  position: fixed;
  height: 62px;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  top: 0;
  left: 0;
  z-index: 9999;
}

.p_logo {
  display: flex;
  align-items: center;
  padding-left: 32px;
}

.p_logo img {
  height: 46px;
}

.p_navigation {
  display: flex;
  justify-content: right;
  align-items: center;
  padding-right: 32px;
}

/* PromoID - - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> MAIN NAVIGATION */

.p_full_navi {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.p_full_navi .nav-item {
    position: relative;
    display: inline-block;
}

.p_full_navi .nav-item a {
  display: block;
  font-weight: 500;
  color: #292929;
  text-decoration: none;
  padding: 18px 24px;
}

.p_full_navi .nav-item a:hover {
  background-color: #292929;
  color: #fff;
}

.p_full_navi .nav-item:hover > a,
.p_full_navi .nav-item:focus-within > a {
  background: #292929;
  color: #fff;
}

.p_full_navi .nav-item:hover > .mod-menu__sub,
.p_full_navi .nav-item:focus-within > .mod-menu__sub {
  display: block;
}

.p_full_navi .mod-menu__sub {
  position: absolute;
  display: none;
  width: 284px;
  list-style-type: none;
  background-color: #292929;
  right: -1px;
  top: 100%;
  padding: 0;
  margin: 0;
}

.p_full_navi .mod-menu__sub .nav-item {
  width: 100%;
  line-height: unset;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px dashed #fff;
}

.p_full_navi .mod-menu__sub .nav-item:hover {
  background-color: #555;
}

.p_full_navi .mod-menu__sub .nav-item a {
  display: block;
  color: #fff;
  padding: 12px 24px;
}

.p_full_navi .nav-item:hover .mod-menu__sub {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* PromoID - - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONTENT */

.p_content {
  margin-top: 62px;
}

/* PromoID - - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> WELCOME */

.p_welcome {
  position: relative;
  width: 100%;
  height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #fff;
  padding: 12px;
}

.p_welcome h1, .p_welcome h2 {
  width: 100%;
  text-align: center;
}

.p_welcome h1 {
  font-size: 28px;
  line-height: 28px;
  margin-bottom: 12px;
}

.p_welcome h2 {
  font-size: 21px;
  line-height: 21px;
  margin-bottom: 24px;
}

.p_welcome_buttons {
  width: 100%;
  max-width: 652px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.p_welcome_button_1 {
  display: block;
  color: #fff;
  text-decoration: none;
  background-color: #009ee2;
  border-radius: 6px;
  padding: 12px 32px;
  margin-bottom: 12px;
}

.p_welcome_button_2 {
  display: block;
  color: #fff;
  text-decoration: none;
  background-color: #292929;
  border-radius: 6px;
  padding: 12px 32px;
  margin-bottom: 12px;
}

.p_welcome_button_3 {
  display: block;
  color: #292929;
  text-decoration: none;
  background-color: #fff;
  border-radius: 6px;
  padding: 12px 32px;
  margin-bottom: 12px;
}

/* PromoID - - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PRODUCTS */

.p_products {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #292929;
}

.p_products_inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 12px;
}

.p_products_inner_title {
  width: 100%;
  font-size: 24px;
  line-height: 32px;
  color: #009ee2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  border: 4px solid #009ee2;
  padding: 12px 24px;
}

.p_products_inner_text {
  width: 100%;
  display: block;
  padding: 24px;
  margin-bottom: 36px;
}

.p_products_inner_text p {
  color: #fff;
}

.p_products_inner_text a {
  font-weight: 600;
  color: #009ee2;
  text-underline-offset: 2px;
}

.p_products_inner_text a:hover {
  color: #fff;
  text-decoration-color: #009ee2;
}

.p_products_group_title {
  font-weight: 600;
  color: #009ee2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  margin-bottom: 12px;
}

.p_products_group_title:hover {
  color: #fff;
  text-decoration-color: #009ee2;
}

.p_products_group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 24px;
  background-color: #465155;
  padding: 12px;
  margin-bottom: 36px;
}

.p_products_element {
  width: 24%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  flex: 0 0 auto;
  background-color: #292929;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Gilt für alle Scrollbars */
.p_products_group {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #009ee2 transparent; /* Thumb | Track */
}

/* Webkit-Browser (Chrome, Safari, Edge) */
.p_products_group::-webkit-scrollbar {
  height: 8px; /* horizontale Scrollbar-Höhe */
  background: transparent; /* Hintergrund transparent */
}

.p_products_group::-webkit-scrollbar-track {
  background: transparent; /* Scroll-Leiste transparent */
}

.p_products_group::-webkit-scrollbar-thumb {
  background: #009ee2; /* Schieberegler */
  border-radius: 4px; /* Abgerundet für modernen Look */
}

.p_products_group::-webkit-scrollbar-button {
  background: #009ee2; /* Arrows */
}

/* Optional: Hover-Effekt für besseren UX */
.p_products_group::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.8);
}

.p_products_title {
  display: block;
  width: 100%;
  min-height: 28px;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  color: #009ee2;
  text-underline-offset: 2px;
  padding: 12px;
}

.p_products_picture {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.p_products_picture img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.p_products_description {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.p_products_moq {
  width: 100%;
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: #fff;
  text-align: right;
  text-decoration: none;
  padding: 6px 12px;
}

.p_products_delivery {
  width: 100%;
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: #fff;
  text-align: right;
  text-decoration: none;
  padding: 6px 12px;
}

.p_products_button {
  display: block;
  font-weight: 500;
  color: #009ee2;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
  padding: 12px 24px;
  margin-left: auto;
}

.p_products_element:hover .p_products_title {
  color: #fff;
  text-decoration-color: #009ee2;
}

.p_products_element:hover .p_products_picture img {
  transform: scale(1.05);
}

/* PromoID - - WEBSITES */

.p_websites {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.p_websites_inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 12px;
}

.p_websites_title {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
  margin-bottom: 36px;
}

.p_websites_group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #292929;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 36px;
}

.p_websites_intro {
  width: 49%;
  color: #fff;
  padding: 24px;
}

.p_websites_image {
  width: 49%;
}

.p_websites_image img {
  width: 100%;
  display: block;
}

/* PromoID - - FOOTER */

.p_footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justifty-content: space-around;
  background-color: #292929;
  padding: 64px 12px;
}

.p_footer_info {
  width: 40%;
}

.p_footer_adress {
  width: 30%;
}

.p_footer_navigation {
  width: 30%;
}

/* PromoID - - MEDIA MAX 1024 */

@media (max-width:1024px) {

  .p_navigation {
    display: none;
  }

  .p_products_element {
    width: 48%;
  }
  
}

/* PromoID - - MEDIA MAX 652 */

@media (max-width:652px) {
  
  .p_header {
    justify-content: center;
  }

  .p_logo {
    display: flex;
    padding-left: unset;
  }

  .p_products_group {
    width: 100%;
    display: flex;
    gap: 12px;                /* Abstand zwischen Karten */
    padding: 6px 24px 12px 6px; /* rechts extra Platz lassen -> Peek */
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .p_products_element {
    flex: 0 0 auto;
    width: 230px;
    scroll-snap-align: start;
  }

  .p_websites_intro {
    width: 100%;
  }
  
  .p_websites_image {
    width: 100%;
  }

}