/* Tischlerei Otto - final detail corrections, 15 November 2026. */
/* Keep the footer button and links on precisely the same text baseline. */
.site-footer .footer-nav {
  align-items: baseline;
  gap: 0 22px;
}
.site-footer .footer-nav > li {
  display: flex;
  align-items: baseline;
  margin: 0;
  padding: 0;
}
.site-footer .footer-nav > li > a,
.site-footer .footer-nav > li > .appearance-footer-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 12px/20px var(--sans);
  letter-spacing: 0;
  vertical-align: baseline;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.site-footer .footer-nav > li > a:hover,
.site-footer .footer-nav > li > button:hover { color: var(--palette-taupe); }
/* Keep existing topic spacing. Paper does not extend behind header or footer. */
#main-content {
  background-color: #eeeee5;
  background-image: url('otto-zeichenpapier-architektur.webp');
  background-size: 580px 592px;
  background-repeat: repeat;
}
@media (min-width: 833px) {
  .hero { min-height: 848px; display: flex; align-items: center; }
  .hero > .hero__grid { width: min(calc(100% - var(--gutter)*2), var(--page-width)); }
}
@media (max-width: 560px) {
  .site-footer .footer-nav {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: clamp(16px, 5vw, 24px);
    row-gap: 2px;
    align-items: baseline;
  }
}
html[data-otto-contrast="more"] #main-content { background-image: none; }
@media (forced-colors: active) {
  #main-content { background: Canvas; color: CanvasText; }
  .site-footer .footer-nav > li > a,
  .site-footer .footer-nav > li > button { color: LinkText; }
}
@media print { .hero { min-height: 0; display: block; } #main-content { background-image: none; } }

/* Dimensions are a decorative overlay only; OFF for a fresh visit. */
.otto-dimension-target { position: relative; }
.otto-dimension-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; overflow: visible; pointer-events: none; z-index: 5;
  display: none;
}
html[data-otto-dimensions="true"] .otto-dimension-overlay { display: block; }
.otto-dimension-overlay path { fill: none; stroke: var(--frame); stroke-width: .75; vector-effect: non-scaling-stroke; }
.otto-dimension-overlay text { fill: var(--ink); font: 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .02em; }
#appearance-dimensions-row { margin-top: 0; border-top: 0; }
#appearance-dimensions-row input { accent-color: var(--palette-taupe); }
@media (forced-colors: active), print { .otto-dimension-overlay { display: none !important; } }
