#kontakt {
  --field: #f1f3f2;
  --field-edge: #c3cdcb;
  --contact-paper: #fffefa;
}
#kontakt[data-tier="katze"] {--field: #f6f2f2; --field-edge: #cec2c6;}
#kontakt .info-crumb {margin-bottom: clamp(12px,1.8vw,23px);}
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint);
}
.contact-hero-copy {align-self: center; padding: clamp(28px,4.6vw,58px);}
#kontakt .contact-hero h1 {max-width: 11ch; font-size: clamp(2.4rem,4.75vw,4.4rem); line-height: .99;}
.contact-hero-copy p {max-width: 33ch; margin: 14px 0 7px; color: var(--soft); line-height: 1.45;}
.contact-jumps {display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px;}
.contact-jumps a,.contact-help,.contact-advice a,.contact-route,.contact-alternatives a,.contact-alternatives button {
  display: inline-flex; align-items: center; min-height: 44px;
}
.contact-jumps a {font-size: .95rem; font-weight: 630; text-decoration-thickness: 1px;}
.contact-hero-photo {display: block; width: 100%; height: 100%; min-height: 0; max-height: 340px; object-fit: cover; object-position: center 32%;}
.contact-layout {
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(255px,.74fr);
  align-items: start; gap: clamp(28px,5vw,70px);
  margin-top: clamp(27px,4.3vw,54px);
}
.contact-layout section {scroll-margin-top: 18px;}
.contact-message {
  padding: clamp(20px,3.3vw,39px);
  background: var(--contact-paper);
  border-radius: 17px;
}
#contact-form {margin-top: clamp(16px,2vw,24px); display: grid; gap: 17px;}
#contact-form[hidden], #copy-fallback[hidden], #contact-copy[hidden], #contact-status:empty {display: none;}
.contact-field,#copy-fallback {display: grid; gap: 6px; min-width: 0;}
#contact-form label {font-size: .94rem; font-weight: 600; line-height: 1.32;}
#contact-form label span,.contact-form-hint,.contact-advice p,.contact-hours {color: var(--soft);}
#contact-form label span {font-weight: 400;}
#contact-form :is(input,select,textarea) {
  width: 100%; min-width: 0; min-height: 45px;
  margin: 0; padding: 10px 13px; font: inherit; font-size: 1rem; line-height: 1.4;
  color: var(--ink); background-color: var(--field); border: 1px solid var(--field-edge); border-radius: 8px;
}
#contact-form textarea {display: block; resize: vertical; min-height: 5.5rem;}
#contact-form :is(input,select,textarea):focus-visible {outline: 2px solid var(--brand); outline-offset: 1px;}
.contact-select {position: relative;}
.contact-select select {appearance:none; padding-inline-end: 38px!important;}
.contact-select::after {
  content:""; position:absolute; width:7px; height:7px; right:17px; top:46%;
  border: solid var(--brand); border-width: 0 1.6px 1.6px 0; transform: translateY(-50%) rotate(45deg); pointer-events:none;
}
.contact-identity {display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 14px;}
.contact-submit {display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; margin-top: 2px;}
.contact-primary, .contact-route {justify-content: center; border-radius: 99px; font-weight: 640;}
.contact-primary {
  min-height: 46px; padding: .7rem 1.25rem; border: 0; background: var(--brand);
  color: #fff; font-family: inherit; font-size: .95rem; cursor: pointer;
}
.contact-primary:hover {filter: brightness(.88);}
.contact-message .contact-form-hint {flex: 1 1 11rem; max-width: 29ch; font-size: .84rem; line-height: 1.4;}
#contact-status {font-size: .9rem; line-height: 1.4;}
.contact-other {margin-top: 11px;}
.contact-other summary {
  display: flex; width: fit-content; align-items: center; gap: 10px; min-height: 44px;
  color: var(--soft); font-size: .88rem; font-weight: 550; cursor: pointer; list-style: none;
}
.contact-other summary::-webkit-details-marker {display: none;}
.contact-other summary::after {content:""; width:6px; height:6px; border: solid currentColor; border-width:0 1.5px 1.5px 0; transform: rotate(45deg);}
.contact-other[open] summary::after {transform: rotate(225deg);}
.contact-alternatives {display: flex; flex-wrap: wrap; gap: 0 18px;}
.contact-alternatives a,.contact-alternatives button,.contact-help {
  margin: 0; color: var(--ink); font-family: inherit; font-size: .89rem; font-weight: 550; text-underline-offset: .2em;
}
.contact-alternatives button {padding: 0; border: 0; background: transparent; text-decoration: underline; cursor: pointer;}
.contact-aside {display: grid; gap: 25px;}
.contact-location {padding: clamp(21px,2.7vw,32px); border-radius: 16px; background: var(--tint);}
#kontakt .contact-location h2 {max-width: 14ch; font-size: clamp(1.5rem,2.2vw,2rem);}
.contact-location address {margin: 15px 0 11px; font-style: normal; line-height: 1.45;}
.contact-hours {font-size: .91rem; line-height: 1.45;}
.contact-hours strong {color: var(--ink); font-weight: 580;}
#kontakt .contact-route {gap: 7px; margin-top: 16px; padding: .45rem 1rem; color: var(--brand); background: var(--contact-paper); text-decoration: none; font-size: .93rem;}
#kontakt .contact-route:hover {text-decoration: underline;}
.contact-advice,.contact-help {margin-inline-start: clamp(3px,2.7vw,32px);}
#kontakt .contact-advice h2 {font-size: 1.25rem;}
.contact-advice .contact-phone {margin-top: 3px; font-weight: 630; font-size: 1.17rem;}
.contact-advice p {margin: 0 0 2px; font-size: .93rem;}
.contact-advice a {width: fit-content; max-width: 100%; overflow-wrap: anywhere;}
.contact-help {width: fit-content; margin-top: -18px;}
@media (max-width: 760px) {
  .contact-layout {grid-template-columns: minmax(0,1fr); gap: 23px;}
  .contact-aside {grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px;}
  .contact-location {grid-row: span 2;}
  .contact-advice {padding-top: 15px;}
  .contact-help {margin-top: 0;}
}
@media (max-width: 560px) {
  .contact-hero {grid-template-columns: minmax(0,1fr); border-radius: 15px;}
  .contact-hero-copy {padding: 21px 21px 10px;}
  #kontakt .contact-hero h1 {max-width: 15ch; font-size: clamp(2rem,8.3vw,2.65rem);}
  .contact-hero-copy p {margin: 8px 0 1px; font-size: .95rem;}
  .contact-hero-photo {aspect-ratio: 2.8; height: auto; object-position: 50% 6%;}
  #kontakt[data-tier="katze"] .contact-hero-photo {object-position: 50% 18%;}
  .contact-message {padding: 21px 17px 12px;}
  .contact-identity {grid-template-columns: minmax(0,1fr);}
  .contact-form-hint {order: -1;}
  .contact-message .contact-form-hint {flex-basis: 100%; max-width: 38ch;}
  .contact-aside {grid-template-columns: minmax(0,1fr);gap: 10px;}
  .contact-location {grid-row: auto;}
  #kontakt .contact-location h2 {max-width: none;}
  .contact-advice,.contact-help {margin-inline-start: 17px;}
}
@media (forced-colors: active) {
  #contact-form :is(input,select,textarea), .contact-primary, .contact-route {border: 1px solid ButtonText;}
}
