/* ───────────────────────────────────────────────────────────
   Shop-Design „logo-laune.de“
   Hell, ruhig, bildstark: warmes Weiß, fast schwarze Buttons, kräftige Überschriften.
   Keine externen Schriften (DSGVO) – moderner Systemschrift-Stack.
   ─────────────────────────────────────────────────────────── */
:root {
  --paper: #fbfaf8;
  --paper-2: #f1efeb;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6b6b70;
  --thread: #c0392b;      /* Fehler / Warnung */
  --thread-d: #a02d21;
  --teal: #1f6b4f;        /* Erfolg */
  --mustard: #f1c85c;
  --line: #e3e0da;
  --radius: 10px;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
.ico { flex: none; vertical-align: -.2em; }
a { color: inherit; }
:focus-visible { outline: 3px solid #4d7cff; outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Typografie */
.h1, .h2, .h3, .hero__title, .banner__title { font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .4em; }
.h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.kicker, .eyebrow { font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); margin: 0 0 .8em; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-thickness: 2.5px; }
.textlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.textlink:hover { gap: .75em; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
code { background: var(--paper-2); padding: .1em .4em; border-radius: 5px; font-size: .9em; }
.note { font-size: .85rem; color: var(--ink-2); text-align: center; margin: 18px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.5em; border: 1.5px solid var(--ink); border-radius: 8px;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  background: var(--card); color: var(--ink); transition: background .15s, color .15s, transform .12s;
}
.btn:hover { background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn--primary, .btn--dark { background: var(--ink); color: #fff; }
.btn--primary:hover, .btn--dark:hover { background: #3a3a3d; }
.btn--ghost { background: transparent; }
.btn--small { padding: .5em 1em; font-size: .875rem; gap: .5em; }
.btn--large { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.iconbtn { background: none; border: 1.5px solid var(--line); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; color: var(--ink); }
.iconbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Kopfbereich */
.topbar { background: var(--paper-2); color: var(--ink); font: 500 .82rem var(--sans); text-align: center; padding: .55em 16px; }
.header { position: sticky; top: 0; z-index: 60; background: rgba(251,250,248,.96); backdrop-filter: saturate(1.4) blur(8px); }
.header__row { display: grid; grid-template-columns: auto minmax(220px, 440px) auto; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0 12px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__text { font: 800 2.15rem/1 var(--sans); letter-spacing: -.045em; }
.logo__sub { font: 500 .8rem var(--sans); margin-top: .35em; letter-spacing: 0; padding-left: .2em; }
.search { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 14px; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; padding: .7em 1em .7em 2.7em; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper-2); font: inherit; font-size: .95rem; color: var(--ink); }
.search input:focus { background: #fff; border-color: var(--ink); outline: none; }
.header__tools { display: flex; align-items: center; gap: 22px; }
.iconlink { position: relative; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.iconlink:hover { opacity: .65; }
.cartbtn__count { position: absolute; top: -6px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .72rem/20px var(--sans); text-align: center; }
.cartbtn__count[hidden] { display: none; }
.navrow { border-top: 1px solid var(--line); }
.nav { display: flex; justify-content: center; gap: clamp(8px, 3vw, 44px); }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: .35em; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .95em .2em; }
.nav__item > a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__drop { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); min-width: 270px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 70; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop a { display: block; padding: .55em .8em; border-radius: 7px; text-decoration: none; font-size: .93rem; }
.nav__drop a:hover { background: var(--paper-2); }
.nav__drop .nav__all { font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 7px 7px; padding-top: .8em; }

.flashes { margin-top: 16px; display: grid; gap: 8px; }
.flash { border: 1px solid var(--line); border-radius: 10px; padding: .8em 1.1em; background: #fff; font-weight: 500; }
.flash--error { background: #fdeceb; border-color: #efb8b2; color: var(--thread-d); }
.flash--info, .flash--warn { background: #fff7de; border-color: #ecd68c; }
.flash--success { background: #e6f3ec; border-color: #a6d3bb; }

/* Abschnitte */
.section { padding: 56px 0; }
.section--page { padding: 40px 0 80px; }
.section--tint { background: var(--paper-2); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section__head .h2 { margin: 0; }
.section__head--sub { margin-top: 72px; }
.pagehead { margin-bottom: 28px; }
.pagehead .h1 { margin-bottom: .25em; }

/* Hero */
.hero { display: grid; grid-template-columns: 2.45fr 1fr; background: var(--paper-2); }
.hero__main { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; min-height: 340px; overflow: hidden; }
.hero__copy { position: relative; z-index: 2; padding: 40px 0 40px max(20px, calc((100vw - var(--maxw)) / 2)); }
.hero__title { font-size: clamp(2.2rem, 4.1vw, 3.6rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 .45em; }
.hero__title span { display: block; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.35; max-width: 24em; color: #3b3b3f; margin: 0 0 1.6em; }
.hero__cta { display: grid; justify-items: start; gap: 18px; }
.hero__img { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; object-fit: cover; object-position: 30% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; background: #fff; }
.hero__side img, .hero__side figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__side > img { min-height: 0; }
.hero__side figure { position: relative; margin: 0; min-height: 0; }
.hero__side figcaption { position: absolute; right: 12px; bottom: 8px; font-size: .72rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* Vorteile */
.usp { background: var(--paper); }
.usp__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp__item { display: flex; align-items: center; gap: 16px; padding: 22px 28px; border-left: 1px solid var(--line); }
.usp__item:first-child { border-left: 0; padding-left: 0; }
.usp__item strong { display: block; font-weight: 700; line-height: 1.3; }
.usp__item span { display: block; color: var(--ink-2); font-size: .85rem; }

/* Kategorien (Startseite) */
.catcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.catcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.catcard__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.catcard:hover .catcard__media img { transform: scale(1.04); }
.catcard__body { padding: 16px 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.catcard h3 { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.catcard p { margin: 0 0 12px; color: var(--ink-2); font-size: .95rem; }

/* Banner */
.banner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; background: #f4f2ee; overflow: hidden; min-height: 300px; }
.banner img { position: absolute; inset: 0; width: 66%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.banner__copy { grid-column: 2; position: relative; z-index: 2; padding: 40px max(20px, calc((100vw - var(--maxw)) / 2)) 40px 0; }
.banner__copy p { font-size: 1.15rem; line-height: 1.4; color: #2b2b2e; margin: 0 0 1.4em; }
.banner__title { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0 0 .35em; }
.eyebrow { font-size: .68rem; letter-spacing: .14em; }

/* Referenzen */
.section--refs { padding-bottom: 28px; }
.refs__sub { margin: -.2em 0 22px; }
.refrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 26px; }
.ref { display: grid; grid-template-columns: 38% 1fr; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ref img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; }
.ref__body .btn { white-space: nowrap; padding: .5em .8em; font-size: .8rem; }
.ref__body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
.ref__kicker { font-size: .72rem; color: var(--ink-2); font-weight: 500; }
.ref__title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.refgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ref--big { grid-template-columns: 1fr; }
.ref--big img { aspect-ratio: 4 / 3; object-position: center; height: auto; }
.ref--big .ref__body { padding: 16px 20px 20px; align-items: flex-start; }

/* So entsteht dein Auftrag */
.steps { padding: 26px 0 40px; }
.steps .h2 { font-size: 1.6rem; margin-bottom: .8em; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps__list li { display: flex; align-items: center; gap: 16px; padding: 4px 28px; border-left: 1px solid var(--line); }
.steps__list li:first-child { border-left: 0; padding-left: 0; }
.steps__no { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--paper-2); font-weight: 600; font-size: .9rem; }
.steps__list div { display: flex; flex-direction: column; line-height: 1.35; }
.steps__list span:not(.steps__no) { color: var(--ink-2); font-size: .85rem; }

/* Produktkarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.09); }
.pcard__media { position: relative; aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard__cat { font: 600 .7rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.pcard__name { font: 700 1.1rem/1.25 var(--sans); letter-spacing: -.01em; margin: 0; }
.pcard__teaser { margin: 0; color: var(--ink-2); font-size: .9rem; flex: 1; }
.pcard__price { font: 700 1.05rem var(--sans); margin-top: 10px; }
.pcard__price small { font-weight: 500; color: var(--ink-2); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: 999px; padding: .2em .8em; font: 700 .72rem var(--sans); letter-spacing: .04em; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.tag--dark { background: var(--ink); color: #fff; }

/* Katalog */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: .45em 1.05em; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9rem; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sortform select, .field select { padding: .55em .9em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }

/* Produktseite */
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink); }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pdp__media { position: relative; }
.pdp__frame { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); border: 1px solid var(--line); }
.pdp__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buy { margin: 22px 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.price__now { font: 800 2rem var(--sans); letter-spacing: -.02em; }
.price__note { font-size: .85rem; color: var(--ink-2); }
.variants { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.variants legend { font: 700 .85rem var(--sans); margin-bottom: 8px; padding: 0; }
.vchip { position: relative; }
.vchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vchip span { display: inline-block; padding: .5em 1.1em; min-width: 52px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; background: #fff; }
.vchip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.vchip input:focus-visible + span { outline: 3px solid #4d7cff; outline-offset: 2px; }
.vchip.is-out span { opacity: .45; text-decoration: line-through; border-style: dashed; }
.buy__row { display: flex; gap: 12px; align-items: stretch; }
.stepper { display: inline-flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; flex: none; }
.stepper button { width: 42px; border: 0; background: transparent; font: 600 1.2rem var(--sans); cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 46px; border: 0; background: transparent; text-align: center; font: 700 1rem var(--sans); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--small button { width: 32px; font-size: 1rem; }
.stepper--small input { width: 36px; font-size: .9rem; }
.stockline { margin: 10px 0 0; font-size: .88rem; font-weight: 600; color: var(--thread-d); }
.logohint { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; margin: 0 0 8px; background: var(--paper-2); border-radius: 12px; }
.logohint div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: .92rem; }
.logohint span { color: #3b3b3f; }
.prose { max-width: 68ch; }
.prose h2 { font: 700 1.4rem var(--sans); margin: 1.8em 0 .4em; }
.prose p, .prose li { color: #2c2c2f; }
.pdp__desc { margin-top: 24px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-weight: 500; font-size: .92rem; }
.facts li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; }

/* Warenkorb-Schublade */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(29,29,31,.5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -20px 0 50px rgba(0,0,0,.15); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font: 800 1.4rem var(--sans); letter-spacing: -.02em; }
.drawer__body { overflow-y: auto; flex: 1; display: flex; flex-direction: column; }
.mini-empty { padding: 48px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.mini { list-style: none; margin: 0; padding: 8px 22px; flex: 1; }
.mini__item { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini__thumb { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; display: block; background: var(--paper-2); }
.mini__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini__name { font-weight: 700; text-decoration: none; line-height: 1.25; }
.mini__var { font-size: .85rem; color: var(--ink-2); }
.mini__qty { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.mini__sum { font-weight: 700; white-space: nowrap; }
.mini__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.mini__total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.mini__hint { margin: 0; padding: .6em .9em; background: #fff7de; border-radius: 8px; font-size: .88rem; }
.mini__foot p { margin: 0; }

/* Warenkorbseite */
.cartpage { display: grid; grid-template-columns: 1fr 370px; gap: 36px; align-items: start; }
.cline { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.cline__thumb { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; display: block; background: var(--paper-2); }
.cline__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cline__info { display: flex; flex-direction: column; gap: 2px; }
.cline__name { font: 700 1.1rem var(--sans); text-decoration: none; }
.cline__qty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cline__sum { font: 700 1.1rem var(--sans); min-width: 90px; text-align: right; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; }
.summary .h3 { margin: 0; }
.summary--sticky { position: sticky; top: 150px; }
.sumlist { margin: 0; display: grid; gap: 8px; }
.sumlist > div { display: flex; justify-content: space-between; gap: 12px; }
.sumlist dt { color: var(--ink-2); }
.sumlist dd { margin: 0; font-weight: 600; }
.sumlist__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--ink); font-size: 1.2rem; }
.sumlist__total dt { color: var(--ink); font-weight: 700; }
.sumlist__total dd { font-weight: 700; }
.summary p { margin: 0; }

/* Kasse & Formulare */
.checkout { display: grid; grid-template-columns: 1fr 390px; gap: 40px; align-items: start; }
.block { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 8px; margin: 0 0 24px; background: #fff; min-width: 0; }
.block legend { font: 700 1.2rem var(--sans); padding: 0 10px; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .85rem var(--sans); }
.field { display: block; margin: 0 0 16px; font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--thread-d); background: #fff6f4; }
.field__err { display: block; margin-top: 5px; color: var(--thread-d); font-weight: 600; font-size: .85rem; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cols--zip { grid-template-columns: 140px 1fr; }
.cols--2 { gap: 20px; margin-bottom: 24px; }
.pay { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 12px; cursor: pointer; background: #fff; }
.pay input { margin-top: .35em; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.pay__text { display: flex; flex-direction: column; }
.pay__text small { color: var(--ink-2); font-size: .85rem; }
.pay.is-selected { border-color: var(--ink); background: var(--paper-2); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; font-size: .92rem; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check.has-err { color: var(--thread-d); }
#pay-vorkasse, #pay-paypal { margin: 8px 0 22px; }
#checkout-msg { margin: 0 0 22px; }
.sumitems { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sumitems li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.sumitems__thumb { position: relative; width: 56px; height: 56px; border-radius: 8px; background: var(--paper-2); }
.sumitems__img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.sumitems__qty { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .72rem/22px var(--sans); text-align: center; }
.sumitems__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.sumitems__name small { display: block; color: var(--ink-2); font-weight: 400; }
.sumitems__price { font-weight: 700; font-size: .92rem; }

/* Bestellung & Karten */
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-bottom: 24px; }
.card .h3 { margin-top: 0; }
.card--note { background: #fff7de; border-color: #ecd68c; }
.card--ok { padding: 40px 28px; }
.kv { display: grid; gap: 6px; margin: 0 0 12px; }
.kv > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .65em .5em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table .amt { text-align: right; white-space: nowrap; }
.table tfoot td { border-bottom: 0; }
.table .strong td { font-weight: 700; border-top: 1.5px solid var(--ink); font-size: 1.1rem; }
.status { display: inline-block; padding: .2em .9em; border-radius: 999px; font: 700 .8rem var(--sans); background: var(--mustard); }
.status--bezahlt, .status--versendet { background: var(--teal); color: #fff; }
.status--storniert { background: #d6d3cc; }
.status--pruefen, .status--offen { background: #f4b9a8; }

/* Fußbereich */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; padding: 22px 0 14px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 28px; }
.footer__brand p { margin: 0; font-size: .85rem; color: #4a4a4e; line-height: 1.5; }
.hdw { width: 150px; height: auto; flex: none; }
.footer__nav { display: flex; gap: 0; flex-wrap: wrap; }
.footer__nav a { font-size: .8rem; text-decoration: none; padding: 0 18px; border-left: 1px solid var(--line); color: #4a4a4e; }
.footer__nav a:first-child { border-left: 0; }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0 22px; font-size: .78rem; color: var(--ink-2); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 36px 20px 10px; }
  .hero__img { position: static; inset: auto; width: 100%; height: 280px; -webkit-mask-image: none; mask-image: none; object-position: 40% 50%; }
  .hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 200px; }
  .banner { grid-template-columns: 1fr; }
  .banner img { position: static; width: 100%; height: 240px; -webkit-mask-image: none; mask-image: none; }
  .banner__copy { grid-column: 1; padding: 28px 20px 36px; }
}
@media (max-width: 960px) {
  .pdp, .cartpage, .checkout { grid-template-columns: 1fr; }
  .summary--sticky { position: static; }
  .section { padding: 44px 0; }
  .pdp { gap: 32px; }
}
@media (max-width: 760px) {
  .header__row { grid-template-columns: 1fr auto; gap: 12px 16px; }
  .search { grid-column: 1 / -1; order: 3; }
  .logo__text { font-size: 1.8rem; }
  .nav { justify-content: flex-start; overflow-x: auto; gap: 18px; }
  .nav__item > a { white-space: nowrap; }
  .nav__drop { display: none; }
  .usp__grid, .steps__list { grid-template-columns: 1fr; }
  .usp__item, .steps__list li { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .usp__item:first-child, .steps__list li:first-child { border-top: 0; }
  .ref { grid-template-columns: 34% 1fr; }
  .cline { grid-template-columns: 72px 1fr; }
  .cline__thumb { width: 72px; height: 72px; }
  .cline__qty { flex-direction: row; grid-column: 1 / -1; justify-content: space-between; }
  .cline__sum { grid-column: 1 / -1; text-align: right; }
  .cols, .cols--zip { grid-template-columns: 1fr; }
  .cols--zip { grid-template-columns: 110px 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 0; }
  .buy__row { flex-wrap: wrap; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__nav a:first-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Staffelpreise, Einrichtungsgebühr, Galerie */
.tiers { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.tiers table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tiers td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.tiers td:last-child { text-align: right; font-weight: 700; }
.setupnote { margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pdp__thumbs button { padding: 0; width: 76px; height: 76px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper-2); cursor: pointer; }
.pdp__thumbs button.is-active { border-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cline--fee { background: var(--paper-2); }
.cline__thumb--fee, .sumitems__thumb--fee { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sumitems__thumb--fee { width: 56px; height: 56px; }
.mini__item--fee { grid-template-columns: 1fr auto; }

.galedit { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.galedit__item { display: grid; gap: 4px; width: 92px; font-size: .8rem; }
.galedit__item img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.brandline { margin: -.6em 0 .9em; font-size: .92rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.pcard__brand { display: block; margin-top: -2px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }

/* Beschreibung / Informationen */
.ptabs { margin-top: 56px; }
.ptabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.ptabs__nav button { padding: .8em 1.3em; border: 0; border-bottom: 3px solid transparent; background: none; font: 700 .98rem var(--sans); color: var(--ink-2); cursor: pointer; margin-bottom: -1px; }
.ptabs__nav button.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.ptabs__panel ul { padding-left: 1.2em; }
.spectable { width: 100%; max-width: 900px; border-collapse: collapse; font-size: .95rem; }
.spectable th, .spectable td { padding: 11px 14px; text-align: left; vertical-align: top; }
.spectable tr:nth-child(odd) { background: var(--paper-2); }
.spectable th { width: 36%; font-weight: 700; }
@media (max-width: 640px) { .spectable th { width: 44%; } }

/* Farbe + Größe getrennt wählen */
.variants--split .vchip { display: none; }
.variants--split legend { display: none; }
.variants--split { margin: 0; }
.vsplit { display: grid; gap: 16px; margin-bottom: 16px; }
.vsplit__label { font: 700 .85rem var(--sans); margin-bottom: 8px; }
.vsplit__label strong { font-weight: 600; color: var(--ink-2); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { padding: 3px; width: 42px; height: 42px; border: 2px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.swatch.is-active { border-color: var(--ink); }
.sizebtn { padding: .5em 1em; min-width: 52px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: 600 1rem var(--sans); cursor: pointer; }
.sizebtn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizebtn:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* Farb-/Größen-Matrix */
.swatches{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0 1rem}
.swatches .swatch{width:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:.25rem;background:none;border:2px solid transparent;border-radius:10px;padding:.3rem;cursor:pointer;font:inherit;min-width:64px}
.swatches .swatch span{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid rgba(0,0,0,.25);display:block}
.swatches .swatch em{font-style:normal;font-size:.72rem;color:#555}
.swatches .swatch.is-active{border-color:var(--ink,#111);background:#f1f1f2}
.sizetable{width:100%;border-collapse:collapse;margin:.2rem 0 1rem;font-size:.95rem}
.sizetable th{text-align:left;font-size:.8rem;color:#666;font-weight:600;padding:.4rem .5rem;border-bottom:2px solid #ddd}
.sizetable td{padding:.45rem .5rem;border-bottom:1px solid #eee;vertical-align:middle}
.sizetable tbody tr:nth-child(odd){background:#f6f6f7}
.sizetable .r{text-align:right}
.sizetable .is-out{opacity:.5}
.avail--ok{color:#1a7f37}.avail--low{color:#b25e00}.avail--no{color:#b00020}
.stepper--small{display:inline-flex}
.stepper--small input{width:44px;text-align:center}
.mtotal{display:flex;justify-content:space-between;margin:.4rem 0 .7rem;font-size:1rem}
.tiers tr.is-current td{font-weight:700;background:#fff4d6}
.buy--matrix [data-add-btn]:disabled{opacity:.5;cursor:not-allowed}
.ptabs [data-panel] ul{list-style:none;padding:0;margin:1rem 0 0;max-width:none}
.ptabs [data-panel] ul li{padding:11px 14px;font-size:.95rem;border:0}
.ptabs [data-panel] ul li:nth-child(odd){background:var(--paper-2)}
.careimg{margin:1.4rem 0 .4rem}
.careimg img{display:block;max-width:420px;width:100%;height:auto;margin-top:.5rem}
.careimg img{mix-blend-mode:multiply}
.ptabs__nav{background:#f3f3f5;border-bottom:1px solid #ddd;gap:0}
.ptabs__nav button{border-bottom:0;border-top:3px solid transparent;margin-bottom:0;font-weight:500;color:#555}
.ptabs__nav button.is-active{background:#fff;border-top-color:#1f3a8a;color:#1f3a8a;font-weight:600}
.careimg{margin:1.2rem 0 0}
.careimg img{max-width:380px}
.spectable{width:100%;max-width:none}

.ptabs .prose{max-width:none}
.brandline__no{display:block;font-weight:400;font-size:.85rem;color:#777;margin-top:2px}
.variants--swatch{border:0;padding:0;margin:0 0 1rem}
.variants--swatch legend{font-weight:600;margin-bottom:.4rem;padding:0}
.variants--swatch legend strong{font-weight:400;color:#666}
.vswatch{position:relative;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.3rem;min-width:64px;border:2px solid transparent;border-radius:10px;cursor:pointer}
.vswatch input{position:absolute;opacity:0;pointer-events:none}
.vswatch__dot{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid rgba(0,0,0,.25);display:block}
.vswatch em{font-style:normal;font-size:.72rem;color:#555;text-align:center}
.vswatch:has(input:checked){border-color:var(--ink,#111);background:#f1f1f2}
.vswatch:has(input:focus-visible){outline:2px solid #1f3a8a}
.vswatch.is-out{opacity:.4;cursor:not-allowed}
