/*
  K&S Hagedorn - Fachkatalog
  Tokens aus der gespeicherten Designrichtung "kshagedorn-fachkatalog".
  Marineblau und Sandton stammen aus Logo und Bestandsshop, nicht aus einer Vorlage.
*/

:root{
  --navy:#0C3182;
  --navy-700:#0A2866;
  --navy-900:#061B45;
  --sand:#D8CCB6;
  --sand-100:#E9E2D5;
  --sand-50:#F4F0E9;
  --brass:#7E5F2B;
  --brass-line:#9C7A3C;
  --ink:#1B1D22;
  --ink-60:#565A63;
  --muted:#6E7178;
  --line:#DCD5C7;
  --line-soft:#EAE4D9;
  --white:#fff;

  --f-display:'Source Serif 4',Georgia,'Times New Roman',serif;
  --f-sans:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;

  --wrap:1240px;
  --gut:20px;
  --sp-sm:8px;
  --sp-md:16px;
  --sp-lg:32px;
  --sp-xl:56px;
  --r:4px;
  --r-pill:999px;
  --shadow:0 1px 2px rgba(6,27,69,.06),0 8px 24px rgba(6,27,69,.06);
  --shadow-lift:0 2px 4px rgba(6,27,69,.08),0 16px 40px rgba(6,27,69,.12);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--f-sans);font-size:16px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
  min-height:100svh;display:flex;flex-direction:column
}
body > *{flex:0 0 auto}
.site-footer{margin-top:auto}

img,svg,video{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}

/*
  Ueberschriften ueber :where() zuruecksetzen. Ein normaler Sammelselektor
  haette hoehere Spezifitaet als eine Klassenregel und wuerde spaeter jede
  Komponente still ueberstimmen.
*/
:where(h1,h2,h3,h4,h5,h6){
  font-family:var(--f-display);font-weight:600;line-height:1.15;
  margin:0;letter-spacing:-.01em;color:var(--navy-900)
}
:where(p,figure,blockquote,dl,dd){margin:0}
:where(ul,ol){margin:0;padding:0;list-style:none}

