/* Nanegate.TNG Shop – Farben und Schriften wie nanegatetng.com (Tannengrün, Maroon, Gold, Creme, Nacht).
   Aufbau angelehnt an MediaMarkt/Saturn (Kopfzeile, Raster, Produktkarten) und Hilti (Produktseite). */
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url(fonts/Cinzel-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url(fonts/Cinzel-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(fonts/Cinzel-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(fonts/Cinzel-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/Manrope-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/Manrope-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(fonts/Manrope-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(fonts/Manrope-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/Manrope-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/Manrope-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(fonts/Manrope-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(fonts/Manrope-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #163d2e; --green-deep: #0f2b21; --green-dark: #0b1f18;
  --maroon: #7a1f2c; --gold: #c9a24b; --gold-light: #e8cd85; --gold-dark: #9a772a;
  --cream: #f2efe9; --night: #0a0a0b; --white: #fff;
  --ink: #14211b; --ink-dim: rgba(10, 10, 11, .64);
  --line: rgba(22, 61, 46, .14);
  --ok: #2f8a4f; --wait: #d97a1e; --err: #a3182b;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --container: 1360px; --gutter: clamp(16px, 4vw, 48px);
  --r: 16px;
  --shadow: 0 1px 2px rgba(4, 22, 15, .06), 0 10px 28px -16px rgba(4, 22, 15, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 2px; }
.hd :focus-visible, .ft :focus-visible, .hero-tile:focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 16px; border-radius: 999px; transform: translateY(-300%); }
.skip:focus { transform: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons (Gold-Glas wie auf der Website) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-align: center;
  border: 1px solid transparent; transition: transform .2s var(--ease), filter .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  color: var(--night); border-color: rgba(255, 246, 216, .8);
  background: linear-gradient(180deg, #f0da96, #be963e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -10px 18px -12px rgba(90, 60, 10, .55), 0 12px 24px -14px rgba(154, 119, 42, .8);
}
.btn-outline { color: var(--green); border-color: rgba(22, 61, 46, .35); background: var(--white); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(22, 61, 46, .5); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 13px; }

/* ---------- Kopfzeile ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--green-dark); color: var(--cream); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.hd-top { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo img { width: 168px; height: auto; }
.search { flex: 1; display: flex; max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 999px; border: 2px solid transparent; transition: border-color .2s; }
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 20px; color: var(--ink); font-size: 16px; outline: none; }
.search input::placeholder { color: var(--ink-dim); }
.search button { border: 0; background: var(--gold); color: var(--night); width: 52px; border-radius: 0 999px 999px 0; cursor: pointer; display: grid; place-items: center; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 8px 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: rgba(242, 239, 233, .7); border-radius: 8px; min-width: 36px; text-align: center; }
.lang a:hover, .lang a[aria-current] { color: var(--gold-light); }
.lang a[aria-current] { background: rgba(242, 239, 233, .08); }
.cart-link { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(242, 239, 233, .08); color: var(--cream); }
.cart-link svg { width: 26px; height: 26px; }
.cart-link:hover { background: rgba(242, 239, 233, .16); }
.badge { position: absolute; top: -2px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; border: 2px solid var(--green-dark); }
.catbar { background: var(--green); border-top: 1px solid rgba(201, 162, 75, .25); }
.catbar-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catbar-in::-webkit-scrollbar { display: none; }
.catbar a { flex: none; padding: 12px 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--cream); border-bottom: 3px solid transparent; }
.catbar a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ---------- Allgemein ---------- */
main { min-height: 60vh; padding-bottom: 64px; }
.kicker { margin: 28px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.page-title, .sec h2, .pd-info h2, .inquiry h2, .admin h1, .admin h2 { font-family: var(--display); font-weight: 700; color: var(--green); letter-spacing: .02em; line-height: 1.2; }
.page-title { font-size: clamp(26px, 4vw, 40px); margin: 8px 0 20px; }
.sec { margin-top: 56px; }
.sec h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 20px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sec-head a { font-weight: 700; color: var(--maroon); text-decoration: none; }
.sec-head a:hover { text-decoration: underline; }
.crumbs { margin: 20px 0 4px; font-size: 14px; color: var(--ink-dim); }
.crumbs a { color: var(--green); }
.hint { font-size: 13px; color: var(--ink-dim); margin-top: 8px; }
.empty { padding: 32px 0; color: var(--ink-dim); }
.empty a { color: var(--maroon); font-weight: 700; }
.errors { background: #fbe9eb; border: 1px solid rgba(163, 24, 43, .3); color: var(--err); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; }
.errors ul { list-style: disc; padding-left: 18px; }
.note { background: var(--white); border-radius: 12px; padding: 16px; margin-bottom: 16px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-tile {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden;
  min-height: 300px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; color: var(--cream); text-decoration: none; isolation: isolate;
  box-shadow: 0 24px 48px -28px rgba(4, 22, 15, .8); transition: transform .3s var(--ease);
}
.hero-tile:hover { transform: translateY(-3px); }
.hero-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(232, 205, 133, .22), transparent 55%); }
.hero-buy { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.hero-rent { background: linear-gradient(135deg, #8d2635 0%, #4f121b 100%); }
.hero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 320px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1; color: var(--gold-light); }
.hero-sub { font-size: 16px; color: rgba(242, 239, 233, .86); }
.hero-img { flex: none; width: clamp(120px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--white); padding: 14px; box-shadow: 0 0 0 6px rgba(201, 162, 75, .35), 0 20px 40px -18px rgba(0, 0, 0, .7); }
.hero-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* ---------- Kategorien ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 12px 16px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; text-align: center; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.cat-img { width: 100%; aspect-ratio: 1; display: block; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-name { font-weight: 700; color: var(--green); line-height: 1.3; }
.cat-n { font-size: 13px; color: var(--ink-dim); }

/* ---------- Produktraster & Karten ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.card:hover { border-color: rgba(201, 162, 75, .7); box-shadow: 0 1px 2px rgba(4, 22, 15, .06), 0 18px 36px -18px rgba(4, 22, 15, .45); }
.card-img { display: block; aspect-ratio: 1; background: #fff; padding: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badges span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: #fff; }
.badge-kauf { background: var(--green); }
.badge-miete { background: var(--maroon); }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.card h3 { font-size: 15px; font-weight: 600; line-height: 1.35; margin-top: 10px; }
.card h3 a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card h3 a:hover { color: var(--maroon); text-decoration: underline; }
.sku { font-size: 12px; color: var(--ink-dim); letter-spacing: .02em; }
.card-price { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; }
.price { font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: var(--night); line-height: 1.15; }
.price small { font-size: 14px; font-weight: 600; color: var(--ink-dim); }
.price-ask { font-size: 17px; color: var(--green); }
.net { display: block; font-size: 12px; font-weight: 500; color: var(--ink-dim); }
.price-alt { font-size: 13px; font-weight: 600; color: var(--maroon); }
.price-xl { font-size: clamp(32px, 4vw, 42px); }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.avail::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 138, 79, .18); }
.avail.ok { color: var(--ok); }
.avail.wait { color: #a85a10; }
.avail.wait::before { background: var(--wait); box-shadow: 0 0 0 3px rgba(217, 122, 30, .2); }
.card .btn { margin-top: 10px; width: 100%; }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 16px; margin-bottom: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink-dim); text-transform: uppercase; }
.filters select { min-height: 42px; min-width: 170px; padding: 0 12px; border: 1px solid rgba(22, 61, 46, .3); border-radius: 10px; background: #fff; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.count { margin-left: auto; font-weight: 700; color: var(--green); align-self: center; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.trust div { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--green); color: var(--cream); border-radius: var(--r); font-weight: 600; font-size: 15px; line-height: 1.35; }
.trust svg { width: 30px; height: 30px; color: var(--gold); }

/* ---------- Produktseite ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 16px; }
.pd-img { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: clamp(12px, 3vw, 40px); align-self: start; position: sticky; top: 140px; }
.pd-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pd-box { display: flex; flex-direction: column; gap: 12px; }
.pd-brand { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); }
.pd-box h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; color: var(--green); }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: rgba(22, 61, 46, .08); border-radius: 999px; max-width: 360px; margin-top: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; text-align: center; border-radius: 999px; font-weight: 700; color: var(--green); }
.seg input:checked + span { background: var(--green); color: var(--cream); box-shadow: 0 6px 14px -8px rgba(4, 22, 15, .7); }
.seg input:focus-visible + span { outline: 3px solid var(--maroon); outline-offset: 2px; }
.panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.row label, .form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input[type="number"], input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input:not([type]), select, textarea {
  min-height: 46px; padding: 8px 12px; border: 1px solid rgba(22, 61, 46, .32); border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); }
.qty { width: 110px; }
.dates label:not(.qty) { flex: 1 1 150px; }
.rates { border-collapse: collapse; width: 100%; }
.rates th, .rates td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; }
.rates td { text-align: right; font-weight: 700; }
.calc { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: 15px; }
.calc.ok { background: #eaf4ed; }
.calc.ok strong { font-size: 17px; }
.calc.err { background: #fbe9eb; color: var(--err); }
.pd-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.pd-info h2 { font-size: 24px; margin-bottom: 14px; }
.specs { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--ink-dim); background: rgba(22, 61, 46, .03); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.desc { white-space: pre-line; max-width: 70ch; }

/* ---------- Warenkorb ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-group { margin-bottom: 20px; }
.cart-group h2 { font-family: var(--display); color: var(--green); font-size: 20px; margin-bottom: 10px; }
.line { display: grid; grid-template-columns: 80px minmax(0, 1fr) 90px 120px 40px; gap: 14px; align-items: center; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.line img { width: 80px; height: 80px; object-fit: contain; }
.line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-main a { font-weight: 600; text-decoration: none; }
.line-main a:hover { text-decoration: underline; }
.line-main small { color: var(--ink-dim); }
.line-main .err { color: var(--err); font-weight: 600; }
.line-err { border-color: rgba(163, 24, 43, .5); }
.line-price { text-align: right; display: flex; flex-direction: column; }
.line-price strong { font-size: 18px; }
.line-price small { color: var(--ink-dim); font-size: 12px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-dim); }
.x:hover { color: var(--err); border-color: var(--err); }
.summary { position: sticky; top: 140px; padding: 20px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-total { border-top: 2px solid var(--green); margin-top: 6px; padding-top: 12px; font-size: 22px; font-weight: 700; }
.sum-dep { font-size: 14px; color: var(--ink-dim); border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 10px; }
.inquiry { margin-top: 40px; padding: clamp(20px, 4vw, 36px); background: var(--white); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 900px; }
.inquiry h2 { font-size: 26px; margin-bottom: 6px; }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Danke ---------- */
.thanks { margin-top: 32px; padding: clamp(20px, 5vw, 44px); background: var(--white); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.thanks > p { margin-top: 10px; }
.code { font-family: var(--display); font-size: clamp(26px, 5vw, 36px); font-weight: 700; color: var(--maroon); letter-spacing: .06em; }
.thanks-items { margin: 20px 0 0; border-top: 1px solid var(--line); }
.thanks-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.thanks-items small { color: var(--ink-dim); }
.thanks-total { display: flex; justify-content: space-between; font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- Drawer ---------- */
.drawer { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(420px, 100%); padding: 0; border: 0; background: var(--cream); color: var(--ink); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .5); }
.drawer[open] { display: flex; flex-direction: column; }
.drawer::backdrop { background: rgba(10, 10, 11, .5); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: var(--green-dark); color: var(--cream); }
.drawer-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.drawer-head svg { color: var(--gold); }
.drawer-head .x { background: transparent; color: var(--cream); border-color: rgba(242, 239, 233, .3); }
.drawer-body { flex: 1; padding: 20px; font-weight: 600; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; padding: 20px; }

/* ---------- Fußzeile ---------- */
.ft { background: var(--green-dark); color: rgba(242, 239, 233, .82); padding: 48px 0; font-size: 15px; }
.ft-in { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.ft img { width: 180px; margin-bottom: 14px; }
.ft h2 { font-family: var(--display); color: var(--gold-light); font-size: 18px; margin-bottom: 10px; }
.ft a { color: var(--cream); }
.ft a:hover { color: var(--gold-light); }

/* ---------- Admin ---------- */
.admin main { padding-top: 24px; }
.admin-top { justify-content: space-between; flex-wrap: wrap; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-nav a { color: var(--cream); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.admin-nav a:hover { background: rgba(242, 239, 233, .1); color: var(--gold-light); }
.admin h1 { font-size: 28px; margin: 8px 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.admin h2 { font-size: 20px; margin: 24px 0 10px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: 12px; border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table thead th { background: var(--green); color: var(--cream); font-weight: 600; white-space: nowrap; }
.admin-table img { width: 48px; height: 48px; object-fit: contain; }
.admin-table a { color: var(--green); font-weight: 700; }
.admin-table tr.inactive td { opacity: .5; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 20px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.admin-form legend { font-weight: 700; color: var(--green); padding: 0 6px; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; }
.check input { width: 20px; height: 20px; min-height: 0; }
.admin-thumb { width: 160px; height: 160px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pre { white-space: pre-line; }
.copy { font-family: ui-monospace, monospace; font-size: 13px; }
.status { font-family: var(--font); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; letter-spacing: .04em; }
.status-neu { background: var(--wait); }
.status-bestaetigt { background: var(--ok); }
.status-erledigt { background: var(--green); }
.status-abgelehnt { background: var(--err); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .cart-layout, .pd-info, .admin-cols { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .hd-top { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .logo { margin-right: auto; }
  .logo img { width: 140px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-tile { min-height: 220px; }
  .pd { grid-template-columns: 1fr; }
  .pd-img { position: static; }
  html { scroll-padding-top: 170px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 4px 10px 12px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 20px; }
  .badges span { font-size: 10px; padding: 2px 7px; }
  .card .btn { padding: 0 8px; font-size: 12px; gap: 4px; }
  .card .btn svg { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust { grid-template-columns: 1fr; }
  .hero-tile { flex-direction: column-reverse; align-items: flex-start; }
  .hero-img { width: 110px; }
  .filters select { min-width: 0; width: 100%; }
  .filters label { flex: 1 1 100%; }
  .count { margin-left: 0; }
  .line { grid-template-columns: 56px minmax(0, 1fr) 40px; grid-template-areas: "img main x" "img qty price"; gap: 8px 10px; }
  .line img { grid-area: img; width: 56px; height: 56px; }
  .line-main { grid-area: main; }
  .line-qty { grid-area: qty; width: 90px; }
  .line-price { grid-area: price; }
  .line .x { grid-area: x; }
  .ft-in { grid-template-columns: 1fr; }
  .lang a { min-width: 30px; padding: 6px 4px; }
}
@media (max-width: 360px) {
  .logo img { width: 112px; }
  .hd-top { gap: 8px; }
  .cart-link { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
