/* ==========================================================================
   Giselas Wollwerkstatt – Stylesheet
   Warm, handgemacht, ruhig. Schriften: Fraunces (Überschriften), Nunito (Text)
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.069cb90e11a3.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.a2e8d8a2c0aa.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.166202cc391c.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-italic.4c2d0a606f05.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --cream: #faf5ec;
  --cream-2: #f3eadb;
  --paper: #fffdf8;
  --berry: #8b3a4e;
  --berry-dark: #6d2b3c;
  --berry-soft: #f3dcdf;
  --rose: #e9c3c0;
  --rose-soft: #f7e6e2;
  --moss: #6b7f5e;
  --moss-soft: #e3eadb;
  --honey: #d9a441;
  --honey-soft: #f6e7c4;
  --ink: #3a2e2e;
  --ink-soft: #6f605c;
  --ink-muted: #9a8c87;
  --line: #e8dccb;
  --line-strong: #d9c8b2;
  --shadow: 0 1px 2px rgba(58, 46, 46, .06), 0 10px 30px -12px rgba(109, 43, 60, .18);
  --shadow-lift: 0 2px 4px rgba(58, 46, 46, .06), 0 22px 44px -16px rgba(109, 43, 60, .28);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1200px 500px at 110% -10%, rgba(233, 195, 192, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(227, 234, 219, .5), transparent 60%);
  background-attachment: fixed;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
.ico { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }
a { color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--ink); letter-spacing: -.01em; font-variation-settings: "opsz" 72, "SOFT" 60; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.serif { font-family: var(--serif); }
.center { text-align: center; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(44px, 7vw, 92px) 0; }
.section-tight { padding: clamp(28px, 4vw, 52px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); margin-bottom: 10px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(217, 164, 65, .8); outline-offset: 2px; border-radius: 6px; }

/* Handgezogene Unterstreichung */
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .35em; z-index: -1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M2 12 C 30 2, 60 20, 100 10 S 170 2, 198 12' fill='none' stroke='%23d9a441' stroke-width='7' stroke-linecap='round' opacity='.65'/></svg>") no-repeat center / 100% 100%;
}

/* --- Knöpfe --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 10px 24px -10px rgba(109, 43, 60, .55); }
.btn-primary:hover { background: var(--berry-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(109, 43, 60, .6); }
.btn-secondary { background: var(--paper); color: var(--berry); border-color: var(--rose); }
.btn-secondary:hover { border-color: var(--berry); color: var(--berry-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding-inline: 14px; }
.btn-ghost:hover { color: var(--berry); background: var(--berry-soft); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: #c9933a; color: var(--ink); }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn svg { width: 1.15em; height: 1.15em; }

/* --- Kopfzeile ------------------------------------------------------------ */
.topbar { background: var(--berry); color: #fff; font-size: .88rem; text-align: center; padding: 8px var(--gutter); font-weight: 600; letter-spacing: .01em; }
.topbar a { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 236, .88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(232, 220, 203, .8); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; }
.brand-sub { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 14px; white-space: nowrap; border-radius: var(--radius-pill); transition: background .15s, color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--berry-soft); color: var(--berry-dark); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: background .15s; }
.icon-btn:hover { background: var(--berry-soft); color: var(--berry-dark); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-badge { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--honey); color: var(--ink); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cream); }
.cart-badge.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-toggle { display: none; }

