:root {
  --ash-blue: #2a3b83;
  --ash-cyan: #0080b5;
  --ash-gray: #848d92;
  --ash-text: #17243c;
  --ash-paper: #f3f6f9;
  --ash-line: #dce1e8;
  --ash-accent: var(--ash-cyan);
  --primary: var(--ash-blue);
  --secondary: var(--ash-gray);
}
body { color: var(--ash-text); }
h1, h2, h3 { color: var(--ash-blue); }
main a:not(.btn), footer a:not(.btn) { color: var(--ash-blue); }
main a:not(.btn):hover, footer a:not(.btn):hover { color: #00678f; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--ash-cyan);
  outline-offset: 3px;
}
.btn-primary, .btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--ash-blue);
  border-color: var(--ash-blue);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: #1d2b63;
  border-color: #1d2b63;
  color: #fff;
}
.btn-outline-primary { color: var(--ash-blue); border-color: var(--ash-blue); }
.btn-outline-primary:hover, .btn-outline-primary:focus,
.page-item.active .page-link, .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--ash-blue);
  border-color: var(--ash-blue);
  color: #fff;
}
.form-control:focus, .custom-select:focus { border-color: var(--ash-cyan); }
.nav-tabs .nav-link.active { border-bottom-color: var(--ash-cyan); }
#header-top-bar, #footer { background-color: var(--ash-paper); color: var(--ash-text); }
.productbox .productbox-title a, #product-offer .price { color: var(--ash-blue); }
.ash-entry--akustik { --ash-accent: #571018; }
.ash-entry--display { --ash-accent: #e26914; }
.ash-entry .brand-hero, .ash-entry .brand-advice { border-left: 4px solid var(--ash-accent); }
.ash-entry .hero { display: grid; background: var(--ash-paper); border-top: 1px solid var(--ash-line); margin-bottom: 2rem; }
.ash-entry .slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 186px; }
.ash-entry .copy, .ash-entry .art { padding: clamp(14px, 3vw, 32px); }
.ash-entry .art img { display: block; width: 100%; max-height: 174px; object-fit: contain; mix-blend-mode: multiply; }
.ash-entry .section { margin-block: 2rem; }
.ash-entry .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ash-entry .card { padding: 18px; border: 1px solid var(--ash-line); border-top: 3px solid var(--ash-accent); }
.ash-entry .card strong { display: block; color: var(--ash-blue); }
.ash-entry .card p { margin: 6px 0 0; }
.ash-entry .brand-advice { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--ash-paper); padding: 20px; }
.ash-entry .brand-advice p { margin: 0; }
.ash-entry .cta { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 17px; border-radius: 4px; background: var(--ash-blue); color: #fff; font-weight: 650; }
.ash-entry .cta:hover { color: #fff; background: #1d2b63; }
.ash-entry .ash-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block: 1rem; }
@media (max-width: 700px) {
  .ash-entry .slide, .ash-entry .cards { grid-template-columns: minmax(0, 1fr); }
  .ash-entry .art img { max-height: 105px; }
}
.ash-providers { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
.ash-providers .providers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ash-providers .provider { display: grid; place-items: center; width: 78px; height: 40px; }
.ash-providers .provider--dhl { width: 96px; }
.ash-providers .provider img { width: 100%; height: 100%; object-fit: contain; }
.ash-providers .provider--paypal-plus { width: min(365px, 100%); height: auto; }
.ash-providers .provider--paypal-plus img { height: auto; }
@media (max-width: 750px) { .ash-providers { grid-template-columns: 1fr; } }

#shop-logo { content: url('/templates/AbstandshalterKontakt/assets/design/Abstandshalter-Logo.png'); max-width: min(220px, 42vw); height: auto; }
.nav-tabs .nav-link.active::after { background-color: var(--ash-cyan); border-color: var(--ash-cyan); }
#mainNavigation .navbar-nav .nav-link,
.nav-tabs .nav-link.active { border-bottom-color: var(--ash-cyan); }
.ash-service { background: var(--ash-paper); border-bottom: 1px solid var(--ash-line); }
.ash-service .container { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 20px; padding-block: 8px; }
.ash-footer-contact { display: flex; flex-wrap: wrap; align-items: start; gap: 12px 24px; margin-block: 16px; }
.ash-footer-contact img { width: min(180px, 100%); mix-blend-mode: multiply; }
.ash-providers { margin-block: 20px; }
.ash-entry [hidden] { display: none !important; }
.ash-slider-controls { display: flex; justify-content: center; gap: 6px; background: #fff; padding: 5px; }
.ash-slider-controls button { min-width: 40px; min-height: 40px; color: var(--ash-blue); border: 0; background: #fff; }
.ash-slider-controls [aria-pressed=true] { background: var(--ash-paper); font-weight: 750; }

:root { --blue: var(--ash-blue); --cyan: var(--ash-cyan); --gray: var(--ash-gray); --ink: var(--ash-text); --line: var(--ash-line); --paper: var(--ash-paper); }
.ash-wrap { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.ash-top { background:#eef1f5; color:#26375e; border-bottom:1px solid var(--ash-line); font-size:.875rem; }
.ash-top-row, .ash-top-row > div { display:flex; flex-wrap:wrap; align-items:center; gap:4px 20px; }
.ash-top-row { min-height:43px; justify-content:space-between; padding-block:5px; }
.ash-top a, .ash-actions a { text-decoration:none; }
#jtl-nav-wrapper.ash-header { background:#fff; box-shadow:none; }
.ash-mainbar { display:grid; grid-template-columns:235px minmax(0,1fr) auto; align-items:center; gap:26px; padding-block:22px; }
.ash-brand img { display:block; width:100%; height:auto; }
.ash-search { min-width:0; }
.ash-search #search { width:100%; margin:0; }
.ash-search .search-wrapper { display:block !important; width:100%; }
.ash-search .search-wrapper-dropdown { display:none !important; }
.ash-search .btn { background:var(--blue); color:white; border-color:var(--blue); min-height:44px; }
.ash-search input { min-height:44px; border-color:#aeb8ca; }
.ash-actions #shop-nav { margin:0; display:flex; flex-wrap:nowrap; align-items:center; gap:10px; }
.ash-actions #shop-nav .nav-link { color:var(--blue); }
.ash-action-label { display:block; font-size:.75rem; }
.ash-nav.navbar { display:block; padding:0; background:var(--blue); }
.ash-nav-row { display:flex; align-items:center; min-height:48px; gap:18px; }
.ash-nav #mainNavigation { padding-block:0; }
.ash-nav #mainNavigation .nav-scrollbar-inner > .nav-item > .nav-link,
.ash-nav .ash-brand-links a, .ash-nav .ash-nav-button { color:#fff; font-weight:650; }
.ash-brand-links { display:flex; flex-wrap:wrap; gap:6px 18px; font-size:.9rem; }
.ash-nav .nav-item .dropdown-menu a { color:var(--ink); }
.ash-home { padding-top:24px; }
.ash-home .hero { border:1px solid var(--line); background:#eef5f9; }
.ash-home .copy a, .ash-footer .cta { text-decoration:none; }
.ash-home .copy, .ash-home .art { padding:13px clamp(15px,3vw,34px); }
.ash-home .art { background:#fff; }
.ash-home .art img { height:174px; }
.ash-home .section { margin-block:34px; }
.ash-home a.card { text-decoration:none; }
#footer.ash-footer { background:#f0f3f7; padding-top:30px; font-size:.91rem; }
.ash-footer .ash-delivery { border-top:1px solid var(--line); }
.ash-footer .ash-footer-end { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding-block:14px 18px; }
.ash-footer .ash-footer-end p { margin:0; }
.ash-footer .footer-grid ul { padding:0; }
#footer .ash-providers h2 { font-size:1.04rem; }
.nav-tabs .nav-link.active { box-shadow:inset 0 -3px var(--cyan); }
.badge-primary { background:var(--blue); color:white; }
@media (max-width:991px) {
    .ash-wrap { width:calc(100% - 36px); }
    .ash-mainbar { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding-block:12px; }
    .ash-brand img { max-width:235px; }
    .ash-search { grid-column:1/-1; grid-row:2; }
    .ash-nav-row { justify-content:space-between; }
    .ash-nav #mainNavigation .nav-scrollbar-inner > .nav-item > .nav-link { color:var(--ink); }
    .ash-nav .ash-nav-button { padding:4px 0; font-size:.85rem; }
    .ash-footer .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:620px) {
    .ash-wrap { width:calc(100% - 24px); }
    .ash-top-row { flex-direction:column; align-items:flex-start; }
    .ash-top-row > div { gap:3px 12px; }
    .ash-brand img { max-width:175px; }
    .ash-actions #shop-nav { gap:2px; }
    .ash-home { padding-top:12px; }
    .ash-home .art img { height:94px; }
    .ash-home .section { margin-block:24px; }
    .ash-footer .footer-grid { grid-template-columns:1fr; gap:17px; }
}

  .slide{display:grid;grid-template-columns:.9fr 1.1fr;min-height:186px}
  .copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:13px clamp(15px,3vw,34px)}
  .copy h1,.copy h2{font-size:clamp(1.35rem,2.7vw,2.25rem);line-height:1.12;margin:0 0 7px}
  .copy p{margin-bottom:9px;max-width:45ch}
  .cta{display:inline-flex;align-items:center;min-height:44px;padding:8px 17px;border-radius:4px;background:var(--blue);color:#fff;text-decoration:none;font-weight:650}
  .art{display:grid;place-items:center;min-width:0;background:#fff;padding:6px 12px}
  .art img{width:100%;height:174px;object-fit:contain;display:block}
  .card{padding:18px;border:1px solid var(--line);border-top:3px solid var(--cyan);text-decoration:none}
  .card:hover{background:#f2f7fb}.card strong{display:block;color:var(--blue);margin-bottom:2px}.card span{font-size:.9rem}
  .footer-grid{display:grid;grid-template-columns:1.05fr .8fr .8fr 1.35fr;gap:25px;padding-bottom:24px}
  .footer-grid h2{color:var(--blue);font-size:1.06rem;margin-bottom:12px}
  .footer-logo{width:min(190px,100%);height:auto;mix-blend-mode:multiply;margin-bottom:12px}
  .footer-grid ul{list-style:none;padding:0;margin:0}.footer-grid li{margin-bottom:6px}
  .footer-grid a{text-underline-offset:3px}.footer-grid address{font-style:normal;line-height:1.65}
  .newsletter form .signup{display:flex;gap:6px;margin-block:7px;flex-wrap:wrap}
  .newsletter input[type=email]{min-width:130px;flex:1;padding:8px;border:1px solid #aeb8ca;border-radius:4px}
  .newsletter button[type=submit]{border:0}.newsletter p,.newsletter label{font-size:.84rem;margin-bottom:6px}
  .coupon{background:#e8f4fa;padding:9px 11px;margin:9px 0}
  .footer-end{border-top:1px solid #cdd5e0;padding:14px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
  .footer-end p{margin:0;font-size:.85rem}
  .providers{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
  .provider{display:grid;place-items:center;width:78px;height:40px}
  .provider--dhl{width:96px}
  .provider img{display:block;width:100%;height:100%;object-fit:contain}
  .provider--paypal-plus{width:min(365px,100%);height:auto;flex-shrink:0}
  .provider--paypal-plus img{height:auto}
.ash-header .ash-search #search, .ash-header .ash-search .search-wrapper,
.ash-header .ash-search form, .ash-header .ash-search .form-icon,
.ash-header .ash-search .input-group { width:100%; max-width:none; }
#jtl-nav-wrapper .ash-brand-links a { color:#fff; text-decoration:none; }
#jtl-nav-wrapper .ash-brand-links a:hover,
#jtl-nav-wrapper .ash-brand-links a:focus-visible { text-decoration:none; border-bottom-color:var(--ash-brand-link); }
#jtl-nav-wrapper #mainNavigation .nav-link { border-bottom-color:var(--cyan); }
#jtl-nav-wrapper #mainNavigation .nav-scrollbar-inner > .nav-item > .nav-link::before { border-bottom-color:var(--cyan); }
.ash-home .hero { display:block; min-height:0; margin:0; padding:0; }
.ash-home .slide { min-height:186px; grid-template-columns:.9fr 1.1fr; }
.ash-home .section { padding:0; }
.ash-home .copy h1, .ash-home .copy h2 { font-size:clamp(1.35rem,2.7vw,2.25rem); margin:0 0 7px; }
.ash-home .copy p { max-width:45ch; margin-bottom:9px; }
#footer.ash-footer .footer-logo { display:block; width:min(190px,100%); max-width:none; margin-bottom:12px; }
.ash-search-form { display:grid; grid-template-columns:minmax(0,1fr) auto; min-width:0; border:1px solid #aeb8ca; border-radius:4px; overflow:hidden; }
.ash-search-form input { width:100%; min-width:0; padding:10px 13px; border:0; }
.ash-search-form button { min-height:44px; padding:9px 16px; border:0; background:var(--blue); color:white; }
#footer.ash-footer .footer-logo { height:auto; }
#main-wrapper:has(.ash-home) #content { padding-top:0; }
.ash-top .ash-top-contact a { color:var(--blue); font-weight:700; }
#jtl-nav-wrapper .ash-brand-links a { display:inline-flex; align-items:center; min-height:44px; padding:4px 5px 1px; border-bottom:3px solid transparent; }
.ash-nav-akustik { --ash-brand-link:#571018; }
.ash-nav-display { --ash-brand-link:#e26914; }
.ash-newsletter-form label { display:block; font-weight:650; }
.ash-newsletter-form input { width:100%; min-width:0; padding:8px 10px; border:1px solid #aeb8ca; border-radius:4px; background:white; }
.ash-newsletter-actions { display:flex; flex-wrap:wrap; gap:6px; margin-block:8px; }
.ash-footer-controls, .ash-trust-badges { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; }
.ash-trust-badges { list-style:none; padding:0; margin:0; }
.ash-trust-badges img { display:block; max-width:140px; max-height:46px; width:auto; height:auto; object-fit:contain; }
#footer .ash-footer-controls > .mt-3 { margin-top:0 !important; }
#footer .ash-footer-controls .withdrawal-link { display:inline-flex; align-items:center; min-height:46px; margin:0; }
#main-wrapper:has(.ash-entry--akustik, .ash-entry--display) .breadcrumb-container { display:none; }
#main-wrapper:has(.ash-entry--akustik, .ash-entry--display) .index-heading-wrapper { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.ash-entry .brand-hero { display:block; min-height:0; padding:0; }
.ash-entry .brand-hero .slide { min-height:186px; grid-template-columns:.9fr 1.1fr; }
.ash-entry .brand-hero .copy, .ash-entry .brand-hero .art { padding:13px clamp(15px,3vw,34px); }
.ash-entry .brand-hero .art { background:#fff; }
.ash-entry .brand-hero .art img { height:174px; }
@media(max-width:700px) {
    .ash-entry .brand-hero .slide { grid-template-columns:minmax(0,1fr); min-height:0; }
    .ash-entry .brand-hero .art img { height:94px; }
}
@media(max-width:940px){.ash-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.ash-home .slide{grid-template-columns:minmax(0,1fr); min-height:0}}
@media(max-width:620px){.ash-footer .footer-grid{grid-template-columns:1fr}}

.ash-measure-panel{padding:16px;margin-block:16px;border:1px solid var(--ash-line);border-top:3px solid var(--ash-cyan);background:var(--ash-paper)}
.ash-measure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px;margin-bottom:12px}
.ash-measure-grid label{display:block;color:var(--ash-blue);font-weight:650}
.ash-measure-grid output{float:right}
.ash-measure-grid input[type=range]{display:block;width:100%;min-height:36px;accent-color:var(--ash-cyan)}
.ash-measure-grid span{font-size:.875rem;font-weight:400}

#sidepanel_left .ash-measure-panel { margin-block: 0 16px; }
.ash-measure-panel fieldset { min-width:0; margin-bottom:18px; }
.ash-measure-panel legend { font-size:.95rem; font-weight:650; color:var(--ash-blue); }
.ash-measure-values { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px; font-size:.81rem; }
.ash-measure-values input { width:3.5em; border:1px solid #aeb8ca; }
.ash-measure-panel [data-track] { margin:8px 8px 0; height:6px; }
.ash-measure-panel .noUi-connect { background:var(--ash-cyan); }
.ash-measure-panel .noUi-handle { top:-6px; right:-8px; width:17px; height:17px; border-radius:50%; border:1px solid var(--ash-cyan); background:#fff; }
.ash-measure-panel .noUi-handle::before,.ash-measure-panel .noUi-handle::after { display:none; }

#sidepanel_left .ash-measure-row { padding-block: 10px 6px; }
#sidepanel_left .ash-measure-row fieldset { min-width:0; margin:0 0 12px; }
#sidepanel_left .ash-measure-row legend { font-size:.95rem; font-weight:650; color:var(--ash-blue); display:flex; align-items:center; gap:8px; }
.ash-filter-icon { width:36px; height:auto; object-fit:contain; }
#sidepanel_left .ash-measure-actions { padding:0 0 12px; border:0; background:none; }
.ash-measure-row [data-track] { margin:8px 8px 0; height:6px; }
.ash-measure-row .noUi-connect { background:var(--ash-cyan); }
.ash-measure-row .noUi-handle { top:-6px; right:-8px; width:17px; height:17px; border-radius:50%; border:1px solid var(--ash-cyan); background:#fff; }
.ash-measure-row .noUi-handle::before,.ash-measure-row .noUi-handle::after { display:none; }

#sidepanel_left .ash-measure-panel { background:none; border:0; padding:0 0 12px; }
#sidepanel_left .ash-measure-panel fieldset { border-bottom:1px solid #e4e6eb; padding:7px 0 16px; }
#sidepanel_left .ash-measure-panel legend { display:flex; align-items:center; gap:8px; }
.ash-fixed-track { position:relative; border-radius:3px; background:#e4e6eb; }
.ash-fixed-track::after { content:''; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:12px; height:12px; border:1px solid var(--ash-cyan); border-radius:50%; background:#fff; }

/* Contact page */
#main-wrapper:has(form.contact-form) .title {
  margin: clamp(1.25rem, 3vw, 2.5rem) auto .9rem;
  max-width: 62rem;
  color: var(--ash-blue);
  font-weight: 700;
}
form.contact-form {
  margin: 0 auto 2rem;
  max-width: 62rem;
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid #dce3eb;
  border-top: 4px solid var(--ash-cyan);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .45rem 1.6rem rgba(42,59,131,.08);
}
form.contact-form .required-info { color: #475569; font-size: .9rem; }
form.contact-form hr { border-color: #e2e8f0; }
form.contact-form .h3 { color: var(--ash-blue); font-weight: 650; }
form.contact-form .form-control,
form.contact-form .custom-select {
  border-radius: .4rem;
  border-color: #aab8ca;
  background-color: #f7f9fc;
}
form.contact-form .form-control:focus,
form.contact-form .custom-select:focus {
  border-color: var(--ash-blue);
  box-shadow: 0 0 0 .2rem rgba(42,59,131,.18);
  background-color: #fff;
}
form.contact-form .has-error .form-control,
form.contact-form .custom-select[aria-invalid=true],
form.contact-form .form-control[aria-invalid=true] { border-color: #b42318; }
form.contact-form textarea.form-control { min-height: 9rem; resize: vertical; }
form.contact-form .contact-form-privacy { margin-block: .5rem 1rem; }
form.contact-form .contact-form-privacy a { text-decoration: underline; }
form.contact-form button[type=submit] {
  min-height: 2.75rem;
  border-radius: .4rem;
  background: var(--ash-blue);
  border-color: var(--ash-blue);
  color: #fff;
  font-weight: 650;
  white-space: normal;
}
form.contact-form button[type=submit]:hover { background: #1d2c68; }
