/*
 * Visitenkarte v2 – Kartenvorderseite im Querformat (wie eine echte
 * Visitenkarte) + Kontaktliste darunter. Panel-Vorschau + öffentliche Seite.
 * XYZ-Farben: Navy, Schrift #eaf1fb, Akzent Cyan/Blau. Alles abgerundet.
 * Alles unter .vk-card, damit nichts in das Panel-Bundle läuft.
 */
.vk-card {
  --vk-fg: #eaf1fb;
  --vk-fg-2: #a9b8cf;
  --vk-muted: #6b7994;
  --vk-cyan: #22d3ee;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  color: var(--vk-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: left;
}

/* ---------- Vorderseite ---------- */
.vk-face {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.6 / 1;
  padding: 20px 22px 20px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(85% 95% at 100% 100%, rgba(34, 211, 238, 0.26), transparent 62%),
    radial-gradient(70% 80% at 0% 0%, rgba(59, 130, 246, 0.2), transparent 60%),
    linear-gradient(140deg, #12203d 0%, #0b1428 55%, #081020 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -28px rgba(0, 0, 0, 0.9),
    0 0 70px -32px rgba(34, 211, 238, 0.65);
}
/* Feiner Glanz quer über die Karte. */
.vk-face::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.055) 44%, transparent 58%);
  pointer-events: none;
}
.vk-face-arcs {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: auto;
  z-index: -1;
  pointer-events: none;
}
.vk-face-arcs circle {
  fill: none;
  stroke: rgba(34, 211, 238, 0.16);
  stroke-width: 0.7;
}

.vk-face-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vk-face-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vk-fg-2);
  white-space: nowrap;
}
.vk-face-brand img {
  height: 22px;
  width: auto;
  display: block;
}
.vk-face-mono:empty {
  visibility: hidden;
}
.vk-face-mono {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04101a;
  background: linear-gradient(140deg, #a5f3fc 0%, #22d3ee 45%, #3b82f6 100%);
  box-shadow: 0 8px 20px -8px rgba(34, 211, 238, 0.7);
}

.vk-name {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--vk-fg);
  overflow-wrap: anywhere;
}
.vk-name > span {
  display: inline-block;
  max-width: 100%;
}
.vk-name.is-sm {
  font-size: 23px;
}
.vk-name.is-xs {
  font-size: 20px;
}
.vk-name .vk-ph {
  color: var(--vk-muted);
}
.vk-face-sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #67e8f9;
  opacity: 0.85;
  overflow-wrap: anywhere;
}

/* ---------- Kontaktliste ---------- */
.vk-rows {
  position: relative; /* liegt über dem Schatten der Vorderseite */
  border-radius: 22px;
  overflow: hidden;
  background: rgba(148, 178, 220, 0.06);
  box-shadow: inset 0 0 0 1px rgba(148, 178, 220, 0.09);
}
.vk-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 11px 14px 11px 12px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.vk-row + .vk-row {
  border-top: 1px solid rgba(148, 178, 220, 0.08);
}
a.vk-row:hover {
  background: rgba(34, 211, 238, 0.07);
}
a.vk-row:active {
  background: rgba(34, 211, 238, 0.12);
}
a.vk-row:focus-visible {
  outline: 2px solid var(--vk-cyan);
  outline-offset: -2px;
  border-radius: 22px;
}
.vk-row-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  color: var(--vk-cyan);
}
.vk-row-icon svg {
  width: 19px;
  height: 19px;
}
.vk-row-text {
  flex: 1;
  min-width: 0;
}
.vk-row-text small {
  display: block;
  font-size: 12px;
  color: var(--vk-muted);
  line-height: 1.3;
}
.vk-row-text b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
.vk-row-text .vk-nb {
  display: inline-block;
  max-width: 100%;
}
.vk-row-text .vk-line {
  display: block;
}
.vk-row.is-empty b {
  color: var(--vk-muted);
  font-weight: 400;
}
.vk-row-go {
  flex: none;
  display: grid;
  color: var(--vk-muted);
}
.vk-row-go svg {
  width: 16px;
  height: 16px;
}