/* Handy-Menü */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer[open], .drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(58, 46, 46, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lift); animation: slidein .25s ease; overflow-y: auto; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-panel a { display: block; padding: 14px 16px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.drawer-panel a:hover { background: var(--berry-soft); color: var(--berry-dark); }
.drawer-panel .drawer-group { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin: 14px 16px 4px; }
.drawer-close { align-self: flex-end; }

/* --- Hinweise ------------------------------------------------------------- */
.messages { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 10px; width: min(520px, calc(100% - 32px)); }
.msg { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 12px; animation: toast .35s ease; font-weight: 600; }
.msg.success { background: var(--moss); }
.msg.error { background: var(--berry-dark); }
.msg.info { background: var(--ink); }
.msg svg { width: 22px; height: 22px; flex: none; }
.msg a { color: #fff; }
@keyframes toast { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* --- Held (Startseite) ----------------------------------------------------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(20px, 4vw, 48px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.6rem); font-weight: 600; margin-bottom: .45em; font-variation-settings: "opsz" 144, "SOFT" 80; }
.hero h1 em { font-style: italic; color: var(--berry); font-weight: 500; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.hero-trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero-trust svg { width: 20px; height: 20px; color: var(--moss); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Kategorien ----------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; text-decoration: none; color: var(--ink); text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--rose); color: var(--ink); }
.cat-card .cat-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--berry-soft); color: var(--berry); transition: transform .3s ease; }
.cat-card:hover .cat-icon { transform: rotate(-6deg) scale(1.06); }
.cat-card .cat-icon svg { width: 40px; height: 40px; }
.cat-card:nth-child(3n+2) .cat-icon { background: var(--moss-soft); color: var(--moss); }
.cat-card:nth-child(3n+3) .cat-icon { background: var(--honey-soft); color: #a8761e; }
.cat-card strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.cat-card span { color: var(--ink-soft); font-size: .92rem; line-height: 1.4; }

/* --- Produktkarten -------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--rose); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.card-media img, .card-media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-muted); }
.card-title { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; margin: 0; line-height: 1.25; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-desc { color: var(--ink-soft); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--berry); white-space: nowrap; }
.price-lg { font-size: 2rem; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 800; letter-spacing: .04em; background: var(--paper); color: var(--berry); box-shadow: 0 2px 10px rgba(58, 46, 46, .12); }
.badge-unique { background: var(--honey); color: var(--ink); }
.badge-new { background: var(--moss); color: #fff; }
.badge-sold { background: var(--ink); color: #fff; }
.card.is-sold .card-media img, .card.is-sold .card-media .placeholder { filter: saturate(.3); opacity: .75; }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--moss); }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avail.is-order { color: #a8761e; }
.avail.is-low { color: var(--berry); }
.avail.is-sold { color: var(--ink-muted); }

/* Platzhalter-Illustration, wenn noch kein Foto da ist */
.placeholder { display: grid; place-items: center; background: linear-gradient(145deg, var(--rose-soft), var(--cream-2)); color: var(--berry); position: relative; }
.placeholder svg { width: 46%; height: 46%; opacity: .9; }
.placeholder::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(139, 58, 78, .035) 0 6px, transparent 6px 14px); }
.placeholder.tone-moss { background: linear-gradient(145deg, var(--moss-soft), var(--cream-2)); color: var(--moss); }
.placeholder.tone-honey { background: linear-gradient(145deg, var(--honey-soft), var(--cream-2)); color: #a8761e; }
.placeholder-note { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }

/* --- So läuft's ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: var(--ink); font-family: var(--serif); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem; }
.step h3 { margin-top: 8px; }
.step p { color: var(--ink-soft); margin: 0; }

/* --- Über Gisela (Anriss) ------------------------------------------------- */
.about-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 56px); }
.about-teaser .portrait { aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; background: var(--rose-soft); display: grid; place-items: center; position: relative; }
.about-teaser .portrait svg { width: 70%; height: 70%; }
.about-teaser blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); color: var(--berry-dark); margin: 0 0 1em; line-height: 1.35; font-variation-settings: "opsz" 60, "SOFT" 100; }

