/* Layout and interface for Damwildgehege Waldenburg, written for this static site. */
:root { color-scheme: light; font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px; color: #0a0a0a; background: #2f3033; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
a { color: #024900; }
a:hover { color: #5e2800; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.container { width: calc(100% - 70px); max-width: 1080px; margin: 0 auto; }
.skip-link { position: fixed; left: 10px; top: -100px; z-index: 100; padding: 12px; background: white; color: #024900; }
.skip-link:focus { top: 10px; }
.page-header { background: #64820c; }
.brand-area { padding: 45px 0; }
.brand { display: inline-block; max-width: 100%; }
.brand-link { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 284px; height: auto; flex-shrink: 0; }
.brand-title { font-size: 36px; font-weight: 100; line-height: 1; margin-left: 20px; color: #e2e2e2; }
.brand-description { color: #e2e2e2; font-size: 13px; font-style: italic; line-height: 19.5px; margin: 0; padding-top: 5px; }
.site-navigation { position: sticky; top: 0; z-index: 20; background: #4a421e; }
.navigation-inner { position: relative; display: flex; min-height: 53px; align-items: stretch; }
.desktop-links { display: flex; align-items: stretch; list-style: none; padding: 0; margin: 0; }
.desktop-links a { display: flex; align-items: center; gap: 14px; min-height: 53px; padding: 20px 15px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 13px; color: #e2e2e2; }
.desktop-links a:hover, .desktop-links a:focus-visible { background: #60552c; color: white; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.home-icon { width: 13px; height: 13px; }
.search-toggle { width: 59px; border: 0; background: #303236; color: #d1d2d3; margin-left: auto; padding: 0; }
.search-toggle:hover { background: #45474b; }
.nav-search { position: absolute; top: 0; bottom: 0; right: 59px; width: min(360px, calc(100% - 59px)); margin: 0; background: #303236; }
.nav-search input { width: 100%; height: 53px; border: 0; padding: 0 18px; color: white; background: transparent; font-size: 15px; }
.nav-search input::placeholder { color: #d1d2d3; }
.menu-toggle { display: none; }
.page-main { background: #7f9a24; }
.main-container { padding-top: 35px; padding-bottom: 35px; }
.page-title { font-size: 24px; line-height: 32.4px; font-weight: 500; margin: 0 0 20px; }
.content { line-height: 1.6; }
.content p { margin: 0 0 20px; }
.content p.lead { font-size: 20px; line-height: 1.6; }
.content h2 { font-size: 20.8px; font-weight: 500; line-height: 1.6; margin: 20.8px 0; }
.content h3 { font-size: 18px; font-weight: 500; margin: 20px 0; }
.content h4 { font-size: 16px; font-weight: 500; }
.content ul, .content ol { padding-left: 30px; margin: 0 0 20px; }
.content figure { margin: 0 0 20px; }
.content figure img { display: block; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.175); }
.content figcaption { font-size: 12px; margin-top: 8px; }
.content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 2; }
.content .price-table { table-layout: fixed; }
.content th, .content td { text-align: left; border: 1px solid black; padding: 7px; vertical-align: top; overflow-wrap: anywhere; }
.content th { font-weight: 700; }
.content .history-table td:first-child { width: 1%; white-space: nowrap; overflow-wrap: normal; }
.content address { font-style: normal; margin: 0 0 20px; }
.content .legal-note { padding: 10px 18px; border-left: 3px solid #4a421e; background: rgba(255,255,255,.25); }
.content button, .search-page button { background: #4a421e; color: white; border: 1px solid #4a421e; border-radius: 3px; padding: 9px 16px; }
.content button:hover { background: #60552c; }
.site-footer { color: #aaa; background: #2f3033; padding: 55px 30px 30px; text-align: center; font-size: 11.5px; line-height: 17.25px; }
.site-footer p { margin: 0; }
.site-footer a { color: #aaa; text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-separator { display: inline-block; margin: 0 10px; }
.scroll-top { position: fixed; right: 16px; bottom: 16px; z-index: 25; width: 38px; height: 38px; border: 0; border-radius: 3px; background: rgba(30,30,30,.7); color: white; display: grid; place-items: center; }
.cookie-notice { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 455px; max-width: calc(100% - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: 22px; border: 1px solid #4a421e; border-radius: 3px; background: white; color: #0a0a0a; box-shadow: 0 2px 12px rgba(0,0,0,.2); font: 14px/1.5 Arial, sans-serif; }
.cookie-notice h2 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; font-weight: 600; }
.cookie-notice p { margin: 0 0 18px; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.cookie-actions a { color: #024900; font-size: 12px; }
.cookie-actions button { padding: 9px 15px; margin-left: auto; background: #4a421e; color: white; border: 0; border-radius: 2px; font-size: 12px; }
.cookie-actions button:hover { background: #64820c; }
.mobile-menu { position: fixed; inset: 0; margin: 0; padding: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; background: #222; color: #eee; overflow: auto; z-index: 60; }
.mobile-menu::backdrop { background: #222; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #454545; }
.menu-heading h2 { margin: 0; font-size: 22px; font-weight: 400; }
.menu-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: white; }
.menu-search { padding: 18px 20px; margin: 0; }
.menu-search input { width: 100%; border: 1px solid #555; border-radius: 3px; background: #333; color: white; padding: 12px; font-size: 16px; }
.mobile-links { list-style: none; padding: 0 20px 20px; margin: 0; }
.mobile-links a { display: block; padding: 15px 10px; border-bottom: 1px solid #454545; color: #eee; text-decoration: none; font-size: 16px; }
.mobile-links a:hover, .mobile-links a[aria-current="page"] { background: #333; color: white; }
.search-page { margin: 0 0 30px; }
.search-page label { display: block; margin-bottom: 10px; }
.search-controls { display: flex; gap: 12px; max-width: 650px; }
.search-controls input { flex: 1; min-width: 0; border: 1px solid #777; border-radius: 3px; padding: 9px 12px; background: white; }
.search-result { border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 15px; margin-bottom: 25px; }
.search-result h2 { margin-bottom: 10px; }
.search-result p { margin-bottom: 0; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 950px) {
  .desktop-links a { padding-left: 10px; padding-right: 10px; font-size: 12px; }
}
@media (max-width: 780px) {
  .has-js .desktop-links, .has-js .search-toggle, .has-js .nav-search { display: none; }
  .has-js .menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 53px; border: 0; padding: 15px; background: transparent; color: #e2e2e2; font-size: 13px; font-weight: 700; }
  .menu-toggle .icon { width: 14px; height: 14px; }
  .desktop-links { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .brand-area { padding-bottom: 75px; }
  .brand { display: block; text-align: center; }
  .brand-link { flex-direction: column; }
  .brand-logo { max-width: 100%; }
  .brand-title { font-size: clamp(28px,9.6vw,36px); line-height: 1; margin: 0; max-width: 100%; }
  .brand-description { width: 100%; }
}
@media (max-width: 480px) {
  .cookie-notice { right: 12px; bottom: 12px; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 18px; }
  .content th, .content td { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root, body, .page-main { background: white; color: black; }
  .site-navigation, .site-footer, .mobile-menu, .cookie-notice, .scroll-top, .search-page { display: none !important; }
  .page-header { background: white; }
  .brand-title, .brand-description { color: black; }
  .brand-area { padding: 0 0 20px; }
  .container { width: 100%; }
  .main-container { padding: 0; }
  .content tr, .content figure { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
