/* Saira, lokal ausgeliefert (SIL Open Font License 1.1) — kein Aufruf an Google */

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/saira-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/saira-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --forest: #123f2c;
  --forest-deep: #0b2f20;
  --green: #237d50;
  --green-light: #9bd37c;
  --sky: #37aee2;
  --sand: #e3d0af;
  --sand-light: #f1e9dc;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #1d2923;
  --muted: #5c665f;
  --line: rgba(29, 41, 35, 0.18);
  --shell: 1180px;
  --header-height: 88px;
  --font-body: "Avenir Next", "Segoe UI", Helvetica, sans-serif;
  --font-condensed: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --font-h2: "Saira", "Avenir Next", "Segoe UI", sans-serif;

  /* Pfeil-Icons als SVG statt als Unicode-Zeichen: ↗ und ↘ besitzen eine
     Emoji-Variante, die iOS mangels Glyphe in Avenir Next / Helvetica aus
     Apple Color Emoji holt — dort erscheinen sie dann als blaue Emoji-Kacheln. */
  --arrow-ne-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23237d50' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8.6 7H17v8.4'/%3E%3C/svg%3E");
  --arrow-ne-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8.6 7H17v8.4'/%3E%3C/svg%3E");
  --arrow-ne-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8.6 7H17v8.4'/%3E%3C/svg%3E");
  --arrow-se-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7 17 17'/%3E%3Cpath d='M17 8.6V17H8.6'/%3E%3C/svg%3E");
  --arrow-w-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='M11 6 5 12l6 6'/%3E%3C/svg%3E");
  --arrow-e-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Inline-Pfeil, der die Textfarbe erbt */
.icon-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

.icon-arrow-ne {
  --icon: var(--arrow-ne-mask);
}

.icon-arrow-se {
  --icon: var(--arrow-se-mask);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-h2);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  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;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 11px 16px;
  color: var(--white);
  background: var(--forest-deep);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  --button-tile-bg: var(--white);
  --button-arrow: var(--arrow-ne-green);
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 6px 6px 22px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--white);
  background: var(--green);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button::after {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 7px;
  background-color: var(--button-tile-bg);
  background-image: var(--button-arrow);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  content: "";
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--forest);
  background: var(--forest);
  transform: translateY(-2px);
}

.button:hover::after {
  animation: button-arrow-slide 430ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:active {
  transform: translateY(0);
}

.button:active::after {
  transform: scale(0.94);
}

.button-small {
  min-height: 46px;
  gap: 12px;
  padding: 4px 4px 4px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.button-small::after {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 6px;
  font-size: 17px;
}

/* Auf dunklen Flächen: heller Körper, grüne Kachel */

.button-light {
  --button-tile-bg: var(--green);
  --button-arrow: var(--arrow-ne-white);
  border-color: var(--white);
  color: var(--forest-deep);
  background: var(--white);
}

.button-light:hover {
  border-color: var(--sand-light);
  color: var(--forest-deep);
  background: var(--sand-light);
}

/* Auf hellen Flächen als zweite Stufe: dunkler Körper, grüne Kachel */

.button-dark {
  --button-tile-bg: var(--green);
  --button-arrow: var(--arrow-ne-white);
  border-color: var(--forest-deep);
  color: var(--white);
  background: var(--forest-deep);
}

.button-dark:hover {
  border-color: var(--forest);
  background: var(--forest);
}

@keyframes button-arrow-slide {
  0% {
    transform: translate(0, 0);
  }
  55% {
    transform: translate(4px, -4px);
  }
  76% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.text-link,
.project-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-link:visited,
.project-link:visited {
  color: #526b59;
}

.text-link:hover,
.project-link:hover {
  color: var(--green);
}

.text-link span {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--arrow-se-mask) no-repeat center / contain;
  mask: var(--arrow-se-mask) no-repeat center / contain;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

/* Floating wood shavings */

.floating-wood {
  --offset-x: 0px;
  --offset-y: 0px;
  --offset-rotation: 0deg;
  --edge-blur: 1px;
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  opacity: 0.74;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translate3d(var(--offset-x), var(--offset-y), 0) rotate(var(--offset-rotation));
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), opacity 620ms ease;
}

.floating-wood img {
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 15px rgba(73, 42, 12, 0.13)) blur(var(--edge-blur));
  transform-origin: center;
  animation: wood-float 10s ease-in-out infinite;
  transition: filter 180ms ease, transform 180ms ease;
}

.floating-wood:hover,
.floating-wood:focus-visible {
  opacity: 1;
}

.floating-wood:hover img,
.floating-wood:focus-visible img {
  filter: drop-shadow(0 16px 19px rgba(73, 42, 12, 0.2)) blur(var(--edge-blur));
}

.floating-wood:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 5px;
}

