:root {
  --sc-canvas: #fafaf7;
  --sc-surface: #f2f1e9;
  --sc-ink: #242722;
  --sc-ink-soft: #62675f;
  --sc-accent: #336d35;
  --sc-accent-ink: #fff;
  --sc-font-display: Manrope, Arial, sans-serif;
  --sc-font-text: Manrope, Arial, sans-serif;
}
.atlas {
  --at-paper: #fafaf7;
  --at-ink: #242722;
  --at-green: #336d35;
  --at-grey: #62665f;
  --at-rule: #cbcec5;
  --at-gutter: var(--gutter, clamp(25px, 4.3vw, 85px));
  color: var(--at-ink);
  background: var(--at-paper);
  line-height: 1.45;
  overflow: visible;
}
.atlas :is(h1,h2,h3,p,figure) { margin: 0; }
.atlas [hidden] { display: none !important; }
.atlas a { color: inherit; text-decoration: none; }
.atlas :is(button,a):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.atlas button { cursor: pointer; }
.atlas .at-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.at-pad { padding-inline: var(--at-gutter); }
.at-opening { --ink-cut: 100%; --press: 0; position: relative; background: var(--at-paper); }
@media (min-width: 641px) and (min-height: 541px) and (prefers-reduced-motion: no-preference) {
  .atlas-enhanced .at-opening::after { content: ""; display: block; height: min(40svh, 330px); }
  .atlas-enhanced .at-spread { position: sticky; top: 0; }
}
/* Reserve the reveal distance on the first frame, before the deferred script runs. */
@media (min-width: 641px) and (min-height: 541px) and (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .at-opening::after { content: ""; display: block; height: min(40svh, 330px); }
  .at-spread { position: sticky; top: 0; }
}
/* All optical layers share one cover-sized board. The title is positioned
   against the visible window, independently of the photograph's crop. */
