/* ============================================================
   _responsive.css – DIGITALDRUCK-FABRIK.DE (konsolidiert)
   Zusammenfuehrung von _responsive.css, site-modern.css und
   _mobile_menu.css. Laedt NACH _master.css.
   Stand: 2026-04-15
   ============================================================ */


/* === :ROOT VARIABLEN === */

:root {
  --sm-page-padding: 16px;
  --sm-layout-max: 962px;
  --sm-content-padding: 20px;
  --sm-bg-light: #f7f7f7;
  --padBoth-x: 40px;
}


/* Admin-Panel: body padding-bottom:90px aus inline <style> im plhAdmin neutralisieren.
   Stattdessen bekommt #footer bottom-margin wenn #adminpanel im DOM ist. */
body {
  padding-bottom: 0 !important;
}

body:has(#adminpanel) #footer {
  margin-bottom: 60px;
}

/* Hilfe-Panel im Warenkorb und Kasse ausblenden (fokussierte Transaktion) */
body:has(.shppngcrt) #help,
body:has(.tblCheckout) #help {
  display: none !important;
}

/* helpme-contactbox: nur responsive <=962px ausblenden, Desktop sichtbar */
@media screen and (max-width: 962px) {
  #helpme-contactbox {
    display: none !important;
  }
}


/* === FOOTER LINKS (neue Nav-Struktur in litSpecialLine2) === */

#footer .cntNotice {
  margin: 0 !important;
  padding: 20px 0;
  background: transparent;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  background: transparent;
}

.footer-links--mini {
  font-size: 12px;
}

.footer-links a {
  text-decoration: underline;
}


/* === GLOBALE RESETS === */

html, body, #footer, #countryship, .infobar {
  min-width: 0 !important;
}

html {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  /* Text-Inflation/Auto-Zoom verhindern: Beim dynamischen Resize
     (Browser-Window kleiner ziehen, DevTools Device-Mode) wuerden
     Mobile-Chrome/Safari Schriften automatisch hochskalieren bis
     der Reload das Layout neu berechnet. */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html::-webkit-scrollbar, .clklist ul::-webkit-scrollbar, .calcmodule ::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track, .clklist ul::-webkit-scrollbar-track, .calcmodule ::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb, .clklist ul::-webkit-scrollbar-thumb, .calcmodule ::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
html::-webkit-scrollbar-thumb:hover, .clklist ul::-webkit-scrollbar-thumb:hover, .calcmodule ::-webkit-scrollbar-thumb:hover { background: #999; }

.clklist ul, .calcmodule {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

body {
  width: 100%;
  overflow: visible !important;
  min-height: 100vh;
  min-height: 100dvh;
}


/* === BASIS-LAYOUT === */

#wrapper {
  max-width: var(--sm-layout-max);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.infobar {
  min-width: 0 !important;
  max-width: 100%;
  box-sizing: border-box;
}

.infobar .wrapping {
  max-width: var(--sm-layout-max);
  margin: 0 auto;
  box-sizing: border-box;
}

#content {
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 15px !important;
}

.cnt, .cntContent {
  max-width: 100%;
  box-sizing: border-box;
}

#footer, #footer .foot {
  max-width: 100%;
  box-sizing: border-box;
}

#footer .foot {
  max-width: var(--sm-layout-max);
  margin: 0 auto;
}

#footer .footing2 > .foot {
  padding-top: 30px !important;
  padding-bottom: 15px !important;
}

.footing2 {
  padding-bottom: 50px;
}



#help {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}


/* Site-Header: Positionierungskontext fuer _master.css absolute Elemente */

.site-header {
  position: relative;
  max-width: var(--sm-layout-max);
  margin: 25px auto 0;
  min-height: 80px;
  box-sizing: border-box;
}

/* Logo: responsiv skalierbar */
#logo img { max-width: 100%; height: auto; }

/* Cartmini: Flex-Layout mit img statt background-image */
#cartmini {
  display: flex !important;
  align-items: flex-end;
  text-align: left;
  border: 0 !important;
  margin: 0 !important;
  padding: 15px 0 0 0 !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
}

#cartmini .cartmini-icon {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

#cartmini .cartmini-info {
  display: block;
  position: relative;
  top: -5px;
}

#cartmini sup, #cartmini sub {
  top: -12px !important;
  right: 139px !important;
}

#cartmini sub {
  top: -7px !important;
  right: auto !important;
  left: -39px !important;
}


.btnAction.btnAddPrice div.pppp {
  padding: 6px 54px 0 0 !important;
  box-sizing: content-box !important;
}

.listAttr {
  height: 70px !important;
}

/* Navigation: relativ statt absolut, da ausserhalb #wrapper */
#navigation {
  position: relative !important;
  top: auto !important;
  max-width: var(--sm-layout-max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Burger, Mobile-Menu und Scroll-Pfeile auf Desktop verstecken */
#mobile-menu-burger { display: none; }
.scroll-nav-arrow { display: none; }
.listAttr-arrow { display: none; }


/* === LAYOUT-V2 SCOPE === */

/* Variablen + Basis */

#content #start .layout-v2,
#content .layout-v2,
.layout-v2 {
  --sm-gap: 1.25rem;
  --sm-radius: 0;
  --sm-border: 1px solid #e2e2e2;
  --sm-text-max: 42rem;
  --sm-primary: #af4882;
  --sm-accent-light: #cc589d;
  --sm-accent-dark: #923b6b;
  --sm-grey-light: #bcbcbe;
  --sm-grey-dark: #666667;
  --sm-text: #333;
  --sm-text-muted: #444;
  box-sizing: border-box;
  max-width: 100%;
  isolation: isolate;
}



#content #start .layout-v2 .pilot-page,
#content .layout-v2 .pilot-page,
.layout-v2 .pilot-page {
  --primary: var(--sm-primary);
  --light: var(--sm-accent-light);
  --dark: var(--sm-accent-dark);
}

/* Pilot-Seite */

#content #start .layout-v2 .pilot-page__brand,
.layout-v2 .pilot-page__brand {
  margin-bottom: 1rem;
}

#content #start .layout-v2 .pilot-logo-svg,
.layout-v2 .pilot-logo-svg {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

#content #start .layout-v2 .pilot-page__hero,
.layout-v2 .pilot-page__hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--sm-border);
}

#content #start .layout-v2 .pilot-page__hero h1,
.layout-v2 .pilot-page__hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  color: var(--sm-primary);
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
}

#content #start .layout-v2 .pilot-page__lead,
.layout-v2 .pilot-page__lead {
  margin: 0;
  max-width: var(--sm-text-max);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--sm-text);
}

#content #start .layout-v2 .pilot-page__layout,
.layout-v2 .pilot-page__layout {
  display: flex;
  flex-direction: column;
  gap: var(--sm-gap);
}

#content #start .layout-v2 .pilot-page__article,
.layout-v2 .pilot-page__article {
  margin-bottom: 2rem;
}

#content #start .layout-v2 .pilot-page__article h2,
.layout-v2 .pilot-page__article h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
}

#content #start .layout-v2 .pilot-page__article p,
.layout-v2 .pilot-page__article p {
  margin: 0 0 1rem;
  max-width: var(--sm-text-max);
  line-height: 1.6;
}

#content #start .layout-v2 .pilot-page__article code,
.layout-v2 .pilot-page__article code,
#content #start .layout-v2 .pilot-page__lead code,
.layout-v2 .pilot-page__lead code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: #f0f0f0;
  border-radius: 4px;
}

#content #start .layout-v2 .pilot-page__aside,
.layout-v2 .pilot-page__aside {
  padding: 1rem 1.1rem;
  background: var(--sm-bg-light);
  border: var(--sm-border);
  border-radius: var(--sm-radius);
}

#content #start .layout-v2 .pilot-page__aside h2,
.layout-v2 .pilot-page__aside h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

#content #start .layout-v2 .pilot-page__aside ul,
.layout-v2 .pilot-page__aside ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Teaser-Grid */

#content #start .layout-v2 .pilot-teasers,
.layout-v2 .pilot-teasers {
  margin-top: 0.5rem;
}

#content #start .layout-v2 .pilot-teasers__title,
.layout-v2 .pilot-teasers__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
}

#content #start .layout-v2 ul.pilot-teasers__grid,
#content .layout-v2 ul.pilot-teasers__grid,
.layout-v2 ul.pilot-teasers__grid {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--sm-gap) !important;
}

#content #start .layout-v2 ul.pilot-teasers__grid > li,
#content .layout-v2 ul.pilot-teasers__grid > li,
.layout-v2 ul.pilot-teasers__grid > li {
  margin: 0 !important;
  padding: 1rem !important;
  border: var(--sm-border) !important;
  border-radius: var(--sm-radius) !important;
  background: #fff !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  list-style: none !important;
}

#content #start .layout-v2 .pilot-teasers__item h3,
.layout-v2 .pilot-teasers__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
}

#content #start .layout-v2 .pilot-teasers__item p,
.layout-v2 .pilot-teasers__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--sm-text-muted);
}

#content #start .layout-v2 .pilot-teasers__item code,
.layout-v2 .pilot-teasers__item code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
}

#content #start .layout-v2 .pilot-page__note,
.layout-v2 .pilot-page__note {
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #555;
  background: #faf8e8;
  border: 1px solid #e6e0b8;
  border-radius: var(--sm-radius);
}

#content #start .layout-v2 .pilot-page__note code,
.layout-v2 .pilot-page__note code {
  font-size: 0.9em;
}

/* Grid-System */

#content #start .layout-v2 .grid-row,
#content .layout-v2 .grid-row,
.layout-v2 .grid-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--sm-gap) !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
}

#content #start .layout-v2 .grid-col,
#content .layout-v2 .grid-col,
.layout-v2 .grid-col {
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

#content #start .layout-v2 .grid-col--padded,
#content .layout-v2 .grid-col--padded,
.layout-v2 .grid-col--padded {
  padding: 1.25rem 1.5rem;
}

/* Karten-Grid */

#content #start .layout-v2 .card-grid,
#content .layout-v2 .card-grid,
.layout-v2 .card-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--sm-gap) !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#content #start .layout-v2 .card-grid > li,
#content .layout-v2 .card-grid > li,
.layout-v2 .card-grid > li,
#content #start .layout-v2 .card-grid > .card,
#content .layout-v2 .card-grid > .card,
.layout-v2 .card-grid > .card,
#content #start .layout-v2 .card-grid > .cntAngebote,
#content .layout-v2 .card-grid > .cntAngebote,
.layout-v2 .card-grid > .cntAngebote {
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  list-style: none !important;
}

/* cntAngebote Flex (Layout-v2 Scope) */

.layout-v2:has(> .cntAngebote) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;
}

.layout-v2:has(> .cntAngebote) > script,
.layout-v2:has(> .cntAngebote) > [id="clearfix"],
.layout-v2:has(> .cntAngebote) > .clearfix:not(:last-child) {
  display: none !important;
}

.layout-v2:has(> .cntAngebote) > h1,
.layout-v2:has(> .cntAngebote) > h2,
.layout-v2:has(> .cntAngebote) > h3,
.layout-v2:has(> .cntAngebote) > hr,
.layout-v2:has(> .cntAngebote) > p,
.layout-v2:has(> .cntAngebote) > .spclcnt,
.layout-v2:has(> .cntAngebote) > .clearfix:last-child {
  flex: 0 0 100% !important;
  width: 100% !important;
}

.layout-v2 .cntAngebote,
#content .layout-v2 .cntAngebote {
  width: calc(33.333% - 14px) !important;
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.layout-v2 .cntAngebote .tmpdiv,
#content .layout-v2 .cntAngebote .tmpdiv {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.layout-v2 .cntAngebote .tmpdiv > p,
#content .layout-v2 .cntAngebote .tmpdiv > p {
  flex: 1;
}

