.contact-page main {
  overflow: clip;
  color: #161816;
}
.contact-wrap {
  width: var(--header-content-width, min(1400px, calc(100% - 64px)));
  margin-inline: auto;
}
.contact-page .nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-hero {
  min-height: 690px;
  background: url("../../assets/kontakt/hero.png") center/cover no-repeat;
  padding: 230px 0 95px;
  color: white;
}
.contact-hero h1 {
  font:
    400 clamp(64px, 5.2vw, 100px)/1.03 "Saira Semi Condensed",
    Arial,
    sans-serif;
  text-transform: uppercase;
}
.contact-hand {
  font:
    400 40px/1.25 Caveat,
    cursive;
  color: var(--green);
}
.contact-hero .contact-hand {
  color: white;
  font-size: 50px;
  margin-top: 12px;
}
.contact-hero p:last-child {
  max-width: 532px;
  font-size: 20px;
  line-height: 1.6;
  margin-top: 28px;
}
.contact-section {
  position: relative;
  isolation: isolate;
  padding: 85px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 70px;
}
.contact-eyebrow {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.contact-page main h2 {
  font-size: clamp(32px, 2.6vw, 50px);
  line-height: 1.2;
  font-weight: 400;
}
.message-column > h2,
.location-copy h2 {
  text-transform: uppercase;
}
.message-column h2 span {
  color: var(--green);
}
.message-column > .contact-hand {
  margin: 24px 0 55px;
}
#contact-form {
  display: grid;
  gap: 24px;
}
.contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
#contact-form label {
  min-width: 0;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 20px 28px;
  font:
    400 18px/1.4 Inter,
    Arial,
    sans-serif;
  background: white;
  color: #161816;
  min-height: 65px;
}
#contact-form textarea {
  resize: vertical;
  min-height: 306px;
}
#contact-form :focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
.contact-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: white;
  font: inherit;
  font-size: 20px;
  text-transform: uppercase;
  min-height: 82px;
  width: min(376px, 100%);
  margin-top: 25px;
  cursor: pointer;
}
.contact-submit img {
  width: 42px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.contact-submit:hover {
  background: #14522b;
}
.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
#contact-status:empty {
  display: none;
}
#contact-status {
  font-size: 16px;
  line-height: 1.5;
}
.contact-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.direct-contact {
  align-self: start;
  border-left: 1px solid #d1d7d0;
  padding: 36px 0 24px 40px;
  margin-top: 5px;
}
.contact-page .direct-contact h2 {
  font:
    400 30px/1.4 Caveat,
    cursive;
  text-transform: uppercase;
  padding-bottom: 42px;
  margin-bottom: 36px;
  border-bottom: 1px solid #c8d8d0;
}
.contact-detail {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 35px;
  font-size: 20px;
  line-height: 1.4;
}
.contact-detail > img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}
.contact-detail h3 {
  font-size: inherit;
  font-weight: 500;
}
.contact-detail a {
  overflow-wrap: anywhere;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.contact-detail address {
  font-style: normal;
}
.contact-hours {
  margin: 5px 0 0;
  font-size: 18px;
}
.contact-hours div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.contact-hours dd {
  margin: 0;
}
.contact-leaf {
  position: absolute;
  width: 320px;
  height: 220px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.6;
  z-index: -1;
}
.leaf-right {
  right: -150px;
  top: 20px;
  transform: rotate(180deg);
}
.leaf-left {
  left: -190px;
  top: 135px;
  transform: rotate(-15deg);
}
.location-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
  margin-bottom: 85px;
}
.location-copy {
  padding: 45px 60px 48px;
}
.location-copy p {
  font-size: 20px;
  line-height: 1.5;
  margin: 28px 0 35px;
}
.route-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--sage);
  padding: 14px 22px;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--green);
}
.route-link img {
  width: 63px;
  height: 18px;
}
.route-link:hover {
  background: #dce1d7;
}
.contact-map {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 437px;
  color: var(--green);
}
.map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.map-marker {
  position: absolute;
  left: 48.2124%;
  top: 65.0529%;
  width: 0;
  height: 0;
  transform: scale(var(--map-label-scale, .7));
  transform-origin: 0 0;
  pointer-events: none;
}
.map-note {
  position: absolute;
  left: -210px;
  top: -190px;
  width: 190px;
  text-align: center;
  transform: rotate(-15deg);
  font: 400 40px/1.05 Caveat, cursive;
}
.map-note strong {
  display: block;
  font-weight: 500;
  margin-top: 10px;
}
.map-pin {
  position: absolute;
  left: -19px;
  top: -47px;
  width: 38px;
  height: 47px;
  max-width: none;
}
.map-arrow {
     position: absolute;
    left: -124px;
    top: -14px;
    width: 101.61px;
    height: 31.7px;
    max-width: none;
    transform: scaleY(-1);
}
.map-heart {
  position: absolute;
  left: -18px;
  top: -139px;
  width: 30px;
  height: 44px;
  max-width: none;
}
@media (min-width: 761px) {
  .route-link {
    animation: contact-route-reveal 25.537854s linear both;
  }
}
@keyframes contact-route-reveal {
  0% {
    opacity: 0;
  }
  9.502% {
    animation-timing-function: ease-out;
    opacity: 0;
  }
  11.46%,
  100% {
    opacity: 1;
  }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .contact-grid {
    gap: 35px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .direct-contact {
    padding-left: 25px;
  }
  .contact-detail {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 15px;
    font-size: 16px;
  }
  .contact-detail > img {
    width: 60px;
    height: 60px;
  }
  .contact-hours {
    font-size: 15px;
  }
  .contact-pair {
    gap: 14px;
  }
  #contact-form input {
    padding-inline: 15px;
    font-size: 16px;
  }
  .location-copy {
    padding: 32px;
  }
  .location-copy p {
    font-size: 17px;
  }
  .route-link {
    font-size: 16px;
    padding-inline: 15px;
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-link {
    animation: none;
  }
}