.at-window {
  height: calc(100vh - var(--mast-height, 88px));
  height: calc(100svh - var(--mast-height, 88px));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dfe5e5;
  container-type: size;
}
.at-opening {
  --board-ratio: 1.66;
  --title-x: var(--at-gutter);
  --title-y: max(10px,2.6cqh);
  --word-size: min(15vw, 22cqh);
  --lead-size: min(11.1vw, 15.8cqh);
}
.at-board {
  --board-w: max(100cqw, calc(100cqh * var(--board-ratio)));
  --board-h: calc(var(--board-w) / var(--board-ratio));
  --board-l: calc((100cqw - var(--board-w)) * .5);
  --board-t: calc((100cqh - var(--board-h)) * .30);
  position: absolute;
  width: var(--board-w);
  height: var(--board-h);
  left: var(--board-l);
  top: var(--board-t);
}
.at-frame, .at-frame img { display: block; width: 100%; height: 100%; }
.at-frame { position: absolute; inset: 0; pointer-events: none; }
.at-base { z-index: 0; }
.at-roof { z-index: 3; clip-path: var(--roofline); }
.at-ink { z-index: 4; clip-path: inset(0 0 0 var(--board-cut,100%)); }
.at-title {
  position: absolute;
  z-index: 2;
  left: calc(var(--title-x) - var(--board-l));
  top: calc(var(--title-y) - var(--board-t));
  transform: translateY(calc(var(--press) * 6cqh));
  white-space: nowrap;
  color: white;
  line-height: .92;
}
.at-title span {
  display: block;
  width: fit-content;
  font-size: var(--lead-size);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -.064em;
  margin: 0 0 .035em;
}
.at-title strong {
  display: block;
  font-size: var(--word-size);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .85;
  margin-left: -.048em;
}
.at-tracing { position: absolute; inset: 0; z-index: 4; clip-path: inset(0 0 0 var(--board-cut,100%)); pointer-events: none; }
.at-outline-safe { position: absolute; inset: 0; clip-path: var(--skyline); }
.at-wire { color: transparent; text-shadow: none; -webkit-text-stroke: 1px #646e64; }
.at-wire span { -webkit-text-stroke-width: .75px; }
.at-divider { opacity: min(1, calc(var(--press) * 30)); position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 5; border-left: 1px solid #808a7e; transform: translateX(var(--ink-cut)); pointer-events: none; }
.at-divider::before,.at-divider::after { content:""; position:absolute; left:-5px; width:9px; height:2px; background:var(--at-green); }
.at-divider::before { top:0; } .at-divider::after { bottom:0; }
.at-ne { font-style: normal; font-weight: 400; font-family: Arial,sans-serif; line-height: 1; }
.at-service-list a:hover .at-ne { transform: translate(2px,-2px); }
.at-margin-note, .at-invite p { font-size: clamp(13px,1vw,17px); font-weight: 600; letter-spacing: -.03em; }
.at-margin-note { display: flex; gap: 12px; align-items: baseline; }
.at-margin-note span { display: inline-block; width: 28px; height: 2px; position: relative; top: -.28em; background: currentColor; }
.atlas :is(.at-intro,.at-works,.at-services,.at-invite) h2 { font-weight: 500; font-size: clamp(43px,6vw,116px); line-height: .99; letter-spacing: -.075em; }
.at-intro-bottom { margin-top: clamp(24px,3.2vw,58px); display: flex; gap: 6%; align-items: flex-end; justify-content: space-between; }
.at-intro-bottom p { max-width: 43ch; font-size: clamp(16px,1.25vw,22px); line-height: 1.55; color: var(--at-grey); }
.at-link { display: inline-flex; width: fit-content; gap: 15px; padding-block: 10px 6px; border-bottom: 1px solid currentColor; font-size: clamp(14px,1vw,18px); font-weight: 600; line-height: 1.35; white-space: nowrap; letter-spacing: -.035em; }
.at-link span { transition: transform .2s ease; }
.at-link:hover span, .at-invite-link:hover span { transform: translate(3px,-3px); }
.at-works { padding-bottom: clamp(85px,10vw,185px); }
.at-work-head { text-align: center; margin-bottom: clamp(23px,3.2vw,58px); }
.atlas .at-works h2 { font-size: clamp(40px,5vw,96px); }
.at-services { background: #e9ece4; display: grid; grid-template-columns: .82fr 1.18fr; gap: 6%; padding-block: clamp(65px,7vw,135px); }
.at-service-lead .at-link { margin-top: clamp(18px,2.5vw,40px); }
.at-service-list { border-top: 1px solid #9ea698; }
.at-service-list a { display: grid; grid-template-columns: 1fr 1.05fr auto; align-items: center; gap: 17px; padding-block: clamp(19px,2.3vw,42px); border-bottom: 1px solid #9ea698; }
.at-service-list h3 { font-size: clamp(25px,2.5vw,50px); font-weight: 500; letter-spacing: -.06em; }
.at-service-list p { font-size: clamp(13px,1.02vw,19px); line-height: 1.45; color: #454d42; font-weight: 500; }
.at-service-list .at-ne { transition: transform .2s; font-size: 23px; }
.at-invite { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding-block: clamp(80px,9vw,180px); }
.at-invite p { margin-bottom: clamp(19px,2vw,40px); }
.atlas .at-invite h2 { font-size: clamp(75px,9.3vw,195px); line-height: .90; }
.at-invite-link { display: inline-flex; font-size: clamp(15px,1.15vw,21px); font-weight: 600; min-height: 54px; gap: clamp(18px,2vw,32px); padding: 15px clamp(18px,2vw,33px); background: var(--at-green); color: white; align-items: center; justify-content: space-between; white-space: nowrap; }
.at-invite-link span { font-size: 21px; transition: transform .2s; }

@media (min-width: 641px) and (max-width: 900px) {
  .at-intro-bottom { align-items: start; flex-direction: column; gap: 16px; }
  .at-services { grid-template-columns: .65fr 1fr; gap: 4%; }
  .at-service-list a { grid-template-columns: 1fr auto; gap: 4px; }
  .at-service-list p { grid-column: 1; }
  .at-service-list .at-ne { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 640px) {
  .at-intro-bottom { display: grid; gap: 20px; margin-top: 24px; }
  .atlas :is(.at-intro,.at-works,.at-services) h2 { font-size: clamp(39px,10vw,65px); }
  .at-works { padding-bottom: 63px; }
  .at-services { grid-template-columns: 1fr; gap: 33px; padding-block: 51px; }
  .at-service-lead { display: block; }
  .at-service-lead .at-link { margin: 0; font-size: 13px; }
  .at-service-list a { grid-template-columns: 1fr auto; gap: 3px 12px; padding-block: 18px; }
  .at-service-list h3 { font-size: 28px; }
  .at-service-list p { grid-column: 1; font-size: 13px; }
  .at-service-list .at-ne { grid-column: 2; grid-row: 1 / 3; }
  .at-invite { grid-template-columns: 1fr; gap: 30px; padding-block: 68px; }
  .atlas .at-invite h2 { font-size: clamp(73px,18vw,110px); }
  .at-invite-link { width: fit-content; }
}
@media (max-height: 540px) and (min-width: 641px) {

  .atlas-enhanced .at-opening { padding-bottom: 0; }
  .atlas-enhanced .at-spread { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas *, .atlas *::before, .atlas *::after { transition-duration: .01ms !important; }
  .at-title { transform: none; }
}
.atlas :is(.at-intro,.at-works,.at-services) h2 { letter-spacing: -.065em; }
.atlas:not(.atlas-enhanced) [data-sc-in],
.atlas:not(.atlas-enhanced) [data-sc-stagger] > * { opacity: 1; transform: none; }
@media (max-width: 360px) {
  .at-service-lead { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas [data-sc-in], .atlas [data-sc-stagger] > * { opacity: 1; transform: none; }
}


@media (max-aspect-ratio: 9/10) {
  .at-opening {
    --board-ratio: .54;
    --lead-size: min(16.5vw,12cqh);
    --word-size: min(21.1vw,16.4cqh);
    --title-x: var(--at-gutter);
    --title-y: 12cqh;
  }
}
.at-wohnbau { --roofline: polygon(0.0000% 100.0000%,23.1222% 100.0000%,23.1222% 58.8561%,53.0000% 37.6384%,55.8889% 36.3469%,58.7778% 35.5166%,61.6667% 35.0185%,64.5556% 34.7601%,67.4444% 34.8893%,68.8889% 35.1107%,70.4444% 35.5535%,71.7778% 36.0148%,72.8889% 36.4207%,74.0000% 37.0111%,75.0000% 37.6753%,76.0000% 38.4317%,76.8889% 39.2620%,77.5556% 40.2583%,78.0000% 41.4022%,78.3333% 43.1734%,79.0000% 88.3764%,79.0000% 100.0000%,100.0000% 100.0000%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,100.0000% 100.0000%,79.0000% 100.0000%,79.0000% 88.3764%,78.3333% 43.1734%,78.0000% 41.4022%,77.5556% 40.2583%,76.8889% 39.2620%,76.0000% 38.4317%,75.0000% 37.6753%,74.0000% 37.0111%,72.8889% 36.4207%,71.7778% 36.0148%,70.4444% 35.5535%,68.8889% 35.1107%,67.4444% 34.8893%,64.5556% 34.7601%,61.6667% 35.0185%,58.7778% 35.5166%,55.8889% 36.3469%,53.0000% 37.6384%,23.1222% 58.8561%,23.1222% 100.0000%,0.0000% 100.0000%); }
.at-reiterhof { --roofline: polygon(0.0000% 40.7749%,3.4222% 43.6716%,12.1556% 59.5572%,17.4222% 71.6974%,28.0000% 68.2841%,42.2944% 37.9520%,58.0556% 62.6568%,58.5778% 64.1144%,60.8889% 69.7048%,61.9333% 71.9557%,90.7889% 71.4391%,90.7889% 73.9668%,86.3111% 74.8524%,86.0000% 89.6125%,100.0000% 87.9520%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,100.0000% 87.9520%,86.0000% 89.6125%,86.3111% 74.8524%,90.7889% 73.9668%,90.7889% 71.4391%,61.9333% 71.9557%,60.8889% 69.7048%,58.5778% 64.1144%,58.0556% 62.6568%,42.2944% 37.9520%,28.0000% 68.2841%,17.4222% 71.6974%,12.1556% 59.5572%,3.4222% 43.6716%,0.0000% 40.7749%); }
.at-montafon { --roofline: polygon(0.000% 12.402%,4.789% 20.349%,9.632% 26.114%,14.421% 34.148%,18.263% 37.293%,23.053% 39.214%,27.895% 41.747%,31.526% 44.978%,35.368% 45.590%,38.632% 42.096%,44.211% 38.865%,49.421% 36.943%,55.368% 38.253%,60.000% 36.943%,63.474% 34.148%,67.316% 31.528%,71.737% 30.306%,75.579% 30.306%,79.211% 31.878%,83.474% 29.345%,86.947% 28.384%,91.158% 29.607%,95.579% 31.878%,99.789% 28.996%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,99.789% 28.996%,95.579% 31.878%,91.158% 29.607%,86.947% 28.384%,83.474% 29.345%,79.211% 31.878%,75.579% 30.306%,71.737% 30.306%,67.316% 31.528%,63.474% 34.148%,60.000% 36.943%,55.368% 38.253%,49.421% 36.943%,44.211% 38.865%,38.632% 42.096%,35.368% 45.590%,31.526% 44.978%,27.895% 41.747%,23.053% 39.214%,18.263% 37.293%,14.421% 34.148%,9.632% 26.114%,4.789% 20.349%,0.000% 12.402%); }
@media (max-aspect-ratio: 9/10) {
.at-wohnbau { --roofline: polygon(-53.8462% 81.4516%,-8.4555% 81.4516%,-8.4555% 55.1856%,50.1969% 41.6404%,55.8680% 40.8159%,61.5391% 40.2858%,67.2103% 39.9678%,72.8814% 39.8029%,78.5525% 39.8854%,81.3880% 40.0267%,84.4417% 40.3094%,87.0591% 40.6039%,89.2403% 40.8630%,91.4215% 41.2399%,93.3846% 41.6639%,95.3477% 42.1468%,97.0926% 42.6769%,98.4014% 43.3129%,99.2738% 44.0432%,99.9282% 45.1739%,101.2369% 74.0311%,101.2369% 81.4516%,142.4615% 81.4516%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,142.4615% 81.4516%,101.2369% 81.4516%,101.2369% 74.0311%,99.9282% 45.1739%,99.2738% 44.0432%,98.4014% 43.3129%,97.0926% 42.6769%,95.3477% 42.1468%,93.3846% 41.6639%,91.4215% 41.2399%,89.2403% 40.8630%,87.0591% 40.6039%,84.4417% 40.3094%,81.3880% 40.0267%,78.5525% 39.8854%,72.8814% 39.8029%,67.2103% 39.9678%,61.5391% 40.2858%,55.8680% 40.8159%,50.1969% 41.6404%,-8.4555% 55.1856%,-8.4555% 81.4516%,-53.8462% 81.4516%); }
.at-reiterhof { --roofline: polygon(-24.9169% 41.5585%,-18.2658% 43.3893%,-1.2924% 53.4295%,8.9435% 61.1025%,29.5017% 58.9452%,57.2832% 39.7743%,87.9153% 55.3886%,88.9302% 56.3098%,93.4219% 59.8431%,95.4518% 61.2658%,151.5332% 60.9393%,151.5332% 62.5368%,142.8306% 63.0966%,142.2259% 72.4255%,169.4352% 71.3760%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,169.4352% 71.3760%,142.2259% 72.4255%,142.8306% 63.0966%,151.5332% 62.5368%,151.5332% 60.9393%,95.4518% 61.2658%,93.4219% 59.8431%,88.9302% 56.3098%,87.9153% 55.3886%,57.2832% 39.7743%,29.5017% 58.9452%,8.9435% 61.1025%,-1.2924% 53.4295%,-18.2658% 43.3893%,-24.9169% 41.5585%); }
.at-montafon { --roofline: polygon(-64.941% 9.975%,-52.471% 16.709%,-40.000% 21.601%,-27.412% 28.335%,-17.412% 31.004%,-4.941% 32.656%,7.529% 34.816%,17.059% 37.484%,27.059% 38.056%,35.529% 35.070%,50.118% 32.402%,63.529% 30.750%,79.059% 31.830%,91.059% 30.750%,100.000% 28.335%,110.118% 26.175%,121.529% 25.095%,131.529% 25.095%,141.059% 26.429%,152.000% 24.269%,161.059% 23.443%,172.000% 24.524%,183.529% 26.429%,194.588% 24.015%,100% 100%,0% 100%);
  --skyline: polygon(0 -100%,100% -100%,194.588% 24.015%,183.529% 26.429%,172.000% 24.524%,161.059% 23.443%,152.000% 24.269%,141.059% 26.429%,131.529% 25.095%,121.529% 25.095%,110.118% 26.175%,100.000% 28.335%,91.059% 30.750%,79.059% 31.830%,63.529% 30.750%,50.118% 32.402%,35.529% 35.070%,27.059% 38.056%,17.059% 37.484%,7.529% 34.816%,-4.941% 32.656%,-17.412% 31.004%,-27.412% 28.335%,-40.000% 21.601%,-52.471% 16.709%,-64.941% 9.975%); }
}

.at-opening { overflow-anchor: none; }
.at-margin-note { align-items: center; align-self: start; gap: 11px; }
.at-margin-note svg { flex: none; width: 29px; height: 29px; color: var(--at-green); }
.atlas .at-link, .atlas .at-invite-link {
  display: inline-flex; align-items: center; gap: 0; overflow: hidden; padding: 0 0 0 18px;
  min-height: 46px; border: 1px solid #9da69a; font-weight: 600;
  font-size: clamp(13px,1vw,17px); line-height: 1.25; letter-spacing: -.025em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.atlas .at-link span,.atlas .at-invite-link span {
  display: grid; place-items:center; align-self: stretch; min-width: 44px; margin-left: 18px;
  font: 17px/1 Arial,sans-serif; border-left: 1px solid rgb(70 91 68 / .2);
  transform: none; transition: background .25s,color .25s;
}
.atlas .at-link:hover,.atlas .at-link:focus-visible { color: #2a532c; border-color: #5f805e; background: #f2f5ee; }
.atlas .at-link:is(:hover,:focus-visible) span { background: #345e35; color: white; }
.atlas .at-invite-link { border-color: #336d35; background: #336d35; color: white; min-height: 54px; padding-left: 22px; }
.atlas .at-invite-link span { border-color: rgb(255 255 255 / .3); min-width: 51px; margin-left: 22px; }
.atlas .at-invite-link:is(:hover,:focus-visible) { background: #244e27; border-color: #244e27; }
.atlas .at-invite-link:is(:hover,:focus-visible) span { background: rgb(255 255 255 / .1); }
.at-works { overflow-x: clip; }
.at-services { align-items: center; }
.at-service-stage { position: relative; display: grid; align-items: center; min-height: clamp(185px,17vw,350px); }
.at-service-stage h2 { position: relative; transition: opacity .22s ease, transform .35s ease; }
.at-service-plates,.at-service-plates img { position: absolute; inset: 0; height:100%; width:100%; pointer-events:none; }
.at-service-plates { overflow:hidden; }
.at-service-plates img { object-fit:cover; opacity:0; transform:scale(1.05); transition:opacity .32s ease,transform .56s cubic-bezier(.22,.8,.28,1); }
.at-service-stage.has-photo h2 { opacity:0; transform:translateY(-7px); }
.at-service-plates img.is-active { opacity:1; transform:scale(1); }
.at-service-lead .at-link { margin-top: 20px; }
.at-service-row { position:relative; }
.at-service-row a { outline-offset:-3px!important; }
.at-service-row.is-active h3,.at-service-row a:is(:hover,:focus-visible) h3 { color: #336d35; }
.at-service-row.is-active .at-ne { transform: translate(3px,-3px); }
.at-service-thumb,.at-touch-picture { display:none; }
.at-invite {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.82fr);
  min-height:max(340px,42vw); width:100%; padding:0; gap:0; isolation:isolate;
  align-items:center; overflow:hidden; background:#e3e3df;
}
.at-team-portrait { position:absolute; inset:0; z-index:-1; display:block; }
.at-team-portrait img { display:block; width:100%; height:100%; object-fit:cover; object-position:left center; }
.at-invite-copy { grid-column:2; padding:clamp(22px,4vw,74px) var(--at-gutter) clamp(22px,4vw,74px) 3.5vw; }
.atlas .at-invite-copy h2 { font-size:clamp(52px,6.8vw,140px); }
.at-invite-copy .at-invite-link { margin-top:clamp(20px,2.6vw,48px); }
@media (hover:none),(pointer:coarse),(max-width:760px) {
  .at-service-stage { min-height:0; }
  .at-service-plates { display:none; }
  .at-service-stage.has-photo h2 { opacity:1; transform:none; }
  .at-service-row { display:grid; grid-template-columns:minmax(0,1fr) 66px; gap:0 12px; border-bottom:1px solid #9ea698; align-items:center; }
  .at-service-row a { border:0; }
  .atlas-enhanced .at-service-thumb {
    display:block; position:relative; width:66px; height:48px; padding:0; border:0; overflow:hidden;
    background:#e2e7da;
  }
  .at-service-thumb img { width:100%; height:100%; object-fit:cover; }
  .at-service-thumb span { position:absolute; bottom:0; right:0; width:17px; height:17px; display:grid; place-items:center; background:#fafaf7; color:#243826; font:17px/1 Arial,sans-serif; }
  .at-touch-picture:not([hidden]) { display:block; grid-column:1/-1; margin-bottom:16px; }
  .at-touch-picture img { width:100%; max-height:290px; object-fit:cover; aspect-ratio:1.65; }
  .at-service-row .at-ne { font-size:17px; }
}
@media (max-width:760px) {
  .at-services { display:grid; grid-template-columns:1fr; gap:25px; }
  .at-service-lead { display:flex; gap:14px; align-items:end; justify-content:space-between; }
  .at-service-lead .at-link { margin:0; flex:none; }
  .at-service-list a { grid-template-columns:1fr auto; gap:2px 8px; padding-block:17px; }
  .at-service-list p { grid-column:1; }
  .at-service-list .at-ne { grid-column:2; grid-row:1/3; }
}
@media (max-width:700px) {
  .at-invite { display:block; min-height:0; }
  .at-team-portrait { position:static; display:block; }
  .at-team-portrait img { height:auto; aspect-ratio:1.5; }
  .at-invite-copy {
    padding:36px var(--at-gutter) 48px;
    background-color:#dfdfda; background-image:url('assets/team-wand.webp');
    background-size:cover; background-position:center;
  }
  .atlas .at-invite-copy h2 { font-size:clamp(64px,16vw,97px); }
  .at-invite-copy p { margin-bottom:14px; }
  .at-invite-copy .at-invite-link { margin-top:22px; }
}
@media (max-width:620px) {
  .at-link { min-height:44px; }
}
@media (max-width:360px) {
  .at-service-lead { align-items:start; flex-direction:column; }
}
@media (max-width: 440px) {
  .at-service-lead { flex-direction: column; align-items: start; gap: 16px; }
  .at-services { grid-template-columns: minmax(0, 1fr); }
}

/* Freier Himmel von der oberen Fensterkante bis zur Dachsilhouette. */
.page-home .mast{position:absolute;inset:0 0 auto;background:transparent;z-index:8}
.page-home .social-profile{border-color:#526f6099}
.at-window{height:100vh;height:100svh;background:#dce8e9}
.at-opening{--title-y:max(calc(var(--mast-height) + 12px),15.7cqh);--word-size:min(14vw,20cqh);--lead-size:min(10.8vw,15cqh)}
.at-board{--board-t:calc((100cqh - var(--board-h)) * .30 + 7cqh)}

@media(max-aspect-ratio:9/10){.at-opening{--title-y:max(calc(var(--mast-height) + 20px),22cqh);--lead-size:min(16.5vw,12cqh);--word-size:min(21.1vw,16.4cqh)}}
@media(max-height:540px) and (min-aspect-ratio:9/10){.at-opening{--title-y:calc(var(--mast-height) + 6px);--word-size:16cqh;--lead-size:13cqh}}

/* Typografie zwischen Himmel und tatsächlicher Dachkante. */
.at-opening{--title-y:max(calc(var(--mast-height) + 16px),19cqh);--lead-size:min(9.65vw,14cqh);--word-size:min(12.9vw,19cqh)}
.at-title{left:calc(50cqw - var(--board-l));width:max-content;text-align:center;transform:translate(-50%,calc(var(--press) * 4cqh))}
.at-title span{margin-inline:auto}
.at-title strong{margin-inline:0}
.at-title:not(.at-wire){z-index:2;text-shadow:none}
.at-montafon .at-outline-safe{clip-path:polygon(0 -100%,100% -100%,100% 62.6%,76% 62.6%,76% 60.2%,59.9% 60.2%,59.9% 57.2%,0 57.65%)}
@media(max-aspect-ratio:9/10){
  .at-opening{--title-y:max(calc(var(--mast-height) + 18px),24cqh);--lead-size:min(14vw,11cqh);--word-size:min(15.35vw,13cqh)}
  .at-montafon .at-outline-safe{clip-path:polygon(0 -100%,100% -100%,100% 49%,89.8% 49%,89.8% 46.6%,0 47%)}
}
@media(max-height:540px) and (min-aspect-ratio:9/10){.at-opening{--title-y:calc(var(--mast-height) + 6px);--lead-size:13cqh;--word-size:16cqh}}
@media(prefers-reduced-motion:reduce){.at-title{transform:translateX(-50%)}}

.at-window::before{content:"";position:absolute;inset:0;background:#f2f5ed;clip-path:inset(0 0 0 var(--ink-cut))}
.at-board::before{
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:linear-gradient(180deg,
  #dce8e9 calc(7cqh - var(--board-t)),
  #c8d9de calc(17cqh - var(--board-t)),
  rgb(171 193 204 / .85) calc(32cqh - var(--board-t)),
  rgb(157 181 193 / .67) calc(51cqh - var(--board-t)),
  rgb(166 189 199 / .28) calc(71cqh - var(--board-t)),
  transparent calc(92cqh - var(--board-t)));
}
.at-reiterhof .at-board{--board-t:calc((100cqh - var(--board-h)) * .30 + 4cqh)}
.at-montafon .at-board{--board-w:max(100cqw,calc(111cqh * var(--board-ratio)));--board-t:calc(100cqh - var(--board-h))}
.at-montafon .at-roof{clip-path:polygon(0 57.4%,59.89% 57.02%,59.89% 60.15%,76.6% 59.96%,74% 70%,74% 100%,0 100%)}
@media(max-aspect-ratio:9/10){
 .at-montafon .at-board{
   --board-w:max(100cqw,calc(104cqh * var(--board-ratio)));
   --board-t:max(calc(100cqh - var(--board-h)),calc(47cqh - .4778 * var(--board-h)));
 }
 .at-montafon .at-roof{clip-path:polygon(0 47.78%,90.5% 47.67%,90.5% 50.29%,100% 50.29%,100% 100%,0 100%)}
}
.at-montafon .at-board::before{
 mask-image:linear-gradient(to bottom,#000 calc(26cqh - var(--board-t)),transparent calc(47cqh - var(--board-t)));
}

/* Film im Büroabschnitt. Der Text bleibt auf der hellen Seite des Bildes. */
.atlas .at-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(450px, 45vw, 710px);
  overflow: hidden;
  padding-block: clamp(50px, 7vw, 113px);
  background: #edf0e8;
}
.at-intro-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #e8eee3 url('assets/planung-hintergrund.webp') center / cover no-repeat;
}
.at-intro-background video { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-intro-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#edf0e8 2%,rgb(237 240 232 / .97) 26%,rgb(237 240 232 / .87) 45%,rgb(237 240 232 / .27) 69%,rgb(237 240 232 / .1));
}
.at-intro-content { width: min(66%, 940px); }
.at-intro-content .at-margin-note { margin-bottom: clamp(18px, 2vw, 34px); }
.atlas .at-intro h2 { font-size: clamp(43px, 5.7vw, 110px); }
.atlas .at-intro-bottom { display: grid; gap: 22px; }
.at-intro-bottom p { color: #394941; }
.at-video-toggle {
  position: absolute;
  bottom: clamp(15px, 2.7vw, 40px);
  right: var(--at-gutter);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #f8faf4ed;
  color: #38583b;
  border: 1px solid #6a8166;
}
.at-video-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.at-video-toggle .at-video-pause,
.at-video-toggle.is-playing .at-video-play { display: none; }
.at-video-toggle.is-playing .at-video-pause { display: block; }

.at-works { padding-block: clamp(35px, 5vw, 80px) clamp(65px, 8vw, 130px); }
.at-works-track {
  --card-gap: clamp(9px, 1.5vw, 24px);
  position: relative;
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}
.atlas-enhanced .at-works-track { scrollbar-width: none; }
.at-work-item {
  flex: 0 0 calc((100% - var(--card-gap) * 2.16) / 3.16);
  min-width: 0;
  scroll-snap-align: start;
  transition: flex-basis .46s cubic-bezier(.22,.8,.28,1);
}
.at-work { display: block; }
.at-work-photo {
  position: relative;
  height: clamp(250px, 32vw, 540px);
  overflow: hidden;
  isolation: isolate;
  background: #dfe5da;
}
.at-work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.8,.28,1); }
.at-work-title {
  position: absolute;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(15px, 2vw, 35px);
  inset: 35% 0 0;
  color: #fff;
  background: linear-gradient(transparent,rgb(20 31 24 / .91));
  transition: opacity .3s ease,transform .35s ease;
}
.at-work-title h3 { font-size: clamp(23px, 2.8vw, 43px); font-weight: 500; letter-spacing: -.055em; line-height: 1.03; }
.at-work-title span { font-size: 24px; line-height: 1; }
.at-work-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(8px,1.6vw,25px);
  row-gap: 5px;
  padding: 11px 0 2px;
  color: #4b5d4d;
  font-size: clamp(12px,1vw,15px);
}
.at-work-meta span, .at-service-list h3 { display: flex; align-items: center; gap: .46em; }
.at-line-icon { display: block; flex: none; height: 1.24em; width: 1.24em; color: #3d6c3e; }
.at-service-list .at-line-icon { height: .95em; width: .95em; }
.at-work-controls { display: flex; align-items: center; justify-content: flex-end; gap: clamp(7px,1.25vw,19px); margin-top: 18px; }
.at-work-progress { height: 1px; background: #c6d0c3; flex: 1; }
.at-work-progress span { display: block; width: 100%; height: 100%; background: #487245; transform: scaleX(var(--track-progress,0)); transform-origin: left; }
.at-work-buttons { display: flex; gap: 7px; }
.at-work-buttons button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #91a18b; background: #fafbf7; color: #29462d; transition: background .2s; }
.at-work-buttons button svg { width: 22px; height: 22px; }
.at-work-buttons button[aria-disabled="true"] { opacity: .45; cursor: default; }
.at-work-buttons button:not([aria-disabled="true"]):is(:hover,:focus-visible) { background: #e0ebdb; }
@media (hover: hover) and (pointer: fine) {
  .at-work-title { opacity: 0; transform: translateY(9px); }
  .at-work-item:is(:hover,:focus-within) { flex-basis: 43%; }
  .at-work-item:is(:hover,:focus-within) .at-work-title { opacity: 1; transform: none; }
  .at-work-item:is(:hover,:focus-within) img { transform: scale(1.025); }
}
@media (max-width: 850px) {
  .at-work-item { flex-basis: 62%; }
  .at-work-item:is(:hover,:focus-within) { flex-basis: 69%; }
  .at-work-photo { height: clamp(230px, 48vw, 390px); }
}
@media (max-width: 640px) {
  .atlas .at-intro { min-height: 420px; padding-bottom: 70px; }
  .at-intro-content { width: 100%; }
  .at-intro-background { background-position: 100% center; }
  .at-intro-background video { object-position: 100% center; }
  .at-intro-background::after { background: linear-gradient(90deg,rgb(237 240 232 / .97),rgb(237 240 232 / .89) 52%,rgb(237 240 232 / .72)); }
  .atlas .at-intro h2 { font-size: clamp(36px, 9.7vw, 59px); }
  .at-work-item { flex-basis: 82%; }
  .at-work-item:is(:hover,:focus-within) { flex-basis: 82%; }
  .at-work-title { opacity: 1; transform: none; }
  .at-work-title h3 { font-size: clamp(21px, 5.6vw, 32px); }
}

.at-welcome {
  padding-block: clamp(52px, 6.8vw, 114px) clamp(32px, 4.3vw, 72px);
  text-align: center;
}
.at-welcome h2 {
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(36px, 4.55vw, 82px);
  font-weight: 500;
  letter-spacing: -.064em;
  line-height: 1.07;
  text-wrap: balance;
}
.at-welcome p {
  max-width: 46ch;
  margin: clamp(16px, 2vw, 29px) auto 0;
  color: var(--at-grey);
  font-size: clamp(16px, 1.36vw, 22px);
  line-height: 1.6;
}
.atlas .at-welcome-contact { margin-top: clamp(18px, 2.2vw, 32px); }
.at-welcome + .at-works { padding-top: clamp(22px, 3vw, 46px); }
.at-welcome-services {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  width: min(100%, 650px);
  margin: clamp(24px, 3.25vw, 52px) auto 0;
  border-block: 1px solid #c4cec0;
}
.at-welcome-services a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(58px,5.2vw,80px);
  padding: 8px 4px;
  gap: clamp(5px,1vw,14px);
  font-size: clamp(14px,1.32vw,21px);
  color: #25452d;
  transition: background .2s ease;
}
.at-welcome-services a + a { border-inline-start: 1px solid #c4cec0; }
.at-welcome-services .at-line-icon { width: clamp(22px,2vw,30px); height: clamp(22px,2vw,30px); }
.at-welcome-services a:is(:hover,:focus-visible) { background: #eaf0e6; }
.atlas .at-work-controls .at-link {
  min-height: 48px;
  border-color: #c0c5bd;
  background: #e8ebe6;
  color: #243828;
}
.atlas .at-work-controls .at-link:is(:hover,:focus-visible) { background: #dce4d9; }
@media(max-width:520px) {
  .at-welcome-services a { flex-direction: column; min-height: 69px; }
  .at-work-progress { display: none; }
}