.layout-v2 .cntAngebote .tmpdiv > .btnAction,
#content .layout-v2 .cntAngebote .tmpdiv > .btnAction {
  margin-top: auto !important;
}

#content #start .layout-v2 .cntAngebote a.lnkImage,
#content .layout-v2 .cntAngebote a.lnkImage,
.layout-v2 .cntAngebote a.lnkImage {
  width: 100% !important;
  overflow: hidden;
}

#content #start .layout-v2 .cntAngebote a.lnkImage img,
#content .layout-v2 .cntAngebote a.lnkImage img,
.layout-v2 .cntAngebote a.lnkImage img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  min-height: 100%;
}

#content #start .layout-v2 .cntAngebote .btnAction.floatright,
#content .layout-v2 .cntAngebote .btnAction.floatright,
.layout-v2 .cntAngebote .btnAction.floatright {
  float: none !important;
  display: block !important;
  text-align: center;
  margin: 12px !important;
}

/* Schriftgroessen (cntAngebote im Layout-v2 Scope) */

#content #start .layout-v2 .cntAngebote,
#content .layout-v2 .cntAngebote,
.layout-v2 .cntAngebote {
  font-size: 14px;
}

#content #start .layout-v2 .cntAngebote h4,
#content .layout-v2 .cntAngebote h4,
.layout-v2 .cntAngebote h4 {
  font-size: 18px;
  font-weight: 600;
}

#content #start .layout-v2 .cntAngebote .tmpdiv p,
#content .layout-v2 .cntAngebote .tmpdiv p,
.layout-v2 .cntAngebote .tmpdiv p {
  font-size: 14px;
  line-height: 1.5;
  padding: 15px 15px 5px;
}

#content #start .layout-v2 .cntAngebote .minicalc,
#content .layout-v2 .cntAngebote .minicalc,
.layout-v2 .cntAngebote .minicalc {
  font-size: 13px;
  margin: 30px 0 0 !important;
}

#content #start .layout-v2 .cntAngebote .minicalc p,
#content .layout-v2 .cntAngebote .minicalc p,
.layout-v2 .cntAngebote .minicalc p {
  padding: 0 !important;
  text-align: left;
}

#content #start .layout-v2 .cntAngebote .minicalc strong,
#content .layout-v2 .cntAngebote .minicalc strong,
.layout-v2 .cntAngebote .minicalc strong {
  font-size: 15px;
}

#content #start .layout-v2 .cntAngebote .minicalc small,
#content .layout-v2 .cntAngebote .minicalc small,
.layout-v2 .cntAngebote .minicalc small {
  font-size: 12px;
}

#content #start .layout-v2 .cntAngebote .btnAction.btnsmall,
#content .layout-v2 .cntAngebote .btnAction.btnsmall,
.layout-v2 .cntAngebote .btnAction.btnsmall {
  font-size: 14px;
  padding: 6px 12px;
}

#content #start .layout-v2 .cntAngebote .minicalc::before,
#content .layout-v2 .cntAngebote .minicalc::before,
.layout-v2 .cntAngebote .minicalc::before {
  top: -34px !important;
  padding: 0 8px;
}

/* info-box */

#content #start .layout-v2 .info-box,
#content .layout-v2 .info-box,
.layout-v2 .info-box {
  padding: 1.15rem 1.25rem;
  background: var(--sm-bg-light);
  border: var(--sm-border);
  border-radius: var(--sm-radius);
}

#content #start .layout-v2 .info-box + .info-box,
#content .layout-v2 .info-box + .info-box,
.layout-v2 .info-box + .info-box {
  margin-top: var(--sm-gap);
}

#content #start .layout-v2 .info-box h3,
#content .layout-v2 .info-box h3,
.layout-v2 .info-box h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
}

#content #start .layout-v2 .info-box ul,
#content .layout-v2 .info-box ul,
.layout-v2 .info-box ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  line-height: 1.6;
  font-size: 0.92rem;
}

#content #start .layout-v2 .info-box p,
#content .layout-v2 .info-box p,
.layout-v2 .info-box p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Hero */

#content #start .layout-v2 .hero,
#content .layout-v2 .hero,
.layout-v2 .hero {
  position: relative;
  min-height: 260px;
  padding: 2rem;
  margin: 1rem 0 2rem 0;
  border-radius: var(--sm-radius);
  background-color: #3a3a3a;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

#content #start .layout-v2 .hero::after,
#content .layout-v2 .hero::after,
.layout-v2 .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
}

#content #start .layout-v2 .hero > *,
#content .layout-v2 .hero > *,
.layout-v2 .hero > * {
  position: relative;
  z-index: 1;
}

#content #start .layout-v2 .hero h1,
#content .layout-v2 .hero h1,
.layout-v2 .hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(24px, 4.5vw, 30px);
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

#content #start .layout-v2 .hero p,
#content .layout-v2 .hero p,
.layout-v2 .hero p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Ueberschriften */

#content #start .layout-v2 h1,
#content .layout-v2 h1,
.layout-v2 h1 {
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

#content #start .layout-v2 h2,
#content .layout-v2 h2,
.layout-v2 h2 {
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
}

#content #start .layout-v2 h3,
#content .layout-v2 h3,
.layout-v2 h3 {
  font-size: clamp(15px, 3.5vw, 18px);
  line-height: 1.3;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

#content #start .layout-v2 .section-title,
#content .layout-v2 .section-title,
.layout-v2 .section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(18px, 4vw, 24px);
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--sm-text);
}

/* FAQ */

#content #start .layout-v2 .faq-list,
#content .layout-v2 .faq-list,
.layout-v2 .faq-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#content #start .layout-v2 .faq-item,
#content .layout-v2 .faq-item,
.layout-v2 .faq-item {
  border-bottom: 1px solid #ddd;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#content #start .layout-v2 .faq-item:first-child,
#content .layout-v2 .faq-item:first-child,
.layout-v2 .faq-item:first-child {
  border-top: 1px solid #ddd;
}

#content #start .layout-v2 .faq-item summary,
#content .layout-v2 .faq-item summary,
.layout-v2 .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sm-text);
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

#content #start .layout-v2 .faq-item summary::-webkit-details-marker,
#content .layout-v2 .faq-item summary::-webkit-details-marker,
.layout-v2 .faq-item summary::-webkit-details-marker {
  display: none;
}

#content #start .layout-v2 .faq-item summary::after,
#content .layout-v2 .faq-item summary::after,
.layout-v2 .faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--sm-grey-dark);
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: transform 0.2s ease, color 0.2s ease;
}

#content #start .layout-v2 .faq-item[open] summary::after,
#content .layout-v2 .faq-item[open] summary::after,
.layout-v2 .faq-item[open] summary::after {
  content: "\2212";
  color: var(--sm-primary);
  border-color: var(--sm-primary);
}

#content #start .layout-v2 .faq-item summary:hover,
#content .layout-v2 .faq-item summary:hover,
.layout-v2 .faq-item summary:hover {
  color: var(--sm-primary);
}

#content #start .layout-v2 .faq-item .faq-answer,
#content .layout-v2 .faq-item .faq-answer,
.layout-v2 .faq-item .faq-answer {
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sm-text-muted);
  max-width: 42rem;
}

/* Highlight-Box */

#content #start .layout-v2 .highlight-box,
#content .layout-v2 .highlight-box,
.layout-v2 .highlight-box {
  padding: 1.5rem 1.75rem;
  background: #f8f5fb;
  border: 1px solid #e8dff0;
  border-radius: var(--sm-radius);
}

#content #start .layout-v2 .highlight-box h2,
#content .layout-v2 .highlight-box h2,
.layout-v2 .highlight-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-family: "klavika", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: 500;
}

#content #start .layout-v2 .highlight-box ul,
#content .layout-v2 .highlight-box ul,
.layout-v2 .highlight-box ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Buttons */

#content #start .layout-v2 .btn,
#content .layout-v2 .btn,
.layout-v2 .btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 0;
  line-height: 1.4;
}

#content #start .layout-v2 .btn--primary,
#content .layout-v2 .btn--primary,
.layout-v2 .btn--primary {
  background: var(--sm-primary);
  color: #fff;
}

#content #start .layout-v2 .btn--primary:hover,
#content .layout-v2 .btn--primary:hover,
.layout-v2 .btn--primary:hover {
  background: var(--sm-accent-dark);
  color: #fff;
}

#content #start .layout-v2 .btn--outline,
#content .layout-v2 .btn--outline,
.layout-v2 .btn--outline {
  background: transparent;
  color: var(--sm-primary);
  border: 1px solid var(--sm-primary);
}

#content #start .layout-v2 .btn--outline:hover,
#content .layout-v2 .btn--outline:hover,
.layout-v2 .btn--outline:hover {
  background: var(--sm-primary);
  color: #fff;
}

/* text-content */

#content #start .layout-v2 .text-content,
#content .layout-v2 .text-content,
.layout-v2 .text-content {
  padding: 40px;
}

#content #start .layout-v2 .text-content p,
#content .layout-v2 .text-content p,
.layout-v2 .text-content p {
  margin: 0 0 1rem;
  line-height: 1.6;
  max-width: var(--sm-text-max);
}

/* Sektionen */

#content #start .layout-v2 .section,
#content .layout-v2 .section,
.layout-v2 .section {
  margin-bottom: 1rem;
}

/* cphContentExtra */

body:has(.layout-v2) #content > .layout-v2 {
  max-width: var(--sm-layout-max);
  margin: 0 auto;
  padding: 1rem 0;
}

body:has(.layout-v2) #content > .layout-v2 > .cnt.shadow {
  padding: var(--sm-content-padding) !important;
  margin-bottom: 0 !important;
}

body:has(.layout-v2) #content > .layout-v2 .layout-v2-inner {
  padding: 0;
}


/* .cnt.shadow innerhalb layout-v2: volle Breite */

