.navbar-expand-lg .navbar-brand {
    /*width: 11rem;*/
    /* height: 45px; */
    height: 100%;
    margin-left: 0;
}

.nav-link.link-hover-underline::after {
    margin-top: -18px;
}

.img-fluid {
    height: 100%;
    width: auto;
}

@media (min-width: 992px) {
    .navbar-expand-lg .nav-item:not(:first-child) {
        margin-left: 0.80rem !important;
    }

    .navbar-expand-lg .nav-item > .nav-link, .navbar-expand-lg .navbar-no-collapse-items .nav-item {
        height: 4.0rem;
    }

    .container-fluid {
        min-height: 4.0rem !important;
    }
}

.uc {
    text-transform: uppercase;
}

.category-img-container {
    background-color: #e6e6e6;
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5px;
}

.category-img-inner {
    padding: 60px 5px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.fs-header {
    font-size: 22px !important;
}

.mb-category {
    margin-bottom: 25rem;
}

#description, #size-chart {
    scroll-behavior: auto !important;
}

.toTop,
a.toTop,
a.toTop:focus,
a.toTop:active {
    background-color: #d9d9d9 !important;
    margin-right: 2rem;
    margin-bottom: 2rem;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.toTop:hover,
a.toTop:hover {
    background-color: #ff2900 !important;
    border: none !important;
    transform: translateY(-2px) !important;
    cursor: pointer !important;
}

.toTop .fa-arrow-up,
.toTop .fa-chevron-up {
    color: #ffffff !important;
    font-size: 16px !important;
    transition: color 0.3s ease !important;
    cursor: pointer !important;
}

.toTop:hover .fa-arrow-up,
.toTop:hover .fa-chevron-up {
    color: #ffffff !important;
    cursor: pointer !important;
}

.category-text {
    text-transform: uppercase;
    font-size: 19px;
    margin-bottom: 15px;
}

.row-pd {
    padding: 10px 0px !important;
}

.category-items a:hover .category-text {
    color: #ff2900 !important;
}

.category-items a:hover img.front {
    display: none;
}

.category-items a img.back {
    display: none;
}

.category-items a:hover img.back {
    display: block;
}

.category-items .img-fluid {
    height: auto;
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.category-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.diagonal-cut {
    /* your desired angle; from 1150×152 we computed ~7.53deg */
    --angle: 7.47deg;
  
    /* enable cqw (container width) units on this element */
    container-type: inline-size;
  
    /* the cut line keeps a constant angle, regardless of height */
    -webkit-clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
  }

/* Diagonal cut for mobile devices (smaller than 992px) */
@media (max-width: 991px) {
  .diagonal-cut-mobile {
    /* your desired angle; from 1150×152 we computed ~7.53deg */
    --angle: 7.47deg;
  
    /* enable cqw (container width) units on this element */
    container-type: inline-size;
  
    /* the cut line keeps a constant angle, regardless of height */
    -webkit-clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
  }
}

/* Diagonal cut for desktop devices (larger than 992px) */
@media (min-width: 992px) {
  .diagonal-cut-not-mobile {
    /* your desired angle; from 1150×152 we computed ~7.53deg */
    --angle: 7.47deg;
  
    /* enable cqw (container width) units on this element */
    container-type: inline-size;
  
    /* the cut line keeps a constant angle, regardless of height */
    -webkit-clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - (tan(var(--angle)) * 100cqw))
    );
  }
}

.header-font {
    /* font-family: "Dolce Vita", sans-serif;
    font-weight: 300;
    font-size: calc(3.6rem + 4.2vw);
    letter-spacing: 0.05em; */
    text-align: left;
    font-family: "TWKEverett", sans-serif !important;
    font-weight: 600 !important;
    font-size: calc(3.6rem + 2.2vw);
    line-height: 0.8;
    letter-spacing: -0.05em;
}

.header-font-sub {
    display: block;
    margin-top: 30px;
    margin-left: 220px;
    color: #ff2900 !important;
    font-size: calc(1.6rem + 2.2vw);
    font-weight: 400;
}

.title-font {
    line-height: 1.0;
}

.display-5.title-font {
    font-size: calc(1.65rem + 1vw);
}

/* Responsive Negative Margin */
.responsive-negative-margin {
    margin-top: 2rem; /* Mobile default */
}

