@font-face {
  font-family: "Instrument Serif";
  src: url("serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #263d54;
  --navy: #263d54;
  --blue: #374b6c;
  --gold: #f3ce6b;
  --paper: #faf8f1;
  --line: #cdd4ce;
  --muted: #4e606b;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(.22,.68,.12,1);
  --gutter: clamp(22px,5vw,92px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
button:active, .btn:active, .join:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid #2372b9; outline-offset: 4px; }
.hero :focus-visible, footer :focus-visible, .inner-mast :focus-visible { outline-color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; }
.wrap { width: min(calc(100% - var(--gutter) * 2),1390px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: fixed; top: 5px; left: 8px; z-index: 50; background: white; color: var(--ink); padding: 10px 16px; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 4; background: var(--paper); }
.head-inner { display: flex; justify-content: space-between; align-items: center; min-height: 80px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand .mark { width: 44px; height: 44px; }
.brand span { font: 31px/.94 var(--serif); letter-spacing: -.025em; }
.brand small { display: block; margin-top: 6px; font: 700 8px/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; }
.head-inner nav { display: flex; align-items: center; gap: clamp(20px,2.5vw,44px); }
.head-inner nav a, .menu-toggle { text-decoration: none; font-size: 14px; font-weight: 600; }
.head-inner nav > a:not(.join) { position: relative; display: grid; align-content: center; min-height: 44px; }
.head-inner nav > a:not(.join)::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.head-inner nav > a[aria-current]::after { transform: scaleX(1); }
.join, .btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 13px 20px; min-height: 46px; border-radius: 5px; text-decoration: none; font-weight: 650; }
.join { background: var(--ink); color: #fff; }
.join .icon { color: var(--gold); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--line); border-radius: 4px; }
.hero { position: relative; isolation: isolate; display: grid; color: white; overflow: hidden; background: #253b40; }
.hero-photos, .hero-veil, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 52%; opacity: 0; transition: opacity .55s ease; }
.hero-photo.current { opacity: 1; }
@media (min-width: 1025px) {
  .hero-photo:not([srcset]) {
    inset-inline: auto max(0px, calc((100% - 1620px) / 2));
    width: 1024px;
    mask-image: linear-gradient(90deg, transparent, #000 29%);
  }
}
@media (min-width: 1620px) {
  .hero-photo:not([srcset]) {
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 84%, transparent);
  }
}
.hero-veil { background: linear-gradient(90deg,rgba(13,30,39,.84) 0%,rgba(15,32,41,.62) 33%,rgba(15,31,39,.08) 78%), linear-gradient(0deg,rgba(14,27,34,.65) 0%,transparent 25%); }
.hero-inner { position: relative; min-height: clamp(540px,43vw,576px); display: grid; align-content: center; padding-block: 48px 102px; }
.hero-copy { padding-top: 8px; width: fit-content; }
.eyebrow { font: 700 10px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 11px; }
.rule { display: inline-block; width: 32px; height: 2px; background: #bb8f31; flex: none; }
.hero-kicker { color: #fff1c8; }
.hero-kicker .rule { background: var(--gold); }
.hero h1 { margin: 20px 0 17px; font-size: clamp(96px,9vw,156px); letter-spacing: -.038em; line-height: .82; }
.hero h1 em { font-weight: 400; color: #f7d77d; }
.motto { font: 450 clamp(17px,1.4vw,22px)/1.5 var(--sans); letter-spacing: .005em; }
.btn { margin-top: 25px; font-size: 14px; }
.gold { background: var(--gold); color: #203447; }
.navy { background: var(--ink); color: white; }
.btn .icon, .plain-link .icon, .round-link .icon, .project-row .icon { transition: transform 200ms var(--ease); }
.hero-bottom { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; border-top: 1px solid #ffffff65; }
.photo-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.photo-label > .icon { color: var(--gold); }
.photo-label span span { font-weight: 400; }
.photo-controls { display: none; gap: 8px; align-items: center; }
.interactive .photo-controls { display: flex; }
.photo-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff96; border-radius: 50%; background: #1d334250; color: white; transition: background-color .2s; }
.dots { display: flex; gap: 5px; align-items: center; margin-right: 12px; }
.dots i { width: 12px; height: 2px; background: #ffffff85; transition: background-color .25s; }
.dots .on { background: var(--gold); }
.section { padding-block: clamp(58px,5.8vw,102px); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: clamp(24px,2.3vw,38px); }
.section h2, .projects-section h2 { font-size: clamp(47px,4.6vw,82px); line-height: 1.02; letter-spacing: -.033em; margin-top: 10px; }
.section h2 em, .projects-section h2 em { color: #466384; }
.plain-link { display: inline-flex; align-items: center; gap: 13px; padding-block: 10px; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #9ba9b2; }
.places { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,32px); }
.place-card { display: block; text-decoration: none; }
.card-photo { overflow: hidden; aspect-ratio: 1.75; border-radius: 5px; background: #d8dfdd; }
.card-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card-label { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; gap: 12px; }
.card-label .eyebrow { color: var(--muted); font-size: 9px; }
.card-label h3 { margin-top: 3px; font-size: clamp(29px,2.45vw,47px); letter-spacing: -.025em; line-height: 1.1; }
.round-link { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.projects-section { --project-paper: #eceee8; padding-block: clamp(55px,6vw,105px); background: var(--project-paper); }
.community { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(32px,9vw,165px); }
.project-intro p:not(.eyebrow), .community p:not(.eyebrow) { max-width: 55ch; color: var(--muted); margin: 18px 0 25px; }
.project-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #b8c4cb; padding: 14px 0; font: 400 clamp(23px,2.2vw,38px)/1.15 var(--serif); text-decoration: none; }
.project-row:last-child { border-bottom: 1px solid #b8c4cb; }
.project-row .icon { width: 18px; height: 18px; }
.projects-grid {
  display: grid;
  grid-template: "intro feature" auto "links feature" auto / minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 6vw, 100px);
}
.project-intro { grid-area: intro; align-self: end; }
.project-list { grid-area: links; align-self: start; }
.project-feature {
  grid-area: feature;
  background-color: var(--project-paper);
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 14px;
  padding-inline-start: clamp(24px, 4vw, 70px);
  border-inline-start: 1px solid #bdc9c1;
  text-decoration: none;
}
.project-feature img {
  grid-column: 1 / -1;
  width: min(100%, 284px);
  justify-self: center;
  mix-blend-mode: multiply;
}
.competition-caption { padding-top: 5px; }
.competition-caption .eyebrow { color: var(--muted); }
.competition-caption h3 {
  margin-top: 3px;
  font-size: clamp(28px, 2.8vw, 47px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.project-feature .round-link { border-color: #a9b9bc; }
.community { grid-template-columns: 1fr 1fr; }
.community > img { width: 100%; border-radius: 5px; }
.community .btn { margin-top: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 24px; }
.social { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; padding-block: 5px; text-decoration: none; }
.social .icon:last-child { width: .9em; }
footer { background: #23384d; color: #edf0eb; padding: 50px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 30px; }
.foot-grid .brand .mark { color: #49617b; }
.foot-grid h2 { font: 650 11px/1.4 var(--sans); letter-spacing: .11em; text-transform: uppercase; color: #f2d68e; margin-bottom: 13px; }
.foot-grid > div > a:not(.brand) { display: flex; width: fit-content; text-decoration: none; padding-block: 5px; font-size: 14px; }
.foot-grid p { font: italic 22px var(--serif); margin-top: 14px; }
.foot-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; margin-top: 38px; padding-top: 18px; border-top: 1px solid #526378; }
.foot-end a { text-underline-offset: 3px; }
.inner-mast { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.inner-mast .wrap { padding-block: clamp(27px,3.4vw,55px) clamp(32px,4.5vw,78px); }
.inner-mast h1 { max-width: 21ch; font-size: clamp(48px,6vw,100px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; margin-top: 20px; }
.mast-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(80%, var(--photo-width, 1024px)); background-position: center 50%; background-size: cover; opacity: .6; mask-image: linear-gradient(90deg,transparent 0%,#000 100%); }
.mast-photo.edena { background-image: url("../Edena12.jpg"); }
.mast-photo.dorfgemeinschaft { background-image: url("../bank.jpg"); --photo-width: 640px; }
.mast-photo.dorfscheune { background-image: url("../Scheune_2015.jpg"); }
.crumb { display: flex; align-items:center; gap: 7px; font-size: 13px; }
.crumb a { text-underline-offset: 3px; }
.crumb .icon { color: var(--gold); width: 12px; }
.reading-layout { display: grid; grid-template-columns: minmax(0,800px) minmax(200px,270px); gap: clamp(30px,7.8vw,145px); justify-content: space-between; align-items: start; padding-block: clamp(32px,5vw,80px); }
.story { font-size: clamp(16px,1.25vw,19px); overflow-wrap: anywhere; line-height: 1.67; }
.story h2 { margin-block: 1.4em .35em; line-height: 1.15; letter-spacing: -.018em; font-size: clamp(30px,3vw,47px); }
.story > :first-child, .story .sight h2 { margin-top: 0; }
.story p, .story li { margin: 0 0 .8em; }
.story p:last-child { margin-bottom: 0; }
.story ul { padding-inline-start: 1.3em; }
.story li::marker { color: #806518; }
.story strong { font-weight: 650; }
.story a { text-underline-offset: .2em; text-decoration-thickness: 1px; color: #2b587b; }
.archive-image { margin: 1.25em 0; }
.archive-image a { display: block; width: fit-content; max-width: 100%; }
.archive-image img { width: auto; max-height: 540px; border-radius: 4px; }
.sights { display: grid; gap: 20px; }
.sight { display: grid; grid-template-columns: minmax(120px,.48fr) 1fr; gap: clamp(16px,2vw,35px); align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sight .archive-image { margin: 0; }
.sight .archive-image img { width: 100%; }
.sight .eyebrow { color: var(--muted); display: block; margin-bottom: 8px; }
.sight p { font-size: 16px; }
.local-nav { border-top: 2px solid var(--blue); padding-top: 17px; }
.local-nav nav { margin-top: 12px; }
.local-nav nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.local-nav nav a[aria-current] { font-weight: 750; }
.local-nav nav a .icon { width: 15px; }
.aside-note { font: italic 22px var(--serif); margin-top: 24px; }
.archive-legal { display: inline-block; font-size: 12px; margin-top: 8px; }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: appear .58s var(--ease) both; }
  .hero h1 { animation-delay: 65ms; }
  .motto { animation-delay: 130ms; }
  .hero-copy .btn { animation-delay: 195ms; }
  .in-view { animation: appear .45s var(--ease) both; }
}
@media (hover: hover) and (pointer: fine) {
  .head-inner nav > a:hover::after { transform: scaleX(1); }
  .gold:hover { background: #ffda7a; }
  .join:hover, .navy:hover { background: #374f68; }
  .btn:hover .icon, .plain-link:hover .icon { transform: translateX(3px); }
  .photo-controls button:hover { background: #243b51df; }
  .place-card:hover img { transform: scale(1.04); }
  .place-card:hover .round-link, .project-row:hover { color: #3c628b; }
  .project-feature:hover .icon, .place-card:hover .icon, .project-row:hover .icon { transform: translate(2px,-2px); }
  .foot-grid a:not(.brand):hover,.local-nav a:hover,.social:hover { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 800px) {
  .head-inner { flex-wrap: wrap; gap: 8px; min-height: 68px; padding-block: 8px; }
  .head-inner .brand span { font-size: 27px; }
  .head-inner .mark { width: 39px; height: 39px; }
  .head-inner nav { width: 100%; flex-wrap: wrap; gap: 4px 16px; padding-block: 10px; }
  .interactive .menu-toggle { display: flex; }
  .interactive .head-inner nav { position: absolute; top: 100%; left: 0; background: var(--paper); padding: 12px var(--gutter) 23px; box-shadow: 0 14px 20px #10212e24; display: none; }
  .interactive .head-inner nav.open { display: grid; gap: 2px; }
  .head-inner nav > a:not(.join) { border-bottom: 1px solid var(--line); }
  .head-inner nav .join { margin-top: 8px; }
  .reading-layout { grid-template-columns: minmax(0,1fr) minmax(180px,.42fr); gap: 28px; }
  .community { gap: 32px; }
  .foot-grid { grid-template-columns: 1.2fr 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .hero-inner { min-height: 510px; min-height: clamp(475px,68svh,576px); padding-block: 50px 104px; }
  .hero h1 { font-size: clamp(78px,19vw,108px); line-height: .87; margin-block: 18px 17px; }
  .hero-photo { object-position: 66% center; }
  .hero-veil { background: linear-gradient(90deg,#0e2029d6 0%,#152b32a6 40%,#15283229 100%),linear-gradient(0deg,#12212bb3,transparent 25%); }
  .hero-bottom { min-height: 65px; }
  .dots { display: none; }
  .photo-label { font-size: 12px; }
  .photo-controls { gap: 5px; }
  .hero-copy .btn { margin-top: 20px; }
  .section { padding-block: 44px; }
  .section-intro { flex-direction: column; align-items: start; gap: 9px; margin-bottom: 18px; }
  .places, .projects-grid, .community, .reading-layout { grid-template-columns: minmax(0,1fr); }
  .places { gap: 27px; }
  .card-photo { aspect-ratio: 1.8; }
  .card-label { padding-top: 12px; }
  .card-label h3 { font-size: 32px; }
  .projects-grid {
    grid-template: "intro" auto "feature" auto "links" auto / minmax(0, 1fr);
    row-gap: 0;
  }
  .project-feature {
    grid-template-columns: minmax(95px, 36%) minmax(0, 1fr) auto;
    padding: 18px 0; gap: 12px;
    border-inline-start: 0; border-top: 1px solid #b8c4cb;
  }
  .project-feature img { grid-column: auto; }
  .competition-caption { padding: 0; }
  .competition-caption h3 { font-size: clamp(25px, 6.5vw, 36px); }
  .project-feature .round-link { width: 32px; height: 32px; }
  .project-intro p:not(.eyebrow) { margin-bottom: 20px; }
  .community { gap: 22px; }
  .local-nav { margin-top: 16px; }
  .sight { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .sight .archive-image img { max-height: 260px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .foot-grid > div:first-child { grid-column: 1/-1; }
  .foot-end { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.community-photos { position: relative; padding: 0 6% 7% 0; }
.community-photos > img { width: 100%; max-width: 640px; border-radius: 5px; }
.village-postcard { position: absolute; width: 34%; right: 0; bottom: 0; padding: 4px; background: #fffdf5; box-shadow: 0 3px 10px #1d304133; transform: rotate(3deg); }

.brand .mark { width: 58px; height: 58px; border-radius: 50%; }
@media (max-width: 800px) { .head-inner .mark { width: 48px; height: 48px; } }

.mast-photo.feldmark { --photo-width: 1920px; background-image: url("feldmark-fahrspuren-1920.webp"); background-position: center 53%; }
.farm-art { margin: 1.35em 0; }
.farm-art img { width: 100%; height: auto; border-radius: 5px; }
.farm-art figcaption { margin-top: .5em; color: var(--muted); font-size: .78em; }
.farm-sources { margin-top: 1.7em; padding-top: .6em; border-top: 1px solid var(--line); font-size: .88em; }
.farm-sources summary { padding-block: .65em; cursor: pointer; font-weight: 600; }
.farm-sources ul { margin-block: .5em; }

.farm-art figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; }
.farm-art figcaption small { font-size: 12px; white-space: nowrap; }
