/* ============================================================
   contact-section.css — Marcher Lab. Shared Contact Section
   Version: 1.0 | 2026-06-11
   Deployment: alle Domains unter /shared/contact-section.css
   ============================================================ */

/* ── WRAPPER ── */
.ml-kontakt {
  padding: 6rem 0;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.ml-kontakt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}

/* ── HEADER ── */
.ml-kontakt-head {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}
.ml-kontakt-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}
.ml-kontakt-head h2 em {
  font-style: normal;
  color: var(--gold);
}
.ml-kontakt-head p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ── GRID ── */
.ml-kontakt-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
}
.ml-kontakt-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 0;
}

/* ── COLUMNS ── */
.ml-fc-left {
  background: rgba(255,255,255,0.04);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ml-fc-right {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ml-fc-slot {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

/* ── EYEBROW TAG ── */
.ml-fc-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 1rem;
  margin-bottom: 0.75rem;
}

/* ── FORM ELEMENTS ── */
.ml-fc-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ml-fc-group label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}
.ml-fc-group input,
.ml-fc-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.ml-fc-group input::placeholder,
.ml-fc-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.ml-fc-group input:focus,
.ml-fc-group textarea:focus {
  border-color: rgba(245,197,24,0.55);
  background: rgba(255,255,255,0.09);
}
.ml-fc-group textarea {
  min-height: 90px;
  resize: vertical;
}
.ml-fc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.ml-fc-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  font-family: inherit;
  margin-top: 0.15rem;
}
.ml-fc-submit:hover  { background: var(--gold-dark); transform: translateY(-2px); }
.ml-fc-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ml-fc-feedback {
  display: none;
  margin-top: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  font-size: 0.82rem;
}
.ml-fc-feedback--ok  { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #6EE7B7; }
.ml-fc-feedback--err { background: rgba(220,50,50,0.1);  border: 1px solid rgba(220,50,50,0.3);  color: #fca5a5; }

/* ── SLOT COLUMN ── */
.ml-fc-slot-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ml-fc-slot-profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ml-fc-slot-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
}

/* ── WHATSAPP CHAT ── */
.ml-wac-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ml-wac-chat {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ml-wac-header {
  background: rgba(255,255,255,0.06);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ml-wac-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-light, #2a3a6e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}
.ml-wac-avatar-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
}
.ml-wac-hname   { font-weight: 700; font-size: 0.85rem; color: #fff; line-height: 1.2; }
.ml-wac-hstatus { font-size: 0.68rem; color: rgba(255,255,255,0.7); }
.ml-wac-messages {
  background: rgba(255,255,255,0.04);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 160px;
  flex: 1;
  overflow-y: auto;
}
.ml-wac-bubble {
  background: rgba(255,255,255,0.1);
  border-radius: 0 8px 8px 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--white);
  line-height: 1.5;
  max-width: 85%;
  position: relative;
  white-space: pre-line;
}
.ml-wac-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  border-width: 0 7px 7px 0;
  border-style: solid;
  border-color: transparent rgba(255,255,255,0.1) transparent transparent;
}
.ml-wac-bubble--out {
  background: rgba(245,197,24,0.15);
  border-radius: 8px 0 8px 8px;
  align-self: flex-end;
}
.ml-wac-bubble--out::before { display: none; }
.ml-wac-bubble--out::after {
  content: '';
  position: absolute;
  top: 0;
  right: -6px;
  border-width: 0 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(245,197,24,0.15);
}
.ml-wac-time {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
  text-align: left;        /* eingehend (Begrüssung) */
  margin-top: 2px;
}
.ml-wac-time--out { text-align: right; }   /* ausgehend (eigene Nachricht) */
.ml-wac-typing {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 0 8px 8px 8px;
  width: fit-content;
}
.ml-wac-typing.visible { display: flex; }
.ml-wac-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: mlWacDot 1.2s ease-in-out infinite;
}
.ml-wac-dot:nth-child(2) { animation-delay: 0.2s; }
.ml-wac-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes mlWacDot {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}
.ml-wac-input-row {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  background: rgba(255,255,255,0.06);
  border-radius: 0 0 8px 8px;
}
.ml-wac-input {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-family: inherit;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.ml-wac-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ml-wac-send:hover { background: var(--gold-dark, #d4a800); }
.ml-wac-send svg   { width: 16px; height: 16px; fill: var(--navy); }
.ml-wac-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.ml-wac-wa-btn:hover { background: var(--gold-dark, #d4a800); }
.ml-wac-wa-btn svg  { width: 15px; height: 15px; fill: var(--navy); flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ml-kontakt-split {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .ml-fc-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 1.25rem;
  }
  .ml-fc-right {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ml-fc-row {
    grid-template-columns: 1fr;
  }
  .ml-kontakt-grid {
    padding: 0 1rem;
  }
  .ml-fc-left,
  .ml-fc-right,
  .ml-fc-slot {
    padding: 1.5rem 1.25rem;
  }
}