html {
  scroll-padding-top: var(--header);
}

.kontakt-page {
  background: var(--paper);
}

.kontakt-page .page-main {
  padding-top: var(--header);
}

.kontakt-page .content-shell {
  width: min(calc(100% - 48px), 1230px);
}

.contact-page-section {
  display: flex;
  min-height: calc(100svh - var(--header));
  padding: 10px 0 18px;
  background: var(--warm);
}

.contact-shell {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-breadcrumbs {
  display: flex;
  margin-bottom: 80px;
  color: #7b776f;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.contact-breadcrumbs a {
  color: var(--gold-dark);
}

.contact-breadcrumbs a:hover,
.contact-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-breadcrumbs [aria-current="page"] {
  color: #514e47;
  font-weight: 600;
}

.contact-layout {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-areas:
    "copy form"
    "map map";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  align-items: stretch;
  row-gap: 120px;
	column-gap: 18px;
}

.contact-copy {
  display: flex;
  grid-area: copy;
  min-width: 0;
  height: 100%;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid #dedbd3;
  background: #fff;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(44, 44, 44, 0.08);
}

.contact-copy h1 {
  max-width: 640px;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 3.35vw, 3.65rem);
  line-height: 1.08;
}

.contact-lead {
  max-width: 610px;
  margin: 0 0 20px;
  color: #514f49;
  font-size: clamp(16px, 1.22vw, 18px);
  line-height: 1.62;
}