.floating-wood.is-dragging {
  z-index: 20;
  cursor: grabbing;
  opacity: 1;
  transition: none;
}

.floating-wood.is-dragging img {
  animation-play-state: paused;
  transform: scale(1.06) rotate(2deg);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(14px);
  transition: height 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background-color 260ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(15, 49, 34, 0.06);
}

/* Transparent over the image hero, solid as soon as the page scrolls */

.site-header-overlay:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
}

.site-header-overlay:not(.is-scrolled) .desktop-nav a,
.site-header-overlay:not(.is-scrolled) .header-phone {
  color: var(--white);
}

.site-header-overlay:not(.is-scrolled) .desktop-nav a::after {
  background: var(--white);
}

.site-header-overlay:not(.is-scrolled) .header-phone:hover {
  color: var(--green-light);
}

.site-header-overlay:not(.is-scrolled) .menu-button {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.site-header-overlay:not(.is-scrolled) .menu-button:hover,
.site-header-overlay:not(.is-scrolled) .menu-button[aria-expanded="true"] {
  border-color: var(--white);
  color: var(--forest-deep);
  background: var(--white);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  position: relative;
  display: block;
  height: 56px;
  flex: none;
}

.brand img {
  width: auto;
  height: 100%;
  transition: opacity 260ms ease;
}

.brand .brand-light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.site-header-overlay:not(.is-scrolled) .brand .brand-light {
  opacity: 1;
}

.site-header-overlay:not(.is-scrolled) .brand .brand-dark {
  opacity: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.8vw, 42px);
}

.desktop-nav a,
.header-phone {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone:hover {
  color: var(--green);
}

.menu-button {
  display: none;
  width: 52px;
  height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-button > span:not(.sr-only) {
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  border-color: var(--forest);
  color: var(--white);
  background: var(--green);
  transform: scale(1.04);
}

.menu-button:hover > span:first-child {
  transform: translateX(2px);
}

.menu-button:hover > span:nth-child(2) {
  transform: translateX(-1px);
}

.menu-button:hover > span:nth-child(3) {
  transform: translateX(2px);
}

.site-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  color: var(--white);
  background: rgba(11, 47, 32, 0.98);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-close {
  position: absolute;
  top: 22px;
  right: max(32px, calc((100vw - var(--shell)) / 2));
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: transparent;
  font: 300 38px/1 var(--font-body);
  cursor: pointer;
}

.menu-panel {
  display: flex;
  width: min(90vw, 640px);
  flex-direction: column;
  align-items: flex-start;
  padding: 56px 24px;
}

.menu-panel .eyebrow {
  color: var(--green-light);
}

.menu-panel > a {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.1;
  text-decoration: none;
}

.menu-panel > a:hover {
  color: var(--sand);
}

.menu-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--green-light);
  font-size: 15px;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: min(880px, 100svh);
  flex-direction: column;
  justify-content: flex-end;
  margin-top: calc(var(--header-height) * -1);
  overflow: hidden;
  background: var(--forest-deep);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  animation: hero-zoom 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Scrim: deep at the bottom so the copy reads, light at the top so the team stays visible */

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(7, 28, 19, 0.74) 0%,
      rgba(7, 28, 19, 0.55) 28%,
      rgba(7, 28, 19, 0.16) 52%,
      rgba(7, 28, 19, 0) 70%
    ),
    linear-gradient(
      to top,
      rgba(7, 28, 19, 0.9) 0%,
      rgba(7, 28, 19, 0.72) 16%,
      rgba(7, 28, 19, 0.4) 30%,
      rgba(7, 28, 19, 0.12) 48%,
      rgba(7, 28, 19, 0) 66%
    ),
    linear-gradient(to bottom, rgba(7, 28, 19, 0.5) 0%, rgba(7, 28, 19, 0.1) 18%, rgba(7, 28, 19, 0) 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: calc(var(--header-height) + 120px) 0 66px;
  color: var(--white);
  animation: hero-rise 780ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .eyebrow {
  color: #b9e59c;
  text-shadow: 0 2px 10px rgba(7, 28, 19, 0.85), 0 0 26px rgba(7, 28, 19, 0.6);
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-h2);
  font-size: clamp(48px, 5.4vw, 82px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-shadow: 0 2px 26px rgba(7, 28, 19, 0.45);
  text-wrap: balance;
}

.hero-intro {
  max-width: 480px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  text-shadow: 0 1px 16px rgba(7, 28, 19, 0.45);
}

.text-link-light {
  color: var(--white);
}

.text-link-light:visited {
  color: rgba(255, 255, 255, 0.82);
}

.text-link-light:hover {
  color: var(--green-light);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 25px;
  margin-top: 34px;
}

.trust-strip {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: var(--green);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  display: flex;
  min-height: 102px;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 18px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-grid p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-grid strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.trust-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* Shared sections */

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 68px;
}

.section-heading h2,
.testimonial-heading h2,
.faq-intro h2,
.contact-copy h2,
.location-copy h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 4px;
  color: var(--muted);
}