@media (min-width: 768px) {
    .responsive-negative-margin {
        margin-top: 2rem; /* Tablets and small laptops */
    }
}

@media (min-width: 1200px) {
    .responsive-negative-margin {
        margin-top: -3.5rem; /* Large desktops */
    }
}

.title-font-mini {
    font-family: "TWKEverett", sans-serif !important;
    font-weight: 400 !important;
    font-size: calc(1.0rem + 1.6vw);
    line-height: 1.0;
}

/* Product Grid Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
}

.grid-item {
    background-color: #f5f5f5;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.5 / 1;
    position: relative;
}

.grid-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2.8vw;
    box-sizing: border-box;
}

.grid-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* transition: opacity 0.3s ease; */
}

.grid-item span {
    display: none;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.grid-item:hover {
    background-color: #999999 !important;
}

.grid-item:hover img {
    opacity: 0;
}

.grid-item:hover span {
    display: block;
}

.always-grid-hover {
    background-color: #999999 !important;
}

.always-grid-hover:hover {
    background-color: #ff2900 !important;
}

.always-grid-hover img {
    opacity: 0;
}

.always-grid-hover span {
    display: block !important;
}

.grid-item-small {
    background-color: #f5f5f5;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.5 / 1;
    position: relative;
}

.grid-item-small a {
    padding: 3.8vw;
    box-sizing: border-box;
}

.opacity-header {
    opacity: 0.55 !important;
}

/* Custom Carousel Styles */
.custom-carousel-btn {
    background-color: #ff2900 !important;
    border-color: #ff2900 !important;
    color: white !important;
    font-size: 14px;
    font-weight: bold !important;
    padding: 8px 20px;
}

.custom-carousel-btn:hover {
    background-color: #dc2b1c !important;
    border-color: #dc2b1c !important;
    color: white !important;
}

/* .custom-carousel-prev,
.custom-carousel-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
}

.custom-carousel-prev {
    left: 20px;
}

.custom-carousel-next {
    right: 20px;
}

.custom-carousel-prev .carousel-control-prev-icon,
.custom-carousel-next .carousel-control-next-icon {
    width: 20px;
    height: 20px;
} */

.custom-carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.custom-carousel-indicators button {
    width: 80px;
    height: 3px;
    background-color: #cccccc;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.custom-carousel-indicators button.active {
    background-color: #ff2900;
}

.custom-carousel-indicators button:hover {
    background-color: #ff2900;
}

/* Carousel Images */
#customCarousel .img-fluid {
    max-height: 600px;
    object-fit: contain;
}

/* Image Block Section */
.image-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-row {
    display: flex;
    gap: 8px;
}

.image-row:first-child img {
    width: 100%;
}

.image-row:last-child img {
    width: calc(50% - 4px);
}

/* Hero Section */
.hero-section {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 600px;
    }
}