.layout-v2 .cnt,
.layout-v2 .cnt.shadow,
.layout-v2 .cntContent {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Legacy-Spalten: content-box nur auf Desktop (wie _master.css erwartet) */

@media screen and (min-width: 963px) {
  .layout-v2 .col,
  .layout-v2 .cols,
  .layout-v2 .col100_2,
  .layout-v2 .col50_2,
  .layout-v2 .col75_2,
  .layout-v2 .col25_2 {
    box-sizing: content-box !important;
  }
}

/* === WARENKORB FLEX-LAYOUT (Basis, alle Breakpoints) ===
   Ersetzt die _master.css Regeln die auf .tblMain .tfoot td zielten */

.shppngcrt {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.cart-header {
  display: flex;
  align-items: center;
  padding: 7px;
  margin: 0 -7px;
  border-bottom: 1px solid #e7e7e7;
  background-color: #eee;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 11px;
  letter-spacing: 1px;
  color: #555;
  gap: 0 8px;
}

.cart-header .cart-qty    { width: 65px;  flex-shrink: 0; }
.cart-header .cart-format { width: 120px; flex-shrink: 0; text-align: center; }
.cart-header .cart-product { flex: 1; min-width: 0; }
.cart-header .cart-weight { width: 65px;  flex-shrink: 0; text-align: right; }
.cart-header .cart-price  { width: 85px;  flex-shrink: 0; text-align: right; }
.cart-header .cart-total  { width: 100px; flex-shrink: 0; text-align: right; }

.cart-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  gap: 0 8px;
}

.cart-item .cart-qty    { width: 65px;  flex-shrink: 0; overflow: visible; }
.cart-item .cart-format { width: 120px; flex-shrink: 0; text-align: center; }
.cart-item .cart-product { flex: 1; min-width: 0; }
.cart-item .cart-weight { width: 65px;  flex-shrink: 0; text-align: right; }
.cart-item .cart-price  { width: 85px;  flex-shrink: 0; text-align: right; }
.cart-item .cart-total  { width: 100px; flex-shrink: 0; text-align: right; }

.cart-item .cart-qty input.txtField {
  width: 50px;
  box-sizing: border-box;
  text-align: center;
}

.cart-item .cart-qty .lnkAction {
  display: none;
}

.shppngcrt hr {
  margin-left: 0;
  margin-right: 0;
}

.cart-footer .labeling hr {
  width: 220px;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.shppngcrt .icnsmorespace {
  white-space: nowrap;
}

.shppngcrt .icnsmorespace .arrowlink {
  display: inline;
  margin-right: 5px;
  font-size: 11px;
}

/* --- Cart Footer: Flex-Layout ---
   Bridge-Klassen .tblMain + .tfoot + .minList im HTML sorgen dafuer,
   dass ~24 _master.css-Regeln automatisch greifen.
   Hier nur die Overrides fuer Regeln die "td" oder "table" im Selektor hatten. */

.cart-footer {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ersetzt .tblMain .tfoot td { line-height:34px; position:relative; border:0 } */
.cart-footer-labels {
  line-height: 34px;
  position: static;
  border: 0;
}

.cart-footer-totals {
  line-height: 34px;
  position: relative;
  border: 0;
}

.cart-footer-labels {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.cart-footer-labels > .clearfix {
  display: none;
}

.cart-footer-totals {
  width: 100px;
  flex-shrink: 0;
  text-align: right;
}

/* Ersetzt "table #countryships { display:inline-block }" */
.shppngcrt #countryships {
  display: inline-block;
  margin-right: 4px;
}

.shppngcrt #countryships > .shadow {
  margin: 0;
  padding: 4px 16px 4px 4px;
  border: 1px solid #ddd;
  box-shadow: none;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.shppngcrt #countryships > .shadow:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #999;
  transform: translateY(-50%);
  pointer-events: none;
}

.shppngcrt #countryships .thisflag ul.shadow {
  background: #fff;
  border: 1px solid #ddd;
}

.shppngcrt #countryships > .shadow:hover ul.shadow {
  display: block !important;
}

.shppngcrt #countryships .thisflag {
  position: relative;
  line-height: 0 !important;
}

#countryships img {
  width: 25px !important;
  height: auto !important;
  vertical-align: middle;
}

#countryships ul img {
  width: 20px !important;
  height: auto !important;
  margin-right: 8px;
  vertical-align: middle;
}

.shppngcrt #countryships .thisflag ul {
  position: absolute;
  z-index: 11;
  top: -7px;
  left: -5px;
  padding: 6px 0 12px 8px;
  width: 140px;
  text-align: left;
  margin-bottom: -12px;
}

.shppngcrt #countryships.bigone .thisflag ul {
  width: 260px;
  max-height: 400px;
  overflow-y: scroll;
}

.shppngcrt #countryships .thisflag ul li {
  position: relative;
  display: block;
  line-height: 16px;
  margin-bottom: 12px;
}

.shppngcrt #countryships .thisflag ul li a span {
  display: inline-block;
  margin-left: 5px;
}

.shppngcrt #countryships .thisflag ul li a:hover,
.shppngcrt #countryships .thisflag ul li a.over {
  opacity: 0.6;
}

.shppngcrt #countryships .thisflag ul li a.icon_pickup {
  display: inline-block;
  min-height: 18px;
  background-position: 0 0;
  padding-left: 22px;
}

/* Ersetzt ".tblMain td.minList ul.loptions { width:240px }" */
.cart-footer-labels ul.loptions,
.cart-footer-labels ul.loptiddons {
  width: 240px;
  margin-left: auto;
  position: relative;
}

.cart-footer-labels ul.loptions:after,
.cart-footer-labels ul.loptiddons:after {
  content: '';
  position: absolute;
  top: 0;
  left: -26px;
  width: 100%;
  height: 100%;
  background: url(/images/shadow_cartltime.png) repeat-y left top;
  pointer-events: none;
}

.cart-footer-totals ul.loptions,
.cart-footer-totals ul.lopt_prices {
  width: auto;
  margin-left: 0;
}

/* Override: .loptions_left hat width:740px in _master.css,
   und width:100% !important in den Media Queries -> braucht auch !important */
.cart-footer .loptions_left,
.cart-footer .mathptss > div:not(.labeling):not(#countryships) {
  width: auto !important;
  position: relative;
}

.cart-footer .shadowl {
  display: block !important;
  left: auto !important;
  right: -17px;
  top: 0;
  height: 100%;
  width: 17px;
  background: url(/images/shadow_cartltime.png) repeat-y left top;
}

.cart-footer .chkproduction {
  margin-right: 10px;
}

/* Zahlungsart-Dropdown rechtsbuendig (wie "Nettobetrag" und Labels darunter):
   - .labeling parent auf text-align:right (rechtsbuendig fuer alle Inline-Children)
   - .payment auf display:inline-block (damit text-align:right greift)
   - Inline text-align innen wieder links (Listen-Inhalte sollen normal links lesbar sein) */
.cart-footer .labeling {
  text-align: right;
}

.payment {
  display: inline-block;
  text-align: left;
  vertical-align: top;
}

.payment ul.clklist {
  position: relative;
  width: 220px;
  padding: 0;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0;
  list-style: none;
}

.payment ul.clklist li {
  border-top: 1px solid #eee;
  padding: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  position: relative;
}

.payment ul.clklist > li:first-child {
  border-top: 0;
}

.payment ul.clklist > li:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  transform: translateY(-50%);
  pointer-events: none;
}

.payment ul.clklist li ul li:after {
  content: none;
}

.payment ul.clklist a {
  display: block;
  padding: 4px 6px 4px 14px;
  color: #666;
  line-height: 22px;
}

.payment ul.clklist li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  width: 340px;
  background: #fff;
  z-index: 500;
  border: 1px solid #e9e9e9;
  max-height: 300px;
  overflow-y: auto;
}

.payment ul.clklist li:hover,
.payment ul.clklist li:focus {
  background-color: #f4f4f4;
}

.payment ul.clklist li:hover ul li,
.payment ul.clklist li:focus ul li {
  background-color: #fff;
}

.payment ul.clklist li:hover ul li:hover {
  background-color: #f4f4f4;
}

.payment ul.clklist li.over a {
  background: #f4f4f4;
}

/* putithere: Flex-Container fuer Reihenfolge (Buttons vor Lieferzeiten) */
.putithere {
  display: flex;
  flex-direction: column;
}

.putithere > .tblMain { order: 1; }
.putithere > .plhOptions,
.putithere > .floatright {
  order: 2;
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 15px 0;
}

.putithere > .floatright > .btnAction {
  float: none !important;
  width: auto;
}

.putithere > .floatright > #checkout {
  order: 2;
}

.putithere > .floatright > .secRange {
  order: 1;
}

.putithere > .floatright > .clearfix,
.putithere > .floatright > .countrys {
  display: none;
}

.putithere > .cart-extras { order: 3; }

/* cart-extras: Lieferzeiten-Info + Gutschein nebeneinander */
.cart-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
}

.cart-extras .cartInfo {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  flex: 1;
  min-width: 250px;
  line-height: 22px;
  box-sizing: border-box;
  padding: 12px 15px;
  margin-top: 0 !important;
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  text-align: left;
  font-size: 13px;
}

.cart-extras .cartInfo small {
  display: block;
}

