:root {
  --dunkel: #2c1a0c;
  --braun: #6b3e16;
  --kupfer: #a8641f;
  --gold: #c8892f;
  --creme: #fbf6ee;
  --text: #2f2117;
  --grau: #7c6a5a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--creme); color: var(--text); font: 16px/1.55 "Segoe UI", system-ui, sans-serif; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; }
a { color: var(--kupfer); }
.mitte { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

.kopf { background: linear-gradient(120deg, var(--dunkel), var(--braun) 60%, var(--kupfer)); color: #fdf3e4; padding: 24px 0; }
.kopf-inhalt { display: flex; align-items: center; gap: 20px; }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.ueber { margin: 0; letter-spacing: .28em; text-transform: uppercase; font-size: 12px; color: #e8bd7f; }
.kopf h1 { margin: 4px 0 10px; font-size: clamp(26px, 5vw, 40px); }
.privat { display: inline-block; margin: 0; padding: 5px 14px; border: 1px solid #e8bd7f; border-radius: 20px; font-weight: 600; }

.regal { display: block; width: 100%; height: clamp(160px, 28vw, 340px); object-fit: cover; }

.intro { max-width: 680px; padding: 8px 0; }
.intro h2 { color: var(--braun); margin-bottom: 6px; }
.motto { font: italic 20px Georgia, serif; color: var(--kupfer); }

.leiste { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; }
#filter { display: flex; flex-wrap: wrap; gap: 6px; }
button { font: inherit; cursor: pointer; background: var(--kupfer); color: #fff; border: 1px solid var(--kupfer); border-radius: 6px; padding: 9px 18px; }
button:disabled { opacity: .5; cursor: wait; }
#filter button { background: transparent; color: var(--braun); border-color: #d9bd93; border-radius: 20px; padding: 4px 12px; font-size: 14px; }
#filter button[aria-pressed="true"] { background: var(--braun); color: #fff; border-color: var(--braun); }
input, textarea { font: inherit; padding: 8px 10px; border: 1px solid #cdb490; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
#suche { width: 240px; max-width: 100%; }
.zaehler { color: var(--grau); font-size: 14px; }

.liste { columns: 2 380px; column-gap: 36px; }
.region { margin-bottom: 22px; }
.region h2 { display: flex; justify-content: space-between; align-items: center; margin: 0; padding-bottom: 4px; border-bottom: 2px solid var(--gold); color: var(--braun); font-size: 22px; break-after: avoid; }
.anzahl { font: 12px "Segoe UI", sans-serif; background: var(--kupfer); color: #fff; border-radius: 12px; padding: 1px 9px; }
.region > p { margin: 5px 0; font-size: 13px; font-style: italic; color: var(--kupfer); break-after: avoid; }
.flasche { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed #d9bd93; cursor: pointer; break-inside: avoid; }
.flasche input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--kupfer); }
.flasche:has(input:checked) { background: #f3e4cc; }
.name { font-weight: 600; }
.detail { display: block; font-size: 13px; color: var(--grau); }
.preis { white-space: nowrap; font-weight: 600; color: var(--braun); }
.marke { display: inline-block; margin-top: 3px; padding: 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--gold); border-radius: 4px; color: var(--braun); background: #fbe9c8; }
.flasche.reserviert { cursor: default; color: #9a928b; filter: grayscale(1); }
.flasche.reserviert .preis, .flasche.reserviert .detail { color: #9a928b; }
.flasche.reserviert .name, .flasche.reserviert .preis { opacity: .75; }
.status { display: inline-block; margin: 3px 0 0 4px; padding: 0 6px; font-size: 11px; text-transform: uppercase; border-radius: 4px; background: #ddd7d0; color: #55504b; }
.hinweis { border-top: 2px solid var(--gold); padding-top: 8px; font-size: 13px; color: var(--grau); }

.auswahl { position: sticky; bottom: 0; background: var(--dunkel); color: #fdf3e4; padding: 10px 0; }
.auswahl-inhalt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

dialog { width: min(520px, calc(100vw - 24px)); max-height: 92vh; border: 0; border-radius: 12px; padding: 22px; background: var(--creme); color: var(--text); }
dialog::backdrop { background: rgba(30, 17, 8, .65); }
dialog h2 { margin-top: 0; color: var(--braun); }
dialog label { display: block; margin-bottom: 10px; font-size: 14px; }
dialog .haken { display: flex; gap: 8px; align-items: center; }
.paar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.paar.breit-schmal { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.paar.schmal-breit { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.haken input { width: 18px; height: 18px; }
#gewaehlt { padding-left: 18px; margin-bottom: 4px; }
.total { font-weight: 700; margin-top: 0; }
.klein { font-size: 13px; color: var(--grau); }
.fehler { color: #a3261b; font-weight: 600; }
.falle { position: absolute; left: -9999px; }
.knoepfe { display: flex; justify-content: flex-end; gap: 8px; }
button.neben { background: transparent; color: var(--braun); }

footer { margin-top: 32px; padding: 18px 0; background: var(--dunkel); color: #e9d9c2; font-size: 14px; }
footer a { color: #f0c585; }
