:root {
  --ink: #18211f;
  --muted: #5f6963;
  --paper: #f6f2ea;
  --panel: #fffaf2;
  --wood: #ad6f35;
  --wood-dark: #74441f;
  --sage: #536b55;
  --moss: #2c4a3c;
  --line: rgba(24, 33, 31, 0.13);
  --shadow: 0 24px 60px rgba(24, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4vw, 4.7rem);
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 110px 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--wood-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.corner-logo {
  position: fixed;
  z-index: 55;
  top: 32px;
  left: clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  width: clamp(360px, 31vw, 560px);
  height: clamp(108px, 8.2vw, 150px);
  filter: drop-shadow(0 2px 0 rgba(255, 236, 203, 0.34)) drop-shadow(0 14px 24px rgba(7, 15, 12, 0.42));
}

.corner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: calc(50% + clamp(70px, 6vw, 100px));
  display: flex;
  width: min(1060px, calc(100% - 560px));
  min-height: 76px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 236, 203, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(116, 63, 24, 0.58), rgba(75, 40, 17, 0.48) 45%, rgba(37, 22, 12, 0.62)),
    url("assets/images/holzmaserung-navigation.png") center / cover;
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(46, 25, 12, 0.34), inset 0 1px 0 rgba(255, 236, 203, 0.26);
}

.site-nav {
  display: grid;
  flex: 1;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, 1.45fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 236, 203, 0.24);
  border-radius: 8px;
  background: rgba(34, 20, 11, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 236, 203, 0.16);
}

.site-nav a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px clamp(6px, 0.8vw, 15px);
  border-radius: 6px;
  color: rgba(255, 248, 235, 0.86);
  font-size: clamp(0.76rem, 0.82vw, 0.95rem);
  font-weight: 750;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav a.nav-feature {
  overflow: visible;
}

.nav-badge {
  position: absolute;
  top: -12px;
  right: 10px;
  z-index: 2;
  padding: 2px 7px 3px;
  border-radius: 999px;
  background: #d91818;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: 0 5px 12px rgba(26, 10, 6, 0.28);
  pointer-events: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 7px;
  height: 2px;
  background: #f6c06f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 236, 203, 0.14);
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 236, 203, 0.26);
  border-radius: 6px;
  background: rgba(34, 20, 11, 0.34);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 28, 23, 0.76), rgba(18, 28, 23, 0.28) 44%, rgba(18, 28, 23, 0.04) 74%),
    linear-gradient(0deg, rgba(18, 28, 23, 0.45), rgba(18, 28, 23, 0) 38%);
}

.partner-promo {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: clamp(16px, 1.8vw, 28px);
  width: clamp(180px, 11vw, 236px);
  aspect-ratio: 638 / 990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  border: 1px solid rgba(255, 236, 203, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 13, 14, 0.88), rgba(8, 13, 14, 0.74)),
    url("assets/images/photovoltaik-modul-textur-ausschnitt.jpg") center / cover;
  box-shadow: 0 22px 52px rgba(12, 18, 15, 0.32);
  color: #fff;
  text-align: center;
}

.partner-promo::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255, 236, 203, 0.18);
  border-radius: 6px;
}