/* --- Newsletter-artiges Band ---------------------------------------------- */
.band { background: var(--berry); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { color: rgba(255, 255, 255, .85); margin: 0; }
.band .btn-honey { justify-self: end; }

/* --- Shop-Übersicht ------------------------------------------------------- */
.page-head { padding: clamp(28px, 5vw, 60px) 0 10px; }
.page-head h1 { margin-bottom: .2em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--berry); color: var(--berry-dark); }
.chip.is-active { background: var(--berry); color: #fff; border-color: var(--berry); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 10px 0 26px; }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .count { color: var(--ink-soft); font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); }
.empty svg { width: 72px; height: 72px; margin: 0 auto 14px; color: var(--rose); }

/* --- Formulare ------------------------------------------------------------ */
.input, .select, textarea.input {
  font: inherit; width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(139, 58, 78, .12); }
.input-sm { padding: 9px 12px; width: auto; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f605c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .help { color: var(--ink-soft); font-size: .86rem; margin: 6px 0 0; }
.field .err { color: var(--berry-dark); font-weight: 700; font-size: .88rem; margin: 6px 0 0; }
.field.has-error .input { border-color: var(--berry); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-zip { grid-template-columns: 130px 1fr; }
.check-row { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.check-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--berry); flex: none; }
.choice-cards { display: grid; gap: 10px; }
.choice-cards label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper); cursor: pointer; font-weight: 700; transition: border-color .15s, background .15s; }
.choice-cards label:has(input:checked) { border-color: var(--berry); background: var(--berry-soft); }
.choice-cards input { width: 20px; height: 20px; accent-color: var(--berry); flex: none; }
.choice-cards small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .86rem; }
.form-errors { background: var(--berry-soft); border: 1px solid var(--rose); color: var(--berry-dark); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* --- Produktseite --------------------------------------------------------- */
.crumbs { font-size: .9rem; color: var(--ink-muted); margin: 18px 0 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--berry); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); padding: 14px 0 clamp(40px, 6vw, 80px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); position: relative; }
.gallery-main img, .gallery-main .placeholder { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badge { top: 18px; left: 18px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; border-radius: 14px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--cream-2); cursor: pointer; transition: border-color .15s, transform .15s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-active, .thumbs button:hover { border-color: var(--berry); }
.buy h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: .25em; }
.buy .card-cat { margin-bottom: 8px; display: block; }
.buy .price-row { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 4px; flex-wrap: wrap; }
.buy .tax-note { color: var(--ink-muted); font-size: .85rem; }
.buy .avail { font-size: .95rem; margin-bottom: 18px; }
.buy-box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin: 18px 0 26px; box-shadow: var(--shadow); }
.opt-group { margin-bottom: 18px; }
.opt-group .label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.opt-group .label span { color: var(--ink-soft); font-weight: 600; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.pills span { display: inline-block; padding: 10px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 700; font-size: .95rem; transition: all .15s; }
.pills input:checked + span { background: var(--berry); color: #fff; border-color: var(--berry); }
.pills input:focus-visible + span { outline: 3px solid rgba(217, 164, 65, .8); outline-offset: 2px; }
.pills label:hover span { border-color: var(--berry); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--paper); overflow: hidden; }
.qty button { font: inherit; font-weight: 800; font-size: 1.1rem; width: 44px; height: 46px; border: 0; background: transparent; color: var(--berry); cursor: pointer; }
.qty button:hover { background: var(--berry-soft); }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; font-weight: 700; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 200px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.fact { background: var(--cream-2); border-radius: 14px; padding: 14px 16px; }
.fact strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.fact span { font-weight: 600; }
.prose p { color: var(--ink); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.perks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }
.perks svg { width: 22px; height: 22px; color: var(--moss); flex: none; }

/* --- Körbchen ------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.line-media { width: 110px; height: 110px; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.line-media img, .line-media .placeholder { width: 100%; height: 100%; object-fit: cover; }
.line-title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 2px; }
.line-title a { color: var(--ink); text-decoration: none; }
.line-variant { color: var(--ink-soft); font-size: .92rem; margin: 0 0 10px; }
.line-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.line-remove { background: none; border: 0; color: var(--ink-muted); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--berry); }
.line-total { text-align: right; }
.line-total .price { font-size: 1.2rem; }
.line-total .each { color: var(--ink-muted); font-size: .85rem; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.summary h2 { font-size: 1.4rem; margin-bottom: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 14px; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary .total { border-top: 1.5px dashed var(--line-strong); padding-top: 14px; margin-top: 4px; }
.summary .total dt { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.summary .total dd { font-family: var(--serif); font-size: 1.5rem; color: var(--berry); }
.summary .note { color: var(--ink-muted); font-size: .84rem; margin: 10px 0 0; }
.progress { margin: 0 0 18px; }
.progress p { margin: 0 0 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.progress .bar { height: 10px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), #8aa07a); border-radius: 6px; transition: width .6s ease; }
.progress.is-done p { color: var(--moss); }

/* --- Kasse ---------------------------------------------------------------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 30px); margin-bottom: 18px; }
.panel h2 { font-size: 1.35rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.panel h2 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--honey); color: var(--ink); font-size: .95rem; display: grid; place-items: center; font-weight: 700; flex: none; }
.mini-lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.mini-line .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.mini-line .thumb img, .mini-line .thumb .placeholder { width: 100%; height: 100%; object-fit: cover; }
.mini-line strong { display: block; font-weight: 700; }
.mini-line small { color: var(--ink-soft); }
.legal-hint { font-size: .85rem; color: var(--ink-soft); margin-top: 12px; }

/* --- Danke ---------------------------------------------------------------- */
.thanks { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(30px, 5vw, 60px) 0; }
.thanks .hearts { width: 120px; height: 120px; margin: 0 auto 10px; color: var(--berry); }
.thanks-box { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); margin-top: 28px; box-shadow: var(--shadow); }
.bank { background: var(--cream-2); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .98rem; margin: 14px 0; }
.bank dt { color: var(--ink-soft); } .bank dd { margin: 0; font-weight: 700; word-break: break-all; }
.order-lines { width: 100%; border-collapse: collapse; margin: 10px 0; }
.order-lines td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-lines td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.order-lines tr:last-child td { border-bottom: 0; }

