/* PBS · Entwurf A · Wanderkarte vom Hils */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/source-serif-4-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  /* Farbgebung nach den Referenzen: Creme, Zinnober, Anthrazit */
  --paper: #F6EADB;
  --card: #FDF6EE;
  --beige: #E4C4AC;
  --ink: #2C2723;
  --ink-2: #5E554C;
  --frame: #24201D;
  --anthracite: #3A3633;
  --on-dark: #F3E7D8;
  --on-dark-2: #C9BBAA;
  --rule: #DCCAB6;
  --forest: #C3C69A;
  --forest-deep: #6E7543;
  --forest-ink: #2F321D;
  --contour: #A0673A;
  --water: #3F6F8C;
  --water-soft: #DCE4E2;
  --blaze: #D2381A;
  --blaze-dark: #A82A12;
  --wood: #96663F;

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-2) var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-variant-numeric: lining-nums;
  caret-color: var(--blaze);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--beige); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 12px 22px;
  font: 700 1.2rem/1 var(--cond); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border: 2px solid var(--frame); border-radius: 2px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-call { background: var(--blaze); border-color: var(--blaze); color: var(--card); }
.btn-call:hover { background: var(--blaze-dark); border-color: var(--blaze-dark); }
.btn-line { background: var(--card); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }

/* ---------- Header: oberer Kartenrand ---------- */
.sheet-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: var(--paper);
  border-bottom: 2px solid var(--frame);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.blaze { width: 20px; height: 28px; flex: none; }
