/* =====================================================================
   CartSoft Theme „Marktplatz“ – Kopfbereich schwarz, Suche mit orangefarbenem Knopf,
   weiße Karten auf grauem Grund, Produktreihen zum Durchblättern.
   Schrift: Inter (lokal, SIL OFL 1.1)
   ===================================================================== */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400.woff) format("woff")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500 600;font-display:swap;src:url(../fonts/inter-600.woff) format("woff")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700 800;font-display:swap;src:url(../fonts/inter-700.woff) format("woff")}

:root{
  --primary:#f59e0b;
  --primary-hover:#fbbf24;
  --primary-ink:#9a4406;
  --primary-soft:#fff7e6;
  --primary-soft-2:#fffbf2;
  --on-primary:#111;
  --primary-deep:#78350f;
  --primary-line:#fcd9a0;
  --primary-line-2:#fde9c4;
  --primary-glow:rgba(245,158,11,.35);
  --primary-ring:rgba(245,158,11,.35);
  --primary-tint:rgba(245,158,11,.14);
  --cart-btn:#ffd43b;
  --cart-btn-hover:#fcc419;
  --mp-black:#131921;
  --mp-nav:#232f3e;
  --mp-gray:#e3e6e6;
  --dark:#0f1111;
  --black:#0f1111;
  --text:#333a3a;
  --text-strong:#0f1111;
  --muted:#565959;
  --line:#d5d9d9;
  --line-2:#e7e9ec;
  --bg-alt:#eaeded;
  --link:#007185;
  --radius:8px;
  --radius-sm:6px;
  --radius-lg:10px;
  --shadow-sm:none;
  --shadow:0 2px 6px rgba(15,17,17,.12);
  --shadow-lg:0 6px 18px rgba(15,17,17,.18);
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --header-h:60px;
}
body{background:var(--bg-alt);font-size:15px;line-height:1.55;color:var(--text)}
main{background:var(--bg-alt)}
h1,h2,h3{letter-spacing:-.01em;font-weight:700}
a{color:var(--link)}
a:hover{color:#c45500}
::selection{background:var(--primary);color:#111}
:focus-visible{outline:3px solid #ff9900;outline-offset:2px}

/* Buttons: abgerundet wie auf Marktplätzen, gelb/orange */
.btn{border-radius:999px;font-weight:600}
.btn-primary{background:var(--primary);border-color:#e6900a;color:#111;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.btn-primary:hover{background:var(--primary-hover);color:#111;box-shadow:0 2px 6px var(--primary-glow)}
.btn.btn-cart,.btn.btn-cart:visited,.btn.btn-cart:focus{color:#111;-webkit-text-fill-color:#111;border-color:#f2c200}
.btn.btn-cart:hover,.btn.btn-cart:active{color:#111;-webkit-text-fill-color:#111}
.btn.btn-cart .icon{color:#111;stroke:#111}
.btn-outline{background:#fff;border-color:var(--line);color:var(--dark)}
.btn-outline:hover{background:#f7fafa;border-color:#adb1b8;color:var(--dark)}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=date],select,textarea{border-radius:8px;border:1px solid #a6a6a6;box-shadow:0 1px 0 rgba(255,255,255,.5),inset 0 1px 0 rgba(15,17,17,.15)}
input:focus,select:focus,textarea:focus{border-color:#e77600;box-shadow:0 0 0 3px rgba(228,121,17,.35)}

/* ---------- Kopfbereich ---------- */
.mp-header{background:var(--mp-black);box-shadow:none;color:#fff}
.mp-top .header-row{min-height:var(--header-h);padding-top:8px;padding-bottom:8px;gap:16px}
.mp-header.is-compact .header-row{min-height:var(--header-h);padding-top:8px;padding-bottom:8px}
.mp-header .logo{background:#fff;border-radius:6px;padding:5px 10px;border:2px solid transparent}
.mp-header .logo:hover{border-color:#fff;outline:1px solid #fff}
.mp-header .logo img{max-height:38px;max-width:220px}
.mp-header.is-compact .logo img{max-height:38px}
.mp-header .logo-text{color:var(--dark);font-weight:800;font-size:1.2rem}
.mp-header .logo:has(img[src*="logo-cartsoft-hell"]){background:transparent;padding:4px 6px}
.mp-search{flex:1 1 auto;max-width:none;display:flex}
.mp-search input{min-height:42px;border-radius:6px;border:0;background:#fff;padding-right:58px;box-shadow:none}
.mp-search input:focus{box-shadow:0 0 0 3px #f90}
.mp-search .search-btn{right:0;top:0;transform:none;width:50px;height:42px;border-radius:0 6px 6px 0;background:#febd69;color:#111}
.mp-search .search-btn:hover{background:#f3a847}
.mp-header .header-actions{gap:6px;margin-left:0}
.mp-account{display:flex;flex-direction:column;line-height:1.2;color:#fff;padding:6px 8px;border:1px solid transparent;border-radius:4px;text-decoration:none}
.mp-account small{font-size:.75rem;color:#ccc}
.mp-account b{font-size:.86rem;color:#fff;font-weight:700;white-space:nowrap}
.mp-account:hover{border-color:#fff;color:#fff}
.mp-header .icon-btn{color:#fff;border:1px solid transparent;border-radius:4px}
.mp-header .icon-btn:hover{background:transparent;border-color:#fff;color:#fff}
.mp-cart{flex-direction:row!important;align-items:flex-end;gap:4px!important;font-weight:700}
.mp-cart .icon-label{color:#fff;font-size:.86rem;font-weight:700}
.mp-header .cart-count{top:-6px;right:-4px;background:transparent;color:#f08804;font-size:.95rem;box-shadow:none;font-weight:800}
.mp-header .nav-toggle{color:#fff}

/* Navigation im Kopf */
.mp-nav{background:var(--mp-nav);color:#fff}
.mp-nav-inner{display:flex;align-items:center;gap:4px;min-height:40px;position:relative}
.mp-all{display:inline-flex;align-items:center;gap:6px;padding:6px 0;margin-right:22px;font-weight:700;font-size:.86rem;color:#fff;cursor:pointer;border:1px solid transparent;border-radius:4px;white-space:nowrap}
.mp-all:hover{text-decoration:underline;text-decoration-color:#f08804;text-decoration-thickness:2px;text-underline-offset:6px}
.mp-header .main-nav{background:transparent;position:static;flex:1 1 auto;min-width:0}
.mp-header .main-nav>.container{padding:0;max-width:none}
.mp-header .menu{flex-wrap:wrap;--nav-gap:22px}
.mp-header .menu-item>a{height:var(--bar-h);color:#fff;font-size:.86rem;font-weight:500}
.mp-header .main-nav{--nav-ul-bottom:9px;--nav-ul-color:#f08804}
.mp-header .menu-item:hover>a,.mp-header .menu-item:focus-within>a,.mp-header .menu-item.is-active>a{color:#fff}
.mp-header .menu-blog{margin-left:0}
.mp-header .menu-blog .icon{color:#fff}
.mp-nav-inner .mega{left:0;right:0;border-top:0;border-radius:0 0 8px 8px}
.mp-promo{display:none;margin-left:auto;font-size:.86rem;font-weight:700;color:#fff;white-space:nowrap;padding-left:12px}
.mp-nav .a11y-zoom{color:#fff;margin-left:8px}
.mega-cat:hover{background:#f7fafa}
.mega-sub a{border-radius:999px;background:#f0f2f2}
.mega-sub a:hover{background:var(--primary);color:#111}
.mega-all{color:var(--link)}
.mobile-nav-head{background:var(--mp-nav)}
.mobile-nav-head .logo-text,.mobile-nav-head .icon-btn{color:#fff}

/* ---------- Startseite ---------- */
.mp-hero{background:linear-gradient(180deg,rgba(19,25,33,0) 55%,var(--bg-alt) 100%),var(--hero-img,none),linear-gradient(120deg,#37475a 0%,#232f3e 45%,#0f766e 100%);background-size:cover;background-position:center;color:#fff}
.mp-hero-inner{padding-top:clamp(36px,5vw,70px);padding-bottom:clamp(150px,16vw,230px)}
.mp-hero.has-photo .mp-hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.mp-hero-photo .hero-photo{max-width:460px;aspect-ratio:16/10;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
@media (max-width:991px){.mp-hero.has-photo .mp-hero-inner{grid-template-columns:1fr}.mp-hero-photo{display:none}}
.mp-hero-kicker{display:inline-block;margin:0 0 10px;padding:4px 10px;border-radius:4px;background:rgba(0,0,0,.35);font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.mp-hero h1{color:#fff;font-size:clamp(1.9rem,1.2rem + 2.6vw,3.2rem);line-height:1.1;max-width:760px;margin:0 0 .35em;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.mp-hero-sub{max-width:640px;font-size:1.05rem;color:#f1f3f5;margin:0 0 1.4rem;text-shadow:0 1px 8px rgba(0,0,0,.35)}

.mp-cards-wrap{position:relative;z-index:2;margin-top:clamp(-210px,-14vw,-130px)}
.mp-cards-plain{margin-top:20px}
.mp-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mp-card{display:flex;flex-direction:column;background:#fff;padding:20px 20px 16px;border-radius:2px;min-width:0}
.mp-card h2{font-size:1.2rem;margin:0 0 12px;line-height:1.3;color:var(--dark)}
.mp-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;list-style:none;margin:0 0 12px;padding:0;flex:1}
.mp-card-grid a{display:flex;flex-direction:column;gap:4px;color:var(--dark);font-size:.8rem;line-height:1.3;text-decoration:none}
.mp-card-grid a:hover span:last-child{color:#c45500}
.mp-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f7f8f8;overflow:hidden}
.mp-thumb svg,.mp-thumb img{width:100%;height:100%;object-fit:contain}
.mp-card-single{display:block;flex:1;margin-bottom:12px}
.mp-card-single .mp-thumb{aspect-ratio:4/3}
.mp-card-sub{font-size:.85rem;color:var(--muted);margin:0 0 10px}
.mp-card-more{font-size:.86rem;color:var(--link);margin-top:auto}

.mp-row{padding:20px 0 0}
.mp-row:last-of-type{padding-bottom:28px}
.mp-row-box{background:#fff;padding:20px;border-radius:2px}
.mp-row-head{display:flex;align-items:baseline;gap:14px;margin-bottom:14px}
.mp-row-head h2{font-size:1.3rem;margin:0}
.mp-row-head a{font-size:.88rem}
.mp-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,230px);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}
.mp-scroller>*{scroll-snap-align:start}
.mp-scroller:focus-visible{outline:3px solid #ff9900;outline-offset:4px}

/* Produktkarten */
.product-card{border:0;border-radius:2px;box-shadow:none;background:#fff}
.product-card:hover{box-shadow:none}
.pc-main:hover .pc-title{color:#c45500}
.pc-media{border:0;background:#f7f8f8;aspect-ratio:1/1}
.pc-cat{color:var(--muted);text-transform:none;letter-spacing:0;font-weight:500}
.pc-title{color:var(--link);font-weight:500}
.price{font-weight:600;color:var(--dark)}
.badge-sale{background:#cc0c39;border-radius:2px}
.badge-variants{background:#fff;color:var(--dark);border-radius:2px}
.product-grid .product-card,.cat-tile{border:1px solid var(--line-2)}
.cat-tile{border-radius:2px;box-shadow:none}
.cat-tile:hover{box-shadow:var(--shadow)}
.cat-go{background:#f0f2f2;color:var(--dark)}
.post-card{border-radius:2px;box-shadow:none}

/* Innenseiten auf grauem Grund: Inhalte in weißen Flächen */
.page-head,.breadcrumb{background:transparent}
.cat-layout,.product-top,.p-info,.cart-layout,.checkout,.account-layout,.post-layout{background:#fff;padding:20px;border-radius:2px}
.section-alt{background:transparent}
.prose{background:transparent}
.form-card{border-radius:4px}

/* Footer */
.mp-footer{background:var(--mp-nav);color:#ddd}
.mp-backtop{display:block;text-align:center;background:#37475a;color:#fff;font-size:.86rem;padding:14px 0;text-decoration:none}
.mp-backtop:hover{background:#485769;color:#fff}
.mp-footer .footer-title{color:#fff;font-size:1rem}
.mp-footer .footer-links a,.mp-footer .footer-contact a{color:#ddd}
.mp-footer .footer-links a:hover,.mp-footer .footer-contact a:hover{color:#fff;text-decoration:underline}
.mp-footer .footer-contact .icon{color:#febd69}
.mp-footer .footer-links .more{color:#febd69}
.mp-footer-logo{display:flex;justify-content:center;padding-bottom:24px;border-top:1px solid #3a4553;padding-top:24px}
.mp-footer .footer-logo{margin:0}
.mp-footer .footer-logo img{background:#fff;border-radius:6px}
.mp-footer .footer-bottom{background:var(--mp-black);border-top:0}
.mp-footer .footer-bottom a,.mp-footer .footer-powered{color:#ccc}
.mp-footer .footer-withdraw{color:#111}

/* Mobil */
@media (max-width:991px){
  :root{--header-h:56px}
  .mp-top .header-row{gap:6px 8px}
  .mp-header .logo{padding:4px 8px}
  .mp-header .logo img{max-height:30px;max-width:150px}
  .mp-search{order:5;flex:1 1 100%}
  .mp-account{display:none}
  .mp-nav-inner{overflow-x:auto;scrollbar-width:none}
  .mp-promo{display:none}
  .mp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media (max-width:767px){
  .mp-hero-inner{padding-bottom:150px}
  .mp-cards-wrap{margin-top:-120px}
  .mp-cards{grid-template-columns:minmax(0,1fr)}
  .mp-card{padding:16px}
  .mp-row-box{padding:14px}
  .mp-scroller{grid-auto-columns:minmax(160px,46%)}
  .cat-layout,.product-top,.p-info,.cart-layout,.checkout,.account-layout,.post-layout{padding:12px}
}
@media (min-width:1500px){.mp-promo{display:inline}}

/* Infoleiste über dem Logo: Versandhinweis links, Kontaktdaten rechts */
.mp-strip{background:#0b0f14;color:#d5d9de;font-size:.82rem;line-height:1.3}
.mp-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;min-height:var(--bar-h);flex-wrap:wrap;padding-top:0;padding-bottom:0}
.mp-strip-text{margin:0;display:flex;align-items:center;gap:7px;font-weight:600;color:#fff}
.mp-strip-text .icon{color:#f08804;flex:none}
.mp-strip-links{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px 18px;flex-wrap:wrap}
.mp-strip-links a{color:#d5d9de;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.mp-strip-links a:hover{color:#fff;text-decoration:underline}
.mp-strip .a11y-zoom{color:#fff}
@media (max-width:767px){.mp-strip-inner{justify-content:center;text-align:center}.mp-strip-links{display:none}}

/* Kopfzeile hell (Wunsch: nicht Schwarz über Schwarz): Infoleiste hellgrau, Logo-/Suchzeile weiß, nur die Menüleiste dunkel */
.mp-strip{background:#f3f4f6;color:#374151;border-bottom:0;box-shadow:inset 0 -1px 0 #cfd3d9}
.mp-strip-text{color:#1f2937}
.mp-strip-text .icon{color:#c45500}
.mp-strip-links a{color:#374151}
.mp-strip-links a:hover{color:#111827}
.mp-strip .a11y-zoom{color:#1f2937}
.mp-header{background:#fff;color:var(--text-strong);border-bottom:0}
.mp-header .logo,.mp-header .logo:has(img[src*="logo-cartsoft-hell"]){background:transparent;padding:4px 0}
.mp-header .logo:hover{border-color:transparent;outline:0}
.mp-search input{border:2px solid #d5d9d9;min-height:44px}
.mp-search input:focus{border-color:#f90;box-shadow:0 0 0 3px rgba(255,153,0,.25)}
.mp-search .search-btn{height:44px}
.mp-account,.mp-account b{color:var(--text-strong)}
.mp-account small{color:#565959}
.mp-account:hover{border-color:#d5d9d9;color:var(--text-strong)}
.mp-header .icon-btn,.mp-header .nav-toggle,.mp-cart .icon-label{color:var(--text-strong)}
.mp-header .icon-btn:hover{border-color:#d5d9d9;color:var(--text-strong)}
.mp-header .cart-count{color:#c45500}
