/* ============================================================
   TWIN BAU² — Static-site additions (on top of styles.css)
   ============================================================ */

/* Logo wordmark (replaces React Logo component) */
.tb-logo {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.32em;
  color: #0E0E0E;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}
.tb-logo sup {
  font-size: 0.55em;
  margin-left: 3px;
  top: -0.35em;
  position: relative;
  font-weight: 500;
}
.tb-logo-light { color: #fff; }

/* Accent <em> shorthand (replaces inline style block in JSX) */
.tb-accent-em {
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border-bottom: 4px solid var(--tb-accent);
  padding-bottom: 2px;
  color: var(--tb-accent);
  font-weight: 400;
}
/* Variant where text stays ink, only underline is accent */
.tb-accent-em-noink { color: inherit; }

/* Stars utility */
.tb-stars {
  color: var(--tb-accent);
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Form error */
.tb-form-error {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #ff8a8a;
  letter-spacing: 0.04em;
}

/* Project modal — JS toggles [hidden] */
.tb-modal[hidden] { display: none; }
.tb-modal-mobile[hidden] { display: none; }
.tb-nav-mobile[hidden] { display: none; }

/* Inline-color helpers used inline in JSX, now via class */
.tb-dot { background: var(--tb-accent); }
.tb-service-num { color: var(--tb-accent); }
.tb-service-tick { background: var(--tb-accent); }
.tb-point-num { color: var(--tb-accent); }
.tb-why-num { color: var(--tb-accent); }
.tb-project-arrow { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb-form-sent-mark { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb-checkbox a { color: var(--tb-accent); }

/* Accessibility — visible focus on interactives */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--tb-accent);
  outline-offset: 2px;
}

/* Smooth scroll between anchors */
html { scroll-behavior: smooth; }

/* Footer year */
#footerYear { font-variant-numeric: tabular-nums; }

/* ============================================================
   IMAGE PLACEHOLDERS — uniform aspect ratio, cover fit
   This is what was missing: without this, images of different
   sizes break the projects grid + modal galleries.
   ============================================================ */
.tb-placeholder {
  position: relative;
  width: 100%;
  background: #c4beb1;
  overflow: hidden;
}
.tb-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   STIMMEN — review avatars (small initials chip, not empty box)
   ============================================================ */
.tb-stimme .tb-avatar-sm {
  background: var(--tb-accent);
  color: var(--tb-ink);
  border: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  border-radius: 0;
}

/* ============================================================
   CONTACT — left column: icon rows + meta strip
   ============================================================ */
@media (max-width: 1024px) {
  .tb-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

.tb-contact-info {
  margin-top: 56px !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.tb-contact-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: inherit;
  transition: padding-left .25s ease, background .25s ease;
}
.tb-contact-row:not(.tb-contact-row-static):hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(176,122,255,0.06), transparent 60%);
}
.tb-contact-row:not(.tb-contact-row-static):hover .tb-contact-row-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--tb-accent);
}
.tb-contact-row:not(.tb-contact-row-static):hover .tb-contact-icon {
  color: var(--tb-accent);
}

.tb-contact-icon {
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.55);
  transition: color .25s ease;
}

.tb-contact-row-text { min-width: 0; }

.tb-contact-row .tb-contact-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 6px !important;
}
.tb-contact-row .tb-contact-val {
  font-family: 'Archivo', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
  color: #fff !important;
}

.tb-contact-row-arrow {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.3);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

/* Meta strip beneath the rows */
.tb-contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tb-contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.tb-contact-meta-item:last-child { border-right: 0; }

.tb-contact-meta-num {
  font-family: 'Archivo', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.tb-contact-meta-lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Inline "mail opened" hint replacing old success state */
.tb-form-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(176,122,255,0.08);
  border: 1px solid rgba(176,122,255,0.25);
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.tb-form-hint-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tb-accent);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   HERO IMAGE — needs explicit container so the new
   smaller hero images don't blow up
   ============================================================ */
.tb-hero-img-wrap .tb-placeholder { background: #b6b0a3; }