.bahnschrift {
    font-family: "Bahnschrift", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 300 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bahn-font {
    font-size: 19px;
}

.bahnschrift.semi-font {
    /* Fallback for browsers that don't support font-variation-settings */
    font-weight: 700 !important;
    font-stretch: 87.5%;
    /* Modern browsers with variable font support */
    font-variation-settings: 'wdth' 87.5, 'wght' 700;
    color: #dc2b1c;
}

/* Ensure text scales down to fit container */
.text-fit-container {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

/*.section-video .container {
    padding: 20rem 0 !important;
}*/

.header-font-small {
    text-transform: uppercase; !important;
    margin: 0 !important;
    font-size: 19px;
    padding: 14.5px 14.5px 14.5px 14.5px;
    border: 2px solid #FFF;
    background: transparent;
    min-width: 270px;
    box-shadow: none !important;
}

.header-font-small:hover {
    background-color: #ff2900 !important;
    border-color: #ff2900 !important;
}

/*.navbar {
    flex-direction: column;
    overflow: hidden;
}*/

/* Menu Update */
.navbar {
    position: absolute !important;
    width: 100% !important;
    margin-top: 3rem !important;
    transform: translateX(-50%);
    left: 50%;
}

.language-container {
    width: 100%;
    background: #c3c7c3;
}

.language-container .container {
    line-height: 1.2;
}

.language {
    font-size: 1.2rem;
    padding-left: 15px;
}



@font-face {
  font-family: "Bahnschrift";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  src: url("fonts/Bahnschrift.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Dolce Vita";
  font-style: normal;
  font-weight: 300; /* or whatever weight “Light” corresponds to */
  src: url("fonts/Dolce_Vita_Light.ttf") format("truetype");
}

@font-face {
  font-family: "Dolce Vita";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Dolce_Vita.ttf") format("truetype");
}

/* Heavy Bold (weight 700 or 800) */
@font-face {
  font-family: "Dolce Vita";
  font-style: normal;
  font-weight: 800; /* or 700 if that better matches your "Heavy Bold" */
  src: url("fonts/Dolce_Vita_Heavy_Bold.ttf") format("truetype");
}

/* TWKEverett Font Family */
@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 100;
  src: url("fonts/TWKEverett-Hairline.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 100;
  src: url("fonts/TWKEverett-HairlineItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/TWKEverett-Ultralight.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 200;
  src: url("fonts/TWKEverett-UltralightItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/TWKEverett-Thin.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/TWKEverett-ThinItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/TWKEverett-Light.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/TWKEverett-LightItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/TWKEverett-Regular.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 500;
  src: url("fonts/TWKEverett-RegularItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/TWKEverett-Medium.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 600;
  src: url("fonts/TWKEverett-MediumItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/TWKEverett-Bold.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 700;
  src: url("fonts/TWKEverett-BoldItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/TWKEverett-Extrabold.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 800;
  src: url("fonts/TWKEverett-ExtraboldItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 900;
  src: url("fonts/TWKEverett-Black.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 900;
  src: url("fonts/TWKEverett-BlackItalic.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: normal;
  font-weight: 950;
  src: url("fonts/TWKEverett-Super.otf") format("opentype");
}

@font-face {
  font-family: "TWKEverett";
  font-style: italic;
  font-weight: 950;
  src: url("fonts/TWKEverett-SuperItalic.otf") format("opentype");
}

/* Team-Jacken Section */
.team-jacken {
  position: relative;
  overflow: hidden;
  /* leave the Bootstrap “border-top” class to handle the top border */
}

.hero-container {
    padding-top: 10rem;
    background-image: url('/assets/custom/img/pages/TopBild_Hintergrund_A.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-product {
    padding-top: 8rem;
}

.hero-container-empty {
    /*min-height: 800px;
    min-height: 50rem;*/
}

.hero-container-empty img {
    visibility: hidden;
}

/* Hero image container */
.team-jacken .hero-image-col {
  padding: 0;               /* remove gutter */
}

/* Make the hero image fill the column width and adjust height automatically */
.team-jacken .hero-image-col img {
  display: block;
  width: 100%;
  height: auto;            /* maintain aspect ratio so image is never cropped */
}

.team-jacken .card-over img {
    padding:3px !important;
}

.team-jacken .col {
    margin-bottom: 3rem;
}

/* Ensure content sits above the hero */
.team-jacken .container {
  position: relative;
  z-index: 1;
  /* margin-top: -12rem; */
}

.w-80 {
    width: 80%;
}

.gr-figure {
    text-align: center;
}

.pd-0 {
    padding: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.grtabelle tr th:first-child, .grtabelle tr td:first-child {
    text-align: left !important;
}

.grtabelle tr:hover {
    background-color: #f4f3f1;
}

.grtabelle td, .grtabelle th {
    font-size: 19px;
}

.btn:hover {
    box-shadow: none;
}

.grtabelle td {
    font-size: 19px;
    background: transparent;
}

.product h5 {
    font-weight: 500 !important;
}

.product-description .fs-small {
    font-size: 19px !important;
}

.referenzen {

}

.referenzen-small {
    margin-bottom: 9rem !important;
}

.referenzen .col-auto img, .referenzen .col-6 img {
    padding:10px;
}

.referenzen .col-auto .rfz, .referenzen .col-6 .rfz {
    background-color: #d8d8d9;
    border: 1px solid #979898;
}

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

.rfz.width-15x {
    width: 10rem;
    height: 10rem;
}

.rfz.width-19x {
    width: 14rem;
    height: 14rem;
}

.rfz img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.footer-img-container img {
    width: 100%;
    padding: 0 8rem;
    margin: 40px 0px;
}

/* “TEAM-JACKEN” label styling */
.team-jacken h6 {
  display: inline-block;
  /* background-color: #aeafb0; */
  /* color: #fff;               */
  /* padding: 0.55rem 1rem 0.35rem 1rem; */
  font-weight: 700;          /* bold */
  text-transform: uppercase; /* ensure uppercase */
  letter-spacing: 0.05em;    /* optional spacing */
  width: 100%;
}

/* “Sonderdesigns ab 25 Stück / Design” emphasis */
.team-jacken p.fw-semibold {
  font-size: 1.125rem;  /* ~18px; tweak as needed */
  font-weight: 600;     /* semi-bold */
  margin-top: 0.25rem;  /* small top gap */
}

/* underline section titles */
#product-details h6 {
  display: inline-block;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--bs-body-tertiary);
}

/* space out list items */
#product-details ul.list-unstyled li {
  margin-bottom: .75rem;
}

#product-details .border-bottom, #product-hero .border-bottom {
    border-bottom: 1px solid #000000 !important;
}

.fs-small {
    font-size:1rem !important;
}

.bg-hero {
    background-color: #f5f5f5;
}

.hero-img {
    padding-top: 7rem;
    padding-bottom: 10rem;
}

.product-image-container {
    height: 500px;
    display: flex;
    align-items: flex-start;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-sidebar-container {
    padding: 0;
}

.hero-sidebar {
    background-color: #ebeceb;
    padding: 30px 15px;
}

.social-media i {
    border: 2px solid #000;
    border-radius: 25px;
    font-size: 1.35rem !important;
    padding: 1px;
}

.mini-highlight {
    font-weight: 600;
    color: #676766;
}

#product-hero .btn {
    border-radius: 40px;
    padding: 7px 20px !important;
    font-size: 22px;
    width: 80%;
    text-align: left;
    font-weight: 400;
    text-transform: none;
}

.product-description h5:hover {
    background-color: #f3f2f0;
}

body, .btn {
    font-family: "TWKEverett", sans-serif !important;
    font-weight: 300 !important;
}

body {
    overflow-x: clip;
}

.new-font {
    /* font-family: "Bahnschrift", sans-serif !important; */
    font-family: "TWKEverett", sans-serif !important;
    font-weight: 400 !important;
}

.nav-link {
    white-space: nowrap;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Override navbar dark theme to white background with dark text */
.navbar-dark {
    background-color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #000000 !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ff2900 !important;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #000000 !important;
}

.navbar-dark .navbar-toggler {
    color: #000000 !important;
    border-color: #000000 !important;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#product-hero .btn.btn-primary {
    background-color: #ff2900;
}

#product-hero .btn.btn-primary:hover {
    background-color: #dc2b1c;
}

#product-hero .btn.second {
    background-color: #979898;
    color: #fff;
}

#product-hero .btn.second:hover {
    background-color: #787979;
}

.container-fluid {
  position: relative;
  /* optional: set a min-height to see the centering clearly */
  min-height: 60px;
}

.left-div {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.center-div {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left:0 !important;
}

.right-div {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 90px;
}

.language-div {
    margin-top:-2px;
}

.language-div a {
    padding:0px !important;
    color:#000;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.language-div .language-divider {
    padding: 0px 3px;
    color:#000;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.language-div a:hover {
    text-decoration: underline;
}

.language-div a.active {
    color: #ff2900;
}

.dropdown-menu {
    position: absolute !important;
    top: 100%     !important;  /* drop just below the toggle */
    left: 50%     !important;  /* start in the middle of the container */
    transform: translateX(-50%) !important; /* shift left by 50% of its own width */
    width: 100vw  !important;  /* span the full viewport */
    margin: 0      !important;  /* nuke Bootstrap's gutters */
    padding: 0px 50px !important;
}

/* CapNow Section Background */
.cap-now-section {
    background-image: url('/assets/custom/img/pages/HintergrundBanner.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Faster carousel layer animations */
.carousel-layers li[data-carousel-layer="fade-end"] {
    animation-duration: 0.15s !important;
    transition-duration: 0.15s !important;
}

.carousel-layers li[data-carousel-layer="fade-start"] {
    animation-duration: 0.15s !important;
    transition-duration: 0.15s !important;
}

/* Carousel Typography Classes */
.carousel-title-bold {
    font-weight: 700;
}

.carousel-title-light {
    font-weight: 400;
}

.carousel-subtitle-light {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 0;
}

.carousel-subtitle-bold {
    font-size: 25px;
    font-weight: 800 !important;
}

/* Carousel Button Styling */
.carousel-btn {
    color: white !important;
    border-color: rgb(255, 41, 0) !important;
    font-size: 14px !important;
    padding: 9px !important;
    min-width: 180px !important;
    background: rgb(255, 41, 0) !important;
    font-weight: bold !important;
}

.carousel-btn:hover {
    background-color: #dc2b1c !important;
    border-color: #dc2b1c !important;
    color: white !important;
}

/* Carousel Height and Image Styling */
#customCarousel {
    height: 400px; /* Mobile default */
}

#customCarousel .carousel-item {
    height: 400px; /* Mobile default */
}

#customCarousel .carousel-item .row {
    height: 100%;
}

#customCarousel .carousel-item img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

/* Carousel on mobile/tablet: auto height, image 70% width */
@media (max-width: 991px) {
    #customCarousel {
        height: auto !important;
    }
    #customCarousel .carousel-item {
        height: auto !important;
    }
    #customCarousel .carousel-item .row {
        height: auto !important;
    }
    #customCarousel .carousel-item img {
        height: auto !important;
        max-width: 70% !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    #customCarousel .carousel-item .title-font {
        margin-top: 1.5rem !important;
    }
}

/* Responsive carousel height */
@media (max-width: 575px) {
    .section-video .container {
        padding: 10rem 0 10rem 0 !important;
    }
}

@media (min-width: 576px) {
    #customCarousel {
        height: 450px;
    }
    #customCarousel .carousel-item {
        height: 450px;
    }
    .section-video .container {
        padding: 12rem 0 14rem 0 !important;
    }
}

@media (min-width: 768px) {
    #customCarousel {
        height: 500px;
    }
    #customCarousel .carousel-item {
        height: 500px;
    }
}

