/* Design nach der Demo (A:\MadeInSchwerte-Demo): helles Papier, Holz- und Messingtöne. Akzentfarbe im Admin änderbar (--accent). */
:root {
  --bg: #faf7f2;
  --paper: #ffffff;
  --ink: #1f1b16;
  --muted: #6b6258;
  --line: #e6ddd0;
  --sand: #efe7da;
  --accent: #b08d57;
  --accent-dark: #7d5f30;
  --green: #2f4a3a;
  --danger: #a3261c;
  --success: #2f6b45;
  --radius: 14px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, .h3, .h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3, .h3 { font-size: 1.35rem; }
.h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
address { font-style: normal; margin-bottom: 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
section { padding: 72px 0; scroll-margin-top: 80px; }
.section-tight { padding: 28px 0 72px; }
.alt { background: var(--paper); border-top: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent-dark); font-weight: 600; margin: 0 0 .6em; }
.intro, .lead { color: var(--muted); max-width: 40em; }
.lead { font-size: 1.15rem; max-width: 30em; }
.note { font-size: .85rem; color: var(--muted); }
.req { color: var(--danger); }
.empty { padding: 32px; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.prose { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.error-code { font-family: var(--serif); font-size: 4rem; color: var(--accent); margin: 0; line-height: 1; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.page-head { padding: 48px 0 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 1rem var(--sans); padding: 14px 24px; min-height: 48px; border-radius: 999px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-small { padding: 8px 16px; min-height: 40px; font-size: .9rem; }
.btn-block { width: 100%; }
.link, .link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--danger); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--green); color: #fff; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 8px 28px; justify-content: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-right: auto; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.cart-btn:hover { background: var(--sand); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font: 700 .7rem var(--sans); border-radius: 999px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; position: relative; order: 3; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -6px; left: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px -30px rgba(60, 40, 20, .45); background: var(--sand); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.hero-facts b { color: var(--ink); }

/* ---------- Vorteile ---------- */
.trust { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trust-item { text-align: center; font-size: .92rem; color: var(--muted); }
.trust-item .ic { font-size: 1.7rem; }
.trust-item b { display: block; color: var(--ink); margin: 4px 0 2px; }

/* ---------- Produktkarten ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 40px -22px rgba(60, 40, 20, .5); transform: translateY(-3px); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card .ph { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--sand); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .ph img { transform: scale(1.04); }
.card.is-soldout .ph img { opacity: .55; }
.tag { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .94); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font: 600 1.05rem/1.3 var(--sans); margin: 0; }
.card .sub { font-size: .85rem; color: var(--muted); }
.card .price { margin-top: auto; padding-top: 8px; font-weight: 600; }
.card .price small { font-weight: 400; color: var(--muted); }

/* ---------- Chips (Auswahl) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; font: 500 .9rem var(--sans); text-decoration: none; color: var(--ink); }
.chip small { font-weight: 400; opacity: .8; margin-left: 2px; }
.chip:hover { border-color: var(--muted); }
.chips input:checked + .chip, .chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips input:focus-visible + .chip { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips input:disabled + .chip { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.font-0 { font-family: "Great Vibes", cursive; font-size: 1.15rem; }
.font-1 { font-family: "UnifrakturMaguntia", serif; font-size: 1.05rem; }
.font-2 { font-family: "Playfair Display", serif; }
.font-3 { font-family: Oswald, sans-serif; }

/* ---------- Personalisierung ---------- */
.perso { background: var(--sand); }
.perso .wrap, .b2b .wrap, .about .wrap, .care .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.board { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(60, 40, 20, .5); background: #d9c7a8; }
.board img { width: 100%; height: 100%; object-fit: cover; }
.perso .note { margin-top: 10px; }
.engrave { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 12%; color: rgba(55, 28, 8, .82); mix-blend-mode: multiply; text-shadow: 0 1px 0 rgba(255, 235, 200, .35), 0 -1px 1px rgba(40, 20, 5, .35); pointer-events: none; text-align: center; font-family: "Great Vibes", cursive; }
/* Gefräst (Standardlook): vertieft mit Licht- und Schattenkante */
.engrave { text-shadow: 0 1px 0 rgba(255, 235, 200, .45), 0 -1px 1px rgba(40, 20, 5, .45), 0 2px 2px rgba(255, 240, 215, .25); }
/* Lasergravur: dunkel eingebrannt, flach */
.engrave.engrave-laser { color: rgba(38, 18, 6, .92); text-shadow: 0 0 1px rgba(30, 12, 2, .55), 0 0 4px rgba(60, 30, 10, .25); }
.engrave span { width: 100%; font-size: clamp(2.2rem, 6.5vw, 3.8rem); line-height: 1.1; overflow-wrap: anywhere; }
.engrave-small span { font-size: clamp(1.6rem, 4.5vw, 2.8rem); }

/* ---------- Formulare ---------- */
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .opt-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.opt-label span { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="password"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; min-height: 48px; border-radius: 10px; border: 1px solid #d6cbbb; background: #fff;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 141, 87, .3); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .9rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 12px; margin: 14px 0; border: 1px solid; font-size: .95rem; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.alert p:last-child { margin: 0; }
.alert-success { border-color: #9cc8aa; background: #edf7f0; color: var(--success); }
.alert-error { border-color: #e2a8a2; background: #fcefed; color: var(--danger); }
.alert-info { border-color: var(--line); background: var(--paper); }
[hidden] { display: none !important; }

/* ---------- Firmengeschenke ---------- */
.b2b .wrap { align-items: start; }
.points { padding-left: 1.1em; }
.points li { margin: 6px 0; }
.b2b-img { border-radius: 18px; overflow: hidden; margin-top: 22px; }

/* ---------- Bewertungen ---------- */
.reviews { background: var(--paper); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review blockquote { margin: 8px 0 12px; font-style: italic; }
.review figcaption { font-weight: 600; }

/* ---------- Pflege & Über uns ---------- */
.care-img, .about-img { border-radius: 18px; overflow: hidden; background: var(--sand); }
.care-img { aspect-ratio: 4 / 3; }
.about-img { aspect-ratio: 1; }
.care-img img, .about-img img { width: 100%; height: 100%; object-fit: cover; }
.about { background: var(--sand); }
.about .wrap { grid-template-columns: 1fr 1.1fr; }
.about-page { padding-top: 48px; }

/* ---------- Shop ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.search-form { display: flex; gap: 8px; }
.search-form input { min-height: 40px; padding: 8px 12px; width: 200px; }
.filter-bar + .note { margin-top: 16px; }
.filter-bar ~ .grid { margin-top: 24px; }

/* ---------- Produktdetail ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; padding: 10px 0 0; margin: 0; list-style: none; overflow-x: auto; }
.thumbs button { padding: 0; border: 0; background: none; border-radius: 10px; cursor: pointer; opacity: .6; flex: none; }
.thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.detail h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.big-price { font: 600 1.8rem var(--serif); margin: 0 0 2px; }
.price-note { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }
.desc { margin: 16px 0 8px; font-size: .97rem; }
.desc ul, .extra-info ul { padding-left: 1.2em; margin: 0 0 1em; }
.desc li, .extra-info li { margin: 3px 0; }
.delivery { font-size: .92rem; font-weight: 500; margin: 10px 0 0; color: var(--green); }
.extra-info { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 0 16px; margin: 12px 0; font-size: .93rem; }
.extra-info summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.extra-info[open] { padding-bottom: 6px; }
.card .price .unit { font-size: .75rem; }
.availability { font-weight: 600; font-size: .92rem; }
.availability-out_of_stock { color: var(--danger); }
.opt { margin: 18px 0; border: 0; padding: 0; min-width: 0; }
.opt.has-error .opt-label { color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }
.add-row { display: flex; gap: 10px; margin-top: 22px; }
.add-row .btn { flex: 1; }
.qty { width: 84px !important; text-align: center; flex: none; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; font-size: .92rem; }
.checklist li { padding: 3px 0; }

/* ---------- Warenkorb ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.line-items { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: start; padding: 16px; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.line-info a { text-decoration: none; }
.line-info .note { margin: 2px 0 0; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.line-actions .qty { min-height: 40px; padding: 6px 8px; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.summary dl { margin: 12px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; }
.sum-row dd { margin: 0; font-weight: 600; }
.sum-total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.15rem; font-weight: 700; }
.progress { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); appearance: none; }
.progress::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--green); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--green); border-radius: 999px; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { margin: 4px 0; overflow-wrap: anywhere; }

/* ---------- Blog ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-strong { font-weight: 600; text-decoration: none; color: var(--accent-dark); }
.link-strong:hover { text-decoration: underline; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 18px 40px -22px rgba(60, 40, 20, .5); transform: translateY(-3px); }
.post-ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.post-ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.post-card h3 { font: 500 1.25rem/1.25 var(--serif); margin: 0; }
.post-card .sub { color: var(--muted); font-size: .92rem; margin: 0; }
.post-card .more { font-weight: 600; font-size: .9rem; color: var(--accent-dark); margin-top: 4px; }
.post-head { padding-top: 40px; }
.post-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.post-hero { margin: 20px auto 8px; }
.post-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 20px; }
.post-body { padding-top: 24px; padding-bottom: 64px; font-size: 1.05rem; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.4em; }
.post-body h3 { margin-top: 1.2em; }
.account-btn[aria-current="page"] { background: var(--sand); }
.account-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--paper); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Kundenkonto ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 960px; }
.auth-card h1 { margin-bottom: .6em; }
.auth-links { margin-top: 14px; }
.auth-side { padding: 8px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-head .intro { margin: 0; }
.account-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.account-box { margin-bottom: 16px; }
.account-box summary { cursor: pointer; list-style: none; }
.account-box summary::-webkit-details-marker { display: none; }
.account-box summary h2 { display: inline; margin: 0; }
.account-box summary::after { content: "▾"; float: right; color: var(--muted); }
.account-box[open] summary { margin-bottom: 16px; }
.order-list { list-style: none; padding: 0; margin: 0; }
.order-list > li { border-top: 1px solid var(--line); padding: 12px 0; }
.order-top { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.plain { list-style: none; padding: 0; margin: 4px 0 0; }
.btn-danger-text { color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); }
@media (max-width: 900px) { .auth-wrap, .account-layout { grid-template-columns: 1fr; } }

/* ---------- Cookie-Banner ---------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -20px rgba(31, 27, 22, .45); font-size: .9rem; }
.cookie-banner h2 { margin: 0 0 8px; }
.cookie-text p { margin: 0 0 .6em; }
.cookie-details { margin: 6px 0 4px; }
.cookie-details summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.cookie-details .checkbox { margin: 10px 0; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 8px; }
.cookie-actions .btn { padding: 12px 10px; min-height: 46px; font-size: .92rem; }
.cookie-banner .note { margin: 0; }
.edit-mode .cookie-banner { bottom: 90px; }
@media (max-width: 520px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; } .cookie-actions { grid-template-columns: 1fr; } }

/* ---------- Editor-Modus (nur für Admins) ---------- */
.editor-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: calc(100% - 24px); background: #1f1b16; color: #fff; padding: 8px 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); font-size: .85rem; }
.editor-bar.is-editing { border-radius: 18px; }
.editor-bar form { margin: 0; }
.editor-title { font-weight: 700; padding: 0 6px; }
.editor-status { color: #d9d2c7; padding: 0 6px; max-width: 420px; }
.editor-status.is-error { color: #ffb4ab; }
.eb-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid #4a4238; background: transparent; color: #fff; font: 600 .82rem var(--sans); cursor: pointer; text-decoration: none; }
.eb-btn:hover { border-color: #fff; }
.eb-primary { background: var(--accent); border-color: var(--accent); color: #1f1b16; }
.eb-btn:disabled { opacity: .45; cursor: not-allowed; }
.edit-mode .ed-field { outline: 2px dashed rgba(176, 141, 87, .7); outline-offset: 4px; border-radius: 4px; cursor: text; min-height: 1em; min-width: 2em; }
.edit-mode .ed-field:hover { outline-color: var(--accent); background: rgba(176, 141, 87, .08); }
.edit-mode .ed-field:focus { outline: 2px solid var(--accent); background: #fffdf8; color: var(--ink); }
.edit-mode .ed-raw { white-space: pre-wrap; display: block; font-family: var(--sans); font-size: .95rem; line-height: 1.5; }
.edit-mode .topbar .ed-raw, .edit-mode .site-footer .ed-raw { color: var(--ink); }
.edit-mode .ed-field:empty::before { content: "(leer – klicken zum Schreiben)"; color: var(--muted); font-style: italic; }
.edit-mode main { padding-bottom: 90px; }
.ed-image { position: relative; outline: 2px dashed rgba(176, 141, 87, .7); outline-offset: 4px; }
.ed-image-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; background: rgba(31, 27, 22, .88); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .85rem var(--sans); cursor: pointer; }
.logo-img .ed-image-btn { font-size: 0; padding: 6px; } .logo-img .ed-image-btn::after { content: "🖼️"; font-size: .9rem; }
.ed-dialog { border: 0; border-radius: 18px; padding: 0; width: min(860px, calc(100% - 24px)); max-height: 85vh; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.ed-dialog::backdrop { background: rgba(20, 15, 10, .55); }
.ed-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.ed-dialog-head h2 { font-size: 1.2rem; margin: 0; }
.ed-dialog-head .eb-btn, .ed-upload .eb-btn:not(.eb-primary) { color: var(--ink); border-color: var(--line); }
.ed-upload { display: flex; gap: 12px; align-items: center; padding: 14px 20px; flex-wrap: wrap; }
.ed-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 0 20px 20px; overflow-y: auto; max-height: 60vh; }
.ed-media { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--sand); }
.ed-media:hover, .ed-media:focus-visible { border-color: var(--accent); }
.ed-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d2c7; padding: 48px 0 28px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-title { color: #fff; margin: 0 0 10px; font: 500 1.05rem var(--serif); }
.site-footer a { display: block; text-decoration: none; margin: 4px 0; color: #d9d2c7; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a.inline { display: inline; }
.social { display: flex; gap: 16px; }
.site-footer .legal { border-top: 1px solid #3a342c; margin-top: 32px; padding-top: 18px; color: #a39a8e; font-size: .82rem; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .3); }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .site-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 4px 16px; }
  .hero .wrap, .perso .wrap, .b2b .wrap, .about .wrap, .care .wrap, .product-detail, .cart-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-img { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .gallery, .summary { position: static; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .card .body { padding: 10px 12px 14px; }
  .card h3 { font-size: .95rem; }
  .form-card { padding: 20px; }
  .search-form, .search-form input { width: 100%; }
  .line-item { grid-template-columns: 64px 1fr; }
  .line-item img { width: 64px; height: 64px; }
  .line-total { grid-column: 2; }
  .logo span { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