.partner-promo strong {
  display: block;
  max-width: 11ch;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(1.22rem, 1.55vw, 1.58rem);
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.partner-promo p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.partner-coop span,
.partner-coop b {
  display: block;
}

.partner-coop span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-coop b {
  max-width: 16ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(0.98rem, 1.18vw, 1.2rem);
  font-weight: 760;
  line-height: 1.18;
}

.partner-promo a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #f2b76d;
  color: #1b211b;
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.partner-promo a:hover {
  transform: translateY(-1px);
  background: #ffc57a;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 180px 0 120px;
  color: #fff;
}

.hero-content .eyebrow {
  color: #fff;
  font-size: clamp(0.98rem, 1.25vw, 1.22rem);
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-weight: 850;
}

.btn-primary {
  background: #f2b76d;
  color: #1b211b;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-panel {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  width: min(360px, calc(100% - 40px));
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.hero-panel span {
  color: var(--muted);
}

.intro {
  background: var(--panel);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 1.2rem;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

.section-head.wide {
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
}

.section-head.wide p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(16, 23, 20, 0.88), rgba(16, 23, 20, 0.48) 46%, rgba(16, 23, 20, 0.12)),
    linear-gradient(90deg, rgba(16, 23, 20, 0.62), rgba(16, 23, 20, 0.14));
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-content {
  padding: 30px;
  color: #fff;
}

.service-card p {
  max-width: 38ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-number {
  display: inline-block;
  margin-bottom: 90px;
  color: #f2b76d;
  font-weight: 900;
}

.split {
  background: #e9e0d2;
}

.about {
  background: #e9e0d2;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.about-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-portrait {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-portrait img {
  object-position: center top;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 23, 20, 0.62), rgba(16, 23, 20, 0) 42%);
}

.about-portrait figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 850;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.media-stack {
  aspect-ratio: 1.08 / 0.82;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 14px;
  height: 14px;
  background: var(--sage);
  clip-path: polygon(14% 48%, 38% 72%, 86% 17%, 100% 31%, 39% 100%, 0 62%);
}

.projects {
  background: var(--panel);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

.project-tile {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--ink);
}

.project-tile.large {
  grid-row: span 2;
  min-height: 660px;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 22, 18, 0.76), rgba(15, 22, 18, 0.03) 58%);
}

.project-tile div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.project-tile strong,
.project-tile span {
  display: block;
}

.project-tile strong {
  font-size: 1.4rem;
}

.project-tile span {
  color: rgba(255, 255, 255, 0.78);
}

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

.process-grid article {
  padding: 34px 28px 12px 0;
  border-right: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  background: var(--moss);
  color: #fff;
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.contact {
  background: var(--moss);
  color: #fff;
}

.contact .eyebrow {
  color: #f2b76d;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 70px;
  align-items: start;
}

.contact-grid p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.contact-box {
  padding: 34px;
  background: var(--panel);
  color: var(--ink);
}

.contact-box p,
.contact-box address {
  color: var(--muted);
  font-style: normal;
}

.contact-box a {
  display: block;
  margin-top: 14px;
  color: var(--wood-dark);
  font-weight: 850;
}

.request-form {
  width: min(980px, calc(100% - 40px));
  margin: 72px auto 0;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(9, 17, 13, 0.24);
}

.request-form h3 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 760;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.form-field,
.captcha-field {
  display: grid;
  gap: 8px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field span,
.captcha-field span {
  color: #2f3733;
  font-weight: 650;
}

.form-field span::after,
.captcha-field span::after {
  color: #bb4b2b;
}

.form-field input,
.form-field select,
.form-field textarea,
.captcha-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(24, 33, 31, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
}

.form-field input,
.form-field select,
.captcha-field input {
  padding: 0 14px;
}

.form-field textarea {
  min-height: 170px;
  padding: 12px 14px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8c918d 50%), linear-gradient(135deg, #8c918d 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.captcha-field input:focus {
  outline: 2px solid rgba(242, 183, 109, 0.7);
  outline-offset: 2px;
  border-color: rgba(116, 68, 31, 0.42);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px dashed rgba(24, 33, 31, 0.18);
}

.form-consent label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #363f3a;
  font-size: 0.92rem;
  line-height: 1.35;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 280px);
  gap: 22px;
  align-items: end;
}

.captcha-field {
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
}

.captcha-field span {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 760;
}

.captcha-row .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  padding: 0;
  color: #bb4b2b;
  font-weight: 760;
}

.form-status.is-success,
.form-status.is-error {
  padding: 14px 16px;
  border-radius: 6px;
}

.form-status.is-success {
  border: 1px solid rgba(83, 107, 85, 0.3);
  background: rgba(83, 107, 85, 0.12);
  color: #2c4a3c;
}

.form-status.is-error {
  border: 1px solid rgba(187, 75, 43, 0.28);
  background: rgba(187, 75, 43, 0.1);
  color: #8f351f;
}

.site-footer {
  padding: 28px 0;
  background: #16211c;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.footer-links a:hover {
  color: #fff;
}

.legal-main {
  padding-top: 170px;
}

.legal-hero {
  padding: 86px 0 54px;
  background: #ebe3d6;
}

.legal-content {
  padding: 72px 0 110px;
}

