/* NOMAD BIER – Vintage meets Premium Craft Beer. Keine externen Schriften oder Dienste. */
:root {
  --perg: #f1e6cc; --perg2: #e6d4ae; --gold: #d6ab72; --gold2: #bd9160; --messing: #9a7433; --messing-d: #75571f;
  --braun: #2b1a10; --braun2: #4a3322; --gruen: #1f3a2b; --gruen2: #2c4e3a; --tinte: #1d1d1b; --rot: #8a2b1d;
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Hoefler Text", Georgia, serif;
  --text: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --w: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--text); font-size: 1.125rem; line-height: 1.65; color: var(--braun); background-color: var(--perg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--braun); text-decoration-color: var(--messing); text-underline-offset: .2em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--braun); color: var(--perg); padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.container { width: min(100% - 2.5rem, var(--w)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: .02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.3rem; font-style: italic; }
.zentriert { text-align: center; } .zentriert p { margin-inline: auto; }
.fakten { font-style: italic; color: var(--braun2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Platzhalter: sichtbar markiert, damit sie nicht vergessen gehen */
.ph { background: repeating-linear-gradient(-45deg, rgba(154,116,51,.12) 0 6px, transparent 6px 12px); outline: 1px dashed var(--messing-d); outline-offset: 2px; padding: 0 .25em; }

/* Rahmen: klassische Doppellinie */
.rahmen { border: 1px solid var(--messing); outline: 1px solid var(--messing); outline-offset: -7px; padding: 1.1rem; background: rgba(255, 250, 235, .45); }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--perg); border-bottom: 3px double var(--messing); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.logo img { height: 5.2rem; width: 5.2rem; }
@media (max-width: 62rem) { .logo img { height: 3.8rem; width: 3.8rem; } }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--messing); }
.warenkorb { display: inline-flex; align-items: center; gap: .4rem; }
.warenkorb [data-cart-count] { background: var(--rot); color: #fff; border-radius: 1rem; min-width: 1.5rem; padding: 0 .4rem; text-align: center; font-size: .9rem; line-height: 1.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--messing); color: var(--braun); font: inherit; font-family: var(--display); padding: .5rem .9rem; cursor: pointer; }
@media (max-width: 62rem) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--perg); border-bottom: 3px double var(--messing); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; display: none; }
  .nav.offen { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--perg2); }
}

/* Schaltflächen */
.btn { display: inline-block; font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em; text-decoration: none; background: var(--braun); color: var(--perg); border: 1px solid var(--braun); padding: .75rem 1.5rem; cursor: pointer; box-shadow: inset 0 0 0 3px var(--braun), inset 0 0 0 4px var(--messing); transition: background .2s, color .2s; }
.btn:hover { background: var(--gruen); color: var(--perg); border-color: var(--gruen); }
.btn-hell { background: transparent; color: var(--braun); box-shadow: inset 0 0 0 3px var(--perg), inset 0 0 0 4px var(--messing); border-color: var(--messing); }
.btn-hell:hover { background: var(--braun); color: var(--perg); }
.btn.breit { width: 100%; text-align: center; }
.btn:disabled { opacity: .6; cursor: wait; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rot); text-decoration: underline; cursor: pointer; }

