/*
Theme Name: Autogarten
Description: Ein WooCommerce-Theme für Netzwerkgeräte und WLAN-Router.
Version: 1.1.2
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: autogarten
License: GNU General Public License v2 or later
*/

:root{--ink:#161d2c;--night:#152139;--blue:#2049cf;--paper:#f4f6fb;--white:#fff;--muted:#505c71;--line:#d9e0ec;--radius:18px;--width:1220px;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--blue);text-underline-offset:.15em}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid #8671ff;outline-offset:3px}
h1,h2,h3,p{margin:0 0 .65em}
h1,h2,h3{line-height:1.12;letter-spacing:-.038em}
h1{font-size:clamp(2.25rem,5.2vw,4.6rem)}
h2{font-size:clamp(1.65rem,3vw,2.6rem)}
.wrap{width:min(var(--width),calc(100% - 3.5rem));margin-inline:auto}
.skip{position:absolute;left:1rem;top:-8rem;padding:.6rem 1rem;background:var(--white);z-index:1000}
.skip:focus{top:1rem}
.site-head{background:var(--white);border-bottom:1px solid var(--line)}
.head-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding-block:.75rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;font-size:1.35rem;font-weight:800;letter-spacing:-.05em;color:inherit;text-decoration:none}
.brand-mark{background:var(--blue);color:var(--white);width:2.3rem;height:2.3rem;display:grid;place-items:center;border-radius:11px;font-size:1.25rem;font-weight:800;line-height:1}
.main-nav,.head-actions{display:flex;align-items:center;gap:1.25rem}
.main-nav a,.head-actions a{color:inherit;text-decoration:none;font-weight:650}
.main-nav a:hover,.head-actions a:hover{text-decoration:underline}
.head-search{display:flex;align-items:stretch;gap:.35rem}
.head-search input{width:clamp(7rem,16vw,14rem);border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:.5rem .65rem}
.head-search button{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:.4rem .6rem;color:var(--ink);cursor:pointer}
.page{padding-block:3.5rem 5rem;min-height:55vh}
.hero{background:var(--night);color:var(--white);border-radius:24px;margin-top:2rem;padding:clamp(1.5rem,5vw,4.5rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:clamp(1.25rem,4vw,4rem);overflow:hidden}
.hero h1{max-width:11ch}
.hero p{color:#dbe3f7;max-width:38ch;font-size:1.1rem}
.hero-cta,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-block;border:0;border-radius:10px;background:var(--blue);color:var(--white);text-decoration:none;font-weight:750;padding:.8rem 1.05rem;line-height:1.3;cursor:pointer}
.hero-cta{background:white;color:var(--night);margin-top:.65rem}
.hero-cta:hover,.hero-cta:focus-visible{background:#dbe5ff}
.hero-visual{display:flex;flex-direction:column;gap:.75rem;padding:1rem;align-self:stretch;justify-content:center;border-radius:var(--radius);background:#fff;color:var(--ink);text-decoration:none}
.hero-visual img{width:100%;height:clamp(180px,27vw,330px);object-fit:contain}
.hero-visual strong{text-align:center;font-size:1rem}
.home-section{margin-block:3.2rem}
.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1rem}
.section-title h2{margin:0}
.connection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem}
.connection-grid a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;color:var(--ink);background:var(--white);text-decoration:none;font-weight:750;padding:1rem 1.15rem;border:1px solid var(--line);border-radius:14px}
.connection-grid a:hover{border-color:var(--blue);color:var(--blue)}
.connection-grid span{color:var(--blue)}
.woocommerce ul.products li.product{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;overflow-wrap:anywhere}
.woocommerce ul.products li.product a img{height:clamp(125px,15vw,210px);object-fit:contain;margin-bottom:.75rem}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--ink);font-size:1.02rem;line-height:1.35}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:750}
.woocommerce div.product div.images img{background:var(--white);border-radius:12px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty,.woocommerce select{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:.45rem}
.woocommerce table.shop_table,.woocommerce .woocommerce-checkout-review-order,.woocommerce .woocommerce-Tabs-panel{background:var(--white)}
.woocommerce .woocommerce-Tabs-panel{padding:1.1rem!important;border-radius:var(--radius)}
.site-footer{background:var(--night);color:#e4eafd;padding-block:2.3rem}
.site-footer a{color:#e4eafd}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.5rem}
.footer-grid h2{font-size:1.05rem;letter-spacing:0}
.footer-grid address{font-style:normal}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li+li{margin-top:.35rem}
@media(max-width:950px){.head-inner{flex-wrap:wrap}.head-actions{flex:1 1 auto;justify-content:flex-end}.connection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.wrap{width:calc(100% - 2rem)}.head-inner{gap:.75rem}.main-nav{order:3;flex-basis:100%;gap:1rem}.head-actions{gap:.55rem}.head-search input{width:7rem;min-width:0}.head-search button{display:none}.hero{grid-template-columns:1fr;margin-top:1rem}.hero h1{max-width:15ch}.home-section{margin-block:2.4rem}.connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}.page{padding-block:2rem 3rem}.woocommerce ul.products li.product{padding:.65rem}.woocommerce ul.products li.product .button{font-size:.85rem}}
@media(max-width:360px){.head-search input{width:5.5rem}.head-actions a{font-size:.85rem}.footer-grid{grid-template-columns:1fr}}

:root{--ink:#152c45;--night:#163255;--blue:#1c4f79;--paper:#f7f8f6;--muted:#485e70;--line:#d9e2e5;--amber:#f4b35f;--width:1240px;--radius:14px}
::selection{color:var(--ink);background:#f8d6a7}
:focus-visible{outline:3px solid #2374a3;outline-offset:4px}
h1,h2,h3{letter-spacing:-.035em;text-wrap:balance}
.site-head{position:relative}
.head-inner{min-height:76px;display:grid;grid-template-columns:auto 1fr auto;gap:clamp(1rem,3.5vw,3.2rem)}
.brand{font-size:1.44rem;letter-spacing:-.028em;white-space:nowrap}
.brand-mark{background:var(--night);color:#fff}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.main-nav{gap:1.4rem}
.main-nav a,.head-actions a{display:flex;align-items:center;min-height:44px}
.head-search{border:1px solid var(--line);border-radius:10px;background:var(--paper);gap:0}
.head-search input{border:0;background:transparent;min-height:42px;padding-inline:.8rem}
.head-search button{display:grid;place-items:center;min-width:44px;padding:0;background:transparent;border:0}
.search-symbol{display:block;width:14px;height:14px;border:1.7px solid currentColor;border-radius:50%;position:relative;margin:-3px 3px 0 0}
.search-symbol::after{content:"";position:absolute;top:10px;left:10px;width:6px;height:1.7px;background:currentColor;transform:rotate(45deg);transform-origin:left center}
.hero{background:#e8eff0;color:var(--ink);border-radius:18px;padding:clamp(1.6rem,4.5vw,3.85rem);gap:clamp(1rem,4.6vw,4rem);grid-template-columns:1fr;margin-top:1.6rem}
.hero-with-photo{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
.hero h1{font-size:clamp(2.35rem,5.05vw,4.65rem);max-width:12ch;margin-bottom:.38em}
.hero p{font-size:clamp(1rem,1.65vw,1.2rem);color:var(--muted);max-width:33ch}
.hero-cta{background:var(--night);color:var(--white);border-radius:10px;padding:.95rem 1.2rem}
.hero-cta:hover,.hero-cta:focus-visible{background:var(--blue);color:var(--white)}
.hero-visual{display:block;padding:0;background:var(--white);overflow:hidden;border-radius:12px}
.hero-visual img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.hero-product{padding:.9rem 1rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center}
.hero-product strong{font-size:.88rem;line-height:1.4;text-align:left}
.hero-product .amount{font-weight:780;white-space:nowrap}
.home-section{margin-block:3rem}
.section-title{margin-bottom:1.2rem}
.section-title>a{white-space:nowrap}
.connection-grid{gap:.65rem}
.connection-grid a{border-radius:10px;min-height:56px}
.link-chevron{display:block;border:solid currentColor;border-width:0 1.5px 1.5px 0;width:7px;height:7px;transform:rotate(-45deg)}
.woocommerce ul.products li.product a img{height:clamp(125px,14vw,185px)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.6em;letter-spacing:-.012em}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{min-height:44px}
.page>article{max-width:800px}
.page>article>h1{margin-bottom:.55em}
.page>article h2:not(:first-child){margin-top:1.1em}
.page>article address{font-style:normal}
.contact-lead{font-size:1.19rem;color:var(--muted);max-width:52ch}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.4rem,4vw,3rem);margin-block:2.4rem}
.contact-grid section{border-top:1px solid var(--line);padding-top:1rem}
.contact-grid h2{font-size:1.4rem}
.site-footer{background:#e8eff0;color:var(--ink);border-top:1px solid var(--line);padding-block:2.8rem}
.site-footer a{color:inherit}
.footer-grid{grid-template-columns:1fr 1.15fr 1fr 1fr;gap:clamp(1.3rem,3vw,2.7rem)}
.footer-grid nav:not(:has(li)){display:none}
.footer-identity .brand{margin-bottom:.8rem}
.footer-grid address,.footer-links{font-size:.95rem;color:var(--muted)}
.footer-links a{overflow-wrap:anywhere}
.footer-links li+li{margin-top:.55rem}
.woocommerce-cart .page>article,.woocommerce-checkout .page>article{max-width:none}
.woocommerce-cart .wp-block-woocommerce-cart,.woocommerce-checkout .wp-block-woocommerce-checkout{margin:0}
.woocommerce-cart .wc-block-cart__sidebar,.woocommerce-checkout .wc-block-checkout__sidebar{padding:1.5rem!important;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);align-self:start}
.woocommerce-checkout .wc-block-components-checkout-step{margin-bottom:1.15rem;padding:1.15rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.woocommerce-checkout .wc-block-components-checkout-step__heading{margin-bottom:.55rem}
.woocommerce-checkout .wc-block-components-title{font-size:1.25rem}
.woocommerce-checkout .wc-block-components-text-input input,.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select{min-height:54px;font-size:16px!important;border:1px solid #a4b3bd!important;border-radius:14px!important}
.woocommerce-checkout .wc-block-components-text-input input:focus,.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus{outline:2px solid #2374a3!important;outline-offset:1px}
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option{border:1px solid var(--line);border-radius:12px;margin-top:.65rem;min-height:48px}
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option-checked{border-color:var(--blue)}
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control-accordion-option{border-radius:12px;margin-top:.65rem;border:1px solid var(--line);overflow:hidden}
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option{border:0;margin:0}
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control-accordion-option--checked-option-highlighted{border-color:var(--blue)}
.woocommerce-cart .wc-block-cart__submit-button,.woocommerce-checkout .wc-block-components-checkout-place-order-button{background:var(--night);color:#fff;min-height:52px;border-radius:12px;font-weight:750}
.woocommerce-cart .wc-block-cart__submit-button:hover,.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover{background:var(--blue);color:#fff}
.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{background:var(--white)}
.woocommerce-cart .wc-block-cart-item__image img{object-fit:contain}
@media(max-width:920px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.head-inner{gap:1rem}.main-nav{gap:.9rem}.head-actions{gap:.75rem}}
@media(max-width:680px){.head-inner{grid-template-columns:minmax(0,1fr) auto;gap:.45rem .8rem}.main-nav,.head-actions{order:initial;flex-basis:auto}.main-nav{justify-content:end;gap:.8rem}.head-actions{grid-column:1 / -1;justify-content:space-between}.head-search{flex:1}.head-search input{width:100%;min-width:0}.head-search button{display:grid}.hero,.hero-with-photo{grid-template-columns:1fr;padding:1.22rem;gap:1.4rem;margin-top:.85rem}.hero h1{max-width:14ch}.hero-visual img{aspect-ratio:4/2.7}.hero-product{padding:.65rem}.home-section{margin-block:2.3rem}.contact-grid{grid-template-columns:1fr}.woocommerce-cart .wc-block-cart__sidebar,.woocommerce-checkout .wc-block-checkout__sidebar{padding:.85rem!important}.woocommerce-checkout .wc-block-components-checkout-step{padding:.8rem}.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:0}}
@media(max-width:360px){.footer-grid{grid-template-columns:1fr}.brand{font-size:1.23rem}.main-nav{gap:.55rem}}
img.brand-mark{width:42px;height:42px;background:transparent;object-fit:contain;border-radius:0}
.woocommerce-checkout .main-nav,.woocommerce-checkout .head-search{display:none}
.woocommerce-checkout .head-inner{grid-template-columns:1fr auto}
.woocommerce-checkout .head-actions{grid-column:auto}
.woocommerce-checkout .site-footer{padding-block:1.65rem}
.footer-grid{grid-template-columns:1fr .9fr 1.12fr 1.05fr 1.04fr;gap:clamp(1rem,2.4vw,2rem)}
.footer-links a{display:inline-block;padding-block:.22rem;text-underline-offset:.22em}
.footer-links a:hover,.footer-delivery a:hover{color:var(--blue)}
.footer-delivery{margin-top:1.65rem;padding-top:1rem;border-top:1px solid #bdcdd0;font-size:.92rem;color:var(--muted)}
@media(max-width:1000px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-identity{grid-column:1/-1}.footer-links a{padding-block:.35rem}}
@media(max-width:350px){.footer-grid{grid-template-columns:1fr}}