.cart-extras .divCoupon {
  flex: 1;
  min-width: 250px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-extras .divCoupon label {
  flex: 0 0 auto;
  margin: 0;
}

.cart-extras .divCoupon input.txtField {
  flex: 1 1 50px;
  min-width: 50px;
  max-width: 250px;
  margin: 0;
}

.cart-extras .divCoupon .btnAction {
  flex: 0 0 auto;
  margin: 0 !important;
}


@media screen and (max-width: 962px) {

  /* Alle .col100_2 und deren Wrapper: Flex + column-gap */
  .col100_2,
  .layout-v2 .col100_2,
  .col.col100_2.padBoth,
  .layout-v2 .col100_2 > div:has(.col50_2) {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 4% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .layout-v2 .col100_2 .col,
  .layout-v2 .col100_2 .cols:not(.cols50),
  .layout-v2 .col:not(:has(> .cols50)),
  .layout-v2 .cols:not(.cols50),
  .layout-v2 .col.col100_2.padBoth .cols {
    float: none !important;
    margin: 0 !important;
  }

  /* Volle-Breite-Elemente */
  .layout-v2 .col100_2 > p,
  .layout-v2 .col100_2 > strong,
  .layout-v2 .col100_2 > hr,
  .layout-v2 .col100_2 > h2,
  .layout-v2 .col100_2 > h3,
  .layout-v2 .col100_2 > a,
  .col.col100_2.padBoth > p,
  .col.col100_2.padBoth > strong,
  .col.col100_2.padBoth > hr,
  .col.col100_2.padBoth > h2,
  .col.col100_2.padBoth > h3,
  .col.col100_2.padBoth > a {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* Spaltenbreiten (Nachkommen, nicht nur Direktkinder) */
  .layout-v2 .col100_2 .col50_2 {
    width: calc(50% - 2%) !important;
  }
  .layout-v2 .col100_2 .cols.col25_2 {
    width: calc(25% - 2%) !important;
  }
  .layout-v2 .col100_2 .cols.col75_2 {
    width: calc(75% - 2%) !important;
  }

  /* Clearfix nicht mehr noetig */
  .layout-v2 .col100_2 .clearfix {
    display: none !important;
  }
}

/* === SHOP-HUELLE (sichere Overrides, alle Breiten) === */

html:has(.layout-v2) body {
  min-width: 0 !important;
  max-width: 100%;
  width: 100% !important;
  overflow: visible !important;
}

.cookieinfo,
.cookieinfo .inner {
  max-width: 100% !important;
  box-sizing: border-box;
}


/* === MOBILE MENU === */

@media screen and (max-width: 962px) {

  #mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.25s;
  }

  #mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
  }

  #mobile-menu-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  #mobile-menu.open #mobile-menu-overlay {
    opacity: 1;
  }

  #mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(100vw - 48px, 360px);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  #mobile-menu.open #mobile-menu-panel {
    transform: translateX(0);
  }

  #mobile-menu-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 52px;
    padding: 10px 12px 10px 16px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
  }

  #mobile-menu-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: -6px -8px -6px auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  #mobile-menu-close:active {
    background: #eee;
  }

  .mobile-menu-header-label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: #222;
  }

  #mobile-menu-panel,
  #mobile-menu-panel a,
  #mobile-menu-panel button {
    text-align: left !important;
  }

  #mobile-menu-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #mobile-menu-list {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
  }

  .mobile-menu-cat {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-menu-cat > .mobile-menu-cat-link {
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 8px 14px 13px;
    border-left: 3px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    color: #222 !important;
    text-decoration: none !important;
    line-height: 1.3;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .mobile-menu-cat.mainnav_werbeschilder > .mobile-menu-cat-link { border-left-color: #d73011; }
  .mobile-menu-cat.mainnav_werbeplane > .mobile-menu-cat-link   { border-left-color: #88be15; }
  .mobile-menu-cat.mainnav_fahnen > .mobile-menu-cat-link       { border-left-color: #04ac9f; }
  .mobile-menu-cat.mainnav_displays > .mobile-menu-cat-link     { border-left-color: #844bb0; }
  .mobile-menu-cat.mainnav_plakate > .mobile-menu-cat-link      { border-left-color: #24b1d4; }
  .mobile-menu-cat.mainnav_klebefolie > .mobile-menu-cat-link   { border-left-color: #f37f0d; }
  .mobile-menu-cat.mainnav_fotodruck > .mobile-menu-cat-link    { border-left-color: #f207b0; }
  .mobile-menu-cat.mainnav_textildruck > .mobile-menu-cat-link  { border-left-color: #0e549e; }

  .mobile-menu-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 4px 4px 4px 0;
    align-self: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 0;
    cursor: pointer;
    line-height: 1;
    border-radius: 8px;
    transition: transform 0.22s ease, background 0.15s;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    transition: transform 0.22s ease;
  }

  .mobile-menu-cat.open > .mobile-menu-toggle::after {
    transform: rotate(180deg);
  }

  .mobile-menu-toggle:active {
    background: #f0f0f0;
  }

  .mobile-menu-sub {
    flex: 1 1 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f7f7f8;
    border-top: 1px solid #ececec;
  }

  .mobile-menu-cat.open > .mobile-menu-sub {
    max-height: 10000px;
  }

  .mobile-menu-sub a:not(.mobile-menu-calc) {
    display: block;
    padding: 12px 25px 12px 35px;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
    color: #555 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #eee;
    min-height: 2.75em;
  }

  .mobile-menu-sub a:not(.mobile-menu-calc):last-child {
    border-bottom: 0;
  }

  .mobile-menu-sub .mobile-menu-heading {
    display: block;
    padding: 14px 16px 6px 22px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888 !important;
    text-decoration: none !important;
    border-bottom: 0;
  }

  .mobile-menu-sub .mobile-menu-heading:first-child {
    padding-top: 12px;
  }

  .mobile-menu-quick {
    flex: 0 0 auto;
    padding: 4px 0 12px;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    text-align: left !important;
  }

  .mobile-menu-quick .mobile-menu-heading {
    display: block;
    padding: 12px 16px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    text-align: left !important;
  }

  .mobile-menu-quick a {
    display: block;
    padding: 11px 16px;
    font-size: 0.9rem;
    color: #333 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #eee;
    text-align: left !important;
  }

  .mobile-menu-quick a:last-child {
    border-bottom: 0;
  }

  #mobile-menu-footer {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid #e0e0e0;
    background: #fff;
  }

  #mobile-menu-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(33.333% - 8px);
    min-width: 96px;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555 !important;
    text-decoration: none !important;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
    text-align: center !important;
  }

  #mobile-menu-burger {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 999;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s, box-shadow 0.2s;
  }

  #mobile-menu-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  body:has(#mobile-menu.open) #mobile-menu-burger {
    display: none !important;
  }
}


/* === SCROLL-LOCK === */

html:has(#mobile-menu.open),
html:has(#mobile-menu.open) body {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}


/* === MEDIA QUERIES === */

/* --- min-width: 963px (Desktop-only) --- */

@media screen and (min-width: 963px) {

  #mobile-menu,
  #mobile-menu-burger {
    display: none !important;
  }

  .cntAngebote .tmpdiv {
    display: flex;
    flex-direction: column;
  }

  .cntAngebote .tmpdiv > p {
    flex: 1;
  }

  .cntAngebote .tmpdiv > .btnAction {
    margin-top: auto !important;
  }
}

/* --- min-width: 962px --- */

@media screen and (min-width: 962px) {

  #content #start .layout-v2 .card-grid--4,
  #content .layout-v2 .card-grid--4,
  .layout-v2 .card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* --- min-width: 768px --- */

@media screen and (min-width: 768px) {

  #content #start .layout-v2 .pilot-page__layout,
  .layout-v2 .pilot-page__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  #content #start .layout-v2 .pilot-page__main,
  .layout-v2 .pilot-page__main {
    flex: 1 1 0;
    min-width: 0;
  }

  #content #start .layout-v2 .pilot-page__aside,
  .layout-v2 .pilot-page__aside {
    flex: 0 0 260px;
    position: sticky;
    top: 1rem;
  }

  #content #start .layout-v2 .grid-row--75-25,
  #content .layout-v2 .grid-row--75-25,
  .layout-v2 .grid-row--75-25 {
    grid-template-columns: 1fr 280px !important;
    gap: 2rem !important;
  }

  #content #start .layout-v2 .grid-col--sticky,
  #content .layout-v2 .grid-col--sticky,
  .layout-v2 .grid-col--sticky {
    position: sticky;
    top: 1rem;
    align-self: start;
  }
}

/* --- min-width: 700px --- */

@media screen and (min-width: 700px) {

  #content #start .layout-v2 ul.pilot-teasers__grid,
  #content .layout-v2 ul.pilot-teasers__grid,
  .layout-v2 ul.pilot-teasers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #content #start .layout-v2 .card-grid--3,
  #content .layout-v2 .card-grid--3,
  .layout-v2 .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* --- min-width: 600px --- */

@media screen and (min-width: 600px) {

  #content #start .layout-v2 .hero,
  #content .layout-v2 .hero,
  .layout-v2 .hero {
    min-height: 320px;
    padding: 2.5rem 2.5rem 2rem;
  }

  #content #start .layout-v2 .grid-row--50-50,
  #content .layout-v2 .grid-row--50-50,
  .layout-v2 .grid-row--50-50 {
    grid-template-columns: 1fr 1fr !important;
  }

  #content #start .layout-v2 .grid-row--25-75,
  #content .layout-v2 .grid-row--25-75,
  .layout-v2 .grid-row--25-75 {
    grid-template-columns: 1fr 3fr !important;
  }
}

/* --- min-width: 481px --- */

@media screen and (min-width: 481px) {

  #content #start .layout-v2 .card-grid,
  #content .layout-v2 .card-grid,
  .layout-v2 .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* cntAngebote 2er-Grid 481–962px (ohne .layout-v2 Scope) */

@media screen and (min-width: 481px) and (max-width: 962px) {

  .cntAngebote {
    width: calc(50% - 10px) !important;
    float: left !important;
    margin: 0 20px 20px 0 !important;
  }

  .cntAngebote:nth-of-type(2n) {
    margin-right: 0 !important;
  }

  .cntAngebote .tmpdiv {
    display: flex;
    flex-direction: column;
  }

  .cntAngebote .tmpdiv > p {
    flex: 1;
  }
}

/* spclcnt 2-Spalten-Layout 681-962px (Flex statt Float, gap statt margin) */

@media screen and (min-width: 681px) and (max-width: 962px) {

  .spclcnt {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
  }

  .spclcnt > hr {
    flex: 0 0 100%;
    width: 100% !important;
  }

  .spclcnt > .clearfix {
    display: none !important;
  }

  .spclcnt > .col50,
  .spclcnt > .cols.col50 {
    width: calc(50% - 12px) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  .spclcnt .col50 hr {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* --- max-width: 962px --- */

@media screen and (max-width: 962px) {

  :root { --padBoth-x: 30px; }

  /* .cols aus _master.css hat margin: 0 30px 25px 0 (Float-Pattern) - bei
     Mobile alle margins entfernen, da Spalten gestapelt sind.
     Ausnahme: Kassenseite (body:has(.tblCheckout)) - dort werden die
     Original-Margins fuer Spacing zwischen den Boxen benoetigt. */
  body:not(:has(.tblCheckout)) .cols {
    margin: 0 !important;
  }

  /* .pros: Desktop verschiebt mit margin-top:-132px ueber Header-Bild,
     responsive im normalen Fluss positionieren */
  .pros {
    margin-top: 0 !important;
  }

  .cols.pros {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* .cntSubnav (Service-Sidebar): Wrapper-Inline-Margin und negative
     Master-Margins neutralisieren, sonst ragt die Box links/rechts raus */
  .col.col25.padRight > div:has(> .cntSubnav) {
    margin: 0 !important;
  }

  .cntSubnav {
    margin: 0 0 20px 0 !important;
    padding: 15px var(--padBoth-x) !important;
    box-sizing: border-box;
  }

  /* .colFaq .col75: Desktop padding-right:30px responsive entfernen */
  .colFaq .col75 {
    padding-right: 0 !important;
  }

  /* .tabList.ksList: Desktop hat margin-top:-78px (Tabs ragen in Header), 
     responsive im normalen Fluss positionieren */
  .tabList.ksList {
    margin-top: 0 !important;
    overflow: visible !important;
  }

  /* Dropdown (.shadow) im Kundenkonto-Tab darf ueber benachbarte Elemente legen
     und darf nicht aus dem Viewport rausragen */
  .tabList.ksList li > div,
  .tabList.ksList li .shadow {
    z-index: 100;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
  }

  .tabList.ksList li > div hr,
  .tabList.ksList li .shadow hr {
    width: 100% !important;
  }

  /* tblMain mit thead (Listen-Tabellen wie Bestellungen): horizontal scrollbar
     bei kleinen Viewports. Warenkorb-Tabellen haben keinen thead und bleiben unberuehrt.
     Ausnahme: .tblCheckout - die wird ueber den #pageend-Wrapper scrollbar gemacht
     (siehe weiter unten), damit thead/tbody-Spalten in einer echten Tabelle synchron bleiben. */
  table.tblMain:has(> thead):not(.tblCheckout) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100% !important;
    max-width: 100% !important;
  }

  table.tblMain:has(> thead):not(.tblCheckout) > thead,
  table.tblMain:has(> thead):not(.tblCheckout) > tbody {
    display: table;
    width: 600px;
    min-width: 100%;
    table-layout: fixed;
  }

  /* Inline width:NNNpx auf den <th>-Elementen ueberschreiben (Bestellungen + Checkout),
     damit die Spalten ihre natuerliche Breite annehmen statt fix 50/135/275/110/100 etc. */
  table.tblMain:has(> thead) > thead > tr > th[style*="width"] {
    width: auto !important;
    min-width: 0 !important;
  }

  /* Kasse-Checkout-Tabelle: 3-Spalten Grid-Layout bei Mobile.
     Spalte 1: Anzahl | Spalte 2: Produkt + Format | Spalte 3: Gesamtpreis + Einzelpreis
     KEIN horizontaler Scroll, alle Infos sichtbar. */
  table.tblMain.tblCheckout,
  table.tblMain.tblCheckout > tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* thead ausblenden */
  table.tblMain.tblCheckout > thead {
    display: none !important;
  }

  /* tfoot-Zeile ausblenden (nur leere Spalten zur Layout-Kompensation) */
  table.tblMain.tblCheckout > tbody > tr.tfoot {
    display: none !important;
  }

  /* Jede Datenzeile als Grid-Card */
  table.tblMain.tblCheckout > tbody > tr {
    display: grid !important;
    grid-template-columns: 40px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px 0 !important;
    border-bottom: 1px solid #ddd;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  table.tblMain.tblCheckout > tbody > tr > td {
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
    width: auto !important;
  }

  /* Spalte 1: Anzahl (links, ueber beide Reihen, zentriert) */
  table.tblMain.tblCheckout > tbody > tr > td:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    text-align: center !important;
    font-weight: bold;
    align-self: start;
  }

  /* Spalte 2 oben: Produkt */
  table.tblMain.tblCheckout > tbody > tr > td:nth-of-type(3) {
    grid-column: 2;
    grid-row: 1;
    text-align: left !important;
  }

  /* Spalte 2 unten: Format (Breite x Hoehe) - kleiner, gedaempft */
  table.tblMain.tblCheckout > tbody > tr > td:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    text-align: left !important;
    font-size: 12px;
    color: #888;
  }

  /* Spalte 3 oben: Gesamtpreis (gross, fett) */
  table.tblMain.tblCheckout > tbody > tr > td:nth-of-type(5) {
    grid-column: 3;
    grid-row: 1;
    text-align: right !important;
    font-weight: bold;
  }

  /* Einzelpreis (Spalte 4) bei Mobile ausblenden - Gesamtpreis reicht */
  table.tblMain.tblCheckout > tbody > tr > td:nth-of-type(4) {
    display: none !important;
  }

  /* Versandkosten-Tabelle: hat inline width:900px - bei Mobile horizontal scrollbar */
  .tblMain.shippingTblCss {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .tblMain.shippingTblCss > tbody {
    display: table;
    width: max-content;
    min-width: 100%;
  }

  /* Header: Flexbox statt absolute Positionierung */

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    margin: 0 auto;
    gap: 22px;
  }

  #logo {
    position: relative !important;
    top: auto !important;
    flex-shrink: 0;
  }

  #toppart {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    flex-shrink: 0;
  }

  #cartmini {
    float: none !important;
  }


  #cartmini_details {
    right: 0 !important;
    left: auto !important;
    width: min(420px, 90vw) !important;
    z-index: 10000 !important;
    box-sizing: border-box;
  }



  #hellopart {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: none !important;
  }

  #navigation {
    display: none !important;
  }

  /* listAttr: horizontaler Swipe statt Umbruch, bis .cnt.shadow-Rand */
  .listAttr {
    display: flex !important;
    height: auto !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 0 !important;
    box-sizing: border-box;
  }

  .listAttr::-webkit-scrollbar { display: none; }

  .listAttr ul.chkList {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex: 0 0 auto;
  }

  .listAttr ul.chkList li {
    flex: 0 0 auto;
    float: none !important;
    white-space: normal;
    min-width: 220px;
    max-width: 300px;
    margin: 0 10px 0 25px !important;
    padding-left: 22px;
  }

  /* Scroll-Pfeile auf Mobile: Inhalt eingerueckt, Pfeile daneben */
  .has-scroll {
    display: flex !important;
    align-items: center;
  }
  img { max-width: 100%; height: auto; }

  .has-scroll > .scroll-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 100%;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
  }
  .has-scroll > .scroll-nav-left { order: -1; }
  .has-scroll > .scroll-nav-right { order: 1; }
  .has-scroll > .scroll-nav-arrow.hidden { opacity: 0; pointer-events: none; }
  .has-scroll > .wrapping {
    flex: 1;
    min-width: 0;
    order: 0;
  }

  /* Responsive Overrides */

  [data-pt-ratio] {
    background-size: 100% auto !important;
    background-position: top center !important;
  }


  /* Shop-Huelle (v2) */

  .site-inner {
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--sm-page-padding);
  }

  .infobar {
    max-width: none !important;
    width: calc(100% + 2 * var(--sm-page-padding)) !important;
    margin-left: calc(-1 * var(--sm-page-padding)) !important;
    margin-right: calc(-1 * var(--sm-page-padding)) !important;
  }


  /* Content + Wrapper */

  #wrapper {
    padding: 0;
    box-sizing: border-box;
  }

  #content {
    padding: 15px 0 0 0 !important;
  }

  /* Einheitliches Content-Padding: padBoth, padLeft, padRight */
  .padBoth {
    padding-left: var(--padBoth-x) !important;
    padding-right: var(--padBoth-x) !important;
  }

  .col.col100_2.padBoth,
  .layout-v2 .col.col100_2.padBoth {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  /* Direkte .col50_2-Kinder im Flex-Container: alle Margins entfernen,
     damit (a) Inline-style="margin-left:20px" auf der zweiten Spalte
     nicht zum Umbruch fuehrt, (b) .col-margin-right:40px aus _master.css
     keinen Ueberlauf erzeugt. Zwei-Spalter via gap:15px + width:calc(50% - 10px)
     aus dem .col50/.col50_2-Block weiter unten */
  .col.col100_2.padBoth > .col50_2,
  .col.col100_2.padBoth > .col.col50_2 {
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    max-width: calc(50% - 10px) !important;
  }

  /* Innerer Wrapper-Div ohne col-Klasse (z.B. <div style="padding:40px 0 20px;">)
     in .col.col100_2.padBoth: ebenfalls als Flex-Container mit zwei col50_2-Kindern */
  .col.col100_2.padBoth > div:not([class]):has(> .col50_2),
  .col.col100_2.padBoth > div[style]:not([class]):has(> .col50_2) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .col.col100_2.padBoth > div:not([class]) > .col50_2,
  .col.col100_2.padBoth > div[style]:not([class]) > .col50_2 {
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    max-width: calc(50% - 10px) !important;
  }

  .padLeft {
    padding-left: var(--padBoth-x) !important;
    padding-right: var(--padBoth-x) !important;
  }

  .padRight {
    padding-left: var(--padBoth-x) !important;
    padding-right: var(--padBoth-x) !important;
  }

  .padLeft hr, .padRight hr,
  .padBoth hr {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .padLeft .colSidebar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--padBoth-x) !important;
    padding-right: var(--padBoth-x) !important;
  }

  .padRight .colSidebar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--padBoth-x) !important;
    padding-right: var(--padBoth-x) !important;
  }

  /* text-content: Padding skaliert mit */
  .layout-v2 .text-content {
    padding: var(--padBoth-x) !important;
  }

  /* === WARENKORB responsive === */

  /* Breadcrumb: dynamisch skalieren, kein Umbruch */
  .listBrdcrmb {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .listBrdcrmb li {
    flex: 1 1 0 !important;
    float: none !important;
    min-width: 0 !important;
  }

  .listBrdcrmb li strong {
    padding: 0 clamp(10px, 3vw, 40px) 0 clamp(8px, 2vw, 20px) !important;
    font-size: clamp(11px, 1.8vw, 14px);
    min-width: 0 !important;
    white-space: nowrap;
  }

  .listBrdcrmb li strong span {
    margin-right: clamp(4px, 1vw, 12px) !important;
  }

  /* Warenkorb-Tabelle: Grid-Layout */
  .putithere {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: visible;
  }

  /* Warenkorb: keine zusaetzlichen Overrides noetig (Basis-Styles greifen) */

  /* Trusted Shops: nach unten */
  .trustedBox {
    width: 100% !important;
    max-width: 400px;
    box-sizing: border-box;
    order: 99;
  }

  .trustedBox img {
    max-width: 120px !important;
    height: auto !important;
  }

  .cartInfo {
    order: 98;
  }

  /* Lieferzeiten/Versand: volle Breite */
  .loptions_left {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .loptions_left .shadowl {
    display: none !important;
  }

  /* Warenkorb Buttons: Basis-Regeln greifen (Flex via .putithere > .floatright) */

  .putithere .addPadding {
    float: none !important;
    margin: 0 !important;
  }

  /* Gutschein */
  .divCoupon {
    height: auto !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
    float: none !important;
    padding: 8px 10px;
    overflow: hidden;
  }


  /* cols33_2: 3-spaltig ab Tablet, Flex statt Float */
  #content .col100_2 .cols.boxMaterial.cols33_2 {
    float: none !important;
    width: calc(33.333% - 10px) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* cols100 + clearfix im Flex-Container */
  #content .col100_2 > .cols.boxMaterial.cols100 {
    flex: 0 0 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #content .col100_2 > .clearfix {
    display: none !important;
  }

  /* boxMaterial: Bilder volle Breite, inline-Margins neutralisieren */
  #content .cols.boxMaterial img:not(.contentbild),
  #content .col .boxMaterial img:not(.contentbild) {
    display: block !important;
    margin: 0 0 10px 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  /* FAQ-Icon: nicht auf 100% aufblasen */
  #content #faq > img {
    width: auto !important;
    max-width: 48px !important;
    float: left !important;
    margin: 0 15px 10px 0 !important;
  }

  /* Bild-Box: aus padBoth ausbrechen */
  #content .padBoth > .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) {
    margin-left: calc(-1 * var(--padBoth-x)) !important;
    margin-right: calc(-1 * var(--padBoth-x)) !important;
    width: calc(100% + 2 * var(--padBoth-x)) !important;
    max-width: none !important;
    flex: 0 0 calc(100% + 2 * var(--padBoth-x)) !important;
    box-sizing: border-box !important;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) > div {
    padding: 0 !important;
    overflow: hidden;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) p {
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) hr {
    margin: 0 !important;
  }

  /* Registerkarten (.tabList): horizontal scrollbar */
  .tabList,
  .boxMaterial .tabList,
  .col25_2.padRight.secRange.lastitem .tabList {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0;
    white-space: nowrap;
  }

  .tabList::-webkit-scrollbar {
    display: none;
  }

  .tabList li {
    float: none !important;
    flex: 0 0 auto;
    line-height: 1.3 !important;
  }

  .tabList li a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px !important;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* tblCGrid feste Breiten: auto statt feste px, Tabelle darf ueberlaufen */
  .boxMaterial .tblGrid.tblCGrid,
  .tblGrid.tblCGrid.tblCGrid-Full {
    width: auto !important;
    min-width: 100%;
  }

  /* Tabellen-Scroll: Container scrollbar machen (nicht die Tabelle selbst,
     da display:table + overflow-x nicht zuverlaessig funktioniert
     und display:block die Tab-JS-Umschaltung bricht) */
  #content .cols.boxMaterial > div:has(.tblGrid),
  #content .cols.boxMaterial > div:has(.tbl-tech),
  #content .cols.boxMaterial > div:has(.tblCnt),
  #content .colSidebar:has(.tblGrid) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  #content .tblGrid,
  #content .tbl-tech,
  #content .tblCnt {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
    width: max-content;
    min-width: 100%;
    scrollbar-width: thin;
    box-sizing: border-box !important;
  }

  #content .tblCnt.ppfix td {
    min-width: 150px;
    white-space: nowrap;
  }

  #content .cols.boxMaterial.cols100 {
    max-width: 100% !important;
    overflow: visible;
  }

  #content .cols.boxMaterial.cols100:has(.tblCnt) {
    overflow-x: auto !important;
  }

  /* FAQ-Box: Parent aus padBoth ausbrechen, #faq fuellt volle Breite */
  #content .padBoth > .cols.boxMaterial.cols100:has(#faq) {
    margin-left: calc(-1 * var(--padBoth-x)) !important;
    margin-right: calc(-1 * var(--padBoth-x)) !important;
    width: calc(100% + 2 * var(--padBoth-x)) !important;
    max-width: none !important;
    flex: 0 0 calc(100% + 2 * var(--padBoth-x)) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #content .cols.boxMaterial.cols100:has(#faq) > div {
    padding: 0 !important;
  }

  #content .cols.boxMaterial.cols100:has(#faq) > div > hr {
    display: none !important;
  }

  #content #faq {
    margin: 0 !important;
    padding: 30px var(--padBoth-x) 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Footer Redesign */

  #footer {
    min-width: 0 !important;
    max-width: none !important;
    width: calc(100% + 2 * var(--sm-page-padding)) !important;
    margin-left: calc(-1 * var(--sm-page-padding)) !important;
    margin-right: calc(-1 * var(--sm-page-padding)) !important;
    box-sizing: border-box;
  }

  #footer .foot {
    max-width: var(--sm-layout-max) !important;
    margin: 0 auto !important;
    padding: 0 var(--sm-page-padding) !important;
    box-sizing: border-box;
  }


  #footer img { max-width: 100%; height: auto; }

  #footer .footing2 .foots {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    max-width: 100% !important;
    float: none !important;
    width: 100% !important;
  }

  #footer .footing2 .footcol {
    float: none !important;
    width: 50% !important;
    max-width: none !important;
    margin: 0 0 1.25rem 0 !important;
    box-sizing: border-box;
    padding-right: 1rem;
  }

  #footer .footing2 .foots > .floatright {
    float: none !important;
    width: 50% !important;
    max-width: none !important;
    margin: 0 0 1.25rem 0 !important;
    box-sizing: border-box;
  }

  #footer .foots > .clearfix { display: none !important; }

  #countryship {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .col50, .col50_2, .col50_3 {
    width: calc(50% - 10px) !important;
    box-sizing: border-box !important;
  }

  .cntContent > .col.col50 {
    margin-right: 0 !important;
  }

  .cntContent > .col.col50 .cols.cols65.lastitem {
    height: 20px;
  }

  /* Login/Registrierung: Labels über Inputs */
  .col50 .cols35,
  .col50 .cols65 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .col50 .cols35 {
    text-align: left !important;
    margin-bottom: 4px !important;
  }

  .col50 .cols65 {
    margin-bottom: 18px !important;
  }

  .col50 .cols65 .txtField {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .col50 .cols65 .btnAction {
    width: auto !important;
  }

  .col50 .cntChkRad .floatleft {
    width: auto !important;
    max-width: calc(100% - 30px) !important;
  }

  .col50 fieldset > .clearfix {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }

  fieldset .cols {
    margin-bottom: 0px !important;
  }

  .col75 fieldset h2, .col65 fieldset h2 {
    margin-left: 0 !important;
  }

  fieldset h2 {
    margin: -15px 0 20px 0 !important;
    padding: 0 10px 0 0 !important;
  }

  /* Login: Button-Zeile (Passwort vergessen + Login) */
  .col50 .cols65:has(.btnAction):has(.arrowlink) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
    gap: 10px;
  }

  .col50 .cols65:has(.btnAction):has(.arrowlink) .btnAction {
    order: -1;
  }

  .col50 .btnAction.shadow {
    margin-bottom: 20px !important;
  }

  .col75, .col75_2, .col75_3 {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  .col25, .col25_2, .col25_3 {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  /* Sidebar: colSidebar-Boxen nebeneinander */
  .col25_2.padRight {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .col25_2.padRight > .colSidebar {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 250px;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  .col25_2.padRight > .col_zubehoerue {
    flex: 0 0 100% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .col25_2.padRight .col_zubehoerue > .zitm {
    flex: 1 1 calc(33.333% - 10px) !important;
    width: auto !important;
    min-width: 200px;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    font-size: 14px;
    border: 1px solid #ddd !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    overflow: visible;
    position: relative;
  }

  .col25_2.padRight .col_zubehoerue > .clearfix {
    display: none !important;
  }

  /* Bild unten, buendig innerhalb border */
  .col25_2.padRight.secRange .col_zubehoerue .col .imgcnt {
    width: 100% !important;
    height: auto !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    order: 99;
    overflow: hidden;
    box-sizing: border-box !important;
  }

  .col25_2.padRight.secRange .col_zubehoerue .col .imgcnt img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Text Mitte (flex:1 fuer gleiche Hoehe) */
  .col25_2.padRight .col_zubehoerue .txtpt {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 60px 15px 5px !important;
    flex: 1;
    margin-bottom: -50px !important;
  }

  .col25_2.padRight .col_zubehoerue .txtpt h2 {
    position: absolute !important;
    top: 15px !important;
    left: -5px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-bottom: 5px !important;
    background-repeat: no-repeat !important;
    background-position: bottom left !important;
  }

  .col25_2.padRight .col_zubehoerue .txtpt p {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0 0 !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu select.txtField {
    padding-right: 30px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
  }

  /* Kalkulator unten, Hover-Overlay deaktivieren */
  .col25_2.padRight .col_zubehoerue .calcu,
  .padRight.secRange .col_zubehoerue .col:hover .calcu {
    display: block !important;
    position: relative !important;
    padding: 15px !important;
    margin: 0 !important;
    margin-top: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    background: none !important;
  }


  .col25_2.padRight .col_zubehoerue .calcu hr {
    margin: 0 0 10px !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu .foots {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu .foots > .clearfix {
    display: none !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu .txtAmount {
    float: none !important;
    flex-shrink: 0;
  }

  .col25_2.padRight .col_zubehoerue .calcu .math {
    float: none !important;
    margin-left: auto;
    height: auto !important;
    width: auto !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu .math .inner {
    width: auto !important;
  }

  .col25_2.padRight .col_zubehoerue .calcu .btnAction {
    text-align: center;
  }

  .col25_2.padRight .col_zubehoerue .calcu .floatleft {
    float: none !important;
    display: inline-block;
  }

  .col65, .col55 {
    width: 63% !important;
    box-sizing: border-box !important;
  }

  .col35, .col33 {
    width: 35% !important;
    box-sizing: border-box !important;
  }

  .infobar.benefits {
    overflow: hidden !important;
    max-width: 100vw !important;
  }

  .infobar.benefits .wrapping {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    max-width: 100%;
    width: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
    /* Whitespace-Text-Knoten (z.B. &nbsp;&nbsp;&nbsp;...) zwischen Element-Kindern
       unsichtbar machen, damit ausgeblendete Items keine luftleere Lücke erzeugen */
    font-size: 0 !important;
  }

  .infobar.benefits .wrapping > * {
    font-size: 13px;
  }

  /* Echten Abstand zwischen den sichtbaren Items (statt durch &nbsp; im HTML).
     Jedes Icon-Span (auser dem ersten sichtbaren) bekommt margin-left,
     damit Icon+Label-Paare gleichmaessig getrennt sind */
  .infobar.benefits .wrapping > span[class^="icon-"] {
    margin-left: 24px;
  }

  .infobar.benefits .wrapping > span[class^="icon-"]:first-of-type {
    margin-left: 0;
  }

  .infobar.benefits .wrapping::-webkit-scrollbar { display: none; }
  .infobar.benefits .wrapping:active { cursor: grabbing; }

  /* Breadcrumble scroll (v2) */

  .breadcrumble {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    left: 0 !important;
    right: 0 !important;
  }

  .breadcrumble .lastitem {
    order: 99 !important;
  }

  .breadcrumble::-webkit-scrollbar {
    display: none;
  }

  body:has(.layout-v2) .breadcrumble ul {
    white-space: nowrap !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 0;
  }

  body:has(.layout-v2) .breadcrumble ul li {
    flex-shrink: 0;
  }


  /* #help: fixed unten rechts */

  #help {
    margin: 0 !important;
    margin-right: max(10px, env(safe-area-inset-right, 0px)) !important;
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(960px, calc(100vw - max(20px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)))) !important;
    max-width: 960px !important;
    pointer-events: none !important;
    z-index: 1001;
    clear: none !important;
  }

  #help .inner {
    float: right !important;
    width: min(384px, calc(100% - 10px)) !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }

  /* Master setzt .cnt width:300% fuer Desktop-Slide-Effekt - bei Mobile auf 100% */
  #help .content .cnt {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  #help .content .cnt .cols {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 8px !important;
  }

  #help .content .cnt .cols article {
    max-height: none !important;
    overflow: visible !important;
  }

  #help .content .row .col-50 {
    float: none !important;
    width: 100% !important;
  }

  #help .content .row .col-50:last-child {
    margin-left: 0 !important;
  }

  #help .contact {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 12px 0 !important;
    padding: 0 4px 8px !important;
    box-sizing: border-box !important;
  }

  #help.collapsed .contact {
    bottom: auto !important;
  }

  #help.collapsed .content {
    height: auto !important;
    max-height: min(85vh, 520px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #help .contact a.btnAction {
    display: inline-block !important;
    margin: 6px 4px 0 !important;
  }
}