/* Hero */
.hero { position: relative; color: var(--perg); background: var(--gruen) url("../img/damast.jpg") center / cover; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,38,28,.94) 30%, rgba(20,38,28,.72)); }
.hero-innen { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 4.5rem 0; }
.hero h1 { color: #f6ecd2; }
.hero .lead { color: var(--gold); max-width: 30ch; }
.hero .btn { background: var(--gold); color: var(--braun); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 4px var(--braun); }
.hero .btn:hover { background: var(--perg); }
.hero .btn-hell { background: transparent; color: var(--perg); border-color: var(--gold); box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px var(--gold); }
.hero .btn-hell:hover { background: var(--perg); color: var(--braun); }
.hero-etikett { justify-self: center; width: min(100%, 26rem); padding: .7rem; background: var(--gold); border: 2px solid var(--messing); box-shadow: 0 0 0 5px var(--braun), 0 0 0 6px var(--gold), 0 28px 50px rgba(0, 0, 0, .5); transform: rotate(1.6deg); animation: einzug .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-etikett figcaption { text-align: center; font-family: var(--display); color: var(--braun); padding: .6rem 0 .1rem; font-size: 1.1rem; }
@keyframes einzug { from { opacity: 0; transform: translateY(2rem) rotate(-3deg); } to { opacity: 1; transform: rotate(1.6deg); } }
@media (max-width: 52rem) { .hero-innen { grid-template-columns: 1fr; padding: 3rem 0; gap: 2.5rem; } .hero-etikett { order: -1; width: min(80%, 20rem); } }

/* Abschnitte */
.abschnitt { padding: 4.5rem 0; }
.abschnitt.gruen { background: var(--gruen); color: var(--perg); } .abschnitt.gruen a { color: var(--gold); } .abschnitt.gruen h2 { color: #f6ecd2; }
.abschnitt.dunkel { background: var(--braun); color: var(--perg); }
.seitenkopf { padding: 3.5rem 0 1rem; text-align: center; }
.seitenkopf p { margin-inline: auto; }
.orn { display: flex; align-items: center; gap: 1rem; color: var(--messing); max-width: 22rem; margin: 1rem auto 2rem; }
.orn::before, .orn::after { content: ""; flex: 1; border-top: 1px solid var(--messing); }
.orn svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 52rem) { .zwei { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.foto-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1rem; background: repeating-linear-gradient(-45deg, rgba(154,116,51,.12) 0 8px, transparent 8px 16px); font-style: italic; color: var(--braun2); }

/* Bierkarten */
.bier-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 2rem; }
@media (min-width: 52rem) { .bier-raster:has(> .bier-karte:only-child) { grid-template-columns: minmax(0, 1fr); } .bier-raster > .bier-karte:only-child { grid-template-columns: minmax(0, 20rem) 1fr; align-items: center; gap: 2.5rem; } }
.bier-karte { display: grid; gap: 1.2rem; align-content: start; }
.bier-karte h3 a { text-decoration: none; }
.bier-bild img { width: 100%; box-shadow: 0 8px 22px rgba(43, 26, 16, .3); }
.preis-ab { font-size: 1rem; }

/* Detailseite */
.bier-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; padding: 3rem 0 4rem; align-items: start; }
.bier-detail-bild { position: sticky; top: 7rem; } .bier-detail-bild img { width: 100%; }
@media (max-width: 52rem) { .bier-detail { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .bier-detail-bild { position: static; } }
.bier-detail h2 { font-size: 1.6rem; margin-top: 1.6em; }
.daten { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem 1.5rem; margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid var(--messing); }
.daten.kompakt { grid-template-columns: 1fr; gap: .4rem; }
.daten dt { font-style: italic; color: var(--braun2); font-size: 1rem; } .daten dd { margin: 0; font-family: var(--display); font-size: 1.25rem; }
.daten.kompakt div { display: flex; gap: 1rem; } .daten.kompakt dt { min-width: 6rem; } .daten.kompakt dd { font-family: var(--text); font-size: 1.05rem; }
.hinweis { border-left: 3px solid var(--messing); padding-left: 1rem; font-style: italic; }
.tabelle-wrap { overflow-x: auto; }
table.preise { border-collapse: collapse; width: 100%; font-size: 1.05rem; }
.preise th, .preise td { padding: .6rem .7rem; text-align: left; border-bottom: 1px solid var(--gold2); }
.preise thead th { font-family: var(--display); font-weight: 400; border-bottom: 2px solid var(--messing); }
.preise .num { text-align: right; font-weight: 700; }
.qr-url { font-size: .95rem; margin-top: 2rem; } .qr-url code { word-break: break-all; }

/* Karte */
.karte-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 4rem; }
@media (max-width: 62rem) { .karte-layout { grid-template-columns: minmax(0, 1fr); } }
.karte-wrap { border: 1px solid var(--messing); background: var(--perg); box-shadow: 0 10px 30px rgba(43, 26, 16, .25); }
.karte-svg { display: block; width: 100%; height: auto; }
.zone { cursor: pointer; transition: filter .2s; } .zone:hover, .zone.gewaehlt { filter: brightness(.9) saturate(1.3); }
.zone.freiburg:hover, .zone.freiburg.gewaehlt { filter: brightness(1.08); } .zone:focus-visible { outline: none; stroke: var(--rot); stroke-width: 3; }
.k-label { font-family: var(--display); font-style: italic; font-size: 12.5px; fill: var(--braun); paint-order: stroke; stroke: rgba(241,230,204,.8); stroke-width: 3px; }
.k-fr { font-style: normal; font-weight: 700; font-size: 13.5px; }
.k-gross { font-family: var(--display); font-size: 17px; fill: var(--braun); } .k-klein { font-family: var(--text); font-style: italic; font-size: 10.5px; fill: var(--braun2); }
.marker { cursor: pointer; } .marker:focus-visible { outline: none; } .marker:focus-visible path, .marker:hover path { stroke: var(--braun); stroke-width: 2.5; }
#karte-info { background: rgba(255, 250, 235, .55); border: 1px solid var(--messing); outline: 1px solid var(--messing); outline-offset: -7px; padding: 1.5rem; }
#karte-info h2 { font-size: 1.8rem; } .info-bier { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; margin-top: 1rem; } .info-bier h3 { font-size: 1.3rem; }
.offen { list-style: none; padding: 0; margin: 0; } .offen li { margin-bottom: 1rem; } .offen span { display: block; font-size: 1rem; font-style: italic; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.chip { font: inherit; font-size: 1rem; background: transparent; border: 1px solid var(--messing); color: var(--braun); padding: .4rem .9rem; cursor: pointer; } .chip:hover { background: var(--braun); color: var(--perg); }

/* Zeitleiste */
.zeitleiste { position: relative; list-style: none; margin: 2rem auto; padding: 0; max-width: 52rem; }
.zeitleiste::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--messing); }
.zeitleiste li { position: relative; width: 50%; padding: 0 2.5rem 2.5rem 0; }
.zeitleiste li:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 2.5rem; }
.zeitleiste li::after { content: ""; position: absolute; top: .5rem; right: -.6rem; width: 1.1rem; height: 1.1rem; background: var(--perg); border: 3px solid var(--messing); transform: rotate(45deg); }
.zeitleiste li:nth-child(even)::after { right: auto; left: -.55rem; }
.zeit-jahr { font-family: var(--display); font-size: 1.8rem; display: block; }
@media (max-width: 40rem) { .zeitleiste::before { left: .5rem; } .zeitleiste li, .zeitleiste li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2rem 2.2rem; } .zeitleiste li::after, .zeitleiste li:nth-child(even)::after { left: -.05rem; right: auto; } }