@media (min-width: 992px) {
    #customCarousel {
        height: 550px;
    }
    #customCarousel .carousel-item {
        height: 550px;
    }
}

@media (min-width: 1200px) {
    #customCarousel {
        height: 600px;
    }
    #customCarousel .carousel-item {
        height: 600px;
    }
    .section-video .container {
        padding: 12rem 0 24rem 0 !important;
    }
}

.dp-block {
    display: block;
}

.insert {
    margin-left: 5vw;
}

.scroll-img-container {
    
}

.scroll-img img {
    height: auto !important;
}

/* Ensure title-font in scroll-img-body scales down font-size if exceeding parent width */
.scroll-img-body .title-font,
.scroll-img-body .title-font span {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.scroll-img-body .title-font {
    font-size: clamp(1.2rem, 3.5vw, calc(1.45rem + 1.7vw)) !important;
}

.scroll-img-body .sticky-top {
    padding-top: 10rem !important;
}

/* Small device styles for product grid */
@media (max-width: 767px) {
    .grid-item-small a {
        padding: 4.8vw;
    }
    
    .grid-item span {
        font-size: 1.5rem;
    }
}

/* Navbar collapse styles for smartphones */
@media (max-width: 576px) {
    .navbar-collapse {
        width: 100% !important;
        height: auto !important;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
        transform: none;
        margin-top: 0px !important;
        background-color: #fff !important;
    }
    .navbar {
        margin-top: 0 !important;
    }
    .nav-link.link-hover-underline::after {
        margin-top: -10px;
    }
}

@media (max-width: 1200px) {
    .navbar-expand-lg .navbar-brand {
        width: 10rem;
    }
}

.navbar-brand {
    background-color: #ff0000;
}

/* Size chart table styles for small screens */
@media (max-width: 575px) {
    .grtabelle td, .grtabelle th {
        font-size: 14px;
    }
}

/* Size chart sections with overflow scroll */
.size-chart-section {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Remove padding on screens smaller or equal to 992px */
@media (max-width: 992px) {
    .remove-padding-mobile {
        padding: 0 !important;
    }
    
    .remove-margin-mobile {
        margin: 0 !important;
    }
    
    .product-image-container {
        height: 400px;
    }
}

/* Product image container height for smaller screens */
@media (max-width: 767px) {
    .product-image-container {
        height: 300px;
    }
}

.bg-img-container {
    background-color: #e6e6e6;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 5px;
}

@media (min-width: 1400px) {
    .bg-img-container {
        padding: 60px 5px;
    }
}

.cat-img-container {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.dropdown-menu .silhouette {
    width: 100%;
}

.nav-link:hover, .nav-link:focus, .silhouette-row a:hover {
    color: #ff2900 !important;
}

/* Image shadow class - optimized for PNGs with transparency */
.img-shadow {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2)) drop-shadow(0 12px 40px rgba(0, 0, 0, 0.15));
}

.mb-large {
    margin-bottom: 14rem !important;
}

/* GLightbox overlay – overwrite glightbox.min */
.goverlay {
    background: #d8d8d9 !important;
}

@media (min-width: 769px) {
    .goverlay {
        background: rgba(216, 216, 217, .92) !important;
    }
}

.gslide-media,
.gslide-image {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

@media (max-width: 991px) {
    body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .scroll-img img {
        width: 100%;
    }
    
    p {
        font-size: 14px !important;
        font-weight: normal !important;
    }
    
    .mb-10 {
        margin-bottom: 20px !important;
    }
    
    .mt-10 {
        margin-top: 20px !important;
    }
    
    .mt-8 {
        margin-top: 5px !important;
    }
    
    .mb-8 {
        margin-bottom: 5px !important;
    }
    
    .team-merchandising-section {
        margin-top: 3rem !important;
    }
    
    .py-9,
    .py-lg-11 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    .pt-5,
    .pt-lg-9 {
        padding-top: 10px !important;
    }
    
    .sticky-top,
    .scroll-img-body .sticky-top {
        padding-top: 1rem !important;
    }
    
    .responsive-negative-margin {
        margin-top: -2rem !important;
    }
    .hero-title-mt-0-mobile {
        margin-top: 0 !important;
    }
    .hero-header-py-mobile {
        padding: 0 15px !important;
    }
    
    .cat-img-container {
        height: auto !important;
    }
    
    .category-text {
        font-size: 14px !important;
    }
    
    .category-row-mobile-margin {
        margin: 0 !important;
    }
    
    .category-header-mobile-fs {
        font-size: 14px !important;
    }
    
    .product-features-mobile-fs, .product-description .fs-small.product-description-mobile-fs, .product-description .fs-small.product-care-mobile-fs {
        font-size: 14px !important;
    }
    
    .referenzen-hero {
        margin-top: 7rem !important;
    }
    
    .header-font-sub {
        margin-left: 0 !important;
    }
    
    .grid-item span {
        font-size: 15px !important;
    }
    
    .pb-12,
    .pb-10 {
        padding-bottom: 1rem !important;
    }
    
    .individual-referenzen,
    .btn-contact-index {
        display: none !important;
    }
    
    /* Cap Now section: on mobile replace background-image with solid color */
    .cap-now-section-mobile-bg {
        background-color: #f5f5f5 !important;
        background-image: none !important;
    }
    
    /* Cap Now / Team Merchandising: .title-font margin-top (same as carousel) */
    .row.align-items-center .col-6 .title-font,
    .row.align-items-center .col-12 .title-font {
        margin-top: 1.5rem !important;
    }
    
    /* Teamwear dropdown: on mobile show simple list, hide desktop panel */
    .dropdown-menu-desktop {
        display: none !important;
    }
    .dropdown-menu-mobile {
        display: block !important;
    }
    /* Prevent dropdown content from being pulled left off-screen (collapse center-div + navbar-nav) */
    .navbar-collapse.center-div {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    .navbar-collapse .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Pin dropdown menu to viewport so it never extends off-screen left */
    .navbar .dropdown-menu.dropdown-menu-fw {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 60px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        transform: none !important;
        inset-inline-start: 0 !important;
    }
    .dropdown-menu-mobile .dropdown-item {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .dropdown-menu-mobile,
    .dropdown-menu-mobile .dropdown-item {
        background-color: #ffffff !important;
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
    }
    .dropdown-menu-mobile .dropdown-item {
        padding: 0.5rem 1rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    .dropdown-menu-mobile .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
        color: #ff2900 !important;
        -webkit-text-fill-color: #ff2900 !important;
    }
}

@media (min-width: 992px) {
    .referenzen-hero {
        margin-top: 15rem;
    }
    
    /* Teamwear dropdown: on desktop show full panel, hide mobile list */
    .dropdown-menu-mobile {
        display: none !important;
    }
    .dropdown-menu-desktop {
        display: block !important;
    }
}