/* Landgut Romange · a self-contained, responsive static website. */
:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --white: #fffef9;
  --ink: #24352c;
  --muted: #59665c;
  --green: #315640;
  --green-dark: #233e30;
  --green-light: #e8eddf;
  --line: #d7ddcf;
  --warm-line: #dedbcf;
  --accent: #9b642d;
  --focus: #bb782c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --content: 1180px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
body.modal-open { overflow: hidden; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, summary { cursor: pointer; }
a { color: var(--green); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
button, input, textarea, select { max-width: 100%; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #dce8c9; color: var(--green-dark); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { margin-bottom: 1.35rem; font-size: clamp(2.3rem, 6vw, 4.7rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { margin-bottom: 1.15rem; font-size: clamp(1.85rem, 3.8vw, 2.85rem); line-height: 1.16; letter-spacing: -.028em; }
h3 { margin-bottom: .7rem; font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.25; letter-spacing: -.015em; }
p { margin-bottom: 1.15rem; }
hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.container { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .65rem; left: .65rem; z-index: 1000; padding: .8rem 1.2rem; background: var(--white); color: var(--green-dark); transform: translateY(-180%); box-shadow: 0 3px 15px #0003; }
.skip-link:focus { transform: translateY(0); }

/* The navigation expands in the document flow on small screens. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green-dark); color: var(--white); border-bottom: 1px solid #ffffff17; }
.header-inner { width: min(var(--content), calc(100% - 2 * var(--gutter))); min-height: 82px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; }
.brand { display: block; flex: 0 1 auto; padding-block: .7rem; color: var(--white); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { display: block; font: 400 clamp(1.3rem, 3.8vw, 1.7rem)/1.15 var(--serif); letter-spacing: -.025em; }
.brand-tagline { display: block; margin-top: .25rem; font-size: .62rem; line-height: 1.35; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #d3dccb; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 48px; min-height: 46px; gap: .6rem; padding: .5rem .65rem; border: 1px solid #ffffff4d; border-radius: 3px; background: transparent; color: var(--white); font-size: .82rem; }
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle:hover { background: #ffffff14; }
.nav-toggle:focus-visible, .site-header a:focus-visible, .site-header summary:focus-visible { outline-color: #efc87f; }
.site-nav { display: none; flex: 1 0 100%; align-items: stretch; flex-direction: column; gap: .2rem; padding-block: .6rem 1.15rem; max-height: calc(100dvh - 82px); overflow-y: auto; }
.menu-open .site-nav { display: flex; }
.site-nav > a, .site-nav > button, .nav-more > summary { display: flex; align-items: center; min-height: 46px; padding: .65rem .8rem; border: 0; border-radius: 3px; color: #f4f5ed; background: transparent; font-size: .91rem; line-height: 1.35; text-decoration: none; }
.site-nav > a:hover, .site-nav > button:hover, .nav-more > summary:hover, .site-nav > a[aria-current="page"] { background: #ffffff12; color: #fff; text-decoration: none; }
.site-nav > a[aria-current="page"] { box-shadow: inset 3px 0 #d4dfba; }
.nav-more { position: relative; }
.nav-more > summary { gap: .65rem; list-style: none; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.nav-more[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.nav-more-links, .nav-more > div, .nav-more > ul { margin: 0; padding: .2rem 0 .4rem .9rem; list-style: none; }
.nav-more-links a, .nav-more > div a, .nav-more > ul a { display: flex; align-items: center; min-height: 44px; padding: .55rem .8rem; border-radius: 3px; color: #e4eadd; text-decoration: none; font-size: .88rem; }
.nav-more-links a:hover, .nav-more > div a:hover, .nav-more > ul a:hover, .nav-more a[aria-current="page"] { background: #ffffff15; }
.site-nav .nav-lang { align-self: flex-start; margin-top: .4rem; min-width: 48px; justify-content: center; border: 1px solid #ffffff4d; font-weight: 600; font-size: .8rem; letter-spacing: .06em; }
.site-nav .nav-contact { background: #e3ebd4; color: var(--green-dark); }
.site-nav .nav-contact:hover { background: #f3f5e9; color: var(--green-dark); }

/* An editorial opening: quiet copy and an actual photograph of the property. */
.hero { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: clamp(2.3rem, 6vw, 4.5rem); display: grid; gap: 2.25rem; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: block; margin-bottom: 1.1rem; color: var(--green); font-size: .68rem; line-height: 1.5; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { max-width: 13ch; }
.lede { max-width: 52ch; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-block: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .65rem; max-width: 100%; padding: .8rem 1.35rem; border: 1px solid var(--green); border-radius: 3px; background: var(--green); color: #fff; font-size: .88rem; line-height: 1.35; font-weight: 550; text-align: center; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; text-decoration: none; }
.button svg { flex-shrink: 0; width: 18px; height: 18px; }
.button-secondary { background: transparent; color: var(--green); border-color: #8b9d89; }
.button-secondary:hover { background: var(--green-light); color: var(--green-dark); border-color: var(--green); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5rem; font-size: .9rem; font-weight: 550; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding: 1.05rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.hero-facts > * { margin: 0; }
.hero-facts strong { display: block; color: var(--ink); font-weight: 600; }
.hero-image { display: block; width: 100%; min-width: 0; overflow: hidden; border-radius: var(--radius); background: #d5dec9; aspect-ratio: 4/3; object-fit: cover; }
.hero-image img, .hero-image picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption { display: none; }
.hero-image-wrap { position: relative; min-width: 0; }
.hero-slideshow { position: relative; isolation: isolate; }
.hero-slideshow .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slideshow .hero-slide.is-visible { opacity: 1; }
.slideshow-toggle { position: absolute; right: .8rem; bottom: .8rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px; padding: .45rem .75rem; border: 1px solid #ffffff70; border-radius: 3px; background: #233e30eb; color: #fffef9; font-size: .76rem; line-height: 1.2; box-shadow: 0 2px 8px #0002; }
.slideshow-toggle:hover { background: var(--green-dark); }
.slideshow-toggle:focus-visible { outline: 3px solid #efc87f; outline-offset: 3px; }
.slideshow-toggle svg { width: 18px; height: 18px; }
.image-caption { margin: .7rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }

/* Content pages share a measured line length and flexible columns. */
.section { padding-block: clamp(2.8rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-soft { background: var(--green-light); }
.section-heading { max-width: 680px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); }
.section-heading .eyebrow { margin-bottom: .7rem; }
.split { display: grid; gap: 2rem; align-items: center; }
.split > * { min-width: 0; }
.prose { max-width: 68ch; overflow-wrap: break-word; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { padding-left: .25rem; margin-bottom: .55rem; }
.prose a { overflow-wrap: anywhere; }
.prose blockquote { margin: 1.8rem 0; padding: .1rem 0 .1rem 1.25rem; border-left: 2px solid var(--green); font: italic 1.25rem/1.6 var(--serif); }
.image-frame { overflow: hidden; border-radius: var(--radius); background: var(--green-light); }
.image-frame img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.image-frame figcaption { padding: .8rem 1rem; font-size: .76rem; color: var(--muted); }
.feature-links { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.feature-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.feature-link h3, .feature-link strong { margin: 0; color: var(--ink); font: 400 1.35rem/1.3 var(--serif); }
.feature-link p, .feature-link span { margin: 0; font-size: .87rem; color: var(--muted); }
.feature-link svg { width: 22px; height: 22px; grid-column: 2; grid-row: 1 / span 2; }
.feature-link:hover { text-decoration: none; color: var(--green); }
.feature-link:hover h3, .feature-link:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.page-heading { padding-block: clamp(2rem, 5vw, 3.6rem) clamp(1.7rem, 4vw, 2.8rem); border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 20ch; margin-bottom: 1rem; font-size: clamp(2.3rem, 5vw, 3.65rem); }
.page-heading .eyebrow { margin-bottom: .8rem; }
.page-intro { max-width: 65ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.13rem); }
.page-intro:last-child { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.35rem; font-size: .75rem; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.content-layout { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.content-main, .sidebar { min-width: 0; }
.sidebar { display: grid; gap: 1.5rem; }
.info-panel { padding: 1.5rem; background: var(--green-light); border-radius: var(--radius); }
.info-panel h2, .info-panel h3 { font-size: 1.4rem; }
.info-panel p { font-size: .9rem; }
.info-panel > :last-child { margin-bottom: 0; }
.info-panel a { overflow-wrap: anywhere; }
.info-panel ul { padding-left: 1.1rem; }
.info-panel .button { width: 100%; margin-top: .35rem; }
.notice { padding: 1rem 1.2rem; border-left: 3px solid #879b70; background: var(--green-light); color: var(--ink); font-size: .9rem; }
.notice p:last-child { margin-bottom: 0; }
.empty-state { padding: 2.3rem 0; max-width: 62ch; }
.empty-state h2 { font-size: 1.8rem; }
.empty-state p { color: var(--muted); }

/* Data stays readable without forcing the page wider than the viewport. */
.table-wrap { max-width: 100%; overflow-x: auto; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
.data-table caption { padding: .65rem 0; text-align: left; font-weight: 600; }
.data-table th, .data-table td { padding: .85rem .6rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.data-table th { font-weight: 600; }
.data-table thead th { color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table td:last-child, .data-table th:last-child { padding-right: 0; }
.data-table tbody th { width: 36%; }
.data-table tbody tr:nth-child(even) { background: #e8eddf55; }
.content-main table:not([class]) { width: 100%; border-collapse: collapse; }
.content-main table:not([class]) td, .content-main table:not([class]) th { padding: .8rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }

.contact-grid { display: grid; gap: 1.2rem; }
.contact-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.contact-card h2, .contact-card h3 { font-size: 1.55rem; }
.contact-card p { margin-bottom: .7rem; color: var(--muted); }
.contact-card a { overflow-wrap: anywhere; }
.contact-card .button { margin-top: .7rem; }
.contact-card address { font-style: normal; }
.contact-card > :last-child { margin-bottom: 0; }
.contact-label { margin-bottom: .8rem; color: var(--green); font-size: .67rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.download-list, .external-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.download-item > div { min-width: 0; }
.download-item h2, .download-item h3 { margin-bottom: .3rem; font: 500 1rem/1.4 var(--sans); }
.download-item p, .download-item small, .download-meta { margin: 0; color: var(--muted); font-size: .76rem; }
.download-item > a { flex: 0 0 auto; }
.download-item .button { padding: .65rem .9rem; font-size: .79rem; }
.external-list > li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.external-list a { display: inline-flex; align-items: center; min-height: 44px; gap: .65rem; font-weight: 550; overflow-wrap: anywhere; }
.external-list p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }

/* The gallery works as ordinary links before JavaScript enhances it. */
.gallery-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; margin-bottom: 1.5rem; }
.gallery-toolbar p { margin: 0; color: var(--muted); font-size: .84rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.gallery-item { display: block; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 3px; background: var(--green-light); color: inherit; text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item:focus-visible { outline-offset: 3px; }
.gallery-caption { display: block; padding: .55rem .65rem; text-align: left; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.gallery-grid-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
dialog.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 4.5rem 3.25rem 2.5rem; border: 0; background: #17231af7; color: #fff; }
dialog.lightbox[open] { display: grid; align-items: center; justify-items: center; }
dialog.lightbox::backdrop { background: #122016e8; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.lightbox-figure img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 10rem); object-fit: contain; }
.lightbox-figure figcaption { margin: 0; max-width: 70ch; color: #e4eadd; font-size: .8rem; line-height: 1.5; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: .7rem; border: 1px solid #ffffff55; border-radius: 50%; background: #17231ac9; color: #fff; font-size: 1.5rem; line-height: 1; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { top: calc(50% - 23px); left: .35rem; }
.lightbox-next { top: calc(50% - 23px); right: .35rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: #ffffff25; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-counter { position: absolute; top: 1.65rem; left: 1.2rem; color: #d5dfcf; font-size: .83rem; }

/* Search is entirely local to the browser. */
.search-dialog { width: min(680px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #0003; }
.search-dialog::backdrop { background: #122016b3; }
.search-dialog h2 { font-size: 1.9rem; }
.search-dialog input[type="search"] { width: 100%; min-height: 50px; padding: .7rem .85rem; border: 1px solid #8b9d89; border-radius: 3px; background: var(--white); font-size: 1rem; color: var(--ink); }
.search-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.search-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 3px; }
.search-results { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.search-results li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.search-results a { display: block; min-height: 44px; padding-block: .3rem; font-weight: 550; }
.search-results p { margin: .25rem 0 0; color: var(--muted); font-size: .86rem; }
.search-results mark { background: #e5dbac; color: var(--ink); }

/* A calm footer retains the complete site navigation. */
.site-footer { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 2.8rem; background: var(--green-dark); color: #e3e9dd; }
.section-soft + .site-footer { margin-top: 0; }
.footer-inner { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: grid; gap: 2rem; padding-bottom: 2.2rem; }
.footer-inner .brand { padding-top: 0; }
.footer-inner p, .footer-inner address { margin-bottom: .7rem; font-size: .85rem; line-height: 1.7; font-style: normal; color: #cdd7c6; }
.footer-inner h2, .footer-inner h3 { margin-bottom: .8rem; color: #fff; font: 600 .7rem/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.footer-inner a { color: #e3e9dd; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .1rem 1.5rem; padding: 0; margin: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .4rem; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 1.15rem; border-top: 1px solid #ffffff25; display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; justify-content: space-between; color: #bac8b3; font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d2ddc9; }
.mobile-contact { position: fixed; bottom: 0; inset-inline: 0; z-index: 45; display: flex; padding: .65rem var(--gutter) max(.65rem, env(safe-area-inset-bottom)); gap: .65rem; border-top: 1px solid var(--line); background: #f8f6eff5; backdrop-filter: blur(8px); }
.mobile-contact .button { flex: 1; min-height: 46px; padding-inline: .65rem; font-size: .8rem; }
body.has-mobile-contact { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-block: 1.5rem; }
.logo-strip img { width: auto; max-width: 135px; max-height: 68px; object-fit: contain; }

@media (max-width: 359px) {
  .header-inner { gap: .5rem; }
  .brand-name { font-size: 1.22rem; }
  .brand-tagline { font-size: .56rem; letter-spacing: .13em; }
  .nav-toggle { min-width: 44px; padding-inline: .5rem; font-size: .75rem; gap: .4rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .download-item { align-items: start; flex-direction: column; gap: .65rem; }
  .gallery-grid { gap: .45rem; }
}

@media (min-width: 600px) {
  .hero { gap: 2.5rem; }
  .hero-image { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .gallery-grid-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .footer-links { gap: .1rem 2rem; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  dialog.lightbox { padding-inline: 4.8rem; }
}

@media (min-width: 800px) {
  .hero { grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); padding-block: 3.5rem; }
  .hero h1 { font-size: clamp(2.9rem, 5.2vw, 4.65rem); }
  .hero-image { aspect-ratio: 4/5; max-height: 585px; }
  .hero-copy { padding-block: 1rem; }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .split-reverse > :first-child { order: 2; }
  .split-reverse > :last-child { order: 1; }
  .content-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(2rem, 5vw, 4.5rem); }
  .content-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
  .content-layout .sidebar { padding-top: .2rem; }
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-contact { display: none; }
  body.has-mobile-contact { padding-bottom: 0; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 3.5rem; }
  .footer-inner > :first-child { grid-column: auto; }
}

@media (min-width: 1080px) {
  .header-inner { min-height: 90px; flex-wrap: nowrap; gap: 2rem; }
  .nav-toggle { display: none; }
  .site-nav, .menu-open .site-nav { display: flex; flex: 0 1 auto; flex-direction: row; align-items: center; gap: .15rem; padding: 0; max-height: none; overflow: visible; }
  .site-nav > a, .site-nav > button, .nav-more > summary { min-height: 44px; padding: .65rem .7rem; white-space: nowrap; font-size: .82rem; }
  .site-nav > a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px #d4dfba; border-radius: 0; }
  .site-nav .nav-lang { align-self: auto; margin-top: 0; margin-left: .5rem; min-width: 44px; font-size: .74rem; }
  .nav-more-links, .nav-more > div, .nav-more > ul { position: absolute; z-index: 2; top: calc(100% + .4rem); right: 0; min-width: 205px; padding: .5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 10px 25px #182d1b20; }
  .nav-more-links a, .nav-more > div a, .nav-more > ul a { color: var(--ink); font-size: .85rem; }
  .nav-more-links a:hover, .nav-more > div a:hover, .nav-more > ul a:hover, .nav-more a[aria-current="page"] { background: var(--green-light); }
  .hero { padding-block: 4rem; }
  .footer-inner { padding-bottom: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gallery-item:hover img { transform: none; }
}

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header { position: static; background: #fff; color: #000; border-bottom: 1px solid #999; }
  .brand, .brand-tagline { color: #000; }
  .site-nav, .nav-toggle, .mobile-contact, .hero-actions, .site-footer, dialog, .skip-link, .slideshow-toggle, .hero-slide[aria-hidden="true"] { display: none !important; }
  .hero, .split, .content-layout { display: block; }
  .hero, .section, .page-heading, .content-layout { padding-block: 1rem; }
  .hero-image { max-height: 9cm; width: auto; margin-block: 1rem; }
  .container, .hero, .header-inner { width: 100%; }
  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; }
  a { color: #000; }
  .contact-card, .info-panel, .download-item, .gallery-item { break-inside: avoid; }
}

/* Final content integration. */
.page-main { padding-top: 1.15rem; padding-bottom: 1rem; }
.page-heading + .gallery-toolbar, .page-heading + .download-list, .page-heading + .contact-grid { margin-top: 2rem; }
.prose img { display: inline-block; width: auto; max-width: 150px; max-height: 80px; margin: 1rem 1rem .5rem 0; vertical-align: middle; object-fit: contain; }
.section-tint { background: var(--green-light); }
.feature-link { grid-template-columns: auto 1fr; gap: .6rem 1.5rem; padding-block: 1.8rem; }
.feature-link .feature-number { grid-column: 1; grid-row: 1 / span 3; padding-top: .25rem; font: italic 1.2rem var(--serif); color: #6c805e; }
.feature-link h3, .feature-link p, .feature-link .text-link { grid-column: 2; }
.feature-link p { max-width: 60ch; }
.feature-link .text-link { display: inline-flex; align-items: center; justify-self: start; color: var(--green); }
.feature-link .text-link svg { width: 18px; height: 18px; }
.home-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.home-contact p { max-width: 52ch; }
.home-contact .hero-actions { margin-block: 0; }
.home-location a, .sidebar-address a { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; }
.sidebar-phone { display: inline-flex; min-height: 44px; align-items: center; margin-top: .8rem; }
.sidebar-address { padding-inline: .25rem; }
.sidebar-address h2 { font-size: 1.3rem; }
.sidebar-address p { font-size: .9rem; }
.contact-icon { display: block; margin-bottom: 1.2rem; color: var(--green); }
.contact-detail { display: flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; font-weight: 600; }
.contact-card address { font-style: normal; margin-bottom: 1.1rem; }
.contact-card > a:last-child { display: inline-flex; min-height: 44px; align-items: center; gap: .6rem; }
.contact-directions { margin-top: 2rem; max-width: 750px; }
.contact-directions .button { width: auto; }
a.download-item { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; text-decoration: none; }
a.download-item:hover { background: #e8eddf70; }
.download-item strong { display: block; font-weight: 550; overflow-wrap: anywhere; }
.download-meta { display: block; margin-top: .25rem; }
.download-action { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; }
.small-print { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.footer-contact a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; font-size: .85rem; }
.search-results > a { padding-block: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results > a:hover strong { text-decoration: underline; }
.search-results strong, .search-results span { display: block; }
.search-results span { margin-top: .3rem; font-size: .85rem; font-weight: 400; color: var(--muted); }
.search-header h2 { margin-right: .6rem; }
.search-close { flex-shrink: 0; }
.site-nav .search-toggle { justify-content: center; min-width: 44px; }
@media (max-width: 599px) {
  a.download-item { grid-template-columns: 28px minmax(0,1fr); gap: .85rem; }
  .download-action { display: none; }
  .gallery-caption { font-size: .7rem; }
  .hero-actions { gap: .7rem; }
}
@media (min-width: 800px) {
  .hero-image { aspect-ratio: 5/4; max-height: 500px; }
}
@media (max-width: 799px) {
  .hero { gap: 1.7rem; padding-top: 1.35rem; }
  .hero-image { order: -1; aspect-ratio: 16/10; }
  .hero h1 { max-width: none; font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .hero h1 br { display: none; }
  .hero .eyebrow { margin-bottom: .65rem; }
}

/* FAQs: sichtbar für Gäste und ohne JavaScript auslesbar */
.seo-faq { margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.seo-faq h2 { margin: 0 0 1.1rem; font-size: clamp(1.35rem, 2.7vw, 1.75rem); }
.faq-item { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 .45rem; font-size: 1.02rem; line-height: 1.35; }
.faq-item p { margin: 0; line-height: 1.65; }