/* Shop */
.shop-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
@media (max-width: 62rem) { .shop-raster { grid-template-columns: minmax(0, 1fr); } }
.shop-bier { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; margin-bottom: 1.5rem; } .shop-bier.markiert { box-shadow: 0 0 0 3px var(--gold); }
@media (max-width: 36rem) { .shop-bier { grid-template-columns: 1fr; } .shop-bier img { max-width: 12rem; } }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; } legend { font-family: var(--display); padding: 0; margin-bottom: .4rem; }
.gebinde { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border: 1px solid var(--gold2); margin-bottom: .5rem; cursor: pointer; background: rgba(255, 250, 235, .5); }
.gebinde:has(input:checked) { border-color: var(--braun); box-shadow: inset 0 0 0 1px var(--braun); background: var(--perg2); }
.gebinde input, .auswahl input { accent-color: var(--gruen); width: 1.2rem; height: 1.2rem; flex: none; }
.gebinde-text { flex: 1; display: grid; line-height: 1.3; } .gebinde-text span { font-size: .95rem; color: var(--braun2); }
.gebinde-preis { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.zeile { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.stepper { display: inline-flex; border: 1px solid var(--messing); background: #fffaf0; }
.stepper button { width: 2.8rem; border: 0; background: transparent; font-size: 1.4rem; color: var(--braun); cursor: pointer; } .stepper button:hover { background: var(--perg2); }
.stepper input { width: 3.5rem; text-align: center; border: 0; border-inline: 1px solid var(--messing); font: inherit; background: transparent; color: var(--braun); -moz-appearance: textfield; } .stepper input::-webkit-inner-spin-button { display: none; }
.stepper.klein button { width: 2.2rem; } .stepper.klein input { width: 3rem; }
#kasse { background: rgba(255, 250, 235, .6); border: 1px solid var(--messing); outline: 1px solid var(--messing); outline-offset: -7px; padding: 1.6rem; }
#kasse h2 { font-size: 1.7rem; } #kasse h3 { font-size: 1.25rem; margin-top: 1.2rem; } #kasse h2:focus { outline: none; }
.schritte { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .95rem; flex-wrap: wrap; } .schritte li { padding: .2rem .6rem; border: 1px solid var(--gold2); } .schritte .aktiv { background: var(--braun); color: var(--perg); border-color: var(--braun); }
.positionen { list-style: none; margin: 0; padding: 0; }
.pos { display: grid; grid-template-columns: 1fr auto auto; gap: .3rem .9rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--gold2); }
.pos-name { grid-column: 1 / -1; display: grid; line-height: 1.3; } .pos-name span { font-size: .95rem; color: var(--braun2); } .pos-total { font-family: var(--display); font-size: 1.15rem; justify-self: end; } .menge { justify-self: start; }
.pos .link { grid-column: 1 / -1; justify-self: start; font-size: .95rem; }
.summe { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 1.5rem; border-top: 2px solid var(--messing); padding-top: .8rem; margin: 1rem 0; } .summe strong { font-weight: 700; }
.klein-text { font-size: .95rem; font-style: italic; } .leer { font-style: italic; }
.feld { margin-bottom: 1rem; } .feld label, .feld legend { display: block; font-size: 1rem; margin-bottom: .25rem; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; } @media (max-width: 36rem) { .feld-paar { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; font: inherit; padding: .65rem .8rem; background: #fffaf0; color: var(--braun); border: 1px solid var(--messing); border-radius: 0; }
.fehler input, .fehler textarea { border: 2px solid var(--rot); } .fehlertext { color: var(--rot); font-size: .95rem; margin: .3rem 0 0; }
.auswahl { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .5rem; font-size: 1.05rem; cursor: pointer; } .zustimmung { margin: 1rem 0; font-size: .98rem; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: .9rem 1rem; border: 1px solid var(--messing); background: var(--perg2); margin: 1rem 0; } .meldung p { margin: 0 0 .5rem; }
.meldung.ok { background: #dfe8d3; border-color: var(--gruen2); } .meldung.warn, .fehlertext-box { background: #f3d9cf; border-color: var(--rot); color: #4a1208; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Text-Seiten */
.text-seite { padding: 1rem 0 4rem; max-width: 46rem; } .text-seite h2 { font-size: 1.6rem; margin-top: 1.8em; } .text-seite h3 { font-size: 1.25rem; }

/* Fusszeile */
.fuss { background: var(--braun); color: var(--perg); padding: 3.5rem 0 2rem; border-top: 4px double var(--messing); background-image: linear-gradient(rgba(43,26,16,.93), rgba(43,26,16,.93)), url("../img/damast.jpg"); background-size: cover; }
.fuss a { color: var(--gold); } .fuss a:hover { color: #fff; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; } @media (max-width: 52rem) { .fuss-raster { grid-template-columns: 1fr; gap: 1.8rem; } }
.fuss h2 { font-size: 1.2rem; color: var(--gold); } .fuss ul { list-style: none; margin: 0; padding: 0; } .fuss li { margin-bottom: .4rem; }
.fuss-logo { display: inline-block; background: var(--perg); padding: .4rem; border: 2px solid var(--messing); } .fuss-logo img { width: 6rem; height: 6rem; }
.fuss-unten { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(214, 171, 114, .4); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .hero-etikett { transform: rotate(1.6deg); } }
@media print { .kopf, .fuss, .nav-toggle { display: none; } body { background: #fff; } }

.abschnitt.gruen .rahmen { background: var(--perg); color: var(--braun); }
.daten dd { overflow-wrap: anywhere; }
.preise small { display: block; font-weight: 400; font-size: .9rem; color: var(--braun2); }
.preise td { white-space: nowrap; }
