html{
  overflow-y:scroll;
}

body.shop-page{
  --shop-shell-width:1600px;
  --shop-shell-gutter:32px;
  --shop-shell-radius:8px 8px 0 0;
  --shop-shell-overflow:visible;
  --shop-header-padding:10px 16px 0;
  --shop-header-min-height:96px;
  --shop-nav-bleed:32px;
  --shop-nav-offset:-16px;
  --shop-nav-padding:16px;
  --shop-brand-row-width:1125px;
  --shop-brand-row-justify:space-between;
  --shop-brand-row-gap:clamp(18px, 6vw, 80px);
  --shop-brand-row-min-height:auto;
  --shop-brand-row-padding:0 0 8px;
  --shop-brand-img-width:clamp(170px, 18vw, 230px);
  --shop-brand-img-max-width:none;
  --shop-brand-secondary-img-width:var(--shop-brand-img-width);
  width:auto;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:0;
  overflow-x:clip;
  scrollbar-gutter:stable;
  background:var(--theme-page-bg, #eaf1f3);
  color:var(--theme-text, #1b252b);
  font-family:Arial, Helvetica, sans-serif;
}

body.account-page{
  --shop-shell-radius:8px;
  --shop-shell-overflow:hidden;
  text-align:left;
}

body.shop-page *,
body.shop-page *::before,
body.shop-page *::after{
  box-sizing:border-box;
}

body.shop-page #wrap.shop-shell{
  width:min(var(--shop-shell-width), calc(100% - var(--shop-shell-gutter)));
  min-height:100vh;
  margin:0 auto;
  background:var(--theme-shell-bg, #ffffff);
  border-radius:var(--shop-shell-radius);
  box-shadow:0 16px 38px var(--theme-shadow-medium, rgba(27, 37, 43, 0.10));
  overflow:var(--shop-shell-overflow);
  position:relative;
  display:flex;
  flex-direction:column;
}

body.shop-page .shop-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:var(--shop-header-min-height);
  padding:var(--shop-header-padding);
  border-bottom:1px solid var(--theme-border, #dde5e8);
  border-radius:8px 8px 0 0;
  background:var(--theme-header-bg, #ffffff);
  text-align:center;
}

body.shop-page .shop-brand-row{
  display:flex;
  align-items:center;
  justify-content:var(--shop-brand-row-justify);
  width:min(var(--shop-brand-row-width), 100%);
  gap:var(--shop-brand-row-gap);
  flex-wrap:nowrap;
  min-height:var(--shop-brand-row-min-height);
  padding:var(--shop-brand-row-padding);
}

body.shop-page .shop-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

body.shop-page .shop-brand img{
  display:block;
  width:var(--shop-brand-img-width);
  max-width:var(--shop-brand-img-max-width);
  max-height:76px;
  height:auto;
  object-fit:contain;
}

body.shop-page .shop-brand-secondary img{
  width:var(--shop-brand-secondary-img-width);
  opacity:1;
}

body.shop-page .ap-account-nav{
  width:calc(100% + var(--shop-nav-bleed));
  margin:0 var(--shop-nav-offset);
  padding:8px var(--shop-nav-padding);
  box-sizing:border-box;
  background:linear-gradient(180deg, var(--theme-nav-bg, #f1f6f8), var(--theme-panel-bg, #f7fbfc));
  border-top:1px solid var(--theme-border, #dbe5e9);
  border-bottom:1px solid var(--theme-border, #dbe5e9);
  color:var(--theme-muted, #53616a);
  font-size:14px;
  text-align:center;
}

body.shop-page .ap-account-nav #linkTop{
  width:min(1480px, 100%) !important;
  height:auto !important;
  min-height:46px !important;
  margin:0 auto !important;
  padding:0 !important;
  background:transparent !important;
  background-image:none !important;
  border:0;
  border-radius:8px !important;
  box-shadow:none;
  font-size:14px !important;
}

body.shop-page .ap-account-nav .ap-shop-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:56px;
}

body.shop-page .ap-account-nav .ap-shop-nav-left,
body.shop-page .ap-account-nav .ap-shop-nav-right{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:56px;
  line-height:1;
}

body.shop-page .ap-account-nav .ap-shop-nav-left{
  justify-content:flex-start;
  gap:12px;
  padding:0;
  border-radius:7px;
}

body.shop-page .ap-account-nav .ap-shop-nav-right{
  justify-content:flex-end;
  gap:10px;
  margin-left:auto;
  padding:0;
}

body.shop-page .ap-account-nav .ap-nav-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 16px;
  border:1px solid var(--theme-border, #d8e4e9);
  border-radius:7px;
  background:var(--theme-button-bg, rgba(255,255,255,.46));
  white-space:nowrap;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

body.shop-page .ap-account-nav a{
  color:var(--theme-link, #214b5e) !important;
  font-weight:700;
  text-decoration:none;
}

body.shop-page .ap-account-nav a:hover{
  color:var(--theme-link-hover, #0f6f8d) !important;
  text-decoration:none;
}

body.shop-page .ap-account-nav .ap-nav-item:hover,
body.shop-page .ap-account-nav .ap-admin-link:hover,
body.shop-page .ap-account-nav .ap-language-select summary:hover{
  border-color:var(--theme-border-strong, #b8d0da);
  background:var(--theme-card-bg, #ffffff);
  box-shadow:0 5px 14px var(--theme-shadow-soft, rgba(8,27,38,.07));
}

body.shop-page .ap-account-nav .ap-nav-item.is-active{
  border-color:var(--theme-accent-2, #7faebd);
  background:var(--theme-active-bg, #dfeff4);
  color:var(--theme-link, #214b5e) !important;
  box-shadow:inset 0 0 0 1px var(--theme-shadow-soft, rgba(33, 75, 94, .12)), 0 5px 12px var(--theme-shadow-soft, rgba(8,27,38,.07));
}

body.shop-page .ap-account-nav .ap-nav-shop{
  justify-content:flex-start;
  gap:12px;
  flex:0 0 220px;
  width:220px;
  min-width:220px;
  min-height:56px;
  padding:7px 15px;
  background:var(--theme-button-bg, rgba(255,255,255,.58));
}

body.shop-page .ap-account-nav .ap-nav-shop.is-active{
  border-color:var(--theme-accent-2, #7faebd);
  background:var(--theme-active-bg, #e5f4fa);
  box-shadow:inset 0 0 0 1px var(--theme-shadow-soft, rgba(33, 75, 94, .10)), 0 6px 14px var(--theme-shadow-soft, rgba(8,27,38,.08));
}

body.shop-page .ap-account-nav .ap-nav-shop-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  gap:3px;
  line-height:1.08;
}

body.shop-page .ap-account-nav .ap-nav-shop-copy strong{
  display:block;
  color:var(--theme-link, #214b5e);
  font-size:15px;
  font-weight:900;
}

body.shop-page .ap-account-nav .ap-nav-shop-copy small{
  display:block;
  color:var(--theme-muted, #607984);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

body.shop-page .ap-account-nav .ap-nav-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  width:30px;
  height:24px;
  padding:0;
  background:transparent;
  box-shadow:none;
}

body.shop-page .ap-account-nav .ap-nav-mark img{
  display:block;
  width:21px;
  height:21px;
  object-fit:contain;
}

body.shop-page .ap-account-nav .ap-nav-mobile{
  display:none;
}

body.shop-page .ap-account-nav .nav-cart-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:30px;
  margin:0 4px 0 -8px;
  padding:0 8px;
  border:1px solid var(--theme-admin, #efb866);
  border-radius:999px;
  background:var(--theme-admin-soft, #fff6e6);
  color:var(--theme-warning, #9d5c00) !important;
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:.02em;
}

body.shop-page .ap-account-nav .ap-admin-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:fixed;
  top:0;
  right:0;
  z-index:1200;
  width:34px;
  min-width:34px;
  min-height:34px;
  margin:0;
  border:1px solid var(--theme-admin, #efb866);
  border-top:0;
  border-right:0;
  border-radius:0 0 0 8px;
  background:var(--theme-admin-soft, #fff6e6);
  color:var(--theme-admin, #d68100) !important;
  font-weight:900;
  box-shadow:0 8px 18px var(--theme-shadow-medium, rgba(8,27,38,.12));
}

body.shop-page .ap-account-nav .ap-language-select{
  position:relative;
  min-height:46px;
}

body.shop-page .ap-account-nav .ap-language-select summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:50px;
  min-height:46px;
  padding:0 12px;
  border:1px solid var(--theme-border, #d8e4e9);
  border-radius:7px;
  background:var(--theme-button-bg, rgba(255,255,255,.46));
  color:var(--theme-link, #214b5e);
  font-weight:800;
  list-style:none;
  cursor:pointer;
  white-space:nowrap;
}

body.shop-page .ap-account-nav .ap-language-select summary::-webkit-details-marker{
  display:none;
}

body.shop-page .ap-account-nav .ap-language-select summary::after{
  content:"";
  width:0;
  height:0;
  margin-left:5px;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid var(--theme-muted, #607984);
}

body.shop-page .ap-account-nav .ap-language-select img{
  display:block;
  width:24px;
  height:auto;
}

body.shop-page .ap-account-nav .ap-language-select span{
  font-size:12px;
  line-height:1;
}

body.shop-page .ap-account-nav .ap-language-menu{
  position:absolute;
  top:51px;
  right:0;
  z-index:90;
  min-width:46px;
  padding:5px;
  border:1px solid var(--theme-border, #ccdbe1);
  border-radius:7px;
  background:var(--theme-card-bg, #ffffff);
  box-shadow:0 10px 24px var(--theme-shadow-medium, rgba(20, 43, 54, 0.16));
}

body.shop-page .ap-account-nav .ap-language-menu a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 7px;
  border-radius:5px;
  color:var(--theme-link, #214b5e) !important;
}

body.shop-page .ap-account-nav .ap-language-menu a:hover{
  background:var(--theme-chip-bg, #edf5f7);
}

body.shop-page .account-layout,
body.ap-shop #wrap.shop-shell > div:first-child{
  flex:1 0 auto;
}

body.shop-page #footer{
  margin-top:auto;
  float:none;
  width:100%;
  height:auto;
  min-height:72px;
  padding:22px 24px 24px;
  box-sizing:border-box;
  border-top:1px solid var(--theme-border, #d9e5ea);
  border-radius:0 0 8px 8px;
  background:var(--theme-panel-bg, #f5f9fa);
  background-image:none;
  box-shadow:0 12px 28px var(--theme-shadow-soft, rgba(27, 37, 43, 0.08));
  color:var(--theme-text-soft, #465861);
  font-size:13px;
  line-height:1.65;
  text-align:left;
}

body.shop-page .shop-footer-grid{
  display:grid;
  grid-template-columns:minmax(220px, 1.3fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(260px, 1.1fr);
  gap:22px;
  width:min(1480px, 100%);
  margin:0 auto;
  align-items:start;
}

body.shop-page .shop-footer-brand,
body.shop-page .shop-footer-column,
body.shop-page .shop-footer-address{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

body.shop-page #footer strong{
  color:var(--theme-text, #183440);
  font-size:14px;
}

body.shop-page #footer span,
body.shop-page #footer small{
  color:var(--theme-muted, #667982);
}

body.shop-page #footer a{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:22px;
  color:var(--theme-link, #214b5e) !important;
  font-weight:700;
  text-decoration:none;
}

body.shop-page #footer a:hover{
  color:var(--theme-link-hover, #0f6f8d) !important;
  text-decoration:none;
}

body.shop-page #footer img{
  vertical-align:middle;
  margin:0 2px;
}

body.shop-page #footer br:first-child{
  display:none;
}

/* Rechtliche Seiten: Aufbau und Typografie */
body.legal-page .legal-main{
  padding:24px;
}

body.legal-page .legal-heading{
  margin-bottom:18px;
  padding:20px 22px;
  border:1px solid transparent;
  border-radius:10px;
  text-align:center;
}

body.legal-page .legal-heading>span,
body.legal-page .legal-company-heading>span{
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

body.legal-page .legal-heading h1{
  margin:4px 0 0;
  font-size:clamp(25px,2.4vw,34px);
  line-height:1.15;
}

body.legal-page .legal-heading p{
  max-width:920px;
  margin:8px auto 0;
  font-size:15px;
  line-height:1.5;
}

body.legal-page .legal-company-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:18px;
}

body.legal-page .legal-company-card{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid transparent;
  border-top-width:4px;
  border-radius:10px;
}

body.legal-page .legal-company-wide{
  grid-column:1 / -1;
}

body.legal-page .legal-company-heading{
  position:sticky;
  top:0;
  z-index:2;
  padding:15px 18px 13px;
  border-bottom:1px solid transparent;
}

body.legal-page .legal-company-heading h2{
  margin:3px 0 0;
  font-size:23px;
  line-height:1.15;
}

body.legal-page .legal-company-content{
  overflow-wrap:anywhere;
  padding:20px;
  font-size:15px;
  line-height:1.62;
  text-align:left;
}

body.legal-page .legal-company-content>h1,
body.legal-page .legal-company-content h1[align="center"]{
  display:none;
}

body.legal-page .legal-company-content span[style*="font-size:14px"],
body.legal-page .legal-company-content span[style*="font-size: 14px"]{
  font-size:inherit !important;
}

body.legal-page .legal-company-content span[style*="font-size:16px"],
body.legal-page .legal-company-content span[style*="font-size: 16px"],
body.legal-page .legal-company-content span[style*="font-size: medium"]{
  font-size:17px !important;
}

body.legal-page .legal-company-content span[style*="font-size:18px"],
body.legal-page .legal-company-content span[style*="font-size:20px"],
body.legal-page .legal-company-content span[style*="font-size:22px"]{
  font-size:19px !important;
}

body.legal-page .legal-company-content h3{
  margin:24px 0 8px !important;
  font-size:18px;
}

body.legal-page .legal-company-content h4{
  margin:18px 0 7px !important;
  font-size:15px;
}

body.legal-page .legal-company-content p{
  margin:8px 0;
}

body.legal-page .legal-company-content a{
  text-underline-offset:2px;
}

body.legal-page .legal-company-content ul{
  margin:8px 0 14px;
  padding-left:22px;
}

body.legal-page .legal-company-content table{
  width:100% !important;
  margin:10px 0 16px;
  border-collapse:collapse !important;
  font-size:13px;
}

body.legal-page .legal-company-content th,
body.legal-page .legal-company-content td{
  padding:8px 9px;
  border:1px solid transparent !important;
  text-align:left;
}

body.legal-page .legal-company-content div[style*="background:#fff3cd"]{
  margin:12px 0;
  border:1px solid transparent !important;
  border-radius:7px;
}

body.legal-page .contact-details{
  display:grid;
  gap:22px;
}

body.legal-page .contact-details section{
  display:grid;
  gap:5px;
}

body.legal-page .contact-details h3{
  margin:0 0 3px !important;
}

body.legal-page .contact-details address{
  font-style:normal;
}

body.legal-page .contact-details p{
  margin:0;
}

body.legal-page .contact-form{
  display:grid;
  gap:16px;
}

body.legal-page .contact-field{
  display:grid;
  gap:6px;
}

body.legal-page .contact-field label{
  font-weight:800;
}

body.legal-page .contact-field input,
body.legal-page .contact-field textarea{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:11px 12px;
  border:1px solid transparent;
  border-radius:7px;
  font:inherit;
  line-height:1.4;
}

body.legal-page .contact-field textarea{
  min-height:210px;
  resize:vertical;
}

body.legal-page .contact-consent{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:10px;
}

body.legal-page .contact-consent input{
  width:18px;
  height:18px;
  margin:2px 0 0;
}

body.legal-page .contact-submit{
  min-height:44px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:7px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}

body.legal-page .contact-required{
  margin:0;
  font-size:12px;
}

body.legal-page .contact-status{
  margin:0 0 16px;
  padding:11px 13px;
  border:1px solid transparent;
  border-radius:7px;
  font-weight:800;
}

body.legal-page .contact-honeypot{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

@media (max-width: 900px){
  body.shop-page{
    --shop-shell-gutter:0px;
    --shop-shell-radius:0;
    --shop-header-padding:8px 10px 0;
    --shop-header-min-height:88px;
    --shop-nav-bleed:20px;
    --shop-nav-offset:-10px;
    --shop-nav-padding:10px;
    --shop-brand-row-gap:14px;
    --shop-brand-row-min-height:72px;
    --shop-brand-row-padding:0 6px 8px;
    --shop-brand-img-width:min(42vw, 210px);
    --shop-brand-secondary-img-width:var(--shop-brand-img-width);
  }

  body.shop-page #wrap.shop-shell{
    width:100%;
    min-height:100vh;
  }

  body.shop-page .ap-account-nav{
    padding:6px 8px;
    text-align:center;
  }

  body.shop-page .ap-account-nav #linkTop{
    width:100% !important;
    height:auto !important;
    min-height:36px !important;
    font-size:12px !important;
  }

  body.shop-page .ap-account-nav .ap-shop-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    min-height:36px;
  }

  body.shop-page .ap-account-nav .ap-shop-nav-left,
  body.shop-page .ap-account-nav .ap-shop-nav-right{
    display:flex;
    align-items:center;
    min-height:36px;
    gap:4px;
  }

  body.shop-page .ap-account-nav .ap-shop-nav-left{
    justify-content:flex-start;
    padding:0;
    gap:5px;
  }

  body.shop-page .ap-account-nav .ap-shop-nav-right{
    justify-content:flex-end;
    margin-left:auto;
    padding:0;
  }

  body.shop-page .ap-account-nav .ap-nav-item,
  body.shop-page .ap-account-nav .ap-admin-link{
    min-height:36px;
  }

  body.shop-page .ap-account-nav .ap-language-select,
  body.shop-page .ap-account-nav .ap-language-select summary{
    min-height:36px;
  }

  body.shop-page .ap-account-nav .ap-language-select img{
    width:22px;
  }

  body.shop-page .ap-account-nav .ap-language-select span{
    display:none;
  }

  body.shop-page .ap-account-nav .ap-nav-full{
    display:none;
  }

  body.shop-page .ap-account-nav .ap-nav-mobile{
    display:inline;
  }

  body.shop-page .ap-account-nav .ap-nav-item{
    padding:0 7px;
    font-size:13px;
  }

  body.shop-page .ap-account-nav .ap-nav-shop{
    flex:0 0 auto;
    width:auto;
    min-width:auto;
    min-height:36px;
    padding:0 9px;
  }

  body.shop-page .ap-account-nav .ap-nav-shop-copy{
    display:block;
  }

  body.shop-page .ap-account-nav .ap-nav-shop-copy strong{
    font-size:13px;
    line-height:1;
  }

  body.shop-page .ap-account-nav .ap-nav-shop-copy small{
    display:none;
  }

  body.shop-page .ap-account-nav .nav-cart-link{
    display:none;
  }

  body.shop-page .ap-account-nav .ap-nav-mark{
    display:none;
  }

  body.shop-page .ap-account-nav .ap-admin-link{
    width:30px;
    min-width:30px;
    min-height:30px;
  }

  body.shop-page #footer{
    padding:16px 10px 18px;
    border-radius:0;
    font-size:12px;
    text-align:left;
  }

  body.shop-page .shop-footer-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  body.shop-page #footer a{
    min-height:24px;
  }

  body.legal-page .legal-main{
    padding:14px;
  }

  body.legal-page .legal-company-grid{
    grid-template-columns:1fr;
  }

  body.legal-page .legal-company-heading{
    position:static;
  }
}

@media (max-width: 560px){
  body.legal-page .legal-main{
    padding:8px;
  }

  body.legal-page .legal-heading{
    margin-bottom:10px;
    padding:16px;
  }

  body.legal-page .legal-company-content{
    padding:15px;
    font-size:14px;
  }
}