::selection{background:var(--sand);color:var(--navy-900)}
:focus-visible{outline:3px solid var(--brass-line);outline-offset:3px;border-radius:2px}
[id]{scroll-margin-top:100px}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.skip{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;padding:12px 18px;z-index:200}
.skip:focus{left:8px;top:8px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.eyebrow{
  font-family:var(--f-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brass);margin:0 0 12px
}

.section{padding-block:var(--sp-xl)}
.section--sand{background:var(--sand-50)}
.section__head{margin-bottom:26px}
.section__head h2{font-size:clamp(25px,4.6vw,36px)}
.section__head p{margin-top:10px;color:var(--ink-60);max-width:60ch}

.prose{max-width:70ch}
.prose h2{font-size:clamp(24px,4.4vw,32px)}
.prose h3{font-size:19px;margin-top:26px}
.prose p{margin-top:12px;color:var(--ink-60);line-height:1.75;font-size:15.5px}
.prose a{color:var(--navy);border-bottom:1px solid var(--line)}
.prose a:hover{border-bottom-color:var(--navy)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 24px;border-radius:var(--r);font-weight:500;font-size:15.5px;
  background:var(--navy);color:#fff;border:1.5px solid var(--navy);text-align:center
}
.btn:hover{background:var(--navy-900);border-color:var(--navy-900)}
.btn svg{width:17px;height:17px}
.btn--ghost{background:transparent;color:var(--navy-900);border-color:var(--navy-900)}
.btn--ghost:hover{background:var(--navy-900);color:#fff}
.btn--sm{padding:10px 16px;font-size:14px}

.reveal{opacity:1}
.js .reveal{opacity:0;transform:translateY(14px)}
.js .reveal.is-in{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
}

@media (min-width:768px){
  :root{--gut:32px}
  .section{padding-block:76px}
}

/* ---------- Kopfbereich ---------- */
.topbar{background:var(--navy-900);color:#C8D2E8;font-size:13px}
.topbar__in{display:flex;align-items:center;justify-content:center;gap:18px;min-height:38px}
.topbar__note{font-family:var(--f-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.topbar__tel{display:none;align-items:center;gap:7px;color:#fff;font-weight:500}
.topbar__tel:hover{color:var(--sand)}
.topbar__nav{display:none}
.topbar__list{display:flex;align-items:center;gap:18px;margin:0;padding:0;list-style:none}
.topbar__list a{color:#C8D2E8;font-size:12.5px}
.topbar__list a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

.site-header{position:sticky;top:0;z-index:100;background:var(--white);border-bottom:1px solid var(--line-soft)}
.header__bar{display:flex;align-items:center;gap:14px;min-height:70px}
.brand{display:flex;align-items:center;margin-right:auto;padding:8px 0;min-width:0}
.brand__logo{display:block;height:40px;width:auto;max-width:none;object-fit:contain}
.brand__name{font-family:var(--f-display);font-size:20px;font-weight:600;color:var(--navy-900)}

.header__actions{display:flex;align-items:center;gap:2px}
.iconbtn{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;background:none;border:0;border-radius:var(--r);color:var(--navy-900)}
.iconbtn:hover{background:var(--sand-50)}
.iconbtn svg{width:22px;height:22px}
.iconbtn__badge{position:absolute;top:6px;right:4px;background:var(--brass-line);color:#fff;
  font-family:var(--f-mono);font-size:10px;min-width:17px;height:17px;border-radius:9px;
  display:grid;place-items:center;padding:0 4px}

.ksh-search{position:relative;display:flex;width:100%}
.ksh-search input{width:100%;font:inherit;font-size:16px;padding:13px 52px 13px 16px;
  border:1.5px solid var(--line);border-radius:var(--r);background:var(--sand-50);color:var(--ink)}
.ksh-search input::placeholder{color:var(--ink-60)}
.ksh-search input:focus{outline:none;border-color:var(--navy);background:#fff}
.search__go{position:absolute;right:4px;top:4px;bottom:4px;width:44px;border:0;border-radius:3px;
  background:var(--navy);color:#fff;display:grid;place-items:center}
.search__go:hover{background:var(--navy-700)}
.search__go svg{width:20px;height:20px}
.header__search{padding-bottom:14px}

.nav{display:none}
.nav-desktop{display:none;border-top:1px solid var(--line-soft)}
.nav__list{display:flex;align-items:center;gap:28px}

/* ---------- Hauptnavigation ---------- */
.nav-desktop .nav__list{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.nav-desktop .nav__list > li{margin:0;padding:0;list-style:none;position:relative}
.nav-desktop .nav__list > li > a,
.nav-desktop .nav__link{display:block;padding:14px 0;font-family:var(--f-sans);
  font-size:15px;font-weight:500;color:var(--navy-900);line-height:1.4;
  border-bottom:2px solid transparent;transition:border-color .15s ease,color .15s ease}
.nav-desktop .nav__list > li > a:hover,
.nav-desktop .nav__link:hover{color:var(--navy);border-bottom-color:var(--brass-line)}
.nav-desktop .nav__list > li.current-menu-item > a,
.nav-desktop .nav__list > li.current_page_item > a,
.nav-desktop .nav__list > li.current-menu-parent > a,
.nav-desktop .nav__list > li.current-menu-ancestor > a{color:var(--navy);border-bottom-color:var(--navy)}

/* Klappmenue */
.nav-desktop .nav__list > li.menu-item-has-children > a{padding-right:18px}
.nav-desktop .nav__list > li.menu-item-has-children > a::after{
  content:'';position:absolute;right:2px;top:50%;width:6px;height:6px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:translateY(-70%) rotate(45deg);opacity:.7}
.nav-desktop .sub-menu{
  position:absolute;top:100%;left:-16px;z-index:110;min-width:230px;
  margin:0;padding:8px 0;list-style:none;
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow-lift);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s}
.nav-desktop .nav__list > li:hover > .sub-menu,
.nav-desktop .nav__list > li:focus-within > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-desktop .sub-menu li{margin:0}
.nav-desktop .sub-menu a{display:block;padding:10px 18px;font-size:14.5px;font-weight:400;
  color:var(--ink);border:0;white-space:nowrap}
.nav-desktop .sub-menu a:hover{background:var(--sand-50);color:var(--navy)}
.nav-desktop .sub-menu li.current-menu-item > a{color:var(--navy);font-weight:500}
.nav-desktop .sub-menu li:last-child a{border-top:1px solid var(--line-soft);margin-top:6px;
  padding-top:12px;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}
.nav-desktop .sub-menu li:last-child a:hover{color:var(--navy)}

/* Mobiles Menue */
.ksh-panel{position:fixed;inset:0;z-index:150;background:var(--white);transform:translateX(100%);
  transition:transform .28s ease;overflow-y:auto;visibility:hidden}
.ksh-panel[data-open=true]{transform:translateX(0);visibility:visible}
.ksh-panel__head{display:flex;align-items:center;justify-content:space-between;min-height:70px;
  border-bottom:1px solid var(--line-soft);padding-inline:var(--gut)}
.ksh-panel__title{font-family:var(--f-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-60)}
.ksh-panel__list{padding:8px var(--gut) 32px}
.ksh-panel__foot{padding:0 var(--gut) 40px}

.panelnav{margin:0;padding:0;list-style:none}
.panelnav li{margin:0}
.panelnav > li > a{display:block;padding:16px 0;border-bottom:1px solid var(--line-soft);
  font-size:17px;font-weight:500;color:var(--navy-900)}
.panelnav .sub-menu{margin:0 0 6px;padding:0 0 6px 16px;list-style:none;
  border-bottom:1px solid var(--line-soft)}
.panelnav .sub-menu a{display:block;padding:11px 0;font-size:15px;color:var(--ink-60)}
.panelnav .sub-menu a:hover{color:var(--navy)}
.panelnav > li > a:hover{color:var(--navy)}
.panelnav--service{margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}
.panelnav--service > li > a{font-size:15px;font-weight:400;color:var(--ink-60);padding:12px 0;border:0}
.ksh-panel__konto{display:block;margin-top:14px;padding:14px 0;font-size:15px;font-weight:500;
  color:var(--navy);border-top:1px solid var(--line)}

/* ---------- Vorschlagsliste der Suche ---------- */
.ac{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:120;background:var(--white);
  border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lift);
  max-height:min(68vh,440px);overflow-y:auto;padding:6px 0;text-align:left}
.ac[hidden]{display:none}
.ac__group{padding:12px 14px 6px;font-family:var(--f-mono);font-size:10px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted)}
.ac__item{display:flex;align-items:center;gap:12px;padding:9px 14px}
.ac__item[aria-selected=true],.ac__item:hover{background:var(--sand-50)}
.ac__ico{width:36px;height:36px;flex:none;display:grid;place-items:center;background:var(--sand-100);border-radius:3px}
.ac__ico svg{width:21px;height:21px;color:var(--navy)}
.ac__ico img{width:100%;height:100%;object-fit:contain}
.ac__txt{min-width:0;flex:1}
.ac__name{display:block;font-size:14.5px;color:var(--navy-900);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac__meta{display:block;font-family:var(--f-mono);font-size:11px;color:var(--muted);margin-top:1px}
.ac mark{background:var(--sand);color:inherit;border-radius:2px;padding:0 1px;font-weight:600}
.ac__foot{display:block;padding:12px 14px;margin-top:6px;border-top:1px solid var(--line-soft);
  font-size:14px;font-weight:500;color:var(--navy)}
.ac__foot:hover{background:var(--sand-50)}
.ac__state{padding:16px 14px;font-size:14px;color:var(--ink-60)}
.ac__spin{display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;
  border:2px solid var(--line);border-top-color:var(--navy);border-radius:50%;
  animation:acspin .7s linear infinite}
@keyframes acspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ac__spin{animation:none}}

/* ---------- Fussbereich ---------- */
.site-footer{background:var(--navy-900);color:#B9C4DC;padding-block:48px 0;font-size:14.5px}
.footer__grid{display:grid;gap:32px}
.footer__name{font-family:var(--f-display);font-size:20px;color:#fff;margin-bottom:12px}
.footer__brand p{max-width:38ch;line-height:1.65}
.site-footer h4{font-family:var(--f-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sand);font-weight:500;margin-bottom:14px}
.footer__list li+li{margin-top:9px}
.footer__list a:hover,.footer__legal a:hover{color:#fff;text-decoration:underline}
.footer__contact li{display:flex;gap:10px;align-items:flex-start;line-height:1.55}
.footer__contact li+li{margin-top:11px}
.footer__contact svg{width:17px;height:17px;color:var(--sand);flex:none;margin-top:3px}
.footer__contact address{font-style:normal;line-height:1.55}
.footer__bottom{margin-top:40px;border-top:1px solid rgba(255,255,255,.14);padding-block:20px 26px;
  display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;font-size:13px}
.footer__legal ul{display:flex;flex-wrap:wrap;gap:10px 20px}
.footer__copy{color:#9AA8C6;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.04em}

@media (min-width:768px){
  .topbar__tel{display:inline-flex}
  .topbar__nav{display:block}
  .topbar__in{justify-content:space-between;gap:24px}
  .topbar__note{margin-right:auto}
  .brand__logo{height:50px}
  .footer__grid{grid-template-columns:1.5fr 1fr 1fr 1.3fr}
}
@media (min-width:1000px){
  .header__bar{min-height:88px;gap:32px}
  .header__search{display:none}
  .nav-desktop{display:block}
  .nav{display:block;flex:1;max-width:440px}
  .menu-toggle{display:none}
  .brand__logo{height:56px}
}

/* ============================================================
   STARTSEITE
   ============================================================ */
.hero{position:relative;background:var(--navy);color:#fff}
.hero__in{padding-block:44px 0}
.hero h1{font-size:clamp(30px,7.6vw,58px);color:#fff;letter-spacing:-.02em;max-width:16ch;line-height:1.08}
.hero h1 em{font-style:normal;color:var(--sand)}
.hero__lead{margin-top:18px;font-size:17px;line-height:1.65;color:#CBD5EC;max-width:52ch}
.hero__search{margin-top:26px;max-width:560px}
.hero__search .ksh-search input{background:#fff;border-color:transparent}
.hero__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.chip{display:inline-flex;align-items:center;padding:8px 15px;border-radius:var(--r-pill);
  border:1px solid rgba(216,204,182,.4);color:var(--sand);
  font-family:var(--f-mono);font-size:12px;letter-spacing:.04em}
.chip:hover{background:var(--sand);color:var(--navy-900);border-color:var(--sand)}

/* Herstellerlogos im Hero */
.plates{display:grid;grid-template-columns:repeat(3,1fr);margin-top:38px;
  border-top:1px solid rgba(255,255,255,.16)}
.plate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  padding:24px 10px;text-align:center;border-right:1px solid rgba(255,255,255,.16);
  transition:background .2s ease}
.plate:last-child{border-right:0}
.plate:hover{background:rgba(255,255,255,.06)}
.plate__art{width:44px;height:56px;color:var(--sand)}
.plate__logo{width:auto;height:auto;max-width:180px;max-height:38px;object-fit:contain}
.plate__name{display:block;font-family:var(--f-mono);font-size:11px;letter-spacing:.1em;
  text-transform:uppercase;color:#fff}
.plate__kind{display:block;font-size:11px;color:#9FB0D4;margin-top:2px}

/* Kategoriekacheln */
.cats{display:grid;grid-template-columns:1fr;gap:12px}
.cat{position:relative;display:flex;align-items:flex-end;overflow:hidden;aspect-ratio:16/10;
  background:var(--sand-100);border:1px solid var(--line);border-radius:var(--r);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.cat:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--navy)}
.cat__art{position:absolute;inset:0;width:100%;height:100%;color:var(--navy);opacity:.3;
  transition:transform .6s ease}
img.cat__art{object-fit:cover;opacity:1}
.cat:hover .cat__art{transform:scale(1.05)}
.cat::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,
  rgba(6,27,69,.9) 0%,rgba(6,27,69,.62) 34%,rgba(6,27,69,.14) 66%,rgba(6,27,69,.02) 100%)}
.cat__label{position:relative;z-index:1;width:100%;padding:20px}
.cat__name{display:block;font-family:var(--f-display);font-size:23px;font-weight:600;color:#fff;line-height:1.2}
.cat__meta{display:block;margin-top:5px;font-family:var(--f-mono);font-size:11px;
  letter-spacing:.09em;text-transform:uppercase;color:var(--sand)}

/* Herstellerkarten */
.brands{display:grid;gap:14px}
.brandcard{display:flex;flex-direction:column;background:var(--white);overflow:hidden;
  border:1px solid var(--line);border-radius:var(--r);border-top:3px solid var(--brass-line);
  transition:box-shadow .2s ease,transform .2s ease}
.brandcard:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift)}
.brandcard__logo{display:grid;place-items:center;min-height:118px;padding:22px 24px;
  background:var(--white);border-bottom:1px solid var(--line-soft)}
.brandcard__logo img{width:auto;height:auto;max-width:100%;max-height:var(--logo-h,54px);object-fit:contain}
.brandcard__ersatz{font-family:var(--f-display);font-size:20px;color:var(--navy-900)}
.brandcard__body{display:flex;flex-direction:column;flex:1;padding:20px 22px 24px}
.brandcard h3{font-size:20px}
.brandcard p{margin-top:7px;font-size:15px;color:var(--ink-60);line-height:1.6}
.brandcard__cta{display:inline-block;margin-top:auto;padding-top:14px;font-size:14px;
  font-weight:500;color:var(--navy);align-self:flex-start;border-bottom:1px solid var(--line)}
.brandcard:hover .brandcard__cta{border-bottom-color:var(--navy)}

@media (min-width:560px){
  .cats{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:768px){
  .brands{grid-template-columns:repeat(3,1fr)}
  .brandcard__logo{min-height:132px}
}
@media (min-width:1000px){
  .hero__in{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;padding-block:88px 0}
  .hero__copy{padding-bottom:88px}
  .plates{margin:0;border-top:0;border-left:1px solid rgba(255,255,255,.16);
    grid-template-columns:1fr;align-self:stretch;align-content:center}
  .plate{border-right:0;border-bottom:1px solid rgba(255,255,255,.16);flex-direction:row;
    align-items:center;justify-content:flex-start;gap:24px;text-align:left;padding:26px 0 26px 34px}
  .plate:last-child{border-bottom:0}
  .plate__art{width:52px;height:66px;flex:none}
  .plate__logo{max-height:46px;max-width:210px}
  .cats{grid-template-columns:repeat(3,1fr);gap:16px}
  .cat{aspect-ratio:4/3}
  .cat__label{padding:24px}
  .cat__name{font-size:26px}
}
/* ============================================================
   PRODUKTKACHELN

   Kein Link um die ganze Kachel: die Preisausgabe von B2B Market enthaelt
   selbst einen Link, und ein Link im Link ist ungueltig. Stattdessen zieht
   der Titel-Link seine Klickflaeche per ::after ueber die Kachel.
   ============================================================ */
ul.products,.plist{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0;padding:0;list-style:none}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{width:auto;float:none;margin:0;clear:none}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none}

.product.ksh-card{position:relative;display:flex;flex-direction:column;height:100%;
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  transition:box-shadow .2s ease,transform .2s ease;margin:0;padding:0;list-style:none}
.product.ksh-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}

.product__media{position:relative;display:grid;place-items:center;aspect-ratio:4/3;
  background:var(--sand-100);border-bottom:1px solid var(--line)}
.product__media img{width:100%;height:100%;object-fit:cover}
.product__media svg{width:54%;height:66%;color:var(--navy);opacity:.55}
.product__flag{position:absolute;top:10px;left:10px;background:var(--navy);color:#fff;
  font-family:var(--f-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 8px;border-radius:2px;z-index:1}
.product__body{padding:14px 14px 16px;display:flex;flex-direction:column;gap:5px;flex:1}
.product__brand{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted)}
.product__name{font-family:var(--f-display);font-size:16.5px;font-weight:600;
  color:var(--navy-900);line-height:1.3;margin:0}
.product__sku{font-family:var(--f-mono);font-size:11px;color:var(--muted)}

.product__link{color:inherit}
.product__link::after{content:'';position:absolute;inset:0;z-index:1}
.product__link:hover{color:var(--navy)}
.product__price a,
.product__aktion,
.product__aktion a,
.product__aktion button{position:relative;z-index:2}

/* Preisblock: Ausgabe von WooCommerce, B2B Market und German Market.
   Bewusst mehrzeilig gedacht, weil dort Staffelpreise, Grundpreis,
   Steuerhinweis und Lieferzeit erscheinen koennen. */
.product__price{margin-top:auto;padding-top:10px;font-size:15px;font-weight:600;color:var(--navy-900)}
.product__price .amount{font-family:var(--f-display)}
.product__price del{opacity:.5;font-weight:400;margin-right:6px}
.product__price ins{text-decoration:none}
.product__price a{color:var(--navy);text-decoration:underline}
.product__price small,
.product__price .woocommerce-de_price_taxrate,
.product__price .wgm-info,
.product__price .shipping_de_string{display:block;font-size:11.5px;font-weight:400;
  color:var(--ink-60);line-height:1.5;margin-top:3px}
.product__price table{width:100%;border-collapse:collapse;margin-top:6px;font-weight:400}
.product__price table td{padding:3px 0;font-size:12.5px;border-bottom:1px solid var(--line-soft)}
.product__aktion{margin-top:12px}
.product__aktion .button{display:inline-flex;align-items:center;justify-content:center;width:100%;
  padding:11px 14px;font-size:14px;font-weight:500;border-radius:var(--r);
  background:var(--navy);color:#fff;border:0;text-decoration:none}
.product__aktion .button:hover{background:var(--navy-900)}
.product__aktion:empty{display:none}

/* Anmeldehinweis von B2B Market */
.bm-hidden-product{display:block;background:var(--navy);color:#fff;
  border-radius:var(--r);padding:14px 16px;margin:0;
  font-family:var(--f-sans);font-size:14px;font-weight:400;line-height:1.5}
.bm-hidden-product a,
.ksh-pdp .bm-hidden-product a,
.product__price .bm-hidden-product a{color:#fff;font-weight:600;text-decoration:underline;
  text-decoration-color:#fff;text-underline-offset:3px;text-decoration-thickness:1px;border:0;background:none}
.bm-hidden-product a:hover,
.product__price .bm-hidden-product a:hover{color:var(--sand);text-decoration-color:var(--sand)}
.bm-hinweis__zweit{display:block;margin-top:6px;font-size:13px;color:#C8D2E8}
.product__price .bm-hidden-product{padding:11px 13px;font-size:13px}
.product__price .bm-hinweis__zweit{font-size:12px;margin-top:5px}
.ksh-pdp .bm-hidden-product{margin-top:18px;padding:16px 18px;font-size:15px;max-width:46ch;color:#fff}

/* Platzhalter statt Produktbild */
.ksh-platzhalter{width:96px;height:96px;color:var(--navy);opacity:.3;margin:0 auto;display:block}
ul.products img[src*='platzhalter.svg'],
.plist img[src*='platzhalter.svg']{width:90px;max-width:90px;height:auto;margin:0 auto;object-fit:contain}

@media (min-width:560px){
  ul.products,.plist{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1000px){
  ul.products,.plist{grid-template-columns:repeat(4,1fr);gap:16px}
}
/* ============================================================
   PRODUKTUEBERSICHT
   Kategorien links, Filter waagerecht oben.
   ============================================================ */
.crumbs{padding-block:14px;border-bottom:1px solid var(--line-soft)}
.crumbs ol,.crumbs nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--ink-60)}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li:not(:last-child)::after{content:'/';color:var(--muted)}
.crumbs a:hover{color:var(--navy);text-decoration:underline}

.ksh-archive-head{background:var(--sand-50);border-bottom:1px solid var(--line);padding-block:34px}
.ksh-archive-head h1{font-size:clamp(28px,6.4vw,44px)}
.ksh-archive-head__intro{margin-top:14px;max-width:68ch;color:var(--ink-60);line-height:1.7;font-size:15.5px}
.ksh-archive-head__intro p+p{margin-top:10px}
.ksh-archive-head__kinder{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.linkbtn{margin-top:10px;background:none;border:0;padding:0;font-size:14px;font-weight:500;
  color:var(--navy);border-bottom:1px solid var(--brass-line)}

.toolbar{position:sticky;top:0;z-index:60;background:var(--white);border-bottom:1px solid var(--line-soft)}
.toolbar__in{display:flex;align-items:center;gap:10px;padding-block:12px;flex-wrap:wrap}
.woocommerce-result-count{margin:0 auto 0 0;font-family:var(--f-mono);font-size:11.5px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink-60)}
.woocommerce-ordering select,.toolbar select{font:inherit;font-size:14px;padding:10px 34px 10px 12px;
  color:var(--ink);background:var(--white);border:1.5px solid var(--line);border-radius:var(--r);appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--navy) 50%),linear-gradient(135deg,var(--navy) 50%,transparent 50%);
  background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat}
.woocommerce-ordering select:focus,.toolbar select:focus{outline:none;border-color:var(--navy)}

.ksh-archive{display:grid;gap:26px;padding-block:24px 56px}
.sidebar--desktop{display:none}
.sidebar--desktop h2{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-weight:500}

/* Kategoriebaum */
.katnav{margin:0;padding:0;list-style:none}
.katnav__eintrag{margin:0}
.katnav__link{display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:11px 0;border-bottom:1px solid var(--line-soft);font-size:15px;color:var(--ink)}
.katnav__link em{font-style:normal;font-family:var(--f-mono);font-size:11.5px;color:var(--muted);flex:none}
.katnav__link:hover{color:var(--navy)}
.katnav__link.is-hier{color:var(--navy);font-weight:600}
.katnav__eintrag.is-aktiv > .katnav__link{color:var(--navy);font-weight:600}
.katnav--t1{margin:0 0 8px;padding:2px 0 2px 14px;border-left:2px solid var(--sand);list-style:none}
.katnav--t1 .katnav__link{padding:8px 0;font-size:14px;color:var(--ink-60);border-bottom:0}
.katnav--t1 .katnav__link:hover{color:var(--navy)}
.katnav--t1 .katnav__link.is-hier{color:var(--navy);font-weight:600}
.katnav--t2{padding-left:12px;border-left:1px solid var(--line)}

/* Waagerechte Filterleiste */
.filterbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px;
  padding-bottom:16px;border-bottom:1px solid var(--line-soft)}
.filterbar__label{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-right:4px}
.fb{position:relative}
.fb__knopf{display:inline-flex;align-items:center;gap:8px;padding:9px 32px 9px 14px;
  background:var(--white);border:1.5px solid var(--line);border-radius:var(--r);
  font-size:14px;color:var(--ink);position:relative}
.fb__knopf::after{content:'';position:absolute;right:13px;top:50%;width:6px;height:6px;
  border-right:1.5px solid var(--navy);border-bottom:1.5px solid var(--navy);
  transform:translateY(-70%) rotate(45deg)}
.fb__knopf:hover{border-color:var(--navy)}
.fb__knopf.is-aktiv{border-color:var(--navy);background:var(--sand-50);font-weight:500}
.fb__knopf em{font-style:normal;background:var(--navy);color:#fff;border-radius:999px;
  min-width:18px;height:18px;display:grid;place-items:center;font-size:11px;
  font-family:var(--f-mono);padding:0 5px}
.fb__knopf[aria-expanded='true']{border-color:var(--navy)}
.fb__knopf[aria-expanded='true']::after{transform:translateY(-30%) rotate(225deg)}
.fb__liste{position:absolute;top:calc(100% + 6px);left:0;z-index:70;min-width:230px;
  max-height:340px;overflow-y:auto;padding:8px 14px;background:var(--white);
  border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lift)}
.fb__liste[hidden]{display:none}

.filters__inner{display:flex;flex-direction:column}
.facet{border:0;border-top:1px solid var(--line-soft);margin:0;padding:16px 0 4px}
.facet:first-child{border-top:0}
.facet legend{padding:0;font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--navy-900);margin-bottom:10px}
.facet__leer{font-size:14px;color:var(--ink-60);line-height:1.6}
.opt{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:15px;color:var(--ink)}
.opt__box{width:19px;height:19px;flex:none;border:1.5px solid var(--muted);border-radius:3px;
  background:var(--white);display:grid;place-items:center;position:relative}
.opt__box.is-an{background:var(--navy);border-color:var(--navy)}
.opt__box.is-an::after{content:'';width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) translate(1px,-2px)}
.opt span:not(.opt__box){flex:1}
.opt em{font-style:normal;font-family:var(--f-mono);font-size:11.5px;color:var(--muted)}
.opt:hover{color:var(--navy)}

.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.fchip{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:var(--r-pill);
  background:var(--sand-100);border:1px solid var(--line);font-size:13.5px;color:var(--navy-900)}
.fchip svg{width:13px;height:13px}
.fchip em{font-style:normal;font-family:var(--f-mono);font-size:11px;color:var(--muted)}
.fchip:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.fchip:hover em{color:#C8D2E8}
.fchip--reset{background:none;border-style:dashed}

.leer{padding:40px 0;font-size:16px;color:var(--ink-60);max-width:52ch}

.woocommerce-pagination ul{display:flex;justify-content:center;gap:6px;margin-top:36px;flex-wrap:wrap;
  list-style:none;padding:0;border:0}
.woocommerce-pagination li{border:0;margin:0}
.woocommerce-pagination a,.woocommerce-pagination span{min-width:44px;height:44px;display:grid;
  place-items:center;padding:0 12px;border:1px solid var(--line);border-radius:var(--r);color:var(--navy-900)}
.woocommerce-pagination .current{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:600}

/* Filter-Schublade auf schmalen Bildschirmen */
.drawer{position:fixed;inset:0;z-index:150;background:var(--white);overflow-y:auto;
  transform:translateY(100%);transition:transform .3s ease;visibility:hidden}
.drawer[data-open=true]{transform:translateY(0);visibility:visible}
.drawer__head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;
  min-height:64px;padding-inline:var(--gut);background:var(--white);border-bottom:1px solid var(--line-soft)}
.drawer__title{font-family:var(--f-display);font-size:19px;font-weight:600;color:var(--navy-900)}
.drawer__body{padding:4px var(--gut) 24px}
.drawer__gruppe{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin:20px 0 8px;font-weight:500}
.drawer__gruppe:first-child{margin-top:8px}
.drawer__foot{position:sticky;bottom:0;display:flex;gap:10px;padding:14px var(--gut);
  background:var(--white);border-top:1px solid var(--line)}
.drawer__foot .btn{flex:1}

@media (min-width:1000px){
  .ksh-archive{grid-template-columns:238px 1fr;gap:40px;align-items:start}
  .sidebar--desktop{display:block;position:sticky;top:112px}
  .filter-toggle{display:none}
  .toolbar{top:88px}
}
/* ============================================================
   PRODUKTDETAILSEITE
   Gestaltet die Ausgabe von WooCommerce. Bewusst nur ueber CSS, damit
   B2B Market und German Market ihre Ausgaben weiter einhaengen koennen.
   ============================================================ */
.ksh-pdp{padding-block:26px 56px}
.ksh-pdp div.product{display:grid;gap:28px;align-items:start;row-gap:56px}

/* WooCommerce gibt Galerie und Zusammenfassung je 48 Prozent mit float.
   Im Raster halbiert sich das noch einmal, deshalb zuruecksetzen. */
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary{width:100%;float:none;margin:0;clear:none}
.woocommerce div.product .woocommerce-tabs{clear:both}

/* Galerie */
.ksh-pdp .woocommerce-product-gallery{position:relative;width:100%;margin:0}
.ksh-pdp .woocommerce-product-gallery__wrapper{margin:0;height:auto;width:100%}
.ksh-pdp .woocommerce-product-gallery__image{position:relative;display:grid;place-items:center;
  padding:24px;background:var(--sand-100);border:1px solid var(--line);
  border-radius:var(--r);overflow:visible}
.ksh-pdp .woocommerce-product-gallery__image a{display:grid;place-items:center;width:100%;height:auto;cursor:zoom-in}
.ksh-pdp .woocommerce-product-gallery__image img,
.ksh-pdp .woocommerce-product-gallery__image a img{max-width:100%;width:auto;height:auto;
  max-height:540px;object-fit:contain;margin:0 auto;display:block}
.ksh-pdp .flex-viewport{height:auto!important;max-height:none;width:100%;border-radius:var(--r)}

.ksh-pdp .woocommerce-product-gallery__image--placeholder{aspect-ratio:4/3;padding:24px;
  display:grid;place-items:center;background:var(--sand-100);
  border:1px solid var(--line);border-radius:var(--r)}
.ksh-pdp .woocommerce-product-gallery__image--placeholder img,
.ksh-pdp .woocommerce-product-gallery img[src*='platzhalter.svg']{max-width:150px;width:150px;
  height:auto;max-height:none;opacity:1;margin:0 auto}
.ksh-pdp .ksh-platzhalter{width:120px;height:120px}

/* Lupenknopf, von WooCommerce per JavaScript eingefuegt */
.ksh-pdp .woocommerce-product-gallery__trigger{position:absolute;top:16px;right:16px;z-index:4;
  width:42px;height:42px;display:grid;place-items:center;background:var(--white);
  border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);
  font-size:0;text-indent:0;color:transparent;cursor:zoom-in;overflow:hidden}
.ksh-pdp .woocommerce-product-gallery__trigger::after{content:'';width:15px;height:15px;
  border:2px solid var(--navy);border-radius:50%;
  box-shadow:9px 9px 0 -6px var(--navy);transform:translate(-2px,-2px)}
.ksh-pdp .woocommerce-product-gallery__trigger:hover{border-color:var(--navy)}

.ksh-pdp .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  margin:8px 0 0;padding:0;list-style:none;width:100%}
.ksh-pdp .flex-control-thumbs li{margin:0;width:auto;float:none}
.ksh-pdp .flex-control-thumbs img{width:100%;aspect-ratio:1;object-fit:cover;
  border:1.5px solid var(--line);border-radius:var(--r);cursor:pointer}
.ksh-pdp .flex-control-thumbs img.flex-active,
.ksh-pdp .flex-control-thumbs img:hover{border-color:var(--navy)}

/* Zusammenfassung */
.ksh-pdp .entry-summary{margin:0}
.ksh-pdp .product_title{font-size:clamp(25px,5.4vw,36px);margin:0 0 12px}
.ksh-pdp .woocommerce-product-details__short-description{color:var(--ink-60);line-height:1.7;
  font-size:15.5px;max-width:60ch}
.ksh-pdp .woocommerce-product-details__short-description p+p{margin-top:10px}

/* Preis: WooCommerce faerbt gruen, German Market haengt Hinweise an */
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--navy-900);font-family:var(--f-display);
  font-size:30px;font-weight:600;line-height:1.2;margin:0 0 4px}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{opacity:.5;font-weight:400;margin-right:8px}
.woocommerce div.product p.price ins{text-decoration:none}
.ksh-pdp .woocommerce-de_price_taxrate,
.ksh-pdp .wgm-info,
.ksh-pdp .shipping_de_string,
.ksh-pdp .deliverytime,
.ksh-pdp p.price small{display:block;font-family:var(--f-sans);font-size:13px;font-weight:400;
  color:var(--ink-60);line-height:1.5;margin:0}
.ksh-pdp .deliverytime{margin-top:4px}
.ksh-pdp .entry-summary table{width:100%;max-width:340px;border-collapse:collapse;margin-top:12px;
  font-family:var(--f-sans);font-size:14px;font-weight:400}
.ksh-pdp .entry-summary table th,
.ksh-pdp .entry-summary table td{text-align:left;padding:7px 0;border-bottom:1px solid var(--line-soft)}

/* Lagerstatus */
.ksh-pdp .stock{display:inline-flex;align-items:center;gap:8px;margin-top:14px;
  font-size:14px;font-weight:500;font-family:var(--f-sans)}
.ksh-pdp .stock::before{content:'';width:9px;height:9px;border-radius:50%;background:currentColor}
.ksh-pdp .in-stock{color:#1B6B3A}
.ksh-pdp .available-on-backorder,.ksh-pdp .out-of-stock{color:var(--brass)}

/* Variantenauswahl: Tabelle wird zu Bloecken */
.ksh-pdp table.variations{display:block;width:100%;border:0;margin:22px 0 0;
  padding-top:22px;border-top:1px solid var(--line-soft)}
.ksh-pdp table.variations tbody,
.ksh-pdp table.variations tr,
.ksh-pdp table.variations th,
.ksh-pdp table.variations td{display:block;width:100%;padding:0;border:0;text-align:left}
.ksh-pdp table.variations tr+tr{margin-top:18px}
.ksh-pdp table.variations .label label{display:block;font-family:var(--f-mono);font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--navy-900);margin-bottom:9px;font-weight:400}
.ksh-pdp table.variations select{width:100%;max-width:340px;font:inherit;font-size:16px;
  padding:13px 40px 13px 14px;color:var(--ink);background:var(--white);
  border:1.5px solid var(--line);border-radius:var(--r);appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--navy) 50%),linear-gradient(135deg,var(--navy) 50%,transparent 50%);
  background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.ksh-pdp table.variations select:focus{outline:none;border-color:var(--navy)}
.ksh-pdp .reset_variations{display:inline-block;margin-top:8px;font-size:13.5px;color:var(--navy);
  border-bottom:1px solid var(--line)}

/* Kaufblock */
.ksh-pdp .woocommerce-variation-price{margin-bottom:14px}
.ksh-pdp form.cart{margin:22px 0 0;padding:20px;background:var(--sand-50);
  border:1px solid var(--line);border-radius:var(--r);
  display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ksh-pdp form.variations_form{display:block;background:none;border:0;padding:0;margin-top:0}
.ksh-pdp .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  margin-top:18px;padding:20px;background:var(--sand-50);border:1px solid var(--line);border-radius:var(--r)}
.ksh-pdp .quantity{display:flex;align-items:center;border:1.5px solid var(--line);
  border-radius:var(--r);background:var(--white);overflow:hidden}
.ksh-pdp .quantity input.qty{width:78px;height:48px;border:0;text-align:center;font:inherit;
  font-size:16px;font-family:var(--f-mono);background:none;color:var(--ink)}
.ksh-pdp .quantity input.qty:focus{outline:none}
.woocommerce div.product form.cart .button{flex:1;min-width:200px;height:48px;
  display:inline-flex;align-items:center;justify-content:center;padding:0 24px;font-size:15.5px}

/* Metadaten */
.ksh-pdp .product_meta{margin-top:20px;padding-top:18px;border-top:1px solid var(--line-soft);
  font-family:var(--f-mono);font-size:12px;color:var(--muted);line-height:1.9}
.ksh-pdp .product_meta a{color:var(--navy)}
.ksh-pdp .product_meta > span{display:block}

/* Details statt Reiter */
.woocommerce div.product .woocommerce-tabs{display:none}
.ksh-details{grid-column:1/-1;margin-top:16px;padding-top:40px;border-top:1px solid var(--line)}
.ksh-details__block+.ksh-details__block{margin-top:40px}
.ksh-details h2{font-size:clamp(21px,3.6vw,26px);margin:0 0 14px}
.ksh-details__text{color:var(--ink-60);line-height:1.75;font-size:15.5px;max-width:74ch}
.ksh-details__text p+p{margin-top:12px}
.ksh-details .shop_attributes{width:100%;max-width:620px;border-collapse:collapse;margin:0}
.ksh-details .shop_attributes tr:nth-child(odd){background:var(--sand-50)}
.ksh-details .shop_attributes th,
.ksh-details .shop_attributes td{text-align:left;padding:11px 14px;
  border-bottom:1px solid var(--line-soft);font-size:15px;vertical-align:top}
.ksh-details .shop_attributes th{width:42%;font-weight:500;color:var(--navy-900)}
.ksh-details .shop_attributes td{color:var(--ink-60);font-family:var(--f-mono);font-size:14px}
.ksh-details .shop_attributes td p{margin:0}

/* Aehnliche Artikel */
.ksh-pdp .related,
.ksh-pdp .upsells,
.ksh-pdp .cross-sells{display:block;grid-column:1/-1;margin-top:20px;padding-top:40px;
  border-top:1px solid var(--line)}
.ksh-pdp .related > h2,
.ksh-pdp .upsells > h2{font-size:clamp(22px,4vw,30px);margin:0 0 22px}

@media (min-width:1000px){
  .ksh-pdp div.product{grid-template-columns:1fr 1fr;gap:52px}
  .ksh-pdp .flex-control-thumbs{grid-template-columns:repeat(5,1fr)}
}
/* ============================================================
   KNOEPFE UND HINWEISE VON WOOCOMMERCE
   WooCommerce faerbt Aktionsknoepfe violett. Die Selektoren dort sind
   spezifischer als eine einzelne Klasse, deshalb hier gleich lang.
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{
  background:var(--navy);color:#fff;border:1.5px solid var(--navy);border-radius:var(--r);
  font-family:var(--f-sans);font-weight:500;font-size:15px;padding:13px 22px;
  text-shadow:none;box-shadow:none;line-height:1.2}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover{background:var(--navy-900);border-color:var(--navy-900);color:#fff}
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled{background:var(--navy);border-color:var(--navy);color:#fff;opacity:.4}

.woocommerce-info,.woocommerce-message,.woocommerce-error,.cart-empty{
  display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:16px 18px;
  border:1px solid var(--line);border-left:3px solid var(--navy);border-radius:var(--r);
  background:var(--sand-50);color:var(--ink);font-size:15px;line-height:1.6;list-style:none}
.woocommerce-message{border-left-color:#1B6B3A}
.woocommerce-error{border-left-color:#9B2C2C;background:#FBF3F3}
.woocommerce-info::before,.woocommerce-message::before,.woocommerce-error::before{display:none}
.woocommerce-info .button,.woocommerce-message .button{margin-left:auto}

/* ============================================================
   WARENKORB UND KASSE
   ============================================================ */
.ksh-shopseite{padding-block:34px 64px}
.ksh-shopseite > h1{font-size:clamp(28px,5.4vw,40px);margin:0 0 26px}

.woocommerce table.shop_table{width:100%;border-collapse:collapse;border:0;border-radius:0;margin:0}
.woocommerce table.shop_table th{text-align:left;padding:0 14px 12px;border:0;
  border-bottom:1px solid var(--line);font-family:var(--f-mono);font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:500}
.woocommerce table.shop_table td{padding:18px 14px;border:0;border-bottom:1px solid var(--line-soft);
  vertical-align:middle}
.woocommerce table.cart .product-thumbnail img{width:76px;height:76px;object-fit:contain;
  background:var(--sand-100);border:1px solid var(--line);border-radius:var(--r);padding:6px}
.woocommerce table.cart .product-name a{font-family:var(--f-display);font-size:16.5px;
  font-weight:600;color:var(--navy-900);line-height:1.3}
.woocommerce table.cart .product-name a:hover{color:var(--navy)}
.woocommerce table.cart .product-name .variation{margin:6px 0 0;font-size:13px;color:var(--ink-60)}
.woocommerce table.cart .product-name .variation dt{font-weight:500;float:left;margin-right:6px;clear:left}
.woocommerce table.cart .product-name .variation dd{margin:0}
.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal{font-family:var(--f-display);font-weight:600;color:var(--navy-900)}
.ksh-cart-sku{display:block;margin-top:4px;font-family:var(--f-mono);font-size:11.5px;color:var(--muted)}

.woocommerce table.cart td.product-quantity .quantity{display:inline-flex;align-items:center;
  border:1.5px solid var(--line);border-radius:var(--r);background:var(--white);overflow:hidden}
.woocommerce table.cart td.product-quantity input.qty{width:68px;height:44px;border:0;text-align:center;
  font:inherit;font-family:var(--f-mono);font-size:15px;background:none}
.woocommerce table.cart td.product-quantity input.qty:focus{outline:none}

.woocommerce table.cart .product-remove a.remove{display:grid;place-items:center;width:30px;height:30px;
  border-radius:50%;color:var(--muted)!important;font-size:20px;line-height:1;
  background:none;text-decoration:none}
.woocommerce table.cart .product-remove a.remove:hover{background:#FBF3F3;color:#9B2C2C!important}

.woocommerce table.cart td.actions{padding:20px 0 0;border-bottom:0}
.woocommerce .coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.woocommerce .coupon input.input-text{font:inherit;font-size:15px;padding:12px 14px;
  border:1.5px solid var(--line);border-radius:var(--r);background:var(--white);min-width:200px}
.woocommerce .coupon input.input-text:focus{outline:none;border-color:var(--navy)}

.cart-collaterals{margin-top:36px}
.cart_totals{background:var(--sand-50);border:1px solid var(--line);border-radius:var(--r);padding:24px}
.cart_totals h2{font-size:20px;margin:0 0 16px}
.cart_totals table.shop_table th,.cart_totals table.shop_table td{padding:12px 0;
  border-bottom:1px solid var(--line);text-transform:none;letter-spacing:0;
  font-family:var(--f-sans);font-size:15px;color:var(--ink)}
.cart_totals table.shop_table th{color:var(--ink-60);font-weight:400;width:52%}
.cart_totals .order-total th,.cart_totals .order-total td{border-bottom:0;padding-top:16px;
  font-family:var(--f-display);font-size:20px;font-weight:600;color:var(--navy-900)}
.cart_totals .woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
.cart_totals .woocommerce-shipping-methods li{margin-bottom:6px;font-size:14.5px}
.cart_totals .woocommerce-shipping-destination{font-size:13px;color:var(--ink-60);margin-top:6px}
.cart_totals .wgm-info,.cart_totals .woocommerce-de_price_taxrate,
.cart_totals .shipping_de_string{display:block;font-size:12.5px;color:var(--ink-60);line-height:1.5}
.wc-proceed-to-checkout{margin-top:20px}
.wc-proceed-to-checkout .checkout-button{display:flex;align-items:center;justify-content:center;
  width:100%;height:52px;font-size:16px;font-weight:600}

@media (min-width:1000px){
  .cart-collaterals{display:flex;justify-content:flex-end}
  .cart_totals{width:min(440px,100%)}
}
/* ============================================================
   WARENKORB AUF SCHMALEN BILDSCHIRMEN
   WooCommerce setzt dort die Spaltennamen per ::before vor jede Zelle.
   Daraus wird hier eine Karte je Artikel.
   ============================================================ */
@media screen and (max-width:768px){
  .woocommerce table.shop_table_responsive,
  .woocommerce-page table.shop_table_responsive{border:0}
  .woocommerce table.shop_table_responsive thead,
  .woocommerce-page table.shop_table_responsive thead{display:none}
  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before{content:none!important;display:none!important}

  .woocommerce table.shop_table_responsive tr.cart_item,
  .woocommerce-page table.shop_table_responsive tr.cart_item{
    position:relative;display:grid;grid-template-columns:84px 1fr;gap:2px 14px;
    padding:18px 0;border-bottom:1px solid var(--line-soft);align-items:start}
  .woocommerce table.shop_table_responsive tr.cart_item td,
  .woocommerce-page table.shop_table_responsive tr.cart_item td{
    display:block;width:auto;padding:0;border:0;text-align:left}
  .woocommerce table.shop_table_responsive td.product-thumbnail,
  .woocommerce-page table.shop_table_responsive td.product-thumbnail{grid-row:1/5;display:block}
  .woocommerce table.shop_table_responsive td.product-thumbnail img{width:84px;height:84px;margin:0}
  .woocommerce table.shop_table_responsive td.product-name,
  .woocommerce-page table.shop_table_responsive td.product-name{padding-right:36px}
  .woocommerce table.shop_table_responsive td.product-name a{font-size:15.5px}
  .woocommerce table.shop_table_responsive td.product-price,
  .woocommerce-page table.shop_table_responsive td.product-price{display:none}
  .woocommerce table.shop_table_responsive td.product-quantity,
  .woocommerce-page table.shop_table_responsive td.product-quantity{margin-top:10px}
  .woocommerce table.shop_table_responsive td.product-quantity input.qty{width:60px;height:40px}
  .woocommerce table.shop_table_responsive td.product-subtotal,
  .woocommerce-page table.shop_table_responsive td.product-subtotal{
    margin-top:8px;font-family:var(--f-display);font-size:17px;font-weight:600;color:var(--navy-900)}
  .woocommerce table.shop_table_responsive td.product-subtotal small,
  .woocommerce table.shop_table_responsive td.product-subtotal .wgm-info,
  .woocommerce table.shop_table_responsive td.product-subtotal .woocommerce-de_price_taxrate{
    display:block;font-family:var(--f-sans);font-size:12px;font-weight:400;color:var(--ink-60);margin-top:2px}
  .woocommerce table.shop_table_responsive td.product-remove,
  .woocommerce-page table.shop_table_responsive td.product-remove{
    position:absolute;top:14px;right:0;width:auto;padding:0}
  .woocommerce table.shop_table_responsive tr:not(.cart_item),
  .woocommerce-page table.shop_table_responsive tr:not(.cart_item){display:block}
  .woocommerce table.shop_table_responsive td.actions,
  .woocommerce-page table.shop_table_responsive td.actions{display:block;padding:20px 0 0;text-align:left}
  .woocommerce .coupon{width:100%}
  .woocommerce .coupon input.input-text{flex:1;min-width:0}
  .woocommerce td.actions .button{width:100%;margin-top:10px}
  .woocommerce .wgm-info,
  .woocommerce .woocommerce-shipping-legal-hint,
  .woocommerce .legal_info_cart{display:block;text-align:left;font-size:13px;
    line-height:1.6;color:var(--ink-60);margin:16px 0 0}
  .cart_totals{padding:20px}
  .cart-collaterals{margin-top:28px}
}

/* ============================================================
   KASSE
   Oben Rechnungsdaten und Lieferadresse nebeneinander, darunter die
   Bestelluebersicht ueber die volle Breite.
   ============================================================ */
.woocommerce-checkout form.checkout{display:block}
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after{content:none;display:none}
.woocommerce-checkout h3#order_review_heading{margin-top:40px}

.woocommerce form .form-row{padding:0;margin:0 0 16px}
.woocommerce form .form-row label{display:block;margin-bottom:6px;font-size:14.5px;color:var(--ink)}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection{
  width:100%;font:inherit;font-size:16px;padding:12px 14px;color:var(--ink);
  background:var(--white);border:1.5px solid var(--line);border-radius:var(--r);height:auto}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{outline:none;border-color:var(--navy)}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last{width:calc(50% - 8px);float:left}
.woocommerce form .form-row-last{float:right}
.woocommerce form .form-row-wide{clear:both}
.woocommerce form .form-row::after{content:'';display:table;clear:both}
.woocommerce .required{color:var(--brass);border:0;text-decoration:none}

.woocommerce-checkout #ship-to-different-address{display:flex;align-items:center;gap:10px}
.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:10px;
  font-family:var(--f-display);font-size:22px;font-weight:600;color:var(--navy-900);cursor:pointer}
.woocommerce-checkout #ship-to-different-address input[type=checkbox]{
  width:19px;height:19px;accent-color:var(--navy);margin:0}

/* Bestelluebersicht */
#order_review,
.woocommerce-checkout #payment,
.woocommerce-page #payment{background:var(--sand-50);border:1px solid var(--line);border-radius:var(--r)}
.woocommerce-checkout #payment{border-radius:0 0 var(--r) var(--r);border-top:0}
.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse;
  background:var(--white);border-radius:var(--r) var(--r) 0 0;overflow:hidden}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{padding:16px 22px;border-bottom:1px solid var(--line-soft)}
.woocommerce-checkout-review-order-table thead th{
  font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);font-weight:500;text-align:left}
