/* kontakt.css — contact page: colored box grid (giraffe.de/kontakt vibe) */

.contact-main {
  padding: 1.5rem 5vw 6rem;
}

.contact-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1rem;
  color: #111;
}

.contact-intro {
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 34em;
  margin: 0 0 3rem;
  color: #111;
}

/* Request form (artlebedev-style: one short form, direction chips) */

.request {
  max-width: 44rem;
  margin: 0 0 4rem;
}

.request-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.request-intro {
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0 0 2.5rem;
  color: #444;
}

.request-directions {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}

.request-directions legend {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip:has(input:checked) {
  background: var(--ink);
  color: #fff;
}

.chip:has(input:focus-visible) {
  outline: 2px solid var(--periwinkle);
  outline-offset: 2px;
}

.field {
  display: block;
  margin-bottom: 1.5rem;
}

.field span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font: inherit;
  color: inherit;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--periwinkle);
  outline-offset: 0;
  border-color: transparent;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.consent input {
  margin-top: 0.2rem;
}

.request-submit {
  padding: 0.85rem 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.request-submit:hover {
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.box {
  min-height: 16rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.box a {
  color: inherit;
  text-decoration: none;
}

.box a:hover,
.box a:focus-visible {
  text-decoration: underline;
}

.box-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.box-body {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 1.5rem 0 0;
}

.box-body strong {
  font-weight: 700;
}

/* Studio address box: periwinkle, spans 2 columns */
.box-studio {
  grid-column: span 2;
  background: #7C86C0;
}

/* Legal links box: olive, white links */
.box-legal {
  background: #9AA332;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-links a {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: none;
}

/* Logo box: light, icon large and centered */
.box-logo {
  background: #F2F2F0;
  align-items: center;
  justify-content: center;
}

.box-logo img {
  width: 55%;
  max-width: 10rem;
  height: auto;
  display: block;
}

@media (max-width: 64rem) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 40rem) {
  .contact-main {
    padding: 1.5rem 5vw 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .box-studio {
    grid-column: span 1;
  }
}