/* --- max-width: 768px --- */

@media screen and (max-width: 768px) {

  .layout-v2 .cntAngebote,
  #content .layout-v2 .cntAngebote {
    width: calc(50% - 10px) !important;
  }
}

/* --- max-width: 767px --- */

@media screen and (max-width: 767px) {

  body:has(.layout-v2) #top .menu.float-right {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    gap: 0.35rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.25rem !important;
  }

  body:has(.layout-v2) #top .menu.float-right > li {
    flex: 0 0 auto;
  }


  body:has(.layout-v2) .cookieinfo .btnAction {
    float: none !important;
    display: block !important;
    margin: 8px 0 !important;
    text-align: center;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}

/* --- max-width: 800px --- cols33_2 auf 2-spaltig */

@media screen and (max-width: 800px) {

  #content .col100_2 .cols.boxMaterial.cols33_2 {
    width: calc(50% - 8px) !important;
  }

  #content .col100_2 .cols.boxMaterial.cols33_2.lastitem {
    width: 100% !important;
  }
}

/* === KASSE / CHECKOUT (Mobile-Overrides fuer kasse/default.aspx) ===
   Inline-CSS in der aspx war Desktop-Layout (962px Floats), hier Mobile-Variante.
   Tabelle .tblMain.tblCheckout ist bereits durch tblMain:has(>thead)-Regel scrollbar. */