/* --- Seiten (Über, Rechtliches) ------------------------------------------- */
.page { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) 0 clamp(40px, 6vw, 80px); }
.page-wide { max-width: 980px; }
.page h1 { margin-bottom: .3em; }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page h3 { font-size: 1.15rem; margin-top: 1.4em; }
.page .lead { margin-bottom: 1.6em; }
.about-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 36px; }
.about-hero .portrait { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; background: var(--rose-soft); display: grid; place-items: center; box-shadow: var(--shadow); }
.about-hero .portrait svg { width: 70%; height: 70%; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 30px 0; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.value svg { width: 34px; height: 34px; color: var(--berry); margin-bottom: 10px; }
.value strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.placeholder-legal { background: var(--honey-soft); border: 1px dashed #d9a441; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin: 18px 0; }
.info-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.info-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table td:first-child { color: var(--ink-soft); width: 40%; }

/* --- Fußzeile ------------------------------------------------------------- */
.footer { margin-top: clamp(40px, 6vw, 80px); background: var(--ink); color: rgba(255, 255, 255, .8); padding: clamp(40px, 5vw, 64px) 0 28px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14' preserveAspectRatio='none'><path d='M0 14 C 5 0, 15 0, 20 14 C 25 0, 35 0, 40 14 Z' fill='%23faf5ec'/></svg>") repeat-x; background-size: 40px 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .brand-sub { color: rgba(255, 255, 255, .6); }
.footer p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; color: var(--rose); }

/* --- Werkstatt (Verwaltung) ----------------------------------------------- */
.ws { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 26px 0 60px; align-items: start; }
.ws > *, .ws-grid > *, .cart-layout > *, .checkout > *, .product > * { min-width: 0; }
.ws-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.ws-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.ws-nav a:hover { background: var(--cream-2); }
.ws-nav a.is-active { background: var(--berry-soft); color: var(--berry-dark); }
.ws-nav .count-pill { background: var(--berry); color: #fff; font-size: .75rem; min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; padding: 0 6px; }
.ws-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ws-head h1 { font-size: 1.9rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--berry); line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--cream); }
.table a { font-weight: 700; text-decoration: none; }
.table .thumb { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.table .thumb img, .table .thumb .placeholder { width: 100%; height: 100%; object-fit: cover; }
.table .thumb .placeholder svg { width: 55%; height: 55%; }
.table .actions { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.table form { display: inline; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 800; background: var(--cream-2); color: var(--ink-soft); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-neu { background: var(--honey-soft); color: #8a5f10; }
.status-bezahlt { background: var(--moss-soft); color: var(--moss); }
.status-verschickt { background: #dfe7f1; color: #3f5f86; }
.status-abgeschlossen { background: var(--cream-2); color: var(--ink-soft); }
.status-storniert { background: var(--berry-soft); color: var(--berry-dark); }
.ws-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 12px 0; }
.photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--cream-2); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .photo-actions { position: absolute; inset: auto 0 0 0; display: flex; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(58, 46, 46, .7)); }
.photo .photo-actions button { font: inherit; font-size: .75rem; font-weight: 700; border: 0; border-radius: 8px; padding: 5px 8px; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.photo .is-title { position: absolute; top: 6px; left: 6px; background: var(--honey); color: var(--ink); font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.todo { background: var(--honey-soft); border: 1px solid #ecd39a; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.todo h3 { font-size: 1.05rem; margin-bottom: 8px; }
.todo ul { margin: 0; padding-left: 18px; }
.todo li { margin-bottom: 4px; }
.login-card { max-width: 420px; margin: clamp(30px, 8vw, 90px) auto; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); text-align: center; }
.login-card form { text-align: left; margin-top: 20px; }
.login-card .brand { justify-content: center; margin: 0 0 12px; }
.file { font: inherit; }
.hint-box { background: var(--moss-soft); border-radius: 14px; padding: 14px 16px; color: #3f5230; font-size: .93rem; }
.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.fieldset legend { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; padding: 0; }

/* --- Responsiv ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid, .about-teaser, .about-hero, .band, .ws-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; order: -1; }
  .band .btn-honey { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product, .cart-layout, .checkout { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
  .ws { grid-template-columns: 1fr; }
  .ws-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .ws-nav a { padding: 9px 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .hide-m { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 66px; gap: 8px; }
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 18px 12px 14px; }
  .cat-card .cat-icon { width: 60px; height: 60px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 1.05rem; }
  .card-desc { display: none; }
  .price { font-size: 1.1rem; }
  .badge { top: 10px; left: 10px; padding: 5px 10px; font-size: .72rem; }
  .avail { font-size: .78rem; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 6px; }
  .topbar { font-size: .8rem; padding: 7px 12px; }
  .line { grid-template-columns: 84px 1fr; }
  .line-media { width: 84px; height: 84px; }
  .line-total { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .field-row { grid-template-columns: 1fr; }
  .field-row-zip { grid-template-columns: 120px 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-trust { gap: 12px 18px; font-size: .88rem; }
  .messages { bottom: 14px; }
  .thumbs button { width: 64px; height: 64px; }
  .buy-row .btn { min-width: 0; }
  .table th, .table td { padding: 10px 12px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .footer, .topbar, .messages, .btn { display: none !important; }
  body { background: #fff; }
}