.legal-panel {
  max-width: 920px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel h3 {
  margin-top: 30px;
}

.legal-panel p,
.legal-panel li,
.legal-panel address {
  color: var(--muted);
}

.legal-panel address {
  font-style: normal;
}

.legal-panel a {
  color: var(--wood-dark);
  font-weight: 750;
}

.legal-list {
  padding-left: 22px;
}

.calculator-main {
  padding-top: 170px;
}

.calculator-hero {
  padding: 72px 0 44px;
}

.calculator-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
}

.calculator-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.calculator-content {
  padding: 56px 0 110px;
}

.calculator-info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  margin-top: 34px;
}

.calculator-info > div {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
}

.calculator-info > div:first-child {
  grid-row: span 2;
}

.calculator-info p {
  margin-bottom: 18px;
  color: var(--muted);
}

.calculator-info p:last-child {
  margin-bottom: 0;
}

.calculator-info h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.calculator-info ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 650;
}

.calculator-panel {
  min-height: 620px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.calculator-panel > [data-tk-calculator]:not(:empty) {
  min-height: 560px;
}

.external-embed-consent {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(24, 33, 31, 0.14);
  border-radius: 8px;
  background: #f6f2ea;
  text-align: center;
}

.external-embed-consent h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.external-embed-consent p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .corner-logo {
    top: 14px;
    left: 16px;
    width: clamp(260px, 34vw, 380px);
    height: 88px;
  }

  .site-header {
    top: 14px;
    left: auto;
    right: 16px;
    width: auto;
    min-height: 56px;
    transform: none;
    padding: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 32px));
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 236, 203, 0.28);
    background:
      linear-gradient(90deg, rgba(67, 36, 15, 0.9), rgba(34, 20, 11, 0.92)),
      url("assets/images/holzmaserung-navigation.png") center / cover;
    box-shadow: 0 18px 40px rgba(46, 25, 12, 0.28);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 14px;
    font-size: 0.95rem;
  }

  .nav-badge {
    top: 6px;
    right: 10px;
  }
}

@media (max-width: 920px) {
  .corner-logo {
    top: 14px;
    left: 16px;
    width: clamp(240px, 58vw, 340px);
    height: 78px;
  }

  .site-header {
    top: 14px;
    left: auto;
    right: 16px;
    width: auto;
    min-height: 56px;
    transform: none;
    padding: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 32px));
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 236, 203, 0.28);
    background:
      linear-gradient(90deg, rgba(67, 36, 15, 0.9), rgba(34, 20, 11, 0.92)),
      url("assets/images/holzmaserung-navigation.png") center / cover;
    box-shadow: 0 18px 40px rgba(46, 25, 12, 0.28);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    padding: 14px;
  }

  .calculator-info {
    grid-template-columns: 1fr;
  }

  .calculator-info > div:first-child {
    grid-row: auto;
  }

  .partner-promo {
    top: 96px;
    right: 16px;
    width: clamp(168px, 24vw, 220px);
    padding: 18px;
  }

  .partner-promo strong {
    font-size: 1.28rem;
  }

  .partner-promo p {
    font-size: 0.95rem;
  }

  .intro-grid,
  .about-grid,
  .section-head.wide,
  .split-grid,
  .contact-grid,
  .form-grid,
  .captcha-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .request-form {
    width: min(100% - 32px, 980px);
  }

  .captcha-field {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 410px;
  }

  .project-tile.large {
    min-height: 420px;
  }

  .about-portrait {
    min-height: min(620px, 112vw);
  }

  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .section-pad {
    padding: 74px 0;
  }

  .site-header {
    top: 10px;
    min-height: 64px;
  }

  .corner-logo {
    top: 12px;
    width: clamp(220px, 66vw, 300px);
    height: 72px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    padding: 132px 0 72px;
  }

  .partner-promo,
  .hero-panel {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .btn {
    width: 100%;
  }

  .service-card,
  .contact-box,
  .request-form {
    padding: 24px;
  }

  .service-card {
    padding: 0;
  }

  .service-content {
    padding: 24px;
  }

  .service-number {
    margin-bottom: 58px;
  }

  .project-tile,
  .project-tile.large {
    min-height: 360px;
  }

  .about-portrait {
    min-height: 480px;
  }
}