@media screen and (max-width: 962px) {

  /* .fixedBar (Sticky Bottom-Bar mit Preis + Jetzt-kaufen-Button):
     Float-Spalten col1/col2/col3 -> Flex, volle Breite, Padding analog zu .padLeft.
     Admin-Inline-Style setzt padding-bottom:70px - bei Mobile (.fixedBar.mobile ist
     position:relative im Fluss) brauchen wir das nicht, daher entfernen. */
  .fixedBar {
    padding-bottom: 20px !important;
  }

  /* kasse.js setzt per JS inline margin-bottom:80-100px auf .tblCheckout um
     Platz fuer die position:fixed Bar zu reservieren. Bei viewport <=962px
     ist die fixedBar aber im Fluss (position:relative) - daher Whitespace
     unnoetig. !important ueberschreibt das jQuery-Inline-Style. */
  .tblCheckout {
    margin-bottom: 0 !important;
  }

  .fixedBar > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 var(--padBoth-x) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 8px 16px;
    box-sizing: border-box !important;
  }

  .fixedBar .col1,
  .fixedBar .col2,
  .fixedBar .col3 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .fixedBar .col1 {
    flex: 1 1 60%;
    text-align: left !important;
    font-size: 13px !important;
  }

  .fixedBar .col2 {
    flex: 0 0 auto;
    text-align: right !important;
  }

  .fixedBar .col3 {
    flex: 1 1 100%;
  }

  .fixedBar .col3 .btnAction {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
  }

  .fixedBar .col3 p {
    font-size: 11px;
    margin: 0 0 8px 0;
  }

  /* Adressen-Boxen (Rechnungs-/Lieferadresse) responsive stacken.
     .cols50.colBox aus _master.css hat width:275px, Spezifitaet 0,2,0 -
     wir brauchen mind. die gleiche Spezifitaet plus !important. */
  .wrap_colBoxes .cols.cols50.colBox {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }

  /* colBoxes_back.gif (Trenner-Schatten zwischen 2 Adressen-Spalten) bei Mobile
     ausblenden, da die Boxen gestapelt sind */
  .wrap_colBoxes {
    background-image: none !important;
  }

  /* .wrap_colBoxes .colBox aus _master.css hat border-bottom:0 (Desktop-Pattern,
     da der Schatten-Trenner das uebernimmt). Bei Mobile gestapelt brauchen die
     Boxen einen sichtbaren unteren Border als Trenner. */
  .wrap_colBoxes .colBox {
    border-bottom: 1px solid #ddd !important;
  }

  /* Alle .colBox auf border-box + Master-Margin-Right neutralisieren,
     sonst ragen sie wegen padding:20px content-box ueber den Container hinaus.
     padding-bottom auf 20px (statt master 10px) fuer gleichmaessigen Innenabstand.
     display:flow-root umschliesst floatende Children (z.B. .cntChkRad input/label)
     ohne dass ein <div class="clearfix"> im HTML noetig ist.
     Greift fuer Adressen-, Produktions- und Zahlungs-Boxen in der Kasse. */
  .col75 .colBox,
  .col75 .cols.colBox {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    float: none !important;
    padding-bottom: 20px !important;
    display: flow-root;
  }

  /* Hoehe der colBoxS-Boxen (Produktion, Zahlung) auflockern */
  .colBoxS {
    height: auto !important;
  }

  /* Kasse-Sidebar (Trustedshops-Badge + Impressum/Datenschutz) bei Mobile ausblenden -
     gestapelt unter dem Hauptinhalt liefert sie keinen Mehrwert mehr */
  .col.col25.padRight.lastitem[data-affix*="pageend"] {
    display: none !important;
  }

  /* .wrapDruckdaten: Master-margin -40px (ragt aus padding raus) bei Mobile entfernen */
  .wrapDruckdaten {
    margin: 0 !important;
  }

  /* Datenupload: Container im flex-wrap col100_2.padBoth auf volle Breite zwingen,
     sonst stehen "Druckdatenanforderungen" und "cntUploads" nebeneinander.
     box-sizing:border-box, sonst ragt die Box wegen padding rechts ueber den Rand. */
  .col.col100_2.padBoth > .wrapDruckdaten,
  .col.col100_2.padBoth > form {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Datenupload-Seite: cntDruckdaten-Boxen (Master: float left, width 30%) stacken */
  .cntDruckdaten {
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 15px;
    box-sizing: border-box;
  }

  /* Datenupload: cntUploads (Produkt links + Upload rechts) stacken statt 35% / 58% */
  .cntUploads .leftPart,
  .cntUploads .rightPart {
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .cntUploads .rightPart {
    border-left: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 15px;
    padding-top: 15px !important;
    border-top: 1px solid #eee;
  }

  .cntUploads .colProdukt {
    max-width: 100% !important;
    width: auto !important;
  }

  /* uploadifive-Button auf volle Breite */
  .uploadifive-button {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* .cntChkRad in den .colBox: Flex statt Float, damit langer Label-Text
     (z.B. "Transportversicherung - verdeckte Schaeden (+ 6,50 €)") neben
     der Checkbox bleibt und sauber umbricht statt unten weg zu fallen */
  .col75 .colBox .cntChkRad {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .col75 .colBox .cntChkRad input {
    float: none !important;
    margin: 4px 0 0 0 !important;
    flex: 0 0 auto;
  }

  .col75 .colBox .cntChkRad label {
    float: none !important;
    margin: 0 !important;
    flex: 1;
  }

  /* editAddresses Adressbearbeitung: Labels ueber Inputs (statt 15%/75% Float),
     Inputs auf volle Box-Breite (Inline-Style-Widths wie 375px/336px/200px etc. ueberschreiben) */
  .editAddresses .cols.cols15,
  .editAddresses .cols.cols75 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 4px 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .editAddresses .cols.cols75 {
    margin-bottom: 12px !important;
  }

  .editAddresses input.txtField,
  .editAddresses select.txtField,
  .editAddresses input[type="text"][style*="width"],
  .editAddresses select[style*="width"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 6px 0 !important;
  }

  /* Straße + Hausnummer in einer Zeile */
  .editAddresses .cols.cols75:has(> #street) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .editAddresses #street {
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
  }

  .editAddresses #streetnumber {
    flex: 0 0 80px !important;
    width: 80px !important;
    margin: 0 !important;
  }

  /* Land + PLZ + Ort in einer Zeile */
  .editAddresses .cols.cols75:has(> #country) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .editAddresses #country {
    flex: 0 0 60px !important;
    width: 60px !important;
    margin: 0 !important;
  }

  .editAddresses #plz {
    flex: 0 0 70px !important;
    width: 70px !important;
    margin: 0 !important;
  }

  .editAddresses #ort {
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* --- max-width: 680px --- */

@media screen and (max-width: 680px) {

  :root { --padBoth-x: 20px; }

  .cntContent {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  input#anzahl {
    margin: 0;
  }

  .col, .cols,
  .col75, .col75_2, .col75_3,
  .col65, .col55, .col50, .col50_2, .col50_3,
  .col35, .col33, .col25, .col25_2, .col25_3,
  .col100, .col100_2, .col85, .col80,
  .layout-v2 .col, .layout-v2 .cols,
  .layout-v2 .col50_2, .layout-v2 .col75_2, .layout-v2 .col25_2,
  .layout-v2 .col100_2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .spclcnt > .col50,
  .spclcnt > .cols.col50 {
    padding: 0 !important;
  }

  .spclcnt > hr,
  .spclcnt .col50 hr {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .padLeft hr, .padRight hr { margin-left: 0 !important; margin-right: 0 !important; }

  #content .cart-footer .labeling hr {
    width: 220px;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .col75 .cols35, .col75 .cols25,
  .col75_2 .cols33,
  .col65 .cols35,
  .col100_2 .cols25,
  .col100_2 .cols.boxMaterial.cols33,
  .col100_2 .cols.boxMaterial.cols25 {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  /* cols50: Flex-Grid im Parent (Kassette/Standfuss etc.) */
  .col75_2:has(> .cols.boxMaterial.cols50),
  .col75:has(> .cols.boxMaterial.cols50),
  .col65:has(> .cols.boxMaterial.cols50) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .col75 > .cols50, .col75_2 > .cols50,
  .col65 > .cols50, .col50 > .cols50,
  .col100_2 .cols.boxMaterial.cols50 {
    width: calc(50% - 8px) !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .col75_2 > .cols.lastitem:not(.cols50),
  .col75_2 > .cols.boxMaterial.cols100 {
    flex: 0 0 100% !important;
  }

  .col75_2 > .clearfix,
  .col75 > .clearfix,
  .col65 > .clearfix {
    display: none !important;
  }

  /* .header padding:40px aus _master.css nur dann neutralisieren, wenn der Header
     einen Calculator enthaelt - sonst hat .calcmodule nur die innere Breite minus 80px */
  .header:has(> .calcmodule),
  .header.big:has(> .calcmodule) {
    padding: 0 !important;
  }

  /* Header mit inline background-image: Bild voll-fuellend statt mit 40px-Innenabstand.
     Greift nur fuer .header.big (Hero-Header auf Kategorie/Landing-Pages),
     NICHT fuer .header.noneStyled in /kundenkonto und /kundenservice. */
  .header.big[style*="background-image"],
  .header.big:has(> .imgCnt[style*="background-image"]) {
    padding: 0 !important;
  }

  .header.big > .imgCnt[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    margin: 0 !important;
    padding: var(--sm-content-padding) !important;
  }

  .header.big, .header.big .imgCnt {
    height: auto !important;
    min-height: 280px;
  }

  .header .imgCnt {
    margin: 0 !important;
  }

  .header.big .imgCnt {
    padding: var(--sm-content-padding) !important;
    background-size: cover !important;
  }

  .header .imgCnt .insideHead {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .myhead h1, .myhead h4 {
    font-size: clamp(24px, 6vw, 46px) !important;
    line-height: 1.1 !important;
  }

  .myhead h1 span, .myhead h4 span {
    padding: clamp(10px, 2.5vw, 18px) clamp(10px, 2vw, 14px) clamp(8px, 2.2vw, 16px) !important;
  }

  .myhead h1 small, .myhead h4 small {
    padding: clamp(5px, 1.5vw, 8px) clamp(10px, 2vw, 14px) !important;
  }

  #cartmini_details {
    width: 280px !important;
    right: 0 !important;
    left: auto !important;
  }

  #cartmini_details .wrapping_details {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px;
  }

  #cartmini_details .wrapping_details > table {
    flex: 0 0 100%;
    order: 1;
  }

  #cartmini_details .arrowlink {
    flex: 0 0 100% !important;
    float: none !important;
    order: 2;
    text-align: center;
    margin: 0 !important;
  }

  #cartmini_details .btnAction {
    flex: 1 1 auto !important;
    float: none !important;
    margin: 0 !important;
    text-align: center;
    order: 3;
  }

  #cartmini_details .clearfix {
    display: none !important;
  }

  #vorteile {
    display: none !important;
    margin-top: 15px;
  }

  .breadcrumble {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding: 0 var(--sm-content-padding) !important;
  }

  .breadcrumble::-webkit-scrollbar { display: none; }

  .breadcrumble ul {
    white-space: nowrap !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
  }

  .breadcrumble ul li { flex-shrink: 0; }

  #content hr { margin-left: 0 !important; margin-right: 0 !important; }
  #content .clearfix { height: 0 !important; margin: 0 !important; padding: 0 !important; }

  /* Produktkarten: 1 Spalte (ohne .layout-v2 Scope) */
  .cntAngebote {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  .wrapCalc { width: 100% !important; float: none !important; }
  .listCalc { width: 100% !important; float: none !important; margin-right: 0 !important; }
  .calcmodule { position: relative !important; top: auto !important; right: auto !important; left: auto !important; width: 100% !important; height: auto !important; box-sizing: border-box !important; background: #f0f0f0 !important; padding: 15px !important; color: #333 !important; }

  /* lblInfoBox: aus position:absolute (right:260px) in den Fluss bringen,
     eigene Zeile direkt unter den Format-Inputs, am #breite-Input ausgerichtet
     (.calcmodule strong ist 110px + 20px padding-left + 10px padding-right
      = 140px, danach margin-left:10px des Inputs -> 150px) */
  .calcmodule .lblInfoBox,
  .calc_right .lblInfoBox {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    clear: both;
    margin: 6px 0 8px 150px !important;
    padding: 0 !important;
    max-width: none !important;
  }

  .calcmodule .lblInfoBox strong,
  .calc_right .lblInfoBox strong {
    white-space: normal !important;
  }

  .calcmodule strong, .calcmodule .itslbl { color: #555 !important; }
  .calcmodule .lblInfoBox strong { color: #fff !important; }
  #stdformate:before { color: #555 !important; }
  .calcmodule .clklist { width: 100% !important; box-sizing: border-box !important; }
  ul.clklist.list_materials { width: calc(100% - 160px) !important; }
  .calcmodule label.txtLblInfo {
    width: 100% !important;
    float: none !important;
  }
  .calcmodule label.txtLblInfo:not(.txtItsSmall) input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calcmodule span {
    float: left;
    padding: 6px 0 0 0;
  }
  .calcmodule input.sized {
    width: calc(50% - 137px) !important;
    box-sizing: border-box !important;
  }
  .calcmodule ul.clklist.liInputs {
    width: calc(100% - 160px) !important;
    box-sizing: border-box !important;
  }
  .calcmodule label.txtLblInfo.txtItsSmall {
    width: calc(50% - 4px) !important;
    float: left !important;
    margin-right: 8px !important;
  }
  .calcmodule label.txtLblInfo.txtItsSmall input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calcmodule label.txtLblInfo.txtItsSmall:last-of-type {
    margin-right: 0 !important;
  }
  label.txtItsSmall.txtLblInfo .inner {
    right: 0 !important;
  }
  .calcmodule .clklist > li { width: 100% !important; }
  .calcmodule .clklist > li > a { display: block !important; width: 100% !important; box-sizing: border-box !important; }
  .calcmodule .clklist > li > ul { width: 100% !important; box-sizing: border-box !important; }
  .calcmodule .clklist > li > ul > li { width: 100% !important; }
  .calcmodule .clklist > li > ul > li > a { display: block !important; width: 100% !important; box-sizing: border-box !important; }
  .calcmodule .cnt-collapsed { width: 100% !important; box-sizing: border-box !important; }
  .calcmodule .ptShips { width: 100% !important; box-sizing: border-box !important; }
  .calcmodule .lieferoptionen > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px;
  }
  label.cntChkRad {
    margin: 0 0 3px 10px !important;
  }
  .calcmodule .addspaces {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 10px;
    align-items: center;
  }
  .calcmodule .addspaces > .itslbl {
    grid-column: 1;
    grid-row: 1;
  }
  .calcmodule .addspaces > #anzahl {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin: 0 !important;
  }
  .calcmodule .addspaces > .pinfos {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
  }

  .calcmodule .pinfos .math > small {
    display: block !important;
    margin-top: 15px !important;
  }
  .calcmodule .addspaces > .clearfix {
    display: none !important;
  }
  .calcmodule .pinfos { width: 100% !important; margin-top: 10px; float: left; padding: 6px 0 0 150px; }
  .calcmodule .pinfos .math { width: 100% !important; }
  .bigdisplays .calcmodule .math {
    padding-top: 45px;
    padding-left: 105px;
  }
  .wrapPrices { float: none !important; margin: 15px 0 !important; height: auto !important; }

  #content .colSidebar {
    margin: 0 0 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #content .col img:not(.calcmodule img):not(.cartmini-icon):not(.contentbild):not(.flaglist img):not(.iiicnt img),
  #content .cols img:not(.calcmodule img):not(.cartmini-icon):not(.contentbild):not(.flaglist img):not(.iiicnt img) {
    float: none !important;
    margin: 0 0 10px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Laenderflaggen-Icons in shippingTblCss: nicht auf 100% Breite skalieren */
  #content .flaglist img {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* Payment-Icons (.iiicnt img: Billie, Vorkasse, etc.): Original-Groesse */
  #content .iiicnt img {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 20px 0 0 !important;
  }

  #content .cols.boxMaterial:not(.cols50) {
    margin-right: 0 !important;
    width: 100% !important;
  }
  .cols.boxMaterial:not(.cols50),
  .col .boxMaterial {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .cols.boxMaterial div,
  .col .boxMaterial div {
    padding: 0 !important;
  }
  .cols.boxMaterial p,
  .col .boxMaterial p {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
  }
  .cols.boxMaterial img:not(.contentbild),
  .col .boxMaterial img:not(.contentbild) {
    display: block !important;
    margin: 0 0 10px 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  .calcmodule img { float: left !important; }

  #content .floatleft:not(.calcmodule .floatleft):not(.contentbild):not(.editAddresses .floatleft):not(.col.focused > .floatleft),
  #content .floatright:not(.calcmodule .floatright):not(.editAddresses .floatright):not(.col.focused > .floatright) {
    float: none !important;
  }

  .calcmodule .floatleft { float: left !important; }
  .calcmodule .floatright { float: right !important; }

  /* contentbild: Bild floated links mit begrenzter Breite */
  #content img.contentbild {
    float: left !important;
    width: 40% !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 20px 15px 0 !important;
  }

  /* === WARENKORB responsive (680px) === */

  /* Breadcrumb: kleiner + scroll */

  /* Trusted Shops: kompakter */
  .tblMain .trustedBox {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px 0 !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
  }

  .tblMain .trustedBox img,
  .trustedBox img {
    float: none !important;
    max-width: 80px !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .trustedBox ul {
    float: none !important;
    width: auto !important;
  }

  /* Lieferzeiten-Box: volle Breite */
  .loptions_left {
    width: 100% !important;
  }

  .loptions_left .shadowl {
    display: none !important;
  }

  /* --- Warenkorb: Mobile Grid (<=680px) --- */

  .cart-header {
    display: none;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    grid-template-rows: auto;
    gap: 0 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
  }

  .cart-item .cart-qty {
    grid-column: 1;
    grid-row: 1 / 3;
    width: auto;
  }

  .cart-item .cart-qty input.txtField {
    width: 50px;
    box-sizing: border-box;
  }

  .cart-item .cart-qty .lnkAction {
    display: none;
  }

  .cart-item .cart-format {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    text-align: left;
    font-weight: 600;
  }

  .cart-item .cart-product {
    grid-column: 2;
    grid-row: 2;
    width: auto;
  }

  .cart-item .cart-weight {
    grid-column: 2;
    grid-row: 3;
    width: auto;
    text-align: left;
    color: #888;
    font-size: 12px;
  }

  .cart-item .cart-weight::before {
    content: "Gewicht: ";
  }

  .cart-item .cart-price {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    text-align: right;
    color: #888;
    font-size: 12px;
  }

  .cart-item .cart-total {
    grid-column: 3;
    grid-row: 2;
    width: auto;
    text-align: right;
    font-weight: 700;
    font-size: 15px;
  }

  #content #countryships img {
    width: 25px !important;
    height: auto !important;
    float: none !important;
    margin: 0 !important;
  }

  #content #countryships ul img {
    width: 20px !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
  }


  /* Footer (Legacy) */
  .footcol {
    width: 100% !important;
    padding-right: 0 !important;
  }
  .foots .floatright { float: none !important; width: 100% !important; }
  .cntNotice .floatleft, .cntNotice .floatright, .cntNotice .cntNotice__info {
    float: none !important;
    display: block;
    text-align: center;
    margin-left: 0 !important;
  }

  #footer .cntNotice .floatleft a {
    display: inline-block;
    margin: 0 6px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
    margin-top: 6px;
  }

  .footer-links--mini {
    font-size: 12px;
  }

  .footer-links a {
    text-decoration: underline;
  }

  .footing2 .foot { text-align: center; line-height: 2; }

  .cookieinfo .btnAction {
    float: none !important;
    display: block !important;
    margin: 8px 0 !important;
    text-align: center;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* #help: explizit links UND rechts 10px Abstand (Safe-Area beachten).
     Statt nur right:0 + margin-right wird auch left gesetzt, damit das Panel
     symmetrisch klemmt und nicht bis zum linken Rand snappt. */
  #help {
    left: max(10px, env(safe-area-inset-left, 0px)) !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
  #help .inner { width: 100% !important; }

  #content .tblCnt, #content .tblGrid, #content .tbl-tech {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
    width: max-content;
    min-width: 100%;
    scrollbar-width: thin;
    box-sizing: border-box !important;
  }

  h1 { font-size: clamp(22px, 5vw, 30px); line-height: 1.2; }
  h2 { font-size: clamp(18px, 4vw, 24px); line-height: 1.25; }
  h3 { font-size: clamp(15px, 3.5vw, 18px); line-height: 1.3; }

  /* Footer (v2) */

  #footer .footing2 .footcol,
  #footer .footing2 .foots > .floatright {
    width: 100% !important;
    padding-right: 0;
  }

  #footer .footing2 .foots {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    text-align: left;
    justify-content: flex-start;
  }

  #footer .footing2 .foots > a {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    font-size: 13px;
    line-height: 2.2;
  }

  #footer .foot {
    padding-left: var(--sm-page-padding) !important;
    padding-right: var(--sm-page-padding) !important;
  }

  body:has(.layout-v2) #footer .cntNotice .floatleft,
  body:has(.layout-v2) #footer .cntNotice .floatright {
    float: none !important;
    display: block !important;
    text-align: center;
    width: 100% !important;
    margin-bottom: 4px;
  }

  /* === Responsive-Overrides: Bild, FAQ, Technische Daten === */

  /* Bild-Box: aus padBoth ausbrechen (#content fuer ID-Spezifitaet) */
  #content .padBoth > .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) {
    margin-left: calc(-1 * var(--padBoth-x)) !important;
    margin-right: calc(-1 * var(--padBoth-x)) !important;
    width: calc(100% + 2 * var(--padBoth-x)) !important;
    max-width: none !important;
    flex: 0 0 calc(100% + 2 * var(--padBoth-x)) !important;
    box-sizing: border-box !important;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) > div {
    padding: 0 !important;
    overflow: hidden;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) p {
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .cols.boxMaterial.cols100:not(:has(h3)):not(:has(table)) hr {
    margin: 0 !important;
  }

  /* FAQ-Box: Parent aus padBoth ausbrechen, #faq fuellt volle Breite */
  #content .padBoth > .cols.boxMaterial.cols100:has(#faq) {
    margin-left: calc(-1 * var(--padBoth-x)) !important;
    margin-right: calc(-1 * var(--padBoth-x)) !important;
    width: calc(100% + 2 * var(--padBoth-x)) !important;
    max-width: none !important;
    flex: 0 0 calc(100% + 2 * var(--padBoth-x)) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #content .cols.boxMaterial.cols100:has(#faq) > div {
    padding: 0 !important;
  }

  #content .cols.boxMaterial.cols100:has(#faq) > div > hr {
    display: none !important;
  }

  #content #faq {
    margin: 0 !important;
    padding: 30px var(--padBoth-x) 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* FAQ-Icon: nicht auf 100% aufblasen */
  #content #faq > img {
    width: auto !important;
    max-width: 48px !important;
    float: left !important;
    margin: 0 15px 10px 0 !important;
  }

  /* Registerkarten (.tabList) 680px: kompaktere Tabs */
  .tabList li a {
    padding: 8px 12px !important;
    font-size: 13px;
  }

  /* Container fuer Registerkarten + Tabellen: scrollbarer Container */
  #content .cols.boxMaterial.cols100:has(.tabList) {
    max-width: 100% !important;
    overflow: visible !important;
  }

  #content .cols.boxMaterial.cols100:has(.tabList) > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  /* Technische-Daten-Box: Overflow */
  #content .cols.boxMaterial.cols100 {
    max-width: 100% !important;
    overflow: visible;
  }

  #content .cols.boxMaterial.cols100:has(.tblCnt) {
    overflow-x: auto !important;
  }

  #content .tblGrid,
  #content .tbl-tech,
  #content .tblCnt {
    overflow-x: auto !important;
    max-width: 100% !important;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box !important;
  }

}