/* Services */

.services-overview {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.services-overview > .shell {
  position: relative;
  z-index: 2;
}

.floating-wood-services {
  top: 42px;
  right: -56px;
  width: 205px;
  opacity: 0.58;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto 1fr auto;
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
}

.service-item > span {
  grid-row: 1 / span 4;
  padding-top: 7px;
  color: var(--green);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
}

.service-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.service-item p {
  max-width: 480px;
  margin: 14px 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.service-item .project-link {
  width: fit-content;
}

/* Projects */

.projects {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background-color: var(--forest);
  background-image: linear-gradient(rgba(18, 63, 44, 0.9), rgba(18, 63, 44, 0.94)), url("assets/img/werkstatt-holz-1600.webp");
  background-position: center;
  background-size: cover;
}

.projects > .shell {
  position: relative;
  z-index: 2;
}

.floating-wood-projects {
  right: -48px;
  bottom: 48px;
  width: 235px;
  opacity: 0.7;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: var(--green-light);
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.72);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px 26px;
}

.project {
  margin: 0;
}

.project-large {
  grid-row: span 2;
}

.project-image {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
}

.project-large .project-image {
  height: 626px;
}

.project:not(.project-large) .project-image {
  height: 258px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.project:hover .project-image img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.project figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.project figcaption span {
  color: var(--green-light);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project figcaption strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.projects-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.projects-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Process */

.process {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.process > .shell {
  position: relative;
  z-index: 2;
}

.floating-wood-process {
  top: 38px;
  left: -115px;
  width: 395px;
  opacity: 0.56;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 290px;
  padding: 30px 30px 10px;
  border-left: 1px solid var(--line);
}

.process-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.process-list span {
  color: var(--green);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
}

.process-list h3 {
  margin: 62px 0 14px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Workshop */

.workshop {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--forest-deep);
}

.workshop > picture {
  display: block;
  height: 100%;
}

.workshop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 29, 19, 0.02) 28%, rgba(6, 29, 19, 0.82) 100%);
}

.workshop-copy .eyebrow,
.workshop-copy h2 {
  text-shadow: 0 2px 18px rgba(6, 29, 19, 0.55);
}

.workshop-copy {
  padding-bottom: 70px;
}

.workshop-copy .eyebrow {
  color: var(--green-light);
}

.workshop-copy h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-h2);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

/* About */

.about {
  overflow: hidden;
  background-color: var(--sand-light);
  background-image: url("assets/img/holzmaserung.png");
  background-position: 110% 50%;
  background-repeat: no-repeat;
  background-size: 62% auto;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(60px, 8vw, 118px);
}

