@media print {
  .myDivToPrint {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 15px;
    font-size: 14px;
    line-height: 18px;
  }
  body,
  page {
    margin: 0;
    box-shadow: none;
  }
  thead {
    border: 1px solid;
  }
}
page {
  background: #fff;
  display: block;
  margin: 0 auto 0.5cm auto;
}
page[size="A4"] {
  width: 21cm;
  height: 29.7cm;
}
/* iOS Safari: Großbild darf nicht kollabieren */
#mainImage{
  min-height: 1px;
}
.produkthinweis-text {
  text-align: justify;
}

.produkthinweis-icon {
  float: right;          /* Text fließt links vorbei */
  width: 48px;           /* ggf. anpassen */
  margin: 0 0 6px 10px;  /* Abstand zum Text */
}
@media (max-width: 575.98px) {
  .produkthinweis-icon {
    float: none;
    display: block;
    margin: 0 auto 8px auto;
  }
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
.hp-field { position: absolute !important; left: -5000px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }
a.hide_link:link,  a.hide_link:visited {
  font-weight: 400;
  font-style:normal;
  text-decoration: none
}
a.hide_link:hover {
  font-weight: 400;
  font-style:normal;
  text-decoration: none
}
a:link, a:visited {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
a:hover {
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
}
#wrapper {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
#wrapper h2 {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-family: Roboto;
  font-size: 2rem;
}
.element {
  width: 25rem;
  height: 10rem;
  background-color: #F0b011;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  transition: all 250ms ease;
  position: relative;
}
.element.effekt:hover {
  border-radius: 0.9rem;
  box-shadow: 0 1.9rem 3.8rem rgba(0, 0, 0, 0.3), 0 1.5rem 1.2rem rgba(0, 0, 0, 0.22);
  transform: translate(2rem, -1rem);
  background-color: #FF6E48;
  height: 10rem;
  border: 5px solid #ff0000;
}
.card {
  margin-bottom: 3px;
}
.card-body {
  padding-left:13px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.card-header {
  padding:2px;
  padding-left: 10px;
}
.table td,.table th {
  padding: 3px;
}
.buttonsubmit
{
  color: #fff;
  background-color: #007bff;
  display: inline-block;
  padding: .25em .4em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  border: 0px;
}
.buttonreset
{
  color: #fff;
  background-color: #dc3545;
  display: inline-block;
  padding: .25em .4em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  border: 0px;
}
.accordion-button::after {
  background-image: initial;
}
.accordion-button:not(.collapsed)::after {
  background-image: initial;
}
.accordion-button:link, .accordion-button:visited, .accordion-button:hover, .accordion-button:active  {
  background-color: #bbbbbb !important;
  color:#FFF !important;
  text-decoration: none !important;
  border-bottom: 1px solid #ffffff;
}
.accordion-button:focus {
  z-index: 3;
  border-color: #FFF !important;
  outline: 0;
  box-shadow: 0 0 0 .05rem #FFF !important;
  border-bottom: 1px solid #ffffff;
}
.accordion-button:not(.collapsed) {
  color: #FFF  !important;
  background-color: #bbbbbb !important;
  border-bottom: 1px solid #ffffff;
}
/* ===== Galerie: final ===== */
/* Desktop (>=768px): Thumbs links, vertikal, ggf. mit Scroll */

/* =========================
   Galerie (Großbild + Thumbnails)
   ========================= */

/* Großbild zentrierbar, wenn mainWrap max-width gesetzt bekommt */
.main-image-wrap {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.main-image-wrap img {
  display: block;
  margin: 0 auto;
}

/* Desktop (>=768px): Thumbnails links, vertikal, Scroll ab JS max-height */
@media (min-width: 768px) {
  #thumbList {
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;

    /* Firefox Overlay-Scrollbar: Inhalt nicht überlagern */
    padding-right: 18px;
    scrollbar-gutter: stable;
  }

  #thumbList a.thumb {
    display: block;
    margin-bottom: 6px;
  }

  #thumbList a.thumb img {
    display: block;
    width: 100%;
    height: auto;
  }

  @supports (-moz-appearance: none) {
    #thumbList {
      scrollbar-width: thin;
      scrollbar-color: #999 transparent;
    }
  }
}

/* Mobile (<768px): Thumbnails unter dem Großbild, horizontal scroll (swipe) */
@media (max-width: 767px) {
  #thumbList {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none !important;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
  }

  #thumbList a.thumb {
    flex: 0 0 auto;
    display: inline-flex;
    margin: 0;
  }

  #thumbList a.thumb img {
    display: block;
    width: 110px;
    max-width: 110px;
    height: auto;
  }
}
