/* ==========================================================================
   huhu.Media — concepts-v2 · Kontakt-Seite
   Ergänzungen zu style.css (Panels, Embed-Platzhalter, Kontakt-Meta).
   ========================================================================== */

/* Narrow column for the tab/form area */
.contact-narrow {
  max-width: 62.5rem;
  margin-inline: auto;
}

.contact-narrow .tabs { margin-bottom: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }

/* Shared panel shell for both tabpanels */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.875rem);
}

.contact-panel__intro {
  color: var(--muted);
  margin-bottom: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
}

/* Form rhythm */
.contact-form {
  display: grid;
  gap: var(--space-s);
}

.contact-form .btn {
  justify-self: start;
  margin-top: var(--space-xs);
}

/* SimplyMeet embed placeholder (Termin-Panel) */
/* SimplyMeet-Buchungskalender */
.calendar-embed {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  min-height: clamp(20rem, 16rem + 18vw, 30rem);
}

.calendar-embed__iframe {
  display: block;
  width: 100%;
  height: clamp(52rem, 44rem + 28vw, 82rem);
  border: 0;
}

.calendar-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  color: var(--muted);
  font-size: var(--text-sm);
}

.calendar-loading__spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid rgba(204, 255, 0, .2);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Mail + phone line below the info boxes */
.contact-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
}

.contact-meta a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.contact-meta a:hover { color: var(--lime); }

/* Honeypot (unsichtbar für Menschen, Bots füllen es) */
.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Formular-Rückmeldung */
.cf-message {
  margin-top: var(--space-s);
  padding: .85rem 1.1rem;
  border-radius: 12px;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.cf-message--success {
  background: rgba(204, 255, 0, .12);
  border: 1px solid rgba(204, 255, 0, .4);
  color: var(--lime);
}

.cf-message--error {
  background: rgba(232, 76, 60, .12);
  border: 1px solid rgba(232, 76, 60, .45);
  color: #ff9a8f;
}
