/* === Contact page === */
.contact {
  min-height: calc(100vh - 73px);
  padding: 80px 40px;
  display: flex;
  align-items: center;
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}

/* Form column */
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.contact__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
  font-weight: 300;
}

.contact__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.contact__step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.contact__progress-bar {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.contact__progress-fill {
  height: 100%;
  background-color: var(--accent-bright);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out);
  width: calc(1 / 6 * 100%);
}

/* Form steps */
.form__step {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: stepIn 0.3s var(--ease-out);
}

.form__step.active { display: flex; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form__label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-3);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  resize: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-faint);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent-bright);
  background-color: rgba(235, 241, 248, 0.95);
}

.form__textarea { min-height: 140px; }

.form__nav {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* Ghost button — used for "Vorige" */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: none;
}

.btn--ghost.is-visible { display: inline-block; }

.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn--ghost:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.btn--ghost:active { opacity: 0.7; }

/* Info column */
.contact__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
  margin-bottom: 24px;
  background-color: var(--bg-3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.contact__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.contact__name {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.contact__address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.contact__link {
  font-size: 0.85rem;
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.contact__link:hover { opacity: 0.75; }
.contact__link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

.contact__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact__socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact__socials a:hover {
  border-color: var(--border-light);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.contact__socials a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.contact__socials svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 760px) {
  .contact { padding: 56px 20px; align-items: flex-start; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__info-col { order: -1; }
}
