/* The contact page has one place for each person, and one place for the visit. */
#kontakt-direkt, #contact-form { scroll-margin-top: 100px; }
.contact-page { padding: 54px var(--gutter) 70px; }
.contact-title { padding-bottom: 38px; }
.contact-title .eyebrow { margin-bottom: 20px; }
.contact-title h1 { font-size: clamp(54px,6.5vw,94px); line-height: 1.02; letter-spacing: -.055em; }
.contact-title h1 em { color: var(--accent); }
.contact-person-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.contact-person { padding: 28px; background: #e8e6de; border-top: 2px solid var(--accent); }
.contact-person-head { display: grid; grid-template-columns: 148px minmax(0,1fr); gap: 24px; align-items: center; }
.contact-person-head img { width: 148px; height: 188px; object-fit: contain; object-position: bottom; background: #dde0d5; transform-origin: center bottom; transition: transform .35s ease, box-shadow .35s ease; }
@media (hover: hover) and (pointer: fine) {
 .contact-person:hover .contact-person-head img { transform: translateY(-3px) scale(1.035); box-shadow: 0 12px 24px #29382f18; }
}
.contact-person:focus-within .contact-person-head img { box-shadow: 0 0 0 2px var(--accent); }
.motion-off .contact-person-head img { transition: none; }
.motion-off .contact-person:hover .contact-person-head img { transform: none; }
@media (prefers-reduced-motion: reduce) {
 .contact-person-head img { transition: none; }
 .contact-person:hover .contact-person-head img { transform: none; }
}
.contact-person-head .eyebrow { font-size: 12px; margin-bottom: 10px; }
.contact-person h2 { font-size: clamp(25px,2.6vw,36px); letter-spacing: -.035em; line-height: 1.15; }
.contact-person-head p:not(.eyebrow) { font-size: 15px; line-height: 1.5; margin-top: 10px; color: var(--muted); }
.contact-person-actions { margin-top: 24px; }
.contact-person-actions a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 68px; padding: 12px 0; border-top: 1px solid var(--line); font-size: clamp(16px,1.5vw,22px); overflow-wrap: anywhere; }
.contact-person-actions a > span:first-child { min-width: 0; }
.contact-person-actions small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact-person-actions a:hover { color: var(--accent); }
.direct-contact > p { max-width: 65ch; font-size: 16px; line-height: 1.6; margin-top: 24px; }
.contact-visit { display: grid; grid-template-columns: 1.2fr 1fr; margin-top: 54px; background: #29382f; color: var(--paper); }
.contact-visit figure { min-width: 0; position: relative; margin: 0; align-self: center; }
.contact-visit img { width: 100%; height: auto; display: block; }
.contact-visit figcaption { position: absolute; left: 18px; bottom: 16px; background: #29382fe8; color: white; padding: 8px 12px; font-size: 14px; }
.contact-visit-copy { padding: clamp(28px,4vw,54px); }
.contact-visit-copy h2 { font-size: clamp(34px,3.6vw,52px); line-height: 1.05; margin: 18px 0 26px; }
.contact-visit-copy h2 em { color: #e4c7a9; }
.contact-visit address { font-style: normal; font-size: 19px; line-height: 1.5; }
.contact-visit dl { margin: 24px 0; font-size: 15px; line-height: 1.5; }
.contact-visit dl div { display: flex; justify-content: space-between; gap: 18px; }
.contact-visit dd { margin: 0; white-space: nowrap; }
.contact-visit a { min-height: 48px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid #ffffff80; font-size: 16px; }
@media(max-width:760px) {
 .contact-page { padding-top: 30px; padding-bottom: 36px; }
 .contact-title { padding-bottom: 26px; }
 .contact-title .eyebrow { font-size: 12px; margin-bottom: 16px; }
 .contact-title h1 { font-size: 48px; }
 .contact-person-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .contact-person { padding: 20px; }
 .contact-person-head { grid-template-columns: 112px minmax(0,1fr); gap: 16px; }
 .contact-person-head img { width: 112px; height: 144px; }
 .contact-person h2 { font-size: 26px; }
 .contact-person-head .eyebrow { font-size: 11px; margin-bottom: 6px; }
 .contact-person-head p:not(.eyebrow) { margin-top: 6px; font-size: 14px; }
 .contact-person-actions { margin-top: 16px; }
 .contact-person-actions a { font-size: 16px; min-height: 64px; }
 .contact-visit { grid-template-columns: minmax(0,1fr); margin-top: 30px; }
 .contact-visit-copy { padding: 24px; }
 .contact-visit-copy h2 { font-size: 34px; margin: 12px 0 20px; }
 .contact-visit-copy h2 br { display: none; }
 .contact-visit dl { font-size: 14px; }
}
@media (max-width: 360px) {
 .contact-person-head { grid-template-columns: 96px minmax(0,1fr); gap: 12px; }
 .contact-person-head img { width: 96px; height: 124px; }
 .contact-person h2 { font-size: 24px; }
}
.contact-project { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); }
.contact-project .enquiry-project-image { width: 88px; height: 88px; object-fit: contain; background: #e7e7dc; }
.contact-project h3 { font-size: 25px; line-height: 1.2; margin: 8px 0; }
.contact-project p, .contact-project a { font-size: 16px; line-height: 1.6; }
.contact-project a { display: inline-block; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 480px) {
  .contact-project { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .contact-project .enquiry-project-image { width: 72px; height: 72px; }
  .contact-project h3 { font-size: 22px; overflow-wrap: anywhere; }
  .contact-project a { min-height: 44px; }
}
