/* =========================================================
   VORTEE KONTAKT (contact.css)
   ---------------------------------------------------------
   Nur für /kontakt.html. Nutzt die vorhandenen Design-Tokens
   aus style.css (--black, --white, --grey, --grey-dark,
   --line, --accent, --page-width, --page-gutter) und die
   bestehende .button-primary-Klasse für den Absenden-Button.
   Kein neues Farbsystem, keine neue Typografie.
   ========================================================= */

.kontakt-page {
  width: calc(100% - var(--page-gutter));
  max-width: 760px;

  margin: 0 auto;
  padding: 72px 0 100px;
}

.kontakt-page h1 {
  margin: 0;

  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.kontakt-lead {
  max-width: 560px;
  margin: 22px 0 0;

  color: var(--grey);

  font-size: 18px;
  line-height: 1.6;
}


/* =========================================================
   STATUSMELDUNG
   Wird serverseitig (No-JS: ?sent=1 / ?error=…) oder per JS
   eingeblendet. Bei Erfolg/Fehler ersetzt sie nichts, sie
   erscheint oberhalb des Formulars.
   ========================================================= */

.kontakt-status {
  margin: 32px 0 0;
  padding: 16px 20px;

  border-radius: 6px;
  border: 1px solid var(--line);

  font-size: 15px;
  line-height: 1.5;
}

.kontakt-status[hidden] {
  display: none;
}

.kontakt-status.is-success {
  border-color: var(--accent);
  color: var(--white);
}

.kontakt-status.is-error {
  border-color: #c96a4a;
  color: var(--white);
}


/* =========================================================
   FORMULAR
   ========================================================= */

.kontakt-form {
  margin-top: 44px;

  display: grid;
  gap: 26px;
}

.kontakt-field {
  display: grid;
  gap: 8px;
}

.kontakt-field label {
  color: var(--white);

  font-size: 14px;
  font-weight: 700;
}

.kontakt-field .kontakt-optional {
  color: var(--grey-dark);
  font-weight: 400;
}

.kontakt-field input,
.kontakt-field textarea {
  width: 100%;

  padding: 14px 16px;

  background: var(--surface, #121212);
  border: 1px solid var(--line);
  border-radius: 6px;

  color: var(--white);

  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.kontakt-field textarea {
  min-height: 160px;
  resize: vertical;
}

.kontakt-field input::placeholder,
.kontakt-field textarea::placeholder {
  color: var(--grey-dark);
}

.kontakt-field input:focus-visible,
.kontakt-field textarea:focus-visible,
.kontakt-consent input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.kontakt-field .kontakt-error {
  min-height: 18px;

  color: #e2a186;

  font-size: 13px;
}

/* Honeypot: für Menschen unsichtbar, für Screenreader nicht
   ansteuerbar, aber im DOM und ohne display:none (manche Bots
   ignorieren display:none-Felder gezielt nicht). */

.kontakt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* =========================================================
   DATENSCHUTZ-CHECKBOX
   Nicht vorausgewählt (kein "checked" im HTML).
   ========================================================= */

.kontakt-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: var(--grey);

  font-size: 14px;
  line-height: 1.5;
}

.kontakt-consent input {
  flex-shrink: 0;

  width: 18px;
  height: 18px;
  margin-top: 2px;

  accent-color: var(--accent);
}

.kontakt-consent a {
  color: var(--white);
  text-decoration: underline;
}


/* =========================================================
   ABSENDEN
   .button-primary kommt aus style.css; hier nur Layout-Regeln.
   ========================================================= */

.kontakt-submit {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 6px;
}

.kontakt-submit button {
  border: 0;
  cursor: pointer;

  font-family: inherit;
}

.kontakt-submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.kontakt-submit-note {
  color: var(--grey-dark);
  font-size: 13px;
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 760px) {

  .kontakt-page {
    padding: 44px 0 64px;
  }

  .kontakt-lead {
    font-size: 16px;
  }

  .kontakt-form {
    margin-top: 32px;
    gap: 20px;
  }

  .kontakt-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  .kontakt-submit button {
    width: 100%;
    justify-content: center;
  }

}