.woocommerce-checkout-review-order-table td{text-align:right}
.woocommerce-checkout-review-order-table td.product-name{text-align:left;line-height:1.4;padding-right:10px}
.woocommerce-checkout-review-order-table .product-quantity{display:inline-block;margin-top:4px;
  font-family:var(--f-mono);font-size:13px;color:var(--ink-60);font-weight:400}
.woocommerce-checkout-review-order-table td.product-total{white-space:nowrap;
  font-family:var(--f-display);font-weight:600;color:var(--navy-900)}
.woocommerce-checkout-review-order-table .woocommerce-de_price_taxrate,
.woocommerce-checkout-review-order-table .wgm-info,
.woocommerce-checkout-review-order-table small{
  display:block;font-family:var(--f-sans);font-size:12px;font-weight:400;
  color:var(--ink-60);line-height:1.45;margin-top:3px}
.woocommerce-checkout-review-order-table tfoot th{font-weight:400;color:var(--ink-60);
  text-align:right;white-space:nowrap;padding-right:22px}
.woocommerce-checkout-review-order-table tfoot td{white-space:nowrap}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td{
  font-family:var(--f-display);font-size:20px;font-weight:600;color:var(--navy-900);border-bottom:0}

/* Zahlungsarten und Pflichthaken untereinander */
.woocommerce-checkout #payment ul.payment_methods{display:block;padding:22px;margin:0;
  border-bottom:1px solid var(--line);list-style:none}
