/* Kontakt: Kontaktkarten und persönlicher Ansprechpartner. */
.nock-contact { padding: 64px 0 100px; background: #f7f9f8; }
.nock-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nock-contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; background: #fff; border: 1px solid #dfe7e7; border-radius: 16px; color: #24434a; transition: border-color .2s, box-shadow .2s; }
.nock-contact-card:hover, .nock-contact-card:focus-visible { border-color: var(--theme-color2); color: #24434a; box-shadow: 0 10px 28px #186a7c12; }
.nock-contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--theme-color1); color: var(--theme-color2); font-size: 24px; margin-bottom: 24px; }
.nock-contact-card h2 { font-size: 23px; line-height: 1.3; margin-bottom: 12px; color: var(--theme-color2); }
.nock-contact-card p { font-size: 18px; line-height: 1.65; margin-bottom: 24px; overflow-wrap: anywhere; }
.nock-contact-link { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--theme-color2); }
.nock-contact-link span { margin-left: 8px; }
.nock-contact-person { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; margin-top: 88px; }
.nock-contact-portrait { position: relative; margin: 0; padding: 32px 28px 0; overflow: hidden; border-radius: 20px; background: var(--theme-color2) url('../images/header/hero-bg-shape-2.png') center / cover; }
.nock-contact-portrait > img { display: block; width: 100%; height: 470px; object-fit: contain; object-position: bottom; }
.nock-contact-portrait figcaption { position: relative; margin: 0 -28px; padding: 24px 28px; background: transparent; color: #fff; }
.nock-contact-portrait strong { display: block; font-size: 25px; margin-bottom: 4px; color: #fff; }
.nock-contact-portrait figcaption span { font-size: 15px; }
.nock-contact-eyebrow { display: block; color: var(--theme-color2); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.nock-contact-copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.18; color: var(--theme-color2); margin-bottom: 24px; }
.nock-contact-copy > p { font-size: 18px; line-height: 1.8; color: #4f6267; margin-bottom: 18px; }
.nock-contact-signature { margin: 28px 0; }
.nock-contact-signature strong, .nock-contact-signature span { display: block; }
.nock-contact-signature strong { color: var(--theme-color2); font-size: 21px; }
.nock-contact-signature span { color: #4f6267; font-size: 15px; }
.nock-contact-button { display: inline-flex; gap: 28px; align-items: center; padding: 17px 26px; border-radius: 8px; background: var(--theme-color1); color: #173d46; font-weight: 600; }
.nock-contact-button:hover, .nock-contact-button:focus-visible { background: var(--theme-color2); color: #fff; }
.nock-contact a:focus-visible { outline: 3px solid var(--theme-color2); outline-offset: 5px; }
@media (max-width: 991.98px) {
  .nock-contact-cards { gap: 16px; }
  .nock-contact-card { padding: 24px; }
  .nock-contact-card h2 { font-size: 20px; }
  .nock-contact-card p { font-size: 16px; }
  .nock-contact-person { gap: 32px; }
  .nock-contact-portrait > img { height: 390px; }
}
@media (max-width: 767.98px) {
  .nock-contact { padding: 40px 0 60px; }
  .nock-contact-cards, .nock-contact-person { grid-template-columns: 1fr; }
  .nock-contact-card { padding: 28px; }
  .nock-contact-person { margin-top: 48px; gap: 36px; }
  .nock-contact-portrait { max-width: 480px; width: 100%; margin: 0 auto; }
  .nock-contact-portrait > img { height: 380px; }
  .nock-contact-copy h2 br { display: none; }
}

.nock-form-section { padding: 88px 0; background: #edf3f3; scroll-margin-top: 110px; }
.nock-form-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.nock-form-intro h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.2; color: var(--theme-color2); margin-bottom: 24px; }
.nock-form-intro p { color: #4f6267; line-height: 1.8; }
.nock-form-intro .nock-form-hint { margin-top: 24px; font-size: 14px; }
.nock-contact-form { background: #fff; padding: 36px; border-radius: 16px; border: 1px solid #dfe7e7; }
.nock-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.nock-form-wide { grid-column: 1 / -1; }
.nock-contact-form label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #24434a; }
.nock-contact-form input:not([type=checkbox]), .nock-contact-form textarea { display: block; width: 100%; padding: 13px 15px; border: 1px solid #bacdce; border-radius: 7px; background: #f9fbfb; color: #24434a; font: inherit; }
.nock-contact-form textarea { resize: vertical; min-height: 160px; }
.nock-contact-form input:focus-visible, .nock-contact-form textarea:focus-visible { outline: 2px solid var(--theme-color2); outline-offset: 2px; }
.nock-contact-form .nock-form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 12px; font-weight: 400; }
.nock-form-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--theme-color2); }
.nock-form-pending { font-size: 13px; color: #56666b; line-height: 1.6; margin-bottom: 22px; }
.nock-contact-button:disabled { opacity: .55; cursor: not-allowed; }
.nock-form-status { margin-top: 16px; color: #24434a; }
.nock-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 991.98px) { .nock-form-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 575.98px) { .nock-form-section { padding: 56px 0; } .nock-contact-form { padding: 24px; } .nock-form-grid { grid-template-columns: 1fr; } }

/* Equal-width contact actions, stacked on narrow screens. */
.nock-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: max-content; max-width: 100%; }
.nock-contact-actions .nock-contact-button { justify-content: space-between; white-space: nowrap; }
@media (max-width: 575.98px) {
  .nock-contact-actions { grid-template-columns: 1fr; width: 100%; }
}

.nock-contact-form .nock-form-consent a {
  color: var(--theme-color1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nock-contact-form .nock-form-consent a:focus-visible {
  outline: 2px solid var(--theme-color2);
  outline-offset: 3px;
}

/* Mobile: keep the postcode on its own line in the contact cards ("Hier findest du mich"). */
@media (max-width: 767.98px) {
  .nock-contact-card p br { display: inline; }
}