/* --- max-width: 600px --- */

@media screen and (max-width: 600px) {


  /* cols33_2: einspaltig */
  #content .col100_2 .cols.boxMaterial.cols33_2,
  #content .col100_2 .cols.boxMaterial.cols33_2.lastitem {
    width: 100% !important;
  }

  body:has(.layout-v2) #footer .cntNotice .floatleft,
  body:has(.layout-v2) #footer .cntNotice .floatright {
    float: none !important;
    display: block;
    text-align: center;
    margin-bottom: 4px;
  }
}


/* --- max-width: 480px --- stdformate ausblenden, Bohrungen untereinander */

@media screen and (max-width: 480px) {
  #stdformate { display: none !important; }

  .calcmodule label.txtLblInfo.txtItsSmall {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
  .calcmodule input.sized {
    width: calc(50% - 107px) !important;
    box-sizing: border-box !important;
  }
}

/* --- max-width: 480px --- */

@media screen and (max-width: 480px) {

  .layout-v2 .col100_2 .col50_2,
  .layout-v2 .col100_2 .col75_2,
  .layout-v2 .col100_2 .cols.col25_2,
  .layout-v2 .col100_2 .cols.col75_2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .layout-v2 .col100_2 {
    column-gap: 0 !important;
  }

  #logo img {
    width: 81px;
    height: 64px;
    object-fit: cover;
    object-position: right;
  }

  .layout-v2 .cntAngebote,
  #content .layout-v2 .cntAngebote {
    width: 100% !important;
  }

  /* Kasse: Zahlungsarten untereinander stapeln (Rechnung/Vorkasse-Block + PayPal-iframe) */
  #payments > div[style*="float"] {
    float: none !important;
    width: 100% !important;
    margin-bottom: 12px;
  }

  #payments #ppplus,
  #payments #ppplus iframe {
    width: 100% !important;
  }
}

/* --- max-width: 360px --- */

@media screen and (max-width: 360px) {

  #cartmini_details {
    width: 280px !important;
  }

  #cartmini_details .wrapping_details {
    font-size: 12px;
  }

  #cartmini_details .tblMain td {
    padding: 6px !important;
    white-space: normal !important;
    word-break: break-word;
  }

  #cartmini_details .btnAction {
    font-size: 12px !important;
    padding: 4px 8px !important;
    white-space: nowrap;
  }

  #cartmini_details .arrowlink {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 450px) {
  .cart-footer-labels ul.loptions,
  .cart-footer-labels ul.loptiddons {
    width: 100%;
  }
}