.floating-wood-about {
  bottom: 24px;
  left: -52px;
  width: 220px;
  opacity: 0.62;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 42%;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.about-copy > p {
  max-width: 560px;
  color: var(--muted);
}

.about-copy .about-lead {
  margin: 28px 0 16px;
  color: var(--ink);
  font-size: 20px;
}

.about-copy blockquote,
.service-detail-copy blockquote {
  margin: 38px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 27px;
  font-style: italic;
}

.about-copy cite,
.service-detail-copy cite {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Testimonials */

.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.testimonials::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 570px;
  height: 430px;
  opacity: 0.34;
  background: url("assets/img/holzmaserung.png") center / cover no-repeat;
  pointer-events: none;
}

.testimonial-heading {
  max-width: 760px;
  margin-bottom: 64px;
}

.carousel {
  position: relative;
  z-index: 2;
}

.carousel-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide {
  display: grid;
  grid-template-columns: 76px 1fr;
  flex: 0 0 50%;
  gap: 8px 24px;
  margin: 0;
  padding: 34px 58px 24px 0;
  border-top: 1px solid var(--line);
}

.testimonial-slide:nth-child(2n) {
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

.testimonial-slide img {
  grid-row: 1 / span 2;
  width: 70px;
}

.testimonial-slide blockquote {
  max-width: 470px;
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.1vw, 29px);
  font-style: italic;
  line-height: 1.38;
}

.testimonial-slide figcaption {
  color: var(--muted);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 30px;
}

.carousel-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--forest);
  background: var(--white);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.carousel-button::before {
  width: 20px;
  height: 20px;
  background-color: currentColor;
  content: "";
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

.carousel-button.previous {
  --icon: var(--arrow-w-mask);
}

.carousel-button.next {
  --icon: var(--arrow-e-mask);
}

.carousel-button:hover {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.carousel-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.carousel-status {
  min-width: 52px;
  color: var(--muted);
  font-family: var(--font-condensed);
  font-size: 12px;
  text-align: center;
}

/* FAQ */

.faq {
  background: var(--sand-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.faq-intro h2 {
  font-size: clamp(43px, 4.6vw, 66px);
}

.faq-intro > p:last-child {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--muted);
}

.faq-list {
  border-bottom: 1px solid var(--line);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 86px;
  padding: 25px 54px 24px 0;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 300;
  transition: transform 220ms ease, color 180ms ease, background-color 180ms ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--green);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 690px;
  margin: -4px 54px 28px 0;
  color: var(--muted);
}

/* Contact form */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: var(--white);
  background-color: var(--green);
  background-image: linear-gradient(rgba(35, 125, 80, 0.93), rgba(35, 125, 80, 0.93)), url("assets/img/werkstatt-holz-1600.webp");
  background-position: center;
  background-size: cover;
}

.contact-section > .shell {
  position: relative;
  z-index: 2;
}

.floating-wood-contact {
  right: -62px;
  bottom: 44px;
  width: 240px;
  opacity: 0.68;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: start;
  gap: clamp(65px, 9vw, 130px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.contact-copy .eyebrow {
  color: var(--green-light);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.direct-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.direct-contact span {
  margin-bottom: 7px;
  color: var(--green-light);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-contact a {
  min-height: 34px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  text-underline-offset: 4px;
}

.project-form {
  padding: clamp(28px, 4.5vw, 54px);
  color: var(--ink);
  background: var(--white);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project-form > label,
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
  color: var(--forest-deep);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #b9c0bb;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-form textarea {
  min-height: 142px;
  resize: vertical;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(35, 125, 80, 0.12);
}

.project-form textarea::placeholder {
  color: #7a837e;
  opacity: 1;
}

.project-form .consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  margin: 4px 0 25px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.consent input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.consent a {
  color: var(--forest);
}

.form-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  margin: 12px 0 0;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

/* Location and footer */

.location {
  padding: 96px 0;
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 8vw, 110px);
}

.location-copy h2 {
  font-size: clamp(42px, 4.6vw, 66px);
}

.location-copy address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 30px;
}

.map-link {
  position: relative;
  display: block;
  min-height: 410px;
  overflow: hidden;
  color: var(--white);
  background: var(--sand-light);
  text-decoration: none;
}

.map-link::after {
  display: none;
}

.map-link iframe {
  display: block;
  width: 100%;
  height: 410px;
  border: 0;
}

.map-link img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  filter: saturate(0.35) contrast(1.06);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.map-link:hover img {
  transform: scale(1.035);
  filter: saturate(0.6) contrast(1.06);
}

.map-link span {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 22px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 80px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  gap: 70px;
}

.footer-brand img {
  width: auto;
  height: 104px;
}

.footer-brand p {
  margin: 22px 0 0;
  color: var(--green-light);
  font-family: var(--font-display);
  font-size: 23px;
  font-style: italic;
}

.footer-contact h2,
.footer-nav h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.75;
}

.footer-contact a,
.footer-nav a,
.footer-bottom a {
  text-underline-offset: 4px;
}

.footer-contact a:visited,
.footer-nav a:visited,
.footer-bottom a:visited {
  color: var(--sand);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  display: flex;
  min-height: 34px;
  align-items: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.mobile-actions {
  display: none;
}

/* Motion */

.js .reveal {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

@keyframes wood-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    transform: translate3d(9px, -13px, 0) rotate(4deg);
  }
}

/* Sub pages: image header */

.page-hero {
  position: relative;
  display: flex;
  min-height: min(560px, 78svh);
  flex-direction: column;
  justify-content: flex-end;
  margin-top: calc(var(--header-height) * -1);
  overflow: hidden;
  background: var(--forest-deep);
  isolation: isolate;
}

.page-hero .hero-media img {
  object-position: center 58%;
}

/* Portrait source with people near the top edge */
.page-hero-people .hero-media img {
  object-position: center 28%;
}

/* Planungsszene: die Köpfe sitzen tiefer im Bild und müssen über die Headline */
.page-hero-planung .hero-media img {
  object-position: center 60%;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(7, 28, 19, 0.8) 0%,
      rgba(7, 28, 19, 0.6) 32%,
      rgba(7, 28, 19, 0.2) 58%,
      rgba(7, 28, 19, 0.04) 76%
    ),
    linear-gradient(to top, rgba(7, 28, 19, 0.86) 0%, rgba(7, 28, 19, 0.4) 30%, rgba(7, 28, 19, 0) 62%),
    linear-gradient(to bottom, rgba(7, 28, 19, 0.58) 0%, rgba(7, 28, 19, 0) 32%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 84px) 0 62px;
  color: var(--white);
  animation: hero-rise 700ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumb a {
  min-height: 0;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--green-light);
}

.breadcrumb [aria-current] {
  color: var(--white);
}

.page-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-h2);
  font-size: clamp(42px, 4.8vw, 74px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  text-shadow: 0 2px 26px rgba(7, 28, 19, 0.45);
  text-wrap: balance;
}

