/* V13 – Agent 2 (Kontaktseiten/Redaktion).
   Owned by Agent 2: compact contact form + simplified contact page.
   global.css stays with Agent 1; this file is loaded only on /contact/. */

/* Brand hint and H1 stay at the top; the form moves clearly higher up. */
.page-contact .page-heading { margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.page-contact .content-panel { padding-block: clamp(1.25rem, 3vw, 2rem); }
.page-contact .contact-form-area { margin-block: 0; }

.contact-form-area {
  max-width: 34rem;
  margin-inline: auto;
}
.contact-form-area h2 {
  margin: 0 0 .35rem;
  text-align: center;
  color: #f4d56d;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 800;
}
#contact-form-help {
  margin: 0 0 1.25rem;
  text-align: center;
  color: #b8c9df;
  font-size: .95rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-field {
  display: grid;
  gap: .4rem;
  min-width: 0;
}
.contact-field label {
  color: #e8f0fb;
  font-size: .95rem;
  font-weight: 600;
}
.contact-field input:not([type=checkbox]),
.contact-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height:48px;
  padding: .7rem .8rem;
  border: 1px solid #3d628c;
  border-radius: 8px;
  background: #07172b;
  color: #f5f7ff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.contact-field textarea {
  min-height: 7.25rem;
  resize: vertical;
}
.contact-field [aria-invalid=true] { border-color: #ffb5b5; }
.contact-form :focus-visible{outline:3px solid #ffd000;outline-offset:3px}

.contact-confirm {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 44px;
  cursor: pointer;
}
.contact-confirm input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: #ffd000;
}
.contact-field a {
  color: #bcdcff;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.contact-error { color: #ffd0d0; font-size: .9rem; }
.contact-error:empty,
.contact-status:empty { display: none; }
.contact-status {
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.contact-form button {
  justify-self: start;
  min-height:48px;
  padding: .7rem 1.4rem;
  border: 1px solid #ffd000;
  border-radius: 8px;
  background: #123a63;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover { background: #1a4b7a; }
.contact-form button:disabled { cursor: wait; opacity: .7; }

/* Off screen honeypot; never visible or focusable. */
.contact-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Compact data-processing note directly below the form. */
.contact-privacy-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #234a75;
  color: #b8c9df;
  font-size: .85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.contact-privacy-note a {
  color: #bcdcff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .contact-form-area h2,
  #contact-form-help { text-align: left; }
  .contact-form button { width: 100%; justify-self: stretch; }
}