.contact-channel-actions {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-channel {
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 9px 13px;
  border: 1px solid transparent;
  color: #fff;
  align-items: center;
  gap: 11px;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-channel img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.contact-channel span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.contact-channel strong {
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-channel small {
  color: #fff;
  font-size: 9px;
  line-height: 1.25;
}

.contact-channel--call {
  border-color: #202020;
  background: #2c2c2c;
}

.contact-channel--whatsapp {
  background: #0f7d3b;
}

.contact-channel--messenger {
  background: linear-gradient(135deg, #4c3ca8 0%, #075fac 52%, #b3296d 100%);
}

.contact-channel--telegram {
  background: #0878bd;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(44, 44, 44, 0.16);
}

.contact-details {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd9d0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-details > div {
  min-width: 0;
  padding: 11px 12px 10px 0;
  border-bottom: 1px solid #ddd9d0;
}

.contact-details > div:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid #ddd9d0;
}

.contact-details > div:nth-child(even) {
  padding-left: 18px;
}

.contact-details dt {
  margin-bottom: 2px;
  color: #77736b;
  text-transform: uppercase;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.contact-details dd {
  min-width: 0;
  margin: 0;
  color: #373737;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-color: #c3bfb5;
  text-underline-offset: 3px;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold-dark);
  text-decoration-color: currentColor;
}

.email-reveal {
  display: inline-grid;
  gap: 1px;
  text-decoration: none !important;
}

.email-reveal > span {
  filter: blur(4px);
  opacity: 0.72;
  user-select: none;
  transition: filter 160ms ease, opacity 160ms ease;
}

.email-reveal small {
  color: #766d52;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.email-reveal:hover > span,
.email-reveal:focus-visible > span,
.email-reveal.is-revealed > span {
  filter: none;
  opacity: 1;
  user-select: text;
}

.email-reveal.is-revealed small {
  display: none;
}

.contact-form-card {
  grid-area: form;
  min-width: 0;
  height: 100%;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid #dedbd3;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 44, 44, 0.08);
}

.contact-form-heading {
  margin-bottom: 18px;
}

.contact-form-heading .eyebrow {
  margin-bottom: 8px;
}

.contact-form-heading h2 {
  margin: 0 0 7px;
  font-size: clamp(1.65rem, 2.3vw, 2.12rem);
  line-height: 1.14;
}

.contact-form-heading > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #6a675f;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-status {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-left: 3px solid var(--gold-dark);
  color: #373737;
  background: #fff7d8;
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-status.is-success {
  border-left-color: #347542;
  background: #eff8f0;
}

.contact-form-status.is-error {
  border-left-color: #a22c2c;
  background: #fff0f0;
}

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

.contact-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: #4e4b45;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-field em {
  color: #8f6900;
  font-style: normal;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cfcac0;
  border-radius: 0;
  color: #2f2f2f;
  background: #fff;
  font: 400 14px/1.45 "Inter", Arial, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-field textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--gold-dark);
  outline: 2px solid rgba(255, 195, 0, 0.34);
  outline-offset: 1px;
  box-shadow: 0 0 0 1px rgba(138, 106, 0, 0.08);
}

.contact-method-hint {
  margin: -4px 0 0;
  color: #77736b;
  font-size: 10px;
  line-height: 1.35;
}

.contact-consent {
  display: grid;
  margin: 13px 0;
  color: #66625b;
  align-items: start;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  font-size: 10px;
  line-height: 1.55;
}

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

.contact-consent a {
  color: #514000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.contact-form-footer small {
  max-width: 230px;
  color: #817d75;
  font-size: 9px;
  line-height: 1.45;
}

.contact-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-noscript {
  margin: 14px 0 0;
  color: #6d2c2c;
  font-size: 12px;
}

.contact-noscript a {
  text-decoration: underline;
}

.contact-map-card {
  grid-area: map;
  min-width: 0;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid #dedbd3;
  background: #fff;
}

.contact-map-heading {
  display: flex;
  margin-bottom: 10px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.contact-map-heading .eyebrow {
  margin-bottom: 3px;
}

.contact-map-heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.22;
}

.contact-map-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.contact-google-rating {
  display: grid;
  padding-right: 14px;
  border-right: 1px solid #dedbd3;
  color: #373737;
  align-items: baseline;
  grid-template-columns: auto auto;
  gap: 0 7px;
}

.contact-google-stars {
  color: #c99300;
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.contact-google-rating strong {
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.contact-google-rating small {
  color: #6c685f;
  font-size: 9px;
  line-height: 1.2;
}

.contact-google-rating:hover small,
.contact-google-rating:focus-visible small,
.contact-google-rating:hover strong,
.contact-google-rating:focus-visible strong {
  color: var(--gold-dark);
}

.contact-map-link {
  flex: 0 0 auto;
  color: #514000;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.contact-map-frame {
  position: relative;
  height: clamp(330px, 42vw, 480px);
  overflow: hidden;
  background: #e4e1da;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-company-data {
  display: flex;
  padding-top: 9px;
  color: #77736b;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 9px;
  line-height: 1.4;
}

.contact-company-data span:first-child {
  color: #373737;
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .kontakt-page .content-shell {
    width: min(calc(100% - 40px), 760px);
  }

  .contact-page-section {
    padding-top: 12px;
    padding-bottom: 46px;
  }

  .contact-layout {
    display: grid;
    grid-template-areas:
      "copy"
      "form"
      "map";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 26px;
  }

  .contact-copy {
    height: auto;
  }

  .contact-copy h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .contact-map-frame {
    height: min(430px, 52vw);
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .kontakt-page .content-shell {
    width: calc(100% - 40px);
  }

  .contact-page-section {
    padding-top: 12px;
  }

  .contact-breadcrumbs {
    margin-bottom: 18px;
  }

  .contact-layout {
    gap: 22px;
  }

  .contact-copy {
    padding-top: 18;
  }

  .contact-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 10.5vw, 2.55rem);
  }

  .contact-lead {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

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

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details > div,
  .contact-details > div:nth-child(odd),
  .contact-details > div:nth-child(even) {
    padding: 10px 0;
    border-right: 0;
  }

  .contact-form-card {
    padding: 20px 18px;
  }

  .contact-form-heading h2 {
    font-size: 1.55rem;
  }

  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-field--full {
    grid-column: auto;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-field textarea {
    min-height: 126px;
  }

  .contact-consent {
    font-size: 11px;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-footer .button {
    width: 100%;
  }

  .contact-form-footer small {
    max-width: none;
    text-align: center;
  }

  .contact-map-card {
    margin-right: -20px;
    margin-left: -20px;
    padding: 14px 20px 18px;
    border-right: 0;
    border-left: 0;
  }

  .contact-map-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-map-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .contact-map-actions .contact-google-rating {
    padding-right: 10px;
    border-right: 0;
  }

  .contact-map-actions .contact-google-rating:first-child {
    border-right: 1px solid #dedbd3;
  }

  .contact-map-link {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .contact-map-frame {
    height: 330px;
    min-height: 0;
  }
}

@media (max-width: 360px) {
  .contact-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

}
