/*
Theme Name: Ingerwirt Modern
Theme URI: https://ingerwirt-oberschneitbach.de/
Author: Landgasthof Ingerwirt
Description: Maßgeschneidertes, schnelles WordPress-Theme für Landgasthof, Metzgerei und Partyservice Zum Ingerwirt.
Version: 1.2.9
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ingerwirt
*/

:root {
  --ink: #172019;
  --forest: #173f2b;
  --forest-2: #24573d;
  --sage: #dce6d7;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --ochre: #bc712b;
  --ochre-dark: #96551b;
  --line: rgba(23, 32, 25, .14);
  --muted: #667068;
  --shadow: 0 22px 70px rgba(23, 32, 25, .12);
  --radius: 1.4rem;
  --wrap: min(1180px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--forest); }

.skip-link {
  position: fixed; z-index: 9999; top: .75rem; left: .75rem; padding: .7rem 1rem;
  color: #fff; background: var(--forest); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  color: var(--ochre-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { width: 1.9rem; height: 2px; background: currentColor; content: ""; }
h1, h2, h3, h4 { margin: 0 0 .65em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
p { margin: 0 0 1.35rem; }
.lead { max-width: 42rem; color: #425047; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.section { padding: clamp(4.7rem, 9vw, 8.5rem) 0; }
.section--cream { background: var(--cream); }
.section--forest { color: #fff; background: var(--forest); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-head > :first-child { max-width: 49rem; }
.section-head h2 { margin-bottom: 0; }

.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; width: 100%; color: #fff; border-bottom: 1px solid transparent; background: transparent; transition: color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease; }
.site-header.is-scrolled { color: var(--ink); border-color: var(--line); background: rgba(255,253,248,.95); box-shadow: 0 10px 35px rgba(23,32,25,.08); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 5.4rem; gap: 2rem; }
.brand { position: relative; display: inline-flex; width: clamp(175px, 16vw, 220px); height: 36px; align-items: center; color: inherit; text-decoration: none; }
.brand__logo { width: clamp(175px, 16vw, 220px); height: auto; }
.brand__logo--dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.brand__logo { transition: opacity .2s ease; }
.brand__mark { display: grid; width: 2.9rem; height: 2.9rem; place-items: center; color: #fff; border-radius: 50%; background: var(--forest); font-family: Georgia, serif; font-size: 1.25rem; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.brand__text span { margin-top: .35rem; color: var(--muted); font-size: .62rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.custom-logo { width: auto; max-height: 54px; }
.primary-nav { justify-self: end; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; padding: 1.85rem 0; color: inherit; font-size: .89rem; font-weight: 700; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: 1.35rem; left: 0; height: 2px; background: var(--ochre); transform: scaleX(0); transition: transform .25s ease; content: ""; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-header:not(.is-scrolled) .primary-nav > ul > li > a { text-shadow: 0 1px 14px rgba(0,0,0,.72); }
.site-header.is-scrolled .primary-nav > ul > li > a { color: var(--ink); text-shadow: none; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a { display: flex; align-items: center; gap: .35rem; }
.primary-nav .menu-item-has-children > a::before { order: 2; color: #e7b47b; font-size: .75rem; content: '⌄'; }
.primary-nav .sub-menu { position: absolute; top: calc(100% - .8rem); left: -1rem; display: grid; min-width: 220px; gap: .15rem; padding: .65rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.primary-nav .sub-menu a { display: block; padding: .65rem .8rem; color: var(--ink); border-radius: .4rem; white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--cream); }
.primary-nav .sub-menu a::after { display: none; }
.header-cta { white-space: nowrap; }
.nav-toggle { position: relative; z-index: 3; display: none; width: 3rem; height: 3rem; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 1.25rem; height: 2px; margin: 4px auto; background: currentColor; transition: .2s ease; }
.site-header:not(.is-scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.45); }
.nav-open .nav-toggle { color: #fff; border-color: rgba(255,255,255,.35); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .78rem 1.3rem;
  color: #fff; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest);
  font-size: .84rem; font-weight: 800; letter-spacing: .035em; text-decoration: none; transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { border-color: var(--forest-2); background: var(--forest-2); transform: translateY(-2px); }
.button--accent { border-color: var(--ochre); background: var(--ochre); }
.button--accent:hover { border-color: var(--ochre-dark); background: var(--ochre-dark); }
.site-header .button.header-cta { color: #fff; border-color: var(--ochre); background: var(--ochre); backdrop-filter: none; }
.site-header .button.header-cta:hover { border-color: var(--ochre-dark); background: var(--ochre-dark); }
.button--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.button--ghost:hover { color: #fff; border-color: var(--forest); background: var(--forest); }
.button--light { color: var(--forest); border-color: #fff; background: #fff; }
.button--text { min-height: auto; padding: 0; color: var(--forest); border: 0; border-radius: 0; background: transparent; }
.button--text:hover { color: var(--ochre-dark); background: transparent; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero { position: relative; min-height: min(900px, 100svh); overflow: hidden; background: #14271b; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08) saturate(.75) contrast(1.03); }
.hero__media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,16,.91) 0%, rgba(8,25,16,.72) 42%, rgba(8,25,16,.16) 76%), linear-gradient(0deg, rgba(8,25,16,.4), transparent 45%); content: ""; }
.hero__content { position: relative; z-index: 1; display: flex; min-height: min(900px, 100svh); align-items: center; padding: calc(5.4rem + clamp(3rem, 8vw, 7rem)) 0 clamp(5rem, 10vw, 8rem); color: #fff; }
.hero__copy { max-width: 760px; }
.hero__copy > * { opacity: 0; animation: hero-in .85s cubic-bezier(.2,.75,.2,1) forwards; }
.hero__copy > :nth-child(1) { animation-delay: .12s; }
.hero__copy > :nth-child(2) { animation-delay: .22s; }
.hero__copy > :nth-child(3) { animation-delay: .34s; }
.hero__copy > :nth-child(4) { animation-delay: .46s; }
.hero .eyebrow { color: #e7b47b; }
.hero h1 { max-width: 740px; margin-bottom: .28em; }
.hero .lead { max-width: 640px; color: rgba(255,255,255,.82); }
.hero__badge { position: absolute; right: clamp(1.25rem, 6vw, 5rem); bottom: 3.5rem; display: grid; width: 9rem; height: 9rem; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(15,47,31,.68); text-align: center; opacity: 0; transform: scale(.82) rotate(-6deg); animation: badge-in .8s .65s cubic-bezier(.2,.8,.2,1) forwards; backdrop-filter: blur(10px); }
.hero__badge strong { display: block; font-family: Georgia, serif; font-size: 2.35rem; font-weight: 500; line-height: 1; }
.hero__badge span { display: block; margin-top: .35rem; font-size: .66rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.quick-strip { position: relative; z-index: 2; margin-top: -1.35rem; }
.quick-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.quick-item { display: flex; align-items: center; gap: 1rem; min-height: 7.3rem; padding: 1.25rem 1.6rem; border-right: 1px solid var(--line); text-decoration: none; }
.quick-item:last-child { border: 0; }
.quick-item__icon { display: grid; flex: 0 0 2.7rem; height: 2.7rem; place-items: center; color: var(--ochre-dark); border-radius: 50%; background: #f6eadb; }
.quick-item__icon svg { width: 1.25rem; height: 1.25rem; }
.quick-item strong { display: block; font-family: Georgia, serif; font-size: 1.08rem; font-weight: 600; }
.quick-item span { color: var(--muted); font-size: .78rem; }

.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.image-frame { position: relative; }
.image-frame::before { position: absolute; z-index: -1; top: -1.25rem; right: -1.25rem; width: 60%; height: 55%; border-radius: var(--radius); background: var(--sage); content: ""; }
.image-frame img { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.image-frame__note { position: absolute; right: -1.5rem; bottom: 2rem; max-width: 13rem; padding: 1.15rem; color: #fff; border-radius: .8rem; background: var(--forest); font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.3; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2rem 0 0; }
.feature { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.feature strong { display: block; margin-bottom: .25rem; font-family: Georgia, serif; font-size: 1.18rem; }
.feature span { color: var(--muted); font-size: .9rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { position: relative; min-height: 33rem; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--forest); box-shadow: 0 14px 45px rgba(23,32,25,.12); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,28,18,.95) 4%, rgba(9,28,18,.38) 62%, rgba(9,28,18,.06)); content: ""; }
.service-card__body { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 2rem; }
.service-card__number { display: block; margin-bottom: .7rem; color: #f0b77b; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { margin-bottom: .35rem; }
.service-card p { color: rgba(255,255,255,.76); font-size: .9rem; }
.service-card a { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.service-card:hover img { transform: scale(1.045); }

.hours-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.hours-panel { border-radius: var(--radius); color: #fff; background: var(--forest); overflow: hidden; }
.hours-panel__head { padding: 2rem 2rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours-panel__rows { padding: .6rem 2rem 1.6rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-row:last-child { border: 0; }
.hours-row span { color: rgba(255,255,255,.67); }
.hours-note { margin: 1.3rem 0 0; color: #f2d4b4; font-size: .86rem; }
.contact-card { align-self: center; }
.contact-card__number { display: inline-block; margin: .8rem 0 1rem; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; line-height: 1; text-decoration: none; }

.download-band { position: relative; overflow: hidden; }
.download-band::after { position: absolute; right: -8rem; bottom: -14rem; width: 32rem; height: 32rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 8rem rgba(255,255,255,.02); content: ""; }
.download-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: rgba(255,255,255,.06); text-decoration: none; transition: background .2s, transform .2s; }
.download-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.download-card strong { display: block; font-family: Georgia, serif; font-size: 1.08rem; }
.download-card span { color: rgba(255,255,255,.62); font-size: .78rem; }
.download-card svg { flex: 0 0 1.25rem; }

.page-hero { padding: calc(5.4rem + clamp(4rem, 7vw, 7rem)) 0 clamp(4rem, 8vw, 7rem); color: #fff; background: var(--forest); }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; gap: 3rem; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 34rem; color: rgba(255,255,255,.72); }
.page-hero__meta { padding: 1.5rem 0 0 2rem; border-left: 1px solid rgba(255,255,255,.25); }
.page-hero__meta strong { display: block; margin-bottom: .25rem; font-family: Georgia, serif; font-size: 1.2rem; }
.page-hero__meta span { color: rgba(255,255,255,.65); font-size: .82rem; }
.breadcrumb { margin-bottom: 1.2rem; color: rgba(255,255,255,.6); font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a { color: #fff; text-decoration: none; }

.content-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.content-split--reverse .content-split__media { order: 2; }
.content-split__media img { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.content-split__media--portrait img { aspect-ratio: 4/5; }
.stat-line { display: flex; gap: 2rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.stat-line strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.stat-line span { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.apartment-home { overflow: hidden; background: linear-gradient(135deg, #eef2ea 0%, var(--cream) 100%); }
.apartment-home__grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: center; gap: clamp(3rem,7vw,7rem); }
.apartment-home__copy { position: relative; z-index: 2; }
.apartment-home__copy h2 { font-size: clamp(2.5rem, 4vw, 3.8rem); }
.apartment-points { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0 1.5rem; }
.apartment-points span { padding: .55rem .8rem; color: var(--forest); border: 1px solid rgba(23,63,43,.2); border-radius: 999px; background: rgba(255,255,255,.58); font-size: .78rem; font-weight: 750; }
.apartment-notice { padding-left: 1rem; color: #4e5951; border-left: 3px solid var(--ochre); font-size: .9rem; }
.apartment-home__media { position: relative; display: grid; grid-template-columns: 1.35fr .8fr; grid-template-rows: 1fr 1fr; gap: .8rem; min-height: 610px; }
.apartment-home__media img { width: 100%; height: 100%; border-radius: 1rem; object-fit: cover; box-shadow: 0 18px 50px rgba(23,32,25,.13); }
.apartment-home__main { grid-row: 1 / 3; }
.apartment-home__badge { position: absolute; bottom: 1.25rem; left: -1.5rem; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; color: #fff; border-radius: .8rem; background: var(--forest); box-shadow: var(--shadow); }
.apartment-home__badge strong { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 500; line-height: 1; }
.apartment-home__badge span { font-size: .7rem; font-weight: 750; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.apartment-features { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.5rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.apartment-features li { position: relative; padding: .7rem 0 .7rem 1.45rem; border-bottom: 1px solid var(--line); }
.apartment-features li::before { position: absolute; top: 1.1rem; left: 0; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ochre); content: ''; }
.apartment-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, minmax(240px, 1fr)); gap: 1rem; }
.apartment-gallery figure { position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.apartment-gallery__large { grid-row: 1 / 3; }
.apartment-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.2,1); }
.apartment-gallery figure:hover img { transform: scale(1.035); }
.apartment-gallery figcaption { position: absolute; right: .8rem; bottom: .8rem; left: .8rem; padding: .7rem .85rem; color: #fff; border-radius: .55rem; background: rgba(9,30,20,.76); font-size: .78rem; font-weight: 750; backdrop-filter: blur(8px); }
.apartment-cta .lead { color: rgba(255,255,255,.72); }
.apartment-phone { color: #fff; }
.apartment-phone:hover { color: #f2d4b4; }
.prose { max-width: 780px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--forest); font-weight: 700; }
.legal-content { max-width: 880px; }
.legal-content h2 { margin-top: 2.5rem; font-size: 2rem; }
.legal-content h3 { margin-top: 2rem; font-size: 1.45rem; }
.legal-content p, .legal-content li { color: #414a43; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 1.5rem; }
.post-card time { color: var(--ochre-dark); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin-top: .55rem; font-size: 1.45rem; }
.post-card a { text-decoration: none; }
.empty-state { padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.navigation.pagination { grid-column: 1 / -1; margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers { display: grid; min-width: 2.7rem; height: 2.7rem; place-items: center; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.page-numbers.current { color: #fff; border-color: var(--forest); background: var(--forest); }

.contact-grid { display: grid; grid-template-columns: minmax(270px,.7fr) minmax(0,1.3fr); gap: clamp(2rem, 7vw, 6rem); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list a, .contact-list div { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list small { display: block; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.contact-list strong { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 500; }
.contact-form { padding: clamp(1.5rem,4vw,3rem); border-radius: var(--radius); background: var(--cream); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(23,32,25,.2); border-radius: .55rem; outline: 0; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,63,43,.1); }
.field textarea { min-height: 10rem; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; font-size: .82rem; }
.check input { margin-top: .32rem; }
.notice { margin-bottom: 1.2rem; padding: 1rem; border-radius: .6rem; background: #e2f1e7; }
.notice--error { background: #f8dfd8; }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { color: rgba(255,255,255,.76); background: #0d2a1b; }
.footer-main { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 4rem; padding: 5rem 0 4rem; }
.footer-brand { display: inline-block; padding: 0; border: 0; background: transparent; text-decoration: none; }
.footer-brand img { width: 220px; height: auto; }
.footer-copy { max-width: 28rem; margin-top: 1rem; color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 1rem; color: #fff; font-family: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }
.footer-bottom a { text-decoration: none; }
.mobile-actions { display: none; }

.reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s ease var(--reveal-delay, 0ms), transform .8s cubic-bezier(.2,.75,.2,1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal--left { transform: translate3d(-54px, 0, 0); }
.reveal--right { transform: translate3d(54px, 0, 0); }
.reveal--scale { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); will-change: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 38px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes badge-in {
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 980px) {
  .site-header { background: transparent; backdrop-filter: none; }
  .site-header.is-scrolled { background: rgba(255,253,248,.96); backdrop-filter: blur(16px); }
  .site-header__inner { position: relative; z-index: 2; grid-template-columns: 1fr auto auto; }
  .brand { position: relative; z-index: 3; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 1; inset: 0; display: flex; width: 100vw; height: 100dvh; padding: clamp(8rem, 18vh, 11rem) max(1.25rem, calc((100vw - 760px) / 2)) 3rem; align-items: center; justify-content: center; color: #fff; background: var(--forest); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-18px); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.75,.2,1), visibility 0s .35s; overflow-y: auto; }
  .nav-open .primary-nav { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav-open .site-header { border-color: rgba(255,255,255,.12); background: var(--forest); }
  body.nav-open .site-header .primary-nav a { color: #fff; text-shadow: none; -webkit-text-fill-color: #fff; }
  body.nav-open .site-header.is-scrolled .primary-nav > ul > li > a { color: #fff !important; text-shadow: none; -webkit-text-fill-color: #fff; }
  body.nav-open .site-header .primary-nav a::before { color: #e7b47b; -webkit-text-fill-color: #e7b47b; }
  body.nav-open .site-header .brand__logo--light,
  body.nav-open .site-header.is-scrolled .brand__logo--light { opacity: 1; }
  body.nav-open .site-header .brand__logo--dark,
  body.nav-open .site-header.is-scrolled .brand__logo--dark { opacity: 0; }
  .primary-nav ul { display: grid; width: min(100%, 760px); gap: 0; }
  .primary-nav li { opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.75,.2,1); }
  .nav-open .primary-nav li { opacity: 1; transform: none; }
  .nav-open .primary-nav li:nth-child(1) { transition-delay: .10s; }
  .nav-open .primary-nav li:nth-child(2) { transition-delay: .16s; }
  .nav-open .primary-nav li:nth-child(3) { transition-delay: .22s; }
  .nav-open .primary-nav li:nth-child(4) { transition-delay: .28s; }
  .nav-open .primary-nav li:nth-child(5) { transition-delay: .34s; }
  .primary-nav a { display: flex; align-items: center; justify-content: space-between; padding: clamp(1rem, 2.5vh, 1.45rem) 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); font-family: Georgia, serif; font-size: clamp(1.75rem, 5vw, 3.2rem); font-weight: 500; }
  .primary-nav a::before { flex: 0 0 auto; order: 2; margin-left: 1rem; color: #e7b47b; font-family: Inter, ui-sans-serif, sans-serif; font-size: 1.25rem; content: '↗'; }
  .primary-nav a::after { display: none; }
  .primary-nav .sub-menu { position: static; display: grid; min-width: 0; gap: 0; padding: 0 0 0 1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .primary-nav .sub-menu a { display: flex; justify-content: space-between; padding: .8rem 0; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; font-size: clamp(1.3rem, 4vw, 2rem); white-space: normal; }
  .primary-nav .sub-menu a::before { color: #e7b47b; font-size: 1rem; content: '↗'; }
  .primary-nav .menu-item-has-children > a::before { color: #e7b47b; font-size: 1rem; content: '↓'; }
  .header-cta { justify-self: end; }
  .hero__badge { display: none; }
  .nav-open .mobile-actions { opacity: 0; pointer-events: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 25rem; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .apartment-home__grid { grid-template-columns: 1fr; }
  .apartment-home__copy { max-width: 700px; }
  .apartment-home__media { min-height: 560px; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 1.35rem, 1180px); }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .site-header__inner { display: flex; min-height: 4.8rem; align-items: center; justify-content: space-between; gap: .75rem; }
  .brand { flex: 0 0 auto; justify-self: start; }
  .nav-toggle { flex: 0 0 3rem; margin-left: auto; }
  .primary-nav { inset: 0; padding-top: 7.5rem; }
  .brand__logo { width: 175px; }
  .hero { min-height: 640px; }
  .hero__content { min-height: 640px; padding: 4.5rem 0 6rem; align-items: end; }
  .hero__media::after { background: linear-gradient(0deg, rgba(8,25,16,.94) 2%, rgba(8,25,16,.5) 80%); }
  .quick-strip__inner { grid-template-columns: 1fr; }
  .quick-item { min-height: auto; padding: 1rem 1.2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-grid, .hours-grid, .content-split, .page-hero__inner, .contact-grid { grid-template-columns: 1fr; }
  .image-frame__note { right: .75rem; }
  .service-grid, .download-grid, .posts-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 27rem; }
  .section-head { display: block; }
  .section-head .button { margin-top: 1.2rem; }
  .content-split--reverse .content-split__media { order: 0; }
  .page-hero__meta { padding: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .apartment-home__media { grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .75fr; min-height: 620px; }
  .apartment-home__main { grid-column: 1 / 3; grid-row: 1; }
  .apartment-home__badge { left: .75rem; }
  .apartment-features { grid-template-columns: 1fr; }
  .apartment-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 260px; }
  .apartment-gallery__large { grid-column: 1 / 3; grid-row: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
  .footer-bottom { display: grid; padding-bottom: 5.5rem; }
  .mobile-actions { position: fixed; z-index: 900; right: .7rem; bottom: .7rem; left: .7rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; padding: .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,248,.95); box-shadow: 0 10px 35px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
  .mobile-actions .button { min-height: 2.8rem; padding: .6rem .8rem; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 980px) and (max-height: 600px) {
  .primary-nav { align-items: flex-start; padding-top: 6.5rem; }
  .primary-nav a { padding: .7rem 0; font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__copy > *, .hero__badge { opacity: 1; transform: none; }
}
