.contact {
  max-width: 600px;
  margin: 1% auto;
  text-align: center;
  font-family: var(--font-main);
}

/* Wrapper für die handgezeichneten Rahmen */
.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-wrapper input,
.input-wrapper textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--background-color, #fff);
  border: none;
  outline: none;
  position: relative;
  z-index: 1;
  resize: none;
}

/* SVG-Rahmen Overlay */
.input-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.input-wrapper path {
  fill: none;
  stroke: #333;
  stroke-width: 2;
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}

/* Focus State - dickere und dunklere Linie */
.input-wrapper:focus-within path {
  stroke: #000;
  stroke-width: 2.5;
}


/* --- BUTTON --- */
#contact-form button {
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary, #65657a);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: var(--font-bold);
  transition: background 0.2s ease;
  margin-bottom: 10%;
}

#contact-form button:hover {
  background-color: var(--color-accent, #000);
}

/* --- SUCCESS MESSAGE --- */
#success-msg {
  display: none;
  margin-top: 1rem;
  color: green;
  font-weight: var(--font-bold);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .input-wrapper input,
  .input-wrapper textarea {
    font-size: 0.95rem;
  }
}