.woocommerce-checkout #payment ul.payment_methods li{display:block;width:100%;margin:0;padding:0;background:none;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li+li{margin-top:2px}
.woocommerce-checkout #payment ul.payment_methods li label{
  display:inline-flex;align-items:center;gap:10px;padding:12px 0;
  font-size:15.5px;font-weight:500;color:var(--navy-900);cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li input[type=radio]{
  width:19px;height:19px;accent-color:var(--navy);margin:0}
.woocommerce-checkout #payment div.payment_box{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);
  color:var(--ink-60);font-size:14.5px;line-height:1.6;margin:2px 0 12px;padding:14px 16px;
  width:100%;max-width:560px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--line)}
.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}

.woocommerce-checkout #payment .place-order{display:block;padding:22px}
.woocommerce-checkout #payment .place-order .form-row,
.woocommerce-checkout #payment .place-order > p,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper{
  display:block;width:100%;padding:0;margin:0 0 14px}
.woocommerce-checkout #payment .place-order label.checkbox,
.woocommerce-checkout #payment .woocommerce-form__label-for-checkbox{
  display:flex;align-items:flex-start;gap:11px;max-width:70ch;margin:0 0 14px;
  font-size:14.5px;line-height:1.6;color:var(--ink);cursor:pointer}
.woocommerce-checkout #payment input[type=checkbox]{
  width:19px;height:19px;flex:none;margin:2px 0 0;accent-color:var(--navy)}
.woocommerce-checkout #payment .place-order label.checkbox a{
  color:var(--navy);text-decoration:underline;text-underline-offset:2px}
.woocommerce-checkout #payment #place_order,
.woocommerce #payment #place_order{display:block;width:100%;max-width:360px;margin-top:6px;
  height:54px;font-size:16.5px;font-weight:600;float:none;
  background:var(--navy);border:1.5px solid var(--navy);border-radius:var(--r);color:#fff}
.woocommerce-checkout #payment #place_order:hover{background:var(--navy-900);border-color:var(--navy-900)}

@media (min-width:900px){
  .woocommerce-checkout #customer_details.col2-set,
  .woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2,
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2{width:100%;float:none;margin:0;padding:0}
  .woocommerce-checkout .col2-set .col-1 > h3:first-child,
  .woocommerce-checkout .col2-set .col-2 > h3:first-child{margin-top:0;font-size:22px;min-height:34px}
}
@media (min-width:1000px){
  .woocommerce-checkout-review-order-table tfoot th{width:78%}
}