.blaze rect { fill: var(--card); stroke: var(--frame); stroke-width: 1.6; }
.blaze .blaze-bar { fill: var(--blaze); stroke: none; }
.brand-mark { font: 800 2.1rem/1 var(--cond); letter-spacing: .02em; }
.brand-name { font: 600 .82rem/1.05 var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { font: 600 1.08rem/1 var(--cond); text-transform: uppercase; letter-spacing: .09em; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blaze); }
.top-call {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 1.15rem/1 var(--cond); letter-spacing: .04em; text-decoration: none;
  background: var(--blaze); color: var(--card); padding: 11px 16px; border-radius: 2px;
}
.top-call:hover { background: var(--blaze-dark); }
.top-call svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Hero: das Kartenblatt ---------- */
.hero {
  position: relative;
  height: calc(100svh - 64px);
  min-height: 640px; max-height: 960px;
}
.hero-map {
  position: absolute;
  inset: 18px var(--gutter) 22px;
  border: 1.5px solid var(--frame);
  outline: 3px solid var(--frame); outline-offset: 6px;
  overflow: hidden;
  background: var(--paper);
}
.map { display: block; width: 100%; height: 100%; }
.map .grid line { stroke: var(--ink); stroke-width: 1; }
.map .grid .g10 { opacity: .16; }
.map .grid .g5 { opacity: .07; stroke-dasharray: 4 8; }
.map .tick { font: 600 calc(var(--k, 1) * 12.5px) var(--cond); fill: var(--ink-2); letter-spacing: .04em; paint-order: stroke; stroke: var(--paper); stroke-width: calc(var(--k, 1) * 4px); }
.map .forest { fill: var(--forest); stroke: var(--forest-deep); stroke-width: 1.2; }
.map .contour { fill: none; stroke: var(--contour); stroke-width: 1; opacity: .5; }
.map .contour.major { stroke-width: 1.8; opacity: .62; }
.map .river { fill: none; stroke: var(--water); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map .water { font: italic 600 30px var(--serif); fill: var(--water); letter-spacing: .06em; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.map .range { font: 700 24px var(--cond); fill: var(--forest-ink); opacity: .7; letter-spacing: .12em; }
.map .ring { fill: none; stroke: var(--blaze); stroke-width: calc(var(--k, 1) * 2.2px); stroke-dasharray: calc(var(--k, 1) * 11px) calc(var(--k, 1) * 8px); opacity: .8; transform-box: fill-box; transform-origin: center; }
.map .ring-label { font: 700 max(20px, calc(var(--k, 1) * 14px)) var(--cond); fill: var(--blaze-dark); letter-spacing: .06em; paint-order: stroke; stroke: var(--paper); stroke-width: calc(var(--k, 1) * 5px); stroke-linejoin: round; }
.map .is-off { visibility: hidden; }
@media (min-width: 1081px) { .map .only-m { display: none; } }
@media (max-width: 1080px) { .map .only-d { display: none; } }
.map .town { cursor: pointer; outline: none; }
.map .town .hit { fill: transparent; }
.map .water, .map .range, .map .tick, .map .ring-label { pointer-events: none; }
.map .town .dot { fill: var(--card); stroke: var(--frame); stroke-width: 2.5; transition: fill .2s var(--ease); }
.map .town text { font: 600 max(20px, calc(var(--k, 1) * 14px)) var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.map .town.t-m text { font: 700 max(24px, calc(var(--k, 1) * 16px)) var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.map .town:hover .dot, .map .town.is-active .dot { fill: var(--blaze); }
.map .town:focus-visible .hit { stroke: var(--blaze); stroke-width: 3; }
.map .home-halo { fill: var(--blaze); opacity: .14; }
.map .home-plate { fill: var(--card); stroke: var(--frame); stroke-width: 2.5; }
.map .home-bar { fill: var(--blaze); }
.map .home-label { font: 800 40px var(--cond); text-transform: uppercase; letter-spacing: .04em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 8px; stroke-linejoin: round; }
.map .callout { opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.map .callout.is-on { opacity: 1; }
.map .callout-line { stroke: var(--blaze); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.map .callout-box rect { fill: var(--frame); }
.map .callout-box text { font: 700 22px var(--cond); fill: var(--card); letter-spacing: .05em; text-transform: uppercase; }

/* Kartenrand: Maßstab, Ablesung, Orte außerhalb des Ausschnitts */
.map-margin {
  position: absolute; z-index: 2;
  top: 30px; right: calc(var(--gutter) + 12px);
  width: min(290px, 23vw);
  background: var(--paper); border: 1.5px solid var(--frame);
  padding: 10px 12px 12px;
  display: grid; gap: 8px;
}
.scale { display: flex; align-items: center; gap: 10px; }
.scale[hidden] { display: none; }
.scale-bar { display: flex; height: 8px; border: 1.5px solid var(--frame); flex: none; }
.scale-bar span { flex: 1; background: var(--card); }
.scale-bar span:nth-child(odd) { background: var(--frame); }
.scale-label { font: 600 .82rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.map-readout { font: 600 .9rem/1.35 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.offsheet { border-top: 1.5px solid var(--frame); padding-top: 8px; }
.offsheet[hidden] { display: none; }
.offsheet-title { font: 700 .78rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.offsheet ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.offsheet li { display: flex; align-items: center; gap: 8px; font: 600 .98rem/1.3 var(--font); }
.offsheet li[hidden] { display: none; }
.offsheet li b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.offsheet .dir { width: 14px; height: 14px; flex: none; fill: var(--blaze); }

.title-block {
  position: absolute; z-index: 2;
  left: calc(var(--gutter) + clamp(16px, 2.6vw, 40px));
  top: clamp(40px, 5vh, 64px);
  width: min(580px, 44vw);
  background: var(--paper);
  border: 2px solid var(--frame);
  padding: clamp(22px, 2.4vw, 36px);
}
.title-block h1 { font-size: clamp(2.3rem, 3.7vw, 3.9rem); }
.lede { margin-top: 18px; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.title-meta { margin: 24px 0 0; padding-top: 14px; border-top: 1.5px solid var(--frame); display: grid; gap: 6px; }
.title-meta div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.title-meta dt { font: 700 .82rem/1.5 var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.title-meta dd { margin: 0; font-size: .95rem; line-height: 1.4; }

.inset {
  position: absolute; z-index: 2; margin: 0;
  right: calc(var(--gutter) + 12px);
  bottom: 34px;
  width: min(330px, 23vw);
  background: var(--paper); border: 2px solid var(--frame); padding: 8px;
}
.inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inset figcaption { padding: 8px 2px 0; font: 600 .95rem/1.35 var(--cond); letter-spacing: .03em; }
.inset figcaption span { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-right: .4em; }

/* ---------- Abschnittsköpfe ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(24px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
.section-head p { color: var(--ink-2); max-width: 52ch; font-size: 1.1rem; }

/* ---------- Angebot: Legende mit Bildtafeln ---------- */
.offer { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.offer .section-head, .offer .note { grid-column: 1 / -1; }
.legend-item { display: grid; gap: 20px; align-content: start; margin-bottom: clamp(48px, 6vw, 88px); }
.legend-item--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.legend-item:nth-of-type(2) { grid-column: 1 / span 7; }
.legend-item:nth-of-type(3) { grid-column: 8 / span 5; margin-top: clamp(40px, 8vw, 140px); }
.plate { margin: 0; background: var(--card); border: 2px solid var(--frame); padding: 7px; }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.legend-item--wide .plate img { aspect-ratio: 4 / 3; }
.legend-item--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.legend-item--flip .plate { order: 2; }
/* Bildplatz Foodtruck: gezeichnet, bis das eigene Foto da ist */
.plate--todo .truck { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--paper); outline: 1.5px dashed var(--ink-2); outline-offset: -10px; }
.todo-label { padding: 9px 3px 2px; font: 600 .9rem/1.3 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.truck-ground path { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.truck-smoke path { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; opacity: .55; }
.truck-pipe, .truck-hatch { fill: var(--anthracite); }
.truck-sign { fill: var(--card); stroke: var(--frame); stroke-width: 3; }
.truck-sign-text { font: 800 20px var(--cond); letter-spacing: .14em; fill: var(--ink); }
.truck-body, .truck-cab { fill: var(--card); stroke: var(--frame); stroke-width: 3; stroke-linejoin: round; }
.truck-window { fill: var(--water-soft); stroke: var(--frame); stroke-width: 2; stroke-linejoin: round; }
.truck-grill path { fill: none; stroke-linecap: round; }
.truck-grill path:first-child { stroke: var(--beige); stroke-width: 2; }
.truck-grill path + path { stroke: #C27C48; stroke-width: 6; }
.truck-awning { fill: var(--card); stroke: var(--frame); stroke-width: 2.5; stroke-linejoin: round; }
.truck-stripes { fill: var(--contour); }
.truck-counter, .truck-wheel { fill: var(--frame); }
.truck-band { stroke: var(--anthracite); stroke-width: 6; }
.truck-hub { fill: var(--beige); }
.truck-posts { stroke: var(--frame); stroke-width: 4; }
.legend-text h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.legend-text p { margin-top: 14px; max-width: 48ch; }
.sym { width: 36px; height: 36px; flex: none; }
.sym rect { stroke: var(--frame); stroke-width: 2; }
.sym path { fill: none; stroke: var(--card); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sym-fire rect { fill: var(--contour); }
.sym-fire path { fill: var(--card); stroke: none; }
.sym-warm rect { fill: var(--forest-deep); }
.sym-cold rect { fill: var(--water); }
.sym-truck rect { fill: var(--anthracite); }
.sym-truck circle { fill: var(--anthracite); stroke: var(--card); stroke-width: 2; }
.dishes { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: .98rem; }
.dishes li { position: relative; padding-left: 18px; }
.dishes li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--card); border: 2px solid var(--frame); }
.note { font-size: .92rem; color: var(--ink-2); border-top: 1.5px solid var(--frame); padding-top: 14px; }

/* ---------- Anlässe: Wegweiser im Wald ---------- */
.occasions {
  position: relative;
  background-color: var(--anthracite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='320' viewBox='0 0 480 320'%3E%3Cg fill='none' stroke='%23E4C4AC' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M-40 52.3C-33.3 54.0 -13.3 60.1 0 62.8C13.3 65.5 26.7 67.6 40 68.6C53.3 69.6 66.7 69.1 80 68.9C93.3 68.6 106.7 67.6 120 67.2C133.3 66.8 146.7 66.7 160 66.6C173.3 66.4 186.7 66.9 200 66.3C213.3 65.6 226.7 64.8 240 62.8C253.3 60.9 266.7 57.6 280 54.6C293.3 51.5 306.7 47.2 320 44.6C333.3 42.1 346.7 39.6 360 39.2C373.3 38.8 386.7 40.1 400 42.3C413.3 44.5 426.7 48.8 440 52.3C453.3 55.7 466.7 60.1 480 62.8C493.3 65.5 513.3 67.6 520 68.6'/%3E%3Cpath d='M-40 113.1C-33.3 114.2 -13.3 118.9 0 119.7C13.3 120.5 26.7 119.1 40 117.8C53.3 116.5 66.7 113.5 80 111.7C93.3 109.8 106.7 108.0 120 106.8C133.3 105.6 146.7 105.3 160 104.4C173.3 103.5 186.7 103.0 200 101.3C213.3 99.7 226.7 97.2 240 94.6C253.3 92.1 266.7 88.3 280 86.1C293.3 84.0 306.7 81.8 320 81.9C333.3 82.0 346.7 83.9 360 86.9C373.3 89.8 386.7 95.3 400 99.7C413.3 104.1 426.7 109.8 440 113.1C453.3 116.4 466.7 118.9 480 119.7C493.3 120.5 513.3 118.1 520 117.8'/%3E%3Cpath d='M-40 155.0C-33.3 156.0 -13.3 159.8 0 160.8C13.3 161.9 26.7 162.4 40 161.3C53.3 160.2 66.7 157.2 80 154.0C93.3 150.9 106.7 145.9 120 142.4C133.3 138.9 146.7 135.0 160 133.1C173.3 131.2 186.7 130.7 200 131.0C213.3 131.3 226.7 133.4 240 135.1C253.3 136.7 266.7 139.1 280 140.6C293.3 142.1 306.7 143.2 320 144.0C333.3 144.9 346.7 144.9 360 145.7C373.3 146.5 386.7 147.4 400 148.9C413.3 150.5 426.7 153.0 440 155.0C453.3 157.0 466.7 159.8 480 160.8C493.3 161.9 513.3 161.2 520 161.3'/%3E%3Cpath d='M-40 218.2C-33.3 218.2 -13.3 219.7 0 218.3C13.3 216.8 26.7 213.5 40 209.7C53.3 206.0 66.7 199.9 80 195.7C93.3 191.5 106.7 186.6 120 184.6C133.3 182.6 146.7 182.3 160 183.5C173.3 184.8 186.7 188.7 200 191.9C213.3 195.2 226.7 199.9 240 202.8C253.3 205.7 266.7 208.0 280 209.2C293.3 210.4 306.7 210.0 320 210.2C333.3 210.4 346.7 209.8 360 210.3C373.3 210.9 386.7 212.2 400 213.5C413.3 214.8 426.7 217.4 440 218.2C453.3 219.0 466.7 219.7 480 218.3C493.3 216.8 513.3 211.2 520 209.7' stroke-width='2'/%3E%3Cpath d='M-40 262.1C-33.3 260.5 -13.3 255.9 0 252.6C13.3 249.3 26.7 244.8 40 242.3C53.3 239.8 66.7 237.8 80 237.5C93.3 237.2 106.7 238.9 120 240.7C133.3 242.6 146.7 246.2 160 248.7C173.3 251.2 186.7 254.1 200 255.8C213.3 257.4 226.7 258.2 240 258.7C253.3 259.3 266.7 258.9 280 259.2C293.3 259.5 306.7 259.9 320 260.7C333.3 261.4 346.7 263.1 360 263.9C373.3 264.8 386.7 266.1 400 265.8C413.3 265.4 426.7 264.3 440 262.1C453.3 259.9 466.7 255.9 480 252.6C493.3 249.3 513.3 244.0 520 242.3'/%3E%3Cpath d='M-40 287.7C-33.3 287.9 -13.3 288.6 0 289.0C13.3 289.4 26.7 290.0 40 290.0C53.3 289.9 66.7 289.0 80 288.8C93.3 288.5 106.7 287.7 120 288.5C133.3 289.3 146.7 291.0 160 293.6C173.3 296.3 186.7 300.8 200 304.3C213.3 307.8 226.7 312.4 240 314.7C253.3 317.0 266.7 318.4 280 317.8C293.3 317.3 306.7 314.3 320 311.3C333.3 308.3 346.7 303.2 360 299.7C373.3 296.3 386.7 292.6 400 290.5C413.3 288.5 426.7 287.9 440 287.7C453.3 287.4 466.7 288.6 480 289.0C493.3 289.4 513.3 289.8 520 290.0'/%3E%3C/g%3E%3C/svg%3E");
  border-block: 2px solid var(--frame);
  color: var(--on-dark);
}
.occasions-inner { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.section-head--forest p { color: var(--on-dark-2); }
.signpost { position: relative; display: grid; grid-template-columns: 1fr 1fr; row-gap: 18px; padding-block: 12px 40px; }
.post { position: absolute; left: calc(50% - 13px); top: -40px; bottom: -80px; width: 26px; background: var(--wood); border: 2px solid #5E4029; border-bottom: 0; z-index: 0; }
.arm {
  --shape: polygon(0 0, calc(100% - 40px) 0, 100% 50%, calc(100% - 40px) 100%, 0 100%);
  position: relative; z-index: 1; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  min-height: 92px; padding: 14px 64px 14px 22px;
  color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease);
}
/* Schild als eine Fläche: auf Anthrazit braucht es keinen eigenen Rahmen */
.arm { background: var(--card); clip-path: var(--shape); transition: transform .35s var(--ease), background-color .2s var(--ease); }
.arm-blaze { grid-row: 1 / span 2; width: 14px; height: 40px; border: 1.5px solid var(--frame); background: linear-gradient(var(--card) 0 35%, var(--blaze) 35% 65%, var(--card) 65%); }
.arm-name { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; }
.arm-note { font-size: .98rem; line-height: 1.35; color: var(--ink-2); }
.arm--right { grid-column: 2; margin-left: 6px; margin-right: 8%; }
.arm--left {
  --shape: polygon(40px 0, 100% 0, 100% 100%, 40px 100%, 0 50%);
  grid-column: 1; margin-right: 6px; margin-left: 8%; padding: 14px 22px 14px 64px;
}
.arm:nth-of-type(1) { grid-row: 1; } .arm:nth-of-type(2) { grid-row: 2; } .arm:nth-of-type(3) { grid-row: 3; } .arm:nth-of-type(4) { grid-row: 4; }
.arm--right:hover { transform: translateX(10px); }
.arm--left:hover { transform: translateX(-10px); }
.arm:hover .arm-name { color: var(--blaze-dark); }
.arm:focus-visible { outline: none; }
.arm:focus-visible { background: var(--water-soft); }

/* ---------- Preise: Zeichenerklärung ---------- */
.prices { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.prices .section-head { display: block; margin: 0; position: sticky; top: 110px; }
.prices .section-head p { margin-top: 18px; }
.legend { border: 2px solid var(--frame); background: var(--card); padding: clamp(18px, 2.6vw, 36px); }
.legend-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-items: start; padding-bottom: 14px; border-bottom: 2px solid var(--frame); }
.legend-title { font: 700 1rem/1 var(--cond); letter-spacing: .3em; padding-top: 4px; }
.edition { justify-self: end; max-width: 46ch; border: 1.5px solid var(--frame); padding: 8px 12px; font: 500 .92rem/1.35 var(--cond); letter-spacing: .02em; color: var(--ink); background: var(--paper); }
.edition strong { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.price-table thead th { font: 600 .82rem/1 var(--cond); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); text-align: left; padding: 14px 10px 10px 0; border-bottom: 1px solid var(--frame); }
.price-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .num { text-align: right; padding-right: 0; white-space: nowrap; }
.swatch { display: block; width: 34px; height: 22px; border: 1.5px solid var(--frame); margin-top: 3px; }
.sw-warm { background: var(--forest-deep); }
.sw-fest { background: repeating-linear-gradient(135deg, var(--forest-deep) 0 4px, var(--forest) 4px 8px); }
.sw-cold { background: var(--water); }
.sw-mix { background: linear-gradient(90deg, var(--water) 50%, var(--forest-deep) 50%); }
.sw-grill { background: var(--contour); }
.sw-truck { background: repeating-linear-gradient(135deg, var(--anthracite) 0 4px, var(--beige) 4px 8px); }
.sw-ferkel { background: repeating-linear-gradient(90deg, var(--contour) 0 5px, var(--beige) 5px 10px); }
.p-name { font: 700 1.3rem/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; display: block; }
.p-min { display: block; margin-top: 4px; font: 600 .82rem/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.p-desc { font-size: .97rem; line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.p-price { font: 600 1.45rem/1 var(--font); }
.p-unit { display: block; margin-top: 4px; font: 600 .8rem/1 var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.terms { list-style: none; padding: 18px 0 0; margin: 8px 0 0; border-top: 2px solid var(--frame); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; font-size: .94rem; color: var(--ink-2); }
.terms strong { color: var(--ink); font-weight: 600; }

/* ---------- Anfrage: drei Wegpunkte ---------- */
.request { background: var(--card); border-block: 2px solid var(--frame); }
.request { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(80px, 10vw, 150px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.request-intro { position: sticky; top: 110px; align-self: start; }
.request-intro h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.request-intro p { margin: 18px 0 26px; color: var(--ink-2); max-width: 40ch; font-size: 1.1rem; }

.route { position: relative; padding-left: 76px; --progress: 0; }
.trail { position: absolute; left: 25px; top: 24px; bottom: 150px; width: 4px; background: repeating-linear-gradient(var(--ink) 0 10px, transparent 10px 18px); opacity: .55; }
.trail-fill { position: absolute; inset: 0 0 auto; height: calc(var(--progress) * 100%); background: var(--blaze); transition: height .7s var(--ease); }
.route[data-progress="0"] .trail-fill { height: 0; }
.waypoint { position: relative; border: 0; margin: 0 0 44px; padding: 0; min-width: 0; }
.waypoint legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 18px; font: 800 1.75rem/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.wp-mark {
  position: absolute; left: -76px; top: -4px;
  width: 54px; height: 54px; display: grid; place-items: center;
  font: 800 1.6rem/1 var(--cond); background: var(--card); border: 2px solid var(--frame);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.waypoint[data-done] .wp-mark { background: var(--blaze); border-color: var(--blaze); color: var(--card); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { margin-top: 16px; }
.field > span { font: 600 .9rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.field em { font-style: normal; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
input, select, textarea {
  width: 100%; font: 400 1.05rem/1.3 var(--font); color: var(--ink);
  background: var(--paper); border: 2px solid var(--frame); border-radius: 2px; padding: 12px 14px; min-height: 52px;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #6E645A; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--water); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--blaze-dark); background: #FBE3DA; }
.field-error { color: var(--blaze-dark); font-weight: 600; font-size: .9rem; min-height: 0; }
.field-error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 2px solid var(--frame); border-radius: 2px; font: 700 1.08rem/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; background: var(--paper); transition: background-color .2s var(--ease), color .2s var(--ease); }
.chip span:hover { background: var(--water-soft); }
.chip input:checked + span { background: var(--frame); color: var(--card); }
.chip input:focus-visible + span { outline: 3px solid var(--water); outline-offset: 2px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form-status { font-weight: 600; max-width: 46ch; }
.result { margin-top: 24px; border: 2px solid var(--frame); padding: 18px; background: var(--paper); }
.result pre { white-space: pre-wrap; font: 400 .95rem/1.45 var(--font); margin: 10px 0 16px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Honigtopf-Feld für Bots: für Menschen unsichtbar, nicht per Tab erreichbar */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Gipfelbuch ---------- */
.logbook { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.logbook-page {
  max-width: 820px; margin: 0 auto; padding: clamp(28px, 4vw, 56px);
  background-color: var(--card);
  border: 2px solid var(--frame);
}
.logbook h2 { font-size: clamp(2rem, 4vw, 3rem); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; font: 600 1rem/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.rating svg { width: 120px; height: 22px; fill: var(--contour); }
.logbook blockquote { margin: 28px 0 0; }
.logbook blockquote p {
  font: italic 400 clamp(1.4rem, 2.6vw, 1.95rem)/44px var(--serif);
  background: repeating-linear-gradient(transparent 0 42px, rgba(63, 111, 140, .32) 42px 43.5px, transparent 43.5px 44px);
}
.logbook blockquote footer { margin-top: 16px; font: 600 1rem/1.3 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.text-link { display: inline-block; margin-top: 26px; font: 700 1.1rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--blaze-dark); }

/* ---------- Footer: unterer Kartenrand ---------- */
.sheet-bottom { background: var(--anthracite); color: var(--on-dark); }
.sheet-bottom-inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 6fr); gap: 32px clamp(24px, 4vw, 56px); }
.publisher-name { font: 800 1.6rem/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; color: var(--on-dark); }
.publisher address { font-style: normal; margin-top: 14px; line-height: 1.6; }
.publisher a, .footer-links a { color: var(--on-dark); }
.hours { margin-top: 12px; color: var(--on-dark-2); font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; font: 600 1.05rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .07em; }
.legal { font-size: .9rem; color: var(--on-dark-2); display: grid; gap: 10px; align-content: start; }
.legal strong { color: var(--on-dark); }
.credits a { color: var(--on-dark); }

.mobile-bar { display: none; }

/* ---------- Bewegung: Ringe ziehen auf ---------- */
@media (prefers-reduced-motion: no-preference) {
  .map .ring { animation: ring-in 1.6s var(--ease) both; }
  .map .ring:nth-of-type(2) { animation-delay: .12s; }
  .map .ring:nth-of-type(3) { animation-delay: .24s; }
  .map .home-plate, .map .home-bar { animation: plate-in .9s var(--ease) both; transform-box: fill-box; transform-origin: 50% 100%; }
  @keyframes ring-in { from { transform: scale(.82); opacity: .2; } to { transform: scale(1); opacity: .75; } }
  @keyframes plate-in { from { transform: translateY(-18px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  /* Kopf gestapelt: Titelkasten, Karte, Kartenrand, Nebenkarte */
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; padding: 16px var(--gutter) 28px; }
  .title-block { position: relative; left: auto; top: auto; width: auto; max-width: 760px; order: 1; }
  .hero-map { position: relative; inset: auto; order: 2; height: clamp(300px, 62vw, 480px); margin-top: 22px; outline-offset: 4px; }
  .map-margin { position: relative; top: auto; right: auto; width: auto; order: 3; margin-top: 18px; }
  .offsheet ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .inset { position: relative; right: auto; bottom: auto; order: 4; width: min(420px, 82%); margin: 18px 0 0 auto; }
  .legend-item:nth-of-type(2), .legend-item:nth-of-type(3) { grid-column: 1 / -1; margin-top: 0; }
  .legend-item:nth-of-type(2) .plate, .legend-item:nth-of-type(3) .plate { max-width: 760px; }
  .prices, .request { grid-template-columns: 1fr; }
  .prices .section-head, .request-intro { position: static; }
}

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sheet-top { gap: 12px; padding-block: 8px; }
  .brand-mark { font-size: 1.8rem; }
  .brand-name { font-size: .74rem; }
  .top-call span { display: none; }
  .top-call { padding: 11px 13px; }
  .top-call svg { width: 22px; height: 22px; }

  .title-block { padding: 22px 20px; }
  .title-block h1 { font-size: clamp(2.1rem, 9.4vw, 2.9rem); }
  .lede { font-size: 1.05rem; }
  .actions .btn { width: 100%; }
  .offsheet ul { grid-template-columns: 1fr; }
  .legend-head { grid-template-columns: 1fr; }
  .edition { justify-self: start; }

  .section-head { grid-template-columns: 1fr; }
  .offer { display: block; }
  .legend-item--wide { grid-template-columns: 1fr; }
  .legend-item--flip .plate { order: 0; }
  .dishes { grid-template-columns: 1fr; }

  .signpost { grid-template-columns: 1fr; row-gap: 14px; padding-left: 0; }
  .post { left: 14px; }
  .arm--right, .arm--left {
    --shape: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%);
    grid-column: 1; margin: 0 0 0 40px; padding: 14px 52px 14px 18px;
  }
  .arm--left:hover { transform: translateX(10px); }

  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table tr { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "sw name price" "sw desc desc"; column-gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { padding: 0; border: 0; }
  .price-table td:nth-child(1) { grid-area: sw; }
  .price-table td:nth-child(2) { grid-area: name; }
  .price-table td:nth-child(3) { grid-area: desc; margin-top: 8px; }
  .price-table td:nth-child(4) { grid-area: price; }
  .terms { grid-template-columns: 1fr; }

  .route { padding-left: 60px; }
  .trail { left: 19px; }
  .wp-mark { left: -60px; width: 44px; height: 44px; font-size: 1.35rem; }
  .waypoint legend { font-size: 1.45rem; }
  .fields { grid-template-columns: 1fr; }

  .sheet-bottom-inner { grid-template-columns: 1fr; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 2px solid var(--frame);
  }
  .mobile-bar .btn { min-height: 50px; }
  .mobile-bar { transition: transform .35s var(--ease), visibility 0s; }
  .bar-watch .mobile-bar:not(.is-shown) { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
}