.page-hero-intro {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  text-shadow: 0 1px 16px rgba(7, 28, 19, 0.45);
}

/* Leistungen: overview + anchor links */

.service-detail-intro {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background: var(--paper);
}

.service-detail-intro > .shell {
  position: relative;
  z-index: 2;
}

.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: -22px;
}

.service-jump a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--forest);
  background: var(--white);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.service-jump a:hover {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

/* Leistungen: detail rows */

.service-details {
  background: var(--paper);
}

.service-detail {
  padding: 92px 0;
}

.service-detail:nth-child(even) {
  background: var(--sand-light);
}

.service-detail-grid {
  display: grid;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service-detail-flip .service-detail-media {
  order: 2;
}

.service-detail-media {
  position: relative;
}

.service-detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-detail-number {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-family: var(--font-condensed);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-detail-copy h2 {
  margin: 0 0 20px;
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.service-detail-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.service-detail-copy > p:not(.service-detail-lead) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.service-detail-copy > p + .button,
.service-detail-copy > p + .text-link {
  margin-top: 30px;
}

.service-detail-list {
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.service-detail-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 4px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: rotate(-45deg);
}

/* Leistungen: extras */

.extras {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.extras > .shell {
  position: relative;
  z-index: 2;
}

.extras-grid {
  display: grid;
  gap: 34px 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.extra-card-image {
  overflow: hidden;
  background: var(--forest-deep);
}

.extra-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.extra-card:hover .extra-card-image img {
  transform: scale(1.04);
}

.extra-card h3 {
  margin: 20px 0 8px;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.extra-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Leistungen: closing call to action */

.cta-band {
  padding: 88px 0;
  color: var(--white);
  background-color: var(--forest);
  background-image: linear-gradient(rgba(18, 63, 44, 0.9), rgba(18, 63, 44, 0.94)),
    url("assets/img/werkstatt-holz-1600.webp");
  background-position: center;
  background-size: cover;
}

.cta-band-inner {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.cta-band .eyebrow {
  color: var(--green-light);
}

.cta-band h2 {
  margin: 0 0 16px;
  font-family: var(--font-h2);
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.cta-band p {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  justify-self: end;
}

/* Über uns: facts */

.facts-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--paper);
}

.facts-section > .shell {
  position: relative;
  z-index: 2;
}

.facts-grid {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Zellen als Spalte mit Abstand nach unten: die dd sitzen auf einer Linie,
   auch wenn ein dt zweizeilig umbricht. */
.facts-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 30px;
  border-left: 1px solid var(--line);
}

.facts-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts-grid dt {
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.facts-grid dd {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Über uns: values */

.values {
  position: relative;
  overflow: hidden;
  background: var(--sand-light);
}

.values > .shell {
  position: relative;
  z-index: 2;
}

.values .process-list {
  grid-template-columns: repeat(3, 1fr);
}

.values .process-list li {
  min-height: 250px;
}

/* Projekte: gallery */

.gallery-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.gallery-section > .shell {
  position: relative;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  gap: 22px;
  grid-auto-flow: dense;
  grid-auto-rows: 262px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--forest-deep);
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-image,
.gallery-image picture {
  display: block;
  height: 100%;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 64px 22px 20px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 28, 19, 0) 0%, rgba(7, 28, 19, 0.86) 100%);
  pointer-events: none;
}

.gallery-item figcaption span {
  display: block;
  color: var(--green-light);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-item figcaption strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

/* Kontakt: the three ways to reach us */

.contact-ways {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--paper);
}

.contact-ways > .shell {
  position: relative;
  z-index: 2;
}

.contact-cards {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  padding: 34px 32px 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-card-value {
  display: block;
  margin-bottom: 14px;
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(21px, 1.9vw, 26px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none;
}

a.contact-card-value:hover {
  color: var(--green);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Legal pages */

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.legal-header img {
  width: auto;
  height: 56px;
}

.legal-header a:last-child {
  min-height: 44px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.legal-content {
  width: min(calc(100% - 64px), 860px);
  margin: 0 auto;
  padding: 82px 0 110px;
}

.legal-content h1 {
  margin: 0 0 48px;
  color: var(--forest-deep);
  font-family: var(--font-h2);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.legal-content h2 {
  margin: 44px 0 13px;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
}

.legal-content a {
  color: var(--green);
}

.legal-backdrop {
  background-image: url("assets/img/holzmaserung.png");
  background-position: top right;
  background-size: 800px auto;
  background-repeat: no-repeat;
}

/* Responsive */

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-button {
    display: flex;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 120px);
  }

  .service-detail-grid {
    gap: 48px;
  }

  .extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .contact-cards {
    gap: 20px;
  }

  .contact-card {
    padding: 28px 24px 30px;
  }

  .facts-grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .facts-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .project-large .project-image {
    height: 570px;
  }

  .project:not(.project-large) .project-image {
    height: 231px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-phone {
    display: none;
  }

  .brand {
    height: 50px;
  }

  .hero {
    min-height: min(760px, 100svh);
  }

  .hero-media img {
    object-position: center 40%;
  }

  .hero-content {
    padding: calc(var(--header-height) + 108px) 0 58px;
  }

  .page-hero {
    min-height: min(470px, 78svh);
  }

  .page-hero-content {
    padding: calc(var(--header-height) + 66px) 0 50px;
  }

  .service-detail {
    padding: 74px 0;
  }

  .service-detail-grid {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .service-detail-flip .service-detail-media {
    order: 0;
  }

  .service-detail-media {
    width: min(92%, 660px);
  }

  .service-detail-copy {
    max-width: 700px;
  }

  .cta-band {
    padding: 74px 0;
  }

  .facts-section,
  .contact-ways {
    padding: 74px 0;
  }

  .gallery-grid {
    grid-auto-rows: 210px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .values .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .values .process-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .cta-band-inner {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    justify-self: start;
  }

  .floating-wood-services {
    top: 30px;
    right: -45px;
    width: 175px;
  }

  .floating-wood-projects {
    right: -66px;
    bottom: 26px;
    width: 200px;
  }

  .floating-wood-process {
    top: 48px;
    left: -118px;
    width: 330px;
  }

  .floating-wood-about {
    bottom: 38px;
    left: -66px;
    width: 190px;
  }

  .floating-wood-contact {
    right: -70px;
    bottom: 32px;
    width: 205px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid p:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .trust-grid p:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section,
  .contact-section {
    padding: 88px 0;
  }

  .section-heading,
  .faq-grid,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading > :last-child {
    max-width: 640px;
  }

  .service-list {
    column-gap: 36px;
  }

  .project-gallery {
    grid-template-columns: 1.35fr 1fr;
  }

  .project-large .project-image {
    height: 510px;
  }

  .project:not(.project-large) .project-image {
    height: 201px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li {
    min-height: 250px;
    border-top: 1px solid var(--line);
  }

  .process-list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-top: 0;
  }

  .workshop {
    height: 540px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about-image {
    width: min(88%, 680px);
  }

  .about-copy {
    max-width: 700px;
  }

  .faq-intro,
  .contact-copy {
    position: static;
  }

  .contact-grid {
    max-width: 760px;
  }

  .direct-contact {
    max-width: 520px;
  }

  .map-link,
  .map-link img,
  .map-link iframe {
    min-height: 370px;
    height: 370px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .button {
    gap: 0;
    padding-right: 22px;
    padding-left: 22px;
  }

  .button::after {
    display: none;
  }

  .button-small {
    padding-right: 16px;
    padding-left: 16px;
  }

  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: calc(61px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  .shell,
  .legal-content {
    width: min(calc(100% - 32px), var(--shell));
  }

  .brand {
    height: 44px;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .menu-button > span:not(.sr-only) {
    width: 20px;
  }

  .menu-close {
    top: 13px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .menu-panel {
    padding: 48px 8px 20px;
  }

  .menu-panel > a {
    min-height: 51px;
    font-size: 29px;
  }

  .menu-contact {
    flex-direction: column;
    gap: 0;
  }

  /* Narrow screens: photo as a band, copy on the solid dark panel below it.
     A full-bleed crop this narrow only ever shows one or two people. */
  .hero,
  .page-hero {
    min-height: 0;
    justify-content: flex-start;
  }

  .hero .hero-media,
  .page-hero .hero-media {
    position: relative;
    z-index: 0;
    inset: auto;
    height: min(46svh, 320px);
    min-height: 260px;
  }

  .hero .hero-media img {
    object-position: 50% 38%;
  }

  .page-hero .hero-media img {
    object-position: 50% 62%;
  }

  .page-hero-people .hero-media img {
    object-position: 50% 30%;
  }

  .hero::before,
  .page-hero::before {
    z-index: 1;
    bottom: auto;
    height: min(46svh, 320px);
    min-height: 260px;
    background:
      linear-gradient(to bottom, rgba(7, 28, 19, 0.62) 0%, rgba(7, 28, 19, 0.12) 26%, rgba(7, 28, 19, 0) 46%),
      linear-gradient(to top, rgba(7, 28, 19, 1) 0%, rgba(7, 28, 19, 0.55) 12%, rgba(7, 28, 19, 0) 34%);
  }

  .hero-content {
    padding: 38px 0 44px;
  }

  .hero h1 {
    font-size: clamp(44px, 12.5vw, 62px);
  }

  .hero-intro {
    margin-top: 20px;
    font-size: 17px;
  }

  .button-row {
    align-items: stretch;
    margin-top: 28px;
  }

  .button-row .button {
    width: 100%;
  }

  .page-hero-content {
    padding: 34px 0 42px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .page-hero-intro {
    margin-top: 18px;
    font-size: 17px;
  }

  .service-jump {
    gap: 8px;
    margin-top: -16px;
  }

  .service-jump a {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .service-detail {
    padding: 58px 0;
  }

  .service-detail-media {
    width: 100%;
  }

  .service-detail-number {
    width: 56px;
    height: 56px;
    font-size: 17px;
  }

  .service-detail-list {
    margin: 22px 0 28px;
  }

  .service-detail-copy .button {
    width: 100%;
  }

  .extras-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .extra-card-image img {
    height: 210px;
  }

  .cta-band {
    padding: 62px 0;
  }

  .facts-section,
  .contact-ways {
    padding: 58px 0;
  }

  .gallery-grid {
    gap: 18px;
    grid-auto-rows: 230px;
    grid-template-columns: 1fr;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .gallery-item-tall {
    grid-row: span 1;
    grid-auto-rows: 300px;
  }

  .gallery-item figcaption {
    padding: 54px 18px 18px;
  }

  .gallery-item figcaption strong {
    font-size: 20px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid > div {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts-grid > div:first-child {
    border-top: 0;
  }

  .values .process-list {
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .button {
    width: 100%;
  }

  /* Auf schmalen Displays gibt es keinen freien Rand, auf dem die Späne liegen
     könnten — sie landen sonst quer über Überschriften und Buttons. */
  .floating-wood {
    display: none;
  }

  .trust-grid p {
    min-height: 89px;
    padding: 15px;
  }

  .trust-grid p:nth-child(odd) {
    border-left: 0;
  }

  .trust-grid p:last-child {
    border-right: 0;
  }

  .trust-grid strong {
    font-size: 19px;
  }

  .section,
  .contact-section {
    padding: 72px 0;
  }

  .section-heading,
  .testimonial-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .testimonial-heading h2,
  .faq-intro h2,
  .contact-copy h2,
  .location-copy h2,
  .about-copy h2 {
    font-size: clamp(40px, 12vw, 53px);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 40px 1fr;
    padding: 25px 0 28px;
  }

  .service-item h3 {
    font-size: 31px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-large {
    grid-row: auto;
  }

  .project-large .project-image,
  .project:not(.project-large) .project-image {
    height: 265px;
  }

  .project figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .projects-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .projects-cta .button {
    width: 100%;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:nth-child(odd) {
    min-height: 0;
    padding: 25px 0 29px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list h3 {
    margin: 30px 0 10px;
  }

  .workshop {
    height: 470px;
  }

  .workshop img {
    object-position: 62% center;
  }

  .workshop-copy {
    padding-bottom: 42px;
  }

  .workshop-copy h2 {
    font-size: 39px;
  }

  .about {
    background-size: 850px auto;
    background-position: center 82%;
  }

  .about-grid {
    gap: 50px;
  }

  .about-image {
    width: calc(100% - 14px);
  }

  .about-image img {
    aspect-ratio: 1 / 1;
    object-position: 43% center;
  }

  .about-copy .about-lead {
    font-size: 18px;
  }

  .testimonial-slide,
  .testimonial-slide:nth-child(2n) {
    display: block;
    flex-basis: 100%;
    padding: 28px 6px 12px 0;
    border-left: 0;
  }

  .testimonial-slide img {
    width: 61px;
    margin-bottom: 22px;
  }

  .testimonial-slide blockquote {
    font-size: 23px;
  }

  .testimonial-slide figcaption {
    margin-top: 17px;
  }

  .faq-grid,
  .contact-grid,
  .location-grid {
    gap: 44px;
  }

  .faq-list summary {
    min-height: 78px;
    padding: 21px 48px 20px 0;
    font-size: 19px;
  }

  .faq-list summary::after {
    top: 18px;
    width: 36px;
    height: 36px;
  }

  .faq-list details p {
    margin-right: 0;
  }

  .direct-contact {
    margin-top: 36px;
  }

  .project-form {
    margin-inline: -4px;
    padding: 26px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-form .button {
    width: 100%;
  }

  .location {
    padding: 72px 0;
  }

  .map-link,
  .map-link img,
  .map-link iframe {
    min-height: 285px;
    height: 285px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    padding-bottom: env(safe-area-inset-bottom);
    color: var(--white);
    background: var(--forest-deep);
    box-shadow: 0 -5px 20px rgba(11, 47, 32, 0.17);
  }

  .mobile-actions a {
    display: flex;
    min-height: 61px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-actions a:last-child {
    color: var(--forest-deep);
    background: var(--green-light);
  }

  .legal-header .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .legal-header img {
    width: auto;
    height: 44px;
  }

  .legal-content {
    padding: 62px 0 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
