/* Block 14 · Footer (V8-BLOCKS §14, R8). Concept: the colophon of a printed guide. Mist ground, logo file at left, four
   link columns, credits and the ° legend at 14 px ink 64 %. The closing word „Kaisermühlen" set across the page was
   removed on 2026-10-26 (David): the page ends on the credits. */
.ft { background: var(--mist); padding-block: var(--sec-pad-dark) var(--sec-pad); }
.ft-in { container-type: inline-size; }
.ft-top { display: grid; grid-template-columns: 282px minmax(0, 1fr); column-gap: var(--gap-grid); align-items: start; }
.ft-side { min-width: 0; display: grid; gap: 40px; align-content: start; }
.ft-logo { display: block; width: 240px; }
/* opening hours under the logo (2026-11-09): day 400 ink 75 %, time ink, at 14 px; the table is the colophon's timetable */
.ft-hours { display: grid; gap: 12px; max-width: 282px; }
.ft-hours table { border-collapse: collapse; font-size: var(--fs-ui); line-height: var(--lh-ui); }
.ft-hours th { padding: 0 16px 6px 0; text-align: left; font-weight: var(--fw-display); color: var(--ink-75); vertical-align: top; }
.ft-hours td { padding: 0 0 6px; color: var(--ink); white-space: nowrap; vertical-align: top; }
.ft-logo img { width: 240px; height: 87px; }
.ft-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .9fr); column-gap: var(--gap-grid); row-gap: 40px; }
.ft-col { min-width: 0; display: grid; gap: 12px; align-content: start; }
.ft-head { font-size: var(--fs-ui); line-height: var(--lh-ui); font-weight: var(--fw-statement); color: var(--ink); }
.ft-head a { color: inherit; text-decoration: none; }
.ft-head a:hover { text-decoration: underline; }
.ft-col ul { display: grid; gap: 6px; }
.ft-col li { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--ink-75); }
.ft-col li a { color: var(--ink-75); text-decoration: none; }
.ft-col li a:hover { color: var(--ink); text-decoration: underline; }
.ft-addr { color: var(--ink); }
.ft-langs { display: flex; gap: 12px; margin-top: 12px; font-size: var(--fs-ui); line-height: var(--lh-ui); }
.ft-langs a { color: var(--ink-75); text-decoration: none; }
.ft-langs a:hover { color: var(--ink); }
.ft-langs [aria-current] { color: var(--ink); font-weight: var(--fw-statement); }
.ft-langs [aria-disabled] { color: var(--ink-64); cursor: default; }

.ft-meta { display: grid; gap: 8px; margin-top: 96px; max-width: 920px; }
.ft-credits, .ft-legend { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--ink-64); }
.ft-credits a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 32%, transparent); }
.ft-credits a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* T: logo above, the four columns across */
@media (max-width: 1199.98px) {
  .ft-top { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
}
/* P: columns stacked; the closing word at 36 px (V8-BLOCKS §8) */
@media (max-width: 809.98px) {
  .ft { padding-top: var(--sec-pad); padding-bottom: calc(var(--bar-h) + 48px + env(safe-area-inset-bottom)); }   /* the credits stand clear of the phone bar */
  .ft-cols { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ft-side { gap: 32px; }
  .ft-hours table { font-size: var(--fs-body); line-height: var(--lh-body); }
  .ft-col li, .ft-head, .ft-langs { font-size: var(--fs-body); line-height: var(--lh-body); }
  .ft-col li a, .ft-langs a, .ft-langs span { display: inline-block; padding-block: 4px; }
  .ft-meta { margin-top: 64px; }
}

/* touch: every footer link a full thumb target (44 px; the lists were 32 px a row at 390, phone pass 2026-10-22) */
@media (pointer: coarse) {
  .ft-col li a, .ft-head a, .ft-langs a { display: inline-flex; align-items: center; min-height: 44px; }
}
